@import url("../fonts/fonts.css?v=8");

/* =========================================================
   Vorsorge Rheinland — Design System
   Dunkel, ruhig, hochwertig. Palette abgeleitet aus dem
   Chrom-Logo (Platin/Graphit) + Blue-Hour-Bildwelt (Amber).
   ========================================================= */

:root {
  /* Flächen */
  --bg:            #0A0C0F;
  --bg-2:          #0D1014;
  --surface:       #12161C;
  --surface-2:     #171C23;
  --surface-3:     #1D232B;

  /* Linien */
  --line:          rgba(255, 255, 255, 0.075);
  --line-strong:   rgba(255, 255, 255, 0.14);

  /* Text */
  --text:          #ECEEF1;
  --text-2:        #B6BDC6;
  --muted:         #8B939E;

  /* Signalfarbe: warmes Amber aus der Blue-Hour-Bildwelt */
  --accent:        #E0A75E;
  --accent-2:      #F0C48C;
  --accent-dim:    rgba(224, 167, 94, 0.14);
  --accent-line:   rgba(224, 167, 94, 0.32);

  /* Chrom (Logo) */
  --chrome:        linear-gradient(135deg, #FFFFFF 0%, #D6DAE0 38%, #8E959E 68%, #E7EAEE 100%);

  /* Radien */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Rhythmus */
  --pad-section: clamp(4.5rem, 8vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --maxw: 1220px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --header-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Basis ---------- */
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Feines Korn – nimmt der Fläche das Digitale */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--accent); color: #14100A; }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typo ---------- */
h1, h2, h3, h4, .num, .eyebrow, .btn, .logo-word {
  font-family: "Archivo", "Inter", system-ui, sans-serif;
}
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.025em; line-height: 1.06; }

h1, .h1 { font-size: clamp(2.35rem, 5.4vw, 4.25rem); }
h2, .h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.2; }
h4, .h4 { font-size: 1.02rem; line-height: 1.3; }

p { color: var(--text-2); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--text-2); line-height: 1.6; }
strong { color: var(--text); font-weight: 600; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent-line);
}
.eyebrow.center::before { display: none; }

.chrome-text {
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--pad-section); position: relative; }
.section--tight { padding-block: clamp(3rem, 5vw, 5rem); }
.section--alt { background: var(--bg-2); }
.section-head { max-width: 62ch; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 1rem; }

.hr-soft { height: 1px; background: var(--line); border: 0; }

