/* ==========================================================================
   Liroba – Seitenlayout und Komponenten
   Baut auf liroba.css (CI-Tokens) auf. Im Code immer die Rollennamen
   (--farbe-…) verwenden, nicht die Farbwerte.
   ========================================================================== */

:root {
  --kopf-hoehe: 76px;
  --radius-gross: 20px;
  --schatten-weich: 0 1px 2px rgba(49, 65, 75, 0.04), 0 8px 28px rgba(49, 65, 75, 0.07);
  --schatten-hoch: 0 2px 4px rgba(49, 65, 75, 0.05), 0 18px 48px rgba(49, 65, 75, 0.12);
  --uebergang: 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
  --abschnitt: clamp(4.5rem, 3rem + 6vw, 8rem);
  --flaeche-zart: var(--liroba-mint-10);
  --flaeche-hinweis: var(--liroba-mint-25);
  --flaeche-dunkel: var(--liroba-schiefer);
  --flaeche-karte: var(--liroba-weiss);
  --chip-hg: var(--liroba-petrol-10);
  --chip-text: var(--liroba-petrol);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --flaeche-zart: #1F2A30;
    --flaeche-hinweis: #23343A;
    --flaeche-dunkel: #141B1F;
    --flaeche-karte: #212C32;
    --chip-hg: #23383D;
    --chip-text: var(--liroba-mint);
    --schatten-weich: 0 1px 2px rgba(0, 0, 0, 0.2), 0 8px 28px rgba(0, 0, 0, 0.25);
    --schatten-hoch: 0 2px 4px rgba(0, 0, 0, 0.25), 0 18px 48px rgba(0, 0, 0, 0.35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
strong, b { font-weight: 600; }
::selection { background: var(--liroba-mint); color: var(--liroba-schiefer); }

.container { padding-inline: clamp(1rem, 0.5rem + 2vw, 2rem); }
.container-schmal { max-width: 48rem; margin-inline: auto; padding-inline: clamp(1rem, 0.5rem + 2vw, 2rem); }

.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;
}
.springen {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--farbe-primaer); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius-klein);
  text-decoration: none; font-weight: 600; transition: top var(--uebergang);
}
.springen:focus { top: 1rem; color: #fff; }

/* --- Buttons (Ergänzungen zu liroba.css) -------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 0.55em; line-height: 1.2;
  transition: background var(--uebergang), color var(--uebergang), transform var(--uebergang), box-shadow var(--uebergang); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform var(--uebergang); }
.btn:hover svg.pfeil { transform: translateX(3px); }
.btn-gross { padding: 0.95em 1.6em; font-size: 1.0625rem; }
.btn-klein { padding: 0.55em 1.05em; font-size: 0.9375rem; }
.btn-hell { background: #fff; color: var(--liroba-petrol); }
.btn-hell:hover { background: var(--liroba-mint-25); color: var(--liroba-petrol-dunkel); }
.btn-kontur-hell { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-kontur-hell:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .btn:not(.btn-sekundaer):not(.btn-kontur):not(.btn-hell):not(.btn-kontur-hell) { color: var(--liroba-schiefer); }
  :root:not([data-theme="light"]) .btn-kontur:hover { background: rgba(130, 208, 171, 0.1); }
}
.knopfreihe { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.textlink { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; text-decoration: none; color: var(--farbe-link); }
.textlink svg { width: 1.05em; height: 1.05em; transition: transform var(--uebergang); }
.textlink:hover svg { transform: translateX(3px); }
.textlink:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* --- Kopfzeile ------------------------------------------------------------ */
.kopf {
  position: sticky; top: 0; z-index: 50; height: var(--kopf-hoehe);
  background: color-mix(in srgb, var(--farbe-hintergrund) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color var(--uebergang), box-shadow var(--uebergang);
}
.kopf.gescrollt { border-bottom-color: var(--farbe-linie); box-shadow: 0 4px 20px rgba(49, 65, 75, 0.05); }
.kopf-innen { max-width: var(--inhalt-breite); margin-inline: auto; height: 100%;
  padding-inline: clamp(1rem, 0.5rem + 2vw, 2rem); display: flex; align-items: center; gap: 2rem; }
.kopf-logo { display: block; flex: none; padding: 6px 0; border-radius: 6px; }
.kopf-logo img { height: 42px; width: auto; }
.navi { margin-left: auto; }
.navi ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.35rem; }
.navi a:not(.btn) {
  position: relative; display: block; padding: 0.55rem 0.85rem; border-radius: var(--radius-klein);
  color: var(--farbe-text); text-decoration: none; font-weight: 500; transition: color var(--uebergang), background var(--uebergang);
}
.navi a:not(.btn):hover { background: var(--farbe-hintergrund-2); color: var(--farbe-primaer); }
.navi a:not(.btn)[aria-current="page"] { color: var(--farbe-primaer); font-weight: 600; }
.navi a.btn[aria-current="page"] { box-shadow: 0 0 0 3px var(--liroba-mint-25); }
.navi a:not(.btn)[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.2rem; height: 3px;
  border-radius: 3px; background: var(--liroba-mint);
}
.navi li.navi-knopf { margin-left: 0.6rem; }
.menue-knopf {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: var(--radius-klein);
  border: 1px solid var(--farbe-linie); background: var(--farbe-hintergrund); color: var(--farbe-text);
  align-items: center; justify-content: center; cursor: pointer;
}
.menue-knopf svg { width: 22px; height: 22px; }
.menue-knopf .zu { display: none; }
.menue-knopf[aria-expanded="true"] .auf { display: none; }
.menue-knopf[aria-expanded="true"] .zu { display: block; }

@media (max-width: 860px) {
  .menue-knopf { display: inline-flex; }
  .navi {
    position: fixed; inset: var(--kopf-hoehe) 0 auto 0; margin: 0;
    background: var(--farbe-hintergrund); border-bottom: 1px solid var(--farbe-linie);
    box-shadow: 0 20px 40px rgba(49, 65, 75, 0.12);
    padding: 0.75rem clamp(1rem, 0.5rem + 2vw, 2rem) 1.5rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--uebergang), transform var(--uebergang), visibility var(--uebergang);
  }
  .navi.offen { transform: none; opacity: 1; visibility: visible; }
  .navi ul { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .navi a:not(.btn) { padding: 0.85rem 0.75rem; font-size: 1.0625rem; }
  .navi a:not(.btn)[aria-current="page"]::after { left: 0; right: auto; top: 0.8rem; bottom: 0.8rem; width: 3px; height: auto; }
  .navi li.navi-knopf { margin: 0.75rem 0 0; }
  .navi li.navi-knopf .btn { width: 100%; justify-content: center; }
}

/* --- Abschnitte ------------------------------------------------------------ */
.abschnitt { padding-block: var(--abschnitt); }
.abschnitt-zart { background: var(--flaeche-zart); }
.abschnitt-nebel { background: var(--farbe-hintergrund-2); }
.abschnitt-kopf { max-width: 44rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.abschnitt-kopf.mitte { margin-inline: auto; text-align: center; }
.abschnitt-kopf .lead { margin-bottom: 0; }
.abschnitt-kopf-zeile { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem 2rem; flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.abschnitt-kopf-zeile .abschnitt-kopf { margin-bottom: 0; }

.oberzeile {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--farbe-primaer);
}
.oberzeile::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--liroba-mint); }
.abschnitt-kopf.mitte .oberzeile::before { display: none; }

