/* museumstapeten.de – Gestaltung „Ausstellungsraum“
   Galeriewand, Objektschilder und Bahnen à 75 cm. Schriften: Archivo (schmal, wie das Logo) + Source Serif 4. */

@font-face { font-family: 'Archivo'; src: url(/assets/fonts/archivo.woff2) format('woff2-variations'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Source Serif'; src: url(/assets/fonts/source-serif-4.woff2) format('woff2-variations'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Source Serif'; src: url(/assets/fonts/source-serif-4-italic.woff2) format('woff2-variations'); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --wand: #e8e9e5;          /* Galeriewand */
  --wand-tief: #dcded9;
  --schild: #fbfbf9;        /* Objektschild */
  --tinte: #1b1f21;
  --grafit: #51575b;
  --petrol: #1e4a4f;
  --petrol-hell: #2a5f65;
  --ochsenblut: #6a2330;
  --linie: #c4c8c3;
  --auf-dunkel: #f1f2ee;
  --auf-dunkel-2: #c9d3d2;
  --sans: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Source Serif', Georgia, 'Times New Roman', serif;
  --max: 1320px;
  --rand: clamp(16px, 4vw, 48px);
  --spalt: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--wand); color: var(--tinte); font-family: var(--serif); font-size: 1.125rem; line-height: 1.62; font-optical-sizing: auto; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }
.dunkel :focus-visible, .rot :focus-visible { outline-color: var(--auf-dunkel); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; font-family: var(--sans); font-weight: 650; font-stretch: 74%; line-height: .98; letter-spacing: -.005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(3.2rem, 8.2vw, 7.4rem); line-height: .9; font-weight: 700; }
h2 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.08; }
h4 { font-size: 1.15rem; font-stretch: 85%; line-height: 1.2; }
.sans { font-family: var(--sans); }
.lead { font-size: clamp(1.2rem, 1.6vw, 1.42rem); line-height: 1.5; max-width: 34em; }
.leise { color: var(--grafit); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--petrol); color: #fff; padding: 10px 16px; font-family: var(--sans); z-index: 100; }
.skip:focus { top: 12px; }

