/* Variante G – Nordlicht: dunkel, die Seite lässt sich mit einem Satz steuern */
:root {
  --nacht: #060f20;
  --nacht-2: #0b1a33;
  --glas: rgba(255, 255, 255, .045);
  --linie: rgba(255, 255, 255, .14);
  --text: #eef3fa;
  --leise: #9fb1cb;
  --eis: #6fd6e8;
  --rand: clamp(1.25rem, 6vw, 7rem);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--nacht); color: var(--text); font-family: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif; font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--eis); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: #fff; color: #000; padding: .5rem 1rem; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

h1 { font-weight: 300; font-size: clamp(3rem, 7.5vw, 6.5rem); line-height: 1; letter-spacing: -.03em; margin: 0 0 1.5rem; text-shadow: 0 2px 30px rgba(6, 15, 32, .5); }
h2 { font-weight: 400; font-size: clamp(1.9rem, 3.8vw, 3.2rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 3rem; max-width: 19em; }
h3 { margin: 0; font-weight: 500; }
.marker { text-transform: uppercase; letter-spacing: .3em; font-size: .76rem; color: var(--eis); margin: 0 0 1.75rem; }

/* Seitenkopf */
.hero { position: relative; min-height: min(100svh, 75rem); display: flex; flex-direction: column; overflow: hidden; }
.hero-bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: atmen 28s ease-in-out infinite alternate; }
.hero-schleier { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 15, 32, .7) 0%, rgba(6, 15, 32, .45) 38%, rgba(6, 15, 32, 0) 70%), linear-gradient(180deg, rgba(6, 15, 32, .55) 0%, rgba(6, 15, 32, .1) 45%, rgba(6, 15, 32, .2) 78%, var(--nacht) 100%); }
.kopf { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1.75rem var(--rand) 0; }
.kopf a { text-decoration: none; }
.kopf nav { display: flex; flex-wrap: wrap; gap: .4rem 2rem; font-size: .95rem; letter-spacing: .04em; }
.kopf nav a { opacity: .88; padding: .4rem 0; }
.kopf nav a:hover { opacity: 1; color: var(--eis); }
.marke { display: flex; align-items: center; gap: .8rem; }
.marke svg { width: 1.1rem; fill: var(--eis); filter: drop-shadow(0 0 8px rgba(111, 214, 232, .8)); animation: funkeln 4s ease-in-out infinite; }
.marke span { text-transform: uppercase; letter-spacing: .4em; font-weight: 600; font-size: 1.05rem; }

.hero-text { position: relative; padding: clamp(2.5rem, 10vh, 7rem) var(--rand) 5rem; max-width: 60rem; }
.unter { font-size: clamp(1.15rem, 1.8vw, 1.45rem); max-width: 26em; margin: 0; text-shadow: 0 1px 16px rgba(6, 15, 32, .6); }

