/* Dürrenast-Leist – Website duerrenast.ch
   Grundlage: Design System «Dürrenast-Leist» (Farben, Schrift, Raster, Leitbewegung «Was spricht, ploppt auf») */

@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/schibsted-grotesk-latin-800-normal.woff2") format("woff2"); }

:root {
  /* Farben, Schrift, Abstände, Radien und Bewegung kommen aus tokens.css (erzeugt aus design-system/tokens.json). */
  --breite: 1200px;
  --rand: 24px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--grund);
  color: var(--schrift);
  font-family: var(--font-grotesk);
  font-size: 17px;
  line-height: 27px;
  font-weight: 400;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--akzent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; transition: color var(--takt-1) var(--standard); }
a:hover { color: var(--tinte); }

:focus-visible { outline: 3px solid var(--sonne); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }

.h1 { font-size: 48px; line-height: 50px; font-weight: 800; letter-spacing: -0.02em; }
.h1-gross { font-size: clamp(44px, 7vw, 76px); line-height: 1; font-weight: 800; letter-spacing: -0.025em; }
.h2 { font-size: 32px; line-height: 37px; font-weight: 800; }
.h3 { font-size: 22px; line-height: 28px; font-weight: 700; }
.dachzeile { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--akzent); }
.lead { font-size: 21px; line-height: 31px; }
.caption { font-size: 13px; line-height: 18px; color: var(--schrift-leise); }
.leise { color: var(--schrift-leise); }

@media (max-width: 640px) {
  .h1 { font-size: 38px; line-height: 41px; }
  .h2 { font-size: 27px; line-height: 32px; }
  .lead { font-size: 19px; line-height: 28px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link:focus { background: var(--see-tief); color: var(--kalk); padding: 10px 18px; border-radius: var(--radius-pill); font-weight: 700; text-decoration: none; }

.wrap { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }

.stapel > * + * { margin-top: var(--space-3); }
.stapel-klein > * + * { margin-top: var(--space-1); }

/* ---------- Kopf ---------- */
.kopf { background: var(--kalk); position: relative; z-index: 20; }
.wrap.kopf-inhalt { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 96px; }
.logo { display: block; flex-shrink: 0; border-radius: 4px; }
.logo-svg { width: 180px; height: auto; }
.logo-d { fill: var(--see-tief); }
.logo-t { fill: var(--tinte); }
.logo-p { fill: var(--geranie); }
:is(.fuss, .fuss-inhalt) .logo-d, :is(.fuss, .fuss-inhalt) .logo-t { fill: var(--kalk); }

/* Navigation im Kopf: Navigationsblock. Ab 961 px in einer Zeile, darunter Knopf «Menü» und Menü über die ganze Seite. */
.kopf-inhalt .wp-block-navigation { gap: 0; font-size: 16px; }
.kopf-inhalt .wp-block-navigation .wp-block-navigation__container { display: flex; align-items: center; gap: 4px; }
.kopf-inhalt .wp-block-navigation .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; color: var(--tinte); text-decoration: none; font-weight: 600; font-size: 16px; border-radius: var(--radius-pill); transition: background-color var(--takt-1) var(--standard); }
.kopf-inhalt .wp-block-navigation .wp-block-navigation-item__content:hover { background: var(--stein); color: var(--tinte); }
.kopf-inhalt .wp-block-navigation .wp-block-navigation-item__content[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--geranie); border-radius: 0; }
.kopf-inhalt .wp-block-navigation .nav-cta > .wp-block-navigation-item__content { background: var(--see-tief); color: var(--kalk); padding: 0 20px; margin-left: 10px; font-weight: 700; }
.kopf-inhalt .wp-block-navigation .nav-cta > .wp-block-navigation-item__content:hover { background: var(--horizont-vorn); color: var(--kalk); }
.kopf-inhalt .wp-block-navigation .nav-cta > .wp-block-navigation-item__content[aria-current="page"] { box-shadow: none; border-radius: var(--radius-pill); }