h1, h2, h3 { text-wrap: balance; color: var(--farbe-text); }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; }
.hervor { color: var(--farbe-primaer); }

/* --- Startbereich (Hero) --------------------------------------------------- */
.hero { position: relative; padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(4rem, 3rem + 5vw, 7rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--flaeche-zart);
}
.hero-deko { position: absolute; z-index: -1; border-radius: 50%; background: var(--flaeche-hinweis); }
.hero-deko.eins { width: 520px; height: 520px; right: -140px; top: -200px; opacity: 0.7; }
.hero-deko.zwei { width: 220px; height: 220px; left: -90px; bottom: 22%; opacity: 0.6; }
.hero-raster { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.375rem, 1.5rem + 3.6vw, 4rem); line-height: 1.06; letter-spacing: -0.025em; margin-bottom: 1.4rem; }
.hero .lead { max-width: 33rem; margin-bottom: 2rem; color: var(--farbe-text-2); }
.hero-ort { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem 0.4rem 0.5rem; margin-bottom: 1.6rem;
  background: var(--farbe-hintergrund); border: 1px solid var(--farbe-linie); border-radius: var(--radius-rund);
  font-size: 0.875rem; color: var(--farbe-text-2); box-shadow: var(--schatten-weich); }
.hero-ort .punkt { width: 24px; height: 24px; border-radius: 50%; background: var(--flaeche-hinweis); color: var(--farbe-primaer); display: grid; place-items: center; }
.hero-ort .punkt svg { width: 14px; height: 14px; }
.hero-werte { display: grid; grid-template-columns: repeat(2, max-content); gap: 0.7rem 2rem; margin: 2.25rem 0 0; padding: 0; list-style: none; color: var(--farbe-text-2); font-size: 0.9375rem; }
.hero-werte li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-werte svg { width: 18px; height: 18px; color: var(--farbe-primaer); }

