/* =========================================================================
   Projektbau Mauser GmbH – Stylesheet
   Lokale Schriften (DSGVO-konform, keine externen CDNs), Mobile First.
   ========================================================================= */

/* ---------- Lokale Schriften ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/inter-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/inter-700.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/spacegrotesk-500.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/spacegrotesk-600.woff2") format("woff2");
}
@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/spacegrotesk-700.woff2") format("woff2");
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Farben – Anthrazit-Basis + warmer Kupfer-Akzent (Baubranche) */
  --ink: #15181c;
  --ink-2: #1e232a;
  --graphite: #2a2f37;
  --accent: #c8531b;         /* CTA / interaktiv, WCAG-sicher mit Weiß */
  --accent-bright: #e8681f;  /* Akzent auf dunklem Grund */
  --accent-soft: #f6ede6;
  --bg: #faf8f5;             /* warmes Off-White */
  --surface: #ffffff;
  --surface-2: #f2ede5;
  --sand: #efe9e0;
  --text: #1b1e23;
  --muted: #64696f;          /* Sekundärtext, ~4.6:1 auf Weiß */
  --muted-light: #a7adb4;
  --border: #e7e1d7;
  --border-strong: #d9d2c6;
  --on-dark: #f3f0eb;
  --on-dark-muted: #adb3ba;

  /* Typografie */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;

  /* Radius & Schatten */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(21, 24, 28, 0.06);
  --shadow-md: 0 14px 40px -12px rgba(21, 24, 28, 0.14);
  --shadow-lg: 0 30px 70px -24px rgba(21, 24, 28, 0.28);

  /* Abstände */
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section-y: clamp(4rem, 10vw, 8rem);

  --nav-h: 76px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
p {
  margin: 0 0 1rem;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Hilfsklassen ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: var(--section-y);
}
.section--tight { padding-block: clamp(3rem, 7vw, 5rem); }
.section--dark {
  background: var(--ink);
  color: var(--on-dark);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 { color: var(--on-dark); }
.section--sand { background: var(--sand); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
}
.section--dark .eyebrow { color: var(--accent-bright); }
.section--dark .eyebrow::before { background: var(--accent-bright); }

.section-head { max-width: 60ch; }
.section-head.center { margin-inline: auto; text-align: center; }
h2.h-xl {
  font-size: clamp(2rem, 5.2vw, 3.35rem);
}
.lead {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--muted);
  max-width: 62ch;
}
.section--dark .lead { color: var(--on-dark-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.9rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  will-change: transform;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(200, 83, 27, 0.7);
}
.btn--primary:hover {
  background: #b34816;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(200, 83, 27, 0.75);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.section--dark .btn--ghost {
  color: var(--on-dark);
  border-color: #3d434c;
}
.section--dark .btn--ghost:hover { border-color: var(--on-dark); background: #ffffff0d; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--block { width: 100%; }

/* =========================================================================
   Header / Navigation
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { line-height: 1.05; }
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav__links {
  display: none;
  align-items: center;
  gap: 0.35rem;
}
.nav__links a {
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--text);
  transition: color 0.15s ease, background-color 0.15s ease;
}
.nav__links a:hover { color: var(--accent); background: var(--accent-soft); }
.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav__phone {
  display: none;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}
.nav__phone svg { width: 18px; height: 18px; color: var(--accent); }
.nav__cta { display: none; }

/* Burger */
.burger {
  --bar: #1b1e23;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--bar);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menü Panel */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 90;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem var(--gutter) 2.5rem;
  overflow-y: auto;
  visibility: hidden;
}
.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-menu a.m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem 0.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a.m-link::after {
  content: "→";
  color: var(--accent);
  opacity: 0.7;
}
.mobile-menu__foot {
  margin-top: auto;
  padding-top: 1.75rem;
  display: grid;
  gap: 0.85rem;
}
.mobile-menu__foot .btn { width: 100%; }
.mobile-menu__foot .m-contact {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}
.mobile-menu__foot .m-contact strong { color: var(--ink); }
body.menu-open { overflow: hidden; }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(200, 83, 27, 0.09), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(30, 35, 42, 0.06), transparent 60%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.hero__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #27a567; flex: none;
  box-shadow: 0 0 0 4px rgba(39, 165, 103, 0.18);
}
.hero h1 {
  font-size: clamp(2.4rem, 7.2vw, 4.4rem);
  margin-bottom: 1.25rem;
}
.hero h1 .accent { color: var(--accent); }
.hero__sub {
  font-size: clamp(1.08rem, 2.6vw, 1.3rem);
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
}
.hero__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero__media img { width: 100%; }
.hero__floating {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.chip svg { width: 16px; height: 16px; color: var(--accent); }

/* Stats-Reihe */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat span { font-size: 0.9rem; color: var(--muted); }

/* =========================================================================
   Trust-Leiste (Logos/Argumente)
   ========================================================================= */
.trust {
  border-block: 1px solid var(--border);
  background: var(--surface);
}
.trust__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1rem;
  padding-block: 2rem;
}
.trust__item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.trust__item svg { width: 26px; height: 26px; color: var(--accent); flex: none; margin-top: 2px; }
.trust__item b { display: block; font-family: var(--font-display); font-size: 1rem; }
.trust__item span { font-size: 0.86rem; color: var(--muted); }

/* =========================================================================
   Leistungen
   ========================================================================= */
.cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card:hover::after { transform: scaleX(1); }
.card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* =========================================================================
   Über uns
   ========================================================================= */
.about__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.about__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about__badge {
  display: inline-flex;
  flex-direction: column;
  padding: 1.1rem 1.4rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  margin-top: -3.5rem;
  margin-left: 1.5rem;
  position: relative;
  width: max-content;
  box-shadow: var(--shadow-lg);
}
.about__badge b { font-family: var(--font-display); font-size: 1.6rem; }
.about__badge span { font-size: 0.82rem; color: var(--on-dark-muted); }
.about ul.checklist { margin-top: 1.25rem; display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; }
.checklist li svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }

