/* ──────────────────────────────────────────────────────────────────────────
   Grundrisse (/grundrisse), Neubau 11.10.2026 nach KONZEPT-2026-10-11.md.
   Eigene Datei, damit parallele Arbeiten an stil.css nicht kollidieren. Präfix .gr-.
   Aufbau: Auftakt mit echter Geschosszeichnung, Woraus wir zeichnen (Zeilen mit
   Haarlinie), Bildfolge Unterlage, Zeichnung, Modell auf einer blauen Linie,
   Preis (inhaltlich unverändert), Anfrage. Flächen im Wechsel: Hellblau-hell,
   Weiß, Band, Weiß, Band (die Anfrage bringt ihr Band selbst mit).
   Farben nur aus stil.css: --tinte, --akzent, --band, --band-hell, --leise, --linie.
   ────────────────────────────────────────────────────────────────────────── */

.gr-teil { position: relative; padding-block: var(--abschnitt); background: var(--weiss); }
.gr-teil--band { background: var(--band); }
.gr-titel { margin-top: clamp(14px, 1.4vw, 24px); }
.gr-satz { margin-top: clamp(16px, 1.6vw, 28px); }
.gr-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 2.6vw, 40px); }
.gr-kopf figure, .gr-teil figure { margin: 0; }
.gr-kopf img, .gr-teil img { display: block; width: 100%; height: auto; }

/* ── 1. Auftakt ──────────────────────────────────────────────────────────── */
.gr-kopf { padding: calc(var(--kopf) + clamp(28px, 4vw, 80px)) 0 clamp(48px, 5vw, 96px); background: var(--band-hell); overflow: hidden; }
.gr-kopf__innen { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 48px); row-gap: 32px; align-items: center; }
.gr-kopf__text { grid-column: 1 / span 5; }
.gr-kopf .t-aussage { max-width: 22em; }
/* Die Zeichnung steht frei auf der Fläche, ihre Höhe bleibt unter dem Bildschirm. */
.gr-kopf__plan { grid-column: 7 / -1; display: grid; justify-items: center; }
.gr-kopf__plan img { width: auto; max-width: 100%; height: min(64svh, 680px); object-fit: contain; }

/* ── 2. Woraus wir zeichnen ──────────────────────────────────────────────── */
.gr-quelle { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 48px); row-gap: 40px; align-items: start; }
.gr-quelle__text { grid-column: 1 / span 5; }
.gr-zeilen { grid-column: 7 / -1; margin: 0; border-bottom: 1px solid var(--linie); }
.gr-zeilen > div {
  position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(16px, 2vw, 40px);
  padding-block: clamp(16px, 1.5vw, 24px); border-top: 1px solid var(--linie);
}
.gr-zeilen > div::before { content: ""; position: absolute; left: 0; top: -1px; width: 34px; height: 1px; background: var(--akzent); }
.gr-zeilen dt { font-size: .75rem; line-height: 1.6; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--akzent); padding-top: 3px; }
.gr-zeilen dd { margin: 0; color: var(--tinte); font-size: clamp(1rem, 1.05vw, 1.25rem); line-height: 1.45; letter-spacing: -.008em; text-wrap: pretty; }
.gr-zeilen > div:last-child dd { color: var(--text); font-size: .9375rem; line-height: 1.55; }