.hero-bild { position: relative; }
.hero-bild .rahmen { border-radius: 28px; overflow: hidden; box-shadow: var(--schatten-hoch); aspect-ratio: 4 / 3.4; }
.hero-bild .rahmen img { width: 100%; height: 100%; object-fit: cover; }
.schwebekarte {
  position: absolute; display: flex; align-items: center; gap: 0.85rem;
  background: var(--flaeche-karte); border: 1px solid var(--farbe-linie); border-radius: 16px;
  padding: 0.85rem 1.1rem; box-shadow: var(--schatten-hoch);
}
.schwebekarte.links { left: -2rem; bottom: 2.2rem; }
.schwebekarte.rechts { right: -1.25rem; top: 2rem; }
.schwebekarte .symbol { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--flaeche-hinweis); }
.schwebekarte .symbol img { width: 30px; height: 30px; }
.schwebekarte .symbol svg { width: 22px; height: 22px; color: var(--farbe-primaer); }
.schwebekarte strong { display: block; font-size: 0.9375rem; line-height: 1.3; }
.schwebekarte strong span { display: inline; font-size: inherit; color: inherit; }
.schwebekarte div > span { display: block; font-size: 0.8125rem; color: var(--farbe-text-2); line-height: 1.35; }
@media (max-width: 960px) {
  .hero-raster { grid-template-columns: 1fr; }
  .hero-bild { max-width: 40rem; }
  .schwebekarte.links { left: 0.75rem; bottom: 0.75rem; }
  .schwebekarte.rechts { right: 0.75rem; top: 0.75rem; }
}
@media (max-width: 480px) { .schwebekarte.rechts { display: none; } }
@media (max-width: 560px) { .hero-werte { grid-template-columns: 1fr; } }

/* --- Seitenkopf für Unterseiten ------------------------------------------- */
.seitenkopf { position: relative; overflow: hidden; background: var(--flaeche-zart); padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.seitenkopf .hero-deko.eins { width: 420px; height: 420px; right: -120px; top: -180px; }
.seitenkopf h1 { font-size: clamp(2.125rem, 1.5rem + 2.8vw, 3.375rem); letter-spacing: -0.02em; line-height: 1.1; max-width: 44rem; }
.seitenkopf .lead { max-width: 40rem; color: var(--farbe-text-2); margin-bottom: 0; }
.brotkrumen { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1.25rem; padding: 0; list-style: none; font-size: 0.875rem; color: var(--farbe-text-2); }
.brotkrumen li + li::before { content: "/"; margin-right: 0.4rem; color: var(--liroba-schiefer-40); }
.brotkrumen a { color: var(--farbe-text-2); text-decoration: none; }
.brotkrumen a:hover { color: var(--farbe-primaer); text-decoration: underline; }

/* --- Raster ----------------------------------------------------------------- */
.raster-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 1rem + 1vw, 2rem); }
.raster-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 1rem + 1vw, 2rem); }
.raster-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 1rem + 1vw, 2rem); }
@media (max-width: 960px) { .raster-3, .raster-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .raster-3, .raster-2, .raster-4 { grid-template-columns: 1fr; } }