/* =========================================================================
   Vorteile / Warum wir (dunkel)
   ========================================================================= */
.why__grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}
.why__item {
  padding: 1.6rem;
  background: var(--ink-2);
  border: 1px solid #2c323b;
  border-radius: var(--r-md);
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.why__item:hover { transform: translateY(-4px); background: #232932; }
.why__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent-bright);
  letter-spacing: 0.05em;
}
.why__item h3 { font-size: 1.2rem; margin: 0.6rem 0 0.4rem; color: var(--on-dark); }
.why__item p { color: var(--on-dark-muted); font-size: 0.95rem; margin: 0; }

/* =========================================================================
   Ablauf (Prozess)
   ========================================================================= */
.steps {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.75rem 1.6rem 1.6rem;
}
.step__no {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* =========================================================================
   Accordion (mobil-freundliche Detailtexte)
   ========================================================================= */
.accordion { margin-top: 2.5rem; display: grid; gap: 0.85rem; max-width: 60rem; }
.acc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  min-height: 60px;
}
.acc__icon {
  flex: none;
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform 0.25s ease, background-color 0.2s ease;
}
.acc__icon::before { width: 12px; height: 2px; }
.acc__icon::after { width: 2px; height: 12px; }
.acc__btn[aria-expanded="true"] .acc__icon { background: var(--accent); border-color: var(--accent); }
.acc__btn[aria-expanded="true"] .acc__icon::before,
.acc__btn[aria-expanded="true"] .acc__icon::after { background: #fff; }
.acc__btn[aria-expanded="true"] .acc__icon::after { transform: scaleY(0); }
.acc__panel {
  overflow: hidden;
  height: 0;
  transition: height 0.3s ease;
}
.acc__panel-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--muted);
}
.acc__panel-inner p { margin: 0 0 0.75rem; }
.acc__panel-inner p:last-child { margin-bottom: 0; }

/* =========================================================================
   Referenzen
   ========================================================================= */
