/* ============================================================
   ITC SCHWEDLER – Stylesheet (hell, warm, freundlich)
   Farben zentral unter :root anpassbar.
   ============================================================ */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Farben: Hell (Standard) ---------- */
:root {
  --bg: #fbf8f3;          /* warmes Creme */
  --bg-soft: #f4efe6;
  --surface: #ffffff;
  --surface-2: #f7f3ec;
  --text: #16162e;        /* Tinte */
  --text-2: #4b4b66;
  --muted: #74748c;
  --border: rgba(22, 22, 46, 0.09);
  --border-strong: rgba(22, 22, 46, 0.16);
  --primary: #2f5bff;     /* kräftiges Blau */
  --primary-2: #1f45e0;
  --primary-ink: #ffffff;
  --sun: #ffc845;         /* Sonnengelb */
  --sun-ink: #16162e;
  --ink-bg: #16162e;      /* dunkler Abschnitt */
  --ink-text: #f6f3ee;

  /* Pastell-Töne: Hintergrund / Icon */
  --t-blau-bg: #e5ebff;     --t-blau-fg: #2f5bff;
  --t-gelb-bg: #fff0c2;     --t-gelb-fg: #9a6600;
  --t-mint-bg: #d8f4e8;     --t-mint-fg: #0a7f55;
  --t-pfirsich-bg: #ffe4d4; --t-pfirsich-fg: #c24e16;
  --t-lila-bg: #ece5ff;     --t-lila-fg: #6a45e6;
  --t-rosa-bg: #ffe1eb;     --t-rosa-fg: #cc2f66;

  --shadow-sm: 0 1px 2px rgba(22,22,46,.05), 0 2px 8px rgba(22,22,46,.04);
  --shadow: 0 2px 6px rgba(22,22,46,.04), 0 18px 40px -18px rgba(22,22,46,.22);
  --shadow-lg: 0 30px 70px -30px rgba(22,22,46,.35);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --radius: 24px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(80px, 10vw, 128px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

/* ---------- Farben: Dunkel (per Schalter) ---------- */
:root[data-theme="dark"] {
  --bg: #121222;
  --bg-soft: #17172b;
  --surface: #1c1c32;
  --surface-2: #25253e;
  --text: #f4f2ee;
  --text-2: #c3c2d3;
  --muted: #9998ae;
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.16);
  --primary: #5b7cff;
  --primary-2: #7b95ff;
  --ink-bg: #0b0b17;
  --t-blau-bg: rgba(91,124,255,.16);     --t-blau-fg: #8ea4ff;
  --t-gelb-bg: rgba(255,200,69,.14);     --t-gelb-fg: #ffd36e;
  --t-mint-bg: rgba(40,200,140,.14);     --t-mint-fg: #5fe0ad;
  --t-pfirsich-bg: rgba(255,130,70,.14); --t-pfirsich-fg: #ffa073;
  --t-lila-bg: rgba(140,100,255,.16);    --t-lila-fg: #b39bff;
  --t-rosa-bg: rgba(255,80,130,.14);     --t-rosa-fg: #ff8db0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow: 0 18px 40px -18px rgba(0,0,0,.6);
  --shadow-lg: 0 30px 70px -30px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.65;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; transition: background-color .3s, color .3s;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-weight: 750; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--sun); color: var(--sun-ink); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.glow { display: none; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1 .serif, .h2 .serif { font-size: 1.1em; line-height: .9; }

/* Textmarker-Effekt */
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after {
  content: ""; position: absolute; left: -.08em; right: -.08em; bottom: .06em; height: .36em; z-index: -1;
  background: var(--sun); border-radius: .12em; transform: skewX(-8deg) scaleX(0); transform-origin: left;
  animation: markIn .9s .6s var(--ease) forwards;
}
@keyframes markIn { to { transform: skewX(-8deg) scaleX(1); } }
:root[data-theme="dark"] .mark::after { opacity: .8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 650; font-size: 1rem; white-space: nowrap;
  border: 2px solid transparent; transition: transform .3s var(--bounce), box-shadow .3s, background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 1.06rem; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--primary-ink); box-shadow: 0 10px 24px -10px var(--primary); }
.btn-primary:hover { background: var(--primary-2); box-shadow: 0 16px 30px -12px var(--primary); }
.btn-ghost, .btn-glass { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover, .btn-glass:hover { border-color: var(--text); }
.btn-sun { background: var(--sun); color: var(--sun-ink); box-shadow: 0 12px 28px -12px rgba(255,200,69,.9); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.text-link { color: var(--primary); font-weight: 650; display: inline-flex; align-items: center; gap: .35em; }
.text-link .icon { width: 1em; transition: transform .25s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.site-header.is-scrolled { background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 var(--border); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; height: 42px; padding: 0 11px;
  border-radius: 13px; background: var(--text); color: var(--bg); font-family: var(--mono); font-size: .9rem; font-weight: 500;
  transition: transform .4s var(--bounce);
}
.brand-mark em { font-style: normal; color: var(--sun); }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-text small { color: var(--muted); font-size: .8rem; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a { display: block; padding: 9px 15px; border-radius: 999px; color: var(--text-2); font-size: .97rem; font-weight: 550; transition: color .2s, background-color .2s; }
.main-nav a:hover { color: var(--text); background: var(--surface-2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle, .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); transition: color .2s, border-color .2s, transform .4s var(--bounce); }
.theme-toggle:hover, .menu-toggle:hover { color: var(--text); border-color: var(--text); }
.theme-toggle:active { transform: rotate(30deg); }
.icon-moon { display: block; } .icon-sun { display: none; }
:root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
.menu-toggle { display: none; }
.icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.mobile-menu { background: var(--bg); border-top: 1px solid var(--border); padding: 8px 0 24px; box-shadow: var(--shadow); animation: menuIn .35s var(--ease); }
.mobile-menu ul { margin-bottom: 18px; }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-size: 1.25rem; font-weight: 650; border-bottom: 1px solid var(--border); }
.mobile-menu li a .icon { color: var(--muted); }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } }
@media (max-width: 980px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--section); position: relative; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; padding: 6px 14px; border-radius: 999px;
  background: var(--t-blau-bg); color: var(--t-blau-fg); font-size: .85rem; font-weight: 650; letter-spacing: .01em;
}
.h2 { font-size: clamp(2.1rem, 4.8vw, 3.6rem); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--text-2); margin-top: 18px; max-width: 60ch; }
.section-head.center .lead { margin-inline: auto; }
.grad { color: var(--primary); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-strong); font-size: .92rem; font-weight: 550; color: var(--text-2); box-shadow: var(--shadow-sm); margin-bottom: 26px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); display: inline-block; flex: none; }
.hero h1 { font-size: clamp(3rem, 7.4vw, 6rem); letter-spacing: -0.045em; line-height: 1; font-weight: 800; }
.hero h1 .serif { color: var(--primary); }
.hero .lead { margin-top: 26px; font-size: clamp(1.12rem, 1.7vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--text-2); font-size: .98rem; font-weight: 500; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--t-mint-fg); }

