/* Archivo, selbst ausgeliefert (kein Google-Fonts-Abruf). Variable Schrift 400–800. */
@font-face {
  font-family: Archivo; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Archivo; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/fonts/archivo-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #059669;
  --brand-deep: #047857;
  --brand-dark: #065f46;
  --brand-light: #10b981;
  --brand-tint: #ecfdf5;
  --brand-tint2: #d1fae5;
  --ink: #0f1a17;
  --ink-soft: #3d4a45;
  --muted: #4d5a55;
  --muted-2: #8a9791;
  --line: #eef2f0;
  --surface: #f4f7f5;
}
body[data-persona="trainer"] {
  --brand: #ea6a1e; --brand-dark: #9a3d0b; --brand-light: #fb9a4b;
  --brand-deep: #b64612; --brand-tint: #fff3ea; --brand-tint2: #fde3cd;
}
body[data-persona="leitung"] {
  --brand: #7c3aed; --brand-dark: #4c1d95; --brand-light: #a78bfa;
  --brand-deep: #6d28d9; --brand-tint: #f5f0ff; --brand-tint2: #e9deff;
}
body[data-persona="familie"] {
  --brand: #b57d05; --brand-dark: #7a5203; --brand-light: #e0a419;
  --brand-deep: #8a5f04; --brand-tint: #fdf8e8; --brand-tint2: #f8ecc4;
}
body[data-persona="verein"] {
  --brand: #1f5f8b; --brand-dark: #123f5e; --brand-light: #3d84b0;
  --brand-deep: #1a5075; --brand-tint: #eef4f9; --brand-tint2: #d3e3ef;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: Archivo, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { color: var(--brand); }
input, textarea { font-family: inherit; }
input:focus, textarea:focus { outline: none; border-color: var(--brand) !important; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }

/* Header */
header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  max-width: 1160px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; gap: 22px;
}
.logo { display: flex; align-items: center; gap: 9px; margin-right: auto; cursor: pointer; background: none; border: none; padding: 0; }
.logo svg { width: 26px; height: 26px; }
.logo span { font-weight: 800; font-size: 19px; letter-spacing: -0.4px; color: var(--ink); }
.nav-links { display: flex; gap: 22px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap;
}
.nav-links a:hover { color: var(--brand-deep); }
.nav-login {
  display: flex; align-items: center; gap: 7px; padding: 11px 16px; border: 1.5px solid var(--line);
  border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer; min-height: 44px;
  flex: 0 0 auto; white-space: nowrap; background: #fff; color: var(--ink); font-family: inherit;
}
.nav-login:hover { border-color: var(--brand); }
.nav-cta {
  background: var(--brand); color: #fff; padding: 12px 14px; border-radius: 12px;
  font-size: 14px; font-weight: 700; cursor: pointer; min-height: 44px; width: 212px;
  flex: 0 0 auto; border: none; text-align: center; display: flex; align-items: center;
  justify-content: center; white-space: nowrap; font-family: inherit;
}
.burger {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff;
  flex: 0 0 auto;
}
.mobile-menu {
  display: none; flex-direction: column; gap: 2px; padding: 10px 24px 16px;
  border-top: 1px solid var(--line); background: #fff;
}
.mobile-menu.open { display: flex; }
.mobile-menu a, .mobile-menu button.mobile-login {
  font: inherit; font-size: 15.5px; font-weight: 700; color: var(--ink); background: none;
  border: none; text-align: left; padding: 13px 0; cursor: pointer; border-bottom: 1px solid var(--surface);
  width: 100%;
}
.mobile-menu button.mobile-login { color: var(--brand-deep); border-bottom: none; }

/* Persona switcher bar */
.persona-switch { background: var(--brand-tint); border-bottom: 1px solid var(--brand-tint2); }
.persona-switch-inner {
  max-width: 1160px; margin: 0 auto; padding: 11px 24px; display: flex; gap: 10px; flex-wrap: wrap;
  align-items: center; font-size: 13.5px; color: var(--brand-deep); font-weight: 600;
}
.persona-switch-links { display: flex; gap: 14px; flex-wrap: wrap; }
.persona-switch-links a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--brand-deep); }