/* ── 3. Bildfolge ────────────────────────────────────────────────────────── */
.gr-zeile { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(20px, 2.4vw, 48px); row-gap: 22px; align-items: end; }
.gr-zeile > h2 { grid-column: 1 / span 6; }
.gr-zeile > p { grid-column: 8 / -1; }
/* Spaltenbreiten nach den Seitenverhältnissen der drei Bilder: so sind alle gleich hoch. */
.gr-folge {
  --luft: clamp(36px, 4.4vw, 96px);
  list-style: none; margin: clamp(40px, 4.4vw, 84px) 0 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 795fr) minmax(0, 640fr) minmax(0, 653fr); column-gap: var(--luft);
  max-width: calc(min(66svh, 720px) * 2.088 + 2 * var(--luft)); margin-inline: auto;
}
.gr-stufe__bild { position: relative; }
.gr-stufe__bild img { border-radius: 4px; }
.gr-stufe--papier img { box-shadow: 0 40px 70px -50px rgba(16, 24, 32, .45); }
.gr-stufe--zeichnung .gr-stufe__bild img { background: var(--weiss); padding: clamp(10px, 1vw, 20px); border: 1px solid var(--linie); box-shadow: 0 40px 70px -56px rgba(16, 24, 32, .4); }
/* Das Standbild hat oben und links viel Leere: der Rahmen zeigt nur das Modell (Maße im Bild: x 205 bis 650, y 120 bis 801). */
.gr-schnitt { display: block; overflow: hidden; aspect-ratio: 445 / 681; border-radius: 4px; background: var(--band-hell); border: 1px solid var(--weiss); }
.gr-schnitt img { width: 152.6%; max-width: none; margin-left: -46.1%; margin-top: -27%; border-radius: 0; }
/* Die Zeichnung ist schmaler als ihr Rahmen hoch: sie füllt die Höhe der Nachbarn. */
.gr-stufe--zeichnung .gr-stufe__bild img { aspect-ratio: 640 / 1000; object-fit: contain; }
/* Die blaue Linie mit drei Punkten unter den Bildern */
.gr-stufe__text { position: relative; margin-top: clamp(18px, 1.8vw, 28px); padding-top: 22px; border-top: 1px solid var(--akzent); }
.gr-stufe:not(:last-child) .gr-stufe__text { margin-right: calc(var(--luft) * -1); }
.gr-stufe__text::before {
  content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--weiss); border: 1px solid var(--akzent);
}
.gr-stufe--modell .gr-stufe__text::before { background: var(--akzent); }
.gr-stufe__text b { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--akzent); }
.gr-stufe__text p { margin-top: 8px; padding-right: var(--luft); color: var(--tinte); font-size: clamp(1rem, 1.05vw, 1.25rem); line-height: 1.45; letter-spacing: -.008em; text-wrap: pretty; max-width: 20em; }
.gr-stufe:last-child .gr-stufe__text p { padding-right: 0; }
.gr-herkunft { margin-top: clamp(40px, 4.4vw, 72px); }

/* ── 4. Preis ────────────────────────────────────────────────────────────── */
.gr-preis__zeile { margin-top: clamp(28px, 3vw, 48px); }

/* ── Schmalere Fenster ──────────────────────────────────────────────────── */
@media (max-width: 1240px) {
  .gr-kopf__text, .gr-quelle__text { grid-column: 1 / span 6; }
  .gr-kopf__plan, .gr-zeilen { grid-column: 7 / -1; }
}
@media (max-width: 900px) {
  .gr-kopf__text, .gr-kopf__plan, .gr-quelle__text, .gr-zeilen, .gr-zeile > h2, .gr-zeile > p { grid-column: 1 / -1; }
  .gr-kopf__plan img { height: auto; width: min(100%, 520px); }
  /* Am Handy steht die Folge untereinander, die Linie läuft links herunter. */
  .gr-folge { grid-template-columns: minmax(0, 1fr); row-gap: 0; max-width: none; border-left: 1px solid var(--akzent); margin-left: 5px; }
  .gr-stufe { position: relative; padding: 0 0 44px 26px; }
  .gr-stufe:last-child { padding-bottom: 0; }
  .gr-stufe::before {
    content: ""; position: absolute; left: -6px; top: 0; width: 11px; height: 11px; border-radius: 50%;
    background: var(--band); border: 1px solid var(--akzent);
  }
  .gr-stufe--modell::before { background: var(--akzent); }
  .gr-stufe__bild { width: min(100%, 420px); }
  .gr-stufe__text, .gr-stufe:not(:last-child) .gr-stufe__text { border-top: 0; padding-top: 0; margin-right: 0; }
  .gr-stufe__text::before { display: none; }
  .gr-stufe__text p { padding-right: 0; }
}
@media (max-width: 560px) {
  .gr-zeilen > div { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
}
/* Handy, 11.10.2026: das Foto der Unterlage quer (4:3); Zeichnung und Modell sind von Natur
   aus hochkant und bleiben es, höchstens halb so hoch wie der Bildschirm. */
@media (max-width: 560px) {
  .gr-stufe--papier .gr-stufe__bild img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 45%; }
  .gr-stufe--zeichnung .gr-stufe__bild, .gr-stufe--modell .gr-stufe__bild { width: min(100%, calc(50svh * .65)); }
  .gr-stufe { padding-bottom: 36px; }
  .gr-stufe__text p { font-size: 1rem; }
  .gr-folge { margin-top: 32px; }
}