/* Chat-Visual */
.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.blob { position: absolute; border-radius: 50%; z-index: 0; }
.blob.b1 { width: 380px; height: 380px; background: var(--t-blau-bg); top: 10px; right: -20px; animation: float 9s ease-in-out infinite; }
.blob.b2 { width: 240px; height: 240px; background: var(--t-gelb-bg); bottom: 10px; left: 0; animation: float 11s ease-in-out infinite reverse; }
@keyframes float { 50% { translate: 12px -16px; } }
.chat { position: relative; z-index: 1; width: min(100%, 420px); background: var(--surface); border-radius: 28px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); overflow: hidden; transform: rotate(-1.5deg); transition: transform .6s var(--ease); }
.chat:hover { transform: rotate(0); }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: .9rem; flex: none; }
.chat-head strong { display: block; font-size: .98rem; }
.chat-head small { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .8rem; }
.chat-head small .dot { width: 7px; height: 7px; box-shadow: none; }
.chat-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 18px 24px; min-height: 380px; }
.msg { margin: 0; max-width: 85%; padding: 11px 15px; border-radius: 20px; font-size: .96rem; line-height: 1.45; }
.msg.you { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 6px; }
.msg.typing { display: none; gap: 4px; padding: 14px 16px; }
.js [data-chat] .msg { display: none; opacity: 0; transform: translateY(12px) scale(.96); transition: opacity .45s var(--ease), transform .5s var(--bounce); }
.js [data-chat] .msg.show { display: block; }
.js [data-chat] .msg.typing.show { display: inline-flex; }
.js [data-chat] .msg.in { opacity: 1; transform: none; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.85); animation: bounce 1.1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .6; } 30% { transform: translateY(-5px); opacity: 1; } }
.sticker { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--border); font-weight: 650; font-size: .92rem; white-space: nowrap; }
.sticker .icon { width: 1.1em; height: 1.1em; }
.sticker.s1 { bottom: -14px; left: 4px; rotate: -6deg; color: var(--t-mint-fg); animation: float 7s ease-in-out infinite; }
.sticker.s2 { top: 8px; right: -14px; rotate: 5deg; color: var(--t-gelb-fg); animation: float 8s ease-in-out infinite reverse; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; padding: 36px 0 20px; }
  .sticker.s1 { left: 0; bottom: -2px; }
  .chat { margin-bottom: 18px; } .sticker.s2 { right: 0; top: 14px; }
}
@media (max-width: 480px) { .sticker { font-size: .82rem; padding: 8px 12px; } .chat-body { min-height: 350px; } }

