/* Vla Strategie. Navy-Bühne, Gold auf Navy, ein orangefarbener Knopf pro Ansicht. */

/* Schriften, selbst gehostet */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/montserrat-800-latin.woff2") format("woff2"), url("assets/fonts/montserrat-800.ttf") format("truetype");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/inter-ext.woff2") format("woff2");
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E, U+20BF;
}
/* Ersatzschriften mit angepassten Maßen, damit beim Laden nichts springt */
@font-face {
  font-family: "Montserrat Ersatz";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  font-weight: 800;
  size-adjust: 111.6%;
  ascent-override: 86.7%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Ersatz";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans");
  size-adjust: 106.4%;
  ascent-override: 91%;
  descent-override: 22.7%;
  line-gap-override: 0%;
}

/* Grundfarben (wie im Tracker) und Rollen für den hellen Modus */
:root {
  --navy-950: #0c1c31;
  --navy-900: #11263f;
  --navy-800: #1b365d;
  --navy-700: #284873;
  --gold: #ffc875;
  --gold-deep: #f0b04f;
  --orange: #f7931a;
  --mist: #f2f5f9;
  --white: #ffffff;
  --frost: #e8eef6;
  --steel: #b4c2d4;
  --slate: #4a5d78;
  --rule: #6b7d96;

  --bg: var(--mist);
  --text: var(--navy-800);
  --heading: var(--navy-800);
  --muted: var(--slate);
  --line: rgba(27, 54, 93, 0.14);
  --control-line: var(--rule);
  --link: var(--navy-800);
  --focus: var(--navy-800);
  --primary-bg: var(--navy-800);
  --primary-hover: var(--navy-700);
  --primary-text: var(--white);
  --card-bg: var(--white);
  --card-solid: var(--white);
  --card-line: rgba(27, 54, 93, 0.12);
  --card-shadow: 0 1px 2px rgba(17, 38, 63, 0.05), 0 10px 28px rgba(17, 38, 63, 0.07);
  --tint: rgba(27, 54, 93, 0.06);
  color-scheme: light;

  --font-display: "Montserrat", "Montserrat Ersatz", "Segoe UI", system-ui, sans-serif;
  --font-text: "Inter", "Inter Ersatz", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.75rem, 1.55rem + 5.2vw, 6rem);
  --fs-h1: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  --fs-h2: clamp(1.875rem, 1.35rem + 2.2vw, 3rem);
  --fs-h3: 1.25rem;
  --fs-lead: clamp(1.1875rem, 1.06rem + 0.55vw, 1.4375rem);
  --fs-body: clamp(1.0625rem, 1.02rem + 0.2vw, 1.125rem);
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;

  --s1: 0.25rem;
  --s2: 0.5rem;
  --s3: 0.75rem;
  --s4: 1rem;
  --s5: 1.5rem;
  --s6: 2rem;
  --s7: 3rem;
  --s8: 4rem;
  --s9: 6rem;
  --section: clamp(3.5rem, 2rem + 5vw, 6.5rem);
  --shell: 72rem;
  --measure: 36rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --radius-card: 20px;
  --radius-media: 24px;
  --radius-control: 12px;
  --bar-h: 4rem;
}

/* Dunkler Modus und alle Navy-Flächen (Kopf, Bühne, Fuß) teilen dieselben Rollen */
:root[data-theme="dark"],
.on-navy,
.site-header,
.site-footer {
  --bg: var(--navy-900);
  --text: var(--frost);
  --heading: var(--gold);
  --muted: var(--steel);
  --line: rgba(232, 238, 246, 0.14);
  --control-line: var(--steel);
  --link: var(--frost);
  --focus: var(--gold);
  --primary-bg: var(--orange);
  --primary-hover: #ffa53d;
  --primary-text: var(--navy-900);
  --card-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  --card-solid: var(--navy-800);
  --card-line: rgba(255, 255, 255, 0.1);
  --card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px rgba(6, 14, 26, 0.3);
  --tint: rgba(255, 255, 255, 0.07);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: var(--navy-900);
    --text: var(--frost);
    --heading: var(--gold);
    --muted: var(--steel);
    --line: rgba(232, 238, 246, 0.14);
    --control-line: var(--steel);
    --link: var(--frost);
    --focus: var(--gold);
    --primary-bg: var(--orange);
    --primary-hover: #ffa53d;
    --primary-text: var(--navy-900);
    --card-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    --card-solid: var(--navy-800);
    --card-line: rgba(255, 255, 255, 0.1);
    --card-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px rgba(6, 14, 26, 0.3);
    --tint: rgba(255, 255, 255, 0.07);
    color-scheme: dark;
  }
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection { background: rgba(247, 147, 26, 0.3); color: inherit; }

