:root {
  --brand: #a6192e;
  --brand-dark: #7e1021;
  --ink: #172027;
  --muted: #5c6871;
  --line: #dfe4e7;
  --paper: #ffffff;
  --soft: #f3f5f6;
  --warm: #f7f4f1;
  --radius: 18px;
  --shadow: 0 22px 60px rgba(23, 32, 39, 0.09);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; border: 0; }
a { color: var(--brand); text-underline-offset: 0.16em; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.16; }
h1 { max-width: 800px; font-size: clamp(2.35rem, 5.2vw, 4.35rem); font-weight: 680; letter-spacing: -0.045em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); font-weight: 660; letter-spacing: -0.03em; }
h3 { font-size: 1.18rem; font-weight: 680; letter-spacing: -0.015em; }
p { margin: 0 0 1rem; }

.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 820px; }
.section { padding: 84px 0; }
.section--soft { background: var(--soft); }
.section--warm { background: var(--warm); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-head p { margin: 14px 0 0; color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }

/* Header */
.site-head {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 228, 231, 0.92);
  backdrop-filter: blur(14px);
}
.top {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.logo img { width: auto; height: 45px; }
.top-contact {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.top-contact:hover { border-color: #bdc6cb; background: var(--soft); color: var(--ink); }
.top-contact small { display: block; color: var(--muted); font-size: 0.72rem; line-height: 1.15; }
.top-contact strong { display: block; font-size: 0.96rem; line-height: 1.25; }
.top-contact .call {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  font-size: 1rem;
}
.top-contact .call svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Hero */
.hero { overflow: hidden; padding: 76px 0 68px; background: linear-gradient(180deg, #fff 0%, #fff 68%, var(--warm) 68%, var(--warm) 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.72fr); align-items: center; gap: 64px; }
.hero-copy { padding-bottom: 30px; }
.hero .lead { max-width: 760px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.58; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; }
.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 27px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 9px 24px rgba(166, 25, 46, 0.18);
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); border-color: var(--brand-dark); background: var(--brand-dark); box-shadow: 0 12px 28px rgba(126, 16, 33, 0.22); color: #fff; }
.btn:focus-visible { outline: 3px solid rgba(166, 25, 46, 0.24); outline-offset: 3px; }
.btn[disabled] { transform: none; opacity: 0.68; cursor: wait; }
.cta-note { max-width: 265px; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.proofs { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.proofs li { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #48545d; font-size: 0.82rem; font-weight: 650; }
.portrait {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #e1dcd7;
  border-radius: 26px;
  background: radial-gradient(circle at 50% 28%, #fff 0%, #f2eeea 54%, #e9e2dc 100%);
  box-shadow: var(--shadow);
}
.portrait::before { content: ""; position: absolute; inset: 18px 18px auto auto; width: 48px; height: 4px; border-radius: 999px; background: var(--brand); }
.portrait-img { min-height: 390px; padding: 34px 10px 0; display: flex; align-items: flex-end; justify-content: center; }
.portrait-img img { width: min(100%, 320px); height: auto; }
.portrait figcaption { position: relative; padding: 18px 21px 20px; border-top: 1px solid #e1dcd7; background: rgba(255, 255, 255, 0.94); color: var(--muted); font-size: 0.86rem; line-height: 1.45; }
.portrait figcaption strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 1.03rem; }

/* Capacity and services */
.capacity {
  position: relative;
  overflow: hidden;
  padding: 38px 40px 36px;
  border: 1px solid #e5ddd6;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 48px rgba(23, 32, 39, 0.06);
}
.capacity::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--brand); }
.capacity h2 { margin-bottom: 18px; }
.capacity p { color: #46525b; }
.capacity p:last-child { margin-bottom: 0; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { padding: 27px 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 28px rgba(23, 32, 39, 0.045); }
.card::before { content: ""; display: block; width: 34px; height: 3px; margin-bottom: 19px; border-radius: 999px; background: var(--brand); }
.card h3 { margin-bottom: 11px; }
.card p { margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.service { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.service h3 { margin-bottom: 16px; }
.service ul { margin: 0; padding: 0; list-style: none; }
.service li { position: relative; padding: 8px 0 8px 24px; color: #46525b; }
.service li::before { content: ""; position: absolute; top: 18px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* Trust */
.facts { margin: 0; padding: 0; list-style: none; }
.facts li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts li:first-child { border-top: 1px solid var(--line); }
.facts li::before { content: "✓"; display: grid; width: 28px; height: 28px; place-items: center; margin-top: 1px; border-radius: 50%; background: rgba(166, 25, 46, 0.09); color: var(--brand); font-size: 0.86rem; font-weight: 800; }
.facts b { font-weight: 720; }

/* Form */
.form-section { background: linear-gradient(180deg, var(--soft) 0%, #eceff1 100%); }
.form-wrap { max-width: 820px; margin-inline: auto; padding: 44px; border: 1px solid #d9dfe2; border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.form-intro { margin-bottom: 30px; }
.form-intro p { margin: 13px 0 0; color: var(--muted); }
fieldset { min-width: 0; margin: 0 0 27px; padding: 0; border: 0; }
legend, .field label { display: block; color: var(--ink); font-size: 0.94rem; font-weight: 700; }
legend { margin-bottom: 12px; }
.required::after { content: " *"; color: var(--brand); }
.optional { color: var(--muted); font-size: 0.82rem; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip-wrap { position: relative; display: block; }
.chip-in { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip { display: block; padding: 11px 17px; border: 1px solid #aeb8be; border-radius: 999px; background: #fff; color: #34414a; font-size: 0.93rem; font-weight: 600; line-height: 1.3; cursor: pointer; transition: all 0.16s ease; }
.chip:hover { border-color: #59666f; }
.chip-in:checked + .chip { border-color: var(--brand); background: var(--brand); color: #fff; }
.chip-in:focus-visible + .chip { outline: 3px solid rgba(166, 25, 46, 0.2); outline-offset: 2px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; }
.field label { margin-bottom: 7px; }
.field input {
  display: block;
  width: 100%;
  min-height: 51px;
  padding: 12px 14px;
  border: 1px solid #aeb8be;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.98rem;
  line-height: 1.3;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field input:hover { border-color: #7c8991; }
.field input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgba(166, 25, 46, 0.1); }
.consent { display: flex; align-items: flex-start; margin: 7px 0 0; color: var(--muted); font-size: 0.82rem; line-height: 1.55; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 11px 0 0; accent-color: var(--brand); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 20px 0 0; padding: 13px 15px; border: 1px solid rgba(166, 25, 46, 0.4); border-radius: 11px; background: rgba(166, 25, 46, 0.055); color: #851125; font-size: 0.9rem; }
.form-error[hidden] { display: none; }
.submit-row { margin-top: 23px; }
.submit-row .btn { width: 100%; min-height: 57px; font-size: 1.02rem; }
.form-note { margin: 12px 0 0; color: var(--muted); font-size: 0.78rem; text-align: center; }

/* Footer */
.foot { padding: 48px 0 30px; border-top: 1px solid var(--line); background: #fff; color: #46525b; font-size: 0.9rem; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.foot h3 { margin-bottom: 12px; font-size: 1rem; }
.foot p { margin: 0; }
.foot a { color: #34414a; }
.foot-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-note { display: block; margin-top: 7px; color: var(--muted); font-size: 0.78rem; }
.link-button { padding: 0; border: 0; background: none; color: #34414a; font: inherit; text-decoration: underline; text-underline-offset: 0.16em; cursor: pointer; }

/* Cookie consent */
.cookie-backdrop { position: fixed; z-index: 9998; inset: 0; background: rgba(10, 15, 18, 0.6); backdrop-filter: blur(2px); }
.cookie-box { position: fixed; z-index: 9999; right: 22px; bottom: 22px; width: min(610px, calc(100% - 44px)); max-height: calc(100vh - 44px); overflow-y: auto; padding: 26px; border: 1px solid #d7dde0; border-radius: 18px; background: #fff; box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24); }
.cookie-box:focus { outline: none; }
.cookie-box h2 { margin-bottom: 10px; font-size: 1.35rem; }
.cookie-box p { color: var(--muted); font-size: 0.9rem; line-height: 1.55; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.cookie-actions button { flex: 1 1 210px; min-height: 48px; padding: 12px 19px; border: 1px solid var(--ink); border-radius: 999px; font: inherit; font-size: 0.9rem; font-weight: 700; cursor: pointer; }
.cookie-yes { border-color: var(--brand) !important; background: var(--brand); color: #fff; }
.cookie-no { background: #fff; color: var(--ink); }
.cookie-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 14px 0 0 !important; }
.cookie-links a { color: var(--muted); }
[hidden] { display: none !important; }

/* Thank-you pages */
.thanks-body { min-height: 100vh; background: var(--soft); }
.thanks-head { background: #fff; border-bottom: 1px solid var(--line); }
.thanks-main { display: grid; min-height: calc(100vh - 190px); place-items: center; padding: 68px 0; }
.thanks-card { width: min(700px, 100%); padding: 48px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.thanks-mark { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 25px; border-radius: 50%; background: rgba(166, 25, 46, 0.09); color: var(--brand); font-size: 1.35rem; font-weight: 800; }
.thanks-card h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
.thanks-card .lead { margin-top: 18px; color: var(--muted); font-size: 1.06rem; }
.thanks-card .btn { margin-top: 16px; }
.thanks-direct { margin-top: 25px; padding-top: 21px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }
.thanks-body .foot { padding-top: 22px; }
.thanks-body .foot-meta { margin-top: 0; padding-top: 0; border-top: 0; }

@media (max-width: 900px) {
  .hero { background: linear-gradient(180deg, #fff 0%, #fff 78%, var(--warm) 78%, var(--warm) 100%); }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(270px, 0.75fr); gap: 34px; }
  .portrait-img { min-height: 350px; }
  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: min(calc(100% - 30px), 1120px); }
  .section { padding: 60px 0; }
  .top { min-height: 68px; }
  .logo img { height: 37px; }
  .top-contact { padding: 7px 9px 7px 13px; }
  .top-contact small { display: none; }
  .top-contact strong { font-size: 0.84rem; }
  .top-contact .call { width: 31px; height: 31px; }
  .hero { padding: 48px 0 0; background: #fff; }
  .hero-grid { display: flex; flex-direction: column; gap: 36px; }
  .hero-copy { padding: 0; }
  .hero-side { width: min(100%, 390px); }
  .cta-row { align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .cta-note { max-width: none; text-align: center; }
  .portrait { border-radius: 22px 22px 0 0; box-shadow: 0 12px 38px rgba(23, 32, 39, 0.08); }
  .portrait-img { min-height: 0; padding-top: 28px; }
  .capacity { padding: 30px 25px 28px; }
  .service-grid { grid-template-columns: 1fr; }
  .service { padding: 25px 22px; }
  .form-wrap { padding: 30px 21px; border-radius: 19px; }
  .field-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .cookie-box { right: 10px; bottom: 10px; width: calc(100% - 20px); max-height: calc(100vh - 20px); padding: 22px 18px; border-radius: 16px; }
  .thanks-main { padding: 40px 0; }
  .thanks-card { padding: 31px 23px; border-radius: 19px; }
}

@media (max-width: 390px) {
  .top-contact strong { font-size: 0.78rem; }
  .top-contact .call { display: none; }
  .proofs li { font-size: 0.75rem; }
}

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

/* ===== Ergänzung 11/2026: Honorarrechner-Links, Stadtzeile, Einzugsgebiet ===== */
.btn--ghost { background: #fff; box-shadow: none; color: var(--brand); }
.btn--ghost:hover { border-color: var(--brand-dark); background: rgba(166, 25, 46, 0.06); box-shadow: none; color: var(--brand-dark); }
.cta-row--two { gap: 12px 14px; }
.cta-row--two .cta-note { flex-basis: 100%; max-width: 440px; }

.hero-city { display: inline-flex; align-items: flex-start; gap: 9px; margin: 22px 0 0; padding: 9px 15px 9px 12px; border: 1px solid #ecd9dc; border-radius: 14px; background: #fcf6f6; color: var(--ink); font-size: 0.95rem; line-height: 1.45; }
.hero-city[hidden] { display: none; }
.hero-city svg { flex: none; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-city b { font-weight: 700; }

.service-link { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: none; }
.service-link:hover { text-decoration: underline; }

.cities .section-head { margin-bottom: 22px; }
.cities-office { color: #46525b; }
.cities-office b { color: var(--ink); font-weight: 700; }
.cities-intro { margin: 22px 0 10px; color: var(--muted); font-size: 0.92rem; }
.city-list { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.88rem; line-height: 1.75; }
.city-list li:not(:last-child)::after { content: "·"; margin: 0 0.45em; color: #b3bcc2; }

@media (max-width: 720px) {
  .hero-city { display: flex; margin-top: 18px; font-size: 0.9rem; }
  .cta-row--two .cta-note { max-width: none; }
  .city-list { font-size: 0.84rem; line-height: 1.7; }
}
