/* Smarti Website · Richtung A „Klar“ (Farben aus design/tokens.json) */
:root {
  color-scheme: light;
  --bg: #f2f2f6;
  --card: #ffffff;
  --ink: #1d1d1f;
  --body: #3a3a3c;
  --muted: #6e6e73;
  --hair: rgba(0, 0, 0, 0.08);
  --border: rgba(60, 60, 67, 0.18);
  --primary: #5856d6;
  --primary-ink: #3f3dbf;
  --primary-soft: rgba(88, 86, 214, 0.12);
  --review: #5856d6;
  --new: #1aa5c2;
  --test: #f28c28;
  --marker: rgba(255, 214, 10, 0.42);
  --success: #34c759;
  --shadow: 0 10px 30px rgba(30, 30, 80, 0.12);
  --shadow-lg: 0 30px 80px rgba(30, 30, 80, 0.18);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--primary-ink); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.022em; line-height: 1.1; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 750; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; font-weight: 650; }
p { margin: 0 0 1em; text-wrap: pretty; }
button { font: inherit; color: inherit; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--body); line-height: 1.5; }
.small { font-size: 0.94rem; }
.tiny { font-size: 0.8rem; margin-top: 12px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 0.82rem; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.narrow { margin-inline: auto; }
.grad { background: linear-gradient(100deg, var(--primary) 10%, var(--new) 60%, var(--test) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(88, 86, 214, 0.32); }
.btn-primary:hover { background: #4b49c8; }
.btn-ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1px var(--border); }
.btn-ghost:hover { background: #fafafc; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.92rem; box-shadow: none; }
.btn-block { width: 100%; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 24px; }
.cta-row.center { justify-content: center; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav.is-scrolled { background: rgba(242, 242, 246, 0.78); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); box-shadow: 0 1px 0 var(--hair); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--body); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); position: relative; }
.hero::before {
  content: ""; position: absolute; inset: -64px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 380px at 85% 20%, rgba(88, 86, 214, 0.16), transparent 70%),
    radial-gradient(500px 340px at 60% 80%, rgba(26, 165, 194, 0.12), transparent 70%),
    radial-gradient(420px 300px at 10% 10%, rgba(242, 140, 40, 0.08), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 0.92rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; display: inline-block; }

.hero-visual { position: relative; }
.ipad {
  background: #1d1d1f; padding: 12px; border-radius: 34px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.ipad img { border-radius: 23px; width: 100%; height: auto; aspect-ratio: 1180 / 820; object-fit: cover; object-position: top left; background: #f2f2f6; }
.hero-visual .ipad { transform: perspective(1600px) rotateY(-8deg) rotateX(3deg); transform-origin: left center; }
.float {
  position: absolute; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-radius: 18px; box-shadow: var(--shadow); padding: 14px 16px; font-size: 0.88rem; line-height: 1.35;
  border: 1px solid rgba(255,255,255,0.7);
}
.float strong { display: block; font-size: 0.95rem; }
.float-card { left: -28px; bottom: 14%; width: 230px; display: grid; gap: 4px; animation: bob 6s ease-in-out infinite; }
.float-exam { right: -18px; top: -22px; display: flex; gap: 12px; align-items: center; animation: bob 7s ease-in-out -2s infinite; }
.tag { font-size: 0.78rem; font-weight: 650; color: var(--new); }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Rings */
.mini-rings { width: 44px; height: 44px; transform: rotate(-90deg); }
.big-rings { width: min(320px, 80vw); height: auto; transform: rotate(-90deg); margin-inline: auto; }
.track, .arc { fill: none; stroke: var(--c); }
.mini-rings .track, .mini-rings .arc { stroke-width: 4.5; }
.big-rings .track, .big-rings .arc { stroke-width: 18; }
.track { opacity: 0.16; }
.arc { stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--p)); }

.big-rings .arc { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.8,.2,1); }
.big-rings.is-in .arc { stroke-dashoffset: calc(1 - var(--p)); }
.big-rings .arc:nth-of-type(4) { transition-delay: .2s; }
.big-rings .arc:nth-of-type(6) { transition-delay: .4s; }

/* Problem */
.problem { padding-top: clamp(40px, 6vw, 72px); }