/* Eine Sprache sichtbar, die andere bleibt im Dokument */
html[lang="de"] [lang="en"],
html[lang="en"] [lang="de"] { display: none !important; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: max(1rem, env(safe-area-inset-left, 0px));
  top: -5rem;
  z-index: 60;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-control);
  background: var(--gold);
  color: var(--navy-900);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 0.75rem); }

/* Raster */
.shell {
  width: 100%;
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Symbole */
.ico {
  display: inline-flex;
  flex: none;
  width: 1.2em;
  height: 1.2em;
}
.ico svg,
.ki-symbol svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Gleich breite Ziffern, wo Zahlen stehen */
.tnum,
.pot-label,
.score-num,
table,
time { font-variant-numeric: tabular-nums; }

/* Kopf */
.site-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: var(--s4);
  min-height: 4rem;
  padding-block: var(--s2);
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px), calc((100% - var(--shell)) / 2));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px), calc((100% - var(--shell)) / 2));
  background: var(--navy-900);
  color: var(--text);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  flex: none;
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
}
.mark::after {
  content: "₿";
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-left: auto;
}
.nav-drawer { display: none !important; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.lang-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.6rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 0.8125rem/1 var(--font-text);
  letter-spacing: 0.02em;
  cursor: pointer;
}
.lang-toggle svg { display: none; }
.lang-toggle[data-set-lang="de"]::after { content: "DE"; }
.lang-toggle[data-set-lang="en"]::after { content: "EN"; }
.lang-toggle[aria-pressed="true"] {
  background: var(--tint);
  color: var(--text);
}
.lang-toggle:focus-visible { outline-offset: -3px; border-radius: 999px; }

.theme-switch { display: inline-flex; }
:root:not([data-theme]) .theme-switch,
[data-theme="light"] .theme-toggle[data-set-theme="light"],
[data-theme="dark"] .theme-toggle[data-set-theme="dark"] { display: none; }
.theme-toggle {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-toggle[data-set-theme="dark"] svg { fill: currentColor; stroke: none; }

/* Navigation: am Handy feste Leiste unten, am PC in der Kopfzeile */
.nav-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  background: rgba(12, 28, 49, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
}
.nav-bar a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: var(--bar-h);
  padding: 6px 2px;
  color: var(--steel);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
}
.nav-bar .ico { width: 24px; height: 24px; }
.nav-bar a[aria-current="page"] { color: var(--gold); }
.nav-bar a[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32%;
  right: 32%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--gold);
}
.nav-bar a:focus-visible { outline-offset: -4px; }
.site-header .btn { display: none; }

@media (min-width: 64em) {
  .site-header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    min-height: 4.5rem;
    background: rgba(17, 38, 63, 0.94);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
    backdrop-filter: blur(12px) saturate(130%);
  }
  .nav-bar {
    position: static;
    display: flex;
    gap: var(--s1);
    margin-inline: auto;
    padding: 0;
    background: none;
    border: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav-bar a {
    flex-direction: row;
    min-height: 44px;
    padding: 0 var(--s3);
    border-radius: 999px;
    font-size: 0.9375rem;
  }
  .nav-bar .ico { display: none; }
  .nav-bar a:hover { color: var(--frost); background: rgba(255, 255, 255, 0.06); }
  .nav-bar a[aria-current="page"] { color: var(--gold); }
  .nav-bar a[aria-current="page"]::before { top: auto; bottom: 6px; left: var(--s3); right: var(--s3); height: 2px; border-radius: 2px; }
  .site-header .btn { display: inline-flex; }
}

/* Das Impressum markiert im Kopf noch „Start“ als aktuelle Seite. Optisch nur auf der Startseite hervorheben. */
body:not(.home) .nav-bar a[href="index.html"][aria-current="page"] { color: var(--steel); }
body:not(.home) .nav-bar a[href="index.html"][aria-current="page"]::before { display: none; }

