/* ============================================================
   MDA GmbH — Beraten & Bauen
   ProFixer-Layout mit Gelb (#fcc50d) & Schwarz statt Blau
   ============================================================ */

/* Manrope lokal gehostet (SIL Open Font License) — kein Google-Fonts-Abruf,
   keine IP-Uebertragung an Google (DSGVO) */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --yellow: #fcc50d;
  --yellow-soft: #fff6d9;
  --dark: #131313;
  --dark-soft: #232323;
  --ink: #16181d;
  --body-c: #5a6472;
  --muted: #8b95a5;
  --bg: #ffffff;
  --tint: #f7f7f5;
  --line: #ebebe6;
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Manrope", -apple-system, sans-serif;
  --wrap: 1140px;
  --card-shadow: 0 1px 2px rgba(19, 19, 19, 0.04), 0 8px 24px rgba(19, 19, 19, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background: var(--bg);
  color: var(--body-c);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- typography (Manrope, enge Laufweite wie Referenz) ---------- */
h1, h2, h3 { color: var(--ink); font-weight: 500; }
h1 { font-size: clamp(2.5rem, 4.2vw, 3.5rem); line-height: 1.22; letter-spacing: -0.05em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); line-height: 1.3; letter-spacing: -0.055em; text-wrap: balance; }
h3 { font-size: 1.12rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; }

/* ---------- buttons, badges, icons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: transform 0.2s, background 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--yellow); color: var(--dark); }
.btn-yellow { background: var(--yellow); color: var(--dark); }
/* Hover bleibt gelb (nur dunkler) — funktioniert auf weissem UND schwarzem Grund */
.btn-yellow:hover { background: #e3ad00; color: var(--dark); }
.btn-small { font-size: 0.85rem; padding: 0.6rem 1.1rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(19, 19, 19, 0.05);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
}
.badge svg { color: var(--dark); }
.badge-light { background: rgba(255, 255, 255, 0.12); border-color: transparent; color: #fff; }
.badge-light svg { color: var(--yellow); }

.icon-sq {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--yellow);
  color: var(--dark);
  font-size: 1.1rem;
  box-shadow: 0 6px 14px rgba(252, 197, 13, 0.4);
  flex: none;
}
.icon-sq-light { background: #fff; color: var(--dark); box-shadow: none; width: 34px; height: 34px; }

.check {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  position: relative;
  flex: none;
}
.check::after {
  content: "";
  position: absolute;
  left: 7px; top: 5px;
  width: 6px; height: 9px;
  border: solid var(--dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- logo ---------- */
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 36px; width: auto; display: block; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 2rem; padding-top: 0.8rem; padding-bottom: 0.8rem; }
.nav .brand { margin-right: auto; }
.nav-links { display: flex; gap: 1.6rem; margin: 0 auto; }
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--body-c);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-burger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- hero (Bildkarte, Buildza-Stil, full width) ---------- */
.hero { padding: 0.6rem 1.5rem 0; }
.hero-wide { max-width: 1560px; margin: 0 auto; }
.hero-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: min(86vh, 840px);
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(rgba(0, 0, 0, 0.35) 0%, rgba(237, 237, 237, 0) 14%, rgba(0, 0, 0, 0.45) 76%, rgba(0, 0, 0, 0.7) 100%);
}
.hero-content {
  position: relative;
  padding: clamp(2.2rem, 5vw, 4.5rem);
  max-width: 760px;
}
.hero-content h1 { color: #fff; }
.hero-rating {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.12rem;
  margin: 1.2rem 0 1.9rem;
  max-width: 34rem;
}
.hero-actions { display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap; }
.btn .arr { transition: transform 0.25s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--yellow); color: var(--dark); }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 600;
}
.btn-link .arr { transition: transform 0.25s; }
.btn-link:hover .arr { transform: translateX(4px); }
.stars { color: var(--yellow); letter-spacing: 2px; }

