/* Langen Home – Stylesheet
   Systemschriften, keine externen Ressourcen. Mobile-first. */

:root {
  --bg: #f7f9fa;
  --surface: #ffffff;
  --text: #17232b;
  --muted: #4a5a64;
  --line: #d9e2e6;
  --accent: #0b6e74;        /* Petrol */
  --accent-dark: #08545a;
  --accent-soft: #e3f1f1;
  --focus: #c2410c;
  --placeholder-bg: #fff4cc;
  --placeholder-line: #b8860b;
  --radius: 14px;
  --max: 70rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--accent-dark); text-underline-offset: 0.18em; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--text); color: #fff; padding: 0.6rem 1rem;
  border-radius: 8px; z-index: 100; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* Entwurfshinweis */
.draft-bar {
  background: var(--placeholder-bg);
  border-bottom: 2px solid var(--placeholder-line);
  font-size: 0.92rem;
  padding: 0.5rem 0;
  text-align: center;
}

/* Platzhalter – absichtlich auffällig */
.ph {
  background: var(--placeholder-bg);
  border: 1px dashed var(--placeholder-line);
  border-radius: 4px;
  padding: 0.05em 0.35em;
  font-weight: 600;
  color: #5c4300;
}

/* Kopfbereich */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 0.5rem 1rem;
  padding-block: 0.75rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; color: var(--text);
  font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em;
}
.brand svg { width: 34px; height: 34px; flex: none; }
.brand span b { color: var(--accent); font-weight: 700; }

.nav-toggle {
  display: none;
  font: inherit; font-size: 0.95rem; font-weight: 600;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px;
  padding: 0.45rem 0.8rem; cursor: pointer;
  align-items: center; gap: 0.45rem;
}
.nav-toggle svg { width: 20px; height: 20px; }

.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem;
}
.site-nav a {
  display: inline-block; padding: 0.35rem 0.1rem;
  color: var(--text); text-decoration: none; font-weight: 500;
}
.site-nav a:hover { color: var(--accent); text-decoration: underline; }

/* Mobile Navigation – nur mit JavaScript eingeklappt */
@media (max-width: 47.99rem) {
  .js .nav-toggle { display: inline-flex; }
  .site-nav { width: 100%; }
  .site-nav ul { flex-direction: column; gap: 0; padding-bottom: 0.5rem; }
  .site-nav a { display: block; padding: 0.6rem 0.25rem; border-top: 1px solid var(--line); }
  .js .site-nav[data-open="false"] { display: none; }
}

/* Abschnitte */
section { padding-block: clamp(3rem, 8vw, 5.5rem); }
section:nth-of-type(even) { background: var(--surface); }
.section-intro { max-width: 42rem; color: var(--muted); margin-bottom: 2rem; }
.eyebrow {
  display: inline-block; font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent);
  margin-bottom: 0.5rem;
}

/* Einstieg */
.hero { padding-block: clamp(3rem, 9vw, 6.5rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 36rem; }
.hero-graphic { max-width: 26rem; margin-inline: auto; width: 100%; }
@media (min-width: 52rem) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; }
}

.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 0.8rem 1.4rem; border-radius: 999px;
  background: var(--accent); color: #fff; border: 2px solid var(--accent);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--accent-dark); }
.btn-secondary:hover { background: var(--accent-soft); color: var(--accent-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Leistungskarten */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem;
}
section:nth-of-type(even) .card { background: var(--bg); }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card ul { margin: 0.5rem 0 0; padding-left: 1.2rem; color: var(--muted); }
.card li { margin-bottom: 0.3rem; }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.1rem 1.25rem 1.1rem 4rem;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 1.1rem; top: 1rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700;
  display: grid; place-items: center;
}
.steps h3 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--muted); }
@media (min-width: 60rem) { .steps { grid-template-columns: repeat(5, 1fr); }
  .steps li { padding: 4rem 1.1rem 1.25rem; }
  .steps li::before { top: 1.1rem; }
}

/* Über */
.about-grid { display: grid; gap: 2rem; }
@media (min-width: 52rem) { .about-grid { grid-template-columns: 1.4fr 1fr; } }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.facts li {
  background: var(--accent-soft); border-radius: 10px; padding: 0.8rem 1rem;
}
.facts strong { display: block; color: var(--accent-dark); }

/* Hinweis Leistungsgrenzen */
.notice {
  border-left: 5px solid var(--accent);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem; max-width: 50rem;
}
section:nth-of-type(even) .notice { background: var(--bg); }
.notice ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }

/* FAQ */
.faq { max-width: 50rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; margin-bottom: 0.75rem;
}
section:nth-of-type(even) .faq details { background: var(--bg); }
.faq summary {
  cursor: pointer; font-weight: 600; padding: 1rem 1.25rem;
  list-style-position: outside;
}
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details > div { padding: 1rem 1.25rem 0.25rem; color: var(--muted); }

/* Kontakt */
.contact-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.75rem; max-width: 40rem;
}
section:nth-of-type(even) .contact-box { background: var(--bg); }
.contact-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.contact-list li { margin-bottom: 0.6rem; }
.contact-list span.label { display: inline-block; min-width: 7.5rem; color: var(--muted); }