/* Knöpfe und Links */
.button,
.btn,
.cta-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.button-primary,
.cta-mail {
  background: var(--primary-bg);
  color: var(--primary-text);
}
.button-primary:hover,
.cta-mail:hover { background: var(--primary-hover); }
.button-secondary,
.btn,
.cta-top .cta-mail {
  background: transparent;
  color: var(--text);
  border-color: var(--control-line);
}
.button-secondary:hover,
.btn:hover,
.cta-top .cta-mail:hover { background: var(--tint); }
.site-header .btn { min-height: 44px; padding-inline: 1.1rem; font-size: 0.9375rem; }
.button .ico,
.btn .ico,
.cta-mail .ico { width: 1.25em; height: 1.25em; }

.text-link {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--control-line);
}
.text-link:hover { text-decoration-thickness: 2px; text-decoration-color: currentColor; }
.text-link .ico { width: 1.05em; height: 1.05em; margin-right: 0.35em; vertical-align: -0.17em; }
button.text-link {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.draft-tag,
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.6rem;
  border: 1px solid var(--control-line);
  border-radius: 999px;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.4;
  vertical-align: middle;
}

/* Karten: auf Navy aus Glas, im hellen Lesebereich weiß */
.card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-card);
  box-shadow: var(--card-shadow);
  padding: clamp(1.25rem, 1rem + 1.4vw, 2rem);
}
@media (min-width: 48em) {
  .on-navy .card,
  :root[data-theme="dark"] .card {
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    backdrop-filter: blur(12px) saturate(120%);
  }
}
@media (min-width: 48em) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .card {
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    backdrop-filter: blur(12px) saturate(120%);
  }
}
/* Ohne Glas im Browser oder mit reduzierter Transparenz: deckende Navy-Fläche */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card { background: var(--card-solid); }
  .nav-bar { background: var(--navy-950); }
  .site-header { background: var(--navy-900); }
}
@media (prefers-reduced-transparency: reduce) {
  .card { background: var(--card-solid); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-bar { background: var(--navy-950); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header { background: var(--navy-900); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Navy-Bühne */
.on-navy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(70% 60% at 88% 0%, rgba(40, 72, 115, 0.45), transparent 70%),
    radial-gradient(60% 70% at 0% 100%, rgba(12, 28, 49, 0.9), transparent 70%);
  color: var(--text);
}

.section { padding-block: var(--section); }
.section:not(.on-navy) + .section:not(.on-navy) { padding-top: 0; }
.section-title {
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.lead { font-size: var(--fs-lead); line-height: 1.45; }

/* Start: Bühne */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 5rem) clamp(3rem, 2rem + 5vw, 6.5rem); }
.hero-grid { display: grid; gap: var(--s7); }
.byline {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s5);
}
.byline img {
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 16px;
  object-fit: cover;
  object-position: 50% 30%;
}
.byline-name { display: block; color: var(--text); font-weight: 600; line-height: 1.3; }
.byline-role { display: block; color: var(--muted); font-size: var(--fs-small); line-height: 1.35; }
.hero h1 {
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hero-sub {
  max-width: 34ch;
  margin-top: var(--s5);
  font-size: var(--fs-lead);
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s5);
  margin-top: var(--s6);
}
.hero-note { color: var(--muted); font-size: var(--fs-small); }

/* Fünf Töpfe, gezeichnet */
.pots { margin: 0; }
.pots::before {
  /* die eine Stelle mit Orange-Schimmer */
  content: "";
  position: absolute;
  z-index: -1;
  top: -18%;
  right: -12%;
  width: 75%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(247, 147, 26, 0.14), transparent);
  pointer-events: none;
}
.pots-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.5rem, 2vw, 1rem);
  align-items: end;
}
.pot { display: grid; justify-items: center; gap: var(--s2); }
.pot:nth-child(1) { --fill: 0.14; --i: 0; }
.pot:nth-child(2) { --fill: 0.32; --i: 1; }
.pot:nth-child(3) { --fill: 0.5; --i: 2; }
.pot:nth-child(4) { --fill: 0.7; --i: 3; }
.pot:nth-child(5) { --fill: 0.9; --i: 4; }
.pot-jar {
  position: relative;
  width: 100%;
  max-width: 4.5rem;
  height: clamp(7.5rem, 5rem + 8vw, 11rem);
  margin-top: 12px;
  border: 1.5px solid rgba(232, 238, 246, 0.55);
  border-radius: 14px 14px 18px 18px;
  background: rgba(255, 255, 255, 0.04);
}
.pot-jar::before {
  /* Deckel */
  content: "";
  position: absolute;
  top: -11px;
  left: 18%;
  right: 18%;
  height: 6px;
  border-radius: 3px;
  background: rgba(232, 238, 246, 0.55);
}
.pot-fill {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: calc((100% - 8px) * var(--fill));
  border-radius: 6px 6px 13px 13px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45);
  transform-origin: 50% 100%;
}
.pot-label { color: var(--muted); font-size: var(--fs-xs); white-space: nowrap; }
.pots figcaption {
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-small);
}