.grid { display: grid; gap: clamp(0.9rem, 1.6vw, 1.35rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 940px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Icons ---------- */
.ic {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic-lg { width: 26px; height: 26px; }
.ic-sm { width: 17px; height: 17px; }

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  margin-bottom: 1.15rem;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-pad-y: 0.92rem;
  --btn-pad-x: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease),
              border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), color 0.22s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, #FFFFFF 0%, #DEE2E8 100%);
  color: #0A0C0F;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 12px 30px -12px rgba(230, 238, 250, 0.5);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #EBEEF3 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 40px -14px rgba(230, 238, 250, 0.62);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-strong);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.24); }

.btn--accent {
  background: linear-gradient(180deg, var(--accent-2) 0%, var(--accent) 100%);
  color: #1A1206;
  box-shadow: 0 12px 30px -14px rgba(224, 167, 94, 0.6);
}
.btn--accent:hover { filter: brightness(1.06); }

.btn--sm { --btn-pad-y: 0.62rem; --btn-pad-x: 1.15rem; font-size: 0.87rem; }
.btn--lg { --btn-pad-y: 1.08rem; --btn-pad-x: 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent);
}
.link-arrow .ic { width: 16px; height: 16px; transition: transform 0.28s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Header ----------
   WICHTIG: Der Header selbst darf KEIN backdrop-filter bekommen. Ein Element
   mit Filter wird zum Bezugsrahmen für position:fixed – das Menü-Overlay
   würde sich dann auf die Header-Höhe beziehen und zu einem Streifen
   zusammenklappen, sobald die Seite gescrollt ist. Der Glaseffekt liegt
   deshalb auf ::before; ein Pseudo-Element hat keine Nachfahren und kann
   die Positionierung der Navigation nicht beeinflussen. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: rgba(10, 12, 15, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}
.site-header.is-stuck::before { opacity: 1; }
.site-header.is-stuck { border-bottom-color: var(--line); }

/* Bei offenem Menü zieht der Header die Fläche des Overlays durch,
   damit Kopfbereich und Menü als eine Fläche wirken. */
body.nav-open .site-header::before {
  opacity: 1;
  background: rgba(10, 12, 15, 0.97);
}
body.nav-open .site-header { border-bottom-color: transparent; }
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
.brand img { height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 0.35rem; }
/* Nur die direkten Navigationslinks stylen – die Buttons im mobilen
   Menü liegen in .nav-mobile-cta und behalten ihr Button-Aussehen. */
.nav > a {
  padding: 0.55rem 0.85rem;
  border-radius: var(--r-pill);
  font-size: 0.925rem;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}
.nav > a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav > a[aria-current="page"] { color: var(--text); }
.nav > a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  border-radius: 2px;
  margin-top: 3px;
  background: var(--accent);
}
.header-cta { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  /* place-content statt place-items: sonst strecken sich die drei Grid-Zeilen
     über die volle Button-Höhe und die Balken stehen 15px auseinander –
     die X-Animation verschiebt sie aber nur um 6,5px und träfe sich nie. */
  place-content: center;
  justify-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span + span { margin-top: 5px; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Die mobile CTA-Gruppe steckt in der Nav und ist nur im Menü-Overlay sichtbar.
   Muss VOR dem Media-Query stehen, sonst überschreibt sie ihn (gleiche Spezifität). */
.nav .nav-mobile-cta { display: none; }

@media (max-width: 1040px) {
  .nav-toggle { display: grid; }
  .header-cta .btn--ghost { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1.25rem var(--gutter) 2rem;
    background: rgba(10, 12, 15, 0.97);
    backdrop-filter: blur(20px);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
    overflow-y: auto;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  body.nav-open { overflow: hidden; }
  .nav > a {
    padding: 1.05rem 0.25rem;
    font-size: 1.28rem;
    font-family: "Archivo", sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--text);
  }
  .nav > a[aria-current="page"] { color: var(--accent); }
  .nav > a[aria-current="page"]::after { display: none; }
  .nav .nav-mobile-cta { display: block; margin-top: 1.6rem; border: 0; padding: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 7rem) clamp(4rem, 8vw, 8rem);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 12, 15, 0.86) 0%, rgba(10, 12, 15, 0.6) 34%, rgba(10, 12, 15, 0.9) 78%, var(--bg) 100%),
    linear-gradient(100deg, rgba(10, 12, 15, 0.94) 6%, rgba(10, 12, 15, 0.55) 46%, rgba(10, 12, 15, 0.2) 74%);
}
.hero__glow {
  position: absolute;
  z-index: -1;
  width: 60vw;
  height: 60vw;
  max-width: 780px;
  max-height: 780px;
  right: -14vw;
  top: -22vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 214, 240, 0.14) 0%, rgba(224, 167, 94, 0.07) 42%, transparent 68%);
  filter: blur(24px);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 46rem; }
.hero h1 { margin-bottom: 1.35rem; text-wrap: balance; }
.hero .lead { max-width: 40rem; }
.hero .btn-row { margin-top: 2.1rem; }

.hero--home { min-height: min(84vh, 780px); display: flex; align-items: center; }
.hero--page { padding-block: clamp(3rem, 5.5vw, 5.5rem) clamp(3.5rem, 6vw, 6rem); }

/* Hero-Punkte */
.ticks { display: grid; gap: 0.7rem; margin-top: 1.85rem; }
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--text-2);
  font-size: 0.985rem;
}
.ticks .ic { color: var(--accent); margin-top: 3px; width: 19px; height: 19px; }

/* Vertrauensleiste unter dem Hero */
.trustbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: 1.1rem 0 0;
  margin-top: 2.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}
.trustbar span { display: inline-flex; align-items: center; gap: 0.5rem; }
.trustbar .ic { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Cards ---------- */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.2vw, 1.9rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
}
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.955rem; }
.card--hover:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--surface-2); }

.card--num .num {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.9rem;
}