/* ---------- Laufband ---------- */
.ticker { background: var(--ink-bg); color: var(--ink-text); overflow: hidden; padding: 20px 0; transform: rotate(-1.2deg); margin: 0 -20px; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker ul { display: flex; gap: 44px; padding-right: 44px; }
.ticker li { display: inline-flex; align-items: center; gap: 44px; font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; white-space: nowrap; }
.ticker li::after { content: "✦"; color: var(--sun); font-size: .95rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Pastell-Töne ---------- */
.tint-blau { --tb: var(--t-blau-bg); --tf: var(--t-blau-fg); }
.tint-gelb { --tb: var(--t-gelb-bg); --tf: var(--t-gelb-fg); }
.tint-mint { --tb: var(--t-mint-bg); --tf: var(--t-mint-fg); }
.tint-pfirsich { --tb: var(--t-pfirsich-bg); --tf: var(--t-pfirsich-fg); }
.tint-lila { --tb: var(--t-lila-bg); --tf: var(--t-lila-fg); }
.tint-rosa { --tb: var(--t-rosa-bg); --tf: var(--t-rosa-fg); }

/* ---------- Problem-Wähler ---------- */
.problems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.problems > li { display: flex; }
.problem {
  display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 20px 20px 18px; border-radius: 22px;
  background: var(--surface); border: 2px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .35s var(--bounce), border-color .25s, box-shadow .3s, background-color .25s;
}
.problem:hover { transform: translateY(-5px) rotate(-.4deg); border-color: var(--tf); box-shadow: var(--shadow); background: color-mix(in srgb, var(--tb) 45%, var(--surface)); }
.problem-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--tb); color: var(--tf); flex: none; transition: transform .4s var(--bounce); }
.problem-icon .icon { width: 28px; height: 28px; }
.problem:hover .problem-icon { transform: scale(1.1) rotate(-8deg); }
.problem-text { display: grid; gap: 2px; }
.problem-text strong { font-size: 1.1rem; letter-spacing: -0.01em; }
.problem-text small { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.problem-go { margin-left: auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface-2); color: var(--text-2); flex: none; transition: background-color .25s, color .25s, transform .35s var(--ease); }
.problem:hover .problem-go { background: var(--tf); color: #fff; transform: rotate(-45deg); }
.problems-note { text-align: center; margin-top: 30px; color: var(--text-2); }
@media (max-width: 980px) { .problems { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .problems { grid-template-columns: 1fr; } }

/* ---------- Tabs (Für wen) ---------- */
.tabs { max-width: 1000px; margin-inline: auto; }
.tab-list { position: relative; display: flex; width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 650; color: var(--text-2); transition: color .3s; }
.tab[aria-selected="true"] { color: var(--bg); }
.tab-pill { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--text); transition: transform .45s var(--ease), width .45s var(--ease); }
.no-js-tabs .tab[aria-selected="true"] { background: var(--text); }
.tab-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 56px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--border); animation: panelIn .5s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.tab-panel h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; }
.tab-panel p { color: var(--text-2); font-size: 1.1rem; margin-bottom: 26px; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--surface-2); font-weight: 550; }
.ticks .icon { color: var(--t-mint-fg); margin-top: 2px; }
@media (max-width: 820px) { .tab-panel { grid-template-columns: 1fr; } .tab { padding: 11px 16px; font-size: .95rem; } }