/* Start: Warum */
.split { display: grid; gap: var(--s6); }
.statements { display: grid; }
.statements p {
  max-width: var(--measure);
  padding-block: var(--s5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-lead);
  line-height: 1.45;
}
.statements p:first-child { border-top: 0; padding-top: 0; }

/* Start: Hallo */
.about-grid { display: grid; gap: var(--s6); align-items: center; }
.about-photo { margin: 0; max-width: 18rem; }
.about-photo img { width: 100%; border-radius: var(--radius-media); }
.about-text { display: grid; gap: var(--s4); max-width: var(--measure); }
.about-text .section-title { margin-bottom: var(--s2); }
.signature { display: grid; margin-top: var(--s2); }
.signature-name { color: var(--heading); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; }
.signature-role { color: var(--muted); font-size: var(--fs-small); }

/* Start: drei Wege */
.tiles { display: grid; gap: var(--s4); list-style: none; }
.tile { display: grid; gap: var(--s3); align-content: start; }
.tile h3 {
  display: flex;
  align-items: center;
  gap: var(--s2);
  color: var(--heading);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
}
.tile p { color: var(--text); }
.tile-link {
  justify-self: start;
  font-weight: 600;
}
/* Einzeln stehende Links bekommen eine Daumen-Fläche von 44 px */
.tile-link,
.about-text .text-link,
.quiet-links .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.tile-link::after {
  /* ganze Kachel tippbar */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
}
.tile:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.tile-link:focus-visible { outline: none; }
.tile:hover { border-color: rgba(255, 255, 255, 0.24); }

/* KI-Fragen */
.ask-card { display: grid; gap: var(--s4); }
.ask-intro { display: grid; gap: var(--s3); align-content: start; }
.ask-card h2 { color: var(--heading); font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
.ask-buttons { display: flex; flex-wrap: wrap; gap: var(--s3); }
.ki-symbol { display: inline-flex; width: 1.4em; height: 1.4em; }
.ask-notes {
  display: grid;
  gap: var(--s2);
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: var(--fs-small);
}
.ask-notes li { display: flex; gap: var(--s2); }
.ask-notes li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.6em;
  border-radius: 50%;
  background: var(--muted);
}
.ask-extra { color: var(--muted); font-size: var(--fs-small); }
.ask-card .quiet-links { margin-top: 0; }

/* Start: 10 : 0 */
.mim-grid { display: grid; gap: var(--s6); grid-template-areas: "banner" "lead" "score"; }
.mim-banner { grid-area: banner; margin: 0; }
.mim-banner img { width: 100%; border-radius: var(--radius-media); }
.mim-grid .lead { grid-area: lead; max-width: 40ch; }
.score { grid-area: score; display: grid; gap: var(--s4); align-content: start; }
.score-num {
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4rem, 2.6rem + 7vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.score-note { max-width: var(--measure); }
.flags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  list-style: none;
}
.flags li {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.3rem 0.75rem 0.3rem 0.4rem;
  border-radius: 999px;
  background: var(--tint);
  font-size: var(--fs-small);
}
.flags img { width: 22px; height: 16px; border-radius: 3px; }