.kopf-inhalt .wp-block-navigation .wp-block-navigation__responsive-container-open,
.kopf-inhalt .wp-block-navigation .wp-block-navigation__responsive-container-close { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 2px solid var(--see-tief); background: transparent; color: var(--see-tief); border-radius: var(--radius-pill); font: 700 16px/1 var(--font-grotesk); cursor: pointer; }
.kopf-inhalt .wp-block-navigation__responsive-container-open:hover,
.kopf-inhalt .wp-block-navigation__responsive-container-close:hover { background: var(--stein); }

@media (min-width: 961px) {
  .kopf-inhalt .wp-block-navigation .wp-block-navigation__responsive-container-open { display: none; }
  .kopf-inhalt .wp-block-navigation__responsive-container.hidden-by-default:not(.is-menu-open) { display: block; position: relative; width: 100%; z-index: auto; background-color: inherit; }
  .kopf-inhalt .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-close { display: none; }
}

@media (max-width: 960px) {
  .kopf-inhalt .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .kopf-inhalt .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open { background: var(--kalk); color: var(--tinte); padding: 0 var(--rand) var(--space-3); }
  .kopf-inhalt .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 96px; }
  .kopf-inhalt .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .kopf-inhalt .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; }
  .kopf-inhalt .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { width: 100%; font-size: 19px; padding: 0 12px; min-height: 52px; }
  .kopf-inhalt .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current="page"] { box-shadow: inset 4px 0 0 var(--geranie); }
  .kopf-inhalt .wp-block-navigation__responsive-container.is-menu-open .nav-cta > .wp-block-navigation-item__content { width: auto; margin: 12px 0 0; justify-content: center; }
  /* «Schliessen» an der Stelle von «Menü». */
  .kopf-inhalt .wp-block-navigation__responsive-container-close { top: 26px; right: var(--rand); }
  .logo-svg { width: 150px; }
}

/* Navigation im Fuss: untereinander, ohne Knopf. */
.fuss-inhalt .wp-block-navigation .wp-block-navigation__container { gap: 0; }
.fuss-inhalt .wp-block-navigation .wp-block-navigation-item__content { padding: 0; color: var(--kalk); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.fuss-inhalt .wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--sonne); }
.fuss-unten .wp-block-navigation .wp-block-navigation__container { gap: var(--space-2); }
.fuss-unten p { margin: 0; }
.fuss-kontakt { list-style: none; padding: 0; }

/* ---------- Buttons ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--radius-pill); font: 700 16px/1.2 var(--font-grotesk); text-decoration: none; border: 0; cursor: pointer; transition: background-color var(--takt-1) var(--standard), color var(--takt-1) var(--standard), transform var(--takt-1) var(--standard); }
.knopf:active { transform: translateY(1px); }
.knopf-voll { background: var(--see-tief); color: var(--kalk); }
.knopf-voll:hover { background: var(--horizont-vorn); color: var(--kalk); }
.knopf-rand { background: transparent; color: var(--see-tief); box-shadow: inset 0 0 0 2px var(--see-tief); }
.knopf-rand:hover { background: var(--see-tief); color: var(--kalk); }
.knopf-sonne { background: var(--sonne); color: var(--tinte); }
.knopf-sonne:hover { background: var(--kalk); color: var(--tinte); }
.knopf-hell { background: var(--kalk); color: var(--see-tief); }
.knopf-hell:hover { background: var(--see-hell); color: var(--tinte); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; }

.pfeil-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; min-height: 44px; }
.pfeil-link svg { width: 20px; height: 20px; transition: transform var(--takt-2) var(--ein); }
.pfeil-link:hover svg { transform: translateX(4px); }

/* ---------- Hero mit Horizont ---------- */
.hero { position: relative; background: var(--kalk); padding-top: var(--space-8); overflow: hidden; }
.hero-text { position: relative; z-index: 2; max-width: 760px; padding-bottom: var(--space-4); }
.hero-text .lead { max-width: 620px; }
.hero-horizont { position: relative; aspect-ratio: 1440 / 289; min-height: 140px; margin-top: var(--space-4); }
.horizont-svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.seitenkopf { position: relative; background: var(--kalk); padding-top: var(--space-6); overflow: hidden; }
.seitenkopf .hero-text { padding-bottom: 0; }
.seitenkopf .hero-horizont { margin-top: 0; }

