/* =========================================================
   RM EntrümpelProfis · Obertshausen
   Farbwelt aus dem Firmenlogo: Anthrazit, Orange, Warmgrau
   ========================================================= */

:root {
  /* Farben */
  --ink:        #14171B;
  --ink-800:    #1C2126;
  --ink-700:    #272D34;
  --ink-600:    #39414A;

  --brand:      #E8711A;   /* Logo-Orange – Flächen auf Dunkel, Zierlinien */
  --brand-600:  #B95205;   /* Buttons – Weiß darauf 4,9:1 */
  --brand-700:  #A0450A;   /* Orange als Textfarbe auf Hell (5,9:1) */
  --brand-50:   #FDF2E8;

  --paper:      #FAF9F7;
  --paper-2:    #F2EFEA;
  --white:      #FFFFFF;
  --line:       #E4E1DB;
  --line-dark:  rgba(255,255,255,.14);

  --text:       #14171B;
  --muted:      #55595F;   /* auf Weiß 6,9:1 */
  --muted-dark: #C2C7CD;   /* auf Anthrazit 10,3:1 */

  /* Maße */
  --r-xs: 6px;
  --r-s:  10px;
  --r:    16px;
  --r-l:  24px;
  --gap:  clamp(16px, 2.2vw, 28px);
  --sec:  clamp(60px, 8.5vw, 118px);
  --gut:  clamp(20px, 5vw, 40px);

  --shadow-s: 0 1px 2px rgba(20,23,27,.06), 0 2px 8px rgba(20,23,27,.05);
  --shadow-m: 0 2px 4px rgba(20,23,27,.05), 0 10px 28px rgba(20,23,27,.09);
  --shadow-l: 0 4px 10px rgba(20,23,27,.07), 0 24px 60px rgba(20,23,27,.16);

  --ease: cubic-bezier(.22,.61,.36,1);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
}

/* ---------- Grundlagen ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.14;
  letter-spacing: -.018em;
  font-weight: 800;
  color: var(--ink);
}

h1 { font-size: clamp(2.05rem, 5.4vw, 3.9rem); line-height: 1.04; letter-spacing: -.028em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.55rem); letter-spacing: -.024em; }
h3 { font-size: clamp(1.06rem, 1.5vw, 1.22rem); letter-spacing: -.01em; }

p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

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

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: var(--r-s); font-weight: 700; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 820px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typo-Bausteine ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 800; letter-spacing: .15em;
  text-transform: uppercase; color: var(--brand-700);
  margin: 0 0 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px;
}
.eyebrow--light { color: var(--brand); }

.lead {
  font-size: clamp(1.04rem, 1.5vw, 1.19rem);
  line-height: 1.62;
  color: var(--muted);
}
.lead--light { color: var(--muted-dark); }

.sec-head { max-width: 640px; margin-bottom: clamp(32px, 4.4vw, 56px); }

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--brand-600);
  --btn-fg: #fff;
  --btn-bd: var(--brand-600);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 26px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd); border-radius: var(--r-s);
  font: inherit; font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease);
  box-shadow: var(--shadow-s);
}
.btn:hover {
  --btn-bg: #9A4304; --btn-bd: #9A4304; color: #fff;
  transform: translateY(-2px); box-shadow: var(--shadow-m);
}
.btn:active { transform: translateY(0); }
.btn svg { flex: none; width: 19px; height: 19px; fill: currentColor; }

.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line);
  box-shadow: none;
}
.btn--ghost:hover {
  --btn-bg: var(--ink); --btn-bd: var(--ink); color: #fff;
}

.btn--on-dark {
  --btn-bg: rgba(255,255,255,.07); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.42);
  box-shadow: none; backdrop-filter: blur(4px);
}
.btn--on-dark:hover {
  --btn-bg: #fff; --btn-bd: #fff; color: var(--ink);
}

.btn--sm { min-height: 44px; padding: 9px 18px; font-size: .95rem; }
.btn--block { width: 100%; }

/* ---------- Entwurfs-Banner ---------- */

