/* ============================================================
   NEXXORA — Gemeinsames Stylesheet
   Dark Navy + Electric Teal + Indigo
   Schrift: Sora (Display) + Inter (Body)
   Wiedererkennungsmerkmal: NX-Pulse Linie + Geometrisches N
   ============================================================ */
:root {
  --bg:    #050A14;
  --bg2:   #0A1225;
  --bg3:   #0F1A33;
  --line:  rgba(255,255,255,.07);
  --line2: rgba(255,255,255,.14);
  --text:  #E8EDF8;
  --muted: #7A8DAD;
  --teal:  #00E5C4;
  --indigo:#3B6BFF;
  --grad:  linear-gradient(120deg,#00E5C4 0%,#3B6BFF 100%);
  --grad2: linear-gradient(120deg,rgba(0,229,196,.12),rgba(59,107,255,.12));
  --r: 12px; --r-pill: 999px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
h1,h2,h3,h4 { font-family: 'Sora', sans-serif; line-height: 1.12; letter-spacing: -.02em; color: var(--text); }
h1 { font-size: clamp(2.6rem,5.5vw,4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem,3.2vw,2.6rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }
p  { margin-bottom: 1em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 36px; }

/* PAGE FADE-IN */
@keyframes pageIn { from { opacity:0; transform:translateY(14px);} to { opacity:1; transform:none;} }
.page-wrap { animation: pageIn .45s cubic-bezier(.22,1,.36,1) forwards; }

/* UTILITIES */
.gt { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ey {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .73rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 18px;
}
.ey::before { content:""; width:28px; height:2px; background:var(--grad); border-radius:2px; flex-shrink:0; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 50ch; line-height: 1.7; }
.section-head { margin-bottom: 52px; }
.glow-line { height:1px; background:linear-gradient(90deg,transparent,rgba(0,229,196,.35) 30%,rgba(59,107,255,.35) 70%,transparent); border:none; margin:0; }

/* BACKGROUNDS */
.bg-dots   { background-image: radial-gradient(circle, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 30px 30px; }
.bg-grid   { background-image: linear-gradient(rgba(0,229,196,.025) 1px,transparent 1px), linear-gradient(90deg,rgba(0,229,196,.025) 1px,transparent 1px); background-size: 52px 52px; }
.bg-circuit{ background-image: linear-gradient(45deg,rgba(59,107,255,.04) 1px,transparent 1px), linear-gradient(-45deg,rgba(0,229,196,.04) 1px,transparent 1px); background-size: 40px 40px; }

/* DIAGONAL SECTION TRANSITIONS */
.slant-b { clip-path: polygon(0 0,100% 0,100% calc(100% - 56px),0 100%); padding-bottom: 120px; margin-bottom: -56px; position: relative; z-index: 1; }
.slant-t { clip-path: polygon(0 56px,100% 0,100% 100%,0 100%); padding-top: 120px; margin-top: -56px; position: relative; z-index: 0; }
@media(max-width:768px) {
  .slant-b,.slant-t { clip-path: none; margin:0; padding-top:64px; padding-bottom:64px; }
}

/* SCROLL REVEAL */
.reveal { opacity:0; transform:translateY(26px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity:1; transform:none; }
.d1 { transition-delay:.08s; } .d2 { transition-delay:.16s; } .d3 { transition-delay:.24s; } .d4 { transition-delay:.32s; }

/* ── SKIP LINK ── */
.skip { position:absolute; left:-9999px; top:0; background:var(--text); color:var(--bg); padding:8px 16px; z-index:999; border-radius:0 0 8px 0; }
.skip:focus { left:0; }

/* ── HEADER ── */
header {
  position: fixed; top:0; left:0; right:0; z-index: 200;
  background: rgba(5,10,20,.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.hinner {
  max-width: 1140px; margin:0 auto; padding:0 36px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.25rem;
  color: var(--text); letter-spacing: -.03em; flex-shrink: 0;
}
.logo-mark { width:30px; height:30px; flex-shrink:0; }
/* Hauptnavigation ist jetzt das Hamburger-Dropdown — keine sichtbare Zeile */
nav.mainnav { display:none; }

.cta-nav {
  background: var(--grad) !important; color: #050A14 !important;
  font-weight: 700 !important; padding: 10px 20px !important;
  border-radius: var(--r-pill) !important;
  box-shadow: 0 4px 18px -6px rgba(0,229,196,.5);
  transition: transform .18s, box-shadow .18s !important;
  font-size:.9rem;
}
.cta-nav:hover { transform: translateY(-2px) !important; box-shadow: 0 8px 26px -6px rgba(0,229,196,.7) !important; }

/* Header rechte Seite: CTA-Button + Hamburger */
.header-right { display:flex; align-items:center; gap:12px; }

/* Hamburger-Button — immer sichtbar */
.nav-toggle {
  display:flex; flex-direction:column; justify-content:center; gap:5px;
  background:rgba(255,255,255,.04); border:1px solid var(--line2);
  border-radius:10px; cursor:pointer; padding:10px 11px;
  width:42px; height:42px; flex-shrink:0;
  transition: border-color .2s, background .2s;
}
.nav-toggle:hover { border-color:rgba(0,229,196,.4); background:rgba(0,229,196,.06); }
.nav-toggle span { width:18px; height:2px; background:var(--text); border-radius:2px; display:block; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.nav-open .nav-toggle span:nth-child(2) { opacity:0; }
.nav-open .nav-toggle span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

/* Dropdown-Menü */
.nav-dropdown {
  position:absolute; top:64px; right:36px;
  background:var(--bg2); border:1px solid var(--line2);
  border-radius:14px; padding:10px;
  min-width:220px;
  box-shadow:0 16px 40px -10px rgba(0,0,0,.5);
  display:flex; flex-direction:column; gap:2px;
  opacity:0; transform:translateY(-8px) scale(.97);
  pointer-events:none;
  transition:opacity .2s, transform .2s;
  z-index:250;
}
.nav-open .nav-dropdown { opacity:1; transform:translateY(0) scale(1); pointer-events:all; }
.nav-dropdown a {
  display:flex; align-items:center; gap:10px;
  padding:12px 14px; border-radius:9px;
  font-size:.94rem; font-weight:600; color:var(--muted);
  transition:background .15s, color .15s;
}
.nav-dropdown a:hover, .nav-dropdown a.active { background:rgba(0,229,196,.08); color:var(--text); }
.nav-dropdown a.active { color:var(--teal); }
.nav-dropdown .dd-divider { height:1px; background:var(--line); margin:6px 4px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items:center; gap:8px;
  background: var(--grad); color: #050A14;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: .95rem;
  padding: 14px 28px; border-radius: var(--r-pill);
  box-shadow: 0 8px 26px -8px rgba(0,229,196,.6);
  transition: transform .18s, box-shadow .18s;
  border: none; cursor: pointer; text-decoration: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -8px rgba(0,229,196,.75); color:#050A14; }
.btn-ghost {
  display: inline-flex; align-items:center; gap:8px;
  background: transparent; color: var(--text);
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: var(--r-pill);
  border: 1.5px solid var(--line2);
  transition: border-color .2s, background .2s;
  cursor: pointer; text-decoration: none;
}
.btn-ghost:hover { border-color: var(--teal); background: rgba(0,229,196,.06); color:var(--text); }

/* ── CARDS ── */
.card {
  background: var(--bg2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 28px 26px;
  position: relative; overflow: hidden;
  transition: border-color .25s, transform .25s, background .25s;
}
.card:hover { border-color: rgba(0,229,196,.3); transform: translateY(-4px); background: var(--bg3); }
.card::after {
  content:""; position:absolute; bottom:0; left:0; right:0; height:1.5px;
  background: var(--grad); transform: scaleX(0); transform-origin:left;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.card:hover::after { transform: scaleX(1); }
.card .icon {
  width:48px; height:48px; border-radius:10px;
  background: var(--grad2); border:1px solid rgba(0,229,196,.18);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:20px; color:var(--teal);
}
.card .icon svg { width:24px; height:24px; stroke-width:1.7; }
.card h3 { margin-bottom:9px; }
.card p { color:var(--muted); font-size:.93rem; margin-bottom:0; }

/* GRIDS */
.grid3 { display:grid; gap:22px; grid-template-columns:repeat(3,1fr); }
.grid2 { display:grid; gap:24px; grid-template-columns:repeat(2,1fr); }
@media(max-width:900px) { .grid3 { grid-template-columns:1fr 1fr; } }
@media(max-width:600px) { .grid3,.grid2 { grid-template-columns:1fr; } }

/* SECTIONS */
section { padding:96px 0; }
section.alt { background:var(--bg2); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 130px 0 80px;
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content:""; position:absolute; top:-200px; right:-150px;
  width:500px; height:500px; border-radius:50%;
  background: radial-gradient(circle,rgba(59,107,255,.15),transparent 68%);
  pointer-events:none;
}
.page-hero::after {
  content:""; position:absolute; bottom:-250px; left:-150px;
  width:450px; height:450px; border-radius:50%;
  background: radial-gradient(circle,rgba(0,229,196,.1),transparent 68%);
  pointer-events:none;
}
.page-hero .wrap { position:relative; z-index:2; }
.page-hero h1 { font-size: clamp(2.2rem,4.5vw,3.4rem); }

/* PROCESS RAIL */
.rail { display:flex; flex-direction:column; }
.rail-item { display:grid; grid-template-columns:52px 1fr; gap:0 24px; }
.rail-marker { display:flex; flex-direction:column; align-items:center; }
.rail-num {
  width:40px; height:40px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-family:'Sora',sans-serif; font-weight:700; font-size:.9rem;
  border:1.5px solid var(--line2); background:var(--bg2); color:var(--text);
}
.rail-item.active .rail-num { background:linear-gradient(135deg,#3060EE,#3B6BFF); border-color:transparent; color:#fff; }
.rail-stem { width:1px; flex:1; background:var(--line); margin:6px 0; }
.rail-item:last-child .rail-stem { display:none; }
.rail-body { padding-bottom:44px; }
.rail-body h3 { margin-bottom:8px; }
.rail-body p { color:var(--muted); font-size:.95rem; max-width:60ch; margin-bottom:0; }

/* FORMS */
form.fbox { background:var(--bg2); border:1px solid var(--line); border-radius:var(--r); padding:34px; }
.field { margin-bottom:18px; }
.field label { display:block; font-size:.84rem; font-weight:600; margin-bottom:7px; }
.field input,.field textarea,.field select {
  width:100%; font-family:'Inter',sans-serif; font-size:.96rem;
  padding:12px 14px; border-radius:8px; border:1.5px solid var(--line2);
  background:var(--bg); color:var(--text); transition:border-color .2s;
  appearance:none; -webkit-appearance:none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%237A8DAD' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center; background-size:16px; padding-right:36px;
}
.field input::placeholder,.field textarea::placeholder { color:#4A5A7A; }
.field input:focus,.field textarea:focus,.field select:focus { outline:none; border-color:var(--teal); }
.field-row { display:flex; gap:14px; }
.field-row .field { flex:1; }
.consent-row { display:flex; gap:9px; align-items:flex-start; font-size:.82rem; color:var(--muted); margin-bottom:20px; }
.consent-row input { margin-top:3px; flex-shrink:0; accent-color:var(--teal); }

/* REVIEW CARDS */
.review-card { background:var(--bg2); border:1px solid var(--line); border-radius:var(--r); padding:28px; position:relative; overflow:hidden; transition:border-color .25s,transform .25s; }
.review-card:hover { border-color:rgba(0,229,196,.3); transform:translateY(-3px); }
.review-card::after { content:""; position:absolute; bottom:0; left:0; right:0; height:1.5px; background:var(--grad); transform:scaleX(0); transform-origin:left; transition:transform .35s cubic-bezier(.22,1,.36,1); }
.review-card:hover::after { transform:scaleX(1); }
.review-stars { color:#F5C842; font-size:.9rem; letter-spacing:2px; margin-bottom:12px; }
.review-text { font-size:.97rem; font-style:italic; margin-bottom:16px; }
.review-author { font-size:.83rem; color:var(--muted); }
.review-author strong { color:var(--teal); font-style:normal; }

/* STAR SELECT */
.star-select { display:flex; gap:6px; margin-bottom:4px; }
.star-select button { background:none; border:none; cursor:pointer; font-size:1.4rem; color:#3A4560; transition:color .15s,transform .15s; padding:0; line-height:1; }
.star-select button.active,.star-select button:hover { color:#F5C842; transform:scale(1.15); }
.rating-label { font-size:.8rem; color:var(--muted); margin-top:4px; }
.form-success { display:none; text-align:center; padding:32px; background:var(--grad2); border:1px solid rgba(0,229,196,.25); border-radius:var(--r); }
.form-success.show { display:block; }

/* CONTACT INFO */
.cinfo { display:flex; gap:16px; align-items:flex-start; padding:18px 20px; background:var(--bg2); border:1px solid var(--line); border-radius:var(--r); }
.cinfo .ci-icon { width:40px; height:40px; flex-shrink:0; border-radius:8px; background:var(--grad2); border:1px solid rgba(0,229,196,.18); display:flex; align-items:center; justify-content:center; color:var(--teal); }
.cinfo .ci-icon svg { width:18px; height:18px; stroke-width:1.8; }
.cinfo .k { font-size:.8rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:var(--teal); display:block; margin-bottom:3px; }
.cinfo .v { font-size:.95rem; }
.cinfo a { color:var(--text); }
.cinfo a:hover { color:var(--teal); }

/* NEWSLETTER */
.nl-band { padding:80px 0; background:var(--bg2); border-top:1px solid var(--line); position:relative; overflow:hidden; }
.nl-band::before { content:""; position:absolute; inset:0; background:radial-gradient(ellipse at 60% 50%,rgba(0,229,196,.07),transparent 60%); pointer-events:none; }
.nl-inner { position:relative; z-index:1; display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; }
.nl-form { display:flex; gap:10px; flex-wrap:wrap; margin-top:20px; }
.nl-form input { flex:1 1 220px; padding:13px 18px; border-radius:var(--r-pill); border:1.5px solid var(--line2); background:var(--bg); color:var(--text); font-family:'Inter',sans-serif; font-size:.95rem; }
.nl-form input:focus { outline:none; border-color:var(--teal); }
.fineprint { font-size:.78rem; color:var(--muted); margin-top:12px; max-width:420px; }

/* ── FOOTER ── */
footer.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  padding: 72px 0 0;
  position: relative;
}
/* Subtle grid in footer like Infinitum */
footer.site-footer::before {
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(0,229,196,.018) 1px,transparent 1px), linear-gradient(90deg,rgba(0,229,196,.018) 1px,transparent 1px);
  background-size: 52px 52px; pointer-events:none;
}
.footer-inner { position:relative; z-index:1; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-brand .logo { margin-bottom:16px; }
.footer-brand p { color:var(--muted); font-size:.9rem; max-width:28ch; line-height:1.65; }
.footer-socials { display:flex; gap:10px; margin-top:22px; }
.footer-socials a {
  width:38px; height:38px; border-radius:8px;
  background:rgba(255,255,255,.04); border:1px solid var(--line2);
  display:flex; align-items:center; justify-content:center; color:var(--muted);
  transition:background .2s,border-color .2s,color .2s;
}
.footer-socials a:hover { background:rgba(0,229,196,.1); border-color:rgba(0,229,196,.3); color:var(--teal); }
.footer-socials svg { width:16px; height:16px; stroke-width:1.8; }
.footer-col h4 { font-family:'Sora',sans-serif; font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.14em; color:var(--teal); margin-bottom:18px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer-col li a { color:var(--muted); font-size:.9rem; transition:color .2s; }
.footer-col li a:hover { color:var(--text); }
.footer-bottom {
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px;
  padding:22px 0;
}
.footer-bottom p { color:var(--muted); font-size:.82rem; margin:0; }

/* BACK TO TOP */
.back-to-top {
  position:fixed; bottom:28px; right:28px; z-index:300;
  width:44px; height:44px; border-radius:var(--r-pill);
  background:var(--grad); border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 6px 20px -6px rgba(0,229,196,.6);
  opacity:0; pointer-events:none;
  transition:opacity .3s,transform .3s;
}
.back-to-top.show { opacity:1; pointer-events:all; }
.back-to-top:hover { transform:translateY(-3px); }
.back-to-top svg { width:18px; height:18px; stroke:#050A14; stroke-width:2.2; fill:none; }

/* IMPRESSUM */
.imp-grid { display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.imp-block { background:var(--bg2); border:1px solid var(--line); border-radius:var(--r); padding:28px; }
.imp-block h3 { font-size:.85rem; text-transform:uppercase; letter-spacing:.1em; color:var(--teal); margin-bottom:14px; font-weight:700; }
.imp-block p, .imp-block a { color:var(--muted); font-size:.93rem; line-height:1.7; }
.imp-block a:hover { color:var(--text); }

/* RESPONSIVE */
@media(max-width:980px) {
  .footer-grid { grid-template-columns:1fr 1fr; }
}
@media(max-width:480px) {
  .nav-dropdown { right:20px; min-width:200px; }
  .cta-nav span.cta-text { display:none; }
}
@media(max-width:680px) {
  .nl-inner { grid-template-columns:1fr; }
  .imp-grid { grid-template-columns:1fr; }
  .field-row { flex-direction:column; gap:0; }
  .footer-grid { grid-template-columns:1fr; gap:32px; }
  .hinner { padding:0 20px; }
  .wrap { padding:0 20px; }
}


.toggle { position:relative; width:42px; height:23px; flex-shrink:0; }
.toggle input { opacity:0; width:0; height:0; position:absolute; }
.toggle-slider { position:absolute; inset:0; border-radius:24px; background:var(--bg3); border:1px solid var(--line2); cursor:pointer; transition:background .2s; }
.toggle input:checked + .toggle-slider { background:var(--teal); border-color:var(--teal); }
.toggle-slider::after { content:""; position:absolute; left:3px; top:2px; width:16px; height:16px; border-radius:50%; background:#fff; transition:transform .2s; }
.toggle input:checked + .toggle-slider::after { transform:translateX(19px); }

/* ══════════════════════════════════════════════════════
   COOKIE-CONSENT — EINE Komponente, zwei Ansichten
   (einfache Ansicht <-> Detail-Ansicht), kein Banner+Modal mehr
   ══════════════════════════════════════════════════════ */
.cc-wrap {
  position: fixed; left: 20px; bottom: 20px; z-index: 500;
  max-width: 420px; width: calc(100% - 40px);
}
.cc-wrap[hidden] { display: none; }
.cc-card {
  background: var(--bg2);
  border: 1px solid var(--line2);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 20px 50px -12px rgba(0,0,0,.55);
  position: relative; overflow: hidden;
  max-height: 80vh; overflow-y: auto;
}
.cc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad);
}
.cc-title {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem;
  color: var(--text); margin-bottom: 10px; display:flex; align-items:center; gap:8px;
}
.cc-text {
  font-size: .86rem; color: var(--muted); line-height: 1.6; margin-bottom: 20px;
}
.cc-text a { color: var(--teal); }

/* Drei identisch gestaltete Buttons */
.cc-btnrow { display: flex; gap: 8px; flex-wrap: wrap; }
.cc-btn {
  flex: 1; min-width: 110px;
  background: transparent;
  border: 1.5px solid var(--line2);
  color: var(--text);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: .85rem;
  padding: 11px 14px; border-radius: var(--r-pill);
  cursor: pointer; text-align: center;
  transition: border-color .2s, background .2s;
}
.cc-btn:hover { border-color: var(--teal); background: rgba(0,229,196,.08); }
.cc-btn.cc-btn-primary {
  border-color: rgba(0,229,196,.4);
  background: rgba(0,229,196,.08);
}
.cc-btn.cc-btn-primary:hover { background: rgba(0,229,196,.16); }

/* Detail-Ansicht: Akkordeon der Kategorien */
.cc-accordion { display: flex; flex-direction: column; gap: 0; margin-bottom: 18px; }
.cc-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.cc-item:last-child { border-bottom: none; }
.cc-item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.cc-item-title { font-size: .92rem; font-weight: 600; color: var(--text); }
.cc-always {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  color: var(--teal); background: rgba(0,229,196,.12); border-radius: var(--r-pill);
  padding: 3px 9px;
}
.cc-item-desc { font-size: .8rem; color: var(--muted); line-height: 1.55; margin: 0; }

.cc-back {
  background: none; border: none; color: var(--muted);
  font-size: .8rem; cursor: pointer; padding: 0 0 14px;
  display: flex; align-items: center; gap: 6px;
}
.cc-back:hover { color: var(--text); }

/* Wiederöffnen-Link im Footer */
.reopen-cookie { background:none; border:none; color:var(--muted); font-size:.82rem; font-weight:600; cursor:pointer; padding:0; font-family:'Inter',sans-serif; }
.reopen-cookie:hover { color: var(--teal); }

@media(max-width:480px) {
  .cc-wrap { left:12px; right:12px; bottom:12px; width:auto; max-width:none; }
  .cc-btn { min-width:90px; font-size:.8rem; padding:10px 10px; }
}

/* ══════════════════════════════════════════════════════
   APPLE-STYLE SERVICE PAGE LAYOUT (wiederhergestellt)
   ══════════════════════════════════════════════════════ */
.svc-hero { padding:136px 0 96px; position:relative; overflow:hidden; }
.svc-hero::before { content:""; position:absolute; top:-200px; right:-150px; width:500px; height:500px; border-radius:50%; background:radial-gradient(circle,rgba(59,107,255,.18),transparent 68%); pointer-events:none; }
.svc-hero::after { content:""; position:absolute; bottom:-280px; left:-180px; width:480px; height:480px; border-radius:50%; background:radial-gradient(circle,rgba(0,229,196,.1),transparent 68%); pointer-events:none; }
.svc-hero .wrap { position:relative; z-index:2; max-width:800px; }
.svc-hero .svc-tag { display:inline-flex; align-items:center; gap:8px; font-size:.75rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--teal); margin-bottom:20px; border:1px solid rgba(0,229,196,.25); border-radius:var(--r-pill); padding:6px 14px; background:rgba(0,229,196,.06); }
.svc-hero h1 { font-size:clamp(2.8rem,5.5vw,4.6rem); font-weight:800; line-height:1.08; letter-spacing:-.03em; max-width:16ch; }
.svc-hero .svc-sub { font-size:1.22rem; color:var(--muted); max-width:52ch; line-height:1.7; margin-top:22px; }
.svc-btns { margin-top:36px; display:flex; gap:14px; flex-wrap:wrap; align-items:center; }

/* Stats strip */
.stats-strip { border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:40px 0; background:var(--bg2); }
.stats-inner { display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.stat-item { text-align:center; padding:0 24px; border-right:1px solid var(--line); }
.stat-item:last-child { border-right:none; }
.stat-num { font-family:'Sora',sans-serif; font-weight:800; font-size:clamp(1.8rem,3vw,2.6rem); background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; display:block; }
.stat-lbl { font-size:.84rem; color:var(--muted); margin-top:6px; display:block; }

/* Story sections (alternating) */
.story-section { padding:110px 0; border-bottom:1px solid var(--line); }
.story-section:nth-child(even) { background:var(--bg2); }
.story-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; }
.story-grid.flip { direction:rtl; }
.story-grid.flip > * { direction:ltr; }
.story-eyebrow { font-size:.73rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--teal); margin-bottom:14px; display:block; }
.story-h { font-size:clamp(1.8rem,3vw,2.4rem); font-weight:700; letter-spacing:-.02em; max-width:18ch; }
.story-body { font-size:1.06rem; color:var(--muted); line-height:1.75; margin:16px 0 24px; max-width:46ch; }
.story-checks { list-style:none; display:flex; flex-direction:column; gap:10px; }
.story-checks li { display:flex; gap:10px; align-items:flex-start; font-size:.97rem; }
.story-checks li::before { content:""; width:20px; height:20px; flex-shrink:0; border-radius:50%; margin-top:1px; background:var(--grad2); border:1px solid rgba(0,229,196,.3); background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='5,10 8.5,14 15,6' fill='none' stroke='%2300E5C4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:center; }

/* Visual panels — KRITISCH: SVG-Größe begrenzen (Screen 1 Bug) */
.visual-panel { background:var(--bg2); border:1px solid var(--line2); border-radius:20px; padding:36px; position:relative; overflow:hidden; min-height:340px; display:flex; flex-direction:column; justify-content:space-between; }
.visual-panel::before { content:""; position:absolute; bottom:0; left:0; right:0; height:2px; background:var(--grad); opacity:.5; }
.visual-panel::after { content:""; position:absolute; top:-60px; right:-60px; width:200px; height:200px; border-radius:50%; background:radial-gradient(circle,rgba(59,107,255,.12),transparent 70%); pointer-events:none; }
.visual-panel svg { max-width:100%; height:auto; }
.vp-big { font-family:'Sora',sans-serif; font-weight:800; font-size:clamp(2.8rem,5vw,4rem); background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; line-height:1; }
.vp-label { font-size:.88rem; color:var(--muted); margin-top:8px; }
.vp-bars { display:flex; align-items:flex-end; gap:6px; height:80px; margin-top:20px; }
.vp-bar { flex:1; border-radius:4px 4px 0 0; background:var(--grad); opacity:.7; }
.vp-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:16px; }
.vp-chip { background:var(--bg3); border:1px solid var(--line); border-radius:10px; padding:12px; display:flex; flex-direction:column; gap:4px; }
.vp-chip-n { font-family:'Sora',sans-serif; font-weight:700; font-size:1.3rem; color:var(--text); }
.vp-chip-l { font-size:.78rem; color:var(--muted); }
.vp-row { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid var(--line); }
.vp-row:last-child { border-bottom:none; }
.vp-dot { width:10px; height:10px; border-radius:50%; flex-shrink:0; }
.vp-row-label { font-size:.88rem; color:var(--muted); flex:1; }
.vp-row-val { font-size:.88rem; font-weight:600; color:var(--text); }
.vp-funnel { display:flex; flex-direction:column; gap:6px; margin-top:16px; }
.vp-funnel-step { display:flex; align-items:center; gap:10px; padding:10px 14px; border-radius:8px; background:var(--bg3); border:1px solid var(--line); }
.vp-funnel-step .num { font-family:'Sora',sans-serif; font-weight:700; font-size:1.1rem; color:var(--teal); min-width:48px; }
.vp-funnel-step .lbl { font-size:.85rem; color:var(--muted); }

/* Deliverables grid — KRITISCH: Icon-Box klein halten (Screen 1 Bug) */
.deliverables { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:12px; }
.deliv-card { background:var(--bg2); border:1px solid var(--line); border-radius:12px; padding:22px 20px; position:relative; overflow:hidden; transition:border-color .2s, transform .2s; }
.deliv-card:hover { border-color:rgba(0,229,196,.3); transform:translateY(-3px); }
.deliv-card::after { content:""; position:absolute; bottom:0; left:0; right:0; height:1.5px; background:var(--grad); transform:scaleX(0); transform-origin:left; transition:transform .35s cubic-bezier(.22,1,.36,1); }
.deliv-card:hover::after { transform:scaleX(1); }
.deliv-icon { width:42px; height:42px; margin-bottom:14px; color:var(--teal); display:flex; align-items:center; justify-content:center; background:var(--grad2); border:1px solid rgba(0,229,196,.18); border-radius:10px; flex-shrink:0; }
.deliv-icon svg { width:21px; height:21px; }
.deliv-card h4 { font-family:'Sora',sans-serif; font-size:.97rem; font-weight:600; margin-bottom:6px; }
.deliv-card p { font-size:.86rem; color:var(--muted); margin:0; }

/* CTA band */
.svc-cta { padding:100px 0; text-align:center; background:var(--bg2); border-top:1px solid var(--line); position:relative; overflow:hidden; }
.svc-cta::before { content:""; position:absolute; inset:0; background:radial-gradient(ellipse at 50% 100%,rgba(0,229,196,.08),transparent 60%); pointer-events:none; }
.svc-cta .wrap { position:relative; z-index:1; max-width:600px; margin:0 auto; }

@media(max-width:900px){
  .story-grid,.story-grid.flip { grid-template-columns:1fr; direction:ltr; gap:40px; }
  .stats-inner { grid-template-columns:1fr 1fr; }
  .stat-item:nth-child(2) { border-right:none; }
  .deliverables { grid-template-columns:1fr 1fr; }
}
@media(max-width:600px){
  .stats-inner { grid-template-columns:1fr 1fr; }
  .deliverables { grid-template-columns:1fr; }
  .svc-hero { padding:110px 0 72px; }
}

/* RAIL FINAL OVERRIDE — alle Zahlen einheitlich blau (Screen 4) */
.rail .rail-item .rail-num,
.rail-item .rail-num,
.rail-item.active .rail-num {
  background: linear-gradient(135deg,#3060EE,#3B6BFF) !important;
  border-color: transparent !important;
  color: #fff !important;
}
.rail-item .rail-stem { background: rgba(59,107,255,.3) !important; }

/* Datei-Upload im Kontaktformular */
.fbox input[type="file"] {
  width:100%; font-size:.9rem; color:var(--muted);
  padding:10px 0; cursor:pointer;
}
.fbox input[type="file"]::file-selector-button {
  background:rgba(0,229,196,.08); border:1px solid rgba(0,229,196,.25);
  color:var(--teal); font-family:'Inter',sans-serif; font-weight:600; font-size:.85rem;
  padding:9px 16px; border-radius:var(--r-pill); cursor:pointer; margin-right:12px;
  transition:background .2s, border-color .2s;
}
.fbox input[type="file"]::file-selector-button:hover {
  background:rgba(0,229,196,.16); border-color:var(--teal);
}

/* ══════════════════════════════════════════════════════
   404- & DANKE-SEITE
   ══════════════════════════════════════════════════════ */
.err-section { min-height:calc(100vh - 300px); display:flex; align-items:center; padding:100px 0 80px; position:relative; overflow:hidden; }
.err-section::before { content:""; position:absolute; top:10%; right:-10%; width:500px; height:500px; border-radius:50%; background:radial-gradient(circle,rgba(59,107,255,.14),transparent 68%); pointer-events:none; }
.err-section::after { content:""; position:absolute; bottom:-15%; left:-10%; width:440px; height:440px; border-radius:50%; background:radial-gradient(circle,rgba(0,229,196,.1),transparent 68%); pointer-events:none; }
.err-inner { position:relative; z-index:2; max-width:640px; text-align:center; margin:0 auto; }
.err-code { font-family:'Sora',sans-serif; font-weight:800; font-size:clamp(5rem,14vw,9rem); line-height:1; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; letter-spacing:-.04em; }
.err-pulse { width:64px; height:3px; background:var(--grad); border-radius:2px; margin:20px auto 28px; }
.err-title { font-family:'Sora',sans-serif; font-weight:700; font-size:clamp(1.6rem,3.5vw,2.4rem); letter-spacing:-.02em; margin-bottom:14px; }
.err-text { font-size:1.08rem; color:var(--muted); line-height:1.7; max-width:48ch; margin:0 auto 32px; }
.err-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-bottom:40px; }
.err-links { font-size:.9rem; color:var(--muted); display:flex; gap:16px; justify-content:center; flex-wrap:wrap; align-items:center; }
.err-links span { color:var(--muted); }
.err-links a { color:var(--text); font-weight:600; transition:color .2s; }
.err-links a:hover { color:var(--teal); }

/* Danke-Häkchen */
.danke-check { width:80px; height:80px; margin:0 auto 28px; border-radius:50%; background:var(--grad2); border:1.5px solid rgba(0,229,196,.35); display:flex; align-items:center; justify-content:center; color:var(--teal); }
.danke-check svg { width:38px; height:38px; }