/* Die Zeile, in die man hineinspricht */
.leiste { display: flex; align-items: center; gap: .9rem; max-width: 40rem; padding: .5rem .5rem .5rem 1.3rem; border-radius: 999px; background: rgba(6, 15, 32, .55); border: 1px solid rgba(111, 214, 232, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 0 rgba(111, 214, 232, .35); animation: hof 3.5s ease-out infinite; }
.leiste:focus-within { border-color: var(--eis); animation: none; box-shadow: 0 0 0 4px rgba(111, 214, 232, .18); }
.leiste > svg { width: .85rem; flex: none; fill: var(--eis); }
.leiste input { flex: 1; min-width: 0; font: inherit; font-size: 1.05rem; color: #fff; background: none; border: 0; padding: .7rem 0; }
.leiste input:focus-visible { outline: none; }
.leiste input::placeholder { color: #b7c5d9; }
.leiste button { flex: none; width: 2.8rem; height: 2.8rem; border-radius: 50%; border: 0; background: var(--eis); cursor: pointer; display: grid; place-items: center; }
.leiste button:hover { background: #fff; }
.leiste button svg { width: 1.2rem; fill: none; stroke: #06101f; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.vorschlaege { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; max-width: 46rem; }
.vorschlaege button { font: inherit; font-size: .9rem; color: var(--text); background: rgba(6, 15, 32, .45); border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: .4rem .95rem; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.vorschlaege button:hover { border-color: var(--eis); color: var(--eis); }
.echo { min-height: 1.6em; margin: 1.25rem 0 0; font-size: 1.15rem; color: var(--eis); text-shadow: 0 1px 12px rgba(6, 15, 32, .8); }
.ehrlich { margin: .75rem 0 0; font-size: .85rem; color: #c3cfe0; max-width: 34rem; text-shadow: 0 1px 10px rgba(6, 15, 32, .8); }

/* Abschnitte */
.abschnitt { padding: clamp(5rem, 12vw, 9.5rem) var(--rand); border-top: 1px solid var(--linie); }
.hero + main .abschnitt:first-child { border-top: 0; }
.abschnitt p { color: var(--leise); }
.abschnitt .marker { color: var(--eis); }

/* Gedanke mit Schaubild */
.gedanke { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 5rem; align-items: center; }
.gedanke h2 { margin-bottom: 2rem; }
.gedanke-text p:not(.marker) { font-size: 1.2rem; max-width: 30rem; margin: 0 0 1.25rem; }
.kreis { margin: 0; }
.kreis svg { display: block; width: 100%; max-width: 32rem; margin: 0 auto; overflow: visible; }
.kreis figcaption { text-align: center; font-size: .88rem; color: var(--leise); margin-top: 1rem; }
.ring { fill: none; stroke: rgba(255, 255, 255, .12); }
.ring.dreh { stroke: rgba(111, 214, 232, .5); stroke-width: 2; stroke-linecap: round; transform-origin: center; transform-box: fill-box; animation: drehen 90s linear infinite; }
.speichen path { fill: none; stroke: var(--eis); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 10 90; animation: senden 3.2s linear infinite; opacity: .9; }
.speichen path:nth-child(2) { animation-delay: -.5s; } .speichen path:nth-child(3) { animation-delay: -1.6s; }
.speichen path:nth-child(4) { animation-delay: -2.3s; } .speichen path:nth-child(5) { animation-delay: -1.1s; }
.speichen path:nth-child(6) { animation-delay: -2.8s; }
.bahnen path { fill: none; stroke: rgba(255, 255, 255, .1); }
.knoten circle { fill: #0f2140; stroke: rgba(255, 255, 255, .22); }
.knoten text { fill: var(--text); font-size: 12.5px; text-anchor: middle; letter-spacing: .02em; }
.kern { fill: #0f2140; stroke: var(--eis); stroke-width: 1.5; }
.hof { fill: rgba(111, 214, 232, .14); transform-origin: center; transform-box: fill-box; animation: pulsen 3.2s ease-in-out infinite; }
.stern { fill: var(--eis); }

/* Glaskarten mit Skizzen */
.glas { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.25rem; }
.glas article { background: var(--glas); border: 1px solid var(--linie); border-radius: 18px; padding: 1.5rem 1.6rem 1.8rem; transition: border-color .25s, transform .25s; }
.glas article:hover { border-color: rgba(111, 214, 232, .6); transform: translateY(-4px); }
.glas-titel { margin: 0 0 1rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--leise); }
.glas svg { display: block; width: 100%; height: auto; margin-bottom: 1.5rem; }
.glas h3 { font-size: 1.35rem; line-height: 1.25; }
.glas article > p:last-child { margin: .5rem 0 0; font-size: 1rem; }
.netz { fill: none; stroke: rgba(255, 255, 255, .08); }
.linie { fill: none; stroke: #c8d4e6; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.linie.eis { stroke: var(--eis); filter: drop-shadow(0 0 6px rgba(111, 214, 232, .7)); }
.flaeche-u { fill: rgba(200, 212, 230, .08); }
.punkt { fill: #fff; }
.jetzt { stroke: rgba(255, 255, 255, .3); stroke-dasharray: 3 4; }
.glas text { fill: var(--leise); font-size: 11px; }
.spur { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 10; }
.bogen { fill: none; stroke: var(--eis); stroke-width: 10; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(111, 214, 232, .6)); }
.glas text.gross-zahl { fill: var(--text); font-size: 26px; font-weight: 300; }
.ticker { list-style: none; margin: 0 0 1.5rem; padding: 0; font-size: .93rem; min-height: 9.4rem; }
.ticker li { display: flex; gap: 1rem; padding: .42rem 0; border-top: 1px solid rgba(255, 255, 255, .08); color: #c8d4e6; }
.ticker li:first-child { border-top: 0; }
.ticker span { flex: none; width: 2.8rem; color: var(--leise); font-variant-numeric: tabular-nums; }
.ticker .offen, .ticker .offen span { color: var(--eis); }
.fussnote { margin: 1.75rem 0 0; font-size: .92rem; }

.an .a-zieh { stroke-dasharray: 1; stroke-dashoffset: 1; animation: ziehen 1.5s .2s ease-out forwards; }
.an .a-zieh.spaet { animation-delay: 1.6s; }
.an .a-auf { animation: auftauchen 1s .6s both; }
.an .a-ring { animation: ringen 1.4s cubic-bezier(.2, .7, .2, 1) both; }
.an .ticker li { animation: herein .5s both; }
.an .ticker li:nth-child(2) { animation-delay: .35s; } .an .ticker li:nth-child(3) { animation-delay: .7s; }
.an .ticker li:nth-child(4) { animation-delay: 1.05s; } .an .ticker li:nth-child(5) { animation-delay: 1.6s; }

/* Der Weg: die Linie füllt sich beim Blättern */
.zeit { --voll: 0; list-style: none; margin: 0; padding: 0; max-width: 48rem; position: relative; }
.zeit::before { content: ""; position: absolute; left: 0; top: .4rem; bottom: 0; width: 1px; background: var(--linie); }
.zeit::after { content: ""; position: absolute; left: -1px; top: .4rem; bottom: 0; width: 3px; border-radius: 3px; background: var(--eis); box-shadow: 0 0 12px rgba(111, 214, 232, .8); transform-origin: top; transform: scaleY(var(--voll)); }
.zeit li { position: relative; padding: 0 0 3.5rem 2.75rem; opacity: .45; transition: opacity .5s; }
.zeit li:last-child { padding-bottom: 0; }
.zeit li.erreicht { opacity: 1; }
.zeit li::before { content: ""; position: absolute; left: -.42rem; top: .3rem; width: .85rem; height: .85rem; border-radius: 50%; background: var(--nacht); border: 1.5px solid var(--leise); z-index: 1; transition: background .4s, border-color .4s, box-shadow .4s; }
.zeit li.erreicht::before { background: var(--eis); border-color: var(--eis); box-shadow: 0 0 0 6px rgba(111, 214, 232, .16); }
.stufe { margin: 0 0 .6rem; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--eis) !important; }
.zeit h3 { font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; letter-spacing: -.01em; }
.zeit li > p:last-child { margin: .7rem 0 0; max-width: 36rem; }

/* Abläufe */
.schritte { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem 3rem; }
.schritte li { counter-increment: s; border-top: 1px solid var(--eis); padding-top: 1.1rem; }
.schritte li::before { content: counter(s, decimal-leading-zero); color: var(--eis); font-size: .85rem; letter-spacing: .2em; }
.schritte h3 { font-size: 1.5rem; margin-top: .5rem; }
.schritte p { margin: .4rem 0 0; font-size: 1.02rem; }

/* Anwendungen */
.produkt { display: grid; grid-template-columns: minmax(12rem, 1fr) 2.4fr; gap: 1.5rem 4rem; padding: 2.75rem 0; border-top: 1px solid var(--linie); }
.produkt:last-child { border-bottom: 1px solid var(--linie); }
.produkt h3 { font-size: 1.6rem; }
.stand { margin: .5rem 0 0; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--eis) !important; }
.produkt-text { max-width: 40rem; }
.produkt-text p { margin: 0; }
.produkt-text .gross { color: var(--text); font-size: 1.45rem; line-height: 1.3; margin-bottom: .9rem; }
.produkt-text a { color: var(--eis); text-underline-offset: .25em; }

.schmal h2 { max-width: 16em; }
.schmal p:not(.marker) { max-width: 38rem; font-size: 1.2rem; margin: 0 0 1.4rem; }

/* Fuß im Wasser */
.fuss { background: linear-gradient(180deg, var(--nacht) 0%, rgba(6, 15, 32, .5) 60%, rgba(6, 15, 32, .7) 100%), url("bilder/wasser-2000.webp") center bottom / cover no-repeat, var(--nacht); padding: clamp(5rem, 12vw, 9rem) var(--rand) 2.5rem; border-top: 1px solid var(--linie); }
.fuss h2 { margin-bottom: 2rem; }
.kontakt-wege { display: flex; flex-wrap: wrap; gap: 1rem 3.5rem; margin: 0 0 clamp(5rem, 12vw, 9rem); }
.kontakt-wege a { font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 300; text-decoration: none; border-bottom: 1px solid var(--eis); padding-bottom: .15rem; }
.kontakt-wege a:hover { color: var(--eis); }
.fuss-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; font-size: .88rem; color: #c3cfe0; }
.fuss-zeile a { margin-left: 1.5rem; }
.fuss-zeile a:first-child { margin-left: 0; }
.fuss-zeile a:hover { color: #fff; }

/* Rechtstexte */
.recht-kopf { padding: 2rem var(--rand); border-bottom: 1px solid var(--linie); }
.recht-kopf a { text-decoration: none; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; font-size: .95rem; }
.recht { padding: 4rem var(--rand) 6rem; max-width: calc(52rem + 2 * var(--rand)); }
.recht h1 { text-shadow: none; font-size: clamp(2.2rem, 4vw, 3.2rem); }
.recht h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: 0; margin: 2.5rem 0 .6rem; }
.recht p, .recht li { color: var(--leise); }
.recht a { color: var(--eis); }
.entwurf { border: 1px solid var(--eis); padding: 1rem 1.25rem; border-radius: 6px; color: var(--text) !important; }
.recht-fuss { padding: 2rem var(--rand); border-top: 1px solid var(--linie); font-size: .95rem; display: flex; gap: 2rem; }

@keyframes atmen { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes funkeln { 0%, 100% { opacity: .7; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes hof { 0% { box-shadow: 0 0 0 0 rgba(111, 214, 232, .35); } 70%, 100% { box-shadow: 0 0 0 16px rgba(111, 214, 232, 0); } }
@keyframes drehen { to { transform: rotate(360deg); } }
@keyframes senden { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes pulsen { 0%, 100% { transform: scale(.9); opacity: .6; } 50% { transform: scale(1.25); opacity: 1; } }
@keyframes ziehen { to { stroke-dashoffset: 0; } }
@keyframes auftauchen { from { opacity: 0; } }
@keyframes ringen { from { stroke-dasharray: 0 100; } }
@keyframes herein { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 860px) {
  .gedanke { grid-template-columns: 1fr; }
  .produkt { grid-template-columns: 1fr; padding: 2.25rem 0; }
}
@media (max-width: 700px) {
  .kopf { justify-content: center; padding-top: 1.5rem; }
  .kopf nav { gap: .2rem 1.2rem; font-size: .85rem; justify-content: center; }
  .hero-bild { object-position: 50% 70%; }
  .hero-text { padding-top: 2.25rem; }
  .hero-schleier { background: linear-gradient(180deg, rgba(6, 15, 32, .72) 0%, rgba(6, 15, 32, .6) 50%, rgba(6, 15, 32, .1) 72%, var(--nacht) 100%); }
  .leiste input { font-size: 1rem; }
  .knoten text { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .speichen path { stroke-dasharray: none; opacity: .35; }
  .zeit li { opacity: 1; }
}

/* Auf Zuruf: helle Seite, größere Schrift, Bewegung aus */
body, .leiste, .vorschlaege button, .glas article, .hero-schleier { transition: background-color .6s, color .6s, border-color .6s; }
.hero-bild.tag { opacity: 0; transition: opacity .9s; }
.hell .hero-bild.tag { opacity: 1; }
html.gross { font-size: 118%; }
html.still *, html.still *::before, html.still *::after { animation: none !important; }
html.still .speichen path { stroke-dasharray: none; opacity: .35; }

html.hell {
  --nacht: #f3f6fa;
  --nacht-2: #e4ebf4;
  --glas: rgba(11, 26, 51, .035);
  --linie: rgba(11, 26, 51, .16);
  --text: #0b1a33;
  --leise: #47597a;
  --eis: #0a7388;
}
.hell h1, .hell .unter, .hell .echo, .hell .ehrlich { text-shadow: 0 1px 18px rgba(255, 255, 255, .9); }
.hell .hero-schleier { background: linear-gradient(90deg, rgba(243, 246, 250, .88) 0%, rgba(243, 246, 250, .6) 40%, rgba(243, 246, 250, 0) 72%), linear-gradient(180deg, rgba(243, 246, 250, .6) 0%, rgba(243, 246, 250, .1) 45%, rgba(243, 246, 250, .2) 78%, var(--nacht) 100%); }
.hell .marke svg { filter: none; }
.hell .leiste { background: rgba(255, 255, 255, .8); border-color: rgba(10, 115, 136, .55); }
.hell .leiste input { color: var(--text); }
.hell .leiste input::placeholder { color: #55678a; }
.hell .leiste button:hover { background: var(--text); }
.hell .leiste button svg { stroke: #fff; }
.hell .vorschlaege button { background: rgba(255, 255, 255, .7); border-color: rgba(11, 26, 51, .28); }
.hell .ehrlich, .hell .fuss-zeile { color: #33456a; }
.hell .fuss-zeile a:hover { color: var(--eis); }
.hell .ring, .hell .bahnen path, .hell .netz { stroke: rgba(11, 26, 51, .14); }
.hell .ring.dreh { stroke: rgba(10, 115, 136, .5); }
.hell .knoten circle { fill: #fff; stroke: rgba(11, 26, 51, .25); }
.hell .kern { fill: #fff; }
.hell .hof { fill: rgba(10, 115, 136, .14); }
.hell .linie { stroke: #5b6d8c; }
.hell .linie.eis { stroke: var(--eis); filter: none; }
.hell .flaeche-u { fill: rgba(11, 26, 51, .06); }
.hell .punkt { fill: var(--text); }
.hell .jetzt { stroke: rgba(11, 26, 51, .35); }
.hell .spur { stroke: rgba(11, 26, 51, .1); }
.hell .bogen { filter: none; }
.hell .ticker li { border-top-color: rgba(11, 26, 51, .1); color: #33456a; }
.hell .zeit::after { box-shadow: none; }
.hell .fuss { background: linear-gradient(180deg, var(--nacht) 0%, rgba(243, 246, 250, .82) 60%, rgba(243, 246, 250, .7) 100%), url("bilder/wasser-2000.webp") center bottom / cover no-repeat, var(--nacht); }
@media (max-width: 700px) {
  .hell .hero-schleier { background: linear-gradient(180deg, rgba(243, 246, 250, .85) 0%, rgba(243, 246, 250, .72) 50%, rgba(243, 246, 250, .15) 72%, var(--nacht) 100%); }
}

/* Bewegtes Wasser im Seitenkopf */
.hero-bild.film { animation: none; object-position: 50% 55%; }