.draft-note {
  background: #2B2118;
  border-bottom: 2px solid var(--brand);
  color: #F6E6D6;
  font-size: .875rem;
  line-height: 1.45;
  padding: 10px 0;
  position: relative;
  z-index: 60;
}
.draft-note__inner { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.draft-note strong { color: #fff; font-weight: 800; }
.draft-note svg { flex: none; width: 18px; height: 18px; fill: var(--brand); }

/* ---------- Kopfzeile ---------- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-head.is-stuck { box-shadow: 0 6px 24px rgba(20,23,27,.09); }

.head-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 74px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; min-height: 46px; }
.brand img { width: 74px; height: 49px; object-fit: contain; flex: none; }
.brand__name {
  font-size: 1.02rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em;
  white-space: nowrap; line-height: 1.15;
}

.nav { display: flex; align-items: center; gap: 3px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 42px;
  padding: 6px 10px; border-radius: var(--r-xs);
  font-size: .93rem; font-weight: 600; color: var(--ink-700);
  text-decoration: none; white-space: nowrap;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }

.head-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; min-width: 46px; padding: 8px 12px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-s); cursor: pointer;
  font: inherit; font-size: .9rem; font-weight: 700; color: var(--ink);
}
.nav-toggle svg { width: 20px; height: 20px; fill: var(--ink); }

/* ---------- Hero ---------- */

.hero { position: relative; isolation: isolate; background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(15,17,20,.95) 0%, rgba(15,17,20,.90) 42%,
                            rgba(15,17,20,.66) 68%, rgba(15,17,20,.28) 100%),
    linear-gradient(to top, rgba(15,17,20,.70) 0%, rgba(15,17,20,0) 42%);
}
.hero__inner { padding: clamp(52px, 8vw, 104px) 0 clamp(46px, 6vw, 84px); }
.hero__col { max-width: 880px; }
.hero h1 { font-size: clamp(2.02rem, 4.25vw, 3.05rem); text-wrap: initial; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--brand); }
.hero__sub { color: #E4E7EA; font-size: clamp(1.04rem, 1.7vw, 1.25rem); max-width: 570px; margin-bottom: 30px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 8px 10px; padding: 0; margin: 0; list-style: none; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; margin: 0;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.20);
  border-radius: 100px; color: #F2F4F6; font-size: .855rem; font-weight: 600;
}
.hero__chips svg { width: 15px; height: 15px; fill: var(--brand); flex: none; }

/* ---------- Vorteilsleiste ---------- */

.trust { background: var(--ink-800); border-top: 1px solid rgba(255,255,255,.08); }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.10);
}
.trust__item { background: var(--ink-800); padding: 26px 22px; }
.trust__item svg { width: 26px; height: 26px; fill: var(--brand); margin-bottom: 12px; }
.trust__item h3 { color: #fff; font-size: 1rem; margin-bottom: 5px; }
.trust__item p { color: var(--muted-dark); font-size: .88rem; line-height: 1.5; }

/* ---------- Sektionen ---------- */

.section { padding: var(--sec) 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }

/* ---------- Leistungen ---------- */

.feature {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-l); overflow: hidden;
  box-shadow: var(--shadow-m); margin-bottom: var(--gap);
}
.feature__media { position: relative; min-height: 300px; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__tag {
  position: absolute; left: 18px; bottom: 18px;
  background: var(--ink); color: #fff; font-size: .82rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 100px;
}
.feature__body { padding: clamp(28px, 3.6vw, 46px); align-self: center; }
.feature__body h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); letter-spacing: -.022em; }
.feature__list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.feature__list li { display: flex; gap: 10px; font-size: .96rem; color: var(--ink-700); margin: 0; }
.feature__list svg { width: 18px; height: 18px; fill: var(--brand-700); flex: none; margin-top: 3px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 28px 26px 30px;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: #D8D3CB; }
.card__icon {
  width: 50px; height: 50px; border-radius: var(--r-s);
  background: var(--brand-50); border: 1px solid #F3DCC5;
  display: grid; place-items: center; margin-bottom: 18px;
}
.card__icon svg { width: 25px; height: 25px; fill: var(--brand-700); }
.card h3 { margin-bottom: 7px; }
.card p { font-size: .945rem; color: var(--muted); line-height: 1.58; }

/* ---------- Ablauf ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
  list-style: none; padding: 0; margin: 0; }
.step {
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line-dark);
  border-radius: var(--r); padding: 30px 28px 32px;
  position: relative;
}
.step__num {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand); color: #14171B;
  font-size: 1.16rem; font-weight: 800; margin-bottom: 18px;
}
.step h3 { font-size: 1.16rem; margin-bottom: 8px; }
.step p { color: var(--muted-dark); font-size: .95rem; }

/* ---------- Vorher / Nachher ---------- */

.ba-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }

