/* Astralus-Entwurf, gemeinsame Grundlage. Schrift Geist (OFL), Farbwerte aus der Identiqa-Welt. */
@font-face { font-family: "Geist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/geist.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --paper: #f1f0ec; --surface: #f9f8f5;
  --ink: #191818; --ink-2: #4c4e52; --ink-3: #686a6f;
  --hair: rgba(25, 24, 24, 0.16); --hair-soft: rgba(25, 24, 24, 0.09);
  --accent: #0c6b7c;
  --glow: #70f1f6; --deep: #1c1f24; --deeper: #101317;
  --d-ink: #f1f1ee; --d-ink-2: rgba(247, 247, 245, 0.72); --d-ink-3: rgba(247, 247, 245, 0.46); --d-line: rgba(247, 247, 245, 0.11);
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rand: clamp(20px, 5vw, 48px);
  --wrap: 1080px;
}
@supports (color: color(display-p3 0 0 0)) { :root { --glow: color(display-p3 0.52 0.94 0.97); } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121417; --surface: #1a1d21; --ink: #f1f1ee; --ink-2: #b9bbbd; --ink-3: #8e9094;
    --hair: rgba(241, 241, 238, 0.16); --hair-soft: rgba(241, 241, 238, 0.09); --accent: #6fd3e0;
  }
}
:root[data-theme="dark"] {
  --paper: #121417; --surface: #1a1d21; --ink: #f1f1ee; --ink-2: #b9bbbd; --ink-3: #8e9094;
  --hair: rgba(241, 241, 238, 0.16); --hair-soft: rgba(241, 241, 238, 0.09); --accent: #6fd3e0;
}
@media (min-width: 1600px) { :root { --wrap: 1260px; } }
@media (min-width: 2000px) { :root { --wrap: 1420px; } }

* { box-sizing: border-box; }
html { background: var(--deeper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.55 var(--sans); color: var(--ink-2); background: var(--paper);
  -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--rand); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 500; color: var(--ink); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 4px; }

/* Kopfzeile */
.dock { position: fixed; inset: 0 0 auto 0; z-index: 20; color: var(--d-ink-2);
  background: rgba(16, 19, 23, 0.72); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--d-line); }
.dock .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 62px; }
.uebergabe { display: inline-flex; align-items: center; gap: 14px; transition: opacity 0.2s ease; }
.uebergabe .alt { height: 17px; width: auto; opacity: 0.5; }
.uebergabe .pfeil { width: 22px; height: 1px; background: linear-gradient(90deg, var(--d-ink-3), var(--glow)); position: relative; }
.uebergabe .pfeil::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid var(--glow); border-right: 1px solid var(--glow); transform: rotate(45deg); }
.uebergabe .neu { height: 19px; width: auto; }
@media (hover: hover) { .uebergabe:hover { opacity: 0.68; } }
.uebergabe:active { transform: scale(0.97); }
.dock-rechts { display: flex; align-items: center; gap: clamp(10px, 2vw, 22px); font-size: 0.86rem; }
.dock-rechts a { color: var(--d-ink-2); transition: color 0.2s ease; }
@media (hover: hover) { .dock-rechts a:hover { color: var(--d-ink); } }
.sprache { display: inline-flex; gap: 2px; font: 400 0.74rem/1 var(--mono); letter-spacing: 0.06em; }
.sprache a { padding: 7px 8px; border-radius: 6px; color: var(--d-ink-3); }
.sprache a[aria-current="true"] { color: var(--d-ink); background: rgba(255, 255, 255, 0.07); }
.thema { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--d-line); background: none; color: var(--d-ink-2); cursor: pointer;
  display: grid; place-items: center; transition: transform 0.1s ease, border-color 0.2s ease; }
.thema:active { transform: scale(0.94); }
.thema svg { width: 15px; height: 15px; }
@media (max-width: 560px) { .dock-link { display: none; } .uebergabe { gap: 10px; } .uebergabe .alt { height: 14px; } .uebergabe .neu { height: 16px; } }

