/* ─── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-black:   #0a0a0a;
  --c-dark:    #111827;
  --c-mid:     #374151;
  --c-muted:   #6b7280;
  --c-border:  #e5e7eb;
  --c-bg:      #f9fafb;
  --c-white:   #ffffff;
  --c-accent:  #2563eb;
  --c-accent-h:#1d4ed8;
  --c-green:   #16a34a;
  --c-red:     #dc2626;
  --c-orange:  #ea580c;
  --c-yellow:  #ca8a04;
  --radius:    12px;
  --shadow:    0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-dark);
  background: var(--c-white);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.125rem; }
a  { color: inherit; text-decoration: none; }

/* ─── Buttons ──────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-accent);
  color: var(--c-white);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn-primary:hover { background: var(--c-accent-h); transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: var(--c-bg);
  color: var(--c-dark);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid var(--c-border);
  cursor: pointer;
  transition: border-color .15s;
}
.btn-secondary:hover { border-color: var(--c-accent); color: var(--c-accent); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent;
  color: var(--c-accent);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid var(--c-accent);
  cursor: pointer;
  transition: background .15s, color .15s;
}
.btn-outline:hover { background: var(--c-accent); color: var(--c-white); }

/* ─── Header ───────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(229,231,235,.6);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--c-dark);
}
.logo span { color: var(--c-accent); }
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: .9rem; font-weight: 500; color: var(--c-mid); transition: color .15s; }
nav a:hover { color: var(--c-accent); }
.btn-nav {
  background: var(--c-accent);
  color: var(--c-white) !important;
  padding: 8px 18px;
  border-radius: 7px;
  font-size: .875rem !important;
}
.btn-nav:hover { background: var(--c-accent-h); }

/* ─── Hero (Dark + Glass + Pulse) ────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 120px 0 100px;
  background: linear-gradient(135deg, #050816 0%, #0a0f1e 40%, #0c1333 100%);
  overflow: hidden;
  min-height: 680px;
}
.hero-bg {
  position: absolute; inset: 0; overflow: hidden;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, black 0%, transparent 100%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .35;
  animation: glowFloat 8s ease-in-out infinite alternate;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #2563eb, transparent 70%);
  top: -150px; right: 5%;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #7c3aed, transparent 70%);
  bottom: -100px; left: 15%;
  animation-delay: -4s;
}
.hero-glow-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  top: 30%; left: 50%;
  animation-delay: -2s;
  opacity: .2;
}
@keyframes glowFloat {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.1); }
}

/* Pulse Line (Doktor-Thema) */
.hero-pulse {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 80px;
  opacity: .15;
}
.pulse-line {
  fill: none;
  stroke: #3b82f6;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: pulseTrace 4s ease-in-out infinite;
}
@keyframes pulseTrace {
  0%   { stroke-dashoffset: 2400; opacity: .6; }
  50%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -2400; opacity: .6; }
}

/* Glass utility */
.glass-card {
  background: rgba(255,255,255,.05) !important;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.1) !important;
}
.glass-badge {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: .75rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  white-space: nowrap;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.3);
  color: #93c5fd;
  padding: 6px 18px;
  border-radius: 24px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: .02em;
}