.ba {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-s);
  transition: box-shadow .24s var(--ease), transform .24s var(--ease);
}
.ba:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.ba__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.ba__half { position: relative; margin: 0; overflow: hidden; background: var(--paper-2); }
.ba__half img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  transition: transform .5s var(--ease);
}
.ba__half:hover img { transform: scale(1.045); }
.ba__label {
  position: absolute; left: 10px; top: 10px;
  font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px; color: #fff;
  background: #14171B;
}
.ba__label--after { background: var(--brand-700); }
.ba__zoom {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; padding: 0; background: transparent; cursor: zoom-in;
}
.ba__zoom:focus-visible { outline-offset: -4px; }
.ba__cap { padding: 18px 20px 20px; }
.ba__cap h3 { font-size: 1.05rem; margin-bottom: 3px; }
.ba__cap p { font-size: .88rem; color: var(--muted); }

.ba-note {
  margin-top: 22px; font-size: .86rem; color: var(--muted);
  display: flex; gap: 9px; align-items: flex-start;
}
.ba-note svg { width: 17px; height: 17px; fill: var(--muted); flex: none; margin-top: 3px; }

/* ---------- Lightbox ---------- */

.lb {
  position: fixed; inset: 0; z-index: 120;
  display: none; align-items: center; justify-content: center;
  background: rgba(12,14,16,.93); padding: clamp(16px, 4vw, 48px);
}
.lb[open], .lb.is-open { display: flex; }
.lb__fig { margin: 0; max-width: 900px; width: 100%; text-align: center; }
.lb__fig img {
  max-width: 100%; max-height: 74vh; width: auto; margin-inline: auto;
  border-radius: var(--r-s); box-shadow: var(--shadow-l);
}
.lb__cap { color: #E4E7EA; font-size: .95rem; margin-top: 16px; }
.lb__close {
  position: absolute; top: 14px; right: 14px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  color: #fff; cursor: pointer; display: grid; place-items: center;
}
.lb__close svg { width: 20px; height: 20px; fill: #fff; }
.lb__close:hover { background: rgba(255,255,255,.24); }

/* ---------- Über uns ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4.5vw, 68px); align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: var(--r); box-shadow: var(--shadow-m); width: 100%; }
.split__badge {
  position: absolute; right: -14px; bottom: -18px;
  background: var(--ink); color: #fff; border-radius: var(--r-s);
  padding: 16px 20px; box-shadow: var(--shadow-l); max-width: 220px;
}
.split__badge strong { display: block; font-size: 1.02rem; color: var(--brand); margin-bottom: 2px; }
.split__badge span { font-size: .83rem; color: var(--muted-dark); line-height: 1.45; display: block; }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; margin: 0; }
.checks svg { width: 21px; height: 21px; fill: var(--brand-700); flex: none; margin-top: 3px; }
.checks strong { display: block; font-size: 1rem; }
.checks span { font-size: .93rem; color: var(--muted); line-height: 1.55; }

/* ---------- Einsatzgebiet ---------- */

.area { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4.5vw, 60px); align-items: center; }
.area__map {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(14px, 2vw, 22px); box-shadow: var(--shadow-s);
}
.area__map svg { width: 100%; height: auto; display: block; }
.area__map figcaption { font-size: .78rem; color: var(--muted); margin-top: 10px; text-align: center; }

.towns { list-style: none; padding: 0; margin: 22px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { margin: 0; }
.towns span {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: 100px;
  background: var(--white); border: 1px solid var(--line);
  font-size: .92rem; font-weight: 600; color: var(--ink-700);
}
.towns span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

/* ---------- Kontakt ---------- */

.contact { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
/* Rasterfelder dürfen unter ihre Wunschbreite schrumpfen – sonst sprengt
   z. B. die längste Auswahl-Option das Layout auf schmalen Geräten. */
.contact > *, .form__grid > *, .split > *, .area > * { min-width: 0; }

.contact__card {
  background: var(--ink); color: #fff; border-radius: var(--r-l);
  padding: clamp(28px, 3.4vw, 42px);
}
.contact__card h2 { color: #fff; }
.contact__list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 20px; }
.contact__list li { display: flex; gap: 15px; margin: 0; }
.contact__list svg { width: 22px; height: 22px; fill: var(--brand); flex: none; margin-top: 4px; }
.contact__k {
  display: block; font-size: .82rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-dark); margin-bottom: 3px;
}
.contact__v { display: block; font-size: 1.06rem; font-weight: 700; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
a.contact__v { min-height: 42px; display: flex; align-items: center; }
a.contact__v:hover { color: var(--brand); text-decoration: underline; }
.contact__v small { display: block; font-size: .84rem; font-weight: 500; color: var(--muted-dark); margin-top: 2px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.form {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: clamp(26px, 3.4vw, 42px);
  box-shadow: var(--shadow-m);
}
.form__title { font-size: 1.3rem; margin-bottom: 6px; }
.form__intro { font-size: .94rem; color: var(--muted); margin-bottom: 22px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 700; color: var(--ink-700); }
.field .hint { font-size: .78rem; font-weight: 500; color: var(--muted); }

.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text);
  min-height: 50px; min-width: 0; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-s);
  transition: border-color .16s var(--ease), background-color .16s var(--ease), box-shadow .16s var(--ease);
  width: 100%;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%2355595F' d='M5.5 7.5 10 12l4.5-4.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white);
  border-color: var(--brand-600); box-shadow: 0 0 0 3px rgba(185,82,5,.18);
}
.field input::placeholder, .field textarea::placeholder { color: #8A8F95; }

.consent {
  grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-s); padding: 15px 16px;
}
.consent input { width: 26px; height: 26px; min-height: 26px; flex: none; margin-top: 2px; accent-color: var(--brand-600); }
.consent label { font-size: .875rem; line-height: 1.55; color: var(--muted); font-weight: 500; cursor: pointer; }
.consent a { display: inline-block; padding: 4px 0; }