/* Rechtstexte */
.legal { padding-block: clamp(2.5rem, 6vw, 4rem); }
.legal .container { max-width: 48rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal .review-note {
  background: var(--placeholder-bg); border: 1px solid var(--placeholder-line);
  border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 2rem;
}
.todo {
  background: var(--placeholder-bg); border-left: 4px solid var(--placeholder-line);
  padding: 0.6rem 0.9rem; border-radius: 0 8px 8px 0; font-size: 0.95rem;
}

/* Fußbereich */
.site-footer {
  background: var(--text); color: #dfe8ec; padding-block: 2rem; font-size: 0.95rem;
}
.site-footer a { color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-footer .ph { color: #5c4300; }

/* 404 */
.notfound { min-height: 55vh; display: grid; align-content: center; }

/* Leistungskarten: kurzer Leitsatz */
.card-claim { font-weight: 700; color: var(--accent-dark); margin: -0.35em 0 0.5em; }

/* Beispiele */
.examples {
  margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius);
  background: var(--accent-soft);
}
.examples h3 { margin-bottom: 0.75rem; }
.examples ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
@media (min-width: 40rem) { .examples ul { grid-template-columns: repeat(2, 1fr); } }
.examples li { position: relative; padding-left: 1.6rem; }
.examples li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 0.7rem; height: 0.7rem; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px #cfe7e7;
}
.examples-note { margin: 1rem 0 0; font-size: 0.92rem; color: var(--muted); }

/* Kontaktformular (TEISENDA) */
.contact-box { max-width: 44rem; }
.contact-form { margin: 1.25rem 0 0.5rem; }
.contact-form .tf-field { margin-bottom: 1rem; }
.contact-form .tf-label { display: block; font-weight: 600; margin-bottom: 0.35rem; }
.contact-form .tf-input {
  width: 100%; font: inherit; color: var(--text);
  background: var(--surface); border: 1px solid #b9c7cd; border-radius: 10px;
  padding: 0.65rem 0.8rem;
}
.contact-form textarea.tf-input { min-height: 8rem; resize: vertical; }
.contact-form .tf-input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.contact-form .tf-field--consent .tf-input { width: auto; margin-right: 0.5rem; }
.contact-form .tf-consent { display: flex; align-items: flex-start; gap: 0.5rem; font-weight: 400; }
.contact-form .tf-help { font-size: 0.92rem; color: var(--muted); margin-top: 0.3rem; }
.contact-form .tf-error { color: #a61b1b; font-size: 0.92rem; margin-top: 0.3rem; }
.contact-form .tf-button {
  font: inherit; font-weight: 600; cursor: pointer;
  padding: 0.8rem 1.4rem; border-radius: 999px;
  background: var(--accent); color: #fff; border: 2px solid var(--accent);
}
.contact-form .tf-button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.contact-form .tf-thanks { background: var(--accent-soft); border-radius: 10px; padding: 1rem 1.25rem; }
.contact-alt, .contact-note { color: var(--muted); margin: 0.75rem 0 0; }

/* Empfehlungen */
.recs-page .container { max-width: 60rem; }
.affiliate-note { background: var(--accent-soft); border-radius: 10px; padding: 1rem 1.25rem; margin: 0 0 1.5rem; font-size: 0.95rem; }
.rec-toc ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rec-toc a { display: inline-block; padding: 0.35rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; font-size: 0.92rem; }
.rec-toc a:hover { background: var(--accent-soft); }
.recs-page section.rec-section { padding-block: 1.5rem; background: transparent; }
.rec-intro { color: var(--muted); margin-top: -0.3rem; }
.rec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .rec-list { grid-template-columns: repeat(2, 1fr); } }
.rec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; display: flex; flex-direction: column; }
.rec-name { font-weight: 700; margin-bottom: 0.35rem; }
.rec p { margin: 0 0 0.5rem; color: var(--muted); font-size: 0.97rem; }
.rec .rec-note { font-size: 0.9rem; color: #7a4b00; }
.rec-link { margin-top: auto; padding-top: 0.4rem; }
.rec-link a { font-weight: 600; }
.rec-foot { color: var(--muted); font-size: 0.95rem; margin-top: 1.5rem; }

.notice ul + p{margin-top:.9rem}

/* Ablauf: Icons */
.step-icon{position:absolute;right:1rem;top:1rem;width:32px;height:32px;color:var(--accent)}
.step-icon svg{width:32px;height:32px}
@media (min-width:60rem){.step-icon{right:auto;left:3.7rem;top:1.15rem;width:30px;height:30px}.step-icon svg{width:30px;height:30px}}
@media (max-width:59.99rem){.steps h3{padding-right:2.4rem}}

/* FAQ: Listen in Antworten */
.faq details ul{margin:0 0 1em;padding-left:1.2rem}
.faq details li{margin-bottom:.4rem}

/* Breite Karte (Apple Home) */
@media (min-width: 40rem){.card-wide{grid-column:1 / -1}.card-wide ul{columns:2;column-gap:2.5rem}.card-wide li{break-inside:avoid}}

/* Start-Hinweis (bis 31.12.2026) */
.start-hinweis{background:var(--accent-soft);border-left:4px solid var(--accent);border-radius:0 10px 10px 0;padding:.75rem 1rem;font-size:.95rem;color:var(--text);max-width:36rem;margin:1.25rem 0 0}
.contact-box .start-hinweis{margin:0 0 1rem}