.rahmen { max-width: var(--max); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt { padding: clamp(64px, 9vw, 136px) 0; }
.abschnitt + .abschnitt.gleich { padding-top: 0; }
.prosa { max-width: 38em; overflow-wrap: break-word; }
.prosa a { overflow-wrap: anywhere; }
.prosa h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-top: 1.4em; }
.prosa h3 { margin-top: 1.4em; }
.prosa ul { padding-left: 1.1em; }
.prosa li { margin-bottom: .35em; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; gap: .5em; min-height: 52px; padding: 0 26px; font-family: var(--sans); font-stretch: 90%; font-weight: 600; font-size: 1.05rem; text-decoration: none; border: 2px solid var(--petrol); background: var(--petrol); color: #fff; cursor: pointer; transition: background .15s, color .15s; }
.knopf:hover { background: var(--petrol-hell); border-color: var(--petrol-hell); }
.knopf.zweit { background: transparent; color: var(--petrol); }
.knopf.zweit:hover { background: var(--petrol); color: #fff; }
.dunkel .knopf, .rot .knopf { background: var(--auf-dunkel); border-color: var(--auf-dunkel); color: var(--tinte); }
.dunkel .knopf:hover, .rot .knopf:hover { background: #fff; border-color: #fff; }
.dunkel .knopf.zweit, .rot .knopf.zweit { background: transparent; color: var(--auf-dunkel); }
.dunkel .knopf.zweit:hover, .rot .knopf.zweit:hover { background: var(--auf-dunkel); color: var(--tinte); }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.textlink { font-family: var(--sans); font-stretch: 90%; font-weight: 600; font-size: 1.05rem; color: var(--petrol); }
.dunkel .textlink, .rot .textlink { color: var(--auf-dunkel); }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 30; background: rgba(232, 233, 229, .94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.kopf.gerollt { border-bottom-color: var(--linie); }
.kopf .rahmen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: block; color: var(--tinte); width: 168px; flex: none; }
.logo svg { display: block; width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); font-family: var(--sans); font-stretch: 88%; font-weight: 550; font-size: 1.02rem; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: currentColor; }
.nav a[aria-current="page"] { border-bottom-color: var(--petrol); color: var(--petrol); }
.nav .knopf { min-height: 44px; padding: 0 18px; border-bottom-width: 2px; color: #fff; }
.nav .knopf:hover { border-bottom-color: var(--petrol-hell); }
.nav .knopf[aria-current="page"] { color: #fff; border-color: var(--tinte); background: var(--tinte); }
.menu-knopf { display: none; font-family: var(--sans); font-weight: 600; font-size: 1rem; background: none; border: 2px solid var(--tinte); color: var(--tinte); min-height: 44px; padding: 0 16px; cursor: pointer; }
@media (max-width: 920px) {
  .menu-knopf { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--wand); border-bottom: 1px solid var(--linie); padding: 8px var(--rand) 24px; font-size: 1.3rem; }
  .nav.offen { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--linie); }
  .nav a:hover { border-bottom-color: var(--linie); }
  .nav a[aria-current="page"] { border-bottom-color: var(--linie); }
  .nav .knopf { margin-top: 18px; justify-content: center; min-height: 54px; }
  .logo { width: 138px; }
}

/* Objektschild */
.schild { background: var(--schild); color: var(--tinte); font-family: var(--sans); font-stretch: 92%; font-size: .95rem; line-height: 1.42; padding: 18px 20px 16px; max-width: 320px; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.schild p { margin: 0 0 .55em; }
.schild p:last-child { margin-bottom: 0; }
.schild .titel { font-weight: 700; font-size: 1.05rem; font-stretch: 85%; line-height: 1.2; }
.schild .ort { }
.schild .mat { color: var(--grafit); }
.schild .credit { color: var(--grafit); font-size: .82rem; }
.schild dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.schild dt { color: var(--grafit); }
.schild dd { margin: 0; }

/* Bilder */
.bild { margin: 0; position: relative; }
.bild img { width: 100%; background: var(--wand-tief); }
.bild figcaption { font-family: var(--sans); font-stretch: 92%; font-size: .9rem; color: var(--grafit); margin-top: 10px; max-width: 46em; }

/* Startseite: Titelwand */
.titelwand { padding: clamp(36px, 6vw, 84px) 0 0; }
.titelwand .kopfzeile { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.titelwand h1 { margin: 0; }
.titelwand .lead { margin: 0; }
@media (max-width: 860px) { .titelwand .kopfzeile { grid-template-columns: 1fr; } }

.wandbild { margin-top: clamp(32px, 5vw, 64px); position: relative; }
.wandbild .flaeche { position: relative; overflow: hidden; background: var(--wand-tief); }
.wandbild .flaeche img { width: 100%; aspect-ratio: 16 / 8.2; object-fit: cover; }
/* Bahnen: feine Stöße und – einmalig beim Laden – Bahn für Bahn tapeziert */
.bahnen { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--n, 8), 1fr); pointer-events: none; }
.bahnen span { border-right: 1px solid rgba(255, 255, 255, .28); position: relative; }
.bahnen span:last-child { border-right: 0; }
.bahnen span::after { content: ''; position: absolute; inset: 0; background: var(--wand); transform-origin: 50% 100%; animation: tapezieren .75s cubic-bezier(.65, 0, .25, 1) both; animation-delay: calc(var(--i) * 95ms + 150ms); }
@keyframes tapezieren { to { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) { .bahnen span::after { animation: none; display: none; } }
.massstab { display: grid; grid-template-columns: repeat(var(--n, 8), 1fr); font-family: var(--sans); font-stretch: 90%; font-size: .85rem; color: var(--grafit); margin-top: 8px; }
.massstab span { border-left: 1px solid var(--grafit); padding: 6px 0 0 8px; height: 26px; }
.massstab span:last-child { border-right: 1px solid var(--grafit); }
.wandbild .schild { position: absolute; right: clamp(12px, 3vw, 40px); bottom: calc(clamp(12px, 3vw, 40px) + 34px); }
@media (max-width: 700px) {
  .wandbild .flaeche img { aspect-ratio: 4 / 3.4; }
  .wandbild .schild { position: static; margin: 16px 0 0 auto; max-width: none; }
  .massstab span:nth-child(n+5) { display: none; }
  .massstab span:nth-child(4) { border-right: 1px solid var(--grafit); }
}

/* Rundgang */
.rundgang-kopf { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.rundgang-kopf h2 { margin: 0; }
.rundgang-kopf p { margin: 0; max-width: 32em; }
@media (max-width: 860px) { .rundgang-kopf { grid-template-columns: 1fr; } }
.station { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--spalt); align-items: end; margin-bottom: clamp(64px, 9vw, 128px); }
.station:last-child { margin-bottom: 0; }
.station .bild { grid-column: 1 / span 8; }
.station .text { grid-column: 9 / span 4; }
.station.rechts .bild { grid-column: 5 / span 8; grid-row: 1; }
.station.rechts .text { grid-column: 1 / span 4; grid-row: 1; }
.station.breit .bild { grid-column: 1 / -1; }
.station.breit .text { grid-column: 1 / span 12; display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--spalt) 48px; align-items: start; }
.station.hoch .bild { grid-column: 3 / span 5; }
.station.hoch .text { grid-column: 8 / span 4; }
.station .schild { margin-bottom: 18px; }
.station .text > p { font-size: 1.05rem; max-width: 26em; }
.station h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .4em; }
.station h3 a { text-decoration: none; }
.station h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
@media (max-width: 860px) {
  .station { grid-template-columns: 1fr; }
  .station .bild, .station .text, .station.rechts .bild, .station.rechts .text, .station.hoch .bild, .station.hoch .text, .station.breit .bild, .station.breit .text { grid-column: 1; grid-row: auto; }
  .station.breit .text { grid-template-columns: 1fr; }
}

/* Dunkle Wände */
.dunkel { background: var(--petrol); color: var(--auf-dunkel); }
.rot { background: var(--ochsenblut); color: var(--auf-dunkel); }
.dunkel .leise, .rot .leise { color: var(--auf-dunkel-2); }
.dunkel a, .rot a { color: var(--auf-dunkel); }

/* Datenblatt */
.datenblatt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; }
.datenblatt dl { margin: 0; border-top: 1px solid rgba(255,255,255,.35); }
.datenblatt .zeile { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr); gap: 8px 24px; padding: 16px 0 15px; border-bottom: 1px solid rgba(255,255,255,.35); }
.datenblatt dt { font-family: var(--sans); font-stretch: 90%; font-weight: 600; }
.datenblatt dd { margin: 0; }
.datenblatt dd small { display: block; color: var(--auf-dunkel-2); font-size: .92rem; margin-top: 2px; }
.hell .datenblatt dl, .hell .datenblatt .zeile { border-color: var(--linie); }
.hell .datenblatt dd small { color: var(--grafit); }
@media (max-width: 860px) { .datenblatt { grid-template-columns: 1fr; } .datenblatt .zeile { grid-template-columns: 1fr; gap: 2px; } }