/* ---------- Leitbewegung «Was spricht, ploppt auf» ----------
   Die Sprechblase ploppt auf, die Umlautpunkte tippen wie im Chat, dann kommt der Name.
   Danach tauchen die Berge aus dem See auf, von hinten nach vorne. Genau einmal.
   Nur transform und opacity. «Bewegung reduzieren» schaltet alles ab. */

/* Einstieg Logo – nur beim ersten Seitenaufruf einer Sitzung (Klasse «einstieg» auf <html>) */
.kopf .logo-svg .dl-blase, .kopf .logo-svg .dl-punkt, .kopf .logo-svg .dl-name, .kopf .logo-svg .dl-zusatz { transform-box: fill-box; }
.einstieg .kopf .dl-blase { transform-origin: 1% 0%; animation: blase-plopp var(--takt-3) var(--plopp) both; }
.einstieg .kopf .dl-punkt { transform-origin: 50% 50%; animation: punkt-tipp var(--takt-3) var(--ein) both; }
.einstieg .kopf .dl-punkt-1 { animation-delay: calc(2 * var(--versatz)); }
.einstieg .kopf .dl-punkt-2 { animation-delay: calc(3 * var(--versatz)); }
.einstieg .kopf .dl-name { animation: name-ein var(--takt-3) var(--ein) calc(4 * var(--versatz)) both; }
.einstieg .kopf .dl-zusatz { animation: auf var(--takt-3) var(--ein) calc(6 * var(--versatz)) both; }
/* Das Logo liegt in einer gespiegelten Gruppe (scale(1,-1)): positives translateY heisst sichtbar «nach oben». */
@keyframes blase-plopp { from { opacity: 0; transform: scale(0); } 30% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes punkt-tipp { 0% { opacity: 0; transform: scale(0); } 45% { opacity: 1; transform: scale(1.12); } 65% { transform: translateY(90px); } 100% { opacity: 1; transform: none; } }
@keyframes name-ein { from { opacity: 0; transform: translateX(-420px); } to { opacity: 1; transform: none; } }
@keyframes auf { from { opacity: 0; } to { opacity: 1; } }

/* Horizont: die Berge tauchen hinter der Seekante aus dem See auf. Der See steht von Anfang an. */
.horizont { --h-start: 0ms; }
.einstieg .horizont { --h-start: calc(5 * var(--versatz)); }
.horizont .fern, .horizont .nah, .horizont .vorn { transform-box: fill-box; animation: berg-auf var(--takt-3) var(--plopp) both; }
.horizont .fern { animation-delay: var(--h-start); }
.horizont .nah { animation-delay: calc(var(--h-start) + var(--versatz)); }
.horizont .vorn { animation-delay: calc(var(--h-start) + 2 * var(--versatz)); }
@keyframes berg-auf { from { transform: translateY(100%); } to { transform: none; } }

/* Karten gleiten rund 20 px von links herein, jede folgende um «versatz» später (Verzögerung setzt main.js). */
.js .einblenden { opacity: 0; transform: translateX(-20px); transition: opacity var(--takt-3) var(--ein), transform var(--takt-3) var(--ein); }
.js .einblenden.sichtbar { opacity: 1; transform: none; }

/* Was spricht, ploppt auf: Sprechblasen und Störer, einmal, sobald sie in den Blick kommen. */
.js .plopp { opacity: 0; transform: scale(.4); transform-origin: 36px 100%; }
.js .plopp.blase-rechts, .js .plopp.is-style-blase-sonne.blase-rechts { transform-origin: calc(100% - 36px) 100%; }
.js .stoerer.plopp { transform-origin: 50% 50%; transform: scale(.4) rotate(-8deg); }
.js .plopp.sichtbar { animation: plopp var(--takt-3) var(--plopp) forwards; }
.js .stoerer.plopp.sichtbar { animation-name: plopp-stoerer; }
@keyframes plopp { from { opacity: 0; transform: scale(.4); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes plopp-stoerer { from { opacity: 0; transform: scale(.4) rotate(-8deg); } 40% { opacity: 1; } to { opacity: 1; transform: rotate(-8deg); } }

@media (prefers-reduced-motion: reduce) {
  .einstieg .kopf .dl-blase, .einstieg .kopf .dl-punkt, .einstieg .kopf .dl-name, .einstieg .kopf .dl-zusatz,
  .horizont .fern, .horizont .nah, .horizont .vorn { animation: none; }
  .js .einblenden, .js .plopp, .js .stoerer.plopp { opacity: 1; transform: none; transition: none; animation: none; }
  .js .stoerer.plopp { transform: rotate(-8deg); }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: var(--space-12) 0; }
.abschnitt-stein { background: var(--stein); }
.abschnitt-see { background: var(--see-tief); color: var(--kalk); }
.abschnitt-see .dachzeile { color: var(--see-hell); }
.abschnitt-see a:not(.knopf):not(.wp-block-button__link) { color: var(--kalk); }
.abschnitt-seehell { background: var(--see-hell); }
.abschnitt-seehell .dachzeile { color: var(--tinte); }
.abschnitt-sonne { background: var(--sonne); }
.abschnitt-sonne .dachzeile { color: var(--see-tief); }
.nach-hero { padding-top: var(--space-8); }

@media (max-width: 640px) { .abschnitt { padding: var(--space-8) 0; } }

.abschnitt-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-3); flex-wrap: wrap; margin-bottom: var(--space-4); }
.abschnitt-kopf > div > * + * { margin-top: var(--space-1); }

.raster { display: grid; gap: var(--space-3); }
.raster-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.raster-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.raster-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .raster-3, .raster-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .raster-3, .raster-2, .raster-4 { grid-template-columns: 1fr; } }

