
/* Schriften lokal eingebunden (SIL Open Font License, siehe assets/fonts) */
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

/* Layout: single column, hero split with a Kennzeichen motif; content bands alternate paper / tinted surface */
:root {
  --bg: #f4f6f3;
  --surface: #ffffff;
  --tint: #e7ece6;
  --ink: #15201b;
  --muted: #56635c;
  --line: #cfd8d1;
  --accent: #1d5a43;
  --accent-ink: #ffffff;
  --signal: #f2c230;
  --eu: #1f3d9c;
  --plate: #ffffff;
  --plate-ink: #111111;
  --wa: #1e8e4e;
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 10px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101613; --surface: #17201b; --tint: #1c2721; --ink: #e8eee9; --muted: #a3b2a9;
    --line: #2d3a33; --accent: #4fb88c; --accent-ink: #08130e; --signal: #f2c230; --eu: #2a4bb8;
    --plate: #f2f2ee; --plate-ink: #111111; --wa: #34b46a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101613; --surface: #17201b; --tint: #1c2721; --ink: #e8eee9; --muted: #a3b2a9;
  --line: #2d3a33; --accent: #4fb88c; --accent-ink: #08130e; --signal: #f2c230; --eu: #2a4bb8;
  --plate: #f2f2ee; --plate-ink: #111111; --wa: #34b46a; color-scheme: dark;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; text-wrap: balance; margin: 0; letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 700; text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0; max-width: 65ch; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Header */
.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; flex-wrap: wrap; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; color: var(--ink); text-decoration: none; letter-spacing: .02em; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .logo { height: 48px; width: auto; display: block; }
.brand-text span { color: var(--accent); }
.top-phone { font-weight: 700; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: var(--radius); font-weight: 700; text-decoration: none; border: 2px solid transparent; font-size: 1rem; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }

/* Hero */
.hero { padding-block: 56px 48px; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hero-text { display: grid; gap: 22px; min-width: 0; }
.hero-lead { font-size: 1.2rem; color: var(--muted); }
.joke { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; }
.joke small { display: block; font-family: var(--font-body); font-size: .95rem; font-weight: 400; color: var(--muted); font-style: italic; }
.hero-visual { display: grid; gap: 18px; justify-items: center; min-width: 0; }
.plate { display: flex; align-items: stretch; background: var(--plate); color: var(--plate-ink); border: 4px solid #111; border-radius: 9px; max-width: 100%; box-shadow: 0 14px 30px -18px rgba(0,0,0,.55); transform: rotate(-3deg); }
.plate-eu { background: var(--eu); color: #fff; width: 46px; display: grid; place-items: end center; padding-bottom: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; border-radius: 4px 0 0 4px; position: relative; }
.plate-eu::before { content: ""; position: absolute; top: 10px; left: 50%; width: 26px; height: 26px; transform: translateX(-50%); border-radius: 50%; border: 3px dotted var(--signal); }
.plate-text { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 8vw, 4.4rem); letter-spacing: .06em; padding: 4px 18px; white-space: nowrap; display: flex; align-items: center; gap: .3em; }
.seals { display: inline-flex; flex-direction: column; gap: 4px; }
.seals i { width: .42em; height: .42em; border-radius: 50%; display: block; }
.seals i:first-child { background: #c43a3a; }
.seals i:last-child { background: #3a7bc4; }
.hero-note { font-size: .9rem; color: var(--muted); text-align: center; }

/* Facts strip */
.facts { background: var(--accent); color: var(--accent-ink); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 20px 18px; display: grid; gap: 2px; border-left: 1px solid rgba(255,255,255,.18); }
.facts li:first-child { border-left: 0; }
.facts strong { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; line-height: 1.1; }
.facts span { font-size: .92rem; opacity: .9; }

/* Sections */
section.band { padding-block: 72px; }
section.band.alt { background: var(--tint); }
.sec-head { display: grid; gap: 10px; margin-bottom: 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.tag { border: 1px solid var(--line); background: var(--surface); padding: 6px 14px; border-radius: 999px; font-size: .95rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 3px solid var(--ink); min-width: 0; }
.steps li::before { content: "Schritt " counter(s); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.steps p { color: var(--muted); }

/* Abmeldung */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split > * { min-width: 0; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px 14px 46px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 16px; top: 18px; width: 16px; height: 9px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.stack { display: grid; gap: 16px; }

/* Form */
.form-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: start; }
.form-wrap > * { min-width: 0; }
form.offer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 22px; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
legend { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; margin-bottom: 6px; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row > * { min-width: 0; }
label.f { display: grid; gap: 5px; font-weight: 600; font-size: .95rem; }
label.f em { font-style: normal; color: var(--muted); font-weight: 400; }
input[type=text], input[type=tel], input[type=email], input[type=number], select, textarea {
  font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--ink); width: 100%;
}
textarea { min-height: 96px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: .95rem; }
.chip input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 3px solid var(--signal); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { margin-top: 5px; }
.form-hint { font-size: .9rem; color: var(--muted); }
.result { background: var(--tint); border: 2px solid var(--accent); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.result pre { white-space: pre-wrap; margin: 0; font-family: var(--font-body); font-size: .95rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 14px; max-height: 260px; overflow: auto; }
.error { color: #b3261e; font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* Contact + footer */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-grid .card a { font-weight: 700; font-size: 1.15rem; text-decoration: none; color: var(--ink); font-variant-numeric: tabular-nums; word-break: break-word; }
address { font-style: normal; }

@media (max-width: 900px) {
  .hero .wrap, .split, .form-wrap { grid-template-columns: 1fr; }
  .grid-3, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .hero-visual { order: -1; }
}
@media (max-width: 520px) {
  .steps, .row { grid-template-columns: 1fr; }
  section.band { padding-block: 52px; }
  form.offer { padding: 20px; }
  .plate-eu { width: 34px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Ergänzungen Theme ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand .logo { height: 48px; width: auto; display: block; }
.brand-text span, .footer-brand span { color: var(--accent); }
.top-nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.btn-sm { padding: 9px 16px; font-size: .95rem; }
@media (max-width: 520px) { .top-phone { display: none; } .brand-text { font-size: 1.2rem; } .brand .logo { height: 40px; } }

/* Unterseiten */
.page-hero { background: var(--tint); padding-block: 44px 36px; border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; gap: 12px; }
.back { font-weight: 600; text-decoration: none; font-size: .95rem; }
.page-body { padding-block: 48px 72px; }
.prose { max-width: 72ch; display: grid; gap: 14px; }
.prose > * { margin: 0; }
.prose h2 { font-size: 1.7rem; margin-top: 22px; }
.prose h3 { font-size: 1.25rem; margin-top: 10px; }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: 6px; }
.prose a { word-break: break-word; }
.prose address { font-style: normal; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 10px; }
.stack-sm { display: grid; gap: 6px; align-content: start; }

/* Footer */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; padding-block: 40px 28px; }
.footer-grid a { color: var(--ink); text-decoration: none; }
.footer-grid a:hover { color: var(--accent); text-decoration: underline; }
.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; color: var(--ink); }
.site-footer address { font-style: normal; }
.footer-base { border-top: 1px solid var(--line); padding-block: 18px; font-size: .88rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Contact Form 7 */
.wpcf7 form.offer { gap: 22px; }
.wpcf7-form-control-wrap { display: block; }
.chips .wpcf7-form-control { display: flex; flex-wrap: wrap; gap: 8px; }
.wpcf7-list-item { margin: 0; }
.chips .wpcf7-list-item label { position: relative; display: inline-block; cursor: pointer; }
.chips .wpcf7-list-item input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips .wpcf7-list-item-label { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: .95rem; }
.chips input:checked + .wpcf7-list-item-label { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chips input:focus-visible + .wpcf7-list-item-label { outline: 3px solid var(--signal); outline-offset: 2px; }
.consent .wpcf7-list-item label, .consent .wpcf7-acceptance label { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { margin-top: 5px; }
.files { display: grid; gap: 8px; }
input[type=file] { font: inherit; font-size: .95rem; color: var(--muted); max-width: 100%; }
legend em { font-family: var(--font-body); font-style: normal; font-weight: 400; font-size: .9rem; text-transform: none; color: var(--muted); }
.wpcf7-submit { justify-self: start; }
.wpcf7-spinner { margin: 0 0 0 12px; }
.wpcf7-not-valid { border-color: #b3261e !important; }
.wpcf7-not-valid-tip { color: #b3261e; font-size: .88rem; font-weight: 600; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 0; padding: 14px 16px; border-radius: 8px; border-width: 2px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--accent); background: var(--tint); color: var(--ink); }
.offer-fallback { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }

/* Formular-Labels: Text und Hinweis in einer Zeile, Feld darunter */
label.f { display: block; }
label.f > input, label.f > select, label.f > textarea, label.f .wpcf7-form-control-wrap { display: block; margin-top: 5px; }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); cursor: pointer; }

/* ---------- Überarbeitung v1.1 ---------- */
/* Kopf: Logo größer, Claim darunter */
.brand .logo { height: 58px; width: auto; }
.brand-stack { display: grid; line-height: 1.05; gap: 3px; }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.brand-tag { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 520px) { .brand .logo { height: 44px; } .brand-text { font-size: 1.25rem; } .brand-tag { font-size: .7rem; } }

/* Hero: Slogan als Hauptaussage */
.slogan { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.8rem, 7.2vw, 5.4rem); line-height: .95; letter-spacing: .005em; text-wrap: balance; max-width: none; }
.slogan mark { background: linear-gradient(transparent 58%, var(--signal) 58%, var(--signal) 92%, transparent 92%); color: inherit; padding-inline: .04em; }
.slogan-joke { font-style: italic; color: var(--muted); margin-top: -10px; }
.hero h1 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); color: var(--accent); letter-spacing: .02em; }
.hero-visual { gap: 26px; }
.hero-logo { width: min(100%, 400px); height: auto; display: block; filter: drop-shadow(0 14px 18px rgba(0,0,0,.12)); }
.hero-visual .plate { transform: rotate(-3deg) scale(.82); transform-origin: center; margin-top: -12px; }
.tagline { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); text-align: center; }
@media (max-width: 900px) { .hero-logo { width: min(80%, 300px); } .hero-visual .plate { transform: rotate(-3deg) scale(.7); margin-block: -18px -10px; } }

/* Logo im Dunkelmodus auf hellem Grund, damit die schwarzen Linien sichtbar bleiben */
@media (prefers-color-scheme: dark) {
  .brand .logo, .hero-logo { background: #f2f2ee; border-radius: 12px; padding: 4px 6px; }
  .hero-logo { padding: 12px 16px; border-radius: 20px; }
}

/* Vorteile */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.benefit h3 { font-size: 1.3rem; }
.benefit p { color: var(--muted); }
.bring { margin-top: 40px; display: grid; gap: 14px; }
.bring h3 { font-size: 1.2rem; }
.bring-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bring-list li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px 7px 36px; position: relative; font-size: .95rem; }
.bring-list li::before { content: ""; position: absolute; left: 15px; top: 13px; width: 11px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 520px) { .benefits { grid-template-columns: 1fr; } }

/* Fehlerkorrekturen */
.contact-grid .card a.btn { color: #fff; font-size: 1rem; }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); hyphens: auto; overflow-wrap: break-word; }
.prose h2, .prose h3 { hyphens: auto; overflow-wrap: break-word; }
.req { color: var(--accent); font-weight: 700; }
/* v1.1 Feinschliff */
.hero .wrap { grid-template-columns: 1.45fr 1fr; }
.slogan { font-size: clamp(2.6rem, 6.4vw, 4.9rem); }
.slogan mark { background: linear-gradient(transparent 80%, var(--signal) 80%, var(--signal) 94%, transparent 94%); }
.facts ul { margin-inline: auto; padding-inline: 20px; }
.facts li:first-child { padding-left: 0; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: 0; }
  .facts li:nth-child(3) { padding-left: 0; }
}
@media (max-width: 520px) {
  .top-nav { display: none; }
  .hero { padding-block: 36px 40px; }
}

/* ---------- Statische Version: Formular ---------- */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.consent > span { min-width: 0; }
.chip span { line-height: 1.3; }
input[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 1px #b3261e; }
.form-msg { margin: 0; padding: 14px 16px; border-radius: 8px; border: 2px solid; font-weight: 600; }
.form-msg.is-ok { border-color: var(--accent); background: var(--tint); color: var(--ink); }
.form-msg.is-error { border-color: #b3261e; background: var(--surface); color: #b3261e; }
@media (prefers-color-scheme: dark) { .form-msg.is-error, input[aria-invalid="true"] { border-color: #f2a59f; color: #f2a59f; } }
.files input[type=file] { display: block; }
button.btn[disabled] { opacity: .65; cursor: progress; }
.offer > .btn { justify-self: start; }

/* v1.1: Anhänger-Abschnitt */
.benefits-1 { grid-template-columns: 1fr; }
.benefit .eyebrow { color: var(--accent); }

/* v1.2: Original-Logo (133 x 70 px) in Originalgröße, damit es scharf bleibt */
.brand .logo { height: 58px; width: auto; image-rendering: auto; }
.hero-logo { width: 133px; height: auto; filter: none; }
.hero-visual { gap: 14px; }
.hero-visual .plate { margin-top: 0; }
@media (max-width: 900px) { .hero-logo { width: 133px; } }
@media (max-width: 520px) { .brand .logo { height: 44px; } }