/* Ablauf (echte Reihenfolge) */
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--spalt); counter-reset: schritt; }
.ablauf li { counter-increment: schritt; border-top: 2px solid var(--tinte); padding-top: 18px; }
.ablauf li::before { content: counter(schritt); display: block; font-family: var(--sans); font-stretch: 70%; font-weight: 700; font-size: 3.6rem; line-height: 1; margin-bottom: 14px; color: var(--petrol); }
.ablauf h3 { font-size: 1.45rem; }
.ablauf p { font-size: 1.02rem; margin: 0; }
ul.ablauf { counter-reset: none; }
.ablauf.ohne li::before { display: none; }
.ablauf.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dunkel .checkliste li { border-color: rgba(255,255,255,.3); }
.dunkel .checkliste li::before { border-color: var(--auf-dunkel); }
@media (max-width: 960px) { .ablauf.drei { grid-template-columns: 1fr; } .ablauf { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 560px) { .ablauf { grid-template-columns: 1fr; } }

/* Zweispalter */
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.zwei.mitte { align-items: center; }
@media (max-width: 860px) { .zwei { grid-template-columns: 1fr; } }

/* Anfrage-Wand */
.anfrage .rahmen { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 64px; align-items: end; }
.anfrage h2 { margin-bottom: .35em; }
.anfrage .kontaktwege { font-family: var(--sans); font-stretch: 92%; font-size: 1.1rem; line-height: 1.7; }
.anfrage .kontaktwege a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); }
.anfrage .kontaktwege a:hover { border-bottom-color: #fff; }
@media (max-width: 860px) { .anfrage .rahmen { grid-template-columns: 1fr; } }

/* Seitenkopf für Unterseiten */
.seitenkopf { padding: clamp(40px, 7vw, 96px) 0 clamp(32px, 5vw, 64px); }
.seitenkopf h1 { font-size: clamp(3rem, 7.5vw, 6.4rem); }
.seitenkopf .lead { margin-top: 18px; }
.brotkrumen { font-family: var(--sans); font-stretch: 92%; font-size: .95rem; color: var(--grafit); margin-bottom: 18px; }
.brotkrumen a { color: inherit; }

/* Projektseite */
.projekt-bild { position: relative; }
.projekt-bild .schild { position: absolute; left: clamp(12px, 3vw, 40px); bottom: clamp(12px, 3vw, 40px); }
@media (max-width: 700px) { .projekt-bild .schild { position: static; margin-top: 16px; max-width: none; } }
.saaltext { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px 72px; align-items: start; }
.saaltext .prosa p:first-child { font-size: 1.28rem; line-height: 1.55; }
.saaltext aside { position: sticky; top: 100px; }
@media (max-width: 860px) { .saaltext { grid-template-columns: 1fr; } .saaltext aside { position: static; } }
.bildfolge { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--spalt); align-items: start; }
.bildfolge .bild { grid-column: span 6; }
.bildfolge .bild.quer { grid-column: span 12; }
.bildfolge .bild.hoch { grid-column: span 5; }
.bildfolge .bild.hoch + .bild { grid-column: span 7; }
@media (max-width: 700px) { .bildfolge .bild, .bildfolge .bild.hoch, .bildfolge .bild.hoch + .bild { grid-column: span 12; } }
.weiter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--spalt); }
.weiter a { text-decoration: none; display: block; }
.weiter img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 14px; }
.weiter h3 { font-size: 1.5rem; margin-bottom: .2em; }
.weiter p { font-family: var(--sans); font-stretch: 92%; font-size: .95rem; color: var(--grafit); margin: 0; }
.weiter a:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
@media (max-width: 860px) { .weiter { grid-template-columns: 1fr; } }

