/* Gemeinsame Grundlage für alle Unterseiten: Farben, Schrift, Glas, Menü, Leiste, Fuß */
:root {
  --gruen: #abcea6; --hell: #f1f0ec; --leise: #a3b1ae; --dunkel: #162224; --linie: rgba(255, 255, 255, .16);
  --schrift: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  --rand: clamp(16px, 4.4vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: #0d1617; color: var(--hell); font-family: var(--schrift); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; }

.glas {
  background: linear-gradient(180deg, rgba(255, 255, 255, .17), rgba(255, 255, 255, .07));
  -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .34), 0 18px 50px -18px rgba(0, 0, 0, .55);
}
@media (prefers-reduced-transparency: reduce) { .glas { background: #2a3a3b; -webkit-backdrop-filter: none; backdrop-filter: none; } }

.grund { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.grund canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
main, .fuss { position: relative; z-index: 1; }

/* Menü: Glaskapsel, am Handy mit Knopf und Glasblatt */
.kapsel { position: fixed; z-index: 30; top: 16px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; height: 50px; padding: 0 6px 0 20px; border-radius: 999px; white-space: nowrap; }
.kapsel .marke { font-size: 16.5px; font-weight: 650; letter-spacing: -.02em; margin-right: 12px; }
.kapsel ul { display: flex; }
.kapsel li a { display: block; padding: 9px 12px; border-radius: 999px; font-size: 14.5px; color: rgba(241, 240, 236, .86); }
.kapsel li a:hover, .kapsel li a[aria-current] { background: rgba(255, 255, 255, .12); color: #fff; }
.kapsel a.ruf { margin-left: 8px; height: 38px; padding: 0 16px; display: inline-flex; align-items: center; border-radius: 999px; background: var(--hell); color: var(--dunkel); font-size: 14.5px; font-weight: 600; }
.auf { display: none; height: 38px; padding: 0 16px 0 14px; align-items: center; gap: 9px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: 14.5px; font-weight: 600; }
.auf i { width: 15px; height: 8px; border-block: 2px solid currentColor; }
.blatt { position: fixed; z-index: 40; top: 12px; left: 12px; right: 12px; border-radius: 28px; padding: 12px; display: none; }
.blatt.offen { display: block; }
.blatt-kopf { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 8px 12px; font-size: 16.5px; font-weight: 650; letter-spacing: -.02em; }
.zu { width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); font-size: 20px; line-height: 1; }
.blatt li a { display: block; padding: 12px; border-radius: 16px; font-size: 25px; letter-spacing: -.03em; font-weight: 600; }
.blatt .knopf { margin-top: 8px; width: 100%; }

.knopf { height: 52px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--gruen); color: var(--dunkel); font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.zweit { font-size: 16.5px; color: var(--gruen); }
.zweit::after { content: " ›"; }

/* Bausteine */
.teil { padding: clamp(48px, 6.5vw, 104px) var(--rand); }
.breite { max-width: 1180px; margin-inline: auto; }
.schmal { max-width: 800px; margin-inline: auto; }
h1 { font-size: clamp(36px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -.045em; font-weight: 650; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.8vw, 52px); line-height: 1.06; letter-spacing: -.04em; font-weight: 650; text-wrap: balance; }
.dazu { margin-top: 18px; max-width: 32em; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; letter-spacing: -.01em; color: var(--leise); }
.pfad { display: flex; gap: 8px; font-size: 14.5px; color: var(--leise); }
.pfad a:hover { color: #fff; }
.pfad span::before { content: "›"; margin-right: 8px; }

.schluss { text-align: center; }
.schluss h2, .schluss .dazu { margin-inline: auto; }
.schluss .knopf { margin-top: 28px; }

.fuss { border-top: 1px solid var(--linie); margin-top: 20px; padding: 40px var(--rand) 44px; display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 30px; font-size: 15px; color: var(--leise); }
.fuss b { display: block; margin-bottom: 12px; font-size: 15px; font-weight: 600; color: var(--hell); }
.fuss li + li { margin-top: 8px; }
.fuss a:hover { color: #fff; }
.fuss .klein { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--linie); font-size: 13.5px; display: flex; flex-wrap: wrap; gap: 6px 24px; }

@media (max-width: 900px) {
  .kapsel { left: 12px; right: 12px; transform: none; justify-content: space-between; }
  .kapsel ul, .kapsel a.ruf { display: none; }
  .auf { display: inline-flex; }
  .fuss { grid-template-columns: 1fr 1fr; }
}

/* Erscheinen beim Scrollen: Elemente mit der Klasse "erscheint" blenden weich ein, sobald sie ins Bild kommen.
   Ohne Skript und bei "Bewegung reduzieren" sind sie einfach da. */
.bewegt .erscheint { opacity: 0; transform: translateY(28px) scale(.985); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.bewegt .erscheint.da { opacity: 1; transform: none; }

/* ===== Bausteine der Seiten ===== */
.kopfteil { padding: clamp(120px, 16vh, 172px) var(--rand) clamp(20px, 3vw, 40px); }
.kopfteil h1 { margin-top: 16px; max-width: 14em; }
.mittig { text-align: center; }
.mittig h1, .mittig h2, .mittig .dazu { margin-inline: auto; }
.wege { margin-top: clamp(24px, 2.6vw, 36px); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.mittig .wege { justify-content: center; }
.kleinzeile { margin-top: 16px; font-size: 14px; color: rgba(163, 177, 174, .85); }

/* Startseite: großes Bild mit schwebenden Glaskarten */
.schau { position: relative; max-width: 1180px; margin: clamp(40px, 5vw, 70px) auto 0; }
.schau .fenster { border-radius: clamp(18px, 2.4vw, 34px); overflow: hidden; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }
.schau .fenster img { width: 100%; }
.karte { position: absolute; text-align: left; border-radius: 26px; padding: 18px 20px; }
.karte-b { left: -42px; bottom: 36%; width: 300px; }
.karte-m { right: -34px; top: 13%; width: 276px; }
.karte .oben { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.karte .oben i { font-style: normal; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.karte strong { display: block; margin-top: 10px; font-size: 19px; letter-spacing: -.02em; font-weight: 600; color: #fff; }
.karte p { margin-top: 3px; font-size: 14.5px; line-height: 1.35; color: rgba(255, 255, 255, .86); }
.unterbild { margin-top: 20px; text-align: center; font-size: 14.5px; color: var(--leise); }

/* Zwei Karten nebeneinander (Projekte, Artikel) */
.paar { margin-top: clamp(28px, 3.6vw, 50px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 26px); align-items: start; }
.paar.drei { grid-template-columns: repeat(3, 1fr); }
.betrieb { display: block; border-radius: 28px; padding: 10px 10px 24px; }
.betrieb figure { border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9.4; }
.betrieb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.betrieb .zoom img { transform: scale(1.09); transform-origin: center top; }
.betrieb .in { padding: 20px 14px 0; }
.betrieb h3 { font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -.03em; font-weight: 600; color: #fff; }
.betrieb p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, .84); }
.mass { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--linie); display: flex; align-items: baseline; gap: 14px; }
.mass b { font-size: clamp(32px, 3.4vw, 46px); letter-spacing: -.045em; font-weight: 650; color: var(--gruen); font-variant-numeric: tabular-nums; }
.mass span { font-size: 14.5px; line-height: 1.35; color: rgba(255, 255, 255, .8); }
.betrieb .zweit { display: inline-block; margin-top: 16px; }
.quelle { margin-top: 14px; font-size: 13px; color: var(--leise); }

/* Zeilen mit Linien */
.zeilen { margin-top: clamp(28px, 3.6vw, 50px); border-top: 1px solid var(--linie); }
.zeilen > li { border-bottom: 1px solid var(--linie); }
.zeilen > li > a, .zeilen > li > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 10px 40px; align-items: baseline; padding: clamp(20px, 2.6vw, 32px) 0; }
.zeilen h3 { font-size: clamp(23px, 2.7vw, 38px); letter-spacing: -.035em; font-weight: 600; line-height: 1.1; }
.zeilen p { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; color: var(--leise); max-width: 32em; }
.zeilen a:hover h3 { color: var(--gruen); }
.zeilen a h3::after { content: " ›"; color: var(--gruen); }

/* Ablauf in Glas */
.ablauf { margin-top: clamp(28px, 3.6vw, 50px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: clamp(20px, 2.4vw, 32px); counter-reset: a; }
.ablauf li { padding: clamp(20px, 2.4vw, 32px); counter-increment: a; }
.ablauf li + li { border-left: 1px solid var(--linie); }
.ablauf li::before { content: counter(a); display: block; font-size: clamp(38px, 4.2vw, 58px); line-height: 1; letter-spacing: -.05em; font-weight: 600; color: var(--gruen); }
.ablauf h3 { margin-top: 16px; font-size: 19px; letter-spacing: -.02em; font-weight: 600; color: #fff; }
.ablauf p { margin-top: 8px; font-size: 15.5px; line-height: 1.45; color: rgba(255, 255, 255, .84); }
.nach { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; }
.nach p { font-size: 16px; line-height: 1.45; color: var(--leise); max-width: 34em; }

/* Zwei Spalten */
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.zwei.oben { align-items: start; }
.leute { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.leute figure { border-radius: clamp(18px, 2.2vw, 30px); padding: 18px 12px 0; display: flex; flex-direction: column; overflow: hidden; }
.leute figcaption { order: -1; padding: 4px 8px 12px; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .84); }
.leute figcaption b { display: block; font-size: 19px; letter-spacing: -.02em; font-weight: 600; color: #fff; }
.leute img { margin-top: auto; width: 100%; }
.leute figure:first-child img { transform: scale(1.18); transform-origin: center bottom; }

/* Glasflächen im Raster */
.flaechen { margin-top: clamp(26px, 3.4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.flaechen li { border-radius: 22px; padding: 20px 22px; font-size: 15.5px; line-height: 1.45; color: rgba(255, 255, 255, .84); }
.flaechen b { display: block; margin-bottom: 4px; font-size: 18px; letter-spacing: -.02em; font-weight: 600; color: #fff; }

/* Fragen */
.fragen { margin-top: clamp(24px, 3.2vw, 40px); border-top: 1px solid var(--linie); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -.02em; font-weight: 600; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M15 9.5v11M9.5 15h11' stroke='%23f1f0ec' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / contain; transition: transform .25s; }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details p { padding: 0 50px 24px 0; font-size: 17px; line-height: 1.55; color: var(--leise); max-width: 40em; }

/* Formular */
.formular { border-radius: clamp(22px, 2.4vw, 32px); padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 12px; text-align: left; }
.formular label { display: grid; gap: 7px; font-size: 14px; color: rgba(255, 255, 255, .86); }
.formular input, .formular textarea { padding: 0 18px; height: 54px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(13, 22, 23, .45); color: #fff; font: inherit; font-size: 17px; }
.formular textarea { height: 120px; padding-block: 14px; resize: vertical; }
.formular input::placeholder, .formular textarea::placeholder { color: rgba(255, 255, 255, .45); }
.formular .knopf { margin-top: 6px; height: 56px; }
.meldung { min-height: 1.4em; font-size: 14.5px; line-height: 1.4; color: var(--gruen); }
.wegeliste { margin-top: 26px; border-top: 1px solid var(--linie); }
.wegeliste li { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--linie); font-size: 17px; }
.wegeliste span { color: var(--leise); }
.wegeliste a { color: var(--gruen); }

/* Lesetext: Artikel und Rechtliches */
.lese { max-width: 720px; margin-inline: auto; }
.lese .vorspann { font-size: clamp(20px, 2.1vw, 27px); line-height: 1.35; letter-spacing: -.02em; font-weight: 500; color: var(--hell); }
.lese h2 { margin-top: clamp(36px, 4.4vw, 60px); font-size: clamp(24px, 2.6vw, 34px); }
.lese h3 { margin-top: 28px; font-size: 20px; letter-spacing: -.02em; font-weight: 600; }
.lese p, .lese li { margin-top: 14px; font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.62; color: #c3ceca; }
.lese ul { margin-top: 6px; }
.lese ul li { padding-left: 22px; position: relative; }
.lese ul li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--gruen); }
.lese a { color: var(--gruen); text-decoration: underline; text-underline-offset: 4px; }
.lese strong { color: var(--hell); font-weight: 600; }
.lese table { margin-top: 20px; width: 100%; border-collapse: collapse; font-size: 16.5px; }
.lese th, .lese td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--linie); color: #c3ceca; vertical-align: top; }
.lese th { color: var(--hell); font-weight: 600; }
.offen { margin-top: 18px; border: 1px dashed rgba(255, 255, 255, .34); border-radius: 16px; padding: 14px 16px; font-size: 15px; line-height: 1.45; color: var(--leise); }
.datum { font-size: 14.5px; color: var(--leise); }

@media (max-width: 1300px) { .karte-b { left: 14px; } .karte-m { right: 14px; } }
@media (max-width: 900px) {
  .paar, .paar.drei, .zwei, .flaechen { grid-template-columns: 1fr; }
  .zeilen > li > a, .zeilen > li > div { grid-template-columns: 1fr; }
  .ablauf { grid-template-columns: 1fr; }
  .ablauf li + li { border-left: 0; border-top: 1px solid var(--linie); }
  .ablauf li { display: grid; grid-template-columns: 54px 1fr; column-gap: 8px; }
  .ablauf li::before { grid-row: 1 / 3; font-size: 40px; }
  .ablauf h3 { margin-top: 4px; }
  .wege .knopf, .nach .knopf { width: 100%; }
  .wege .zweit { margin-inline: auto; }
  .schau .fenster { aspect-ratio: 1 / 1.08; }
  .schau .fenster img { height: 100%; object-fit: cover; object-position: 58% top; }
  .karte { border-radius: 20px; padding: 14px 16px; }
  .karte-b { left: 10px; right: 10px; bottom: 10px; width: auto; }
  .karte-m { display: none; }
  .fragen details p { padding-right: 0; }
  .mass { flex-direction: column; gap: 4px; }
}