/* ---------- logo slider ---------- */
.logo-strip { padding: 4.5rem 0 0; }
.logo-strip .logo-caption { margin: 0 0 1.4rem; }
.logo-marquee {
  overflow: hidden;
  position: relative;
  padding: 1.2rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-track {
  display: flex;
  gap: clamp(2.5rem, 6vw, 5rem);
  width: max-content;
  animation: marquee 28s linear infinite;
}
.logo-track {
  align-items: center;
}
.logo-track > img {
  height: 34px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.55;
}
.logo-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #b3b3ac;
  white-space: nowrap;
}
.logo-item img {
  height: 26px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.55;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logo-caption { text-align: center; font-size: 0.88rem; color: var(--muted); margin-top: 0.4rem; }

/* ---------- über mich (Buildza-Stil) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}
.about-media { position: relative; }
.about-media > img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 1 / 0.92;
  object-fit: cover;
  object-position: center 22%;
}
.about-btn { margin-top: 2rem; }
.about-card {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.5rem;
  max-width: 270px;
  box-shadow: 0 16px 40px rgba(19, 19, 19, 0.16);
}
.about-card h3 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.about-card-line { font-size: 0.9rem; color: var(--body-c); margin-bottom: 0.5rem; }
.about-card .stars { font-size: 0.9rem; margin-bottom: 0.5rem; }
.about-card-sub { font-size: 0.82rem; color: var(--muted); }
.chip-line {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.chip-line .stars { font-size: 0.85rem; }
.laurel { color: var(--muted); font-size: 1.2rem; }
.laurel.flip { transform: scaleX(-1); }
.about-copy .lead { font-size: 1.15rem; margin-top: 1.3rem; }

/* ---------- float card (feature) ---------- */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 44px rgba(19, 19, 19, 0.16);
  padding: 1.2rem 1.3rem;
  max-width: 250px;
}
.float-card h3 { font-size: 1.05rem; margin: 0 0 0.2rem; }
.float-card p { font-size: 0.85rem; margin: 0; }
.float-mini { left: 1.2rem; bottom: 1.2rem; padding: 1rem 1.2rem; }

/* ---------- statement ---------- */
.statement { padding: 6rem 0 0; }
.statement-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.statement-text {
  max-width: 46rem;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.4;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

/* ---------- sections ---------- */
.section { padding: 6rem 0 0; }
.section-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3rem;
}
.section-head .badge { margin-bottom: 1.1rem; }
.section-head p { margin-top: 0.8rem; }

/* ---------- feature card (beraten) ---------- */
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  padding: 2.2rem;
}
.feature-media { position: relative; }
.feature-media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3.6;
  object-fit: cover;
}
.feature-copy .badge { margin-bottom: 1rem; }
.feature-copy p { margin: 0.9rem 0 1.6rem; }
.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1.4rem;
}
.check-grid li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- services grid (bauen) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}
.services-col { display: flex; flex-direction: column; gap: 1.4rem; }
.service-card {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  flex: 1;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(19, 19, 19, 0.1); }
.service-card p { font-size: 0.9rem; }
.services-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 460px;
}
.services-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem;
  background: linear-gradient(transparent, rgba(15, 14, 8, 0.88));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.services-photo strong { font-size: 1.05rem; }
.services-photo figcaption > span:last-child { font-size: 0.85rem; color: rgba(255, 255, 255, 0.82); }

/* ---------- referenz-carousel (einblicke, scroll- & drag-gesteuert) ---------- */
.ref-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}
.ref-carousel.dragging { cursor: grabbing; }
.ref-carousel.dragging .ref-card { pointer-events: none; }
.ref-track {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: max-content;
  padding-left: max(24px, calc((100vw - 1140px) / 2));
  padding-right: 24px;
  will-change: transform;
}
.ref-card {
  position: relative;
  flex: none;
  border-radius: 12px;
  overflow: hidden;
}
.ref-h-sm  { height: 300px; }
.ref-h-md  { height: 350px; }
.ref-h-lg  { height: 410px; }
.ref-h-xl  { height: 460px; }
.ref-card img {
  height: 100%;
  width: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}
/* Aeusseres Element: NUR Position (JS-transform, keine Transition).
   Skalieren/Einblenden passiert am inneren Element — sonst multipliziert
   sich die Skalierung mit der translate-Position und der Badge springt weg. */