.refs { display: grid; gap: 1.25rem; margin-top: 3rem; }
.ref {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--ink);
}
.ref img { width: 100%; transition: transform 0.5s ease; }
.ref:hover img { transform: scale(1.04); }
.ref__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 1.25rem 1.1rem;
  background: linear-gradient(to top, rgba(10, 12, 15, 0.85), transparent);
  color: #fff;
}
.ref__cap b { font-family: var(--font-display); font-size: 1.1rem; display: block; }
.ref__cap span { font-size: 0.82rem; color: #d7d3cd; }

.note {
  margin-top: 1.75rem;
  font-size: 0.86rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.note svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* =========================================================================
   Standort
   ========================================================================= */
.location__grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}
.location__map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  min-height: 280px;
}
.location__map img { width: 100%; height: 100%; object-fit: cover; }
.location__map .maptag {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255,255,255,0.9);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}
.location__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  display: flex;
  flex-direction: column;
}
.info-row { display: flex; gap: 0.9rem; padding: 0.9rem 0; border-bottom: 1px solid var(--border); }
.info-row:last-of-type { border-bottom: 0; }
.info-row svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }
.info-row b { font-family: var(--font-display); font-size: 0.98rem; display: block; }
.info-row span, .info-row a { color: var(--muted); font-size: 0.97rem; }
.info-row a:hover { color: var(--accent); }

/* =========================================================================
   Kontakt / Formular
   ========================================================================= */
.contact__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.field label .req { color: var(--accent); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  min-height: 50px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--r-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(200, 83, 27, 0.12);
}
.field-row { display: grid; gap: 1.15rem; }
.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0.5rem 0 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}
.consent input[type="checkbox"] {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  accent-color: var(--accent);
  cursor: pointer;
}
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form__status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 500;
  display: none;
}
.form__status.show { display: block; }
.form__status.ok { background: #e7f5ee; color: #1c6b45; border: 1px solid #b7e0cb; }
.form__status.err { background: #fdecea; color: #a3271b; border: 1px solid #f3c2bd; }
.field .error-text {
  display: none;
  color: #a3271b;
  font-size: 0.82rem;
  margin-top: 0.35rem;
}
.field.invalid input,
.field.invalid textarea { border-color: #d0402e; }
.field.invalid .error-text { display: block; }
.consent.invalid { color: #a3271b; }

.contact-aside { display: grid; gap: 1rem; align-content: start; }
.contact-aside .info-row { border-color: var(--border); }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding-top: clamp(3.5rem, 8vw, 5rem);
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__brand .brand { color: #fff; margin-bottom: 1rem; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name small { color: var(--on-dark-muted); }
.footer__brand p { color: var(--on-dark-muted); font-size: 0.95rem; max-width: 34ch; }
.footer h4 {
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer__col ul { display: grid; gap: 0.65rem; }
.footer__col a, .footer__col li { color: var(--on-dark-muted); font-size: 0.95rem; }
.footer__col a:hover { color: #fff; }
.footer__social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer__social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  border: 1px solid #313842;
  color: var(--on-dark-muted);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer__social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer__social svg { width: 20px; height: 20px; }

.footer__bottom {
  border-top: 1px solid #2a3039;
  padding-block: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-align: center;
}
.footer__legal { color: var(--on-dark-muted); font-size: 0.85rem; }
.footer__legal a { color: var(--on-dark-muted); }
.footer__legal a:hover { color: #fff; }
.powered {
  font-size: 0.9rem;
  color: var(--on-dark-muted);
}
.powered a { color: #22b8e0; font-weight: 600; }
.powered a:hover { text-decoration: underline; }

/* =========================================================================
   Scroll-Reveal-Animationen
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Zurück-nach-oben */
.to-top {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.2s ease;
  z-index: 80;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }
.to-top svg { width: 22px; height: 22px; }

/* Skip-Link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (min-width: 600px) {
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
  .trust__inner { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .refs { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__phone { display: inline-flex; }
  .burger { display: none; }
  .mobile-menu { display: none; }

  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
  .hero__stats { padding-top: 2.5rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .refs { grid-template-columns: repeat(3, 1fr); }
  .about__grid { grid-template-columns: 0.9fr 1.1fr; }
  .location__grid { grid-template-columns: 1.3fr 1fr; }
  .contact__grid { grid-template-columns: 1.25fr 0.75fr; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

@media (min-width: 1100px) {
  .trust__inner { gap: 2rem; }
}

/* =========================================================================
   Reduced Motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .ref:hover img { transform: none; }
}
