/* ==========================================================================
   Helping Hands – gemeinsames Stylesheet für ALLE Seiten
   Ein Muster: Topbar → Header → (Breadcrumb) → Hero → Abschnitte →
   Anfrage → Footer → schwebender Kontakt-Button
   ========================================================================== */

/* ---------- Schriften (lokal gehostet, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-var.woff") format("woff"); font-weight: 400 700; font-display: swap; }

/* ---------- Farben & Maße (Farbcodes Helping Hands Solution) ---------- */
:root {
  --navy: #2e3f70;
  --navy-deep: #1f2b4f;
  --navy-tint: #e3e7f1;
  --ink: #0d0c0b;
  --mist: #f4efe6;
  --stone: #9f9e99;
  --paper: #ffffff;
  --text: #2a2b30;
  --text-soft: #5b5d66;
  --line: #d9dce3;
  --ok: #2f6b4f;
  --warn: #8a5a12;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", Arial, sans-serif;

  --wrap: 1180px;
  --gap: clamp(1rem, 2.5vw, 1.75rem);
  --section: clamp(3.5rem, 8vw, 6rem);
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-deep); }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); line-height: 1.18; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0; padding: 0; }
[id] { scroll-margin-top: 96px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #e9ecf4; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy a { color: #fff; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text-soft); }
.section--navy .lead { color: #c9d0e3; }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 720px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .8rem 1.4rem;
  font: 500 1rem/1.2 var(--sans);
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy-tint); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--navy-tint); color: var(--navy-deep); }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,.6); background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.textlink { font-weight: 500; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-deep); color: #d6d7db; font-size: .875rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; }
.topbar a { color: #fff; text-decoration: none; font-weight: 500; }
@media (max-width: 640px) { .topbar__area { display: none; } .topbar .wrap { justify-content: center; } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { height: 44px; width: auto; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__name { font: 600 1.3rem/1 var(--serif); display: block; }
.brand__sub { font-size: .78rem; color: var(--text-soft); display: block; margin-top: .2rem; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .96rem; padding: .5rem .7rem; border-radius: var(--r-sm); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--mist); color: var(--navy); }
.header__cta { display: flex; align-items: center; gap: .6rem; }
.header__phone { font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }
@media (max-width: 1020px) {
  .header__phone { display: none; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .header__cta .btn { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: .5rem var(--gap) 1rem; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .9rem .5rem; border-bottom: 1px solid var(--mist); border-radius: 0; }
}

/* ---------- Breadcrumb (Unterseiten) ---------- */
.breadcrumb { font-size: .875rem; padding-block: .9rem; color: var(--text-soft); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--stone); }

/* ---------- Banner-Foto unter der Navigation ---------- */
.banner { position: relative; aspect-ratio: 21 / 7; min-height: 190px; max-height: 460px; width: 100%; overflow: hidden; background: var(--navy-tint); }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.placeholder {
  display: grid; place-content: center; text-align: center; gap: .3rem;
  height: 100%; padding: 1rem;
  background: repeating-linear-gradient(135deg, var(--navy-tint) 0 14px, #eef0f6 14px 28px);
  color: var(--navy); font-size: .95rem;
  border: 2px dashed #9aa6c6;
}
.placeholder strong { font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 6vw, 4.5rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 52ch; }
.hero .btn-row { margin-top: 1.75rem; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }

.trust { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .93rem; color: var(--text-soft); }
.trust li { display: flex; align-items: center; gap: .45rem; }
.trust svg { width: 18px; height: 18px; color: var(--navy); flex: none; }

/* ---------- Wegweiser (Startseite) ---------- */
.router { background: var(--mist); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.router h2 { font-size: 1.55rem; margin-bottom: .25rem; }
.router > p { color: var(--text-soft); font-size: .95rem; margin-bottom: 1.1rem; }
.router__doors { display: grid; gap: .6rem; }
.door {
  display: grid; grid-template-columns: 52px 1fr 24px; align-items: center; gap: 1rem;
  width: 100%; text-align: left; cursor: pointer;
  padding: 1rem 1.1rem; border-radius: var(--r-md);
  background: #fff; border: 2px solid transparent; color: var(--ink);
  font: inherit;
}
.door:hover { border-color: var(--line); }
.door[aria-expanded="true"] { border-color: var(--navy); }
.door__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--navy-tint); color: var(--navy); display: grid; place-items: center; }
.door__icon svg { width: 28px; height: 28px; }
.door__title { display: block; font-weight: 600; font-size: 1.06rem; line-height: 1.3; }
.door__text { display: block; font-size: .88rem; color: var(--text-soft); line-height: 1.4; margin-top: .15rem; }
.door__chev { width: 22px; height: 22px; color: var(--navy); transition: transform .2s; }
.door[aria-expanded="true"] .door__chev { transform: rotate(90deg); }
.door-panel { background: #fff; border-radius: var(--r-md); padding: 1.1rem 1.25rem 1.25rem; margin-top: -.2rem; border: 2px solid var(--navy); border-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; }
.door-panel[hidden] { display: none; }
.door-panel h3 { font-size: 1.12rem; margin-bottom: .55rem; }
.door[aria-expanded="true"] { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.router__unsure { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; font-size: .95rem; }
.router__unsure a { font-weight: 700; text-decoration: none; }

/* ---------- Häkchen-Liste ---------- */
.checks { list-style: none; display: grid; gap: .45rem; margin-bottom: 1.1rem; }
.checks li { position: relative; padding-left: 1.7rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 1.05rem; height: 1.05rem;
  background: var(--navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%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 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.section--navy .checks li::before { background: #fff; }

/* ---------- Portfolio-Zeilen ---------- */
.areas { display: grid; gap: 0; border-top: 1px solid var(--line); }
.area { display: grid; grid-template-columns: 1.1fr 1fr .9fr; gap: clamp(1.25rem, 3vw, 3rem); padding-block: clamp(1.75rem, 4vw, 2.75rem); border-bottom: 1px solid var(--line); }
.area__head { display: flex; gap: 1rem; align-items: flex-start; }
.area__icon { width: 64px; height: 64px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.area__icon svg { width: 32px; height: 32px; }
.area__kicker { font-size: .88rem; color: var(--text-soft); margin: 0 0 .15rem; }
.area h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-bottom: .45rem; }
.area__head p { color: var(--text-soft); margin: 0; }
.area__facts { font-size: .95rem; }
.area__facts dl { margin: 0 0 1.1rem; display: grid; gap: .7rem; }
.area__facts dt { font-weight: 600; color: var(--ink); }
.area__facts dd { margin: 0; color: var(--text-soft); }
@media (max-width: 900px) { .area { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
}

/* ---------- Geschichte (interaktiv) ---------- */
.story__team-photo { aspect-ratio: 21 / 7; border-radius: var(--r-lg); overflow: hidden; margin-bottom: clamp(2rem, 5vw, 3rem); }
.story__team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.story--no-photo { grid-template-columns: 1fr; }
.story--no-photo > div { max-width: 68ch; }
.story--photo-right { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.story__photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; }
.story__photo .placeholder { background: repeating-linear-gradient(135deg, #3a4c80 0 14px, #34467a 14px 28px); color: #dfe4f0; border-color: #6d7cab; }
.story__tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0 1.25rem; padding: 0; list-style: none; }
.story__tab {
  font: 500 .95rem/1.2 var(--sans); cursor: pointer;
  padding: .65rem 1rem; border-radius: 999px;
  background: transparent; color: #dfe4f0; border: 1.5px solid rgba(255,255,255,.35);
  display: inline-flex; gap: .5rem; align-items: center;
}
.story__tab span { font-family: var(--serif); font-weight: 600; opacity: .75; }
.story__tab[aria-selected="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.story__panel { min-height: 12rem; }
.story__panel h3 { font-size: 1.5rem; }
.story__panel p { color: #dfe4f0; font-size: 1.08rem; }
.story__sign { margin-top: 1.5rem; font-family: var(--serif); font-style: italic; color: #fff; }
.story__nav { display: flex; gap: .5rem; margin-top: 1rem; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.2); }
.facts strong { display: block; font: 600 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--serif); color: #fff; }
.facts span { font-size: .92rem; color: #c9d0e3; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story__photo { aspect-ratio: 16 / 10; } .facts { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Vorteile ---------- */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3rem); }
.benefit { border-top: 3px solid var(--navy); padding-top: 1.1rem; }
.benefit svg { width: 30px; height: 30px; color: var(--navy); margin-bottom: .7rem; }
.benefit h3 { font-size: 1.18rem; margin-bottom: .35rem; }
.benefit p { color: var(--text-soft); margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Ablauf in 3 Schritten ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); position: relative; }
.step { counter-increment: step; position: relative; background: #fff; border-radius: var(--r-md); padding: 1.5rem; }
.step::before { content: counter(step); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 1.3rem/1 var(--serif); margin-bottom: 1rem; }
.step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.step p { margin: 0; color: var(--text-soft); font-size: .98rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Hinweis-Kasten (Rubrikseiten) ---------- */
.callout { background: var(--mist); border-radius: var(--r-md); padding: 1.1rem 1.3rem; font-size: .95rem; color: var(--text-soft); }
.callout strong { color: var(--ink); }
.callout + .callout { margin-top: 1rem; }

/* ---------- Bewertungen ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.review { background: var(--mist); border-radius: var(--r-md); padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.review__stars { color: var(--navy); letter-spacing: .15em; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; color: var(--ink); }
.review footer { font-size: .88rem; color: var(--text-soft); margin-top: auto; }
.review--placeholder { min-height: 220px; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font-weight: 600; font-size: 1.06rem; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font: 400 1.7rem/1 var(--sans); color: var(--navy); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.2rem; margin: 0; color: var(--text-soft); }

/* ---------- Einsatzgebiet ---------- */
.region { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.districts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.districts li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-size: .93rem; }
.districts li.is-home { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- Team-Seite ---------- */
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.team__member { text-align: center; }
.team__photo { aspect-ratio: 1; border-radius: var(--r-lg); margin-bottom: .75rem; overflow: hidden; }
.team__photo .placeholder { border: 2px dashed #9aa6c6; }
.team__member h3 { font-size: 1.02rem; margin: 0 0 .15rem; }
.team__member p { color: var(--text-soft); font-size: .9rem; margin: 0; }
@media (max-width: 800px) { .region { grid-template-columns: 1fr; } }

/* ---------- Jobs ---------- */
.jobs { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--navy-deep); color: #d6d7db; border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 3rem); }
.jobs h2 { color: #fff; }
.jobs .checks li::before { background: #fff; }
.jobs .btn-row { justify-content: flex-start; }
@media (max-width: 800px) { .jobs { grid-template-columns: 1fr; } }

/* ---------- Anfrage-Bereich ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__person { display: flex; gap: 1rem; align-items: center; margin: 1.5rem 0; }
.avatar { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: none; background: var(--navy-tint); display: grid; place-items: center; color: var(--navy); font: 600 1.5rem/1 var(--serif); border: 2px dashed #9aa6c6; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--real { border: 0; }
.contact__person strong { display: block; color: var(--ink); }
.contact__person span { font-size: .92rem; color: var(--text-soft); }
.contact__lines { list-style: none; display: grid; gap: 1rem; }
.contact__lines small { display: block; color: var(--text-soft); font-size: .85rem; }
.contact__lines a { font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.contact__lines a.mail { font-size: 1.02rem; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Formular (3 Schritte) ---------- */
.form { background: #fff; border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--line); box-shadow: 0 18px 40px -28px rgba(31, 43, 79, .45); }
.form__progress { list-style: none; display: flex; gap: .5rem; margin: 0 0 1.5rem; padding: 0; counter-reset: fp; }
.form__progress li { counter-increment: fp; flex: 1; font-size: .85rem; color: var(--text-soft); border-top: 4px solid var(--line); padding-top: .5rem; }
.form__progress li::before { content: counter(fp) ". "; }
.form__progress li.is-active, .form__progress li.is-done { border-color: var(--navy); color: var(--ink); font-weight: 500; }
.js .form__step { display: none; }
.js .form__step.is-active { display: block; }
.form__step + .form__step { margin-top: 2rem; }
.js .form__step + .form__step { margin-top: 0; }
.form legend, .form__title { font: 600 1.3rem/1.3 var(--serif); color: var(--ink); margin-bottom: 1rem; padding: 0; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label { display: flex; gap: .75rem; align-items: center; height: 100%; padding: .9rem 1rem; border: 2px solid var(--line); border-radius: var(--r-md); cursor: pointer; font-weight: 500; line-height: 1.3; }
.choice label svg { width: 26px; height: 26px; color: var(--navy); flex: none; }
.choice input:checked + label { border-color: var(--navy); background: var(--navy-tint); }
.choice input:focus-visible + label { outline: 3px solid var(--navy); outline-offset: 2px; }
@media (max-width: 520px) { .choice-grid { grid-template-columns: 1fr; } }

.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; align-items: start; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label, .field .label { font-weight: 500; font-size: .95rem; color: var(--ink); }
.req { color: var(--navy); }
.opt { font-weight: 400; color: var(--text-soft); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .75rem .9rem; min-height: 50px;
  border: 1.5px solid #c3c8d3; border-radius: var(--r-sm); background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--navy-tint); }
.field .hint { font-size: .85rem; color: var(--text-soft); }
.field .hint--important { color: var(--warn); }
.field.has-error input, .field.has-error select { border-color: #b3261e; }
.error-msg { color: #b3261e; font-size: .88rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; }
.pill label { display: inline-block; padding: .5rem .95rem; border-radius: 999px; border: 1.5px solid #c3c8d3; cursor: pointer; font-size: .93rem; }
.pill input:checked + label { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill input:focus-visible + label { outline: 3px solid var(--navy); outline-offset: 2px; }
.more { margin: .5rem 0 1rem; border: 1px dashed #c3c8d3; border-radius: var(--r-md); }
.more summary { cursor: pointer; padding: .85rem 1rem; font-weight: 500; color: var(--navy); }
.more > div { padding: .25rem 1rem .5rem; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--text-soft); margin: .5rem 0 1.25rem; }
.consent input { width: 22px; height: 22px; margin-top: .15rem; flex: none; accent-color: var(--navy); }
.form__nav { display: flex; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-top: 1.25rem; }
.form__nav .btn:only-child { margin-left: auto; }
.no-js-hide { display: none; }
.js .no-js-hide { display: inline-flex; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: .88rem; color: var(--text-soft); margin: .75rem 0 0; }
.alert { padding: .9rem 1.1rem; border-radius: var(--r-sm); margin-bottom: 1rem; font-size: .95rem; }
.alert--error { background: #fbeaea; color: #7d1a14; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #b9bac0; padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem; font-size: .95rem; }
.footer a { color: #e7e8ec; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer h2 { font: 600 1rem/1.3 var(--sans); color: #fff; margin-bottom: .9rem; }
.footer ul { list-style: none; display: grid; gap: .5rem; }
.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer .brand__sub { color: #9f9e99; }
.footer__bottom { margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: .85rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Schwebender Kontakt-Button (alle Seiten) ---------- */
.fab { position: fixed; right: clamp(.9rem, 2.5vw, 1.75rem); bottom: clamp(.9rem, 2.5vw, 1.75rem); z-index: 60; }
.fab__btn {
  position: relative; width: 64px; height: 64px; border-radius: 50%;
  border: 0; cursor: pointer; background: var(--navy); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px rgba(31, 43, 79, .6);
}
.fab__btn svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.fab__btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--navy);
  animation: fab-pulse 2.6s ease-out infinite;
}
.fab__btn[aria-expanded="true"]::before { animation: none; opacity: 0; }
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
.fab__panel {
  position: absolute; right: 0; bottom: calc(100% + 14px);
  width: min(350px, calc(100vw - 2rem));
  background: #fff; border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -20px rgba(13, 12, 11, .45);
  border: 1px solid var(--line);
  padding: 1.4rem;
}
.fab__panel[hidden] { display: none; }
.fab__close { position: absolute; top: .6rem; right: .6rem; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; border-radius: 50%; color: var(--text-soft); display: grid; place-items: center; }
.fab__close:hover { background: var(--mist); }
.fab__close svg { width: 20px; height: 20px; }
.fab__panel h2 { font-size: 1.35rem; margin: 0 2rem .3rem 0; }
.fab__panel > p { font-size: .92rem; color: var(--text-soft); margin-bottom: 1rem; }
.fab__person { display: flex; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.fab__person .avatar { width: 58px; height: 58px; font-size: 1.1rem; }
.fab__person strong { display: block; color: var(--ink); line-height: 1.3; }
.fab__person span { font-size: .85rem; color: var(--text-soft); }
.fab__phone { display: block; font: 700 1.55rem/1.2 var(--sans); color: var(--navy); text-decoration: none; margin-bottom: .25rem; }
.fab__hours { font-size: .85rem; color: var(--text-soft); margin-bottom: 1rem; }
.fab__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.fab__actions .btn { min-height: 46px; padding: .6rem .8rem; font-size: .92rem; }

/* ---------- Danke-Seite ---------- */
.thanks { text-align: left; max-width: 680px; }
.thanks__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; margin-bottom: 1.5rem; }
.thanks__icon svg { width: 36px; height: 36px; }

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