/* Chronio – Website im Stil der App und der App-Store-Bilder: Lavendel-Verlauf, Navy, Plus Jakarta Sans */
@font-face { font-family: 'Plus Jakarta Sans'; font-weight: 700; font-display: swap; src: url(fonts/PlusJakartaSans-Bold.ttf) format('truetype'); }

:root {
  --bg: #EEF0FA;
  --card: #FFFFFF;
  --ink: #1B1F3B;
  --muted: #5B6087;
  --primary: #6B63C9;
  --on-primary: #FFFFFF;
  --btn: linear-gradient(135deg, #6B63C9, #8B6FE0);
  --line: #E1E3F2;
  --tint: #ECEAFB;
  --gold: #F6C46B;
  --navy: #1B1F3B;
  --shadow: 0 24px 60px rgba(27, 31, 59, 0.1);
  --m-base: #EEF0FA; --m-a: #CFC8F5; --m-b: #F7DCCB; --m-c: #D6DBF7;
  --display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --bg: #12152B;
    --card: #1C2040;
    --ink: #F4F5FA;
    --muted: #A9ADCB;
    --primary: #AEB3D9;
    --on-primary: #141733;
    --btn: linear-gradient(135deg, #6B63C9, #8B6FE0);
    --line: #2C3157;
    --tint: #262A50;
    --navy: #0C0E1F;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    --m-base: #12152B; --m-a: #2E2A6E; --m-b: #3A2648; --m-c: #1A2552;
  }
}
:root[data-theme=dark] {
  --bg: #12152B;
  --card: #1C2040;
  --ink: #F4F5FA;
  --muted: #A9ADCB;
  --primary: #AEB3D9;
  --on-primary: #141733;
  --btn: linear-gradient(135deg, #6B63C9, #8B6FE0);
  --line: #2C3157;
  --tint: #262A50;
  --navy: #0C0E1F;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --m-base: #12152B; --m-a: #2E2A6E; --m-b: #3A2648; --m-c: #1A2552;
}
:root[data-theme=light] { color-scheme: light; }
:root[data-theme=dark] { color-scheme: dark; }


* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--m-base);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  overflow-x: hidden;
}
a { color: var(--primary); }
button { font: inherit; color: inherit; }
h1, h2, h3, .brand { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Hintergrund wie die Store-Bilder: weicher, langsam treibender Verlauf */
.mesh { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--m-base); }
.mesh i { position: absolute; display: block; width: 90vmax; height: 90vmax; border-radius: 50%; -webkit-mask-image: radial-gradient(closest-side, #000 10%, transparent); mask-image: radial-gradient(closest-side, #000 10%, transparent); will-change: transform; }
.mesh i:nth-child(1) { left: -30vmax; top: -40vmax; background: var(--m-a); animation: meshA 22s ease-in-out infinite alternate; }
.mesh i:nth-child(2) { right: -40vmax; top: 10vmax; background: var(--m-b); animation: meshB 26s ease-in-out infinite alternate; }
.mesh i:nth-child(3) { left: -20vmax; bottom: -55vmax; background: var(--m-c); animation: meshC 30s ease-in-out infinite alternate; }
@keyframes meshA { to { transform: translate(14vmax, 12vmax) scale(1.12); } }
@keyframes meshB { to { transform: translate(-14vmax, -8vmax) scale(0.9); } }
@keyframes meshC { to { transform: translate(12vmax, -12vmax) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .mesh i { animation: none; } }

/* Leiste */
.sitebar { position: sticky; top: 0; z-index: 50; height: 0; padding: 0 max(12px, env(safe-area-inset-left, 0px)); }
.bar { max-width: 820px; margin: 0 auto; transform: translateY(12px); display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 28px; color: var(--ink); background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(27, 31, 59, 0.14); }
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .bar { background: color-mix(in srgb, var(--card) 78%, transparent); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); }
}
.brand { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px 0 8px; color: inherit; text-decoration: none; font-size: 17px; flex: none; border-radius: 20px; }
.mark { width: 26px; height: 26px; flex: none; }
.mark path:nth-of-type(1) { fill: var(--ink); }
.mark path:nth-of-type(2) { fill: #9775FA; }
.mark path:nth-of-type(3) { fill: #F3A7C0; }
.mark circle { fill: #FDD34F; }
.bar.home.top { max-width: 1080px; transform: translateY(20px); background-color: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bar.top .navpill { background: color-mix(in srgb, var(--card) 70%, transparent); }
.bar.top .langbtn { background: color-mix(in srgb, var(--card) 70%, transparent); }
.mark path, .mark circle { transform-box: fill-box; transform-origin: center; animation: 495ms cubic-bezier(0.34, 1.56, 0.64, 1) both; }
.mark path:nth-of-type(1) { animation-name: markHalf; }
.mark path:nth-of-type(2) { animation-name: markTile; animation-delay: 202ms; }
.mark circle { animation-name: markDot; animation-delay: 405ms; }
@keyframes markHalf { from { opacity: 0; transform: rotate(-90deg) scale(0.2); } }
@keyframes markTile { from { opacity: 0; transform: rotate(180deg) scale(0.2); } }
@keyframes markDot { from { opacity: 0; transform: scale(0); } }
@media (prefers-reduced-motion: reduce) {
  .mark path, .mark circle { animation: none; }
}
.bar nav { position: relative; flex: 1; min-width: 0; display: flex; justify-content: center; align-items: center; gap: 2px; font-size: 14px; }
.bar nav a { position: relative; z-index: 1; display: flex; align-items: center; height: 40px; padding: 0 13px; border-radius: 20px; color: var(--muted); font-weight: 600; text-decoration: none; white-space: nowrap; transition: color 0.4s ease; }
.bar nav a:hover { color: var(--ink); }
.bar nav a.on { color: var(--primary); }
.navpill { position: absolute; left: 0; right: 100%; top: 50%; height: 40px; margin-top: -20px; border-radius: 20px; background: var(--tint); opacity: 0; pointer-events: none; transition: left 0.34s cubic-bezier(0.2, 0.8, 0.3, 1), right 0.52s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s, background-color 0.35s; }
.navpill.right { transition: left 0.52s cubic-bezier(0.65, 0, 0.35, 1), right 0.34s cubic-bezier(0.2, 0.8, 0.3, 1), opacity 0.3s, background-color 0.35s; }
.navpill.show { opacity: 1; }
.navpill.squish { animation: navSquish 0.5s ease-in-out; }
@keyframes navSquish { 50% { transform: scaleY(0.84); } }
.bar.home { transition: max-width 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.35s, border-color 0.35s, box-shadow 0.35s, color 0.35s; }
.bar.home .langbtn { transition: background-color 0.35s, color 0.35s; }
.themebtn { flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 20px; background: var(--tint); color: var(--primary); cursor: pointer; display: inline-grid; place-items: center; }
.themebtn svg { width: 20px; height: 20px; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.themebtn:hover svg { transform: rotate(20deg); }
.themebtn .moon, .dark .themebtn .sun { display: none; }
.dark .themebtn .moon { display: block; }
.bar.top .themebtn { background: color-mix(in srgb, var(--card) 70%, transparent); }
.themebtn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
:root.theming, :root.theming * { transition: background-color 0.35s, color 0.35s, border-color 0.35s !important; }
.langbtn { flex: none; height: 40px; padding: 0 14px; border: 0; border-radius: 20px; background: var(--tint); color: var(--primary); cursor: pointer; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; text-decoration: none; }
.barback { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px 0 8px; border-radius: 20px; background: var(--tint); color: var(--primary); font-size: 14px; font-weight: 600; text-decoration: none; }
.barback svg { width: 18px; height: 18px; flex: none; }
.bar.sub .brand { margin: 0 auto; }
.bar.sub nav { flex: none; }
@media (max-width: 480px) {
  .bar.sub .brand { display: none; }
  .bar.sub { justify-content: space-between; }
}
.barback:focus-visible, .brand:focus-visible, .bar nav a:focus-visible, .langbtn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* Gerät mit echtem Screenshot: Rahmen und Ecken wachsen mit der Breite */
.device { container-type: inline-size; width: 100%; }
.device .frame { position: relative; padding: 3.4cqw; border-radius: 16.5cqw; background: #0D0F1E; box-shadow: inset 0 0 0 0.6cqw #3A3F63, 0 30px 70px rgba(27, 31, 59, 0.28), 0 8px 18px rgba(27, 31, 59, 0.12); }
.device img { display: block; width: 100%; height: auto; aspect-ratio: 1206 / 2622; border-radius: 13cqw; background: #E9EBF6; }
.watch { container-type: inline-size; position: relative; width: 100%; }
.watch .frame { position: relative; padding: 7cqw; border-radius: 30cqw; background: #0D0F1E; box-shadow: inset 0 0 0 0.9cqw #3A3F63, 0 30px 70px rgba(27, 31, 59, 0.28), 0 8px 18px rgba(27, 31, 59, 0.12); }
.watch .frame::before { content: ''; position: absolute; right: -4.2cqw; top: 26%; width: 5cqw; height: 15%; border-radius: 2cqw; background: linear-gradient(90deg, #2A2E4A, #4A5078); }
.watch .frame::after { content: ''; position: absolute; right: -2.4cqw; top: 50%; width: 3cqw; height: 17%; border-radius: 1.5cqw; background: #2A2E4A; }
.watch img { display: block; width: 100%; height: auto; aspect-ratio: 416 / 496; border-radius: 22cqw; background: #000; }

/* Kopf */
.hero { padding: 120px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); margin: 0 0 12px; }
.hero h1 { font-size: clamp(44px, 6.6vw, 80px); line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 22px; }
.lead { font-size: 19.5px; color: var(--muted); margin: 0 0 30px; max-width: 30em; }
.hero-shots { position: relative; height: 640px; }
.hero-shots .device { position: absolute; }
.hero-shots .front { width: 290px; left: 50%; top: 0; transform: translateX(-62%); z-index: 2; }
.hero-shots .back { width: 250px; left: 50%; top: 70px; transform: translateX(12%) rotate(6deg); opacity: 0.96; }
.hero-shots::before { content: ''; position: absolute; left: 50%; top: 46%; width: 520px; height: 520px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--card) 85%, transparent), transparent); }

.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.badges a { display: inline-flex; transition: transform 0.2s; }
.badges a:hover { transform: translateY(-2px); }
.badges img { height: 52px; width: auto; }
.badges a.fallback { height: 52px; padding: 0 20px; align-items: center; border-radius: 12px; background: #000; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.soon { height: 52px; padding: 0 18px; display: inline-flex; flex-direction: column; justify-content: center; border-radius: 14px; border: 1.5px dashed color-mix(in srgb, var(--ink) 35%, transparent); color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.2; }
.soon small { font-size: 11px; font-weight: 500; opacity: .7; }
/* Beta-Knopf: so groß wie das App-Store-Abzeichen, damit er später einfach dessen Platz übergibt */
.badges a.tf { height: 52px; padding: 0 20px 0 10px; gap: 10px; align-items: center; border-radius: 14px; background: var(--navy); color: #FFFFFF; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.2; box-shadow: 0 10px 24px rgba(27, 31, 59, 0.25); }
@media (prefers-color-scheme: dark) { :root:not([data-theme=light]) .badges a.tf { background: #FFFFFF; color: #1B1F3B; } }
:root[data-theme=dark] .badges a.tf { background: #FFFFFF; color: #1B1F3B; }
.badges a.tf img { height: 32px; width: 32px; border-radius: 8px; flex: none; }
.badges a.tf span { display: flex; flex-direction: column; }
.badges a.tf small { font-size: 11px; font-weight: 500; opacity: .75; }
.badges a.tf:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; font-size: 14.5px; color: var(--muted); font-weight: 600; }
.trust span::before { content: '✓'; color: var(--primary); font-weight: 800; margin-right: 6px; }

/* Abschnitte */
section { padding: 96px 0; }
section h2 { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.06; margin: 0 0 16px; }
p.sub { color: var(--muted); margin: 0 0 44px; max-width: 36em; font-size: 18.5px; }
.center { text-align: center; }
.center p.sub { margin-left: auto; margin-right: auto; }

/* So geht's: je ein Gedanke pro Bild, wie im App Store */
.shows { display: flex; flex-direction: column; gap: 36px; }
.showcase { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding: 48px 64px; border-radius: 36px; background: color-mix(in srgb, var(--card) 62%, transparent); border: 1px solid color-mix(in srgb, var(--card) 80%, transparent); overflow: hidden; }
.showcase.flip .show-text { order: 2; }
.showcase h3 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -0.03em; margin: 0 0 16px; }
.showcase p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 18px; max-width: 26em; }
.show-shot { display: flex; justify-content: center; }
.show-shot .device { width: min(270px, 70vw); margin-bottom: -150px; }
.showcase { padding-bottom: 0; }
.showcase .show-text { padding-bottom: 48px; }
.showcase.show-watch { padding-bottom: 48px; }
.showcase.show-watch .show-text { padding-bottom: 0; }
.show-shot .watch { width: min(230px, 60vw); }
.protag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--gold); color: #1B1F3B; font-size: 11px; letter-spacing: 0.06em; vertical-align: 1px; }

/* Messwerte */
.chartcard { max-width: 880px; margin-inline: auto; background: var(--card); border-radius: 28px; padding: 24px; box-shadow: var(--shadow); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: transparent; border-radius: 99px; padding: 7px 15px; font-size: 15px; font-weight: 600; cursor: pointer; color: var(--ink); }
.chip.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.charthead { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.stat { background: var(--tint); border-radius: 14px; padding: 8px 12px; min-width: 0; overflow-wrap: anywhere; }
.stat b { display: block; font-family: var(--display); font-size: 18px; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12.5px; color: var(--muted); }
.chartbox { position: relative; }
.chartbox svg { width: 100%; height: auto; display: block; touch-action: pan-y; }
.chartbox .grid line { stroke: var(--line); }
.chartbox .axis { fill: var(--muted); font-size: 11px; }
.chartbox .band { fill: var(--primary); opacity: 0.12; }
.chartbox .limit { stroke-width: 1.5; stroke-dasharray: 5 5; opacity: 0.7; fill: none; }
.chartbox .lineA { fill: none; stroke: var(--primary); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chartbox .lineB { fill: none; stroke: #E8A0BC; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chartbox .cursor { stroke: var(--muted); stroke-dasharray: 3 3; }
.tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--bg); padding: 6px 10px; border-radius: 10px; font-size: 13px; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity 0.12s; font-variant-numeric: tabular-nums; }
.tip.show { opacity: 1; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend i.dash { width: 16px; height: 0; border-radius: 0; border-top: 2px dashed var(--muted); vertical-align: 3px; }
.legend .chartnote { flex-basis: 100%; font-size: 12.5px; }

.feat-head { margin-top: 96px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--card); border-radius: 24px; padding: 26px; box-shadow: 0 10px 30px rgba(27, 31, 59, 0.05); transition: transform 0.2s; }
.feature:hover { transform: translateY(-3px); }
.feature .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--primary); margin-bottom: 14px; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 6px; font-size: 18.5px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Datenschutz: dunkle Karte wie das letzte Store-Bild */
.privcard { border-radius: 40px; padding: 72px 64px; background: radial-gradient(800px 420px at 85% 0%, #3A3480 0%, transparent 65%), radial-gradient(600px 400px at 0% 100%, #4A2D5E 0%, transparent 60%), var(--navy); color: #F4F5FA; box-shadow: 0 40px 90px rgba(27, 31, 59, 0.3); }
.privcard .eyebrow { color: var(--gold); }
.privcard h2 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -0.035em; }
.privcard p.sub { color: rgba(244, 245, 250, 0.78); }
.flows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.flow { border-radius: 24px; padding: 24px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.flow h3 { margin: 0 0 12px; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.flow h3 .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.flow ul { margin: 0; padding-left: 18px; color: rgba(244, 245, 250, 0.78); font-size: 15.5px; }
.flow li { margin-bottom: 6px; }

/* Pro */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.plan { background: var(--card); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); }
.plan h3 { margin: 0; font-size: 26px; }
.plan-sub { margin: 4px 0 20px; color: var(--muted); font-size: 15.5px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.plan li { position: relative; padding-left: 30px; }
.plan li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--tint) 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.6L14.2 7.4' fill='none' stroke='%236B63C9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.plan.pro { background: radial-gradient(500px 300px at 100% 0%, #3A3480, transparent 70%), var(--navy); color: #F4F5FA; }
.plan.pro h3::after { content: ''; display: inline-block; width: 12px; height: 12px; margin-left: 8px; border-radius: 50%; background: var(--gold); vertical-align: 4px; }
.plan.pro .plan-sub, .plan-note { color: rgba(244, 245, 250, 0.75); }
.plan.pro li::before { background-color: rgba(246, 196, 107, 0.18); background-image: 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.6L14.2 7.4' fill='none' stroke='%23F6C46B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.plan-note { margin: 22px 0 0; font-size: 14.5px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--card); border-radius: 20px; margin-bottom: 10px; box-shadow: 0 6px 20px rgba(27, 31, 59, 0.04); }
.faq summary { cursor: pointer; padding: 19px 24px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: 1; color: var(--primary); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 24px 20px; color: var(--muted); }
.faq summary:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 20px; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow-y: clip; transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* Schluss */
.cta { padding-top: 24px; }
.ctacard { text-align: center; border-radius: 40px; padding: 64px 32px; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid color-mix(in srgb, var(--card) 85%, transparent); }
.cta-icon { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 16px 36px rgba(45, 62, 132, 0.3); margin-bottom: 20px; }
.ctacard p.sub { margin-left: auto; margin-right: auto; margin-bottom: 28px; }
.cta .badges { justify-content: center; }
.disclaimer { color: var(--muted); font-size: 14px; max-width: 46em; margin: 32px auto 0; text-align: center; }

footer { border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 20px; }
footer a { color: inherit; }

/* Rechtstexte (datenschutz.html, privacy.html) */
.doc { max-width: 760px; margin-top: 84px; margin-bottom: 40px; padding: 40px; background: var(--card); border-radius: 28px; box-shadow: var(--shadow); }
.doc h1 { font-size: 34px; line-height: 1.15; }
.doc h2 { font-size: 21px; margin-top: 36px; }
.doc .back { font-size: 15px; color: var(--primary); }
.policy-summary { background: var(--tint); border-radius: 20px; padding: 6px 24px 8px; margin: 24px 0; }
.policy-summary h2 { margin-top: 18px; }
.toc { background: var(--bg); border-radius: 20px; padding: 20px 24px; margin-bottom: 8px; }
.toc h2 { margin: 0 0 10px; font-size: 17px; }
.toc ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 28px; font-size: 15.5px; }
.toc li { break-inside: avoid; padding: 4px 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.doc h2[id] { padding-top: 18px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .toc ul { columns: 1; } }
@media (max-width: 800px) { .doc { margin-left: 12px; margin-right: 12px; padding: 24px 20px; width: auto; } }
.doc-lead { color: var(--muted); font-size: 18.5px; margin: 0 0 24px; }
.contact { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin-bottom: 36px; }
.contact h2 { margin: 0 0 6px; font-size: 20px; }
.contact > p { margin: 0; color: var(--muted); font-size: 16px; }
.contact > .form-alt { margin-top: 16px; font-size: 15px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.contact-form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-weight: 600; font-size: 15px; margin-bottom: 7px; padding: 0; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.label-row .count { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; transition: color 0.25s; }
.label-row .count.near { color: #E11D48; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 15px; outline: none; transition: border-color 0.2s, box-shadow 0.25s, background-color 0.2s; }
.field input::placeholder { color: var(--muted); opacity: 0.6; }
.field input:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); }
.field input:focus, .field textarea:focus { border-color: var(--primary); background: var(--card); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 16%, transparent); }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field-err { display: grid; grid-template-rows: 0fr; opacity: 0; color: #E11D48; font-size: 13.5px; font-weight: 500; transition: grid-template-rows 0.25s ease, opacity 0.2s, margin 0.25s; }
.field.bad .field-err { grid-template-rows: 1fr; opacity: 1; margin-top: 6px; }
.field-err { overflow: hidden; line-height: 1.35; }
.field.bad input, .field.bad textarea { border-color: #E11D48; }
.field.bad input:focus, .field.bad textarea:focus { box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.15); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) .field-err, :root:not([data-theme=light]) .label-row .count.near { color: #FB7185; }
  :root:not([data-theme=light]) .field.bad input, :root:not([data-theme=light]) .field.bad textarea { border-color: #FB7185; }
}
:root[data-theme=dark] .field-err, :root[data-theme=dark] .label-row .count.near { color: #FB7185; }
:root[data-theme=dark] .field.bad input, :root[data-theme=dark] .field.bad textarea { border-color: #FB7185; }

.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-chips label { position: relative; margin: 0; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.topic-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topic-chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--bg); color: var(--muted); transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); }
.topic-chips label:hover span { border-color: color-mix(in srgb, var(--primary) 45%, var(--line)); color: var(--ink); }
.topic-chips label:active span { transform: scale(0.95); }
.topic-chips input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.topic-chips input:focus-visible + span { box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 22%, transparent); }
.field.bad .topic-chips span { border-color: color-mix(in srgb, #E11D48 45%, var(--line)); }

.warn { display: flex; gap: 10px; background: var(--tint); border-radius: 14px; padding: 12px 16px; margin: 0; font-size: 15px; }
.warn::before { content: '!'; flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--primary); color: var(--card); font-size: 13px; font-weight: 800; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; }
.form-note { margin: 0; color: var(--muted); font-size: 14px; max-width: 30em; }

.contact-btn { position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; min-height: 50px; padding: 8px 24px; border: 0; border-radius: 99px; background: var(--btn); color: #fff; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 8px 22px rgba(91, 82, 196, 0.32); transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s, background-color 0.25s; }
.contact-btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(91, 82, 196, 0.38); }
.contact-btn:active { transform: scale(0.97); }
.contact-btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.contact-btn .btn-ic { width: 18px; height: 18px; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s; }
.contact-btn:hover .btn-ic { transform: translateX(3px); }
.contact-btn .spinner { position: absolute; right: 24px; width: 18px; height: 18px; border-radius: 50%; border: 2.2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; opacity: 0; transform: scale(0.5); transition: opacity 0.2s, transform 0.2s; }
.contact-btn.busy { cursor: progress; transform: none; }
.contact-btn.busy .btn-ic { opacity: 0; transform: translateX(8px); }
.contact-btn.busy .spinner { opacity: 1; transform: none; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-form.shake { animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

.form-status { display: none; margin: 18px 0 0; padding: 12px 16px; border-radius: 14px; font-weight: 600; font-size: 15.5px; }
.form-status:target, .form-status.show { display: block; animation: statusIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.contact > .form-status.bad { background: rgba(244, 63, 94, 0.12); border: 1px solid rgba(244, 63, 94, 0.3); color: var(--ink); }
@keyframes statusIn { from { opacity: 0; transform: translateY(-6px); } }
.form-done { display: none; flex-direction: column; align-items: center; text-align: center; padding: 36px 12px 20px; outline: none; }
.form-done:target, .form-done.show { display: flex; animation: statusIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
.contact.done .contact-form, .contact:has(#sent:target) .contact-form { display: none; }
.form-done svg { width: 64px; height: 64px; margin-bottom: 14px; }
.form-done circle { fill: var(--tint); stroke: var(--primary); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 0.6s 0.1s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.form-done path { fill: none; stroke: var(--primary); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw 0.4s 0.55s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-done h3 { margin: 0 0 4px; font-size: 20px; }
.form-done p { margin: 0 0 18px; color: var(--muted); }
.contact-again { border: 0; background: var(--tint); color: var(--primary); font-weight: 600; font-size: 15px; height: 44px; padding: 0 18px; border-radius: 12px; cursor: pointer; transition: transform 0.2s, background-color 0.2s; }
.contact-again:hover { transform: translateY(-1px); }
.contact-again:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .topic-chips span { height: 38px; padding: 0 14px; font-size: 14px; }
}

.doc .faq { margin: 0 0 28px; }
#kontakt .contact { max-width: 780px; margin: 0 auto; padding: 32px; border-radius: 24px; box-shadow: 0 20px 50px rgba(27, 31, 59, 0.08); }
#kontakt .contact h2 { font-size: clamp(26px, 3.2vw, 34px); }
@media (max-width: 600px) { #kontakt .contact { padding: 22px 18px; } }
.contact .eyebrow { margin-bottom: 6px; }

.reveal { opacity: 0; transform: translateY(24px) scale(0.985); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.contact { background: var(--card); border: 0; box-shadow: var(--shadow); }
.contact .eyebrow { color: var(--primary); }

@media (max-width: 960px) {
  .hero { padding-top: 104px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .hero-text .lead { margin-left: auto; margin-right: auto; }
  .hero .badges, .hero .trust { justify-content: center; }
  .hero-shots { height: 560px; }
  .hero-shots .front { width: 250px; }
  .hero-shots .back { width: 215px; top: 60px; }
  .showcase, .showcase.flip { grid-template-columns: 1fr; gap: 28px; padding: 36px 28px 0; text-align: center; }
  .showcase.flip .show-text { order: 0; }
  .showcase .show-text { padding-bottom: 0; }
  .showcase.show-watch { padding-bottom: 36px; }
  .showcase p:not(.eyebrow) { margin: 0 auto; }
  .show-shot .device { margin-bottom: -120px; }
  .show-shot { max-height: 380px; }
  .features { grid-template-columns: 1fr 1fr; }
  .flows { grid-template-columns: 1fr; }
  .privcard { padding: 48px 28px; border-radius: 32px; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 72px 0; }
  .hero-shots { height: 470px; }
  .hero-shots .front { width: 210px; }
  .hero-shots .back { width: 180px; top: 50px; }
  .features { grid-template-columns: 1fr; }
  .stats { gap: 6px; } .stat { padding: 8px 10px; } .stat b { font-size: 16px; }
  .chartcard { padding: 18px; border-radius: 22px; }
  .plan { padding: 26px 22px; }
  .ctacard { padding: 48px 20px; border-radius: 32px; }
  .show-shot { max-height: 330px; }
  .bar nav { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  .bar nav::-webkit-scrollbar { display: none; }
}
@media (hover: none) { .feature:hover, .contact-btn:hover, .badges a:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .form-done circle, .form-done path { stroke-dashoffset: 0; animation: none; }
}
