/* ============================================================
   StAN-Explorer · Apple-Style · gemeinsames Stylesheet (Mehrseiten-Site)
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
::-webkit-scrollbar { width: 0; height: 0; }

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --bg-alt2: #fbfbfd;
  --ink: #1d1d1f;
  --sub: #6e6e73;
  --line: rgba(0,0,0,.10);
  --line-soft: rgba(0,0,0,.06);
  --card: #ffffff;
  --dark: #1d1d1f;
  --radius: 22px;
  --radius-lg: 28px;
  --container: 1120px;
  --nav-h: 60px;
  /* org accent (FW default) */
  --accent: #c1121f;
  --accent-strong: #8f0d17;
  --accent-soft: #fdeaea;
  --accent-ondark: #ff6b74;
  --accent-tint: rgba(193,18,31,.10);
}
html[data-org="thw"] {
  /* RAL 5002 Ultramarinblau */
  --accent: #20214f;
  --accent-strong: #16173a;
  --accent-soft: #e9e9f2;
  --accent-ondark: #9a9cce;
  --accent-tint: rgba(32,33,79,.14);
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ---------- layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.container--narrow { max-width: 820px; }
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section--tight { padding: clamp(48px, 7vw, 96px) 0; }
.bg-alt { background: var(--bg-alt); }
.bg-alt2 { background: var(--bg-alt2); }
.dark { background: var(--dark); color: #f5f5f7; }

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 600;
  font-size: clamp(14px, 1.6vw, 17px); letter-spacing: -.01em;
  margin: 0 0 14px;
}
.eyebrow .material-symbols-outlined { font-size: 20px; }
.display {
  font-size: clamp(40px, 7.2vw, 80px); line-height: 1.03;
  font-weight: 700; letter-spacing: -.035em; margin: 0;
}
h1.h1, .h1 { font-size: clamp(34px, 5.5vw, 62px); line-height: 1.04; font-weight: 700; letter-spacing: -.03em; margin: 0; }
h2.h2, .h2 {
  font-size: clamp(30px, 4.6vw, 52px); line-height: 1.06;
  font-weight: 700; letter-spacing: -.025em; margin: 0;
}
.h3 {
  font-size: clamp(21px, 2.5vw, 30px); line-height: 1.15;
  font-weight: 640; letter-spacing: -.02em; margin: 0;
}
.h4 { font-size: 20px; font-weight: 640; letter-spacing: -.015em; margin: 0; }
.lead {
  font-size: clamp(18px, 2.1vw, 23px); line-height: 1.45;
  color: var(--sub); font-weight: 400; margin: 0;
}
.body { font-size: 17px; line-height: 1.55; color: var(--sub); margin: 0; }
.small { font-size: 14px; line-height: 1.5; color: var(--sub); margin: 0; }
.measure { max-width: 640px; }
.grad-accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* lange deutsche Komposita in Überschriften sauber umbrechen statt abschneiden */
.display, .h1, h1.h1, .h2, h2.h2, .h3, .h4 { overflow-wrap: break-word; hyphens: auto; }
.lead, .body, .small, .prose p, .prose li { overflow-wrap: break-word; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 17px; font-weight: 550; letter-spacing: -.01em;
  padding: 13px 26px; border-radius: 980px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, background .2s ease, opacity .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -8px var(--accent-tint); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-soft { background: var(--bg-alt); color: var(--ink); border-color: var(--line); }
.btn-soft:hover { background: #ececef; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f0f0f2; }
.btn .material-symbols-outlined { font-size: 20px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--accent); font-weight: 550; font-size: 17px; letter-spacing: -.01em;
}
.link-arrow .material-symbols-outlined { font-size: 20px; transition: transform .2s ease; }
.link-arrow:hover .material-symbols-outlined { transform: translateX(3px); }

/* ---------- pills / chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
  padding: 6px 12px; border-radius: 980px;
  background: var(--accent-soft); color: var(--accent-strong);
}
.chip .material-symbols-outlined { font-size: 16px; }

/* ---------- logo mask ---------- */
.logo-mask {
  display: block;
  -webkit-mask: url(../img/logo-stan-400.webp) left center / contain no-repeat;
  mask: url(../img/logo-stan-400.webp) left center / contain no-repeat;
  background-color: var(--accent);
}
.logo-mask--light { background-color: #fff; }

/* ---------- org-conditional ---------- */
html[data-org="fw"]  .for-thw { display: none !important; }
html[data-org="thw"] .for-fw  { display: none !important; }

/* ---------- header ---------- */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(251,251,253,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { font-size: 14px; color: var(--ink); opacity: .82; transition: opacity .15s, color .15s; white-space: nowrap; }
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; color: var(--accent); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* segmented control */
.segmented {
  display: inline-flex; align-items: center; gap: 2px;
  background: rgba(120,120,128,.14); padding: 2px; border-radius: 980px;
}
.seg-btn {
  display: inline-flex; align-items: center; gap: 5px;
  border: 0; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink);
  padding: 6px 12px; border-radius: 980px; transition: background .2s, color .2s;
}
.seg-btn .material-symbols-outlined { font-size: 17px; }
.org-btn[aria-pressed="true"], .bill-btn[aria-pressed="true"] { background: var(--accent); color: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); }

.hamburger { display: none; width: 40px; height: 40px; border: 0; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.hamburger .material-symbols-outlined { font-size: 26px; }

#mobile-menu { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(251,251,253,.96); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
#mobile-menu.open { display: block; }
#mobile-menu .mm-inner { padding: 14px 22px 22px; display: flex; flex-direction: column; gap: 4px; }
#mobile-menu a { font-size: 17px; padding: 12px 10px; border-radius: 12px; color: var(--ink); }
#mobile-menu a:hover { background: rgba(0,0,0,.04); }
#mobile-menu a.active { color: var(--accent); font-weight: 600; }

/* ---------- hero (home) ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(40px, 8vw, 90px)); padding-bottom: clamp(30px, 5vw, 60px); text-align: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% 0 auto 0; height: 620px; z-index: -1;
  background: radial-gradient(60% 70% at 50% 0%, var(--accent-tint), transparent 70%);
}
.hero .display { margin: 0 auto; max-width: 15ch; }
.hero .lead { margin: 22px auto 0; max-width: 620px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; margin-top: 26px; color: var(--sub); font-size: 15px; }
.hero-ticks span { display: inline-flex; align-items: center; gap: 6px; }
.hero-ticks .material-symbols-outlined { font-size: 18px; color: var(--accent); }
.hero-note { display: inline-flex; align-items: flex-start; gap: 10px; max-width: 660px; margin: 26px auto 0; padding: 13px 18px; border: 1px solid var(--line); background: var(--bg-alt2); border-radius: 16px; text-align: left; box-shadow: 0 10px 30px -22px rgba(0,0,0,.25); }
.hero-note .material-symbols-outlined { color: var(--accent); font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.hero-note p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--sub); }
.hero-note strong { color: var(--ink); font-weight: 640; }
.hero-note a { color: var(--accent); font-weight: 600; }
.hero-shot { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 940px; padding: 0 10px; }
.hero-shot img { width: 100%; border-radius: var(--radius-lg); box-shadow: 0 50px 90px -30px rgba(0,0,0,.30), 0 8px 24px -12px rgba(0,0,0,.18); border: 1px solid var(--line-soft); }

/* ---------- page hero (subpages) ---------- */
.page-hero { position: relative; padding-top: calc(var(--nav-h) + clamp(36px, 6vw, 76px)); padding-bottom: clamp(20px, 4vw, 44px); overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: -30% 0 auto 0; height: 460px; z-index: -1;
  background: radial-gradient(55% 60% at 30% 0%, var(--accent-tint), transparent 72%);
}
.page-hero .display, .page-hero .h1 { max-width: 20ch; }
.page-hero .lead { margin-top: 20px; max-width: 680px; }
.page-hero .hero-cta { justify-content: flex-start; }

/* ---------- breadcrumb ---------- */
.crumbs { font-size: 13px; color: var(--sub); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 16px; }
.crumbs a:hover { color: var(--ink); }
.crumbs .material-symbols-outlined { font-size: 15px; opacity: .6; }

/* ---------- trust strip ---------- */
.trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; padding: 26px 0; }
.trust span.i { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: #d2d2d7; }
.trust .material-symbols-outlined { font-size: 20px; color: var(--accent-ondark); }
.trust .sep { width: 1px; height: 16px; background: rgba(255,255,255,.18); }

/* ---------- generic section head ---------- */
.head { max-width: 720px; }
.head .lead { margin-top: 16px; }

/* ---------- teasers (home -> subpages) ---------- */
.teasers { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.teaser { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; transition: transform .25s ease, box-shadow .25s ease; }
.teaser:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(0,0,0,.2); }
.teaser .material-symbols-outlined.ico { font-size: 30px; color: var(--accent); }
.teaser h3 { margin: 4px 0 0; }
.teaser p { margin: 0; flex-grow: 1; }
.teaser .link-arrow { font-size: 15px; margin-top: 4px; }

/* ---------- feature rows ---------- */
.feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.feature + .feature { margin-top: clamp(48px, 8vw, 110px); }
.feature .kicker { font-size: 15px; font-weight: 650; color: var(--accent); letter-spacing: -.01em; margin: 0 0 14px; }
.feature .h3 { margin-bottom: 16px; }
.feature ul { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feature li { display: flex; gap: 10px; font-size: 16px; color: var(--ink); }
.feature li .material-symbols-outlined { font-size: 21px; color: var(--accent); flex-shrink: 0; }
.feature .shot img { border-radius: var(--radius); box-shadow: 0 30px 60px -24px rgba(0,0,0,.24); border: 1px solid var(--line-soft); }
.feature .shot.phone img { max-width: 300px; margin: 0 auto; }
.feature.reverse .txt { order: 2; }
.feature.reverse .shot { order: 1; }

/* problem band */
.problem-photo img { width: 100%; height: clamp(280px, 40vw, 460px); object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -28px rgba(0,0,0,.3); }
.problem-list { display: flex; flex-direction: column; gap: 20px; margin-top: 26px; }
.problem-list .row { display: flex; gap: 14px; }
.problem-list .material-symbols-outlined { font-size: 26px; color: var(--accent); flex-shrink: 0; }
.problem-list b { color: var(--ink); font-weight: 620; }
.problem-list p { margin: 0; font-size: 16px; color: var(--sub); }

/* ---------- bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(0,0,0,.22); }
.tile img { width: 100%; }
.tile .cap { padding: 20px 22px; }
.tile .cap p { margin: 6px 0 0; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }
.col-2 { grid-column: span 2; }
.tile.cover img { height: 176px; object-fit: cover; object-position: top; }
.tile.split { flex-direction: row; align-items: center; gap: 8px; padding: 18px; }
.tile.split img { width: 46%; border-radius: 14px; border: 1px solid var(--line-soft); }
.tile.split .cap { padding: 8px 10px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(0,0,0,.2); }
.step .num { width: 34px; height: 34px; border-radius: 11px; background: var(--accent); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.step img { border-radius: 12px; border: 1px solid var(--line-soft); margin-top: 4px; }

/* ---------- generic cards grid ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(0,0,0,.2); }
.card .material-symbols-outlined.ico { font-size: 30px; color: var(--accent); }
.card p { margin: 0; }

/* callout */
.callout { display: flex; gap: 12px; padding: 18px 20px; border-radius: 18px; background: var(--accent-soft); margin-top: 22px; }
.callout .material-symbols-outlined { color: var(--accent); font-size: 26px; flex-shrink: 0; }
.callout p { margin: 0; font-size: 15px; color: var(--ink); }
.callout b { font-weight: 640; }

/* ---------- comparison table ---------- */
.cmp-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.cmp { width: 100%; min-width: 680px; border-collapse: collapse; background: var(--card); }
.cmp th, .cmp td { padding: 16px 18px; text-align: center; font-size: 15px; }
.cmp thead th { background: var(--bg-alt); font-weight: 640; }
.cmp thead th:first-child, .cmp td:first-child { text-align: left; font-weight: 600; color: var(--ink); }
.cmp tbody tr:nth-child(even) { background: var(--bg-alt2); }
.cmp .yes { color: var(--accent); }
.cmp .no { color: #c4c4c8; }
.cmp .partial { color: var(--sub); font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.cmp .colmain { color: var(--accent-strong); font-weight: 700; }
.cmp .material-symbols-outlined { font-size: 22px; vertical-align: middle; }

/* ---------- pricing ---------- */
.price-toggle { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 28px 0 32px; }
.price-save { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; font-size: 15px; }
.price-save .material-symbols-outlined { font-size: 19px; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; align-items: stretch; }
.tier { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 16px;
  transition: transform .25s ease, box-shadow .25s ease; }
.tier:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(0,0,0,.2); }
.tier.pop { border-color: var(--accent); box-shadow: 0 22px 50px -26px var(--accent-tint); }
.tier .badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 980px; }
.tier .price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.tier .price .amt { font-size: 34px; font-weight: 750; letter-spacing: -.02em; white-space: nowrap; }
.tier .price .per { color: var(--sub); font-size: 15px; white-space: nowrap; }
.tier .price .tax { margin-left: auto; color: var(--sub); font-size: 14px; white-space: nowrap; }
.tier .netto { font-size: 14px; color: var(--sub); }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tier li { display: flex; gap: 8px; font-size: 14px; color: var(--sub); }
.tier li .material-symbols-outlined { font-size: 18px; color: var(--accent); }
.tier .btn { margin-top: auto; }
.tier-name { font-size: 20px; font-weight: 680; letter-spacing: -.01em; }
.tier-sub { font-size: 14px; color: var(--sub); margin-top: 3px; }

.individual { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; background: var(--bg-alt); border-radius: var(--radius); padding: 26px 28px; margin-top: 16px; }
.modules { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.mod { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--card); border: 1px solid var(--line-soft); border-radius: 16px; padding: 16px 18px; }
.mod .name { font-weight: 600; font-size: 16px; }
.mod .m-price { text-align: right; font-size: 13px; color: var(--sub); }
.mod .m-price b { color: var(--ink); font-weight: 660; font-size: 15px; }
.mod .inc { color: var(--accent); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 5px; }
.notes { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.notes .n { display: flex; gap: 8px; font-size: 14px; color: var(--sub); }
.notes .material-symbols-outlined { font-size: 20px; color: var(--accent); flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 340px minmax(0,1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; border: 0; background: transparent; cursor: pointer; font-family: inherit; text-align: left; color: var(--ink); }
.faq-btn .q { font-size: 18px; font-weight: 620; letter-spacing: -.01em; }
.faq-btn .material-symbols-outlined { color: var(--accent); transition: transform .25s ease; flex-shrink: 0; }
.faq-btn[aria-expanded="true"] .material-symbols-outlined { transform: rotate(180deg); }
.faq-ans { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq-ans.open { padding: 0 24px 24px; }
.faq-ans p { margin: 0; font-size: 16px; color: var(--sub); line-height: 1.6; }

/* ---------- prose (Ratgeber-Artikel) ---------- */
.prose { max-width: 720px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -.02em; margin-top: 44px; }
.prose h3 { font-size: 21px; font-weight: 640; letter-spacing: -.01em; margin-top: 32px; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; color: #33333a; }
.prose p, .prose ul, .prose ol { margin: 0; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
/* Info-Boxen der Rechtstexte (hatten vorher Tailwind-Hintergrund) wiederherstellen */
.prose [class*="bg-surface-container"], .prose [class*="rounded-xl"] { background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: 14px; padding: 16px 18px; }
.prose [class*="bg-surface-container"] p, .prose [class*="rounded-xl"] p { font-size: 15px; line-height: 1.55; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius); border: 1px solid var(--line-soft); margin: 28px 0; }
.prose .lead { color: var(--sub); }

/* article cards (Ratgeber-Hub) */
.articles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.article-card { display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 26px; transition: transform .25s ease, box-shadow .25s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(0,0,0,.2); }
.article-card .tag { font-size: 12px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.article-card h3 { margin: 0; }
.article-card p { margin: 0; flex-grow: 1; }

/* ---------- final CTA ---------- */
.cta { position: relative; overflow: hidden; text-align: center; color: #fff; }
.cta .cta-photo { position: absolute; inset: 0; z-index: -2; }
.cta .cta-photo img { width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,18,.72), rgba(10,12,18,.82)); }
.cta .h2 { max-width: 18ch; margin: 0 auto; }
.cta .lead { color: rgba(255,255,255,.9); margin: 20px auto 0; max-width: 620px; }
.cta-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.cta-ticks { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: center; margin-top: 26px; font-size: 14px; color: rgba(255,255,255,.9); }
.cta-ticks span { display: inline-flex; align-items: center; gap: 6px; }
.cta-ticks .material-symbols-outlined { font-size: 18px; }

/* ---------- footer ---------- */
footer.ft { background: var(--dark); color: rgba(245,245,247,.7); }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding: 60px 0 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.ft-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); margin: 0 0 14px; font-weight: 600; }
.ft-col a { display: block; font-size: 14px; padding: 5px 0; color: rgba(245,245,247,.72); transition: color .15s; }
.ft-col a:hover { color: #fff; }
.ft-col a.accent { color: var(--accent-ondark); font-weight: 600; }
.ft-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 22px 0; font-size: 14px; }
.ft-ig { display: inline-flex; align-items: center; gap: 8px; color: rgba(245,245,247,.8); padding: 8px 12px; border-radius: 12px; transition: background .2s, color .2s; }
.ft-ig:hover { color: #fff; background: rgba(255,255,255,.08); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- lightbox ---------- */
#lightbox { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(20,20,22,.9); backdrop-filter: blur(6px); padding: 20px; }
#lightbox.open { display: flex; }
#lightbox img { max-width: 94vw; max-height: 90vh; border-radius: 16px; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
#lightbox button { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.zoomable { cursor: zoom-in; }

/* ---------- back-to-top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px -8px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-strong); }
.to-top .material-symbols-outlined { font-size: 24px; }
@media (max-width: 640px) { .to-top { right: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .2s ease, visibility .2s ease; transform: none; } }

/* ---- Team-Auswahl (Overlay beim ersten Besuch) ---- */
#team-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15,17,24,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: tm-fade .25s ease; }
html[data-team-chosen] #team-modal { display: none; }
#team-modal .tm-card { background: var(--card); border-radius: var(--radius-lg); padding: clamp(26px,4vw,40px); max-width: 440px; width: 100%; text-align: center; box-shadow: 0 40px 90px -30px rgba(0,0,0,.55); animation: tm-rise .3s ease; }
#team-modal .tm-logo { height: 32px; width: 86px; margin: 0 auto 18px; display: block; }
#team-modal h2 { font-size: clamp(21px,3vw,25px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 8px; color: var(--ink); overflow-wrap: break-word; }
#team-modal .tm-sub { margin: 0 0 22px; color: var(--sub); font-size: 15px; line-height: 1.5; }
#team-modal .tm-opts { display: grid; gap: 10px; }
.tm-opt { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-alt2); font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease; }
.tm-opt:hover { transform: translateY(-2px); }
.tm-opt .material-symbols-outlined { font-size: 22px; }
.tm-opt[data-team="fw"]:hover { border-color: #c1121f; color: #c1121f; background: #fdeaea; }
.tm-opt[data-team="thw"]:hover { border-color: #20214f; color: #20214f; background: #e9e9f2; }
.tm-opt[data-team="sonstige"]:hover { border-color: var(--ink); }
@keyframes tm-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tm-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #team-modal, #team-modal .tm-card { animation: none; } .tm-opt:hover { transform: none; } }

/* focus */
:where(a, button, [tabindex]):focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* skip link */
.skip { position: absolute; left: -999px; top: 0; z-index: 300; }
.skip:focus { left: 12px; top: 12px; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .nav-links { display: none; }
  .hamburger { display: inline-flex; }
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .txt, .feature.reverse .shot { order: 0; }
  .faq-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tiers { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .notes { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .modules { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .teasers, .articles, .cards--3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .col-4, .col-3, .col-2 { grid-column: span 6; }
  .tile.split { flex-direction: row; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  header .nav-right > .btn-primary { display: none; }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .modules { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; }
  .teasers, .articles, .cards--3 { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; gap: 26px; }
  .btn { width: 100%; }
  .hero-cta .btn, .cta-cta .btn { width: 100%; }
  .page-hero .hero-cta { flex-direction: column; }
  .tile.split { flex-direction: column; align-items: stretch; }
  .tile.split img { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tile:hover, .step:hover, .card:hover, .tier:hover, .teaser:hover, .article-card:hover { transform: none; }
}
