/* Leistungsseite Markenaufbau: nur, was bau/seite.css und seite-unterseite.css nicht haben. Beide werden davor geladen und nie geändert.
   Werte aus dem Gestaltungssystem (unterseiten/gestaltungssystem.md) über die --u-Namen; neue Werte stehen mit Grund daneben. */

/* ---------- Kopf: Brotkrume (R4) und Aufruf (R5) ---------- */
.u-pfad { font-size: 13px; font-weight: 500; letter-spacing: .01em; color: rgba(246,248,245,.6); margin-bottom: 14px; }
.u-pfad a { text-decoration: none; color: rgba(246,248,245,.78); }
.u-pfad a:hover { color: var(--schnee); text-decoration: underline; text-underline-offset: 3px; }
.u-pfad span[aria-hidden] { margin: 0 4px; }
.ma-kopf-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 30px; }
.ma-kopf-cta .klein { color: rgba(246,248,245,.7); }

/* ---------- Großbild und Merkmalzeile (nf-uiux 530 bis 1210, nf-leistungen 900 bis 1861) ---------- */
.ma-grossbild { padding-top: clamp(20px, 2.8vw, 40px); padding-bottom: clamp(56px, 7vw, 110px); }
.ma-bild { margin: 0; border-radius: var(--u-radius-karte); overflow: hidden; background: var(--nacht); aspect-ratio: 2400 / 1100; }
.ma-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform-origin: 50% 60%; }
.ma-merkmale { list-style: none; margin: clamp(56px, 7vw, 110px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.ma-merkmale li { display: flex; flex-direction: column; gap: 12px; padding: 4px clamp(20px, 2.4vw, 36px) 6px; border-left: 1px solid var(--linie); }
.ma-merkmale li:first-child { border-left: 0; padding-left: 0; }
.ma-merkmale b { font-size: clamp(24px, 2.25vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; color: var(--graphit); }
.ma-merkmale p { color: var(--u-text-leise); max-width: 340px; }

/* ---------- Ablauf als nummerierte Liste (nf-uiux „What's Included“) ---------- */
.ma-ablauf { padding-top: clamp(40px, 6vw, 80px); }
.ma-schritte { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linie); }
.ma-schritte li {
  display: grid; grid-template-columns: minmax(90px, 1fr) minmax(0, 4fr) minmax(0, 5fr); gap: clamp(16px, 3vw, 48px); align-items: baseline;
  padding: clamp(26px, 3vw, 44px) 0; border-top: 1px solid var(--linie);
}
.ma-schritte .nr { color: var(--akzent); }
.ma-schritte h3 { font-size: var(--u-h3); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.ma-schritte p { color: var(--u-text-leise); max-width: 520px; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; }
.ma-schritte-schluss { margin: clamp(36px, 4vw, 56px) 0 0; }

/* ---------- Leitsatz (sk-pricing 721 bis 1399, nf-about 900 bis 2020) ---------- */
.ma-leit { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: start; padding-top: clamp(80px, 10vw, 160px); }
.ma-leit-kopf { font-size: clamp(30px, 2.9vw, 46px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; hyphens: manual; }
.ma-leit .einfaerben { margin: 0; text-align: left; max-width: 980px; font-size: clamp(28px, 3.6vw, 58px); line-height: 1.1; letter-spacing: -.035em; text-wrap: pretty; }
.ma-leit-folge { margin-top: clamp(26px, 3vw, 44px); font-size: var(--u-satz); font-weight: 300; letter-spacing: -.02em; line-height: 1.25; color: var(--akzent); }
.ma-leit-folge em { font-style: italic; }

/* ---------- Bauplan NordBox (Steckbrief-Spalte nf-uiux 1350 bis 4110) ---------- */
.ma-bauplan { padding-bottom: clamp(60px, 8vw, 120px); }
.ma-bauplan-kopf { max-width: 1300px; }
.ma-bauplan-raster { display: grid; grid-template-columns: minmax(340px, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.ma-blatt-spalte { position: sticky; top: 135px; } /* top 135 px wie die Steckbrief-Spalte im Vorbild (befund-unterseiten.md, Abschnitt 3) */
.ma-blatt {
  background: #fff; border: 1px solid var(--linie); border-radius: var(--u-radius-karte); overflow: hidden;
  box-shadow: 0 -12px 40px rgba(14,44,38,.07), 0 30px 60px -40px rgba(6,17,14,.35);
}
.ma-blatt-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--linie); background: #FBFCFA; }
.ma-blatt-kopf .klein { font-size: 14px; }
.ma-zaehlwerk { color: var(--akzent); }
.ma-zeile { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); align-items: center; gap: 12px; padding: 13px 22px; min-height: 62px; border-top: 1px solid var(--linie); }
.ma-blatt-kopf + .ma-zeile { border-top: 0; }
.ma-zeile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--akzent); transform: scaleY(0); transform-origin: 50% 0; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ma-zeile.aktiv::before { transform: scaleY(1); }
.ma-etikett { color: var(--grau); }
.ma-wert { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; min-width: 0; }
.ma-name { font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--graphit); }
.ma-leise { color: var(--grau); }
.ma-logo { height: 38px; width: auto; }
.ma-farben { gap: 8px 10px; }
.ma-feld { width: 30px; height: 30px; border-radius: 8px; background: var(--f); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.ma-farben code { font-size: 12.5px; color: var(--graphit); margin-right: 8px; }
.ma-aa { font-family: "Inter", system-ui, sans-serif; font-size: 34px; font-weight: 600; letter-spacing: -.02em; line-height: 1; color: #2C2C2A; }
.ma-zeile-website .ma-wert { flex-direction: column; align-items: flex-start; gap: 8px; }
.ma-fenster { display: block; width: 100%; border-radius: 8px; overflow: hidden; border: 1px solid var(--linie); aspect-ratio: 16 / 7; background: #EEF0EC; }
.ma-fenster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* leere Zeile: der Wert wartet, bis seine Lage die Bildschirmmitte erreicht */
.ma-platz { grid-column: 2; grid-row: 1; align-self: center; color: #A9B2AD; border-bottom: 1px dashed rgba(27,37,34,.22); padding-bottom: 3px; justify-self: start; }
html.js .ma-zeile:not(.voll) .ma-wert { visibility: hidden; }
html.js .ma-zeile:not(.voll) .ma-wert,
html.js .ma-zeile:not(.voll) .ma-platz { grid-column: 2; grid-row: 1; }
.ma-zeile .ma-wert { grid-column: 2; grid-row: 1; }
.ma-zeile.voll .ma-platz, html:not(.js) .ma-platz, html.ruhig .ma-platz { display: none; }
.ma-lagen { display: grid; }
.ma-lage { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 48px 0; border-top: 1px solid var(--linie); }
.ma-lage:first-child { border-top: 0; min-height: 52vh; justify-content: flex-start; padding-top: 6vh; }
.ma-lage:last-child { min-height: 70vh; }
.ma-lage .nr { color: var(--akzent); }
.ma-lage h3 { font-size: var(--u-h3); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.ma-lage p { font-size: clamp(18px, 1.55vw, 24px); font-weight: 500; letter-spacing: -.015em; line-height: 1.35; color: var(--u-text-leise); max-width: 620px; }
.ma-lage-zeilen:empty { display: none; }

/* ---------- Baukasten (sk-pricing 1399 bis 1965) ---------- */
.ma-baukasten { padding-top: clamp(60px, 8vw, 120px); }
.ma-baukasten-kopf { max-width: 1300px; margin-bottom: clamp(18px, 2vw, 28px); }
.ma-bausteine { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 2.6vw, 40px); }
.ma-baustein { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 2.4vw, 34px) 0 clamp(26px, 2.6vw, 36px); border-top: 1.5px solid var(--graphit); border-bottom: 1px solid var(--linie); }
.ma-baustein h3 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(26px, 2.4vw, 38px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.ma-pfeil { color: var(--akzent); font-weight: 300; font-size: .8em; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.ma-baustein:hover .ma-pfeil { transform: translateX(6px); }
.ma-baustein > p:not(.klein) { color: var(--u-text-leise); max-width: 420px; }
.ma-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ma-chips li { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--linie); background: #fff; color: var(--graphit); }
.ma-baustein .klein { margin-top: auto; padding-top: 6px; }
.ma-baukasten-cta { margin-top: clamp(36px, 4vw, 56px); }

/* ---------- Fallstudie dunkel (nf-projekt um 3072), Grund und Streifen wie .belege der Startseite ---------- */
.ma-beleg { position: relative; overflow: hidden; background: var(--nacht); color: var(--schnee); padding: var(--u-abstand-oben) var(--rand) var(--u-abstand-unten); }
.ma-beleg-innen { position: relative; z-index: 1; }
.ma-beleg .etikett { color: var(--akzent-hell); }
.ma-beleg-kopf { font-size: var(--u-h2-mittel); font-weight: 600; letter-spacing: -.05em; line-height: .92; max-width: 1200px; }
.ma-beleg-kopf em { font-weight: 300; }
.ma-beleg-text { margin-top: clamp(24px, 3vw, 40px); max-width: 640px; font-size: clamp(17px, 1.35vw, 21px); color: rgba(246,248,245,.78); }
.ma-werte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(48px, 6vw, 96px) 0 clamp(36px, 4vw, 56px); border-top: 1px solid rgba(246,248,245,.16); position: relative; }
.ma-werte::before { content: ""; position: absolute; left: 0; top: -1px; width: 120px; height: 1px; background: var(--akzent); }
.ma-werte > div { display: flex; flex-direction: column; gap: 8px; padding: 26px clamp(16px, 2vw, 28px) 4px; border-left: 1px solid rgba(246,248,245,.16); }
.ma-werte > div:first-child { border-left: 0; padding-left: 0; }
.ma-zahl { font-size: clamp(48px, 5vw, 84px); font-weight: 600; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--schnee); }
.ma-werte span { font-size: 17px; font-weight: 500; }
.ma-werte .klein { font-size: 13px; color: rgba(246,248,245,.62); max-width: 220px; }
.ma-beleg .pfeil { color: var(--schnee); }

/* ---------- Fragen (nf-uiux 4110 bis 5142) ---------- */
.ma-fragen { background: #EEF0EC; text-align: center; }
.ma-fragen-kopf { font-size: var(--u-h2-klein); font-weight: 600; letter-spacing: -.045em; line-height: .98; margin-bottom: clamp(36px, 4vw, 56px); }
.ma-fragen-liste { max-width: 896px; margin: 0 auto; display: grid; gap: 14px; text-align: left; }
.ma-fragen details { background: #fff; border-radius: 14px; border: 1px solid var(--linie); }
.ma-fragen summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 26px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -.015em; }
.ma-fragen summary::-webkit-details-marker { display: none; }
.ma-fragen summary i { position: relative; flex: 0 0 16px; width: 16px; height: 16px; }
.ma-fragen summary i::before, .ma-fragen summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 7.25px; height: 1.5px; background: var(--akzent); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.ma-fragen summary i::after { transform: rotate(90deg); }
.ma-fragen details[open] summary i::after { transform: rotate(0deg); }
.ma-fragen details p { padding: 0 26px 26px; color: var(--u-text-leise); max-width: 720px; }
.ma-fragen .etikett { margin-bottom: 20px; }

/* ---------- Nachbarleistungen als Bildkacheln (sk-pricing 8219 bis 9429, R6) ---------- */
.ma-nachbarn { padding-top: clamp(80px, 10vw, 150px); padding-bottom: clamp(80px, 10vw, 150px); }
.ma-nachbarn-kopf { font-size: var(--u-h2-klein); font-weight: 600; letter-spacing: -.045em; line-height: .98; margin-bottom: clamp(36px, 4vw, 56px); }
.ma-nachbar-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.u-nachbar { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--linie); border-radius: var(--u-radius-karte); overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.u-nachbar:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(6,17,14,.4); }
.u-nachbar-bild { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--nacht); }
.u-nachbar-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.u-nachbar:hover .u-nachbar-bild img { transform: scale(1.04); }
.u-nachbar-reiter { display: flex; justify-content: space-between; padding: 16px 18px 0; color: var(--grau); }
.u-nachbar-reiter .nr { color: var(--akzent); margin-right: 4px; }
.u-nachbar-kopf { padding: 8px 18px 22px; font-size: clamp(19px, 1.5vw, 23px); font-weight: 600; letter-spacing: -.025em; line-height: 1.12; color: var(--graphit); }

/* ---------- Schluss ---------- */
.ma-pfeil-leise { opacity: .72; font-size: 15px; }

/* Navigation: diese Seite im Banner und im Fuß markiert */
.banner a[aria-current="page"] { color: var(--akzent-hell); }
.fuss a[aria-current="page"] { color: var(--akzent); }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .ma-nachbar-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ma-werte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ma-werte > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .ma-werte > div:nth-child(n+3) { border-top: 1px solid rgba(246,248,245,.16); margin-top: 22px; }
}
@media (max-width: 899px) {
  .ma-leit { grid-template-columns: 1fr; }
  .ma-bauplan-raster { grid-template-columns: 1fr; }
  .ma-blatt-spalte { position: static; }
  .ma-bausteine { grid-template-columns: 1fr; }
  /* Unter 900 px steht jede Zeile unter ihrer Lage (bauplan.md); seite-markenaufbau.js hängt die Zeilen um. Ohne JS bleibt das Blatt als Ganzes stehen. */
  html.js .ma-blatt-spalte.leer { display: none; }
  .ma-lage, .ma-lage:first-child, .ma-lage:last-child { min-height: 0; padding: 34px 0; justify-content: flex-start; }
  .ma-lage-zeilen { background: #fff; border: 1px solid var(--linie); border-radius: 14px; overflow: hidden; margin-top: 6px; }
  .ma-lage-zeilen .ma-zeile:first-child { border-top: 0; }
  .ma-merkmale { grid-template-columns: 1fr; }
  .ma-merkmale li, .ma-merkmale li:first-child { border-left: 0; padding: 22px 0; border-top: 1px solid var(--linie); }
}
@media (max-width: 767px) {
  .ma-bild { aspect-ratio: 4 / 3; }
  .ma-schritte li { grid-template-columns: 1fr; gap: 10px; }
  .ma-nachbar-raster { grid-template-columns: 1fr; }
  .ma-werte { grid-template-columns: 1fr; }
  .ma-werte > div, .ma-werte > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .ma-werte > div:nth-child(n+2) { border-top: 1px solid rgba(246,248,245,.16); margin-top: 18px; }
  .ma-fragen summary { padding: 20px; }
  .ma-fragen details p { padding: 0 20px 22px; }
  .ma-zeile { grid-template-columns: 66px minmax(0, 1fr); padding: 12px 16px; }
  .ma-blatt-kopf { padding: 14px 16px; }
  .ma-kopf-cta { margin-top: 22px; gap: 12px; }
}
/* niedrige Fenster: Blatt rückt nach oben, damit es ganz zu sehen ist */
@media (min-width: 900px) and (max-height: 820px) {
  .ma-blatt-spalte { top: 96px; }
  .ma-zeile { min-height: 54px; padding-top: 10px; padding-bottom: 10px; }
  .ma-fenster { aspect-ratio: 16 / 5.5; }
}

/* Ohne Bewegung: alle Zeilen gefüllt, nichts klebt */
html.ruhig .ma-zeile::before { transform: scaleY(1); transition: none; }

/* Zeilenmasken der H1: wie .aufbau .z-mask in bau/seite.css Z. 227, sonst schneidet die Maske Unterlängen ab (g in „fertigen“, gesehen auf 1440-1-kopf.png am 21.10.2026) */
.u-titel .z-mask { padding: 0 .12em .14em 0; margin: 0 -.12em -.14em 0; }
/* Leitsatz und Bauplan: Leere zwischen beiden etwa halbiert (gesehen auf 1440-5-leitsatz.png) */
.ma-leit { padding-bottom: clamp(50px, 6vw, 96px); }
.ma-bauplan { padding-top: clamp(60px, 7vw, 120px); }
/* leere Website-Zeile: gestrichelte Fläche, wo das Bild hinkommt (gesehen auf 1440-7-bauplan-lage3.png: sonst nur eine hohe leere Zeile) */
.ma-zeile-website .ma-platz { align-self: stretch; justify-self: stretch; display: flex; align-items: center; justify-content: center; border: 1px dashed rgba(27,37,34,.22); border-radius: 8px; margin-bottom: 26px; padding: 0; }
/* Runde 2: Kupfermarke wandert mit der Lage in beide Richtungen, kürzerer Übergang; Nachbarn ohne eigene Überschrift, weniger Luft oben */
.ma-zeile::before { transition-duration: .35s; }
.ma-nachbarn { padding-top: clamp(64px, 7vw, 110px); }

/* ---------- Runde 3 (Elias 22.10.2026, feedback-elias-r3.md) ---------- */
/* Punkt 3: ohne Großbild steht die Merkmalzeile direkt unter dem Kopf */
.ma-merkmal-abschnitt { padding-top: clamp(56px, 7vw, 110px); padding-bottom: clamp(20px, 3vw, 40px); }
.ma-merkmal-abschnitt .ma-merkmale { margin-top: 0; }

/* Punkt 6: Website-Zeile als kleines Browserfenster mit der Einfahrt von nordbox.at (Bildfolge 16:9, seite-markenaufbau.js) */
.ma-fenster.ma-einfahrt { aspect-ratio: auto; background: #fff; border-color: rgba(27,37,34,.14); box-shadow: 0 14px 30px -22px rgba(6,17,14,.45); }
.ma-fenster-leiste { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; background: #F1F3F0; border-bottom: 1px solid var(--linie); }
.ma-fenster-leiste i { width: 7px; height: 7px; border-radius: 50%; background: #D3D8D4; }
.ma-fenster-leiste span { flex: 1; margin: 0 22px 0 8px; height: 13px; border-radius: 4px; background: #fff; font: 500 9px/13px var(--mono); color: var(--grau); text-align: center; letter-spacing: .02em; }
.ma-fenster-bild { position: relative; display: block; aspect-ratio: 16 / 9; background: #6E6A66; }
.ma-fenster-bild img, .ma-fenster-bild canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.ma-fenster-bild canvas { opacity: 0; transition: opacity .25s; }
.ma-fenster-bild canvas.an { opacity: 1; }
/* leere Website-Zeile: Platzhalter so hoch wie das Fenster */
.ma-zeile-website .ma-platz { min-height: 0; }
/* Punkt 6: Zeile Inserate ohne Zahl */
.ma-kanaele { font-size: 17px; font-weight: 500; letter-spacing: -.01em; color: var(--graphit); }
/* niedrige Fenster (Runde 3b, Kritiker K2c): das Website-Fenster behält seine Breite, dafür rücken die übrigen Zeilen enger */
@media (min-width: 900px) and (max-height: 960px) {  /* seit Runde 3c bis 960 px Höhe: das Website-Fenster ist breiter geworden */
  .ma-blatt-kopf { padding-top: 11px; padding-bottom: 11px; }
  .ma-zeile { min-height: 44px; padding-top: 7px; padding-bottom: 7px; }
  .ma-zeile-website { padding-top: 10px; padding-bottom: 10px; }
  .ma-name { font-size: 22px; }
  .ma-logo { height: 30px; }
  .ma-feld { width: 24px; height: 24px; }
  .ma-aa { font-size: 28px; }
}

/* Punkt 10: „über 1.000“: das Wort kleiner und leichter als die Ziffern */
.ma-werte .ma-zahl .ma-ziffer { font: inherit; letter-spacing: inherit; }
.ma-werte .ma-zahl .ma-vor { font-size: .42em; font-weight: 400; letter-spacing: -.01em; vertical-align: .55em; margin-right: .08em; color: rgba(246,248,245,.78); }
/* Website-Zeile in allen Breiten: Etikett oben, Fenster über die ganze Kartenbreite (am Handy gesehen auf pruefung/r3/nachher/390-bauplan-*.png;
   ab 900 px seit Runde 3c auf Wunsch des Kritikers, damit Bild und Transporter größer werden) */
.ma-zeile-website { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.ma-zeile-website .ma-wert,
html.js .ma-zeile-website:not(.voll) .ma-wert,
html.js .ma-zeile-website:not(.voll) .ma-platz { grid-column: 1; grid-row: 2; }
.ma-zeile-website .ma-platz { margin-bottom: 0; }

/* Runde 3b (Kritiker K4): weniger Leere zwischen Ablauf und Leitsatz (vorher etwa 317 px bei 1440) und nach dem Bauplan */
.ma-leit { padding-top: clamp(56px, 6vw, 96px); }
.ma-ablauf { padding-bottom: clamp(56px, 7vw, 104px); }  /* sonst bleibt die Lücke bei etwa 259 px (gemessen pruefung/r3b, erster Lauf), Ziel etwa 190 */
.ma-bauplan { padding-bottom: clamp(48px, 6vw, 90px); }

/* Runde 3c: Lage [04] etwas höher, damit die Einfahrt 300 px Scrollweg hat, bevor die Lage mittig steht (seite-markenaufbau.js) */
@media (min-width: 900px) { .ma-lage[data-lage="4"] { min-height: max(115vh, 1040px); } }  /* Runde 3d: die ganze Einfahrt bis zum geschlossenen Tor braucht 560 px Weg (seite-markenaufbau.js, WEG); bis zur Mitte sind es so mindestens 520 px */
/* Runde 3c (optional): kein einzelnes Wort in der letzten Zeile der Leitsatz-Überschrift */
.ma-leit-kopf { text-wrap: balance; }

/* Runde 3d (Kritiker, optional a): vor Lage [04] statt der leeren gestrichelten Fläche das Standbild blass und unscharf, darüber der Hinweis */
html.js .ma-zeile-website:not(.voll) .ma-wert { visibility: visible; opacity: .38; filter: blur(5px) grayscale(.7); }
.ma-zeile-website .ma-wert { transition: opacity .7s cubic-bezier(.2,.7,.2,1), filter .7s cubic-bezier(.2,.7,.2,1); }
.ma-zeile-website .ma-platz { border: 0; align-self: center; justify-self: center; z-index: 1; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--grau); box-shadow: 0 6px 16px -10px rgba(6,17,14,.4); }

/* ---------- Runde 4 (Elias 22.10.2026): keine Platzhalter mehr, die Zeilen klappen auf ----------
   Zu: nur das Etikett (Name, Logo, Farbe …) in einer flachen Zeile, hellgrau. Erreicht die Lage die Mitte (unter 900 px: sobald sie ins Bild
   kommt), bekommt die Zeile .voll; seite-markenaufbau.js zieht den Inhalt dann von Höhe 0 auf, Zeilenhöhe und Etikettfarbe folgen per CSS.
   html.messen hebt das Zuklappen für die Höhenmessung im Skript auf. Ruhige Fassung und ohne Skript: alles offen. */
.ma-zeile { transition: min-height .55s cubic-bezier(.2,.7,.2,1), padding .55s cubic-bezier(.2,.7,.2,1); }
.ma-etikett { transition: color .4s; }
html.js:not(.ruhig):not(.messen) .ma-zeile:not(.voll) { min-height: 42px; padding-top: 9px; padding-bottom: 9px; row-gap: 0; }
html.js:not(.ruhig):not(.messen) .ma-zeile:not(.voll) .ma-etikett { color: #A9B2AD; }
html.js:not(.ruhig):not(.messen) .ma-zeile:not(.voll) .ma-wert,
html.js:not(.ruhig):not(.messen) .ma-zeile-website:not(.voll) .ma-wert { visibility: hidden; height: 0; opacity: 0; overflow: hidden; filter: none; }
.ma-platz { display: none !important; }
html.ohne-uebergang .ma-zeile, html.ohne-uebergang .ma-etikett { transition: none !important; }

/* Runde 4b (Kritiker): Lage [04] bleibt hoch (Weg für die Einfahrt), aber ihr Text steht oben und klebt in der Bildschirmmitte, solange die
   Einfahrt links läuft. So steht [04] mittig, wenn die Zeile aufklappt und bis das Tor zu ist. Unter 900 px wie die anderen Lagen. */
.ma-lage-text { display: flex; flex-direction: column; gap: 18px; }
@media (min-width: 900px) {
  .ma-lage[data-lage="4"] { justify-content: flex-start; }
  .ma-lage[data-lage="4"] .ma-lage-text { position: sticky; top: calc(50vh - 110px); }
}