.drag-badge {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 60;
}
.drag-badge-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 78px;
  height: 78px;
  margin: -39px 0 0 -39px;
  border-radius: 50%;
  background: rgba(19, 19, 19, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.drag-badge-inner > span { font-size: 1.05rem; line-height: 1; opacity: 0.85; }
.drag-badge em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.drag-badge.on .drag-badge-inner { opacity: 1; transform: scale(1); }
.drag-badge.grab .drag-badge-inner { transform: scale(0.85); }
.ref-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.15) 42%, rgba(0, 0, 0, 0) 65%);
}
.ref-card figcaption {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.1rem;
  color: #fff;
}
.cat-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.55rem;
}
.cat-bau { background: #fff; color: var(--dark); }
.cat-beratung { background: #fff; color: var(--dark); }
.ref-card figcaption p {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* ---------- stats band (hell, schwarze Schrift) ---------- */
.stats-band {
  margin-top: 6rem;
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
/* Odometer-Zaehlwerk */
.stat strong.odo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.odo-digit {
  display: block;
  height: 1.12em;
  overflow: hidden;
}
.odo-reel {
  display: block;
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.odo-reel span,
.odo-static {
  display: block;
  height: 1.12em;
  line-height: 1.12;
}

.stat strong {
  display: block;
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat > span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: var(--body-c);
}

/* ---------- faq ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.faq-intro .badge { margin-bottom: 1.1rem; }
.faq-intro p { margin: 0.8rem 0 1.4rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.9rem; }
.faq-list details {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.4rem;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-icon { font-size: 1.4rem; font-weight: 400; color: var(--dark); transition: transform 0.3s; line-height: 1; }
.faq-list details[open] { background: #fff; }
.faq-list details[open] .faq-icon { transform: rotate(45deg); }
.faq-list details p { margin-top: 0.8rem; font-size: 0.95rem; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
.contact-intro .badge { margin-bottom: 1.1rem; }
.contact-intro p { margin: 0.8rem 0 0; }
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}
.info-card {
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}
.info-card p {
  font-size: 0.78rem;
  letter-spacing: -0.01em;
  line-height: 1.7;
}
.info-card a:hover { color: var(--ink); }
.info-card .mail-link { white-space: nowrap; }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--card-shadow);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(252, 197, 13, 0.25);
}
.contact-form .btn { align-self: flex-start; }

/* ---------- cta band ---------- */
.cta-band {
  background: var(--dark);
  margin-top: 6rem;
  padding: 5.5rem 0;
  text-align: center;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.8); }

/* ---------- footer ---------- */
.footer { padding: 3.5rem 0 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand p { margin-top: 1rem; font-size: 0.92rem; max-width: 22rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col h4 { color: var(--ink); font-size: 0.98rem; margin-bottom: 0.4rem; }
.footer-col a { font-size: 0.92rem; color: var(--body-c); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  text-align: center;
  padding-top: 1.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- rechtsseiten (impressum, datenschutz) ---------- */
.legal {
  max-width: 720px;
  padding-top: 3.5rem;
  padding-bottom: 4.5rem;
}
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.legal-sub { margin: 0.6rem 0 2.2rem; color: var(--muted); font-size: 0.92rem; }
.legal h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 2.2rem 0 0.6rem;
}
.legal p { margin-bottom: 0.9rem; font-size: 0.97rem; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal mark {
  background: var(--yellow-soft);
  border-radius: 4px;
  padding: 0 0.3rem;
  font-weight: 600;
}
.legal-links { display: flex; gap: 1.4rem; }
.legal-links a:hover { color: var(--ink); }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-card { min-height: 560px; }
  .hero-content { padding: 2.2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-photo { grid-column: span 2; min-height: 340px; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .feature-card { grid-template-columns: 1fr; padding: 1.4rem; }
  .ref-h-sm { height: 240px; }
  .ref-h-md { height: 280px; }
  .ref-h-lg { height: 330px; }
  .ref-h-xl { height: 370px; }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 24px 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .section, .statement { padding-top: 4.2rem; }
  /* Gestapelte Hero-CTAs: Text an Text ausrichten */
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .hero-actions .btn-link { padding-left: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  /* Mobile: natives Scroll-Carousel mit Momentum + Snap (butterweich auf Touch) */
  .ref-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scroll-padding-left: 24px;
    scrollbar-width: none;
    cursor: default;
  }
  .ref-carousel::-webkit-scrollbar { display: none; }
  .ref-track { transform: none !important; will-change: auto; }
  .ref-card { scroll-snap-align: start; }
  .ref-h-sm { height: 190px; }
  .ref-h-md { height: 220px; }
  .ref-h-lg { height: 250px; }
  .ref-h-xl { height: 280px; }
  .drag-badge { display: none; }
  .services-photo { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats-row { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
}