/* ---------- Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .4s var(--bounce), box-shadow .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--tb, var(--t-blau-bg)); color: var(--tf, var(--t-blau-fg)); margin-bottom: 22px; transition: transform .45s var(--bounce); flex: none; }
.card-icon .icon { width: 28px; height: 28px; }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.08); }
.card h3 { font-size: 1.32rem; margin-bottom: 10px; letter-spacing: -0.02em; }
.card p { color: var(--text-2); margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tags li { font-size: .8rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); color: var(--text-2); }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } .card { padding: 24px; } }

/* ---------- Ablauf (dunkler Abschnitt) ---------- */
.section-ink { background: var(--ink-bg); color: var(--ink-text); border-radius: clamp(28px, 5vw, 56px); margin-inline: clamp(8px, 1.5vw, 20px); }
.section-ink .eyebrow { background: rgba(255,200,69,.14); color: var(--sun); }
.section-ink .h2 .serif { color: var(--sun); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; --progress: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 32px; right: calc((100% - 60px) / 4 - 32px); top: 31px; height: 3px; border-radius: 3px; }
.steps::before { background: rgba(255,255,255,.12); }
.steps::after { background: var(--sun); transform-origin: left; transform: scaleX(var(--progress)); transition: transform .15s linear; }
.step { position: relative; z-index: 1; }
.step-dot { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #23233d; border: 3px solid rgba(255,255,255,.14); font-weight: 800; font-size: 1.3rem; color: rgba(255,255,255,.6); margin-bottom: 22px; transition: all .45s var(--bounce); }
.step.is-active .step-dot { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); transform: scale(1.08); box-shadow: 0 0 0 8px rgba(255,200,69,.16); }
.step-body { padding: 24px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); height: calc(100% - 86px); transition: background-color .3s, transform .4s var(--bounce); }
.step:hover .step-body { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; color: #fff; }
.step p { margin: 0; color: rgba(246,243,238,.74); }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { left: 30px; right: auto; top: 32px; bottom: 32px; width: 3px; height: auto; }
  .steps::after { transform-origin: top; transform: scaleY(var(--progress)); }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding-bottom: 18px; }
  .step-dot { margin: 0; }
  .step-body { height: auto; }
}