/* Flow */
.flow { background: var(--card); }
.flow-grid { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.step {
  position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; text-align: left; width: 100%;
  padding: 18px 18px 22px; border: 0; border-radius: 20px; background: transparent; cursor: pointer; overflow: hidden;
  transition: background .25s ease;
}
.step:hover { background: #f7f7fa; }
.step.is-active { background: var(--bg); }
.step-num {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem;
  color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent);
}
.step.is-active .step-num { background: var(--c); color: #fff; }
.step-title { display: block; font-weight: 650; font-size: 1.1rem; margin-top: 4px; }
.step-text { display: block; color: var(--body); font-size: 0.97rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .3s ease, margin .3s; }
.step.is-active .step-text { max-height: 200px; opacity: 1; margin-top: 6px; }
.step-bar { position: absolute; left: 18px; right: 18px; bottom: 9px; height: 3px; border-radius: 3px; background: transparent; }
.step.is-active .step-bar { background: rgba(0,0,0,0.06); }
.step-bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--primary); }
.step.is-active .step-bar span { width: var(--prog, 0%); }

.flow-stage { position: sticky; top: 96px; }
.flow-stage .ipad img { transition: opacity .35s ease, transform .5s ease; }
.flow-stage .ipad img.is-swapping { opacity: 0; transform: scale(0.985); }
.flow-controls { display: flex; justify-content: flex-end; margin-top: 14px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--bg); display: grid; place-items: center; cursor: pointer; }
.icon-btn svg { fill: var(--ink); }
.icon-btn .i-play { display: none; }
.icon-btn[aria-pressed="true"] .i-pause { display: none; }
.icon-btn[aria-pressed="true"] .i-play { display: block; }