/* Kleine Kachel (Sparten, Programme) */
.chip-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.05rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.chip-card .ic { color: var(--accent); width: 20px; height: 20px; }
.chip-card:hover { border-color: var(--accent-line); background: var(--surface-2); transform: translateY(-2px); }

/* ---------- Leistungs-Kacheln (Startseite) ---------- */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.9rem, 1.6vw, 1.3rem); }
@media (max-width: 780px) { .tiles { grid-template-columns: minmax(0, 1fr); } }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, var(--surface-2) 0%, var(--surface) 60%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
  isolation: isolate;
}
.tile:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.tile__visual {
  position: relative;
  flex: 1 1 auto;
  min-height: 158px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #0C0F13;
}
.tile__body { padding: 1.35rem clamp(1.25rem, 2vw, 1.6rem) 1.5rem; }
.tile__body h3 { margin-bottom: 0.45rem; }
.tile__body p { font-size: 0.94rem; margin-bottom: 1rem; }
.tile__cta { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: 0.9rem; color: var(--accent); }
.tile__cta .ic { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.tile:hover .tile__cta .ic { transform: translateX(5px); }

/* Kachel 1: vertikaler Logo-Stream */
.logo-rain { position: absolute; inset: 0; display: flex; gap: 10px; padding: 10px; }
.logo-rain__col { flex: 1; display: flex; flex-direction: column; gap: 10px; animation: rain 34s linear infinite; }
.logo-rain__col:nth-child(2) { animation-duration: 44s; animation-delay: -8s; }
.logo-rain__col:nth-child(3) { animation-duration: 39s; animation-delay: -18s; }
@keyframes rain { from { transform: translateY(-50%); } to { transform: translateY(0); } }
.tile:hover .logo-rain__col { animation-play-state: paused; }

/* Kachel 2: horizontaler Logo-Stream + Hover-Ebene */
.logo-drift { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.logo-drift__row { display: flex; gap: 10px; width: max-content; animation: drift-l 42s linear infinite; }
.logo-drift__row--rev { animation-name: drift-r; animation-duration: 52s; }
@keyframes drift-l { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes drift-r { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tile:hover .logo-drift__row { animation-play-state: paused; }

.tile__reveal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5%, 3rem);
  background: rgba(10, 12, 15, 0.9);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  color: var(--text);
}
.tile:hover .tile__reveal, .tile:focus-within .tile__reveal { opacity: 1; }
.tile__reveal figure { display: grid; place-items: center; gap: 0.55rem; text-align: center; transform: translateY(10px); transition: transform 0.45s var(--ease-out); }
.tile:hover .tile__reveal figure { transform: none; }
.tile__reveal figure:nth-child(2) { transition-delay: 0.07s; }
.tile__reveal .ic { width: 42px; height: 42px; color: var(--accent); stroke-width: 1.2; }
.tile__reveal figcaption { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Kachel 3: Tor aus zwei Flächen */
.gate { position: absolute; inset: 0; }
.gate__behind { position: absolute; inset: 0; }
.gate__behind img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.gate__leaf {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--surface-3), var(--surface));
  transition: transform 0.62s var(--ease-out), opacity 0.5s var(--ease);
  z-index: 2;
}
.gate__leaf--l { left: 0; border-right: 1px solid var(--line); }
.gate__leaf--r { right: 0; }
.tile:hover .gate__leaf--l, .tile:focus-within .gate__leaf--l { transform: translateX(-101%); }
.tile:hover .gate__leaf--r, .tile:focus-within .gate__leaf--r { transform: translateX(101%); }
.gate__label {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  letter-spacing: -0.02em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gate__hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: opacity 0.3s;
}
.tile:hover .gate__hint { opacity: 0; }

/* Kachel 4: Life-Plan-Timeline */
.lifeplan { position: absolute; inset: 0; display: grid; place-items: center; padding: 1.2rem; }
.lifeplan svg { width: 100%; height: auto; max-height: 100%; overflow: visible; }
.lp-track { stroke: rgba(255, 255, 255, 0.1); stroke-width: 1.5; fill: none; }
.lp-progress {
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: lp-draw 6s var(--ease) infinite;
}
@keyframes lp-draw {
  0% { stroke-dashoffset: 320; }
  55% { stroke-dashoffset: 0; }
  85% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.lp-node { fill: #0C0F13; stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.5; }
.lp-node-on { fill: var(--accent); stroke: none; opacity: 0; animation: lp-pop 6s var(--ease) infinite; }
.lp-node-on:nth-of-type(1) { animation-delay: 0.5s; }
@keyframes lp-pop { 0%, 8% { opacity: 0; transform: scale(0.4); } 20%, 88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.lp-label { fill: #8B939E; font-family: "Inter", sans-serif; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; }

/* Logo-Plättchen (Text-Wortmarken als Platzhalter für echte SVGs) */
.lg {
  display: grid;
  place-items: center;
  padding: 0.55rem 0.9rem;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.022);
  color: #A9B1BB;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 0.79rem;
  letter-spacing: -0.005em;
  text-align: center;
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}
.lg--wide { min-width: 132px; }
.tile:hover .lg, .marquee:hover .lg { color: #D3D9E1; }

/* Sobald ein echtes Logo eingesetzt ist, bekommt das Plättchen eine helle
   Fläche. Nur so bleiben die Originalfarben auf dem dunklen Hintergrund
   lesbar – die meisten Marken-Logos sind für weißen Grund gezeichnet. */
.lg--img {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.16);
  padding: 0.5rem 0.85rem;
}
.lg--img img {
  display: block;
  height: 24px;
  width: auto;
  max-width: 118px;
  object-fit: contain;
}
.tile:hover .lg--img, .marquee:hover .lg--img { color: inherit; }

/* Tor-Beschriftung auf der Startseite und Programm-Überschriften
   auf der Fördermittelseite: dort steht das Logo frei, ohne Plättchen. */
.gate__label.has-logo, .prog__brand.has-logo { background: none; }
.gate__label.has-logo img { height: clamp(30px, 6vw, 44px); width: auto; max-width: 78%; object-fit: contain; }
.prog__brand.has-logo img { height: 34px; width: auto; max-width: 160px; object-fit: contain; }
/* Diese beiden stehen auf dunklem Grund frei – helle Fläche dahinter,
   damit dunkel gezeichnete Logos nicht verschwinden. */
.gate__label.has-logo, .prog__brand.has-logo {
  display: inline-flex;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  background: #fff;
}
.prog__brand.has-logo { margin-bottom: 0.5rem; }

/* ---------- Marquee (Partner / Bilder) ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 0.5rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee + .marquee { margin-top: 0.75rem; }
.marquee__track {
  display: flex;
  gap: 0.75rem;
  width: max-content;
  animation: mq-left 60s linear infinite;
}
.marquee--right .marquee__track { animation-name: mq-right; }
@keyframes mq-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mq-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee--slow .marquee__track { animation-duration: 84s; }

.marquee--img .marquee__track { gap: 1rem; }
.mq-img {
  position: relative;
  flex: 0 0 auto;
  width: clamp(230px, 30vw, 340px);
  aspect-ratio: 3 / 2;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
}
.mq-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) contrast(1.03); }
.mq-img figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.6rem 0.95rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #E4E8ED;
  background: linear-gradient(180deg, transparent, rgba(8, 10, 13, 0.88));
}

/* ---------- Schritte ---------- */
.steps { counter-reset: s; display: grid; gap: clamp(0.9rem, 1.6vw, 1.25rem); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 940px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step {
  position: relative;
  padding: 1.5rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}
.step::before {
  counter-increment: s;
  content: "0" counter(s);
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: -0.03em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
  margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; }

/* ---------- Bewertungen ---------- */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--surface);
}
.rating-badge__score { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars .ic { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.rating-badge small { display: block; font-size: 0.78rem; color: var(--muted); line-height: 1.35; }

.review {
  flex: 0 0 auto;
  width: clamp(280px, 33vw, 380px);
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  white-space: normal;
}
.review .stars { margin-bottom: 0.85rem; }
.review blockquote { font-size: 0.95rem; color: var(--text-2); line-height: 1.6; }
.review figcaption { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }
.review figcaption b { color: var(--text); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.7rem; max-width: 62rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}
.faq details[open] { border-color: var(--line-strong); background: var(--surface-2); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.3rem;
  cursor: pointer;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 1.01rem;
  letter-spacing: -0.015em;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  margin-left: auto;
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-right: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq .faq__body { padding: 0 1.3rem 1.3rem; }
.faq .faq__body p + p { margin-top: 0.7rem; }
.faq .faq__body p, .faq .faq__body li { font-size: 0.95rem; }
.faq .faq__body ul { display: grid; gap: 0.4rem; margin-top: 0.6rem; }
.faq .faq__body li { display: flex; gap: 0.55rem; color: var(--text-2); }
.faq .faq__body li::before { content: "–"; color: var(--accent); }

/* ---------- Split-Bereich (Text + Panel) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.split--form { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.panel {
  background: linear-gradient(165deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.panel > h3 { margin-bottom: 0.4rem; }
.panel__note { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; line-height: 1.5; }

.figure-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}
.figure-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.figure-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 12, 15, 0.5));
  pointer-events: none;
}
.figure-frame--portrait img { aspect-ratio: 3 / 4; object-position: center 22%; }

/* KI-Kennzeichnung: dezentes Badge unten rechts auf KI-generierten Bildern
   (nicht auf dem Hero-Bild oder echten Portraitfotos verwenden). */
.ai-tag { position: relative; }
.ai-tag::before {
  content: "KI-generiert";
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: #fff;
  background: rgba(10, 12, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  backdrop-filter: blur(3px);
  pointer-events: none;
  z-index: 2;
}

/* ---------- Über mich (Inhaber) ---------- */
.about { align-items: center; }
.about__media { position: relative; }
.about__media .figure-frame { box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9); }
.about__badge {
  position: absolute;
  left: clamp(-0.5rem, -1vw, 1rem);
  bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.25rem 0.85rem 1rem;
  border-radius: var(--r-pill);
  background: rgba(14, 17, 21, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.85);
}
.about__badge .ic { color: var(--accent); }
.about__badge b {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 0.98rem;
  letter-spacing: -0.015em;
}
.about__badge span { display: block; font-size: 0.79rem; color: var(--muted); }
@media (max-width: 900px) {
  .about__badge { left: 1rem; bottom: 1rem; }
}
.about__quote {
  margin-top: 1.9rem;
  padding-left: 1.15rem;
  border-left: 2px solid var(--accent-line);
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--text);
}
/* ---------- Partner-Portrait (freigestellt auf Panel) ---------- */
.partner-figure {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: clamp(340px, 42vw, 480px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background:
    radial-gradient(115% 85% at 50% 8%, rgba(224, 167, 94, 0.11), transparent 62%),
    linear-gradient(165deg, var(--surface-2) 0%, var(--surface) 55%, #0E1216 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
}
.partner-figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(10, 12, 15, 0.55));
  pointer-events: none;
}
.partner-figure img {
  position: relative;
  z-index: 1;
  width: 84%;
  max-width: 400px;
  height: auto;
  filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.6));
}

.person-line {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}
.person-line .icon-badge { margin-bottom: 0; width: 42px; height: 42px; border-radius: 12px; }
.person-line b {
  display: block;
  font-family: "Archivo", sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.person-line span { display: block; font-size: 0.85rem; color: var(--muted); }

.facts { display: grid; gap: 0.6rem; margin-top: 1.7rem; }
.facts li {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  font-size: 0.93rem;
  color: var(--text-2);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.facts .facts__year {
  flex: 0 0 auto;
  min-width: 3.4rem;
  font-family: "Archivo", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.84rem;
  color: var(--text-2);
}
.tag .ic { width: 15px; height: 15px; color: var(--accent); }

/* ---------- Formulare ---------- */
.field { display: grid; gap: 0.4rem; margin-bottom: 0.95rem; }
.field label { font-size: 0.83rem; font-weight: 500; color: var(--text-2); }
.field .req { color: var(--accent); }
.input, .textarea, .select {
  width: 100%;
  padding: 0.82rem 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.input::placeholder, .textarea::placeholder { color: #6E7681; }
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent-line);
  background: rgba(255, 255, 255, 0.055);
}
.textarea { min-height: 118px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238B939E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.9rem center; padding-right: 2.4rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.95rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin-bottom: 1.1rem; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--accent); flex: 0 0 auto; }
.check a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }

.file-drop {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.file-drop:hover { border-color: var(--accent-line); color: var(--text-2); }
.file-drop .ic { color: var(--accent); }
.file-drop input { display: none; }

/* Honeypot für Netlify Forms – nur Bots füllen das aus */
.hp { display: none; }

.form-status {
  display: none;
  margin-top: 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  color: var(--accent-2);
}
.form-status.is-visible { display: block; }

/* ---------- Auswahl-Kacheln / Klickstrecke ---------- */
.picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 1.4vw, 1rem); }
@media (max-width: 860px) { .picker { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .picker { grid-template-columns: minmax(0, 1fr); } }

.pick {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.4rem 1.3rem;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
.pick:hover { transform: translateY(-3px); border-color: var(--line-strong); background: var(--surface-2); }
.pick .ic { color: var(--accent); width: 25px; height: 25px; }
.pick b { font-family: "Archivo", sans-serif; font-size: 1.03rem; letter-spacing: -0.015em; }
.pick span { font-size: 0.88rem; color: var(--muted); line-height: 1.5; }
.pick[aria-pressed="true"], .pick.is-active {
  border-color: var(--accent);
  background: linear-gradient(165deg, rgba(224, 167, 94, 0.1), var(--surface-2));
}
.pick[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
}

/* Fortschritt */
.wizard { max-width: 780px; }
.wizard__bar { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.9rem; }
.wizard__dot {
  flex: 1;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.09);
  overflow: hidden;
  position: relative;
}
.wizard__dot.is-done::after, .wizard__dot.is-current::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  animation: fill 0.5s var(--ease-out) both;
}
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.wizard__label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem; }
.wizard__step { display: none; }
.wizard__step.is-active { display: block; animation: stepin 0.4s var(--ease-out) both; }
@keyframes stepin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wizard__nav { display: flex; gap: 0.75rem; margin-top: 1.5rem; flex-wrap: wrap; }

/* ---------- Rechner ---------- */
.calc { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.4rem, 3vw, 2.6rem); align-items: center; }
@media (max-width: 860px) { .calc { grid-template-columns: minmax(0, 1fr); } }