.zweispaltig { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; }
@media (max-width: 860px) { .zweispaltig { grid-template-columns: 1fr; gap: var(--space-4); } }

.fliesstext { max-width: 720px; }
.fliesstext > * + * { margin-top: var(--space-2); }
.fliesstext h2, .fliesstext h3 { margin-top: var(--space-4); }
.fliesstext ul { padding-left: 1.2em; }
.fliesstext li + li { margin-top: 4px; }

/* ---------- Karten ---------- */
.karte { background: var(--kalk); border-radius: var(--radius-m); padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-1); }
.abschnitt:not(.abschnitt-stein):not(.abschnitt-see) .karte { background: var(--stein); }
.karte .h3 { margin-top: 4px; }
.karte-fuss { margin-top: auto; padding-top: var(--space-2); }
.karte-datum { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--see-tief); }
.karte-datum.akzent { color: #B8321A; }

.karte-link { text-decoration: none; color: inherit; transition: transform var(--takt-2) var(--ein), box-shadow var(--takt-2) var(--standard); }
.karte-link:hover { color: inherit; transform: translateY(-3px); box-shadow: 0 10px 0 -4px var(--see-hell); }

.bild-platz { aspect-ratio: 16 / 10; background: var(--see-hell); border-radius: var(--radius-m); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: var(--space-2); color: var(--tinte); font-size: 14px; line-height: 20px; }
.bild-platz svg { width: 32px; height: 32px; stroke: var(--see-tief); }
/* Symbolbild ohne eigenes Foto: Quartierfoto, über «luminosity» in Seeblau eingefärbt. */
.bild-symbol { position: relative; display: block; overflow: hidden; padding: 0; background: var(--see-tief); }
.bild-symbol img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); mix-blend-mode: luminosity; opacity: 0.85; }
.bild-illustration { background: var(--stein); padding: 0; overflow: hidden; }
.bild-platz.bild-illustration svg { display: block; width: 100%; height: 100%; stroke: none; }
.bild-symbol-hinweis { position: absolute; left: var(--space-2); bottom: var(--space-1); font-size: 12px; line-height: 16px; color: #F7F3EC; opacity: 0.9; }

/* Termin-Liste */
.termine { list-style: none; padding: 0; border-top: 1px solid var(--linie); }
.termin { display: grid; grid-template-columns: 170px 1fr auto; gap: var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--linie); align-items: start; }
.termin-datum { font-weight: 800; font-size: 19px; line-height: 26px; color: var(--see-tief); }
.termin-datum small { display: block; font-size: 13px; line-height: 18px; font-weight: 600; color: var(--schrift-leise); letter-spacing: 0.04em; }
.termin .h3 { margin-bottom: 4px; }
.termin-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 15px; color: var(--schrift-leise); margin-top: 6px; }
.termin-meta span { display: inline-flex; align-items: center; gap: 6px; }
.termin-meta svg { width: 18px; height: 18px; stroke: var(--see-tief); flex-shrink: 0; }
@media (max-width: 720px) { .termin { grid-template-columns: 1fr; gap: var(--space-1); } }