/* Abschluss */
.close-inner { display: grid; gap: var(--s5); }
.close-title {
  max-width: 18ch;
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h2);
  line-height: 1.06;
  letter-spacing: -0.025em;
}
.offer-note { max-width: var(--measure); color: var(--muted); }
.offer-note .draft-tag { margin-right: var(--s2); }

/* Seitenkopf der Unterseiten (Navy, außer bei Rechtstexten) */
.page-head { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.page-head-inner { display: grid; gap: var(--s4); justify-items: start; }
.page-head h1 {
  max-width: 20ch;
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 1.6rem + 4vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.page-lead { max-width: 40rem; font-size: var(--fs-lead); line-height: 1.5; }
.page-head .prose p { max-width: 40rem; }
.page-note { color: var(--muted); font-size: var(--fs-small); }
.page-head .cta { margin: var(--s2) 0 0; }
.page-head-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s2); }
.page-head-photo {
  display: grid;
  gap: var(--s5);
  align-items: center;
}
.page-head-photo img {
  width: min(12rem, 48vw);
  border-radius: var(--radius-media);
}
@media (min-width: 48em) {
  .page-head-photo { grid-template-columns: auto minmax(0, 1fr); gap: var(--s7); }
  .page-head-photo img { width: 16rem; }
}

/* Seiten mit Fließtext. Rechtstexte bleiben schlicht. */
.page {
  width: 100%;
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin-inline: auto;
  padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  padding-bottom: var(--s7);
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2);
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 600;
}
.page h1 {
  margin-block: var(--s3) var(--s5);
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-h1);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.page > h2,
.page-section-title {
  margin-bottom: var(--s5);
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.625rem, 1.25rem + 1.6vw, 2.375rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.prose { max-width: 40rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 {
  margin-top: 2.25em;
  color: var(--heading);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
}
.prose h3 {
  margin-top: 1.75em;
  color: var(--heading);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}
.prose h2 + *,
.prose h3 + * { margin-top: 0.6em; }
.prose ul,
.prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4em; }
.prose strong { font-weight: 600; }
.notice {
  padding: var(--s4) var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--tint);
}
.quiet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s5);
  margin-top: var(--s6);
}
.cta { margin-block: var(--s5); }
.cta-end {
  width: 100%;
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin-inline: auto;
  padding-bottom: var(--section);
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.page-head + .page { padding-top: var(--section); }

/* Tabellen (Datenschutz) */
.beta-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
}
.beta-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: var(--fs-small);
  line-height: 1.45;
}
.beta-table th,
.beta-table td {
  padding: var(--s3) var(--s4);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.beta-table th { color: var(--muted); font-weight: 600; background: var(--tint); }
.beta-table tr:last-child td { border-bottom: 0; }

/* Häufige Fragen */
.faq {
  max-width: 40rem;
  margin-top: var(--s4);
  border-top: 1px solid var(--line);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  min-height: 56px;
  padding: var(--s4) 2.75rem var(--s4) 0;
  color: var(--heading);
  font-weight: 600;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.5rem;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details > p { max-width: var(--measure); padding: 0 0 var(--s5); }
.faq + .prose h2 { margin-top: var(--s7); }

/* Fragen auf „Über mich“ */
.about-faq dl { max-width: 40rem; margin: 0; border-top: 1px solid var(--line); }
.about-faq dt {
  padding-top: var(--s5);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.4;
}
.about-faq dd {
  margin: var(--s2) 0 0;
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--line);
}
.ad-stage {
  width: 100%;
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.ad-stage .offer-note {
  max-width: 40rem;
  padding: var(--s4) var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--tint);
  color: var(--text);
}

/* Kontakt */
.meta {
  display: grid;
  gap: 0;
  max-width: 40rem;
  margin: var(--s6) 0 0;
  border-top: 1px solid var(--line);
}
.meta > div {
  display: grid;
  gap: var(--s1);
  padding-block: var(--s4);
  border-bottom: 1px solid var(--line);
}
.meta dt { color: var(--muted); font-size: var(--fs-small); font-weight: 600; }
.meta dd { margin: 0; }
@media (min-width: 40em) {
  .meta > div { grid-template-columns: 10rem minmax(0, 1fr); gap: var(--s4); }
}

/* Sparplan */
.sp-fig { margin: var(--s6) 0; max-width: 48rem; }
.sp-fig img { width: 100%; border-radius: var(--radius-media); border: 1px solid var(--line); }
.sp-fig figcaption { margin-top: var(--s3); max-width: var(--measure); color: var(--muted); font-size: var(--fs-small); }
.sp-label { display: inline-flex; }
.sp-label span { padding: 0.15rem 0.6rem; border: 1px solid var(--control-line); border-radius: 999px; color: var(--muted); font-size: var(--fs-xs); font-weight: 600; }
.sp-risk {
  max-width: 40rem;
  padding: var(--s4) var(--s5);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: var(--tint);
  font-weight: 600;
}
.tracker-shots {
  display: grid;
  gap: var(--s4);
  margin-block: var(--s5);
}
.tracker-shots img { width: 100%; border-radius: var(--radius-control); border: 1px solid var(--card-line); }
@media (min-width: 48em) { .tracker-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.band-inner { display: grid; gap: var(--s4); justify-items: start; }
.band-inner > p { max-width: 40rem; }
.sheet { margin: var(--s4) 0 0; max-width: 48rem; }
.sheet img { width: 100%; border-radius: var(--radius-control); border: 1px solid var(--line); background: #fff; }
.sheet-note { color: var(--muted); font-size: var(--fs-small); }

/* Tracker-Seite */
.beta-card { display: grid; gap: var(--s4); max-width: 44rem; }
.beta-card h2 {
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.625rem, 1.25rem + 1.6vw, 2.375rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.beta-card .quiet-links { margin-top: 0; }
.beta-open { display: grid; gap: var(--s3); justify-items: start; }

/* Info-Kanal */
.kanal-auszug { color: var(--muted); font-size: var(--fs-small); font-weight: 600; margin-bottom: var(--s5); }
.kanal-duo {
  max-width: 60rem;
  display: grid;
  gap: var(--s5);
  align-items: start;
}
.kanal-col { min-width: 0; }
.kanal-window {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.kanal-bar {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: 3.25rem;
  padding: var(--s3) var(--s5);
  border-bottom: 1px solid var(--line);
}
.kanal-brands { display: flex; align-items: center; gap: var(--s3); flex: none; }
.kanal-brand {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  margin: -0.5rem 0;
  border-radius: 10px;
  background: var(--navy-800);
}
.kanal-brand img { width: auto; height: 1.0625rem; }
.kanal-bar-title { color: var(--heading); font-size: 1.0625rem; font-weight: 600; }
.kanal-feed {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  height: 32rem;
  padding: var(--s4);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.kanal-msg { display: grid; gap: var(--s2); }
.kanal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  color: var(--muted);
  font-size: var(--fs-xs);
}
.kanal-beispiel {
  padding: 0.05rem 0.5rem;
  border: 1px solid var(--control-line);
  border-radius: 999px;
  font-weight: 600;
}
.kanal-bubble {
  display: grid;
  gap: var(--s2);
  padding: var(--s3) var(--s4);
  border-radius: 4px 16px 16px 16px;
  background: var(--tint);
  font-size: var(--fs-small);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.kanal-quote { font-style: italic; }
.kanal-card { border: 1px solid var(--line); }
.kanal-tag { color: var(--muted); font-size: var(--fs-xs); font-weight: 600; }
.kanal-img,
.feed-img { width: 100%; border-radius: 10px; }
.kanal-img { max-width: 13rem; }
.kanal-link {
  display: grid;
  gap: 0.15rem;
  padding: var(--s2) var(--s3);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}
.kanal-link-title { font-weight: 600; }
.kanal-link-desc,
.kanal-link-url { color: var(--muted); font-size: var(--fs-xs); line-height: 1.4; }
.kanal-poll { display: grid; gap: var(--s2); padding: var(--s3); border: 1px solid var(--line); border-radius: 10px; }
.kanal-poll-q { font-weight: 600; }
.kanal-poll ul { display: grid; gap: var(--s1); padding-left: 1.1rem; }
.kanal-poll-note { color: var(--muted); font-size: var(--fs-xs); }
.kanal-reacts { display: flex; gap: var(--s1); list-style: none; }
.kanal-reacts li { padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--tint); font-size: var(--fs-xs); }
.feed-sample-note { color: var(--muted); font-size: var(--fs-xs); }
.kanal-summary {
  grid-column: 1 / -1;
  display: grid;
  gap: var(--s4);
  margin-top: var(--s5);
}
.kanal-summary-risk { max-width: 40rem; font-weight: 600; }
.kanal-duo + .offer-note { margin-top: var(--s6); }
.kanal-scan { color: var(--muted); font-size: var(--fs-small); }
.kanal-summary-links {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--s2) var(--s5);
  list-style: none;
}
.kanal-summary-links .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.kanal-summary-wa { display: grid; gap: var(--s2); justify-items: start; }
.kanal-qr-link { display: inline-block; }
.kanal-qr { width: 10rem; height: auto; padding: 0.5rem; border-radius: var(--radius-control); background: #fff; }
@media (min-width: 64em) {
  .kanal-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); }
  .kanal-feed { height: 40rem; }
}

/* Fuß */
.site-footer {
  background: var(--navy-950);
  color: var(--text);
  border-top: 1px solid var(--line);
}
.site-footer-inner {
  display: grid;
  gap: var(--s5);
  width: 100%;
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin-inline: auto;
  padding-top: var(--s8);
  padding-bottom: calc(var(--s7) + var(--bar-h) + env(safe-area-inset-bottom, 0px));
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.footer-lead {
  max-width: 28ch;
  color: var(--text);
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1.35;
}
.footer-nav,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--s5);
}
.footer-nav a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}
.footer-nav a:hover,
.footer-social a:hover { text-decoration: underline; text-underline-offset: 0.22em; }
.fine { max-width: 62ch; color: var(--muted); font-size: var(--fs-xs); line-height: 1.55; }

/* Breitere Bildschirme */
@media (min-width: 48em) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); }
  .about-photo { max-width: none; }
}
@media (min-width: 64em) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: var(--s8); }
  .pot-jar { height: 13rem; max-width: 4.75rem; }
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s8); }
  .ask-card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: var(--s8); row-gap: var(--s5); padding: var(--s7); }
  .ask-intro { grid-row: span 3; }
  .mim-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); grid-template-areas: "banner score" "lead score"; align-items: start; column-gap: var(--s8); row-gap: var(--s5); }
  .site-footer-inner {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    padding-bottom: var(--s7);
  }
  .site-footer-inner .fine { grid-column: 1 / -1; }
}

