/* ==========================================================================
   ZYNTEVO 2026 Design-System (Glass / Apple-Stil)
   Gemeinsames Stylesheet für alle Seiten. Nicht pro Seite duplizieren.

   Schriften: bewusst Systemschriften statt Google Fonts. Die externe
   Einbindung von Google Fonts überträgt die Besucher-IP an Google-Server in
   den USA, was das Landgericht München 2022 als DSGVO-Verstoß eingestuft
   hat. --f-display ersetzt das frühere 'Poppins', --f-body ersetzt 'Inter'.
   ========================================================================== */
:root{
  --f-display:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --f-body:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
}
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  background:#F4F3EF; color:#1D1D1F;
  font-family:var(--f-body); line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden; position:relative;
}
a{ color:inherit; }
img{ max-width:100%; }
.wrap{ width:90%; max-width:1200px; margin:0 auto; position:relative; z-index:1; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible{
  outline:2px solid #B8923A; outline-offset:3px; border-radius:4px;
}
.skip-link{
  position:absolute; left:-9999px; top:0; background:#1D1D1F; color:#fff; padding:12px 20px;
  z-index:1000; border-radius:0 0 10px 0;
}
.skip-link:focus{ left:0; }

/* ---------- Ambient background mesh (animiert) ---------- */
.mesh{ position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.blob{ position:absolute; border-radius:50%; filter:blur(90px); opacity:0.55; }
.blob-1{ width:640px; height:640px; top:-220px; left:-160px; background:radial-gradient(circle,#F3DFA0,transparent 70%); animation:drift1 22s ease-in-out infinite; }
.blob-2{ width:560px; height:560px; top:120px; right:-200px; background:radial-gradient(circle,#E8C77A,transparent 70%); animation:drift2 26s ease-in-out infinite; }
.blob-3{ width:520px; height:520px; bottom:-180px; left:30%; background:radial-gradient(circle,#DCE6F0,transparent 70%); animation:drift3 30s ease-in-out infinite; }
.blob-4{ width:420px; height:420px; top:60%; right:10%; background:radial-gradient(circle,#F6E9C9,transparent 70%); opacity:0.4; animation:drift1 24s ease-in-out infinite reverse; }
@keyframes drift1{ 0%,100%{ transform:translate(0,0); } 50%{ transform:translate(60px,40px); } }
@keyframes drift2{ 0%,100%{ transform:translate(0,0); } 50%{ transform:translate(-50px,60px); } }
@keyframes drift3{ 0%,100%{ transform:translate(0,0); } 50%{ transform:translate(40px,-50px); } }

/* ---------- Glass utility ---------- */
.glass{
  background:rgba(255,255,255,0.55);
  backdrop-filter:blur(28px) saturate(180%);
  -webkit-backdrop-filter:blur(28px) saturate(180%);
  border:1px solid rgba(255,255,255,0.7);
  box-shadow:0 8px 32px rgba(31,31,31,0.07), inset 0 1px 0 rgba(255,255,255,0.6);
}
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; letter-spacing:0.08em; text-transform:uppercase;
  color:#7C5E1E; font-weight:700; margin-bottom:16px;
}

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }
.reveal-stagger.in > *{ opacity:1; transform:translateY(0); }
.reveal-stagger > *{ opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
.reveal-stagger.in > *:nth-child(1){ transition-delay:.05s; }
.reveal-stagger.in > *:nth-child(2){ transition-delay:.15s; }
.reveal-stagger.in > *:nth-child(3){ transition-delay:.25s; }
.reveal-stagger.in > *:nth-child(4){ transition-delay:.35s; }

/* ---------- Header ---------- */
header{ position:fixed; top:18px; left:0; right:0; z-index:100; display:flex; justify-content:center; transition:top .3s; }
.navpill{
  display:flex; align-items:center; justify-content:space-between; gap:30px;
  padding:10px 12px 10px 22px; border-radius:999px; width:92%; max-width:960px;
  transition:box-shadow .3s;
}
.logo{ display:flex; align-items:center; gap:8px; text-decoration:none; }
.logo img{ height:26px; width:auto; display:block; }
nav.mainnav{ display:flex; align-items:center; gap:26px; }
nav.mainnav a{ text-decoration:none; color:#3A3A3C; font-size:14px; font-weight:500; transition:color .2s; position:relative; }
nav.mainnav a:not(.nav-cta)::after{ content:''; position:absolute; left:0; bottom:-4px; width:0; height:1.5px; background:#B8923A; transition:width .25s; }
nav.mainnav a:not(.nav-cta):hover::after{ width:100%; }
nav.mainnav a:hover{ color:#1D1D1F; }
.nav-cta{
  background:linear-gradient(135deg,#D4AF37,#B8923A); color:#1D1D1F !important;
  padding:11px 22px; border-radius:999px; font-weight:700; font-size:13.5px;
  box-shadow:0 4px 14px rgba(184,146,58,0.35); transition:transform .2s, box-shadow .2s;
}
.nav-cta:hover{ transform:translateY(-2px); box-shadow:0 8px 20px rgba(184,146,58,0.45); }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:8px; flex-direction:column; gap:4px; }
.nav-toggle span{ width:20px; height:2px; background:#1D1D1F; border-radius:2px; transition:transform .25s, opacity .25s; }
.nav-toggle.open span:nth-child(1){ transform:translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-6px) rotate(-45deg); }

.mobile-menu{
  display:none; position:fixed; top:80px; left:4%; right:4%; z-index:99;
  border-radius:24px; padding:14px; flex-direction:column; gap:4px;
}
.mobile-menu.open{ display:flex; }
.mobile-menu a{ text-decoration:none; color:#1D1D1F; font-size:15px; font-weight:500; padding:14px 12px; border-radius:14px; transition:background .2s; }
.mobile-menu a:hover{ background:rgba(184,146,58,0.1); }
.mobile-menu a.nav-cta{ text-align:center; color:#1D1D1F !important; margin-top:6px; }

@media (max-width:860px){
  nav.mainnav a:not(.nav-cta){ display:none; }
  .nav-toggle{ display:flex; }
}

/* ---------- Hero ---------- */
.hero{ padding:190px 0 60px; position:relative; }
.hero-marquee-inner{ margin-top:80px; }
.hero-grid{ display:grid; grid-template-columns:1.15fr 0.95fr; gap:56px; align-items:center; }
.hero h1{
  font-family:var(--f-display); font-weight:700;
  font-size:clamp(32px,4.4vw,54px); line-height:1.14; color:#1D1D1F;
}
.hero h1 .gold{ background:linear-gradient(135deg,#D4AF37,#9C7A26); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-sub{ margin-top:24px; font-size:18px; color:#57575B; max-width:48ch; }
.hero-actions{ display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:15px 28px; border-radius:999px; font-size:14.5px; font-weight:700;
  text-decoration:none; transition:all .25s; border:none; cursor:pointer;
}
.btn-gold{ background:linear-gradient(135deg,#D4AF37,#B8923A); color:#1D1D1F; box-shadow:0 8px 20px rgba(184,146,58,0.35); }
.btn-gold:hover{ transform:translateY(-2px) scale(1.02); box-shadow:0 12px 26px rgba(184,146,58,0.45); }
.btn-glass{ color:#1D1D1F; }
.btn-glass:hover{ transform:translateY(-2px); }
.btn-block{ width:100%; justify-content:center; }

.hero-card{ border-radius:32px; padding:32px; position:relative; transition:transform .4s ease; }
.hero-card:hover{ transform:translateY(-4px) rotate(-0.3deg); }
.hero-card .top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }
.hero-card h3{ font-family:var(--f-display); font-weight:600; font-size:19px; margin-bottom:6px; }
.hero-card .sub{ color:#57575B; font-size:14px; margin-bottom:20px; }
.hero-card ul{ list-style:none; margin-bottom:22px; }
.hero-card ul li{ padding:9px 2px; border-bottom:1px solid rgba(29,29,31,0.08); font-size:14.5px; color:#3A3A3C; }
.hero-card ul li:last-child{ border-bottom:none; }
.hero-card .dot-row{ display:flex; gap:6px; }
.hero-card .dot{ width:9px; height:9px; border-radius:50%; background:rgba(29,29,31,0.15); }
.badge-live{ font-size:11px; font-weight:700; color:#7C5E1E; background:rgba(212,175,55,0.15); padding:5px 12px; border-radius:999px; }

/* Beispielrechnung / Vergleichsbalken */
.compare-label{ display:flex; justify-content:space-between; font-size:13px; color:#57575B; margin-bottom:8px; }
.compare-label b{ color:#1D1D1F; font-weight:600; }
.compare-track{ width:100%; height:14px; border-radius:999px; background:rgba(29,29,31,0.07); overflow:hidden; margin-bottom:22px; }
.compare-fill{ height:100%; border-radius:999px; transform:scaleX(0); transform-origin:left; transition:transform 1.1s cubic-bezier(.16,1,.3,1); }
.compare-fill.before{ background:#B8B8BC; }
.compare-fill.after{ background:linear-gradient(90deg,#D4AF37,#B8923A); }
.hero-card.filled .compare-fill{ transform:scaleX(1); }
.compare-result{ font-size:14.5px; color:#3A3A3C; padding-top:16px; border-top:1px solid rgba(29,29,31,0.08); }
.compare-result b{ color:#B8923A; font-family:var(--f-display); }

/* ---------- Marquee ---------- */
.marquee-section{ padding:70px 0; }
.marquee-wrap{ overflow:hidden; padding:30px 0; border-top:1px solid rgba(29,29,31,0.08); border-bottom:1px solid rgba(29,29,31,0.08); }
.marquee-track{ display:flex; gap:50px; width:max-content; animation:scroll-left 26s linear infinite; }
.marquee-wrap:hover .marquee-track{ animation-play-state:paused; }
.marquee-track span{ font-family:var(--f-display); font-weight:600; font-size:16px; color:#8E8E93; white-space:nowrap; display:flex; align-items:center; gap:10px; }
.marquee-track span::after{ content:'●'; color:#D4AF37; font-size:8px; margin-left:40px; }
@keyframes scroll-left{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- Sections ---------- */
section{ padding:130px 0; position:relative; }
.section-head{ max-width:640px; margin:0 auto 56px; text-align:center; }
.section-head.left{ margin:0 0 44px; text-align:left; }
.section-head h2{ font-family:var(--f-display); font-weight:700; font-size:clamp(28px,3.2vw,40px); color:#1D1D1F; line-height:1.2; }
.section-head p{ color:#57575B; margin-top:14px; font-size:16.5px; }

.icon-badge{
  width:56px; height:56px; border-radius:18px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,#D4AF37,#9C7A26); box-shadow:0 8px 18px rgba(184,146,58,0.35);
  margin-bottom:20px; flex-shrink:0;
}
.icon-badge svg{ width:26px; height:26px; stroke:#fff; fill:none; stroke-width:1.8; }
.icon-badge.sm{ width:40px; height:40px; border-radius:13px; margin-bottom:0; }
.icon-badge.sm svg{ width:19px; height:19px; }

.card-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.card-grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.card-grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.glass-card{ border-radius:28px; padding:34px; transition:transform .3s ease, box-shadow .3s ease; }
.glass-card:hover{ transform:translateY(-6px); }
.glass-card h3{ font-family:var(--f-display); font-weight:600; font-size:19px; color:#1D1D1F; margin-bottom:10px; }
.glass-card p{ color:#57575B; font-size:15px; }
.glass-card.sm{ padding:22px; text-align:center; }
.glass-card.sm h3{ font-size:14.5px; margin:0; }
@media (max-width:860px){ .card-grid-2, .card-grid-3, .card-grid-4{ grid-template-columns:1fr; } }
@media (min-width:861px) and (max-width:1080px){ .card-grid-4{ grid-template-columns:repeat(2,1fr); } }

.process-wrap{ border-radius:32px; padding:10px; }
.process-grid{ display:grid; grid-template-columns:repeat(3,1fr); }
.process-card{ padding:34px 30px; position:relative; }
.process-card:not(:last-child)::after{ content:''; position:absolute; right:0; top:20%; bottom:20%; width:1px; background:rgba(29,29,31,0.08); }
.process-card .num{ font-family:var(--f-display); font-weight:800; font-size:15px; color:#B8923A; display:block; margin-bottom:14px; }
.process-card h3{ font-family:var(--f-display); font-weight:600; font-size:18px; color:#1D1D1F; margin-bottom:12px; }
.process-card p{ color:#57575B; font-size:14.5px; }
@media (max-width:860px){ .process-grid{ grid-template-columns:1fr; } .process-card:not(:last-child)::after{ display:none; } }

/* ---------- Beispiel: Eingabe -> Ausgabe ---------- */
.example-grid{ display:grid; grid-template-columns:1fr 1fr; gap:30px; align-items:start; }
.example-panel{ border-radius:28px; padding:32px; }
.example-field{ margin-bottom:14px; }
.example-field span{ display:block; font-size:11px; color:#8E8E93; text-transform:uppercase; letter-spacing:.08em; margin-bottom:5px; font-weight:600; }
.example-field p{ font-size:14.5px; color:#1D1D1F; background:rgba(29,29,31,0.04); padding:10px 14px; border-radius:10px; }
.example-output-text{ font-size:14.5px; line-height:1.85; color:#3A3A3C; white-space:pre-line; }
.example-tags{ display:flex; gap:8px; margin-bottom:18px; flex-wrap:wrap; }
.example-tag{ display:inline-flex; align-items:center; gap:6px; font-size:11px; font-weight:700; padding:6px 12px; border-radius:999px; }
.example-tag.done{ background:rgba(52,199,89,0.12); color:#1E8E42; }
.example-tag.time{ background:rgba(212,175,55,0.15); color:#7C5E1E; }
@media (max-width:860px){ .example-grid{ grid-template-columns:1fr; } }

/* ---------- Video-Showcase ---------- */
.video-grid{ display:grid; grid-template-columns:auto 1fr; gap:60px; align-items:center; }
.video-frame{ position:relative; width:260px; flex-shrink:0; }
.video-frame video{
  width:260px; height:462px; object-fit:cover; border-radius:32px; display:block;
  border:1px solid rgba(255,255,255,0.7); box-shadow:0 20px 50px rgba(31,31,31,0.15);
}
.video-copy ul{ list-style:none; margin:22px 0 30px; }
.video-copy li{ padding:9px 0; font-size:15px; color:#3A3A3C; border-bottom:1px solid rgba(29,29,31,0.07); }
@media (max-width:900px){ .video-grid{ grid-template-columns:1fr; justify-items:center; text-align:center; } }

/* ---------- Pricing ---------- */
.pricing-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; max-width:760px; margin:0 auto; }
.pricing-card{ border-radius:28px; padding:38px; position:relative; }
.pricing-card.featured{ border:1px solid rgba(212,175,55,0.55); box-shadow:0 16px 40px rgba(184,146,58,0.15); }
.pricing-card .badge-featured{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:linear-gradient(135deg,#D4AF37,#B8923A); color:#1D1D1F; font-size:11px; font-weight:700;
  padding:6px 16px; border-radius:999px; white-space:nowrap;
}
.pricing-card h3{ font-family:var(--f-display); font-weight:600; font-size:19px; margin-bottom:4px; }
.pricing-card .price{ font-family:var(--f-display); font-weight:800; font-size:44px; color:#1D1D1F; margin:14px 0 20px; }
.pricing-card .price span{ font-size:14px; color:#8E8E93; font-weight:500; }
.pricing-card ul{ list-style:none; margin-bottom:26px; }
.pricing-card li{ padding:9px 0; border-bottom:1px solid rgba(29,29,31,0.07); font-size:14.5px; color:#3A3A3C; }
.pricing-card li:last-child{ border-bottom:none; }
@media (max-width:760px){ .pricing-grid{ grid-template-columns:1fr; } }

/* ---------- FAQ ---------- */
.faq-item{ border-radius:20px; padding:8px 26px; margin-bottom:14px; }
.faq-item summary{ cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:20px; font-size:16.5px; color:#1D1D1F; font-weight:600; padding:18px 0; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; color:#B8923A; font-size:22px; flex-shrink:0; font-weight:400; transition:transform .25s; }
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item p{ color:#57575B; font-size:15px; padding-bottom:20px; max-width:70ch; animation:faqOpen .3s ease; }
@keyframes faqOpen{ from{ opacity:0; transform:translateY(-6px); } to{ opacity:1; transform:translateY(0); } }

/* ---------- Widerruf (gesetzlich vorgeschrieben) ---------- */
.widerruf-bar{ background:rgba(239,68,68,0.05); border-top:1px solid rgba(239,68,68,0.18); border-bottom:1px solid rgba(239,68,68,0.18); padding:22px 0; text-align:center; }
.widerruf-bar p{ color:#57575B; font-size:13.5px; margin-bottom:12px; }
.btn-widerruf{ background:transparent; border:1px solid rgba(220,38,38,0.4); color:#DC2626; padding:10px 22px; border-radius:999px; font-size:13px; font-weight:700; cursor:pointer; font-family:var(--f-body); transition:.2s; }
.btn-widerruf:hover{ border-color:#DC2626; background:rgba(220,38,38,0.06); }
.widerruf-modal{ display:none; position:fixed; inset:0; background:rgba(29,29,31,0.55); backdrop-filter:blur(6px); z-index:9999; align-items:center; justify-content:center; }
.widerruf-modal.active{ display:flex; }
.widerruf-box{ background:#FBFAF7; border:1px solid rgba(220,38,38,0.25); border-radius:24px; padding:40px; max-width:480px; width:90%; text-align:center; box-shadow:0 20px 60px rgba(0,0,0,0.2); }
.widerruf-box h3{ font-size:20px; margin-bottom:12px; color:#DC2626; font-family:var(--f-display); }
.widerruf-box p{ color:#57575B; font-size:14px; line-height:1.7; margin-bottom:24px; }
.widerruf-actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.btn-widerruf-confirm{ background:#DC2626; color:#fff; border:none; padding:12px 26px; border-radius:999px; font-weight:700; font-size:14px; cursor:pointer; font-family:var(--f-body); }
.btn-widerruf-cancel{ background:transparent; border:1px solid rgba(29,29,31,0.15); color:#57575B; padding:12px 26px; border-radius:999px; font-weight:700; font-size:14px; cursor:pointer; font-family:var(--f-body); }

.final-cta-panel{ border-radius:36px; padding:70px 40px; text-align:center; }
.final-cta-panel h2{ font-family:var(--f-display); font-weight:700; font-size:clamp(28px,3.6vw,44px); color:#1D1D1F; max-width:16ch; margin:0 auto 18px; }
.final-cta-panel p{ color:#57575B; margin-bottom:32px; }

footer{ padding:60px 0 34px; position:relative; }
.footer-grid{ display:grid; grid-template-columns:2fr 1fr 1fr; gap:40px; margin-bottom:36px; }
footer h4{ font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:#8E8E93; margin-bottom:14px; font-weight:700; }
footer a{ text-decoration:none; color:#57575B; display:block; padding:5px 0; font-size:14px; transition:color .2s; }
footer a:hover{ color:#1D1D1F; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; padding-top:26px; border-top:1px solid rgba(29,29,31,0.08); color:#8E8E93; font-size:13px; }
.footer-bottom .socials{ display:flex; gap:16px; }
.footer-bottom .socials a{ padding:0; color:#8E8E93; }
.footer-bottom .socials a:hover{ color:#B8923A; }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr; gap:26px; } }

/* ---------- Reduced Motion (Barrierefreiheit) ---------- */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1 !important; transform:none !important; }
  .reveal-stagger > *{ opacity:1 !important; transform:none !important; }
  .blob{ animation:none !important; }
  .marquee-track{ animation:none !important; }
  .compare-fill{ transition:none !important; transform:scaleX(1) !important; }
  .hero-card:hover{ transform:none !important; }
}

/* ---------- Rechtstexte (Impressum, Datenschutz, Widerruf, AGB) ---------- */
.legal-panel{ border-radius:32px; padding:56px; max-width:820px; margin:0 auto; }
.legal-panel h1{ font-family:var(--f-display); font-weight:700; font-size:clamp(28px,3.4vw,40px); margin-bottom:30px; }
.legal-panel h2{ font-family:var(--f-display); font-weight:600; font-size:20px; margin:34px 0 12px; }
.legal-panel h3{ font-family:var(--f-display); font-weight:600; font-size:16px; margin:22px 0 8px; }
.legal-panel p{ color:#3A3A3C; font-size:15px; margin-bottom:14px; }
.legal-panel ul, .legal-panel ol{ color:#3A3A3C; font-size:15px; margin:0 0 14px 22px; }
.legal-panel li{ margin-bottom:6px; }
.legal-panel a{ color:#B8923A; text-decoration:underline; }
@media (max-width:760px){ .legal-panel{ padding:34px 24px; } }