.slider-row { margin-bottom: 1.8rem; }
.slider-row__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.85rem; }
.slider-row__head label { font-size: 0.88rem; color: var(--text-2); }
.slider-row__val { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1.22rem; letter-spacing: -0.02em; color: var(--text); }
.slider-row__scale { display: flex; justify-content: space-between; font-size: 0.74rem; color: #6E7681; margin-top: 0.5rem; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 22px;
  background: transparent;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 40%), rgba(255, 255, 255, 0.1) var(--fill, 40%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin-top: -8px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
}
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--accent); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); }

.calc__result { text-align: center; padding: clamp(1.5rem, 3vw, 2.2rem); }
.calc__result .wizard__label { margin-bottom: 0.5rem; }
.calc__rate {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.calc__rate span { font-size: 0.4em; letter-spacing: -0.01em; }
.calc__meta { font-size: 0.85rem; color: var(--muted); margin-top: 0.7rem; }
.disclaimer { font-size: 0.76rem; color: #6E7681; line-height: 1.55; margin-top: 1.4rem; max-width: 70ch; }

/* ---------- Timeline (Ganzheitliche Beratung) ---------- */
.timeline { position: relative; display: grid; gap: 0; padding-left: 2.4rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), var(--accent-line) 45%, var(--line));
}
.tl-item { position: relative; padding: 0 0 2.1rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -2.4rem;
  top: 6px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--accent-line);
}
.tl-item::after {
  content: "";
  position: absolute;
  left: calc(-2.4rem + 6px);
  top: 12px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.tl-item .tl-when { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.35rem; }
.tl-item h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.tl-item p { font-size: 0.94rem; }

/* ---------- Programme (Fördermittel) ---------- */
.prog {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.2vw, 1.9rem);
}
.prog__brand {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  background: var(--chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.25rem;
}
.prog__sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.3rem; }
.prog__list { display: grid; gap: 0.55rem; }
.prog__list li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.93rem; color: var(--text-2); padding-bottom: 0.55rem; border-bottom: 1px solid var(--line); }
.prog__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.prog__list .code {
  flex: 0 0 auto;
  font-family: "Archivo", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
  border-radius: 5px;
  padding: 1px 6px;
  margin-top: 2px;
}

