/* ==========================================================================
   appac Website – Design-System
   Marke: Teal #16A788 → Cyan #14A4BF · Outfit (Display) + Inter (Text), lokal gehostet
   ========================================================================== */

@font-face { font-family: 'Inter'; src: url('../fonts/inter-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/outfit-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Outfit', 'Inter', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --brand: #0f9a82;
  --brand-2: #14a4bf;
  --brand-ink: #0a7463;
  --brand-soft: #e2f5f0;
  --brand-soft-2: #c9ece3;
  --grad: linear-gradient(135deg, #16a788 0%, #14a4bf 100%);
  --grad-text: linear-gradient(100deg, #0f9a82 10%, #1497b3 90%);
  --glow: 0 10px 30px -10px rgba(20, 164, 191, .55);

  --bg: #ffffff;
  --bg-2: #f4f8f8;
  --bg-3: #eaf1f2;
  --surface: #ffffff;
  --border: #e0e8ea;
  --border-2: #cad6d9;
  --text: #0f1f24;
  --text-2: #3e5258;
  --text-3: #5b6f74;
  --ink: #0c191d;           /* dunkle Bänder, Footer */
  --ink-2: #13252a;

  --ok: #12805c; --ok-soft: #e1f4ea;
  --warn: #a35f00; --warn-soft: #fdf1d8;
  --danger: #c93636; --danger-soft: #fde7e7;
  --info: #2563c4; --info-soft: #e5eefc;
  --violet: #5a48c9; --violet-soft: #ece9fb;
  --coral: #d9572a; --coral-soft: #fdeee6;

  --r-sm: 8px; --r: 14px; --r-lg: 20px; --r-xl: 28px;
  --sh-1: 0 1px 2px rgba(15,31,36,.05), 0 1px 1px rgba(15,31,36,.03);
  --sh-2: 0 10px 30px -12px rgba(15,31,36,.16), 0 2px 6px rgba(15,31,36,.05);
  --sh-3: 0 40px 80px -24px rgba(15,31,36,.30), 0 12px 30px -12px rgba(15,31,36,.14);
  --ring: 0 0 0 3px rgba(20,164,191,.28);
  --wrap: 1200px;
  --header-h: 72px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --brand-ink: #45d3b5; --brand-soft: rgba(22,167,136,.14); --brand-soft-2: rgba(22,167,136,.26);
    --grad-text: linear-gradient(100deg, #3fd0b2 10%, #38bfe0 90%);
    --bg: #0a1416; --bg-2: #0f1c20; --bg-3: #152529; --surface: #111f23;
    --border: #1f353c; --border-2: #2a4650;
    --text: #e8f0f2; --text-2: #b2c3c7; --text-3: #7f979d;
    --ink: #060e10; --ink-2: #0c181b;
    --ok: #4cc795; --ok-soft: rgba(76,199,149,.13); --warn: #f0b34a; --warn-soft: rgba(240,179,74,.13);
    --danger: #f07474; --danger-soft: rgba(240,116,116,.13); --info: #6ea3f0; --info-soft: rgba(110,163,240,.13);
    --violet: #a59bf0; --violet-soft: rgba(165,155,240,.14); --coral: #f0875e; --coral-soft: rgba(240,135,94,.13);
    --sh-1: 0 1px 2px rgba(0,0,0,.4); --sh-2: 0 12px 30px -12px rgba(0,0,0,.6); --sh-3: 0 40px 80px -24px rgba(0,0,0,.75);
  }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-soft-2); }
svg.i { width: 20px; height: 20px; display: inline-block; vertical-align: -4px; flex-shrink: 0; }
svg.i-sm { width: 16px; height: 16px; vertical-align: -3px; }
svg.i-lg { width: 26px; height: 26px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; box-shadow: var(--sh-2); }
.skip:focus { left: 8px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; color: var(--text); }
h1 { font-size: clamp(38px, 5.4vw, 66px); letter-spacing: -.035em; font-weight: 600; }
h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.03em; }
h3 { font-size: 22px; letter-spacing: -.015em; }
h4 { font-size: 17px; letter-spacing: -.01em; }
p { color: var(--text-2); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--text-2); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.muted { color: var(--text-3); }
.small { font-size: 14.5px; }
.tiny { font-size: 13px; }
.center { text-align: center; }
.mono { font-family: var(--mono); font-size: .9em; }
.tnum { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 820px; }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section.alt, .section-sm.alt { background: var(--bg-2); }
.section.dark { background: var(--ink); color: #e8f0f2; }
.section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section.dark p, .section.dark .lead { color: #a9bcc1; }
.section.dark .eyebrow { color: #45d3b5; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 + p, .section-head h2 + .lead { margin-top: 18px; }
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.rev > :first-child { order: 2; }
.split.even { grid-template-columns: 1fr 1fr; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 44px; } .mt-5 { margin-top: 64px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--sh-1); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.brand-mark { width: 34px; height: 34px; }
.brand-word { font-family: var(--display); font-weight: 300; font-size: 30px; letter-spacing: .005em; line-height: 1; color: var(--text); }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav > a { padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--text-2); text-decoration: none !important; transition: color .15s, background .15s; }
.site-nav > a:hover { color: var(--text); background: var(--bg-3); }
.page-funktionen [data-nav="funktionen"], .page-buerger-app [data-nav="buerger-app"], .page-wechsel [data-nav="wechsel"], .page-sicherheit [data-nav="sicherheit"], .page-vergabe [data-nav="vergabe"], .page-preise [data-nav="preise"] { color: var(--text); background: var(--bg-3); }
.nav-cta { display: flex; gap: 8px; margin-left: 12px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: var(--text); border-radius: 10px; cursor: pointer; place-items: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font: 600 15px/1 var(--font); border: 1px solid transparent; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: transform .1s, box-shadow .2s, background .2s, border-color .2s, filter .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.btn-primary:hover { filter: brightness(1.06) saturate(1.1); box-shadow: 0 14px 34px -10px rgba(20,164,191,.65); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-2); box-shadow: var(--sh-1); }
.btn-secondary:hover { border-color: var(--text-3); }
.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { color: var(--text); background: var(--bg-3); }
.btn-light { background: #fff; color: #0c191d; }
.btn-light:hover { background: #eef6f5; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16.5px; border-radius: 14px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.link-arrow svg { transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 110px); }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto -10%; height: 120%; background:
  radial-gradient(600px 380px at 12% 8%, rgba(22,167,136,.16), transparent 70%),
  radial-gradient(700px 420px at 92% 18%, rgba(20,164,191,.16), transparent 70%),
  radial-gradient(500px 300px at 60% 90%, rgba(98,80,214,.07), transparent 70%); pointer-events: none; z-index: -1; }
.hero .pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-1); font-size: 14px; color: var(--text-2); margin-bottom: 26px; text-decoration: none !important; }
.hero .pill b { background: var(--grad); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 99px; font-weight: 600; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 60ch; margin-top: 24px; }
.hero .btn-group { margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--text-3); display: flex; gap: 18px; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { color: var(--brand); }
.hero-visual { position: relative; margin-top: clamp(48px, 7vw, 80px); }
.hero-visual .frame { box-shadow: var(--sh-3); }
.hero-visual .phone-frame { position: absolute; right: -10px; bottom: -40px; width: 23%; min-width: 180px; }
.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(700px 360px at 85% 0%, rgba(20,164,191,.12), transparent 70%), radial-gradient(500px 300px at 0% 30%, rgba(22,167,136,.10), transparent 70%); z-index: -1; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 58px); max-width: 18ch; }
.page-hero .lead { margin-top: 20px; max-width: 62ch; }
.page-hero .btn-group { margin-top: 28px; }

