/* cookit-hn.de – Stylesheet (mobile-first)
   System-Schriften, keine externen Ressourcen → schnell & DSGVO-freundlich */
:root {
  --red: #e20015;
  --red-dark: #b8000f;
  --ink: #1d1d1f;
  --ink-2: #43464a;
  --muted: #6b7076;
  --line: #e0e2e5;
  --bg: #ffffff;
  --bg-soft: #f4f5f6;
  --dark: #141414;
  --dark-2: #222324;
  --radius: 4px;
  --max: 1200px;
  --header-h: 64px;
  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2rem, 7vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--red); margin-bottom: .8em; display: block; }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 46ch; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.topline { height: 4px; background: var(--red); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); line-height: 1.1; }
.brand strong { font-size: 1.25rem; letter-spacing: -.01em; }
.brand strong span { color: var(--red); }
.brand small { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.menu-toggle { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -8px; background: none; border: 0; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }
.nav-links {
  display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff;
  flex-direction: column; list-style: none; margin: 0; padding: 4px 16px 20px; border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}
.nav-links.open { display: flex; }
.nav-links li { width: 100%; }
.nav-links a { display: block; padding: 14px 0; color: var(--ink); text-decoration: none; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav-links li:last-child a { border: 0; margin-top: 12px; text-align: center; }
.nav-links a:hover { color: var(--red); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: var(--radius); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s; font-family: inherit; }
.btn-primary { background: var(--red); color: #fff !important; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: currentColor; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .92rem; }

/* Hero */
.hero { padding: 0; position: relative; color: #fff; display: flex; align-items: center; min-height: calc(100vh - var(--header-h) - 4px - 58px); min-height: calc(100svh - var(--header-h) - 4px - 58px); background: radial-gradient(circle at 70% 30%, #7a2a12 0%, #3a1a10 40%, #141414 75%); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.9) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 48px; }
.hero h1 { max-width: 15ch; }
.hero .container { width: 100%; }
.hero .lead { color: #e1e2e3; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); max-width: 620px; }
.hero-facts strong { display: block; font-size: 1.25rem; line-height: 1.2; }
.hero-facts span { color: #c4c6c9; font-size: .8rem; line-height: 1.3; display: block; }

/* Sections */
section { padding: 60px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: #fff; }
.section-dark .lead { color: #c9cbcd; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin: 0 auto; }

/* Split + Bilder */
.split { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); background: #2a2b2c; overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.media figcaption { position: absolute; left: 14px; bottom: 12px; font-size: .75rem; color: rgba(255,255,255,.55); }
.media.square { aspect-ratio: 1 / 1; max-width: 460px; width: 100%; }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { padding: 10px 0 10px 32px; position: relative; border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 12px; height: 7px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }

/* Features */
.features { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { background: #fff; padding: 26px 22px; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
.feature .icon { width: 40px; height: 40px; color: var(--red); grid-row: span 2; }
.feature h3 { margin-bottom: .3em; }
.feature p { color: var(--ink-2); margin: 0; font-size: .97rem; }

/* Modes */
.modes { display: grid; grid-template-columns: 1fr; gap: 16px; }
.mode { background: var(--dark-2); padding: 28px 24px; border-top: 4px solid var(--red); }
.mode .num { font-size: 2.4rem; font-weight: 700; color: var(--red); line-height: 1; margin-bottom: 12px; }
.mode p { color: #c9cbcd; margin: 0; }

/* Steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 26px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding-left: 62px; min-height: 46px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 1.15rem; }
.step p { color: var(--ink-2); margin: 0; }

/* Angebote */
.offers { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
.offer { background: #fff; border: 1px solid var(--line); padding: 26px 22px; border-radius: var(--radius); display: flex; flex-direction: column; }
.offer p { color: var(--ink-2); flex: 1; }
.offer .tag { font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }

/* Region */
.towns { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.towns li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .92rem; }

/* Specs */
.specs { width: 100%; border-collapse: collapse; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .97rem; }
.specs th { width: 42%; font-weight: 500; color: var(--muted); padding-right: 12px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.03rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--ink-2); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.contact-info p { margin-bottom: .4em; }
.contact-info .big { font-size: 1.3rem; font-weight: 700; color: var(--ink); text-decoration: none; display: inline-block; margin: 2px 0 16px; padding: 4px 0; }
.contact-info address { font-style: normal; color: var(--muted); }
form .row { display: grid; grid-template-columns: 1fr; gap: 0 18px; }
form label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 6px; }
form .field { margin-bottom: 16px; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #b9bdc2; border-radius: var(--radius);
  font: inherit; font-size: 16px; /* 16px verhindert Auto-Zoom auf iPhone */ background: #fff; color: var(--ink); -webkit-appearance: none; appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); margin-bottom: 20px; font-weight: 400 !important; }
.consent input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; flex-shrink: 0; -webkit-appearance: checkbox; appearance: auto; accent-color: var(--red); }
form .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* CTA-Band */
.cta-band { background: var(--red); color: #fff; padding: 48px 0; }
.cta-band .container { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta-band h2 { margin: 0; font-size: clamp(1.4rem, 4.5vw, 2.1rem); }
.cta-band .btn { background: #fff; color: var(--red); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }

/* Footer */
.site-footer { background: var(--dark); color: #a9acaf; padding: 48px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
.site-footer h2 { color: #fff; margin: 0 0 10px; font-size: .98rem; }
.site-footer a { color: #d6d8da; text-decoration: none; display: inline-block; padding: 10px 0; }
.site-footer address a { padding: 10px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer address { font-style: normal; }
.disclaimer { border-top: 1px solid #333; padding-top: 22px; font-size: .8rem; color: #8d9195; }

/* Mobile Schnellkontakt-Leiste */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.quickbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; font-size: .78rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.quickbar a svg { width: 22px; height: 22px; }
.quickbar a.primary { background: var(--red); color: #fff; }
body.has-quickbar { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }

/* Rechtstexte */
.legal { padding: 44px 0 72px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.25rem; margin-top: 36px; }
.legal h3 { font-size: 1.05rem; margin-top: 22px; }
.legal p, .legal li { color: var(--ink-2); overflow-wrap: anywhere; }

/* ab Tablet */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  body { font-size: 17px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-facts { gap: 36px; display: flex; }
  .hero-facts strong { font-size: 1.8rem; }
  .hero-facts span { font-size: .9rem; }
  .features, .modes, .offers { grid-template-columns: 1fr 1fr; }
  .feature { display: block; padding: 34px 28px; }
  .feature .icon { width: 48px; height: 48px; margin-bottom: 18px; }
  form .row { grid-template-columns: 1fr 1fr; }
  form .btn { width: auto; }
  .cta-band .container { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* ab Desktop */
@media (min-width: 960px) {
  :root { --header-h: 76px; }
  section { padding: 96px 0; }
  .section-head { margin-bottom: 56px; }
  .menu-toggle { display: none; }
  .nav-links { display: flex; position: static; flex-direction: row; align-items: center; gap: 28px; padding: 0; border: 0; box-shadow: none; background: none; }
  .nav-links li { width: auto; }
  .nav-links a { padding: 8px 0; border: 0; font-size: .95rem; }
  .nav-links li:last-child a { margin: 0; padding: 8px 18px; }
  .hero { padding: 0; min-height: max(640px, calc(100vh - var(--header-h) - 4px)); min-height: max(640px, calc(100svh - var(--header-h) - 4px)); }
  .hero::before { background: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.7) 45%, rgba(10,10,10,.15) 100%); }
  .hero .container { padding-top: 64px; padding-bottom: 64px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .features, .modes, .offers, .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding-left: 0; padding-top: 64px; }
  .contact-grid { grid-template-columns: 1fr 1.4fr; gap: 64px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .quickbar { display: none; }
  body.has-quickbar { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