/* Projektliste */
.projektliste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 80px) var(--spalt); }
.projektliste .eintrag:first-child { grid-column: 1 / -1; }
.projektliste a { text-decoration: none; }
.projektliste .bild img { aspect-ratio: 3 / 2; object-fit: cover; }
.projektliste .eintrag:first-child .bild img { aspect-ratio: 16 / 7.5; }
.projektliste .unter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 32px; margin-top: 18px; align-items: start; }
.projektliste h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin: 0 0 .25em; }
.projektliste .unter p { margin: 0; font-size: 1.02rem; }
.projektliste a:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
@media (max-width: 860px) { .projektliste { grid-template-columns: 1fr; } .projektliste .unter { grid-template-columns: 1fr; } }

/* Bahnenrechner */
.rechner { background: var(--schild); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 32px 56px; }
.rechner form { display: grid; gap: 18px; align-content: start; }
.feld label { display: block; font-family: var(--sans); font-stretch: 90%; font-weight: 600; margin-bottom: 6px; }
.feld .hilfe { display: block; font-family: var(--sans); font-stretch: 92%; font-size: .9rem; color: var(--grafit); margin-top: 6px; }
input[type="text"], input[type="email"], input[type="number"], textarea { width: 100%; font: inherit; font-family: var(--sans); font-stretch: 95%; font-size: 1.08rem; color: var(--tinte); background: #fff; border: 1.5px solid #8b9194; border-radius: 0; padding: 12px 14px; min-height: 52px; }
textarea { min-height: 180px; resize: vertical; line-height: 1.5; }
input:focus, textarea:focus { outline: 3px solid var(--petrol); outline-offset: 0; border-color: var(--petrol); }
.einheit { position: relative; }
.einheit input { padding-right: 48px; }
.einheit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-family: var(--sans); color: var(--grafit); pointer-events: none; }
.ergebnis { display: grid; gap: 22px; align-content: start; }
.ergebnis .wand { width: 100%; height: auto; display: block; }
.ergebnis dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
.ergebnis dt { font-family: var(--sans); font-stretch: 90%; font-size: .92rem; color: var(--grafit); }
.ergebnis dd { margin: 0; font-family: var(--sans); font-stretch: 74%; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.05; }
.ergebnis .hinweis { font-size: .95rem; color: var(--grafit); margin: 0; }
@media (max-width: 860px) { .rechner { grid-template-columns: 1fr; } .ergebnis dl { grid-template-columns: 1fr 1fr; }  }