/* Login modal */
.login-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(15,26,23,0.55); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; padding: 24px; overflow-y: auto;
}
.login-overlay.open { display: flex; }
.login-box {
  background: #fff; border-radius: 26px; max-width: 920px; width: 100%; padding: 40px 36px 36px;
  box-shadow: 0 40px 100px -30px rgba(4,60,40,0.5); position: relative;
}
.login-close {
  position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 12px;
  border: none; background: var(--surface); cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.login-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.login-title { margin: 0; font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -0.8px; }
.login-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.login-card {
  text-decoration: none; color: #fff; border-radius: 22px; padding: 28px 22px; display: flex;
  flex-direction: column; gap: 14px; min-height: 220px; position: relative; overflow: hidden;
  transition: transform 0.18s;
}
.login-card:hover { transform: translateY(-4px); color: #fff; }
.login-card .icon-badge {
  width: 52px; height: 52px; border-radius: 15px; background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
}
.login-card .card-title { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; margin-top: auto; }
.login-card .card-sub { font-size: 13px; font-weight: 600; opacity: 0.85; margin-top: 5px; line-height: 1.4; }
.login-card .arrow { position: absolute; top: 24px; right: 22px; opacity: 0.75; }
.login-card.trainer { background: linear-gradient(150deg, #9a3d0b, #ea6a1e 65%, #fb9a4b); }
.login-card.verein { background: linear-gradient(150deg, #123f5e, #1f5f8b 65%, #3d84b0); }
.login-card.familie { background: linear-gradient(150deg, #7a5203, #b57d05 65%, #e0a419); }

/* Section shells */
.section-tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.pad-lg { padding-top: 78px; padding-bottom: 78px; }
.pad-md { padding-top: 70px; padding-bottom: 70px; }

/* Hero (home) */
.hero {
  max-width: 1160px; margin: 0 auto; padding: min(9vw, 76px) 24px 64px;
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center;
}
/* Hero (persona pages) */
.hero-persona {
  max-width: 1160px; margin: 0 auto; padding: 70px 24px 56px;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-deep); margin-bottom: 14px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--brand-tint);
  color: var(--brand-deep); padding: 7px 14px; border-radius: 999px; font-size: 12.5px;
  font-weight: 700; margin-bottom: 22px;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.hero h1 {
  margin: 0; font-size: clamp(34px, 4.3vw, 51px); font-weight: 800; line-height: 1.06;
  letter-spacing: -1.4px;
}
.hero-persona h1 { margin: 0; font-weight: 800; letter-spacing: -1.2px; }
.hero h1 .accent, .hero-persona h1 .accent { color: var(--brand); }
.hero-lead {
  font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 500px; margin: 22px 0 18px;
}
.hero-persona .hero-lead { max-width: 560px; margin: 22px 0 30px; }
.hero-sub {
  font-size: 14.5px; line-height: 1.65; color: var(--muted-2); max-width: 500px; margin: 0 0 30px;
  border-left: 3px solid var(--brand-tint2); padding-left: 14px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  font-family: inherit; border: none; cursor: pointer; border-radius: 14px; font-size: 15.5px;
  font-weight: 700; padding: 15px 26px; min-height: 44px; display: inline-flex; align-items: center;
  gap: 8px; text-decoration: none;
}
.btn:hover { color: inherit; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border: 2px solid var(--line); }
.btn-outline { background: #fff; color: var(--brand-deep); border: 2px solid var(--brand-tint2); }
.btn-ghost-dark { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.35); }
.btn-white-on-dark { background: #fff; color: var(--brand-dark); }
.btn-sub { font-weight: 500; opacity: 0.85; }

.hero-mock { position: relative; justify-self: center; }
.mock-card {
  width: 280px; background: #fff; border-radius: 28px;
  box-shadow: rgba(4,60,40,0.35) 0 30px 80px -30px, rgba(4,60,40,0.1) 0 2px 10px;
  overflow: hidden; border: 1px solid var(--line);
}
.mock-head {
  padding: 24px 20px 14px;
  background: linear-gradient(160deg, var(--brand-dark), var(--brand) 60%, var(--brand-light));
  color: #fff;
}
.mock-head .eyebrow2 { font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; margin: 0; }
.mock-head .title { font-size: 19px; font-weight: 800; margin-top: 2px; }
.mock-body { padding: 16px; }
.mock-label { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 9px; }
.mock-event {
  display: flex; gap: 11px; align-items: stretch; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 12px; box-shadow: rgba(4,60,40,0.05) 0 1px 3px; margin-bottom: 10px;
}
.mock-date {
  width: 40px; flex: 0 0 auto; background: var(--brand-tint); border-radius: 11px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.mock-date .num { font-size: 15px; font-weight: 800; color: var(--brand-deep); line-height: 1; }
.mock-date .mon { font-size: 8.5px; font-weight: 700; color: var(--brand-deep); text-transform: uppercase; opacity: 0.8; }
.mock-tag {
  font-size: 9.5px; font-weight: 700; text-transform: uppercase; color: var(--brand-deep);
  background: var(--brand-tint); padding: 2px 6px; border-radius: 6px; display: inline-block;
}
.mock-event .name { font-size: 13px; font-weight: 700; margin-top: 3px; }
.mock-event .meta { font-size: 10.5px; color: var(--muted-2); }
.mock-news { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 12px; padding: 11px; }
.mock-news .icon { width: 30px; height: 30px; border-radius: 9px; background: var(--brand-tint); flex: 0 0 auto; }
.mock-news .title2 { font-size: 12px; font-weight: 700; }
.mock-news .sub { font-size: 10px; color: var(--muted-2); font-weight: 600; }
.float-card {
  position: absolute; right: -40px; bottom: -28px; width: 150px; background: #fff;
  border-radius: 16px; box-shadow: rgba(4,60,40,0.3) 0 20px 50px -20px; border: 1px solid var(--line);
  padding: 13px;
}
.float-card .label { font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.float-card .row { display: flex; align-items: center; gap: 8px; }
.avatar {
  width: 26px; height: 26px; border-radius: 8px; background: var(--brand-tint); color: var(--brand-deep);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 10px; flex: 0 0 auto;
}
.float-card .name { font-size: 12px; font-weight: 700; }
.float-card .status { font-size: 10px; color: var(--brand-deep); font-weight: 700; }

/* Hero-Video (Startseite) */
.hero--video { grid-template-columns: 0.92fr 1.08fr; gap: 48px; }
.hero-video {
  position: relative; width: 100%; aspect-ratio: 16 / 9; background: #fff;
  border-radius: 22px; overflow: hidden; border: 1px solid var(--line);
  box-shadow: rgba(4,60,40,0.35) 0 30px 80px -30px, rgba(4,60,40,0.1) 0 2px 10px;
}
.hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-video-controls { position: absolute; right: 12px; bottom: 12px; }
.hv-btn {
  width: 36px; height: 36px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,26,23,0.62); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0.85; transition: opacity 0.15s, background 0.15s;
}
.hv-btn:hover, .hv-btn:focus-visible { opacity: 1; background: var(--brand-deep); }
.hv-btn:focus-visible { outline: 2px solid var(--brand-light); outline-offset: 2px; }
.hv-btn .i-play { display: none; }
.hero-video.is-paused .i-pause { display: none; }
.hero-video.is-paused .i-play { display: block; }

/* Generic small mock (persona hero visuals) */
.persona-mock { position: relative; justify-self: center; width: 100%; }
.persona-mock .deco { position: absolute; opacity: 0.3; }
.pm-card {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: rgba(4,60,40,0.28) 0 20px 50px -24px;
}
.pm-card.dark { background: var(--brand-dark); color: #fff; border: none; box-shadow: rgba(4,60,40,0.4) 0 20px 50px -22px; }

/* Reality section */
.reality-inner { max-width: 1160px; margin: 0 auto; padding: 78px 24px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; }
h2.section-title { margin: 0; font-size: clamp(26px, 3.1vw, 36px); font-weight: 800; letter-spacing: -1px; line-height: 1.12; }
.reality-inner p.body-text, p.body-text { margin: 0 0 22px; font-size: 16.5px; line-height: 1.68; color: var(--ink-soft); }
.callout {
  margin: 0; font-size: 17px; line-height: 1.6; font-weight: 700; color: var(--brand-deep);
  background: var(--brand-tint); padding: 18px 20px; border-radius: 16px;
}

/* Card grids */
.grid2, .grid3, .grid4 { display: grid; gap: 20px; }
.grid2 { grid-template-columns: 1fr 1fr; }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px;
}
.card h3 { margin: 0 0 10px; font-size: 17px; font-weight: 800; letter-spacing: -0.25px; line-height: 1.3; }
.card p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--muted); }

.persona-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.persona-card {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; cursor: pointer;
  box-shadow: rgba(4,60,40,0.04) 0 1px 3px; display: flex; gap: 20px; align-items: center; min-height: 44px;
  font: inherit; text-align: left; width: 100%; text-decoration: none; color: inherit;
}
.persona-card:hover { border-color: #d9e2dd; box-shadow: rgba(4,60,40,0.18) 0 10px 30px -14px; color: inherit; }
.persona-card .kicker { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.persona-card .copy { font-size: 18px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.35; color: var(--ink); }
.persona-card svg { flex: 0 0 auto; }

/* Apps grid (home) */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.app-visual { position: relative; height: 168px; }
.app-visual .deco { position: absolute; left: 88px; top: 20px; width: 64px; height: 64px; opacity: 0.3; }
.app-chip {
  position: absolute; width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 11px; box-shadow: rgba(4,60,40,0.28) 0 16px 40px -20px;
}
.app-chip.tl { left: 0; top: 0; }
.app-chip.br { right: 0; bottom: 0; box-shadow: none; }
.app-chip .k { font-size: 9px; font-weight: 700; text-transform: uppercase; color: var(--brand-deep); background: var(--brand-tint); padding: 2px 6px; border-radius: 6px; display: inline-block; }
.app-chip .v { font-size: 12px; font-weight: 700; margin-top: 5px; }
.app-chip.dark { background: #065f46; color: #fff; box-shadow: none; }
.app-chip.dark .k { opacity: 0.85; background: none; padding: 0; font-size: 9.5px; }
.app-chip.dark .v { font-size: 15px; font-weight: 800; margin-top: 2px; }
.app-chip.people { display: flex; align-items: center; gap: 8px; }
.app-chip.people .name { font-size: 11.5px; font-weight: 700; }
.app-chip.people .name small { font-weight: 600; color: var(--muted-2); }
.app-title { margin-top: 14px; font-size: 15px; font-weight: 800; }
.app-sub { font-size: 13.5px; color: var(--muted-2); }
.app-cell {
  display: block; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 24px; box-shadow: rgba(4,60,40,0.04) 0 1px 3px;
}
.app-cell:hover { border-color: #d9e2dd; box-shadow: rgba(4,60,40,0.18) 0 10px 30px -14px; color: inherit; }
.app-benefit { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.app-more { margin-top: 14px; display: flex; gap: 7px; align-items: center; font-size: 14px; font-weight: 700; color: var(--brand-deep); }

/* Vorher/Nachher-Diagramm (home) */
.ba-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.ba-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px;
  display: flex; flex-direction: column; box-shadow: rgba(4,60,40,0.05) 0 1px 4px;
}
.ba-panel.after { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.ba-label { font-size: 11.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.ba-panel.after .ba-label { color: rgba(255,255,255,0.65); }
.ba-rows { display: flex; flex-direction: column; }
.ba-item { display: flex; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px dashed #e7ece9; font-size: 14.5px; flex-wrap: wrap; }
.ba-item:last-child { border-bottom: none; }
.ba-item .sys { font-weight: 800; flex: 0 0 auto; }
.ba-item .to { color: var(--muted-2); flex: 0 0 auto; }
.ba-item .data { color: var(--muted); font-weight: 600; }
.ba-caption { margin-top: auto; padding-top: 18px; font-size: 16px; font-weight: 800; letter-spacing: -0.2px; }
.ba-arrow {
  align-self: center; display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; background: var(--brand-tint); color: var(--brand-deep); flex: 0 0 auto;
}
.ba-hub { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; flex: 1; }
.ba-node {
  background: #fff; color: var(--brand-dark); border-radius: 16px; padding: 16px 14px; text-align: center;
  font-weight: 800; font-size: 14px; line-height: 1.3; max-width: 140px;
}
.ba-node small { display: block; font-size: 11.5px; font-weight: 700; color: var(--brand-deep); opacity: 0.75; margin-top: 4px; }
.ba-spokes { display: flex; flex-direction: column; gap: 10px; }
.ba-spoke { display: flex; align-items: center; gap: 0; }
.ba-spoke .ln { width: 24px; height: 2px; background: rgba(255,255,255,0.4); border-radius: 2px; flex: 0 0 auto; }
.ba-spoke .chip {
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28); border-radius: 12px;
  padding: 9px 14px; font-size: 13.5px; font-weight: 700;
}
.ba-closing { margin: 30px auto 0; max-width: 620px; text-align: center; font-size: 17.5px; font-weight: 800; letter-spacing: -0.3px; color: var(--brand-deep); }

/* Schritte-Kette (Trainer-Einstieg, Sportliche Entwicklung) */
.steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px;
  font-size: 14px; font-weight: 700; box-shadow: rgba(4,60,40,0.05) 0 1px 3px; white-space: nowrap;
}
.step-arrow { color: var(--muted-2); flex: 0 0 auto; display: flex; }

/* Preis-Teaser (home) */
.price-teaser { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.price-note { margin: 18px 0 26px; font-size: 14px; line-height: 1.6; color: var(--muted-2); }

/* Gründer-Block (home) */
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.founder-photos { display: flex; gap: 16px; }
.founder-photo {
  flex: 1; aspect-ratio: 3 / 3.4; border-radius: 20px; border: 1px dashed var(--brand-tint2);
  background: linear-gradient(160deg, #fff, var(--brand-tint));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.founder-photo .circle {
  width: 62px; height: 62px; border-radius: 50%; background: var(--brand-tint2); color: var(--brand-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 22px;
}
.founder-photo .who { font-size: 14px; font-weight: 800; color: var(--ink); }
.founder-photo .note { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.brand-story {
  margin-top: 24px; border-left: 3px solid var(--brand); background: var(--brand-tint);
  border-radius: 0 16px 16px 0; padding: 18px 20px;
}
.brand-story .word { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; color: var(--brand-dark); }
.brand-story .meaning { font-size: 13px; font-weight: 700; color: var(--brand-deep); opacity: 0.8; margin-top: 2px; }
.brand-story .roles { margin-top: 10px; font-size: 14.5px; font-weight: 700; color: var(--ink-soft); }

/* Trust bar (short, home) */
.trust { background: var(--brand-dark); color: #fff; }
.trust-inner {
  max-width: 1160px; margin: 0 auto; padding: 26px 24px; display: flex; gap: 14px 34px;
  flex-wrap: wrap; justify-content: center; font-size: 14px; font-weight: 600;
}
.trust-inner span { display: flex; gap: 9px; align-items: center; }

/* Trust bar (verein, extended) */
.trust-box { background: var(--brand-tint); border: 1px solid var(--brand-tint2); border-radius: 22px; padding: 26px 28px; }
.trust-box .grid3 { gap: 14px 28px; }
.trust-box .grid2 { gap: 14px 28px; }
.pflicht-title { margin: 0 0 18px; font-size: 18px; font-weight: 800; letter-spacing: -0.3px; color: var(--ink); }
.topic-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--brand-tint2); }
.topic-nav a { font-size: 13.5px; font-weight: 700; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--brand-tint2); color: var(--brand-deep); text-decoration: none; }
.topic-nav a:hover { border-color: var(--brand); }
.topic { scroll-margin-top: 72px; }
.topic-lead { margin: 0 0 30px; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 660px; }
.home-split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.site-shot { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: rgba(4,60,40,0.16) 0 18px 40px -18px; }
.site-shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.site-shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d9e2dd; }
.site-shot-bar em { margin-left: 10px; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-shot img { display: block; width: 100%; height: auto; }
.site-shot figcaption { padding: 10px 14px; font-size: 12.5px; color: var(--muted-2); border-top: 1px solid var(--line); }
.compare-table { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.cmp-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; padding: 13px 20px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; }
.cmp-row:first-child { border-top: none; }
.cmp-head { background: var(--surface); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.cmp-what { font-weight: 700; }
.cmp-old { color: var(--muted); }
.cmp-new { color: var(--brand-deep); font-weight: 700; }
.cmp-total { background: var(--brand-tint); font-weight: 800; }
.cmp-total .cmp-old { color: var(--ink); font-weight: 800; }
@media (max-width: 640px) {
  .cmp-head { display: none; }
  .cmp-row { grid-template-columns: 1fr 1fr; gap: 4px 14px; padding: 12px 16px; }
  .cmp-what { grid-column: 1 / -1; }
  .cmp-old::before, .cmp-new::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
}
.extra-box { margin-top: 32px; border-style: dashed; }
.extra-box > p { margin: 0 0 4px; }
.referral-note { margin: 24px 0 0; }
.anim-teaser { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center; max-width: 860px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 22px; color: inherit; text-decoration: none; box-shadow: rgba(4,60,40,0.08) 0 18px 50px -26px; }
.anim-teaser:hover { border-color: #d9e2dd; color: inherit; }
.anim-teaser-img { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 14px; background: var(--surface); }
.anim-teaser-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.anim-teaser-play { position: absolute; right: 10px; bottom: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); display: flex; align-items: center; justify-content: center; }
.anim-teaser-text { display: flex; flex-direction: column; gap: 8px; }
.anim-teaser-text .eyebrow { margin: 0; }
.anim-teaser-title { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.25; }
.anim-teaser-desc { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.anim-teaser-more { font-size: 14.5px; font-weight: 700; color: var(--brand-deep); }
@media (max-width: 640px) {
  .anim-teaser { grid-template-columns: 96px 1fr; gap: 16px; padding: 14px; }
  .anim-teaser-title { font-size: 17px; }
  .anim-teaser-desc { display: none; }
}
.trust-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 700; color: var(--brand-deep); line-height: 1.45; }
.trust-item svg { flex: 0 0 auto; margin-top: 2px; }

/* Quote */
.quote-block { max-width: 900px; margin: 0 auto; padding: 70px 24px; text-align: center; }
.quote-block p { margin: 0; font-size: clamp(21px, 2.6vw, 29px); font-weight: 700; line-height: 1.4; letter-spacing: -0.5px; }
.quote-tag { margin-top: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-deep); }

/* Ehrenamt checklist */
.check-list { display: grid; gap: 14px 40px; }
.check-row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f1f4f2; }
.check-row svg { flex: 0 0 auto; margin-top: 3px; }
.check-row .t { font-size: 14.5px; font-weight: 700; }
.check-row .d { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* Cross-link box */
.cross-link {
  background: var(--brand-tint); border: 1px solid var(--brand-tint2); border-radius: 20px; padding: 26px 28px;
  display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center;
}
.cross-link .msg { font-size: 16px; font-weight: 700; line-height: 1.45; color: var(--brand-deep); }
.cross-link .actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cross-link .actions a, .cross-link .actions button {
  background: #fff; border: 1px solid var(--brand-tint2); color: var(--brand-deep); padding: 12px 18px;
  border-radius: 12px; font-size: 14px; font-weight: 700; cursor: pointer; min-height: 44px;
  display: flex; align-items: center; font-family: inherit;
}

/* CTA banner (dark) */
.cta-banner { background: var(--brand-dark); border-radius: 26px; padding: clamp(30px, 5vw, 54px); color: #fff; }
.cta-banner h2 { margin: 0 0 10px; font-size: clamp(25px, 3vw, 34px); font-weight: 800; letter-spacing: -0.9px; line-height: 1.14; max-width: 620px; }
.cta-banner p { margin: 0 0 26px; font-size: 16px; opacity: 0.8; max-width: 560px; }
.cta-banner .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* FAQ accordion */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.faq-item summary { display: flex; gap: 14px; align-items: center; font-size: 16px; font-weight: 700; min-height: 44px; }
.faq-item summary .q { flex: 1; }
.faq-item summary svg { flex: 0 0 auto; transition: transform 0.2s; }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item p { margin: 10px 0 4px; font-size: 15px; line-height: 1.65; color: var(--muted); }
.faq-item .note { margin: 12px 0 4px; font-size: 13.5px; line-height: 1.6; color: var(--muted-2); font-style: italic; border-left: 2px solid var(--line); padding-left: 12px; }

/* News list (familie) */
.news-list { display: flex; flex-direction: column; gap: 12px; }
.news-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; gap: 12px; }
.news-item svg { flex: 0 0 auto; margin-top: 3px; }
.news-item span { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* Pricing */
.pricing-table { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.pricing-head, .pricing-row {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; padding: 15px 22px; align-items: center;
}
.pricing-head { padding: 14px 22px; background: var(--surface); border-bottom: 1px solid var(--line); }
.pricing-head span { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.pricing-row { border-bottom: 1px solid #f1f4f2; }
.pricing-row .size { font-size: 15px; font-weight: 700; }
.pricing-row .amount { font-size: 15px; font-weight: 700; color: var(--brand-deep); }
.pricing-row .amount.open { font-size: 14px; color: var(--muted-2); font-style: italic; border: 1px dashed #d9e2dd; border-radius: 8px; padding: 5px 10px; justify-self: start; }

/* Abrechnungs-Umschalter jährlich/monatlich */
.billing-toggle { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.billing-toggle button {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: none; border-radius: 999px;
  background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap;
}
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(4,60,40,0.16); }
.billing-badge { font-size: 11.5px; font-weight: 800; color: var(--brand-deep); background: var(--brand-tint2); padding: 3px 8px; border-radius: 999px; }
.billing-savings { margin: 14px 0 0; padding: 10px 14px; background: var(--brand-tint); border-radius: 12px; font-size: 13.5px; line-height: 1.55; font-weight: 600; color: var(--brand-deep); }
.billing-savings:empty { display: none; }
/* .card-Präfix: .card p (Grundstil der Karten) ist sonst spezifischer. */
.card .price-card-main { font-size: 24px; font-weight: 800; color: var(--brand-deep); margin-bottom: 2px; }
.price-card-unit { font-size: 14px; font-weight: 700; color: var(--muted-2); }
.price-was { font-size: 16px; font-weight: 700; color: var(--muted-2); margin-right: 7px; }
.card .price-card-sub { font-size: 13px; color: var(--muted-2); }
.price-card-sub strong { color: var(--brand-deep); }

.calc-box { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px,3.5vw,32px); box-shadow: rgba(4,60,40,0.15) 0 10px 40px -20px; }
.calc-box label { display: block; font-size: 13px; font-weight: 700; color: #6b7c75; margin-bottom: 12px; }
.calc-inputs { display: flex; align-items: center; gap: 16px; }
.zr-range { -webkit-appearance: none; appearance: none; height: 6px; border-radius: 999px; background: #e7ece9; outline: none; flex: 1; }
.zr-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(4,60,40,0.35); cursor: pointer; }
.zr-range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(4,60,40,0.35); cursor: pointer; }
.calc-number { width: 104px; font-size: 19px; font-weight: 800; text-align: right; padding: 10px 12px; border-radius: 12px; border: 2px solid #e7ece9; color: var(--ink); }
.calc-rows { margin-top: 24px; padding-top: 16px; border-top: 1.5px dashed #e7ece9; }
.calc-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 5px 0; color: #6b7c75; }
.calc-row .val { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--ink); font-weight: 600; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 16px; border-top: 2px solid var(--ink); }
.calc-total .label { font-size: 14px; font-weight: 700; color: #6b7c75; }
.calc-total .amount { font-size: 30px; font-weight: 800; color: var(--brand-deep); font-variant-numeric: tabular-nums; }
.calc-avg { margin: 10px 0 0; font-size: 12.5px; color: var(--muted-2); }
.calc-individual-note { margin-top: 24px; padding: 16px 18px; background: var(--brand-tint); border-radius: 14px; font-size: 14.5px; line-height: 1.6; color: var(--brand-deep); font-weight: 600; }
.calc-footnote { margin: 18px 0 0; padding: 12px 14px; background: var(--surface); border-radius: 10px; font-size: 12.5px; color: #6b7c75; line-height: 1.5; }

/* Contact page */
.contact-page { max-width: 1160px; margin: 0 auto; padding: 80px 24px 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact-info-row { display: flex; gap: 12px; align-items: center; }
.contact-info-row span { font-size: 14px; font-weight: 600; }
.contact-info-row a { color: inherit; text-decoration: none; }
.contact-info-row a:hover { color: var(--brand-deep); text-decoration: underline; }
.contact-info-address { align-items: flex-start; }
.contact-info-address svg { flex-shrink: 0; margin-top: 2px; }
.contact-info-address span { line-height: 1.55; }
.contact-form-box { background: var(--surface); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--muted); display: block; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; border: 2px solid #e7ece9; border-radius: 12px; font-size: 14.5px;
  background: #fff; min-height: 44px; font-family: inherit; color: var(--ink);
}
.field textarea { resize: vertical; min-height: unset; }
.submit-btn {
  background: var(--brand); color: #fff; border: none; padding: 15px; border-radius: 12px;
  font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 4px; min-height: 44px; font-family: inherit;
}
.submit-btn:hover { background: var(--brand-deep); }
.submit-btn:disabled { opacity: 0.6; cursor: default; }
.form-msg { padding: 13px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; display: none; gap: 8px; align-items: center; }
.form-msg.success { display: flex; background: var(--brand-tint); color: var(--brand-deep); }
.form-msg.error { display: flex; background: rgba(220,38,38,0.08); color: #b91c1c; }

/* Simple + legal pages */
.simple-page { max-width: 760px; margin: 0 auto; padding: 80px 24px 110px; }
.simple-page h1 { margin: 0 0 18px; font-size: clamp(28px,3.4vw,40px); font-weight: 800; letter-spacing: -1.1px; line-height: 1.1; }
.simple-page p { margin: 0 0 16px; font-size: 16.5px; line-height: 1.68; color: var(--muted); }
.simple-page h2 { margin: 38px 0 14px; font-size: 22px; font-weight: 800; letter-spacing: -0.45px; line-height: 1.25; color: var(--ink); }

/* Foto-Platzhalter (Über-Seite) */
.photo-duo { display: flex; gap: 16px; margin: 32px 0 36px; max-width: 460px; }
.photo-wide {
  aspect-ratio: 16 / 7; border-radius: 20px; border: 1px dashed var(--brand-tint2);
  background: linear-gradient(160deg, #fff, var(--brand-tint));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  margin: 30px 0 34px; text-align: center; padding: 16px;
}
.photo-wide .cap { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.photo-wide .note { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.legal-page { max-width: 760px; margin: 0 auto; padding: 80px 24px 120px; }
.legal-page h1 { margin: 0 0 14px; font-size: clamp(28px,3.4vw,40px); font-weight: 800; letter-spacing: -1.1px; line-height: 1.1; }
.legal-page > p.legal-sub { margin: 0 0 22px; font-size: 16.5px; line-height: 1.68; color: var(--muted); }
.legal-notice { border-left: 3px solid var(--ink); padding: 2px 0 2px 18px; margin-bottom: 16px; }
.legal-notice .tag { font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 7px; }
.legal-notice p { margin: 0; font-size: 14px; line-height: 1.62; color: var(--muted); }
.legal-notice strong { color: var(--brand-deep); font-weight: 700; }
.legal-stamp { margin: 0 0 36px; font-size: 13px; color: var(--muted-2); font-weight: 600; }
.legal-page h2 { margin: 40px 0 12px; font-size: 21px; font-weight: 800; letter-spacing: -0.4px; color: var(--ink); line-height: 1.25; }
.legal-page h3 { margin: 22px 0 10px; font-size: 16px; font-weight: 800; color: var(--ink); }
.legal-page p.legal-p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.legal-page p.legal-p strong { color: var(--brand-deep); font-weight: 700; }
.legal-page ul { margin: 0 0 16px; padding-left: 22px; display: flex; flex-direction: column; gap: 7px; }
.legal-page li { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.legal-page li strong { color: var(--brand-deep); font-weight: 700; }
.legal-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 6px 0 22px; }
.legal-table-wrap table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.legal-table-wrap th {
  text-align: left; padding: 11px 14px; font-size: 11.5px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--ink); background: var(--surface); border-bottom: 1px solid var(--line);
}
.legal-table-wrap td { padding: 11px 14px; color: var(--muted); border-bottom: 1px solid var(--surface); vertical-align: top; line-height: 1.5; }
.legal-table-wrap td strong { color: var(--brand-deep); font-weight: 700; }
.legal-anlage { margin: 52px 0 18px; padding-top: 26px; border-top: 2px solid var(--ink); font-size: 15.5px; font-weight: 800; letter-spacing: 0.01em; color: var(--ink); line-height: 1.4; }
.legal-terms { display: flex; flex-direction: column; gap: 14px; margin: 6px 0 22px; }
.legal-terms .term { font-size: 13.5px; font-weight: 800; color: var(--ink); margin-bottom: 3px; }
.legal-terms .body { font-size: 14.5px; line-height: 1.62; color: var(--muted); }
.legal-signature { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin: 20px 0 10px; }
.legal-signature .line { border-bottom: 1px solid var(--ink); height: 48px; }
.legal-signature .label { font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* Sticky mobile CTA */
[data-sticky] { display: none; }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.sticky-cta a, .sticky-cta button {
  background: var(--brand); color: #fff; padding: 15px; border-radius: 14px; font-size: 16px; font-weight: 700;
  text-align: center; cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: center;
  width: 100%; border: none; font-family: inherit;
}

/* Footer */
footer.site-footer { border-top: 1px solid var(--line); background: #f9fbfa; }
.footer-grid { max-width: 1160px; margin: 0 auto; padding: 52px 24px 30px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.footer-brand svg { width: 22px; height: 22px; }
.footer-brand span { font-weight: 800; font-size: 16px; letter-spacing: -0.3px; }
.footer-tagline { margin: 0; font-size: 13px; color: var(--muted-2); max-width: 230px; line-height: 1.6; }
.footer-col-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 11px; list-style: none; }
.footer-links a { font-size: 13.5px; color: var(--muted); }
.footer-links a:hover { color: var(--brand-deep); }
.footer-bottom {
  max-width: 1160px; margin: 0 auto; padding: 20px 24px 30px; border-top: 1px solid var(--line);
  display: flex; gap: 12px 24px; flex-wrap: wrap; justify-content: space-between; font-size: 12.5px; color: var(--muted-2);
}

@media (max-width: 1060px) {
  .nav-links, .nav-cta, .nav-login { display: none !important; }
  .burger { display: flex !important; }
  [data-sticky] { display: flex !important; }
  body[data-persona] { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 900px) {
  .hero, .hero-persona, .reality-inner, .persona-grid, .grid2, .grid3, .grid4, .home-split,
  .footer-grid, .contact-page, .cross-link,
  .ba-grid, .price-teaser, .founder-grid, .apps-grid { grid-template-columns: 1fr !important; }
  .hero-mock, .persona-mock { display: none !important; }
  .hero--video { gap: 36px; }
  .hero-video { border-radius: 16px; }
  .ba-arrow { transform: rotate(90deg); margin: 0 auto; }
  .step { white-space: normal; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
  .contact-page { padding: 64px 20px; }
  .login-grid { grid-template-columns: 1fr !important; }
}

/* Animations-Showcase (funktionen.html) */
.anim-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-chip {
  font-family: inherit; cursor: pointer; background: #fff; border: 1.5px solid var(--line);
  color: var(--muted); border-radius: 999px; padding: 11px 20px; font-size: 14px; font-weight: 700;
  min-height: 44px; display: inline-flex; align-items: center;
}
.filter-chip:hover { border-color: var(--brand-tint2); color: var(--brand-deep); }
.filter-chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.anim-carousel { position: relative; }
.anim-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding: 6px 4px 26px;
}
.anim-track::-webkit-scrollbar { display: none; }
.anim-slide { flex: 0 0 auto; scroll-snap-align: center; width: min(420px, 86vw); }
.anim-slide[hidden] { display: none; }
.anim-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  box-shadow: rgba(4,60,40,0.08) 0 18px 50px -22px;
}
.anim-stage {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: var(--surface);
}
.anim-canvas {
  position: absolute; left: 0; top: 0; width: 1080px; height: 1920px;
  transform-origin: 0 0; overflow: hidden; font-family: Archivo, system-ui, sans-serif;
}
.anim-playpause {
  position: absolute; right: 14px; bottom: 14px; z-index: 5; width: 44px; height: 44px;
  border-radius: 999px; border: none; cursor: pointer; background: rgba(15,26,23,0.55);
  color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px);
}
.anim-playpause:hover { background: rgba(15,26,23,0.75); }
.anim-meta { padding: 20px 22px 22px; }
.anim-meta h3 { margin: 0 0 8px; font-size: 17.5px; font-weight: 800; letter-spacing: -0.3px; line-height: 1.3; }
.anim-meta p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.anim-meta .anim-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.anim-meta .anim-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--brand-tint); color: var(--brand-deep); border-radius: 6px; padding: 4px 8px;
}
.anim-nav {
  position: absolute; top: 38%; z-index: 6; width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; display: flex;
  align-items: center; justify-content: center; box-shadow: rgba(4,60,40,0.18) 0 10px 26px -12px;
}
.anim-nav:disabled { opacity: 0.35; cursor: default; }
.anim-nav.prev { left: -12px; }
.anim-nav.next { right: -12px; }
.anim-empty {
  display: none; background: var(--surface); border: 1px dashed var(--line); border-radius: 24px;
  padding: 46px 30px; text-align: center; font-size: 15px; font-weight: 600; color: var(--muted-2);
}
.anim-carousel.is-empty .anim-empty { display: block; }
.anim-carousel.is-empty .anim-track, .anim-carousel.is-empty .anim-nav { display: none; }
@media (max-width: 640px) {
  .anim-nav { display: none; }
  .anim-slide { width: min(360px, 88vw); }
}

/* Carousel-Navigationsmodul (Dots + Mini-Pfeile, v. a. mobil) */
.anim-dots-bar { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 2px; }
.anim-dots { display: flex; gap: 8px; align-items: center; }
.anim-dot {
  width: 9px; height: 9px; border-radius: 999px; border: none; padding: 0;
  background: #d3ddd8; cursor: pointer; transition: width 0.25s, background 0.25s;
}
.anim-dot.active { width: 28px; background: var(--brand); }
.anim-dot-arrow {
  width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; display: none; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: rgba(4,60,40,0.08) 0 4px 14px -6px; flex: 0 0 auto;
}
.anim-dot-arrow:disabled { opacity: 0.35; cursor: default; }
.anim-swipe-hint {
  display: none; margin: 12px 0 0; text-align: center; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.04em; color: var(--muted-2); transition: opacity 0.4s;
}
.anim-swipe-hint.gone { opacity: 0; }
.anim-carousel.is-empty .anim-dots-bar, .anim-carousel.is-empty .anim-swipe-hint { display: none !important; }
.anim-dots-bar[hidden] { display: none; }
@media (max-width: 640px) {
  .anim-dot-arrow { display: flex; }
  .anim-swipe-hint { display: block; }
  .anim-dots-bar { margin-top: 0; }
}