.callout {
  display: flex;
  gap: 0.95rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--r);
  background: var(--accent-dim);
  border: 1px solid var(--accent-line);
}
.callout .ic { color: var(--accent); margin-top: 2px; }
.callout p { color: var(--text-2); font-size: 0.93rem; }
.callout b { color: var(--text); }

/* ---------- Abschluss-CTA ---------- */
.closer { position: relative; overflow: hidden; }
.closer__inner {
  position: relative;
  text-align: center;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.4rem, 4vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, var(--surface-2) 0%, var(--surface) 55%, #0E1216 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  isolation: isolate;
}
.closer__inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  left: 50%;
  top: -70%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 167, 94, 0.13), transparent 62%);
  pointer-events: none;
}
.closer h2 { max-width: 34ch; margin-inline: auto; text-wrap: balance; }
.closer p { max-width: 52ch; margin: 1.1rem auto 0; }
.closer .btn-row { justify-content: center; margin-top: 2.1rem; }
.closer__legal { font-size: 0.78rem; color: #6E7681; margin-top: 1.1rem; }
.closer__legal a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.closer__legal a:hover { color: var(--text); }
.closer__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2rem; margin-top: 2.2rem; font-size: 0.9rem; color: var(--muted); }
.closer__contact a { display: inline-flex; align-items: center; gap: 0.5rem; }
.closer__contact a:hover { color: var(--text); }
.closer__contact .ic { width: 16px; height: 16px; color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #080A0D; padding-block: clamp(3rem, 5vw, 4.5rem) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(1.75rem, 4vw, 3rem); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer img.f-logo { height: 36px; width: auto; margin-bottom: 1.15rem; }
.site-footer p { font-size: 0.9rem; }
.f-title { font-family: "Archivo", sans-serif; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 1.1rem; }
.f-list { display: grid; gap: 0.6rem; }
.f-list a, .f-list li { font-size: 0.9rem; color: var(--muted); }
.f-list a:hover { color: var(--text); }
.f-contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.f-contact .ic { width: 16px; height: 16px; color: var(--accent); margin-top: 3px; }
.f-contact a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: #6E7681;
}
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--text-2); }