/* --- Standbeine ------------------------------------------------------------ */
.standbein {
  display: flex; flex-direction: column; background: var(--flaeche-karte); border: 1px solid var(--farbe-linie);
  border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten-weich);
  transition: transform var(--uebergang), box-shadow var(--uebergang);
}
.standbein:hover { transform: translateY(-4px); box-shadow: var(--schatten-hoch); }
.standbein .bild { aspect-ratio: 4 / 3; overflow: hidden; }
.standbein .bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.standbein:hover .bild img { transform: scale(1.04); }
.standbein .inhalt { padding: 1.6rem 1.6rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.standbein .nummer { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; color: var(--farbe-primaer); margin-bottom: 0.6rem; }
.standbein h3 { font-size: 1.375rem; margin-bottom: 0.6rem; }
.standbein p { color: var(--farbe-text-2); }
.standbein .textlink { margin-top: auto; }

/* --- Projektkarten ---------------------------------------------------------- */
.projekte-raster { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 1rem + 1vw, 2rem); }
.projekte-raster.drei { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .projekte-raster.drei { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .projekte-raster, .projekte-raster.drei { grid-template-columns: 1fr; } }

.projekt {
  position: relative; display: flex; flex-direction: column; background: var(--flaeche-karte);
  border: 1px solid var(--farbe-linie); border-radius: var(--radius-gross); overflow: hidden;
  box-shadow: var(--schatten-weich); transition: transform var(--uebergang), box-shadow var(--uebergang), border-color var(--uebergang);
}
.projekt:hover { transform: translateY(-4px); box-shadow: var(--schatten-hoch); }
.projekt:focus-within { border-color: var(--farbe-primaer); }
.projekt .inhalt { padding: 1.5rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.projekt .zeile { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-bottom: 0.9rem; }
.projekt h3 { font-size: 1.375rem; margin-bottom: 0.15rem; }
.projekt h3 a { color: inherit; text-decoration: none; }
.projekt h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.projekt h3 a:focus-visible { outline: none; }
.projekt h3 a:focus-visible::after { outline: 3px solid var(--farbe-fokus); outline-offset: -3px; }
.projekt .by { font-size: 0.875rem; color: var(--farbe-text-2); margin-bottom: 0.85rem; }
.projekt p.kurz { color: var(--farbe-text-2); margin-bottom: 1.25rem; }
.projekt .weiter { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; color: var(--farbe-link); }
.projekt .weiter svg { width: 1.05em; height: 1.05em; transition: transform var(--uebergang); }
.projekt:hover .weiter svg { transform: translateX(4px); }

/* Titelbild: Foto (bild) oder gestaltete Farbfläche mit Monogramm */
.titelbild { position: relative; aspect-ratio: 16 / 9; overflow: hidden; isolation: isolate; }
.titelbild img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.projekt:hover .titelbild img { transform: scale(1.04); }
.titelbild.flaeche { display: grid; place-items: center; }
.titelbild.flaeche::before, .titelbild.flaeche::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.titelbild.flaeche::before { width: 72%; aspect-ratio: 1; right: -18%; top: -38%; }
.titelbild.flaeche::after { width: 42%; aspect-ratio: 1; left: -10%; bottom: -26%; }
.projekt:hover .titelbild.flaeche::before { transform: translate(-10px, 10px); }
.projekt:hover .titelbild.flaeche::after { transform: translate(8px, -6px); }
.titelbild .monogramm { padding: 0 1.5rem; text-align: center; font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.projekte-raster:not(.drei) .titelbild .monogramm { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.75rem); }
.titelbild .monogramm small { display: block; margin-top: 0.7rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }
.titelbild.gross .monogramm small { font-size: 0.875rem; }
.titelbild.petrol { background: var(--liroba-petrol); color: #fff; }
.titelbild.petrol::before { background: rgba(130, 208, 171, 0.22); }
.titelbild.petrol::after { background: rgba(255, 255, 255, 0.08); }
.titelbild.schiefer { background: var(--liroba-schiefer); color: #fff; }
.titelbild.schiefer::before { background: rgba(130, 208, 171, 0.16); }
.titelbild.schiefer::after { background: rgba(11, 98, 109, 0.55); }
.titelbild.mint { background: var(--liroba-mint); color: var(--liroba-schiefer); }
.titelbild.mint::before { background: rgba(255, 255, 255, 0.35); }
.titelbild.mint::after { background: rgba(11, 98, 109, 0.18); }

.chip {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.75rem; border-radius: var(--radius-rund);
  font-size: 0.8125rem; font-weight: 600; background: var(--chip-hg); color: var(--chip-text); white-space: nowrap;
}
a.chip { text-decoration: none; }
a.chip:hover { background: var(--flaeche-hinweis); color: var(--chip-text); }
.status { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.8125rem; color: var(--farbe-text-2); white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--liroba-schiefer-40); }
.status.live::before { background: #2FA36B; box-shadow: 0 0 0 4px rgba(47, 163, 107, 0.16); }
.status.einsatz::before { background: var(--liroba-petrol); box-shadow: 0 0 0 4px rgba(11, 98, 109, 0.14); }
.status.entwicklung::before { background: #E3A23B; box-shadow: 0 0 0 4px rgba(227, 162, 59, 0.16); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .status.einsatz::before { background: var(--liroba-mint); }
}

/* Filter */
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.25rem; }
.filter button {
  font: 500 0.9375rem var(--schrift); padding: 0.55rem 1.1rem; border-radius: var(--radius-rund); cursor: pointer;
  border: 1px solid var(--farbe-linie); background: var(--flaeche-karte); color: var(--farbe-text);
  transition: background var(--uebergang), color var(--uebergang), border-color var(--uebergang);
}
.filter button:hover { border-color: var(--farbe-primaer); color: var(--farbe-primaer); }
.filter button[aria-pressed="true"] { background: var(--farbe-primaer); border-color: var(--farbe-primaer); color: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .filter button[aria-pressed="true"] { color: var(--liroba-schiefer); }
}
.filter .anzahl { opacity: 0.7; margin-left: 0.25rem; font-size: 0.8125rem; }
.leer { padding: 3rem 1rem; text-align: center; color: var(--farbe-text-2); border: 1px dashed var(--farbe-linie); border-radius: var(--radius-gross); }

/* --- Werte -------------------------------------------------------------- */
.wert { padding: 2rem 1.75rem; border-radius: var(--radius-gross); background: var(--flaeche-karte); border: 1px solid var(--farbe-linie); }
.wert .ikone { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.4rem;
  background: var(--flaeche-hinweis); color: var(--farbe-primaer); }
.wert .ikone svg { width: 26px; height: 26px; }
.wert h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.wert p { color: var(--farbe-text-2); margin: 0; }

/* --- Arbeitsweise --------------------------------------------------------- */
.ablauf-raster { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 2rem + 3vw, 5rem); align-items: center; }
@media (max-width: 960px) { .ablauf-raster { grid-template-columns: 1fr; } }
.ablauf-bild { border-radius: 24px; overflow: hidden; box-shadow: var(--schatten-hoch); aspect-ratio: 4 / 3.6; }
.ablauf-bild img { width: 100%; height: 100%; object-fit: cover; }
.schritte { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.schritte li { position: relative; padding: 0 0 2rem 4.25rem; counter-increment: schritt; }
.schritte li:last-child { padding-bottom: 0; }
.schritte li::before {
  content: counter(schritt, decimal-leading-zero); position: absolute; left: 0; top: -0.15rem;
  width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center;
  font-weight: 600; font-size: 0.9375rem; color: var(--farbe-primaer); background: var(--flaeche-karte);
  border: 2px solid var(--liroba-mint);
}
.schritte li:not(:last-child)::after {
  content: ""; position: absolute; left: calc(1.45rem - 1px); top: 2.9rem; bottom: 0.15rem; width: 2px; background: var(--farbe-linie);
}
.schritte h3 { font-size: 1.1875rem; margin-bottom: 0.3rem; }
.schritte p { color: var(--farbe-text-2); margin: 0; }

/* --- Schweiz / Datenschutz ------------------------------------------------- */
.landschaft { position: relative; border-radius: 28px; overflow: hidden; min-height: 480px; display: flex; align-items: flex-end; isolation: isolate; }
.landschaft > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.landschaft::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(27, 36, 41, 0) 15%, rgba(27, 36, 41, 0.55) 55%, rgba(27, 36, 41, 0.85) 100%); }
.landschaft-inhalt { padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); color: #fff; width: 100%;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem 3rem; align-items: end; }
.landschaft h2 { color: #fff; margin-bottom: 0.6rem; }
.landschaft p { color: rgba(255, 255, 255, 0.88); margin: 0; }
.landschaft .oberzeile { color: var(--liroba-mint); }
.haken-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.haken-liste li { display: flex; gap: 0.7rem; align-items: flex-start; }
.haken-liste svg { width: 22px; height: 22px; flex: none; margin-top: 0.1rem; }
.landschaft .haken-liste li { padding: 0.75rem 1rem; border-radius: 12px; background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.18); }
.landschaft .haken-liste svg { color: var(--liroba-mint); }
@media (max-width: 860px) {
  .landschaft { min-height: 0; padding-top: 14rem; }
  .landschaft-inhalt { grid-template-columns: 1fr; }
}

/* --- Aufruf (CTA) ------------------------------------------------------- */
.aufruf { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: var(--liroba-petrol); color: #fff;
  padding: clamp(2.5rem, 2rem + 4vw, 5rem) clamp(1.5rem, 1rem + 4vw, 5rem);
  display: grid; grid-template-columns: 1.4fr auto; gap: 2rem 3rem; align-items: center; }
.aufruf::before, .aufruf::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.aufruf::before { width: 440px; height: 440px; right: -120px; top: -220px; background: rgba(130, 208, 171, 0.18); }
.aufruf::after { width: 260px; height: 260px; right: 22%; bottom: -190px; background: rgba(255, 255, 255, 0.06); }
.aufruf h2 { color: #fff; font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); margin-bottom: 0.6rem; }
.aufruf p { color: rgba(255, 255, 255, 0.86); margin: 0; font-size: 1.0625rem; max-width: 36rem; }
.aufruf .symbol-weiss { width: 54px; height: 54px; margin-bottom: 1.4rem; }
@media (max-width: 760px) { .aufruf { grid-template-columns: 1fr; } }

/* --- Zahlenleiste ---------------------------------------------------------- */
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.zahl { padding: 1.4rem 1.25rem; border-radius: 16px; background: var(--flaeche-karte); border: 1px solid var(--farbe-linie); }
.zahl strong { display: block; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem); font-weight: 600; letter-spacing: -0.02em; color: var(--farbe-primaer); line-height: 1.1; }
.zahl span { font-size: 0.9375rem; color: var(--farbe-text-2); }
@media (max-width: 760px) { .zahlen { grid-template-columns: repeat(2, 1fr); } }

/* --- Inhaltsseiten (Fliesstext) ------------------------------------------- */
.fliesstext h2 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); margin-top: 2.75rem; }
.fliesstext h2:first-child { margin-top: 0; }
.fliesstext h3 { font-size: 1.125rem; margin-top: 1.75rem; }
.fliesstext ul { padding-left: 1.2rem; margin: 0 0 1em; }
.fliesstext li { margin-bottom: 0.35rem; }
.fliesstext .stand { font-size: 0.875rem; color: var(--farbe-text-2); }
.fliesstext address { font-style: normal; margin-bottom: 1.25em; }