/* ---------- Rahmen: Browser & Telefon ---------- */
.frame { border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-2); }
.frame-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.frame-bar .frame-url { margin-left: 12px; flex: 1; max-width: 340px; height: 20px; border-radius: 6px; background: var(--bg-3); font-size: 11.5px; color: var(--text-3); display: flex; align-items: center; padding: 0 10px; font-family: var(--mono); }
.frame img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; background: var(--bg-3); }
.phone-frame { border-radius: 38px; padding: 9px; background: #0b1416; box-shadow: var(--sh-3), inset 0 0 0 2px #2a3a3f; }
.phone-frame img { border-radius: 30px; width: 100%; height: auto; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; background: #f4f8f8; }

/* ---------- Karten ---------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-1); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 16px; }
.card.hover { transition: transform .2s, box-shadow .2s, border-color .2s; }
.card.hover:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--border-2); }
a.card { display: block; color: inherit; text-decoration: none !important; }
.card.tint { background: var(--brand-soft); border-color: transparent; box-shadow: none; }
.card.flat { box-shadow: none; }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); margin-bottom: 18px; }
.icon-tile svg.i { width: 24px; height: 24px; }
.icon-tile.grad { background: var(--grad); color: #fff; box-shadow: var(--glow); }
.icon-tile.info { background: var(--info-soft); color: var(--info); }
.icon-tile.violet { background: var(--violet-soft); color: var(--violet); }
.icon-tile.coral { background: var(--coral-soft); color: var(--coral); }
.icon-tile.warn { background: var(--warn-soft); color: var(--warn); }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .icon-tile { margin-bottom: 0; flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; }
.feature .icon-tile svg.i { width: 21px; height: 21px; }
.feature h4 { margin-bottom: 4px; }
.feature p { font-size: 15.5px; }

/* ---------- Listen ---------- */
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.checks li::before { content: ''; flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7463' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks.cols-2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.section.dark .checks li { color: #c4d3d7; }
.section.dark .checks li::before { background-color: rgba(22,167,136,.22); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 99px; font-size: 13.5px; font-weight: 500; color: var(--text-2); background: var(--surface); border: 1px solid var(--border); }
.tag.brand { background: var(--brand-soft); color: var(--brand-ink); border-color: transparent; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 600; background: var(--brand-soft); color: var(--brand-ink); }
.badge.info { background: var(--info-soft); color: var(--info); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.violet { background: var(--violet-soft); color: var(--violet); }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stat { padding: 8px 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(34px, 4vw, 48px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.stat span { display: block; margin-top: 8px; font-size: 15px; color: var(--text-3); }
.section.dark .stat b { color: #fff; }
.section.dark .stat span { color: #93a9af; }
.trustbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; color: var(--text-3); font-size: 14.5px; font-weight: 500; }
.trustbar span { display: inline-flex; align-items: center; gap: 8px; }
.trustbar svg { color: var(--brand); }

/* ---------- Modul-Raster ---------- */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.module { display: flex; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); text-decoration: none !important; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.module:hover { border-color: var(--brand-2); box-shadow: var(--sh-2); transform: translateY(-2px); }
.module .icon-tile { margin: 0; width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; }
.module .icon-tile svg.i { width: 20px; height: 20px; }
.module h4 { font-size: 16.5px; margin-bottom: 2px; }
.module p { font-size: 14.5px; line-height: 1.5; color: var(--text-3); }

/* ---------- Tabelle / Vergleich ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th, table.t td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
table.t th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); background: var(--bg-2); font-weight: 600; }
table.t tr:last-child td { border-bottom: 0; }
table.t td.yes { color: var(--ok); font-weight: 600; }
table.t td.no { color: var(--text-3); }

/* ---------- Schritte / Timeline ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.steps.h { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.step { position: relative; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--brand-ink); margin-bottom: 10px; letter-spacing: .02em; }
.step h4 { margin-bottom: 6px; }
.step p { font-size: 15px; }
.step .dur { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--brand), var(--brand-2)); opacity: .35; }
.tl { position: relative; padding-bottom: 28px; }
.tl:last-child { padding-bottom: 0; }
.tl::before { content: ''; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--brand); }
.tl h4 { margin-bottom: 4px; }
.tl .when { font-size: 13px; font-weight: 600; color: var(--brand-ink); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Preise ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--sh-1); position: relative; }
.plan.featured { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--sh-2); }
.plan .plan-flag { position: absolute; top: -13px; left: 30px; background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 99px; }
.plan h3 { font-size: 21px; }
.plan .plan-for { font-size: 14.5px; color: var(--text-3); margin-top: 4px; }
.plan .price { margin: 22px 0 6px; font-family: var(--display); font-size: 44px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.plan .price small { font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.plan .price-note { font-size: 13.5px; color: var(--text-3); }
.plan .checks { margin: 24px 0 28px; font-size: 15.5px; }
.plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--border-2); box-shadow: var(--sh-1); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--brand-ink); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 22px; color: var(--text-2); }
.faq details > div p + p { margin-top: 10px; }

/* ---------- CTA-Band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); background: var(--ink); color: #fff; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 300px at 90% 10%, rgba(20,164,191,.45), transparent 70%), radial-gradient(500px 320px at 0% 100%, rgba(22,167,136,.40), transparent 70%); }
.cta-band h2 { color: #fff; max-width: 20ch; }
.cta-band p { color: #b9cbcf; margin-top: 14px; max-width: 56ch; font-size: 18px; }
.cta-band .btn-group { margin-top: 30px; }

/* ---------- Callouts / Hinweis ---------- */
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r); background: var(--brand-soft); color: var(--text); font-size: 15.5px; }
.callout svg.i { color: var(--brand-ink); margin-top: 2px; }
.callout.info { background: var(--info-soft); } .callout.info svg.i { color: var(--info); }
.callout.warn { background: var(--warn-soft); } .callout.warn svg.i { color: var(--warn); }
.callout p { color: var(--text-2); }
.quote { padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.quote blockquote { font-family: var(--display); font-size: 22px; line-height: 1.4; letter-spacing: -.01em; color: var(--text); }
.quote figcaption { margin-top: 16px; font-size: 14.5px; color: var(--text-3); }

/* ---------- Formulare ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field .hint { font-size: 13px; color: var(--text-3); }
.input, .select, .textarea { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text); font: 16px var(--font); outline: none; transition: border-color .15s, box-shadow .15s; }
.textarea { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236a7e83' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--brand-2); box-shadow: var(--ring); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px !important; }
.alert { padding: 16px 18px; border-radius: 12px; font-size: 15.5px; }
.alert.ok { background: var(--ok-soft); color: var(--ok); }
.alert.err { background: var(--danger-soft); color: var(--danger); }

/* ---------- Fließtext (Rechtliches) ---------- */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(34px, 4vw, 48px); margin-bottom: 24px; }
.prose h2 { font-size: 26px; margin: 44px 0 14px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose ul, .prose ol { margin-bottom: 14px; color: var(--text-2); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a9bcc1; padding: 72px 0 32px; font-size: 15px; }
.site-footer .brand-word { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font); font-weight: 600; margin-bottom: 14px; }
.footer-grid a { display: block; color: #a9bcc1; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.footer-grid a.brand { display: inline-flex; padding: 0; }
.footer-brand p { color: #8aa1a7; margin-top: 16px; max-width: 34ch; font-size: 15px; }
.footer-brand .footer-contact a { display: inline; color: #d6e3e6; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #7f969c; }
.footer-badges { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-badges span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Effekte ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.divider { height: 1px; background: var(--border); margin: 40px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-nav > a { padding: 8px 9px; font-size: 14.5px; }
  .nav-cta .btn-ghost { display: none; }
}
@media (max-width: 980px) {
  .nav-toggle { display: grid; }
  .site-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--sh-2); }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 12px; font-size: 16px; }
  .nav-cta { margin: 10px 0 0; flex-direction: column; }
  .nav-cta .btn-ghost { display: inline-flex; }
  .g-3, .g-4, .modules, .pricing { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .split, .split.even { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual .phone-frame { width: 30%; right: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .g-2, .g-3, .g-4, .modules, .pricing, .checks.cols-2, .form { grid-template-columns: 1fr; }
  .card, .plan { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual .phone-frame { display: none; }
  .btn-group .btn { width: 100%; }
  table.t th, table.t td { padding: 12px 14px; }
}

/* ---------- Umfrage (Markup aus umfrage.php) ---------- */
.survey h2 { font-size: 22px; margin: 32px 0 12px; }
.survey table { width: 100%; border-collapse: collapse; font-size: 15px; margin-bottom: 12px; }
.survey th, .survey td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: left; }
.survey th { font-size: 13px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.survey th:nth-child(-n+3), .survey td:nth-child(-n+3) { width: 44px; text-align: center; }
.survey input[type="radio"] { width: 18px; height: 18px; accent-color: var(--brand); }
.survey input[type="text"], .survey textarea { width: calc(100% - 56px); height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text); font: 15px var(--font); }
.survey textarea { width: 100% !important; height: 120px !important; padding: 10px 12px; margin-top: 8px; }
.survey input[type="button"], .survey input[type="submit"] { height: 44px; padding: 0 18px; margin-left: 8px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text); font: 600 15px var(--font); cursor: pointer; }
.survey input[type="submit"] { margin: 18px 0 0; background: var(--grad); color: #fff; border: 0; box-shadow: var(--glow); padding: 0 26px; }

/* Komponenten-Überschriften: semantisch h3 (unter h2), optisch kompakt */
.feature h3, .step h3, .tl h3, .module h3 { font-size: 17px; letter-spacing: -.01em; }
.feature h3, .module h3 { margin-bottom: 4px; }
.step h3 { margin-bottom: 6px; }
.tl h3 { margin-bottom: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Preise: 4 Tarifkarten + breites Großstadt-Band ---------- */
.pricing.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pricing.cols-4 .plan { padding: 28px 22px; }
.pricing.cols-4 .plan .price { font-size: 38px; }
.pricing.cols-4 .plan-flag { left: 22px; }
.plan-wide { margin-top: 20px; display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 20px 40px; align-items: center; padding: 30px 32px; border-radius: var(--r-xl); background: var(--ink); color: #e8f0f2; position: relative; overflow: hidden; isolation: isolate; }
.plan-wide::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px 220px at 95% 0%, rgba(20,164,191,.35), transparent 70%); }
.plan-wide h3 { color: #fff; font-size: 21px; }
.plan-wide p { color: #a9bcc1; font-size: 15.5px; }
.plan-wide .price { font-family: var(--display); font-size: 36px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.plan-wide .price small { font-family: var(--font); font-size: 15px; font-weight: 500; color: #a9bcc1; letter-spacing: 0; }
.plan-wide .price-note { font-size: 13.5px; color: #93a9af; margin-top: 6px; }
@media (max-width: 1080px) { .pricing.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .plan-wide { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pricing.cols-4 { grid-template-columns: 1fr; } .plan-wide { padding: 24px 22px; } .plan-wide .btn { width: 100%; } }
.pricing.cols-4 .plan-for { min-height: 72px; }
@media (max-width: 640px) { .pricing.cols-4 .plan-for { min-height: 0; } }