/* Dunkle Bühnen */
.dunkel { background: var(--deeper); color: var(--d-ink-2); position: relative; overflow: hidden; }
.dunkel h1, .dunkel h2 { color: var(--d-ink); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 10px 26px 10px 10px;
  font-size: 0.98rem; font-weight: 500; letter-spacing: -0.008em; transition: transform 0.1s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.knopf:active { transform: scale(0.97); }
.knopf-hell { background: var(--d-ink); color: #101317; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 30px -12px rgba(112, 241, 246, 0.35); }
.knopf-still { color: var(--d-ink-2); border: 1px solid var(--d-line); }
.knopf .chev { width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.25s var(--ease); }
@media (hover: hover) {
  .knopf-hell:hover { background: #fff; } .knopf-still:hover { border-color: rgba(247, 247, 245, 0.34); color: var(--d-ink); }
  .knopf:hover .chev { transform: translateX(3px) rotate(45deg); }
}

/* Kennzeile in Mono */
.kenn { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 400 0.74rem/1.4 var(--mono); letter-spacing: 0.07em; text-transform: uppercase; color: var(--d-ink-3); }
.kenn::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 8px var(--glow); }
.kenn b { color: var(--d-ink); font-weight: 400; }

/* Sichtbarer Platzhalter: offene Angabe, die nur Daniel liefern kann */
.offen { display: inline; padding: 2px 8px; border: 1px dashed currentColor; border-radius: 6px; font: 400 0.8em/1.7 var(--mono); letter-spacing: 0.01em; color: var(--accent);
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.dunkel .offen { color: var(--glow); }

/* Einblenden beim Scrollen. Ohne Skript und bei reduzierter Bewegung ist alles sofort sichtbar. */
.js .zeig { opacity: 0; transform: translateY(14px); filter: blur(3px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); transition-delay: var(--v, 0ms); }
.js .zeig.da { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .zeig { opacity: 1; transform: none; filter: none; transition: none; }
}

/* Richtung A, zweite Fassung: typografisch. Große Schrift, viel Weißraum, eine dunkle Fläche für Identiqa. */

:root { --rand: clamp(20px, 4.4vw, 72px); --band: #101317; --ease-aus: cubic-bezier(0.16, 1, 0.3, 1); }
:root[data-theme="dark"] { --band: #0a0c0f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --band: #0a0c0f; } }

html { background: var(--paper); }
body { background: var(--paper); color: var(--ink-2); font-size: 17px; }
.rahmen { padding-left: var(--rand); padding-right: var(--rand); max-width: 1760px; margin: 0 auto; }

/* Kopfzeile: nur Wortmarke, Sprache, Hell/Dunkel */
.kopfzeile { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.kopfzeile .rahmen { display: flex; align-items: center; justify-content: space-between; height: clamp(64px, 9vh, 92px); }
.marke img { height: clamp(26px, 2.2vw, 32px); width: auto; filter: invert(1) brightness(0.12); transition: opacity 0.2s ease; }
:root[data-theme="dark"] .marke img { filter: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .marke img { filter: none; } }
@media (hover: hover) { .marke:hover img { opacity: 0.6; } }
.rechts { display: flex; align-items: center; gap: 18px; font-size: 0.88rem; }
.sprachen { display: flex; gap: 14px; }
.sprachen a { color: var(--ink-3); padding: 6px 0; transition: color 0.2s ease; }
.sprachen a[aria-current="true"] { color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
@media (hover: hover) { .sprachen a:hover { color: var(--ink); } }
.thema { width: 32px; height: 32px; border: 0; background: none; color: var(--ink-2); border-radius: 50%; }
.thema svg { width: 15px; height: 15px; }
/* Zeichen im Schalter: halb gefüllt = Automatisch, leer = Hell, gefüllt = Dunkel */
:root[data-thema-stufe="light"] .thema svg path { display: none; }
:root[data-thema-stufe="dark"] .thema svg circle { fill: currentColor; }
.thema { cursor: pointer; transition: transform 0.1s ease, color 0.2s ease; }
.thema:active { transform: scale(0.9); }
@media (hover: hover) { .thema:hover { color: var(--ink); } }

/* Erste Seite: ein Satz, sonst nichts */
.auftakt { min-height: min(100svh, 1200px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(28px, 5vh, 56px); --s: 0; }
.auftakt h1 { margin: 0 0 0 -0.045em; font-size: clamp(3.3rem, 14.6vw, 16rem); font-weight: 500; letter-spacing: -0.058em; line-height: 0.88; color: var(--ink);
  opacity: calc(1 - var(--s) * 0.86); transform: translateY(calc(var(--s) * -4vh)); will-change: opacity, transform; }
.zeile { display: block; overflow: hidden; padding: 0.06em 0 0.1em; margin-bottom: -0.1em; }
.zeile > span { display: block; }
.strich { height: 1px; margin-top: clamp(28px, 5vh, 56px); background: var(--ink); transform-origin: left; }
.unterzeile { display: flex; justify-content: space-between; gap: 24px; padding-top: 18px; font-size: 0.95rem; color: var(--ink-2); }
.unterzeile span:last-child { color: var(--ink-3); }

/* Auftritt beim Laden: Zeilen steigen aus der Maske, der Strich zieht sich. Ohne Skript steht alles. */
.js .zeile > span { transform: translateY(108%); }
.js .strich { transform: scaleX(0); }
.js .unterzeile { opacity: 0; }
.js.bereit .zeile > span { transform: none; transition: transform 1.15s var(--ease-aus); }
.js.bereit .zeile:nth-child(2) > span { transition-delay: 0.09s; }
.js.bereit .strich { transform: none; transition: transform 1.3s var(--ease-aus) 0.35s; }
.js.bereit .unterzeile { opacity: 1; transition: opacity 0.9s ease 0.85s; }

/* Zweite Seite: der Satz über die Menschen */
.satzseite { padding: clamp(120px, 26vh, 300px) 0 clamp(120px, 24vh, 280px); }
.raster { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); }
.aussage { grid-column: 1 / span 10; font-size: clamp(1.9rem, 5.1vw, 5.2rem); font-weight: 500; letter-spacing: -0.042em; line-height: 1.02; color: var(--ink-3); text-wrap: balance; }
.aussage strong { font-weight: 500; color: var(--ink); }
.beitext { grid-column: 8 / span 5; margin-top: clamp(56px, 12vh, 140px); font-size: 1.05rem; line-height: 1.55; max-width: 30rem; text-wrap: pretty; }
@media (max-width: 860px) { .aussage { grid-column: 1 / -1; } .beitext { grid-column: 3 / -1; } }

/* Dunkle Fläche: der Hinweis auf Identiqa */
.hinweis-identiqa { background: var(--band); color: rgba(247, 247, 245, 0.72); position: relative; padding: clamp(110px, 22vh, 260px) 0 clamp(64px, 10vh, 110px); }
.hinweis-identiqa::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--glow); transform-origin: left; }
.js .hinweis-identiqa::before { transform: scaleX(0); transition: transform 1.6s var(--ease-aus); }
.js .hinweis-identiqa.da::before { transform: none; }
.hinweis-identiqa .wortbild { grid-column: 1 / span 7; }
.hinweis-identiqa .wortbild img { width: clamp(230px, 40vw, 640px); height: auto; }
.hinweis-identiqa .daneben { grid-column: 8 / span 5; align-self: end; }
.hinweis-identiqa .daneben p { font-size: clamp(1.3rem, 2.1vw, 1.9rem); line-height: 1.22; letter-spacing: -0.026em; color: #f1f1ee; text-wrap: balance; max-width: 18ch; }
.zu { display: inline-flex; align-items: baseline; gap: 12px; margin-top: clamp(28px, 5vh, 48px); font-size: 1.05rem; color: #f1f1ee; padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.5s var(--ease-aus), color 0.2s ease; }
.zu i { font-style: normal; display: inline-block; transition: transform 0.4s var(--ease-aus); }
@media (hover: hover) { .zu:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--glow); } .zu:hover i { transform: translate(3px, -3px); } }
.zu:active { opacity: 0.7; }
.klarstellung { grid-column: 1 / span 6; margin-top: clamp(90px, 18vh, 200px); font-size: 0.9rem; line-height: 1.6; color: rgba(247, 247, 245, 0.5); max-width: 34rem; text-wrap: pretty; }
@media (max-width: 860px) {
  .hinweis-identiqa .wortbild, .hinweis-identiqa .daneben, .klarstellung { grid-column: 1 / -1; }
  .hinweis-identiqa .daneben { margin-top: clamp(48px, 9vh, 80px); }
}

/* Fuß */
.fuss2 { padding: clamp(40px, 7vh, 72px) 0 clamp(36px, 6vh, 60px); font-size: 0.9rem; color: var(--ink-3); background: var(--paper); }
.fuss2 .raster { row-gap: 18px; align-items: start; }
.fuss2 .marke { grid-column: 1 / span 3; }
.fuss2 .marke img { height: 23px; }
.fuss2 .anbieter a { color: var(--ink-2); }

/* Impressum: Titel groß, darunter eine ruhige Liste aus Bezeichnung und Angabe */
.rechtsseite { padding-top: clamp(150px, 26vh, 280px); padding-bottom: clamp(90px, 16vh, 180px); }
.rechtsseite h1 { margin: 0 0 0 -0.04em; font-size: clamp(2.8rem, 9.4vw, 9.5rem); font-weight: 500; letter-spacing: -0.055em; line-height: 0.92; color: var(--ink); }
.rechtsseite .strich { margin-top: clamp(24px, 4vh, 44px); }
.angaben { margin: 0; padding-top: clamp(40px, 8vh, 90px); }
.angaben > div { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2vw, 32px); padding: clamp(18px, 2.6vh, 26px) 0; border-bottom: 1px solid var(--hair-soft); }
.angaben dt { grid-column: 1 / span 4; font-size: 0.95rem; color: var(--ink-3); padding-top: 0.28em; }
.angaben dd { grid-column: 5 / span 7; margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.4; letter-spacing: -0.015em; color: var(--ink); max-width: 38rem; text-wrap: pretty; }
.angaben dd a { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: opacity 0.2s ease; }
@media (hover: hover) { .angaben dd a:hover { opacity: 0.6; } }
.angaben dd small { display: block; margin-top: 8px; font-size: 0.95rem; letter-spacing: 0; color: var(--ink-2); }
.angaben.text dd { font-size: 1.06rem; line-height: 1.6; letter-spacing: 0; color: var(--ink-2); max-width: 40rem; }
.angaben.text dd strong { font-weight: 500; color: var(--ink); }
.angaben.text dd p + p { margin-top: 12px; }
.angaben.text dt { color: var(--ink); font-size: 1.06rem; padding-top: 0; }
.zurueck { display: inline-block; margin-top: clamp(48px, 9vh, 96px); font-size: 1rem; color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 4px; }
@media (max-width: 760px) { .angaben dt, .angaben dd { grid-column: 1 / -1; } .angaben dt { padding: 0 0 6px; } }
.fuss2 .anbieter { grid-column: 4 / span 6; max-width: 36rem; line-height: 1.6; }
.fuss2 nav { grid-column: 10 / span 3; display: flex; gap: 22px; justify-content: flex-end; }
.fuss2 nav a { color: var(--ink-2); }
@media (hover: hover) { .fuss2 nav a:hover { color: var(--ink); } }
@media (max-width: 860px) { .fuss2 .marke, .fuss2 .anbieter, .fuss2 nav { grid-column: 1 / -1; justify-content: flex-start; } }

/* Platzhalter: nüchtern, als unterstrichene Lücke */
.offen { padding: 0; border: 0; border-radius: 0; font: inherit; font-style: italic; color: inherit; border-bottom: 1px dotted currentColor; }

/* Einblenden beim Scrollen: nur Hub und Deckkraft */
.js .zeig { filter: none; transform: translateY(22px); transition: opacity 1s var(--ease-aus), transform 1s var(--ease-aus); transition-delay: var(--v, 0ms); }
.js .zeig.da { transform: none; }

.js .hinweis-identiqa.zeig { opacity: 1; transform: none; }
.js .hinweis-identiqa .raster > * { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease-aus) 0.25s, transform 1s var(--ease-aus) 0.25s; }
.js .hinweis-identiqa .raster > :nth-child(2) { transition-delay: 0.4s; }
.js .hinweis-identiqa .raster > :nth-child(3) { transition-delay: 0.6s; }
.js .hinweis-identiqa.da .raster > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .hinweis-identiqa .raster > * { opacity: 1; transform: none; transition: none; }
  .js .zeile > span, .js .strich, .js .unterzeile, .js .hinweis-identiqa::before { transform: none; opacity: 1; transition: none; }
  .auftakt h1 { opacity: 1; transform: none; }
}