/* Bewegung: ein einziger Moment, nur wenn erwünscht */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .pot-fill { animation: fill-rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both; animation-delay: calc(var(--i) * 90ms + 150ms); }
}
@keyframes fill-rise { from { transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Start: Begrüßung mit Foto und KI-Kasten */
.hello-start { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem); }
.hello-grid { display: grid; gap: var(--s6); }
.hello-main { display: grid; gap: var(--s5); justify-items: start; }
.hello-photo {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
  border: 2px solid rgba(247, 147, 26, 0.55);
}
.hello-label {
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hello-title {
  margin-top: var(--s2);
  color: var(--heading);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-display);
  line-height: 0.98;
  letter-spacing: -0.035em;
}
.hello-sub { max-width: 34ch; margin-top: var(--s4); font-size: var(--fs-lead); line-height: 1.45; }
.hello-more { margin-top: var(--s4); }
.hello-ki { display: grid; gap: var(--s4); align-content: start; }
.hello-ki-tag { color: var(--heading); font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
.hello-ki-text { color: var(--text); }
.hello-ki-btn { gap: var(--s2); }
.hello-ki-note { color: var(--muted); font-size: var(--fs-small); line-height: 1.45; }
@media (min-width: 48em) {
  .hello-main { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s6); }
  .hello-photo { width: 11rem; height: 11rem; }
}
@media (min-width: 64em) {
  .hello-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: var(--s8); }
}
.sp-page-head .page-head-inner { gap: var(--s3); }
.sp-head-title { color: var(--heading); font-family: var(--font-display); font-weight: 800; font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -0.025em; }
.sp-page-head + .page { padding-top: var(--s5); }
.ki-robot { width: 1.5em; height: 1.5em; }
.ki-robot svg { stroke: none; }
.ki-robot .ki-robot-head { fill: var(--white); }
.ki-robot .ki-robot-visor { fill: var(--navy-900); }