/* Tabelle (Vergleich) */
.tabelle-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabelle { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 1rem; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: 16px 18px 16px 0; border-bottom: 1px solid var(--linie); }
.tabelle thead th { font-family: var(--sans); font-stretch: 80%; font-weight: 700; font-size: 1.3rem; border-bottom: 2px solid var(--tinte); }
.tabelle thead th.wir { color: var(--petrol); }
.tabelle tbody th { font-family: var(--sans); font-stretch: 90%; font-weight: 600; width: 13%; }
.tabelle td.wir { background: rgba(30, 74, 79, .06); padding-left: 14px; }
.tabelle thead th.wir { padding-left: 14px; }

/* Fragen */
.fragen { border-top: 1px solid var(--linie); max-width: 52em; }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-family: var(--sans); font-stretch: 88%; font-weight: 600; font-size: 1.2rem; line-height: 1.3; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: '+'; font-weight: 400; font-size: 1.6rem; line-height: 1; flex: none; }
.fragen details[open] summary::after { content: '–'; }
.fragen details > div { padding: 0 0 22px; max-width: 40em; }

/* Zeitleiste */
.zeitleiste { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--tinte); }
.zeitleiste li { padding: 0 0 32px 28px; position: relative; }
.zeitleiste li::before { content: ''; position: absolute; left: -7px; top: .55em; width: 12px; height: 12px; background: var(--wand); border: 2px solid var(--tinte); }
.zeitleiste .jahr { font-family: var(--sans); font-stretch: 72%; font-weight: 700; font-size: 2.4rem; line-height: 1; display: block; margin-bottom: 6px; color: var(--petrol); }
.zeitleiste p { margin: 0; max-width: 32em; }

.dunkel .zeitleiste { border-left-color: var(--auf-dunkel); }
.dunkel .zeitleiste li::before { background: var(--petrol); border-color: var(--auf-dunkel); }
.dunkel .zeitleiste .jahr { color: var(--auf-dunkel); }

/* Kontakt */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px 72px; align-items: start; }
@media (max-width: 900px) { .kontakt-raster { grid-template-columns: 1fr; } }
.formular { display: grid; gap: 22px; }
.formular .paar { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 640px) { .formular .paar { grid-template-columns: 1fr; } }
.formular .pflicht { color: var(--ochsenblut); }
.feld label.zustimmung { font-family: var(--serif); font-stretch: 100%; font-weight: 400; margin: 0; }
.zustimmung { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.zustimmung input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--petrol); flex: none; }
.fehlertext { display: block; color: #9b1c2c; font-family: var(--sans); font-stretch: 92%; font-size: .95rem; margin-top: 6px; }
[aria-invalid="true"] { border-color: #9b1c2c !important; }
.meldung { font-family: var(--sans); font-stretch: 92%; font-size: 1.05rem; padding: 14px 16px; display: none; }
.meldung.zeigen { display: block; }
.meldung.ok { background: #dfeee6; color: #12452c; }
.meldung.fehler { background: #f6e1e3; color: #7a1724; }
.mt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.checkliste { list-style: none; padding: 0; margin: 0; }
.checkliste li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--linie); position: relative; font-size: 1.02rem; }
.checkliste li::before { content: ''; position: absolute; left: 2px; top: 1.05em; width: 14px; height: 8px; border-left: 2px solid var(--petrol); border-bottom: 2px solid var(--petrol); transform: rotate(-45deg); }

/* Fuß */
.fuss { background: var(--tinte); color: #d6d9d6; padding: clamp(56px, 7vw, 88px) 0 32px; font-family: var(--sans); font-stretch: 92%; font-size: 1rem; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss p a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); }
.fuss .logo { color: #fff; width: 190px; margin-bottom: 18px; }
.fuss-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.fuss h2 { font-size: 1.1rem; font-stretch: 88%; font-weight: 600; color: #fff; margin: 0 0 14px; line-height: 1.3; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 8px; }
.fuss p { margin: 0 0 8px; }
.fuss .unten { border-top: 1px solid #3a4043; margin-top: 56px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: #a9aeab; font-size: .92rem; }
@media (max-width: 860px) { .fuss-raster { grid-template-columns: 1fr 1fr; } .fuss-raster > :first-child { grid-column: 1 / -1; } }

/* Druck */
@media print { .kopf, .fuss, .anfrage, .bahnen, .massstab { display: none !important; } body { background: #fff; } }