.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.form__note { font-size: .8rem; color: var(--muted); flex: 1 1 200px; min-width: 180px; }

.form__status {
  grid-column: 1 / -1; margin: 0;
  font-size: .92rem; font-weight: 600; color: var(--brand-700);
  background: var(--brand-50); border: 1px solid #F0D9BF;
  border-radius: var(--r-s); padding: 13px 16px;
}
.form__status[hidden] { display: none; }

/* ---------- Fußzeile ---------- */

.site-foot { background: var(--ink); color: var(--muted-dark); padding: clamp(48px, 6vw, 76px) 0 0; }
.foot-grid {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(34px, 4vw, 52px);
}
.foot-brand__chip {
  display: inline-block; background: #fff; border-radius: var(--r-s);
  padding: 12px 14px; margin-bottom: 18px;
}
.foot-brand__chip img { width: 116px; height: auto; }
.foot-grid p { font-size: .93rem; line-height: 1.62; }
.foot-grid h3 {
  color: #fff; font-size: .78rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; margin-bottom: 16px;
}
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.foot-list a, .foot-list span { color: var(--muted-dark); text-decoration: none; font-size: .95rem; }
.foot-list a:hover { color: var(--brand); text-decoration: underline; }
.foot-list li { margin: 0; }

.foot-bar {
  border-top: 1px solid var(--line-dark);
  padding: 22px 0 30px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: .84rem; line-height: 1.6;
}
.foot-bar a { color: var(--muted-dark); }
.foot-bar a:hover { color: var(--brand); }
.foot-draft { max-width: 760px; color: #A9AFB6; }

/* ---------- Mobiler Anruf-Balken ---------- */

.callbar { display: none; }

/* ---------- Rechtstexte ---------- */

.legal { padding: clamp(44px, 6vw, 84px) 0 var(--sec); }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 10px; }
.legal h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 2.2em 0 .6em; }
.legal h3 { font-size: 1.05rem; margin: 1.6em 0 .4em; }
.legal p, .legal li { color: var(--ink-700); font-size: 1rem; }
.legal ul { padding-left: 1.2em; }
.legal__meta {
  display: inline-block; font-size: .82rem; color: var(--muted);
  border-left: 3px solid var(--brand); padding-left: 12px; margin-bottom: 30px;
}
.legal address {
  font-style: normal; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-s); padding: 20px 22px; margin: 0 0 1.2em;
  line-height: 1.75;
}
.legal .backlink { margin-top: 46px; }