/* ---------- Über mich ---------- */
.about { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; align-items: start; }
.about-card { position: sticky; top: 104px; padding: clamp(28px, 4vw, 48px); border-radius: 32px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.monogram { width: 96px; height: 96px; border-radius: 30px; display: grid; place-items: center; margin-bottom: 26px; background: conic-gradient(from 200deg, var(--primary), #8b5cf6, #ff7ab0, var(--sun), var(--primary)); padding: 4px; transform: rotate(-6deg); transition: transform .5s var(--bounce); }
.monogram span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 26px; background: var(--surface); font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; }
.about-card:hover .monogram { transform: rotate(4deg) scale(1.05); }
.about-text { margin-top: 18px; }
.about-text p { color: var(--text-2); font-size: 1.1rem; }
.about-text p:first-child { color: var(--text); }
.signature { font-size: 2.3rem; color: var(--primary); margin: 18px 0 0; line-height: 1; }
.sig-role { color: var(--muted); font-size: .92rem; }
.about-side { display: grid; gap: 24px; }
.promises { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.promise { display: flex; flex-direction: column; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .4s var(--bounce); }
.promise:hover { transform: translateY(-4px); }
.promise .card-icon { width: 48px; height: 48px; border-radius: 15px; margin-bottom: 14px; }
.promise .card-icon .icon { width: 24px; height: 24px; }
.promise h3 { font-size: 1.1rem; margin-bottom: 4px; }
.promise p { margin: 0; color: var(--text-2); font-size: .98rem; }
@media (max-width: 980px) { .about { grid-template-columns: 1fr; } .about-card { position: relative; top: 0; } }
@media (max-width: 520px) { .promises { grid-template-columns: 1fr; } }

/* Vergleich */
.compare { border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow-x: auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 480px; }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--border); font-size: .98rem; vertical-align: middle; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-weight: 700; padding-top: 20px; }
.compare thead th.is-us { color: var(--primary); }
.compare thead th.is-them { color: var(--muted); font-weight: 550; }
.compare tbody th { font-weight: 550; color: var(--muted); font-size: .9rem; }
.compare td.is-us { font-weight: 650; background: var(--t-blau-bg); }
.compare td.is-us .icon { display: inline-block; vertical-align: -0.25em; margin-right: 6px; color: var(--primary); width: 1.1em; }
.compare td.is-them { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 45%, transparent); }

