/* ============================================================
   BROGGERS AGENCY — Design System
   Modern · Clean · Übersichtlich
   Schrift: Sora (Display) + Geist (Body/UI)
   ============================================================ */

:root {
  /* Farben */
  --bg: #FFFFFF;
  --bg-soft: #F5F7F6;
  --bg-dark: #0A0F0D;
  --ink: #0C100E;
  --ink-soft: #495350;
  --muted: #8B948F;
  --line: #E7EAE8;
  --line-soft: #F0F2F1;
  --accent: #0E9F6E;
  --accent-dark: #057A52;
  --accent-soft: #E2F6EE;
  --accent-ring: rgba(14, 159, 110, 0.18);
  --white: #FFFFFF;

  /* Radien */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-full: 999px;

  /* Schatten */
  --shadow-sm: 0 1px 2px rgba(12, 16, 14, 0.04), 0 1px 3px rgba(12, 16, 14, 0.06);
  --shadow-md: 0 4px 6px rgba(12, 16, 14, 0.04), 0 10px 20px rgba(12, 16, 14, 0.06);
  --shadow-lg: 0 12px 24px rgba(12, 16, 14, 0.06), 0 24px 48px rgba(12, 16, 14, 0.08);

  /* Layout */
  --container: 1200px;
  --pad: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------- Typografie ---------- */
h1, h2, h3, h4, h5 {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ink);
}
h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 700; }
h2 { font-size: clamp(30px, 4.2vw, 52px); }
h3 { font-size: clamp(22px, 2.6vw, 30px); }
h4 { font-size: 19px; letter-spacing: -0.02em; }
p { color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Geist', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-dark);
  text-transform: none;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-ring);
}
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-soft); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.bg-soft { background: var(--bg-soft); }
.center { text-align: center; }
.max-720 { max-width: 720px; }
.max-640 { max-width: 640px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--r-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px var(--accent-ring); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-soft); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 17px 30px; font-size: 16px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.logo {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.logo .dot { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a.link {
  padding: 9px 14px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s, background 0.15s;
}
.nav-links a.link:hover { color: var(--ink); background: var(--bg-soft); }
.nav-cta { margin-left: 8px; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.burger svg { width: 26px; height: 26px; color: var(--ink); }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .burger { display: inline-flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 16px var(--pad) 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a.link { padding: 12px 14px; font-size: 16px; }
  .nav-links.open .nav-cta { margin: 8px 0 0; }
  .nav-links.open .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  z-index: -1;
}
.hero-inner { max-width: 880px; }
.hero h1 { margin: 20px 0 24px; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-trust {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.hero-trust .ck { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ck svg { width: 17px; height: 17px; color: var(--accent); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat .num {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.stat .num .unit { color: var(--accent); }
.stat .lbl { margin-top: 8px; font-size: 14px; color: var(--muted); font-weight: 500; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }

/* ---------- Section header ---------- */
.sec-head { max-width: 640px; margin-bottom: 56px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-head h2 { margin: 14px 0 16px; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .ico {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 15.5px; margin-bottom: 20px; }
.card .feats { list-style: none; border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; }
.card .feats li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-soft); font-weight: 500; }
.card .feats li svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } .card { padding: 28px; } }

/* ---------- Steps / Methode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { padding: 28px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line-soft); }
.step .n {
  font-family: 'Geist Mono', 'Geist', monospace;
  font-size: 13px; font-weight: 600;
  color: var(--accent-dark);
  background: var(--accent-soft);
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 14.5px; }
@media (max-width: 880px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- City grid ---------- */
.cities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.city-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--white);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  transition: all 0.18s ease;
}
.city-card .ar { color: var(--muted); transition: transform 0.18s, color 0.18s; }
.city-card .ar svg { width: 18px; height: 18px; display: block; }
.city-card:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.city-card:hover .ar { color: var(--accent); transform: translate(3px, -3px); }
.city-card.home { background: var(--ink); color: var(--white); border-color: var(--ink); }
.city-card.home .star { color: var(--accent); }
.city-card.home:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
@media (max-width: 880px) { .cities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .cities { grid-template-columns: 1fr; } }

/* ---------- Feature split ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.rev > div:first-child { order: 2; }
.checklist { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; }
.checklist li .ic {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center; flex-shrink: 0; margin-top: 2px;
}
.checklist li .ic svg { width: 14px; height: 14px; }
.checklist li b { color: var(--ink); font-weight: 600; }
.checklist li span { color: var(--ink-soft); }
.visual {
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--bg-soft), var(--accent-soft));
  border: 1px solid var(--line);
  min-height: 360px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split.rev > div:first-child { order: 0; }
  .visual { min-height: 280px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.faq-q .pm { flex-shrink: 0; width: 22px; height: 22px; position: relative; transition: transform 0.25s; }
.faq-q .pm::before, .faq-q .pm::after { content: ''; position: absolute; background: var(--accent); border-radius: 2px; }
.faq-q .pm::before { top: 50%; left: 2px; right: 2px; height: 2px; transform: translateY(-50%); }
.faq-q .pm::after { left: 50%; top: 2px; bottom: 2px; width: 2px; transform: translateX(-50%); transition: opacity 0.25s; }
.faq-item.open .pm::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding-bottom: 24px; font-size: 15.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--bg-dark);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  width: 480px; height: 480px;
  right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(14,159,110,0.35), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { color: var(--white); max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,0.72); max-width: 48ch; margin-top: 16px; }
.cta-band .hero-actions { margin-top: 32px; position: relative; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.foot-brand .logo { font-size: 24px; margin-bottom: 14px; }
.foot-brand p { font-size: 14.5px; max-width: 30ch; }
.foot-col h5 { font-family: 'Geist', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 16px; }
.foot-col ul { list-style: none; display: grid; gap: 10px; }
.foot-col a { font-size: 14.5px; color: var(--ink-soft); font-weight: 500; transition: color 0.15s; }
.foot-col a:hover { color: var(--accent-dark); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 460px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 14px; color: var(--muted); padding-top: 28px; }
.crumb a { color: var(--ink-soft); font-weight: 500; }
.crumb a:hover { color: var(--accent-dark); }
.crumb span { margin: 0 8px; }

/* ---------- Pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--r-full);
  background: var(--white); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
}
.pill svg { width: 15px; height: 15px; color: var(--accent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s cubic-bezier(0.2,0.8,0.2,1), transform 0.7s cubic-bezier(0.2,0.8,0.2,1); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}

/* ---------- Prose (für Stadt/Service-Texte) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin: 48px 0 16px; }
.prose h3 { margin: 32px 0 12px; }
.prose p { margin-bottom: 16px; font-size: 16.5px; line-height: 1.7; }
.prose ul { margin: 0 0 16px 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { display: flex; gap: 11px; align-items: flex-start; font-size: 16px; color: var(--ink-soft); }
.prose ul li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* ---------- Kontaktformular ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-info h2 { margin: 14px 0 16px; }
.contact-info .lead { margin-bottom: 28px; }
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; flex-shrink: 0; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list .t b { display: block; color: var(--ink); font-weight: 600; font-size: 15px; }
.contact-list .t span, .contact-list .t a { color: var(--ink-soft); font-size: 15px; }
.contact-list .t a:hover { color: var(--accent-dark); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--accent-dark); }
.field input, .field textarea {
  width: 100%;
  font-family: 'Geist', sans-serif;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--accent-ring);
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

.need-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.need {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: var(--bg-soft);
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  cursor: pointer; transition: all 0.15s;
}
.need:hover { border-color: var(--accent); }
.need input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; border: 2px solid var(--line); border-radius: 6px; flex-shrink: 0; cursor: pointer; position: relative; transition: all 0.15s; margin: 0; padding: 0; background: var(--white); }
.need input:checked { background: var(--accent); border-color: var(--accent); }
.need input:checked::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.need:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }

.consent { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 22px; }
.consent input { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.consent label { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.consent a { color: var(--accent-dark); text-decoration: underline; }
.form-card .btn { width: 100%; }
.form-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 14px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* Terminbuchung */
.book-box { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: var(--ink); color: var(--white); margin-bottom: 28px; transition: transform 0.18s, background 0.18s, box-shadow 0.18s; }
.book-box:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.book-box .bic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.12); display: grid; place-items: center; flex-shrink: 0; }
.book-box .bic svg { width: 23px; height: 23px; }
.book-box .bt b { display: block; font-family: 'Sora', sans-serif; font-size: 16px; font-weight: 600; }
.book-box .bt span { font-size: 13.5px; opacity: 0.78; }
.book-box .bar { margin-left: auto; flex-shrink: 0; transition: transform 0.18s; }
.book-box .bar svg { width: 20px; height: 20px; display: block; }
.book-box:hover .bar { transform: translateX(3px); }

.book-embed { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--white); }
.book-embed iframe { width: 100%; min-height: 620px; border: 0; display: block; }
.book-placeholder { border: 2px dashed var(--line); border-radius: var(--r-lg); padding: 48px 32px; text-align: center; background: var(--bg-soft); }
.book-placeholder .bic { width: 56px; height: 56px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; margin: 0 auto 18px; }
.book-placeholder .bic svg { width: 28px; height: 28px; }
.book-placeholder h3 { margin-bottom: 8px; }
.book-placeholder p { max-width: 46ch; margin: 0 auto; font-size: 15px; }

/* ---------- Website-Check ---------- */
.check-bar { display: flex; gap: 12px; max-width: 600px; margin-top: 32px; }
.check-bar input { flex: 1; min-width: 0; font-family: 'Geist', sans-serif; font-size: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-full); background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.check-bar input::placeholder { color: var(--muted); }
.check-bar input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
@media (max-width: 560px) { .check-bar { flex-direction: column; } .check-bar .btn { width: 100%; } }

.check-state { display: none; }
.check-state.active { display: block; }

.loader { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 64px 0; text-align: center; }
.spinner { width: 50px; height: 50px; border: 4px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.9s linear infinite; }
.loader p { font-weight: 500; color: var(--ink-soft); }
.loader .sub { font-size: 14px; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }

.result-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.result-head .u { font-family: 'Geist Mono', monospace; font-size: 14px; color: var(--accent-dark); background: var(--accent-soft); padding: 8px 14px; border-radius: var(--r-full); word-break: break-all; }

.score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 36px; }
@media (max-width: 620px) { .score-grid { grid-template-columns: repeat(2, 1fr); } }
.gauge-card { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 10px; }
.gauge { position: relative; width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: conic-gradient(var(--col, #ccc) calc(var(--val, 0) * 3.6deg), var(--line) 0deg); transition: background 0.6s ease; }
.gauge::before { content: ''; position: absolute; inset: 9px; background: var(--white); border-radius: 50%; }
.gauge span { position: relative; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 27px; color: var(--ink); }
.gauge-name { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }

.cwv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 38px; }
@media (max-width: 560px) { .cwv { grid-template-columns: 1fr; } }
.cwv .item { background: var(--bg-soft); border-radius: var(--r-md); padding: 18px 20px; border: 1px solid var(--line-soft); }
.cwv .item .k { font-size: 13px; color: var(--muted); font-weight: 500; margin-bottom: 5px; }
.cwv .item .v { font-family: 'Sora', sans-serif; font-weight: 600; font-size: 22px; color: var(--ink); }

.findings { list-style: none; display: grid; gap: 12px; }
.finding { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.finding .fi { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.finding .fi.good { background: var(--accent-soft); color: var(--accent-dark); }
.finding .fi.warn { background: #FEF3E2; color: #B45309; }
.finding .fi.bad { background: #FDE8E8; color: #B91C1C; }
.finding .fi svg { width: 17px; height: 17px; }
.finding b { display: block; font-size: 15px; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.finding p { font-size: 13.5px; color: var(--ink-soft); margin: 0; line-height: 1.5; }

.check-error { padding: 28px; border-radius: var(--r-md); background: #FDE8E8; color: #991B1B; text-align: center; }
.check-error b { display:block; margin-bottom: 6px; font-size: 16px; }

.summary-line { padding: 14px 18px; border-radius: var(--r-sm); background: var(--bg-soft); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-soft); margin-bottom: 8px; }
.summary-line strong { color: var(--ink); font-weight: 700; }
.finding b em { font-weight: 500; color: var(--accent-dark); font-style: normal; font-size: 12.5px; }
.pass-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.pass-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent-dark); font-size: 13.5px; font-weight: 500; }
.pass-pill svg { width: 14px; height: 14px; flex-shrink: 0; }

.lead-after { margin-top: 40px; padding: clamp(28px,4vw,44px); border-radius: var(--r-lg); background: var(--bg-dark); color: var(--white); position: relative; overflow: hidden; }
.lead-after::after { content: ''; position: absolute; width: 380px; height: 380px; right: -100px; bottom: -160px; background: radial-gradient(circle, rgba(14,159,110,0.35), transparent 70%); }
.lead-after h3 { color: var(--white); position: relative; }
.lead-after p { color: rgba(255,255,255,0.72); position: relative; margin: 10px 0 24px; }
.lead-after form { position: relative; }
.lead-after .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-after input[type=text], .lead-after input[type=email] { width: 100%; font-family: 'Geist', sans-serif; font-size: 15px; padding: 13px 16px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.08); color: var(--white); margin-bottom: 14px; }
.lead-after input::placeholder { color: rgba(255,255,255,0.5); }
.lead-after input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.12); }
.lead-after .btn { width: 100%; }
.lead-after .mini { font-size: 12.5px; color: rgba(255,255,255,0.55); margin-top: 12px; text-align: center; }
@media (max-width: 520px) { .lead-after .form-row { grid-template-columns: 1fr; } }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
  .need-grid { grid-template-columns: 1fr; }
}