/* --- Über Liroba ---------------------------------------------------------- */
.geteilt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: center; }
.geteilt.umgekehrt > :first-child { order: 2; }
@media (max-width: 900px) { .geteilt { grid-template-columns: 1fr; } .geteilt.umgekehrt > :first-child { order: 0; } }
.foto-rund { border-radius: 24px; overflow: hidden; box-shadow: var(--schatten-hoch); }
.foto-rund img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.marken-baum { display: grid; gap: 1rem; }
.marke-dach { display: flex; align-items: center; gap: 1.25rem; padding: 1.5rem; border-radius: var(--radius-gross);
  background: var(--flaeche-karte); border: 1px solid var(--farbe-linie); box-shadow: var(--schatten-weich); }
.marke-dach img { height: 40px; width: auto; }
.marke-dach span { color: var(--farbe-text-2); font-size: 0.9375rem; }
.marke-kinder { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; padding-left: 2rem; position: relative; }
.marke-kinder::before { content: ""; position: absolute; left: 0.9rem; top: -1rem; bottom: 1.6rem; width: 2px; background: var(--liroba-mint); border-radius: 2px; }
.marke-kind { padding: 1rem 1.1rem; border-radius: 14px; background: var(--flaeche-karte); border: 1px solid var(--farbe-linie); }
.marke-kind strong { display: block; }
.marke-kind span { font-size: 0.8125rem; color: var(--farbe-text-2); }
@media (max-width: 520px) { .marke-kinder { grid-template-columns: 1fr; } }