/* ---------- Fehlerseite ---------- */

.err { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: var(--sec) 0; }

/* =========================================================
   Breakpoints
   ========================================================= */

@media (max-width: 1240px) {
  html { scroll-padding-top: 112px; }

  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-m);
    padding: 10px var(--gut) 18px;
  }
  .nav.is-open { display: flex; }
  .nav a { min-height: 48px; padding: 10px 12px; font-size: 1rem; border-radius: var(--r-xs); }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 900px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 240px; max-height: 300px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .split, .area, .contact { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .split__badge { right: 10px; bottom: -14px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16.5px; }
  html { scroll-padding-top: 104px; }

  .head-cta .btn--head { display: none; }
  .brand img { width: 58px; height: 39px; }
  .brand__name { font-size: .95rem; }

  .hero__inner { padding: 42px 0 46px; }
  .eyebrow { font-size: .82rem; letter-spacing: .11em; }
  .hero__media img { object-position: 72% 50%; }
  .hero__actions .btn { flex: 1 1 100%; }

  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { padding: 22px 20px; }

  .cards { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .split__badge { position: static; max-width: none; margin-top: 14px; }

  /* Anruf-Balken unten */
  .callbar {
    display: flex; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 22px rgba(20,23,27,.10);
  }
  .callbar .btn { flex: 1; min-height: 50px; font-size: .98rem; padding: 12px 14px; }
  body { padding-bottom: 76px; }
  .lb { padding-bottom: 90px; }

  /* Touch: Kontrollkästchen groß genug zum Antippen */
  .consent { align-items: center; }
  .consent input { width: 40px; height: 40px; min-height: 40px; margin-top: 0; }
}

@media (max-width: 420px) {
  .brand img { width: 50px; height: 33px; }
  .brand__name { font-size: .88rem; }
  .nav-toggle__label { display: none; }
  .nav-toggle { padding: 8px; }
  .callbar .btn { font-size: .9rem; padding: 12px 8px; }
  .contact__card, .form { padding: 24px 20px; }
  .feature__body { padding: 26px 22px; }
  .form__foot .btn { width: 100%; }
  .form__note { flex-basis: 100%; min-width: 0; }
  .contact__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .draft-note, .site-head, .callbar, .hero__media, .lb { display: none !important; }
  body { padding-bottom: 0; }
}