/* ---------- Region ---------- */
.region { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.region .btn { margin-top: 28px; }
.map-card { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: 32px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.radar { position: relative; width: 150px; height: 150px; margin: 0 auto 28px; display: grid; place-items: center; }
.radar span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--primary); opacity: 0; animation: radar 3.6s var(--ease) infinite; }
.radar span:nth-child(2) { animation-delay: 1.2s; } .radar span:nth-child(3) { animation-delay: 2.4s; }
@keyframes radar { 0% { transform: scale(.3); opacity: .7; } 100% { transform: scale(1); opacity: 0; } }
.radar b { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--primary); color: #fff; box-shadow: 0 10px 24px -8px var(--primary); position: relative; }
.radar b .icon { width: 28px; height: 28px; }
.places { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.places li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--surface-2); font-size: .95rem; font-weight: 550; color: var(--text-2); }
.places li .icon { width: 1em; height: 1em; color: var(--primary); }
.places li.remote { background: var(--t-mint-bg); color: var(--t-mint-fg); }
.places li.remote .icon { color: var(--t-mint-fg); }
@media (max-width: 900px) { .region { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
.faq { border-radius: 20px; background: var(--surface); border: 2px solid var(--border); transition: border-color .3s, box-shadow .3s; }
.faq:hover { border-color: var(--border-strong); }
.faq[open] { border-color: var(--primary); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 650; font-size: 1.1rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { margin-left: auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); color: var(--text-2); flex: none; transition: transform .5s var(--bounce), background-color .3s, color .3s; }
.faq summary .plus .icon { width: 17px; height: 17px; }
.faq[open] summary .plus { transform: rotate(135deg); background: var(--primary); color: #fff; }
.faq-body { overflow: hidden; }
.faq-body p { margin: 0; padding: 0 22px 22px; color: var(--text-2); }
@media (max-width: 960px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .section-head { position: static; } }

/* ---------- Kontakt (CTA) ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(48px, 8vw, 100px) clamp(24px, 6vw, 80px); border-radius: clamp(28px, 5vw, 48px); background: var(--primary); color: #fff; }
.cta-deco span { position: absolute; z-index: -1; border-radius: 50%; }
.cta-deco span:first-child { width: 420px; height: 420px; right: -120px; top: -160px; background: rgba(255,255,255,.1); animation: float 10s ease-in-out infinite; }
.cta-deco span:last-child { width: 280px; height: 280px; left: -90px; bottom: -120px; background: var(--sun); opacity: .9; animation: float 12s ease-in-out infinite reverse; }
.cta .eyebrow { background: rgba(255,255,255,.16); color: #fff; }
.cta .h2 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); max-width: 16ch; margin-inline: auto; }
.cta .h2 .serif { color: var(--sun); }
.cta .lead { color: rgba(255,255,255,.88); margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.cta-note { margin: 22px 0 0; color: rgba(255,255,255,.75); font-size: .95rem; }
@media (max-width: 520px) { .cta-actions .btn { width: 100%; } .cta .btn-lg { font-size: .98rem; padding: 0 18px; } }

/* ---------- Fußzeile ---------- */
.site-footer { padding-top: 72px; margin-top: var(--section); border-top: 1px solid var(--border); }
.home .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { margin-top: 18px; color: var(--text-2); max-width: 36ch; font-size: 1.02rem; }
.footer-title { font-size: .95rem; font-weight: 700; margin-bottom: 16px; letter-spacing: -0.01em; }
.footer-links { display: grid; gap: 10px; font-size: 1.02rem; }
.footer-links a, .footer-links span { color: var(--text-2); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 56px; padding: 24px 0 36px; border-top: 1px solid var(--border); color: var(--muted); font-size: .98rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Unterseiten ---------- */
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .95rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--primary); }
.page-hero { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 64px); }
.page-hero h1 { font-size: clamp(2.4rem, 5.8vw, 4.4rem); letter-spacing: -0.04em; max-width: 18ch; font-weight: 800; }
.page-hero h1 .serif { color: var(--primary); }
.page-hero .hero-actions { margin-top: 30px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.fact { padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.fact small { display: block; font-size: .82rem; font-weight: 600; color: var(--muted); }
.fact strong { font-size: 1.08rem; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split-card { padding: clamp(26px, 4vw, 44px); border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.split-card h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-bottom: 12px; }
.split-card p { color: var(--text-2); margin: 0; }
.prose-block { max-width: 780px; }
.prose-block p { color: var(--text-2); font-size: 1.12rem; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }

/* ---------- Rechtstexte ---------- */
.legal { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; padding-bottom: var(--section); }
.legal-toc { position: sticky; top: 110px; padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); }
.legal-toc strong { display: block; font-size: .9rem; margin-bottom: 8px; }
.legal-toc a { display: block; padding: 6px 0; color: var(--text-2); font-size: .97rem; }
.legal-toc a:hover { color: var(--primary); }
.legal-content { max-width: 780px; }
.legal-content section { padding: 30px 0; border-bottom: 1px solid var(--border); }
.legal-content section:first-child { padding-top: 0; }
.legal-content h2 { font-size: 1.45rem; margin-bottom: 14px; display: flex; gap: 14px; align-items: baseline; }
.legal-content h2 .n { font-family: var(--mono); font-size: .85rem; color: var(--primary); font-weight: 500; }
.legal-content h3 { font-size: 1.1rem; margin: 20px 0 8px; }
.legal-content p, .legal-content li { color: var(--text-2); }
.legal-content ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal-content li { margin-bottom: 4px; }
.legal-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.legal-content address { font-style: normal; color: var(--text); line-height: 1.75; }
.legal-content code { font-family: var(--mono); font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); }
.legal-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; } .legal-toc { position: static; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-size: clamp(5rem, 16vw, 10rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; margin: 0; color: var(--primary); }
.notfound .lead { margin-inline: auto; }
.notfound .hero-actions { justify-content: center; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 14px; background: var(--text); color: var(--bg); font-weight: 650; font-size: .95rem; box-shadow: var(--shadow-lg); transition: opacity .3s, transform .35s var(--bounce); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Einblenden ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.lead p:last-child { margin-bottom: 0; }
@media (max-width: 520px) { .hide-sm { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
  .js [data-chat] .msg { display: block; opacity: 1; transform: none; }
  .js [data-chat] .msg.typing { display: none; }
}
@media print { .site-header, .ticker, .toast, .legal-toc, .hero-visual { display: none !important; } body { background: #fff; color: #000; } }
:root[data-theme="dark"] .brand-mark em { color: var(--primary); }
