/* Wertbesuch – Designsystem
   Layout: ruhige, einspaltige Lesestrecken (max. 68 Zeichen) mit breiten Bändern für Ablauf, Zusagen und Kontakt.
   Farbe: gedecktes Salbei-Papier, tiefes Tannengrün als Vertrauensfarbe, Messing nur für Punzen und Feinheiten. */
:root {
  --paper: #f1f3ee;
  --card: #fafbf8;
  --ink: #1c2421;
  --muted: #4f5b55;
  --line: #d5dbd2;
  --forest: #1e4636;
  --forest-hover: #163527;
  --on-forest: #f4f6f1;
  --band: #1e4636;
  --on-band: #eef2ec;
  --on-band-muted: #c4d2ca;
  --brass: #7a5e2a;
  --brass-soft: #e9e1cf;
  --focus: #b8862b;
  --display: "Iowan Old Style", "Charter", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --step-0: 1.125rem;
  --step-1: 1.3rem;
  --step-2: 1.65rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.2rem, 1.5rem + 3vw, 3.3rem);
  --radius: 6px;
  --wrap: 72rem;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #121815; --card: #18201c; --ink: #e8ece7; --muted: #a9b4ad; --line: #2b3530;
    --forest: #8cc4a6; --forest-hover: #a6d6bc; --on-forest: #0f1512;
    --band: #1b3a2e; --on-band: #eef2ec; --on-band-muted: #b5c6bc;
    --brass: #d2b06c; --brass-soft: #2e2a1f; --focus: #d9a845;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #121815; --card: #18201c; --ink: #e8ece7; --muted: #a9b4ad; --line: #2b3530;
  --forest: #8cc4a6; --forest-hover: #a6d6bc; --on-forest: #0f1512;
  --band: #1b3a2e; --on-band: #eef2ec; --on-band-muted: #b5c6bc;
  --brass: #d2b06c; --brass-soft: #2e2a1f; --focus: #d9a845;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
}
img, svg { max-width: 100%; }
a { color: var(--forest); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; text-wrap: balance; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px 12px; z-index: 50; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Kopf */
.topline { background: var(--band); color: var(--on-band); font-size: 0.95rem; }
.topline .wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: space-between; padding-block: 8px; }
.topline a { color: var(--on-band); font-weight: 600; }
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--display); font-size: 1.55rem; font-weight: 600; letter-spacing: 0.01em; }
.brand-sub { display: block; white-space: nowrap; font-family: var(--body); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; gap: 4px 14px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 500; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--forest); text-decoration: underline; }
.nav-mobile { display: none; }
.nav-mobile summary { cursor: pointer; list-style: none; font-weight: 600; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile ul { list-style: none; margin: 0; padding: 12px 0 0; display: grid; gap: 4px; }
.nav-mobile a { display: block; padding: 10px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
@media (max-width: 1180px) {
  .nav { display: none; }
  .nav-mobile { display: block; }
  .site-head .wrap { flex-wrap: wrap; }
  .nav-mobile[open] { flex-basis: 100%; }
}

/* Brotkrumen */
.crumbs { font-size: 0.92rem; color: var(--muted); padding-block: 14px 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Hero */
.hero { padding-block: 48px 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.eyebrow { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass); font-weight: 700; margin-bottom: 14px; }
.hero h1 { margin-bottom: 18px; }
.lead { font-size: var(--step-1); color: var(--muted); max-width: 40rem; line-height: 1.55; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: var(--radius); font-weight: 700; font-size: 1.05rem; text-decoration: none; border: 2px solid var(--forest); line-height: 1.2; }
.btn-primary { background: var(--forest); color: var(--on-forest); }
.btn-primary:hover { background: var(--forest-hover); border-color: var(--forest-hover); color: var(--on-forest); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: var(--card); text-decoration: none; }
.btn svg { width: 20px; height: 20px; flex: none; }
.hero-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.hero-card h2 { font-size: var(--step-1); margin-bottom: 12px; }
.hallmarks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hallmark { font-family: var(--display); font-size: 1.05rem; font-variant-numeric: tabular-nums; border: 1px solid var(--brass); color: var(--brass); padding: 2px 10px; border-radius: 999px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-block: 32px; } }

/* Häkchenliste */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 5px; border-radius: 50%; background: var(--forest); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7Z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Vertrauensleiste */
.trustbar { border-block: 1px solid var(--line); background: var(--card); }
.trustbar ul { list-style: none; margin: 0; padding: 14px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; }
.trustbar li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: 1rem; }
.trustbar svg { width: 24px; height: 24px; flex: none; color: var(--forest); }
@media (max-width: 860px) { .trustbar ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .trustbar ul { grid-template-columns: 1fr; } }

/* Abschnitte */
.section { padding-block: 56px; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 28px; display: grid; gap: 12px; }
.section-head p { color: var(--muted); }
.prose { max-width: 42rem; display: grid; gap: 18px; }
.prose h2 { margin-top: 22px; }
.prose h3 { margin-top: 10px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Ablauf */
.band { background: var(--band); color: var(--on-band); }
.band h2, .band h3 { color: var(--on-band); }
.band .section-head p { color: var(--on-band-muted); }
.band a { color: var(--on-band); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(step); font-family: var(--display); font-size: 2.2rem; line-height: 1; color: var(--on-band-muted); }
.steps p { color: var(--on-band-muted); font-size: 1.02rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Leistungen */
.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.offer { display: grid; gap: 10px; align-content: start; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.offer:hover { border-color: var(--forest); color: var(--ink); }
.offer h3 { color: var(--forest); }
.offer p { color: var(--muted); font-size: 1.02rem; }
.offer .more { font-weight: 700; color: var(--forest); font-size: 1rem; }
@media (max-width: 960px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .offer-grid { grid-template-columns: 1fr; } }

/* Zusagen */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 32px; }
.promise { display: grid; gap: 6px; align-content: start; }
.promise h3 { font-size: 1.15rem; font-family: var(--body); font-weight: 700; }
.promise p { color: var(--muted); font-size: 1.02rem; }
@media (max-width: 860px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .promises { grid-template-columns: 1fr; } }

/* Orte */
.places { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.places a { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none; font-weight: 600; color: var(--ink); }
.places a:hover { border-color: var(--forest); color: var(--forest); }
.places small { display: block; font-weight: 400; color: var(--muted); font-size: 0.88rem; }
@media (max-width: 860px) { .places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.zone { display: grid; gap: 10px; }
.zone + .zone { margin-top: 28px; }
.zone p.towns { color: var(--muted); }

/* Tabellen */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 1rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; background: var(--brass-soft); }
tr:last-child td { border-bottom: 0; }

/* Hinweis */
.note { border-left: 3px solid var(--brass); padding: 4px 0 4px 16px; color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 46rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.5rem; color: var(--forest); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 18px; color: var(--muted); }

/* Kontakt-Band */
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: 48px; }
.cta-band .btn-primary { background: var(--on-band); color: var(--band); border-color: var(--on-band); }
.cta-band .btn-primary:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-band .btn-ghost { color: var(--on-band); border-color: var(--on-band); }
.cta-band .btn-ghost:hover { background: transparent; text-decoration: underline; }
.cta-band p { color: var(--on-band-muted); margin-top: 10px; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* Formular */
.form { display: grid; gap: 16px; max-width: 34rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field textarea, .field select { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--ink); width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 0.98rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 4px; }
.hp { position: absolute; left: -5000px; }
.form-msg { padding: 12px 14px; border-radius: var(--radius); background: var(--brass-soft); }

/* Porträt-Platzhalter */
.portrait { aspect-ratio: 4 / 5; max-width: 100%; width: 320px; border: 1px dashed var(--brass); border-radius: var(--radius); display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; background: var(--card); }

/* Fuß */
.site-foot { border-top: 1px solid var(--line); padding-block: 44px 28px; font-size: 1rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.site-foot h2 { font-family: var(--body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink); margin-bottom: 10px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { color: var(--muted); }
.foot-bottom { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 0.92rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Anrufleiste mobil */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    background: var(--paper); border-top: 1px solid var(--line);
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  }
  .callbar .btn { justify-content: center; padding: 12px; font-size: 1rem; }
  body { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Rückruf-Formular in der Startseiten-Hero */
.hero-extra { margin-top: 32px; }
.hero-extra h2 { font-size: var(--step-1); margin-bottom: 12px; }
.hero-card .form { max-width: none; gap: 12px; }
.hero-card .field input, .hero-card .field textarea { padding: 10px 12px; }
.hero-card .form-intro { color: var(--muted); margin: -4px 0 16px; font-size: 0.98rem; }
.hero-card .btn { width: 100%; justify-content: center; }
.hero-card .consent { font-size: 0.9rem; }
#rueckruf { scroll-margin-top: 90px; }