/* ---------- Sticky-CTA mobil ---------- */
.sticky-cta {
  position: fixed;
  z-index: 90;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: none;
  gap: 0.5rem;
  padding: 0.6rem;
  border-radius: var(--r-pill);
  background: rgba(14, 17, 21, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 14px 40px -10px rgba(0, 0, 0, 0.8);
  transform: translateY(150%);
  transition: transform 0.4s var(--ease-out);
}
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn { flex: 1; }
.sticky-cta .btn--ghost { flex: 0 0 auto; width: 46px; --btn-pad-x: 0; }
@media (max-width: 720px) { .sticky-cta { display: flex; } body { padding-bottom: 0; } }

/* ---------- Legal-Seiten ---------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: 2.75rem; margin-bottom: 0.9rem; }
.prose h3 { font-size: 1.08rem; margin-top: 1.75rem; margin-bottom: 0.5rem; }
.prose p, .prose li { font-size: 0.96rem; color: var(--text-2); }
.prose p + p { margin-top: 0.85rem; }
.prose ul { display: grid; gap: 0.45rem; margin-top: 0.7rem; padding-left: 1.1rem; }
.prose ul li { list-style: disc; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose .todo { color: var(--accent); background: var(--accent-dim); border: 1px solid var(--accent-line); border-radius: 5px; padding: 1px 6px; font-size: 0.85em; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.07s; }
[data-reveal][data-delay="2"] { transition-delay: 0.14s; }
[data-reveal][data-delay="3"] { transition-delay: 0.21s; }
[data-reveal][data-delay="4"] { transition-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Helfer ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 1rem; top: -3rem;
  z-index: 200;
  padding: 0.65rem 1.1rem;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #14100A;
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.25rem; }
.mt-4 { margin-top: 3rem; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