.zitat { position: relative; margin: 0; padding: 2rem 2rem 2rem 2.25rem; border-radius: var(--radius-gross); background: var(--flaeche-hinweis); border-left: 4px solid var(--liroba-mint); }
.zitat p { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.5; font-weight: 500; margin-bottom: 1rem; }
.zitat footer { font-size: 0.9375rem; color: var(--farbe-text-2); }

/* --- Projekt-Detailseite --------------------------------------------------- */
.detail-kopf .chips { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 1.25rem; }
.detail-kopf .by { font-size: 1.0625rem; color: var(--farbe-text-2); margin: -0.25rem 0 1.25rem; }
.detail-raster { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .detail-raster { grid-template-columns: 1fr; } }
.seitenkopf.mit-bild { padding-bottom: calc(clamp(3rem, 2rem + 4vw, 5.5rem) + 5rem); }
.detail-abschnitt { padding-top: 0; }
.detail-titelbild { position: relative; border-radius: var(--radius-gross); overflow: hidden; box-shadow: var(--schatten-hoch); margin-top: -5rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.detail-titelbild .titelbild { aspect-ratio: 21 / 9; }
.detail-titelbild .titelbild .monogramm { font-size: clamp(3rem, 2rem + 4vw, 5.5rem); }
.fakten { position: sticky; top: calc(var(--kopf-hoehe) + 1.5rem); padding: 1.6rem; border-radius: var(--radius-gross);
  background: var(--flaeche-karte); border: 1px solid var(--farbe-linie); box-shadow: var(--schatten-weich); }
.fakten h2 { font-size: 1.0625rem; margin-bottom: 1rem; }
.fakten dl { margin: 0 0 1.5rem; display: grid; gap: 0.9rem; }
.fakten dt { font-size: 0.8125rem; color: var(--farbe-text-2); margin-bottom: 0.1rem; }
.fakten dd { margin: 0; font-weight: 500; }
.fakten .btn { width: 100%; justify-content: center; }
.fakten .btn + .btn { margin-top: 0.6rem; }
.funktionen { list-style: none; padding: 0; margin: 0 0 1em; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.funktionen li { display: flex; gap: 0.7rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 14px; background: var(--farbe-hintergrund-2); }
.funktionen svg { width: 20px; height: 20px; flex: none; margin-top: 0.15rem; color: var(--farbe-primaer); }
@media (max-width: 600px) { .funktionen { grid-template-columns: 1fr; } }
.weitere { margin-top: var(--abschnitt); }

/* --- Kontakt ------------------------------------------------------------- */
.kontakt-raster { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: start; }
@media (max-width: 900px) { .kontakt-raster { grid-template-columns: 1fr; } }
.kontaktwege { display: grid; gap: 1rem; }
.kontaktweg { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border-radius: 16px; background: var(--flaeche-karte); border: 1px solid var(--farbe-linie); }
.kontaktweg .ikone { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--flaeche-hinweis); color: var(--farbe-primaer); }
.kontaktweg .ikone svg { width: 22px; height: 22px; }
.kontaktweg strong { display: block; margin-bottom: 0.15rem; }
.kontaktweg a { font-weight: 500; }
.kontaktweg p { margin: 0; color: var(--farbe-text-2); }
.formular { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-gross); background: var(--flaeche-karte); border: 1px solid var(--farbe-linie); box-shadow: var(--schatten-weich); }
.formular h2 { font-size: 1.5rem; }
.feld { display: grid; gap: 0.4rem; margin-bottom: 1.15rem; }
.feld label { font-weight: 600; font-size: 0.9375rem; }
.feld .hilfe { font-size: 0.8125rem; color: var(--farbe-text-2); font-weight: 400; }
.feld input, .feld select, .feld textarea { width: 100%; padding: 0.8em 0.95em; transition: border-color var(--uebergang), box-shadow var(--uebergang); }
.feld textarea { min-height: 9rem; resize: vertical; }
.feld-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .feld-paar { grid-template-columns: 1fr; } }
.einwilligung { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.875rem; color: var(--farbe-text-2); margin-bottom: 1.5rem; }
.einwilligung input { width: 20px; height: 20px; margin-top: 0.1rem; accent-color: var(--liroba-petrol); flex: none; padding: 0; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: 1rem 1.2rem; border-radius: var(--radius-klein); margin-bottom: 1.5rem; display: none; }
.meldung.sichtbar { display: block; }
.meldung.ok { background: var(--liroba-mint-25); border-left: 4px solid var(--liroba-mint); color: var(--liroba-schiefer); }
.meldung.fehler { background: #FBEDEA; border-left: 4px solid #C8553D; color: #6B2416; }

/* --- Fusszeile ------------------------------------------------------------ */
.fuss { background: var(--flaeche-dunkel); color: rgba(255, 255, 255, 0.78); padding-block: clamp(3.5rem, 3rem + 3vw, 5.5rem) 2rem; font-size: 0.9375rem; }
.fuss a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.fuss-raster { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; }
.fuss-logo img { height: 40px; width: auto; margin-bottom: 1.25rem; }
.fuss-claim { font-size: 1.0625rem; color: #fff; margin-bottom: 0.4rem; font-weight: 500; }
.fuss h2 { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--liroba-mint); margin-bottom: 1rem; font-weight: 600; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.fuss address { font-style: normal; line-height: 1.7; }
.fuss-unten { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
.fuss-unten ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
@media (max-width: 900px) { .fuss-raster { grid-template-columns: 1fr 1fr; } .fuss-raster > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .fuss-raster { grid-template-columns: 1fr; } }

/* --- 404 ----------------------------------------------------------------- */
.nicht-gefunden { text-align: center; padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.nicht-gefunden img { width: 96px; height: 96px; margin: 0 auto 2rem; }
.nicht-gefunden .code { font-size: 0.875rem; letter-spacing: 0.14em; font-weight: 600; color: var(--farbe-primaer); }

/* --- Einblenden beim Scrollen (nur mit JavaScript, ohne Bewegung bei reduce) -- */
.js .einblenden { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .einblenden.sichtbar { opacity: 1; transform: none; }
.js .einblenden.v1 { transition-delay: 80ms; } .js .einblenden.v2 { transition-delay: 160ms; } .js .einblenden.v3 { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .js .einblenden { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* --- Druck ---------------------------------------------------------------- */
@media print {
  .kopf, .fuss, .aufruf, .menue-knopf, .filter { display: none !important; }
  .abschnitt { padding-block: 1.5rem; }
  body { color: #000; }
}