.marke { display: inline-flex; align-items: center; gap: 6px; border-radius: var(--radius-pill); padding: 5px 12px; font-size: 13px; line-height: 16px; font-weight: 700; white-space: nowrap; }
.marke-sonne { background: var(--sonne); color: var(--tinte); }
.marke-see { background: var(--see-tief); color: var(--kalk); }
.marke-hell { background: var(--see-hell); color: var(--tinte); }
.marke-stein { background: var(--stein); color: var(--tinte); }

/* Status: Gehört → Dran → Umgesetzt */
.status { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
/* Nicht aktive Stufen als Kontur mit grauer Schrift (Kontrast mindestens 4.5:1, WCAG 1.4.3). */
.status .marke:not(.aktiv) { background: transparent; color: var(--grau); box-shadow: inset 0 0 0 1px var(--linie); }
.status .pfeil { width: 12px; height: 12px; fill: var(--tinte); opacity: .5; }

/* Projekt */
.projekt { display: grid; grid-template-columns: 1fr 1.4fr; grid-template-areas: "bild kopf" "bild text"; grid-template-rows: auto 1fr; column-gap: var(--space-6); row-gap: var(--space-2); padding: var(--space-6) 0; border-top: 1px solid var(--linie); align-items: start; }
.projekt:not(:has(> .projekt-kopf)) { grid-template-areas: "bild text"; }
.projekt > .projekt-kopf { grid-area: kopf; }
.projekt > .karte-bild, .projekt > .bild-platz { grid-area: bild; }
.projekt > .stapel { grid-area: text; }
.projekt-titel { color: inherit; text-decoration: none; }
.projekt-titel:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.projekt-kopf { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.projekt-zeit { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--see-tief); }
.projekt:last-child { border-bottom: 1px solid var(--linie); }
@media (max-width: 860px) { .projekt, .projekt:not(:has(> .projekt-kopf)) { grid-template-columns: 1fr; grid-template-areas: "bild" "kopf" "text"; grid-template-rows: auto; row-gap: var(--space-3); } }

/* Sprechblase */
.blase { position: relative; background: var(--see-tief); color: var(--kalk); border-radius: 24px; padding: var(--space-4); margin-bottom: 44px; }
.blase::after { content: ""; position: absolute; left: 36px; bottom: -40px; width: 44px; height: 44px; background: inherit; clip-path: polygon(27% 0, 0 100%, 100% 0); }
.blase-hell { background: var(--see-hell); color: var(--tinte); }
.blase-sonne { background: var(--sonne); color: var(--tinte); }
.blase-rechts::after { left: auto; right: 36px; transform: scaleX(-1); }
.blase p { font-weight: 800; font-size: 26px; line-height: 32px; }
@media (max-width: 640px) { .blase p { font-size: 22px; line-height: 28px; } }

/* Zahlen */
.zahl { font-size: clamp(40px, 5vw, 56px); line-height: 1; font-weight: 800; letter-spacing: -0.02em; color: var(--see-tief); }
.abschnitt-see .zahl { color: var(--sonne); }

/* Preise */
.preis { font-size: 44px; line-height: 1; font-weight: 800; color: var(--see-tief); letter-spacing: -0.02em; }
.preis small { font-size: 17px; font-weight: 600; color: var(--schrift-leise); letter-spacing: 0; }
.karte-hervor { background: var(--see-tief) !important; color: var(--kalk); }
.karte-hervor .preis, .karte-hervor .h3 { color: var(--kalk); }
.karte-hervor .preis small, .karte-hervor .leise { color: var(--see-hell); }
.karte-hervor .dachzeile { color: var(--sonne); }

/* Liste mit Haken */
.haken { list-style: none; padding: 0; }
.haken li { position: relative; padding-left: 32px; }
.haken li + li { margin-top: var(--space-1); }
.haken li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4F6C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.karte-hervor .haken li::before, .abschnitt-see .haken li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4C542' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Icons */
.icon { width: 24px; height: 24px; fill: none; stroke: var(--see-tief); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-kreis { width: 56px; height: 56px; border-radius: 50%; background: var(--see-hell); display: grid; place-items: center; margin-bottom: var(--space-1); }
.abschnitt-see .icon { stroke: var(--sonne); }

/* Formulare */
.formular { display: grid; gap: var(--space-2); }
.feld { display: grid; gap: 6px; }
.feld label { font-weight: 600; font-size: 15px; }
.feld input, .feld select, .feld textarea { font: 400 17px/1.4 var(--font-grotesk); color: var(--tinte); background: var(--kalk); border: 2px solid var(--linie); border-radius: var(--radius-s); padding: 12px 14px; min-height: 48px; width: 100%; transition: border-color var(--takt-1) var(--standard); }
.feld textarea { min-height: 140px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--see-tief); }
.feld-hinweis { font-size: 13px; line-height: 18px; color: var(--schrift-leise); }
.felder-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
@media (max-width: 640px) { .felder-2 { grid-template-columns: 1fr; } }
.auswahl { display: grid; gap: 8px; }
.auswahl label { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 16px; border: 2px solid var(--linie); border-radius: var(--radius-s); background: var(--kalk); cursor: pointer; font-weight: 600; }
.auswahl label:has(input:checked) { border-color: var(--see-tief); box-shadow: inset 0 0 0 1px var(--see-tief); }
.auswahl input { width: 20px; height: 20px; accent-color: var(--see-tief); }
.auswahl .preis-klein { margin-left: auto; color: var(--schrift-leise); font-weight: 600; }
.formular-meldung { padding: var(--space-2); background: var(--see-hell); border-radius: var(--radius-s); font-weight: 600; }

/* Zitat */
.zitat { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; }
.zitat-zeichen { font-weight: 800; font-size: 160px; line-height: 110px; color: var(--geranie); }
.zitat blockquote { margin: 0; font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -0.015em; }
@media (max-width: 640px) { .zitat { grid-template-columns: 1fr; gap: 0; } .zitat-zeichen { font-size: 110px; line-height: 70px; } }

/* Team */
.person { display: flex; flex-direction: column; gap: var(--space-1); }
.person-bild { aspect-ratio: 1; border-radius: var(--radius-m); background: var(--see-hell); display: grid; place-items: center; }
.person-bild svg { width: 48px; height: 48px; stroke: var(--see-tief); }
.person-offen .person-bild { background: transparent; box-shadow: inset 0 0 0 2px var(--see-tief); }

/* Störer */
.stoerer { display: inline-grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: var(--geranie); color: var(--kalk); font-weight: 800; font-size: 18px; line-height: 21px; text-align: center; transform: rotate(-8deg); padding: 14px; }

/* Band mit Aufruf */
.aufruf { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.aufruf > div { max-width: 640px; }
.aufruf > div > * + * { margin-top: var(--space-1); }

/* Fuss */
.fuss { background: var(--see-tief); color: var(--kalk); padding: var(--space-8) 0 var(--space-4); }
:is(.fuss, .fuss-inhalt) a:not(.knopf) { color: var(--kalk); }
:is(.fuss, .fuss-inhalt) a:hover { color: var(--sonne); }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--space-4); }
.fuss-raster h2 { font-size: 13px; line-height: 16px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--see-hell); margin-bottom: var(--space-2); }
.fuss-raster ul { list-style: none; padding: 0; }
.fuss-raster li + li { margin-top: 6px; }
.fuss-raster .logo-svg { width: 200px; margin-bottom: var(--space-2); }
.fuss-unten { margin-top: var(--space-6); padding-top: var(--space-3); border-top: 1px solid #1D6383; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); font-size: 14px; color: var(--see-hell); }
.fuss-unten a { color: var(--see-hell); }
@media (max-width: 860px) { .fuss-raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fuss-raster { grid-template-columns: 1fr; } }

.fuss-horizont { position: relative; height: 90px; background: var(--kalk); }
.fuss-horizont svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Galerie-Platzhalter */
.galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-2); }
.galerie .bild-platz { aspect-ratio: 1; }
.galerie .bild-platz:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 640px) { .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Hinweisbox */
.hinweis { background: var(--stein); border-radius: var(--radius-m); padding: var(--space-3); }
.abschnitt-stein .hinweis { background: var(--kalk); }
.hinweis > * + * { margin-top: var(--space-1); }

/* Chronik */
.chronik { list-style: none; padding: 0; position: relative; }
.chronik li { display: grid; grid-template-columns: 96px 1fr; gap: var(--space-3); padding-bottom: var(--space-3); }
.chronik .jahr { font-weight: 800; font-size: 22px; color: var(--see-tief); }

/* Statuten */
.statuten { display: grid; grid-template-columns: 280px 1fr; gap: var(--space-6); align-items: start; }
.statuten-inhalt { position: sticky; top: var(--space-3); background: var(--kalk); border-radius: var(--radius-m); padding: var(--space-3); max-height: calc(100vh - 48px); overflow: auto; }
.statuten-inhalt ol { list-style: none; padding: 0; margin: var(--space-2) 0 var(--space-3); }
.statuten-inhalt a:not(.knopf) { display: flex; gap: 10px; padding: 5px 0; color: var(--tinte); text-decoration: none; font-size: 15px; line-height: 20px; }
.statuten-inhalt a:not(.knopf):hover { color: var(--see-tief); text-decoration: underline; }
.statuten-inhalt a span { min-width: 26px; font-weight: 700; color: var(--see-tief); }
.statuten-inhalt .knopf { width: 100%; }
.statuten-text { background: var(--kalk); border-radius: var(--radius-m); padding: var(--space-6); }
.artikel { scroll-margin-top: var(--space-3); }
.artikel + .artikel, .unterschrift + .artikel { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--linie); }
.artikel h2 { margin-bottom: var(--space-2); }
.art-nr { color: var(--see-tief); margin-right: 6px; }
.ziffer { display: grid; grid-template-columns: 56px 1fr; gap: var(--space-2); padding: 6px 0; scroll-margin-top: var(--space-3); }
.ziffer:target { background: var(--sonne); border-radius: var(--radius-s); box-shadow: 0 0 0 8px var(--sonne); }
.ziffer-nr { font-weight: 700; color: var(--see-tief); }
.ziffer-text > * + * { margin-top: var(--space-1); }
ol.buchstaben { list-style: none; counter-reset: buchstabe; padding-left: 0; margin: var(--space-1) 0 0; }
ol.buchstaben li { counter-increment: buchstabe; position: relative; padding-left: 28px; }
ol.buchstaben li::before { content: counter(buchstabe, lower-alpha) ")"; position: absolute; left: 0; color: var(--schrift-leise); }
ol.buchstaben li + li { margin-top: 4px; }
.unterschrift { margin-top: var(--space-4); display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-6); }
.karte-leistgebiet { margin: 0; }
.karte-leistgebiet img { width: 100%; max-width: 640px; height: auto; border-radius: var(--radius-s); box-shadow: 0 0 0 1px var(--linie); }
.karte-leistgebiet figcaption { margin-top: var(--space-1); }
.tabelle { width: 100%; max-width: 520px; border-collapse: collapse; }
.tabelle th, .tabelle td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--linie); }
.tabelle thead th { background: var(--stein); font-weight: 700; font-size: 15px; }
.tabelle td:last-child, .tabelle th:last-child { text-align: right; }
@media (max-width: 960px) {
  .statuten { grid-template-columns: 1fr; gap: var(--space-3); }
  .statuten-inhalt { position: static; max-height: none; }
  .statuten-inhalt ol { columns: 2; column-gap: var(--space-3); }
}
@media (max-width: 640px) {
  .statuten-text { padding: var(--space-3); }
  .statuten-inhalt ol { columns: 1; }
  .ziffer { grid-template-columns: 1fr; gap: 2px; }
}

/* Kalender-Abo unter der Anlässe-Liste (Plugin «Dürrenast-Leist Verein») */
.kalender-abo { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; margin-top: var(--space-2); }
.kalender-abo .pfeil-link .icon { width: 18px; height: 18px; }