/* Try */
.try-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.demo { background: rgba(255,255,255,0.6); border-radius: 30px; padding: 22px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.8); }
.demo-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 34px; height: 5px; border-radius: 4px; background: rgba(0,0,0,0.1); transition: background .3s; }
.demo-dots i.done { background: var(--new); }
.demo-dots i.now { background: var(--ink); }
.fcard {
  background: var(--card); border-radius: 24px; padding: 26px; min-height: 290px; box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  margin-bottom: 14px; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s;
}
.fcard.is-out { transform: translateX(-24px); opacity: 0; }
.fcard h3 { font-size: 1.5rem; margin: 8px 0 18px; }
.answer { display: block; background: #f7f7fa; border: 1px solid var(--hair); border-radius: 16px; padding: 12px 14px; }
.answer textarea { display: block; width: 100%; border: 0; background: transparent; resize: none; font: inherit; color: var(--ink); outline: none; margin-top: 2px; }
.solution { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: var(--primary-soft); color: var(--ink); animation: pop .4s cubic-bezier(.2,.8,.2,1); }
.solution mark { background: var(--marker); color: inherit; border-radius: 3px; padding: 0 2px; }
.solution .src { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.rate-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rate p { margin-bottom: 8px; }
.rate button {
  border: 0; border-radius: 14px; background: var(--card); padding: 10px 4px; cursor: pointer; display: grid; gap: 2px;
  box-shadow: inset 0 0 0 1px var(--border); transition: transform .15s, background .2s;
}
.rate button:hover { background: #fafafc; }
.rate button:active { transform: scale(0.96); }
.rate button span { font-size: 0.78rem; color: var(--muted); }
.rate button[data-r="0"] strong { color: #c4161c; }
.rate button[data-r="1"] strong { color: #b35f0c; }
.rate button[data-r="2"] strong { color: #1c7a37; }
.rate button[data-r="3"] strong { color: var(--primary-ink); }
.demo-note { min-height: 1.5em; margin: 12px 0 0; text-align: center; font-size: 0.92rem; color: var(--body); }

/* Science */
.science { background: var(--card); }
.curve-card { background: var(--bg); border-radius: 28px; padding: clamp(20px, 3vw, 32px); margin-bottom: 20px; }
.curve-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 8px; }
.curve-head p { max-width: 520px; margin: 0; }
.curve { width: 100%; max-width: 860px; height: auto; overflow: visible; margin: 8px auto 0; }
.curve .grid line { stroke: rgba(0,0,0,0.18); stroke-width: 1; }
.curve .grid .faint { stroke-dasharray: 3 5; stroke: rgba(0,0,0,0.12); }
.curve text { font-size: 12px; fill: var(--muted); font-family: var(--font); }
.line { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.line-without { stroke: #aeaeb2; }
.line-with { stroke: var(--primary); stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.8s cubic-bezier(.4,.1,.2,1); }
.curve.show-with .line-with { stroke-dashoffset: 0; }
.curve.show-with .line-without { stroke: #d1d1d6; }
.mark { opacity: 0; transition: opacity .3s; }
.mark circle { fill: #fff; stroke: var(--primary); stroke-width: 2.5; }
.mark text { fill: var(--primary-ink); font-weight: 600; font-size: 11px; }
.curve.show-with .mark { opacity: 1; }

.seg { display: inline-flex; background: rgba(118,118,128,0.12); border-radius: 999px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 8px 16px; font-size: 0.92rem; font-weight: 600; cursor: pointer; color: var(--body); min-height: 38px; }
.seg button.is-on { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.seg-center { margin-top: 10px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sci { background: var(--bg); border-radius: 26px; padding: 26px; }
.sci p { color: var(--body); font-size: 0.97rem; }
.sci .cite { font-size: 0.8rem; color: var(--muted); margin: 0; }
.sci-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); margin-bottom: 16px; }
.sci-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--c); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Calm */
.calm-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.legend { list-style: none; display: flex; justify-content: center; gap: 18px; padding: 0; margin: 22px 0 0; font-size: 0.9rem; color: var(--body); }
.legend li { display: flex; align-items: center; gap: 7px; }
.checks { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 32px; color: var(--body); }
.checks li strong { color: var(--ink); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%235856d6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* Privacy */
.privacy { padding-top: 0; }
.privacy-card { background: #1d1d1f; color: #f5f5f7; border-radius: 32px; padding: clamp(28px, 5vw, 52px); text-align: center; }
.privacy-card h2 { color: #fff; }
.lock { width: 56px; height: 56px; border-radius: 18px; background: rgba(255,255,255,0.1); display: grid; place-items: center; margin: 0 auto 18px; }
.lock svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.privacy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; margin-top: 26px; }
.privacy-grid p { color: #c7c7cc; font-size: 0.95rem; margin: 0; }
.privacy-grid strong { display: block; color: #fff; margin-bottom: 4px; }

/* Pricing */
.pricing { background: var(--card); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 400px)); gap: 20px; justify-content: center; }
.plan { position: relative; background: var(--bg); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; }
.plan .checks { flex: 1; }
.plan .btn-block + .btn-block { margin-top: 10px; }
.plan-pro { background: linear-gradient(160deg, #f1f0ff, #eaf7fa); box-shadow: inset 0 0 0 2px rgba(88,86,214,0.35); }
.badge { position: absolute; top: 22px; right: 22px; background: var(--primary); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 2px; }
.amount { font-size: 2.6rem; font-weight: 750; letter-spacing: -0.03em; font-family: var(--display); }
.per { color: var(--muted); }

/* FAQ */
.faq-list { margin-top: 32px; display: grid; gap: 10px; }
details { background: var(--card); border-radius: 20px; padding: 0 22px; transition: box-shadow .2s; }
details[open] { box-shadow: var(--shadow); }
summary { cursor: pointer; list-style: none; padding: 20px 30px 20px 0; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--primary); transition: transform .25s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--body); padding-bottom: 20px; margin: 0; }

/* Final */
.final { padding-bottom: clamp(80px, 10vw, 140px); }
.final-icon { width: 88px; height: 88px; border-radius: 22px; margin: 0 auto 24px; box-shadow: 0 16px 40px rgba(88,86,214,0.35); }

/* Footer */
.footer { border-top: 1px solid var(--hair); padding: 28px 0 40px; font-size: 0.9rem; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .brand { font-weight: 500; font-size: 0.9rem; color: var(--muted); }
.footer nav { display: flex; gap: 20px; }
.footer nav a { color: var(--muted); text-decoration: none; }
.footer nav a:hover { color: var(--ink); }
.logo-ink { opacity: 0.6; }

/* Legal pages */
.legal { padding: 48px 0 96px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2em; letter-spacing: -0.015em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.5em; }
.legal p, .legal li { color: var(--body); }
.legal .box { background: var(--card); border-radius: 20px; padding: 20px 24px; }
.legal .todo { background: rgba(255, 214, 10, 0.35); border-radius: 4px; padding: 0 4px; }

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .flow-grid, .try-grid, .calm-grid { grid-template-columns: 1fr; }
  .hero-visual { margin: 20px 12px 0; }
  .hero-visual .ipad { transform: none; }
  .flow-stage { position: static; order: -1; }
  .cards3, .privacy-grid { grid-template-columns: 1fr; }
  .calm-visual { order: 1; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .plans { grid-template-columns: 1fr; }
  .float-card { left: -8px; bottom: -36px; width: 210px; }
  .float-exam { right: -6px; top: -30px; }
  .ipad { padding: 7px; border-radius: 20px; }
  .ipad img { border-radius: 14px; }
  .rate-grid { grid-template-columns: repeat(2, 1fr); }
  .fcard { padding: 20px; }
  .fcard h3 { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.curve-key { display: flex; align-items: center; gap: 8px; color: var(--body); margin: 14px 0 0; opacity: 0; transition: opacity .4s 1s; }
.curve.show-with + .curve-key { opacity: 1; }
.lg-ring { width: 12px; height: 12px; border-radius: 50%; border: 2.5px solid var(--primary); background: #fff; flex: none; }
@media (max-width: 720px) { .curve text { font-size: 18px; } }

/* Apple Intelligence & Geräte */
.ai-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255,255,255,0.8); box-shadow: inset 0 0 0 1px var(--border); font-size: 0.9rem; font-weight: 600; color: var(--ink); margin: 0 0 18px; }
.ai-spark { width: 18px; height: 18px; border-radius: 50%; flex: none; background: conic-gradient(from 200deg, #ff9f0a, #ff375f, #bf5af2, #5e5ce6, #32ade6, #ff9f0a); -webkit-mask: radial-gradient(circle, transparent 4px, #000 4.5px); mask: radial-gradient(circle, transparent 4px, #000 4.5px); }
.ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ai-card { position: relative; border-radius: 28px; padding: 30px; background: var(--bg); overflow: hidden; }
.ai-free::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; background: conic-gradient(from 200deg, #ff9f0a, #ff375f, #bf5af2, #5e5ce6, #32ade6, #ff9f0a); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; pointer-events: none; }
.ai-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 650; padding: 5px 12px 5px 8px; border-radius: 999px; background: var(--card); margin-bottom: 14px; }
.ai-badge-pro { padding-left: 12px; background: var(--primary); color: #fff; }
.ai-card h3 { font-size: 1.4rem; }
.ai { background: var(--card); }
.ai + .pricing { padding-top: 0; }
.devices { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.device { background: var(--bg); border-radius: 20px; padding: 18px; display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; align-items: center; }
.device svg { grid-row: span 2; width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.device span { font-size: 0.85rem; color: var(--muted); line-height: 1.3; }
@media (max-width: 980px) { .devices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .ai-grid, .devices { grid-template-columns: 1fr; } }

/* Vergleich */
.compare { background: var(--bg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.table-scroll { overflow-x: auto; border-radius: 28px; background: var(--card); box-shadow: var(--shadow); -webkit-overflow-scrolling: touch; }
.cmp { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 0.95rem; }
.cmp th, .cmp td { padding: 16px 14px; text-align: center; border-bottom: 1px solid var(--hair); vertical-align: middle; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp thead th { font-size: 0.88rem; font-weight: 650; color: var(--body); padding-top: 22px; }
.cmp tbody th { text-align: left; font-weight: 600; color: var(--ink); position: sticky; left: 0; background: var(--card); min-width: 210px; z-index: 1; }
.cmp thead th:first-child { position: sticky; left: 0; background: var(--card); z-index: 1; }
.cmp .us { color: var(--primary-ink); font-size: 1rem; }
.cmp td:nth-child(2), .cmp th.us { background: rgba(88, 86, 214, 0.07); }
.cmp td small { display: block; font-size: 0.75rem; color: var(--muted); line-height: 1.3; margin-top: 4px; }
.cmp td.y::before, .cmp td.n::before { content: ""; display: block; margin: 0 auto; width: 24px; height: 24px; border-radius: 50%; }
.cmp td.y::before { background: rgba(52, 199, 89, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3L17 8.5' fill='none' stroke='%231c7a37' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/24px no-repeat; }
.cmp td:nth-child(2).y::before { background-color: var(--primary); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3L17 8.5' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cmp td.n::before { width: 12px; height: 2px; border-radius: 2px; background: #c7c7cc; margin: 11px auto; }
.swipe-hint { display: none; margin: 12px 0 0; }
@media (max-width: 720px) {
  .swipe-hint { display: block; }
  .cmp tbody th { min-width: 150px; font-size: 0.88rem; }
  .cmp { min-width: 700px; }
}
.nav-cta { display: flex; gap: 8px; }
.nav-cta .btn-ghost { box-shadow: inset 0 0 0 1px var(--border); }
@media (max-width: 380px) { .nav-cta .btn-sm { padding: 0 12px; } }

/* Hochschulen */
.edu { background: var(--card); }
.edu-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.edu-steps { list-style: none; counter-reset: s; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.edu-steps li { counter-increment: s; position: relative; padding-left: 46px; display: grid; gap: 2px; }
.edu-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.9rem; color: var(--primary-ink); background: var(--primary-soft); }
.edu-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 38px; bottom: -12px; width: 2px; background: var(--primary-soft); }
.edu-steps span { color: var(--body); font-size: 0.95rem; }
.edu-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.edu-card { background: var(--bg); border-radius: 24px; padding: 24px; }
.edu-card h3 { font-size: 1.08rem; margin: 14px 0 6px; }
.edu-card p { color: var(--body); font-size: 0.93rem; margin: 0; }
.edu-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, transparent); }
.edu-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--c); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mail { user-select: all; color: var(--ink); font-weight: 600; }
.pricing + .edu { padding-top: clamp(40px, 6vw, 72px); }
@media (max-width: 980px) { .edu-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .edu-cards { grid-template-columns: 1fr; } }