.hero-text h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; letter-spacing: -.02em; }
.hero-sub { font-size: 1.1rem; color: #94a3b8; margin-bottom: 36px; max-width: 500px; line-height: 1.7; }

.hero-cta-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-hero {
  display: inline-block;
  background: var(--c-accent);
  color: #fff;
  padding: 16px 36px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: all .2s;
  box-shadow: 0 4px 24px rgba(37,99,235,.4), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-hero:hover { background: #3b82f6; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,99,235,.5); }
.btn-hero-ghost {
  display: inline-block;
  color: #94a3b8;
  padding: 16px 24px;
  font-weight: 600;
  font-size: .95rem;
  transition: color .15s;
}
.btn-hero-ghost:hover { color: #fff; }

/* Demo dots (shared) */
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.demo-dots i:nth-child(1) { background: #ef4444; }
.demo-dots i:nth-child(2) { background: #eab308; }
.demo-dots i:nth-child(3) { background: #22c55e; }
.demo-url { font-size: .75rem; color: #475569; font-family: monospace; }

/* ─── Doctor Scene Animation ─────────────────────────────────────────────── */
.hero-demo { position: relative; }
.doc-scene {
  display: flex;
  align-items: flex-end;
  gap: 0;
  position: relative;
  animation: sceneFloat 6s ease-in-out infinite alternate;
}
@keyframes sceneFloat {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

/* ── Doctor Character ── */
.doc-character {
  position: relative;
  z-index: 2;
  margin-right: -20px;
  animation: docLeanIn 5s ease-in-out infinite;
}
@keyframes docLeanIn {
  0%, 100% { transform: rotate(0deg) translateX(0); }
  30%  { transform: rotate(3deg) translateX(5px); }  /* leans in to look */
  45%  { transform: rotate(-8deg) translateX(-10px) scale(1.02); } /* shocked! */
  55%  { transform: rotate(-5deg) translateX(-6px); }
  70%  { transform: rotate(0deg) translateX(0); }
}

.doc-head {
  width: 64px; height: 68px;
  position: relative;
  margin: 0 auto;
}
.doc-hair {
  position: absolute;
  top: -2px; left: 8px;
  width: 48px; height: 28px;
  background: #374151;
  border-radius: 24px 24px 0 0;
}
.doc-face {
  position: absolute;
  top: 12px; left: 8px;
  width: 48px; height: 52px;
  background: #fbbf7a;
  border-radius: 24px 24px 20px 20px;
}
.doc-eyes {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding-top: 16px;
  animation: docEyeAnim 5s ease-in-out infinite;
}
@keyframes docEyeAnim {
  0%, 28%  { transform: scale(1); }
  42%, 58% { transform: scale(1.4); } /* eyes go wide! */
  72%, 100% { transform: scale(1); }
}
.doc-eye {
  width: 10px; height: 10px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.doc-pupil {
  width: 6px; height: 6px;
  background: #1e293b;
  border-radius: 50%;
}
.doc-mouth {
  width: 12px; height: 6px;
  border: 2px solid #92400e;
  border-top: none;
  border-radius: 0 0 12px 12px;
  margin: 6px auto 0;
  animation: docMouthAnim 5s ease-in-out infinite;
}
@keyframes docMouthAnim {
  0%, 28%  { width: 12px; height: 6px; border-radius: 0 0 12px 12px; }
  42%, 58% { width: 14px; height: 12px; border-radius: 50%; } /* O-mouth shocked! */
  72%, 100% { width: 12px; height: 6px; border-radius: 0 0 12px 12px; }
}
.doc-glasses {
  position: absolute;
  top: 24px; left: 6px;
  width: 52px; height: 16px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 8px;
  background: rgba(147,197,253,.1);
}
.doc-glasses::before {
  content: '';
  position: absolute;
  top: 5px; left: 22px;
  width: 8px; height: 2px;
  background: rgba(255,255,255,.4);
}

/* Sweat drop */
.doc-sweat {
  position: absolute;
  top: -5px; right: 0;
  font-size: 16px;
  opacity: 0;
  animation: sweatDrop 5s ease-in-out infinite;
}
@keyframes sweatDrop {
  0%, 38%  { opacity: 0; transform: translateY(0); }
  42%      { opacity: 1; transform: translateY(0); }
  60%      { opacity: 1; transform: translateY(12px); }
  65%, 100% { opacity: 0; transform: translateY(20px); }
}

/* Body */
.doc-body {
  width: 72px; height: 60px;
  position: relative;
  margin: 0 auto;
}
.doc-coat {
  width: 72px; height: 55px;
  background: linear-gradient(180deg, #f0f4ff, #e0e7ff);
  border-radius: 8px 8px 12px 12px;
  border: 1px solid rgba(255,255,255,.3);
  position: relative;
}
.doc-coat::before {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 35px;
  background: rgba(0,0,0,.08);
}
.doc-stethoscope {
  position: absolute;
  top: 2px; left: 12px;
  width: 20px; height: 30px;
  border: 2px solid #64748b;
  border-top: none; border-right: none;
  border-radius: 0 0 0 12px;
}
.doc-stethoscope::after {
  content: '';
  position: absolute;
  bottom: -4px; left: -6px;
  width: 10px; height: 10px;
  background: #475569;
  border-radius: 50%;
}

/* ── Laptop ── */
.doc-laptop { position: relative; flex-shrink: 0; }
.doc-screen {
  width: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 80px rgba(37,99,235,.1);
  position: relative;
}
.doc-screen-header {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(0,0,0,.4);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.doc-laptop-base {
  width: 310px; height: 10px;
  background: linear-gradient(180deg, #374151, #1f2937);
  border-radius: 0 0 8px 8px;
  margin: 0 auto;
  margin-left: -15px;
}

/* Code lines */
.doc-code {
  padding: 14px;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: .65rem;
  line-height: 1.7;
}
.code-line {
  opacity: 0;
  animation: codeAppear .3s ease-out forwards;
  padding: 1px 0;
  white-space: nowrap;
  overflow: hidden;
}
.code-line:nth-child(1) { animation-delay: .3s; }
.code-line:nth-child(2) { animation-delay: .5s; }
.code-line:nth-child(3) { animation-delay: .7s; }
.code-line:nth-child(4) { animation-delay: .9s; }
.code-line:nth-child(5) { animation-delay: 1.1s; }
.code-line:nth-child(6) { animation-delay: 1.3s; }
.code-line:nth-child(7) { animation-delay: 1.5s; }
.code-line:nth-child(8) { animation-delay: 1.7s; }
@keyframes codeAppear { to { opacity: 1; } }
.code-line.bad { color: #fca5a5; }
.code-line.warn { color: #fcd34d; }

/* Diagnosis overlay */
.doc-diagnosis {
  position: absolute;
  inset: 0;
  background: rgba(5,8,22,.92);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  animation: diagnosisAppear .6s ease forwards;
  animation-delay: 3s;
}
@keyframes diagnosisAppear {
  0%   { opacity: 0; transform: scale(.9); }
  100% { opacity: 1; transform: scale(1); }
}
.diagnosis-score {
  font-size: 3rem;
  font-weight: 900;
  color: #ef4444;
  line-height: 1;
  text-shadow: 0 0 30px rgba(239,68,68,.4);
}
.diagnosis-label {
  font-size: .85rem;
  font-weight: 700;
  color: #fca5a5;
  padding: 3px 14px;
  background: rgba(239,68,68,.15);
  border-radius: 12px;
  border: 1px solid rgba(239,68,68,.3);
}
.diagnosis-items {
  display: flex; gap: 6px; margin-top: 6px;
}
.diag-bad {
  font-size: .65rem;
  font-weight: 600;
  color: #fca5a5;
  padding: 2px 8px;
  background: rgba(239,68,68,.1);
  border-radius: 8px;
}

/* Floating Glass Badges */
.hero-float {
  position: absolute;
  animation: floatBadge 5s ease-in-out infinite alternate;
  opacity: 0;
  animation-fill-mode: forwards;
}
.hero-float-1 { top: -10px; right: -20px; animation-delay: 1.8s; }
.hero-float-2 { bottom: -10px; right: -10px; animation-delay: 2.2s; }
.hero-float-3 { bottom: 30px; left: -40px; animation-delay: 2.6s; }
@keyframes floatBadge {
  0%   { opacity: 0; transform: translateY(8px); }
  15%  { opacity: 1; transform: translateY(0); }
  85%  { opacity: 1; transform: translateY(-4px); }
  100% { opacity: .9; transform: translateY(0); }
}

/* ─── Numbers bar (Glass) ────────────────────────────────────────────────── */
.numbers {
  padding: 0;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.numbers-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.glass-num {
  text-align: center;
  padding: 20px 16px;
  background: rgba(255,255,255,.95);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
}
.glass-num:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.glass-num strong { display: block; font-size: 1.1rem; font-weight: 800; color: var(--c-accent); margin-bottom: 2px; }
.glass-num span { font-size: .75rem; color: var(--c-muted); }

/* ─── Problems ─────────────────────────────────────────────────────────────── */
.problems {
  padding: 100px 0 80px;
  background: var(--c-white);
}
.problems-intro { max-width: 500px; margin-bottom: 48px; }
.problems-intro h2 { margin-bottom: 12px; }
.problems-intro p { color: var(--c-muted); font-size: 1.05rem; line-height: 1.6; }
.section-sub { text-align: center; color: var(--c-muted); margin-bottom: 48px; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.problem-card {
  padding: 24px 28px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s;
}
.problem-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.problem-num {
  font-size: .75rem;
  font-weight: 800;
  color: var(--c-muted);
  opacity: .4;
  margin-bottom: 8px;
}
.problem-card strong { display: block; margin-bottom: 6px; color: var(--c-dark); font-size: 1rem; }
.problem-card p { font-size: .875rem; color: var(--c-muted); line-height: 1.5; }

/* ─── Steps (timeline style) ──────────────────────────────────────────────── */
.steps {
  padding: 80px 0;
  background: #f8fafc;
  scroll-margin-top: 64px;
}
.steps h2 { text-align: center; margin-bottom: 48px; }
.steps-flow {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}
.steps-flow::before {
  content: '';
  position: absolute;
  left: 23px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--c-accent), #c4b5fd);
}
.step-item {
  display: flex;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}
.step-item:last-child { padding-bottom: 0; }
.step-marker {
  width: 48px; height: 48px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px #f8fafc;
}
.step-content h3 { margin-bottom: 6px; margin-top: 10px; }
.step-content p { font-size: .9rem; color: var(--c-mid); line-height: 1.6; }

/* ─── Portfolio ───────────────────────────────────────────────────────────── */
.portfolio {
  padding: 80px 0;
  background: var(--c-white);
  scroll-margin-top: 64px;
}
.portfolio-intro { max-width: 500px; margin-bottom: 48px; }
.portfolio-intro h2 { margin-bottom: 8px; }
.portfolio-intro p { color: var(--c-muted); font-size: 1rem; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.portfolio-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: block;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
}
.portfolio-img {
  height: 200px;
  background: var(--c-bg) center / cover no-repeat;
  border-bottom: 1px solid var(--c-border);
}
.portfolio-info {
  padding: 20px;
}
.portfolio-info h3 { font-size: 1rem; margin-bottom: 6px; color: var(--c-dark); }
.portfolio-info p { font-size: .85rem; color: var(--c-muted); line-height: 1.5; margin-bottom: 10px; }
.portfolio-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 3px 10px;
  border-radius: 20px;
  background: #dbeafe;
  color: var(--c-accent);
}

/* ─── Why Us (split layout) ───────────────────────────────────────────────── */
.why-us {
  padding: 80px 0;
  background: #0a0f1e;
  color: #fff;
}
.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.why-left h2 { color: #fff; margin-bottom: 20px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.why-left p { color: #94a3b8; font-size: 1rem; line-height: 1.7; margin-bottom: 24px; }
.why-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.why-tags span {
  padding: 6px 14px;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.3);
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  color: #93c5fd;
}
.why-right { display: flex; flex-direction: column; gap: 20px; }
.why-point {
  padding: 20px 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  transition: background .2s;
}
.why-point:hover { background: rgba(255,255,255,.07); }
.why-point strong { display: block; margin-bottom: 6px; font-size: .95rem; color: #fff; }
.why-point p { font-size: .85rem; color: #94a3b8; line-height: 1.5; }

/* ─── FAQ ─────────────────────────────────────────────────────────────────── */
.faq {
  padding: 80px 0;
  background: var(--c-white);
}
.faq h2 { text-align: center; margin-bottom: 48px; }
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 18px 24px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: background .15s;
}
.faq-item summary:hover { background: var(--c-bg); }
.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--c-muted);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 24px 18px;
  font-size: .9rem;
  color: var(--c-mid);
  line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }

/* ─── About ───────────────────────────────────────────────────────────────── */
.about {
  padding: 80px 0;
  background: var(--c-white);
}
.about-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  filter: grayscale(15%);
  transition: filter .3s;
}
.about-photo img:hover { filter: grayscale(0%); }
.about-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-accent);
  display: block;
  margin-bottom: 8px;
}
.about-text h2 { margin-bottom: 16px; }
.about-text p { font-size: .95rem; color: var(--c-mid); line-height: 1.7; margin-bottom: 14px; }
.about-contact {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
}
.about-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .85rem;
  transition: background .15s;
}
.about-wa:hover { background: #1fb855; }
.about-mail {
  font-size: .85rem;
  color: var(--c-accent);
  text-decoration: underline;
}
.about-loc {
  font-size: .82rem;
  color: var(--c-muted);
}

/* ─── WhatsApp Float ──────────────────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  z-index: 999;
  transition: transform .2s, box-shadow .2s;
  animation: waPulse 3s ease-in-out infinite;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 4px 16px rgba(37,211,102,.4), 0 0 0 12px rgba(37,211,102,.1); }
}

/* ─── Offer (updated) ────────────────────────────────────────────────────── */
.offer-desc { font-size: .85rem; color: var(--c-muted); margin-top: -8px; }

/* ─── Analyse Tool ─────────────────────────────────────────────────────────── */
.analyse-section {
  padding: 80px 0;
  background: var(--c-dark);
  scroll-margin-top: 64px;
}
.analyse-box {
  background: var(--c-white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  max-width: 820px;
  margin: 0 auto;
}
.analyse-box h2 { margin-bottom: 8px; }
.analyse-sub { color: var(--c-muted); margin-bottom: 32px; }

.input-row {
  display: flex;
  gap: 12px;
}
.input-row input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid var(--c-border);
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color .15s;
  color: var(--c-dark);
  font-family: inherit;
}
.input-row input:focus { border-color: var(--c-accent); }
.input-row input::placeholder { color: #9ca3af; }

#submit-btn {
  white-space: nowrap;
  min-width: 140px;
  justify-content: center;
}

.btn-spinner svg {
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-error {
  color: var(--c-red);
  font-size: .875rem;
  margin-top: 8px;
}

/* ─── Result ───────────────────────────────────────────────────────────────── */
#result {
  margin-top: 40px;
  border-top: 1px solid var(--c-border);
  padding-top: 40px;
  animation: fadeIn .4s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.result-header {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 36px;
}

/* Score circle */
.score-circle {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}
.score-svg {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}
.score-bg {
  fill: none;
  stroke: var(--c-border);
  stroke-width: 8;
}
.score-bar {
  fill: none;
  stroke: var(--c-accent);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset 1s ease, stroke .4s;
}
.score-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}
#score-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-dark);
  line-height: 1;
}
.score-max { font-size: .7rem; color: var(--c-muted); margin-top: 2px; }

.score-label {
  display: inline-block;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.score-label.green  { background: #dcfce7; color: var(--c-green); }
.score-label.yellow { background: #fef9c3; color: var(--c-yellow); }
.score-label.orange { background: #ffedd5; color: var(--c-orange); }
.score-label.red    { background: #fee2e2; color: var(--c-red); }
.score-arc.green  { stroke: var(--c-green); }
.score-arc.yellow { stroke: var(--c-yellow); }
.score-arc.orange { stroke: var(--c-orange); }
.score-arc.red    { stroke: var(--c-red); }

.score-url { font-size: .85rem; color: var(--c-muted); word-break: break-all; }
.score-loadtime { font-size: .8rem; color: var(--c-muted); margin-top: 4px; }

/* Checks grid */
.checks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.checks-col h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.checks-fail h3 { color: var(--c-red); }
.checks-pass h3 { color: var(--c-green); }

.checks-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.checks-col li {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .875rem;
  line-height: 1.4;
}
.checks-fail li {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--c-dark);
}
.checks-pass li {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--c-dark);
}
.check-name { font-weight: 600; display: block; }
.check-detail { color: var(--c-muted); font-size: .8rem; margin-top: 2px; display: block; }

/* ─── Lead Gate ───────────────────────────────────────────────────────────── */
#result-teaser { position: relative; }
.checks-blurred {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
  max-height: 280px;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}
.lead-overlay {
  position: relative;
  margin-top: -60px;
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(135deg, #f0f7ff, #faf5ff);
  border: 1px solid #dbeafe;
  border-radius: var(--radius);
  z-index: 1;
}
.lead-lock-icon {
  color: var(--c-accent);
  margin-bottom: 12px;
}
.lead-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: 6px;
}
.lead-sub {
  font-size: .9rem;
  color: var(--c-mid);
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.lead-form {
  display: flex;
  gap: 10px;
  max-width: 500px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.lead-form input {
  padding: 12px 16px;
  border: 2px solid var(--c-border);
  border-radius: 8px;
  font-size: .9rem;
  font-family: inherit;
  color: var(--c-dark);
  outline: none;
  transition: border-color .15s;
  flex: 1;
  min-width: 180px;
}
.lead-form input:focus { border-color: var(--c-accent); }
.lead-form .btn-primary { white-space: nowrap; min-width: 160px; }
.lead-alt {
  margin-top: 14px;
  font-size: .8rem;
  color: var(--c-muted);
}
.lead-alt a {
  color: var(--c-accent);
  text-decoration: underline;
  font-weight: 600;
}
.lead-alt a:hover { color: var(--c-accent-h); }

/* After unlock */
#result-full { animation: fadeIn .5s ease; }

/* CTA */
.result-cta {
  background: linear-gradient(135deg, #eff6ff, #f9fafb);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  border: 1px solid #dbeafe;
}
.result-summary {
  font-size: 1rem;
  color: var(--c-mid);
  margin-bottom: 24px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── Offer ────────────────────────────────────────────────────────────────── */
.offer {
  padding: 80px 0;
  background: var(--c-bg);
  scroll-margin-top: 64px;
}
.offer h2 { text-align: center; margin-bottom: 8px; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.offer-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
}
.offer-featured {
  border: 2px solid var(--c-accent);
  position: relative;
}
.offer-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--c-muted);
}
.offer-label-featured { color: var(--c-accent); }
.offer-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-dark);
}
.offer-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.offer-card li {
  font-size: .875rem;
  color: var(--c-mid);
  padding-left: 20px;
  position: relative;
}
.offer-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--c-green);
  font-weight: 700;
}

/* ─── Contact ──────────────────────────────────────────────────────────────── */
.contact {
  padding: 80px 0;
  background: var(--c-white);
  scroll-margin-top: 64px;
}
.contact-box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.contact-box h2 { margin-bottom: 12px; }
.contact-box > p { color: var(--c-muted); margin-bottom: 36px; }

.contact-form { text-align: left; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--c-border);
  border-radius: 8px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--c-dark);
  outline: none;
  transition: border-color .15s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--c-accent); }
.contact-form .btn-primary { align-self: flex-start; }

/* ─── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  padding: 40px 0 24px;
  border-top: 1px solid var(--c-border);
  font-size: .85rem;
  color: var(--c-muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.footer-brand p { font-size: .82rem; color: var(--c-muted); margin-top: 6px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--c-muted); text-decoration: underline; font-size: .8rem; }
.footer-links a:hover { color: var(--c-accent); }
.footer-bottom { padding-top: 16px; border-top: 1px solid var(--c-border); font-size: .78rem; color: #9ca3af; }

/* ─── Insights ─────────────────────────────────────────────────────────────── */
.insights-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-mid);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 32px 0 16px;
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.insight-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-white);
}
.insight-warn  { border-color: #fed7aa; background: #fffbf7; }
.insight-danger{ border-color: #fecaca; background: #fff8f8; }

.insight-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg);
}
.insight-warn   .insight-head { background: #fff7ed; border-color: #fed7aa; }
.insight-danger .insight-head { background: #fff1f1; border-color: #fecaca; }

.insight-icon  { font-size: 1rem; }
.insight-title { font-size: .875rem; font-weight: 700; color: var(--c-dark); }
.insight-body  { padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }

/* Status rows */
.status-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .85rem;
  color: var(--c-dark);
}
.status-icon { font-weight: 700; width: 14px; flex-shrink: 0; margin-top: 1px; }
.status-row.pass .status-icon { color: var(--c-green); }
.status-row.fail .status-icon { color: var(--c-red); }

/* Badges / Tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }
.badge-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
}
.badge-good    { background: #dcfce7; color: var(--c-green); }
.badge-warn    { background: #ffedd5; color: var(--c-orange); }
.badge-danger  { background: #fee2e2; color: var(--c-red); }
.badge-info    { background: #dbeafe; color: var(--c-accent); }
.badge-neutral { background: var(--c-bg); color: var(--c-mid); border: 1px solid var(--c-border); }

.insight-alert-row   { display: flex; align-items: center; gap: 8px; font-size: .85rem; }
.insight-alert-badge { margin-top: 4px; }

.insight-hint {
  font-size: .8rem;
  color: var(--c-muted);
  padding: 6px 10px;
  background: #fafafa;
  border-left: 3px solid var(--c-border);
  border-radius: 0 6px 6px 0;
}
.insight-muted { font-size: .85rem; color: var(--c-muted); }

/* Stats row */
.stat-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.stat-num   { font-size: 1.4rem; font-weight: 800; color: var(--c-dark); }
.stat-warn  { color: var(--c-orange); }
.stat-label { font-size: .8rem; color: var(--c-muted); margin-right: 12px; }

/* Social grid */
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
.social-item {
  font-size: .8rem;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--c-border);
}
.social-item.found   { background: #f0fdf4; border-color: #bbf7d0; color: var(--c-green); font-weight: 600; }
.social-item.missing { background: var(--c-bg); color: #9ca3af; }

/* ─── OpenPageRank Card ─────────────────────────────────────────────────────── */
.opr-score { display: flex; align-items: center; gap: 16px; margin: 8px 0; }
.opr-num {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.opr-num.good   { color: var(--c-green); }
.opr-num.warn   { color: var(--c-yellow); }
.opr-num.danger { color: var(--c-red); }
.opr-dots { display: flex; gap: 4px; margin-bottom: 4px; }
.opr-dot {
  width: 18px; height: 18px; border-radius: 4px;
  border: 2px solid var(--c-border);
  background: var(--c-bg);
}
.opr-dot.good   { background: var(--c-green);  border-color: var(--c-green); }
.opr-dot.warn   { background: var(--c-yellow); border-color: var(--c-yellow); }
.opr-dot.danger { background: var(--c-red);    border-color: var(--c-red); }
.opr-dot.empty  { background: var(--c-bg);     border-color: var(--c-border); }
.opr-label { font-size: .82rem; color: var(--c-muted); }

/* ─── PageSpeed Insights Card ───────────────────────────────────────────────── */
.psi-scores {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.psi-score-item { text-align: center; }
.psi-score-num {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2px;
}
.psi-score-num.good   { color: var(--c-green); }
.psi-score-num.warn   { color: var(--c-yellow); }
.psi-score-num.danger { color: var(--c-red); }
.psi-score-num.neutral{ color: var(--c-muted); }
.psi-score-label { font-size: .72rem; color: var(--c-muted); }

/* Ladezeit-Messwerte als Tabelle */
.psi-vitals-table { display: flex; flex-direction: column; gap: 4px; margin: 10px 0; }
.psi-vital-row {
  display: grid;
  grid-template-columns: 20px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--c-border);
  font-size: .85rem;
}
.psi-vital-row.good   { background: #f0fdf4; border-color: #bbf7d0; }
.psi-vital-row.warn   { background: #fefce8; border-color: #fde68a; }
.psi-vital-row.danger { background: #fef2f2; border-color: #fecaca; }
.psi-vital-icon { font-size: .9rem; }
.psi-vital-label { color: var(--c-dark); }
.psi-vital-val { font-weight: 700; color: var(--c-dark); white-space: nowrap; }

/* Externe Dienste */
.psi-third-party {
  padding: 6px 10px;
  border-left: 3px solid var(--c-border);
  margin: 4px 0;
}
.psi-tp-name { font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.psi-tp-detail { font-size: .78rem; color: var(--c-muted); margin-top: 2px; }

/* Seitenstatistiken */
.psi-stats { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.psi-stat-item { display: flex; align-items: center; gap: 8px; font-size: .85rem; }
.psi-stat-val { flex-shrink: 0; }
.psi-stat-label { color: var(--c-muted); }

/* ─── Disclaimer ────────────────────────────────────────────────────────────── */
.tool-disclaimer {
  margin-top: 14px;
  font-size: .78rem;
  color: #9ca3af;
  line-height: 1.5;
  border-top: 1px solid var(--c-border);
  padding-top: 12px;
}
.tool-disclaimer strong { color: var(--c-mid); }

.result-disclaimer {
  margin-top: 20px;
  font-size: .75rem;
  color: #9ca3af;
  line-height: 1.5;
  border-top: 1px solid var(--c-border);
  padding-top: 14px;
  text-align: left;
}

/* ─── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-demo { display: none; }
  .hero { padding: 100px 0 120px; min-height: auto; }
  .numbers-row { grid-template-columns: repeat(2, 1fr); }
  .why-split { grid-template-columns: 1fr; gap: 32px; }
  .about-split { grid-template-columns: 1fr; gap: 24px; }
  .about-photo { max-width: 200px; }
}
@media (max-width: 768px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .psi-scores { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 16px; }
}
@media (max-width: 640px) {
  .input-row { flex-direction: column; }
  #submit-btn { min-width: unset; }
  .result-header { flex-direction: column; text-align: center; }
  .checks-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .analyse-box { padding: 28px 20px; }
  nav a:not(.btn-nav) { display: none; }
  .insights-grid { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
  .hero { padding: 80px 0 100px; }
  .hero-text h1 { font-size: 2rem; }
  .hero-badge { font-size: .72rem; padding: 5px 14px; }
  .hero-cta-row { flex-direction: column; align-items: flex-start; }
  .numbers-row { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .glass-num { padding: 14px 12px; }
  .problem-grid { grid-template-columns: 1fr; }
}

/* ─── Consent Banner ──────────────────────────────────────────────────────── */
.consent-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 9998;
  animation: consentFadeIn .3s ease;
}
.consent-box {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  width: min(520px, calc(100% - 32px));
  background: var(--c-white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  padding: 28px;
  z-index: 9999;
  animation: consentSlideUp .4s ease;
}
@keyframes consentFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes consentSlideUp { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.consent-closing .consent-overlay { animation: consentFadeOut .3s ease forwards; }
.consent-closing .consent-box { animation: consentSlideDown .3s ease forwards; }
@keyframes consentFadeOut { to { opacity: 0; } }
@keyframes consentSlideDown { to { opacity: 0; transform: translateX(-50%) translateY(20px); } }

.consent-header { margin-bottom: 12px; }
.consent-header strong { font-size: 1.1rem; color: var(--c-dark); }
.consent-text { font-size: .875rem; color: var(--c-mid); line-height: 1.6; margin-bottom: 20px; }

.consent-categories { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.consent-cat {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color .15s;
}
.consent-cat:hover { border-color: var(--c-accent); }
.consent-cat input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0;
  accent-color: var(--c-accent);
}
.consent-cat strong { display: block; font-size: .9rem; color: var(--c-dark); }
.consent-cat span { font-size: .78rem; color: var(--c-muted); line-height: 1.4; }

.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-btn {
  padding: 11px 20px; border-radius: 8px; font-size: .875rem;
  font-weight: 600; cursor: pointer; border: none; transition: all .15s;
}
.consent-btn-primary { background: var(--c-accent); color: #fff; flex: 1; }
.consent-btn-primary:hover { background: var(--c-accent-h); }
.consent-btn-secondary { background: var(--c-bg); color: var(--c-dark); border: 2px solid var(--c-border); }
.consent-btn-secondary:hover { border-color: var(--c-accent); color: var(--c-accent); }
.consent-btn-link { background: none; color: var(--c-muted); font-weight: 500; padding: 11px 8px; }
.consent-btn-link:hover { color: var(--c-dark); }

.consent-legal { margin-top: 14px; font-size: .75rem; color: var(--c-muted); text-align: center; }
.consent-legal a { color: var(--c-muted); text-decoration: underline; }
.consent-legal a:hover { color: var(--c-accent); }

@media (max-width: 640px) {
  .consent-box { padding: 20px; bottom: 0; border-radius: 16px 16px 0 0; width: 100%; }
  .consent-actions { flex-direction: column; }
}
