/* =========================================================================
   Miglo Die Kfz-Meisterwerkstatt GmbH – Website
   Meisterwerkstatt mit Stil: Serifen-Headlines, Navy & Gold aus dem Logo,
   warmes Hellgrau. Mobile first. Farben, Schriften und Abstände zentral in :root.
   ========================================================================= */

@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-normal-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-var-latin.woff2') format('woff2');
}

:root {
  /* Hell: warmes Grau-Beige */
  --cream: #f4f1ec;
  --cream-2: #e8e2d8;
  --paper: #fffdfa;

  /* Navy aus dem Logo-Hintergrund */
  --navy: #2c3441;
  --navy-2: #3a4352;
  --navy-ink: #1d232d;

  /* Gold aus dem Schriftzug */
  --gold: #d6a874;
  --gold-2: #e4c094;
  --brass: #8a6232;      /* dunkles Gold für Text auf Hell (Kontrast ≥ 4,5) */

  --ink: #1f2430;
  --muted: #5c626c;
  --line: rgba(31, 36, 48, .14);
  --line-light: rgba(244, 241, 236, .18);

  --wowobot: #22b8e0; /* nur Footer */

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --radius: 22px;
  --radius-s: 12px;
  --header-h: 72px;
  --gutter: 20px;
  --section-y: clamp(80px, 11vw, 160px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

/* --- Basis --------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 68px; /* Platz für Quickbar mobil */
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: var(--navy-ink); }

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -.015em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: italic; }
h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); margin-bottom: .4em; }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--cream); padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.kicker {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass); margin-bottom: 1.2rem;
}
.kicker--light { color: var(--gold); }

/* --- Buttons & Links ----------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0;
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s;
}
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--navy-ink); }
.btn--gold:hover { background: var(--gold-2); }
.btn--navy { background: var(--navy); color: var(--cream); }
.btn--navy:hover { background: var(--navy-2); }
.btn--glass {
  background: rgba(255, 253, 250, .12); color: #fff; border: 1px solid rgba(255, 253, 250, .35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(255, 253, 250, .22); }
.btn--line { background: transparent; color: var(--navy); border: 1px solid rgba(44, 52, 65, .35); }
.btn--line:hover { background: var(--navy); color: var(--cream); }
.btn--block { width: 100%; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; text-decoration: none; color: var(--navy);
}
.arrow-link::after {
  content: '→'; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid currentColor; font-size: .95rem; transition: background .25s, color .25s, transform .3s var(--ease);
}
.arrow-link:hover::after { background: var(--navy); color: var(--cream); border-color: var(--navy); transform: translateX(3px); }
.arrow-link--light { color: var(--cream); }
.arrow-link--light:hover::after { background: var(--gold); color: var(--navy-ink); border-color: var(--gold); }

/* --- Status „Jetzt geöffnet" --------------------------------------------- */

.status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .82rem; font-weight: 500; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: rgba(244, 241, 236, .5); flex-shrink: 0; }
.status.is-open i { background: #6fd36a; box-shadow: 0 0 0 0 rgba(111, 211, 106, .55); animation: puls 2s infinite; }
.status--dark { display: flex; color: var(--muted); margin: 10px 0 36px; }
.status--dark i { background: #b9b2a4; }
.status--dark.is-open { color: var(--navy); }
.status--dark.is-open i { background: #2f9b4a; }
@keyframes puls { 70% { box-shadow: 0 0 0 7px rgba(111, 211, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 211, 106, 0); } }

/* --- Serviceleiste & Header ---------------------------------------------- */

.topbar { background: var(--navy-ink); color: rgba(244, 241, 236, .85); font-size: .82rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar__addr, .topbar__tuev { display: none; margin: 0; }
.topbar__tuev { text-decoration: none; color: var(--gold); font-weight: 600; }
.topbar__tuev:hover { text-decoration: underline; }

/* Header in Navy – das Logo ist gold/hell und braucht den dunklen Grund */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(44, 52, 65, .96); color: var(--cream);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line-light); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .6); }
.header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.header__logo { display: block; margin-right: auto; position: relative; z-index: 2; }
.header__logo img { height: 50px; width: auto; }
.header__cta, .header__phone { display: none; }
.header__phone { color: var(--cream); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.header__phone:hover { color: var(--gold); }

.burger {
  width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--gold); cursor: pointer;
  display: grid; place-content: center; gap: 6px; position: relative; z-index: 2;
}
.burger span { display: block; width: 18px; height: 1.5px; background: var(--navy-ink); transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] { background: var(--cream); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile Navigation: Vollbild, Navy */
.nav {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--navy-ink); color: var(--cream);
  padding: calc(var(--header-h) + 20px) var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
}
.nav.is-open { opacity: 1; visibility: visible; }
.nav__list { list-style: none; margin: 0 0 40px; padding: 0; }
.nav__list a {
  display: block; padding: 6px 0; text-decoration: none;
  font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1.1;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { font-style: italic; color: var(--gold); }
.nav__extra { display: grid; gap: 10px; justify-items: start; }
.nav__phone { color: var(--gold); font-weight: 600; text-decoration: none; font-size: 1.15rem; }
.nav__tuev { color: var(--cream); font-weight: 500; }

body.nav-open { overflow: hidden; }
body.nav-open .header { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* --- Bilder & Platzhalter ------------------------------------------------ */
/* Echtes Bild unter dem angegebenen Dateinamen ablegen – es blendet sich
   automatisch über den Platzhalter (siehe js/main.js). */

.media { position: relative; margin: 0; overflow: hidden; background: var(--cream-2); }
.media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .7s ease, transform 1.4s var(--ease);
}
.media img.is-loaded { opacity: 1; }
.media img.is-missing { display: none; }
.media img.is-loaded + .media__ph { display: none; }
.media__ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px; color: var(--muted); }
.media__ph strong { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; }

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

.hero {
  position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end;
  color: #fff; background: var(--navy-ink); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; background: var(--navy-ink); }
.hero__media img { object-position: 68% 50%; animation: ruhe 14s var(--ease) both; }
@keyframes ruhe { from { transform: scale(1.08); } }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(29, 35, 45, .6) 0%, rgba(29, 35, 45, .4) 32%, rgba(29, 35, 45, .68) 60%, rgba(29, 35, 45, .95) 100%);
}
.hero__media .media__ph { color: rgba(255, 255, 255, .6); }

.hero .kicker { color: var(--cream); }
.hero__content { position: relative; padding-top: 120px; padding-bottom: clamp(32px, 6vw, 72px); }
.hero h1 {
  font-size: clamp(3.4rem, 9.4vw, 8.8rem); line-height: .94; letter-spacing: -.025em;
  max-width: 12ch; margin-bottom: clamp(24px, 4vw, 48px);
  animation: auf 1.1s var(--ease) both .1s;
}
.hero h1 em { color: var(--gold); }
@keyframes auf { from { opacity: 0; transform: translateY(24px); } }

.hero__foot { display: grid; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(255, 253, 250, .25); animation: auf 1.1s var(--ease) both .25s; }
.hero__lead { margin: 0; max-width: 34em; font-size: 1.08rem; color: rgba(255, 253, 250, .85); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__note {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content; margin: 0 0 18px;
  padding: 8px 16px; border-radius: 999px; font-size: .88rem;
  background: rgba(214, 168, 116, .16); border: 1px solid rgba(214, 168, 116, .45); color: var(--gold-2);
  animation: auf 1.1s var(--ease) both;
}
.hero__note strong { color: #fff; font-weight: 600; }

/* --- Unterseiten-Kopf ---------------------------------------------------- */

.page-hero {
  position: relative; overflow: hidden; background: var(--navy); color: var(--cream);
  padding: clamp(40px, 7vw, 96px) 0 clamp(48px, 7vw, 104px);
}
.page-hero::before {
  content: ''; position: absolute; right: -10%; top: -40%; width: 70vw; max-width: 900px; aspect-ratio: 1;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(214, 168, 116, .16), rgba(214, 168, 116, 0));
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 {
  font-size: clamp(2.8rem, 7.4vw, 6.4rem); line-height: .98; letter-spacing: -.02em;
  max-width: 15ch; margin-bottom: 28px; animation: auf 1.1s var(--ease) both .05s;
}
.page-hero h1 em { color: var(--gold); }
.page-hero__lead { max-width: 38em; font-size: 1.08rem; color: rgba(244, 241, 236, .82); margin-bottom: 28px; animation: auf 1.1s var(--ease) both .15s; }
.page-hero .hero__ctas { animation: auf 1.1s var(--ease) both .25s; }
.page-hero--legal h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }

.krumen { margin-bottom: clamp(28px, 4vw, 48px); font-size: .85rem; }
.krumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.krumen li { color: rgba(244, 241, 236, .6); }
.krumen li + li::before { content: '/'; margin-right: 10px; color: rgba(244, 241, 236, .35); }
.krumen a { color: rgba(244, 241, 236, .85); text-decoration: none; }
.krumen a:hover { color: var(--gold); text-decoration: underline; }

/* --- Aktion (zeitlich begrenzt, blendet sich nach data-bis aus) ---------- */

.aktion { background: var(--paper); border-bottom: 1px solid var(--line); }
.aktion__inner { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 40px; align-items: center; }
.aktion__media { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.aktion__media img { object-position: 30% 60%; }
.aktion h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.aktion h2 em { color: var(--brass); }
.aktion__termine { list-style: none; margin: 4px 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.aktion__termine li { padding: 8px 16px; border-radius: 999px; background: var(--navy); color: var(--cream); font-weight: 600; font-size: .95rem; }
.aktion__preise { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0 0 6px; }
.aktion__preise div { display: flex; align-items: baseline; gap: 8px; }
.aktion__preise dt { color: var(--muted); }
.aktion__preise dd { margin: 0; font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--navy); }
.aktion__fuss { font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.aktion.is-vorbei { display: none; }

/* --- Intro --------------------------------------------------------------- */

.intro { padding: var(--section-y) 0 calc(var(--section-y) * .7); }
.intro__text {
  font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.12; letter-spacing: -.01em;
  max-width: 28ch; margin: 0 0 clamp(48px, 7vw, 96px); text-wrap: balance;
}
.intro__text em { color: var(--brass); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; margin: 0; }
.stats div { border-top: 1px solid var(--line); padding-top: 18px; }
.stats dt { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5rem); line-height: 1; color: var(--navy); }
.stats dd { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }

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

.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * .5) 0; }
.section--navy { background: var(--navy); color: var(--cream); }
.section--paper { background: var(--paper); }

.head { display: grid; gap: 12px; margin-bottom: clamp(40px, 6vw, 72px); }
.head h2 { margin: 0; }
.head__lead { color: var(--muted); max-width: 30em; margin: 0; font-size: 1.05rem; }
.section--navy .head__lead { color: rgba(244, 241, 236, .75); }
.section--navy h2 em { color: var(--gold); }

/* Leistungen: mitlaufende Spalte links */
.leistungen-block { background: var(--paper); border-radius: var(--radius) var(--radius) 0 0; }
.split { display: grid; gap: 48px; }
.split__lead { color: var(--muted); max-width: 26em; font-size: 1.05rem; margin-bottom: 28px; }
.split__aside h2 em { color: var(--brass); }
.split__aside .hero__ctas { margin-top: 8px; }

.services { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.service__no { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--brass); line-height: 1.5; }
.service h3 { margin-bottom: 12px; }
.service h3 a { text-decoration: none; }
.service h3 a:hover { color: var(--brass); }
.service p { color: var(--muted); max-width: 32em; }
.service ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { padding: 6px 14px; border-radius: 999px; background: var(--cream); font-size: .9rem; }

.more { padding-top: 32px; }
.more p { font-family: var(--serif); font-style: italic; font-size: 1.5rem; margin-bottom: 14px; }
.more ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.more li { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; }

/* Leistungsübersicht (Unterseite) */
.gruppen { display: grid; gap: 16px; }
.gruppe { background: var(--paper); border-radius: var(--radius); padding: 30px 26px; }
.gruppe h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 18px; }
.gruppe h2 em { color: var(--brass); }
.gruppe ul { list-style: none; margin: 0; padding: 0; }
.gruppe li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.gruppe li a { font-weight: 600; color: var(--navy); text-decoration: none; }
.gruppe li a::after { content: ' →'; color: var(--brass); }
.gruppe li a:hover { text-decoration: underline; }
.gruppe small { color: var(--muted); font-size: .85rem; text-align: right; }

/* Über uns */
.story { display: grid; gap: 32px; }
.story__head h2 { margin: 0; }
.story__head h2 em { color: var(--gold); }
.story__media { aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--navy-2); }
.story.is-ohne-bild .story__media { display: none; }
.story__text { color: rgba(244, 241, 236, .78); font-size: 1.05rem; max-width: 36em; }
.story__text .arrow-link { margin-top: 8px; }
.story__quote { margin: 0; padding: 28px 0 0; border-top: 1px solid var(--line-light); }
.story__quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.18; margin: 0; color: var(--cream); }

.timeline { list-style: none; margin: clamp(64px, 9vw, 120px) 0 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: baseline; padding: 20px 0; border-top: 1px solid var(--line-light); }
.timeline span { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--cream); }
.timeline em { color: var(--gold); }
.timeline p { margin: 0; color: rgba(244, 241, 236, .75); }

/* Ausstattung (Unser Betrieb) */
.fakten { display: grid; gap: 16px; }
.fakt { border-top: 1px solid var(--line); padding-top: 20px; }
.fakt strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--navy); margin-bottom: 10px; }
.fakt p { color: var(--muted); margin: 0; max-width: 22em; }

/* Team: wischbar auf dem Handy */
.team-scroller { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter); }
.team-scroller::-webkit-scrollbar { display: none; }
.team { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 16px; max-width: 1296px; margin: 0 auto; }
.person { scroll-snap-align: start; margin: 0; }
.person__media { aspect-ratio: 4 / 5; border-radius: var(--radius); margin-bottom: 18px; }
.person__media img { object-position: 50% 20%; }
.person:hover .person__media img { transform: scale(1.04); }
.person h3 { font-size: 1.9rem; margin-bottom: 6px; }
.person__role { color: var(--muted); font-size: .92rem; margin-bottom: 0; }

/* Team-Raster auf der Team-Seite: 2 Spalten mobil */
.team--raster { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; gap: 28px 14px; }
.team--raster .person h3 { font-size: clamp(1.35rem, 4.6vw, 1.9rem); }

.crew { margin: 48px 0 0; max-width: 60em; font-size: 1rem; }
.crew span { color: var(--muted); }
.crew + .arrow-link { margin-top: 24px; }

/* Kfz-Innung / Qualitätsband */
.partners { padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.partners__inner { display: grid; gap: 24px; align-items: center; }
.partners__title { font-family: var(--serif); font-style: italic; font-size: 1.6rem; margin: 0; }
.siegel { display: flex; align-items: center; gap: 20px; margin: 0; }
.siegel img { height: 76px; width: auto; border-radius: 6px; }
.siegel p { margin: 0; color: var(--muted); max-width: 38em; }
.siegel strong { color: var(--ink); }

/* TÜV + Mobil */
.extras { display: grid; gap: 16px; }
.extra { border-radius: var(--radius); padding: 36px 26px; display: flex; flex-direction: column; align-items: flex-start; }
.extra h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
.extra > p:not(.kicker) { max-width: 30em; }

.extra--tuev { background: var(--gold); color: var(--navy-ink); }
.extra--tuev .kicker { color: var(--navy); }
.tage { display: flex; align-items: center; gap: 14px; margin: 12px 0 32px; }
.tage span { font-family: var(--serif); font-size: clamp(4.2rem, 9vw, 6.6rem); line-height: .85; }
.tage small { font-size: .9rem; line-height: 1.4; max-width: 13em; }
.extra--tuev .btn { margin-top: auto; }

.extra--mobil { background: var(--navy); color: var(--cream); }
.extra--mobil h2 em { color: var(--gold); }
.extra--mobil > p:not(.kicker) { color: rgba(244, 241, 236, .78); }
.mobil { list-style: none; margin: 12px 0 28px; padding: 0; width: 100%; }
.mobil li { padding: 18px 0; border-top: 1px solid var(--line-light); }
.mobil strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; margin-bottom: 6px; }
.mobil span { color: rgba(244, 241, 236, .75); font-size: .95rem; }
.extra--mobil .arrow-link { margin-top: auto; }

/* Bewertungen (Google) */
.reviews__top { display: grid; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.reviews__top h2 { margin: 0; }
.reviews__top h2 em { color: var(--brass); }
.rating { display: flex; align-items: center; gap: 16px; margin: 0; }
.rating__value { font-family: var(--serif); font-size: clamp(4.5rem, 9vw, 7rem); line-height: .85; color: var(--navy); }
.rating__text { font-size: .9rem; line-height: 1.4; max-width: 15em; color: var(--muted); }
.rating__stars { display: block; letter-spacing: .12em; font-size: 1.05rem; margin-bottom: 2px; color: var(--gold); }
.rev-list { display: grid; gap: 16px; list-style: none; margin: 0 0 32px; padding: 0; }
.rev-card { background: var(--paper); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.rev-card__top { display: flex; align-items: center; gap: 12px; }
.rev-card__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-weight: 700; }
.rev-card__meta strong { display: block; line-height: 1.2; }
.rev-card__meta span { color: var(--muted); font-size: .85rem; }
.rev-card__stars { color: var(--gold); letter-spacing: .1em; }
.rev-card p { margin: 0; color: var(--ink); }
.section--paper .rev-card { background: var(--cream); }
.rev-card--platzhalter p { color: var(--muted); font-style: italic; }
.reviews__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Abschluss-CTA auf Unterseiten */
.cta-band { background: var(--navy-ink); color: var(--cream); border-radius: var(--radius); padding: clamp(36px, 6vw, 72px) clamp(26px, 5vw, 64px); display: grid; gap: 24px; align-items: end; }
.cta-band h2 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.cta-band h2 em { color: var(--gold); }
.cta-band p { color: rgba(244, 241, 236, .78); margin: 12px 0 0; max-width: 32em; }

/* Inhaltsseiten (Fließtext) */
.prose { max-width: 46em; }
.prose h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin: 1.6em 0 .5em; }
.prose h2:first-child, .prose .kicker + h2 { margin-top: 0; }
.prose h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--brass); }
.prose--lead > p:first-child { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; color: var(--ink); }

.check-list { list-style: none; padding: 0 !important; margin: 0 0 24px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 32px; margin: 0; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d232d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.detail { display: grid; gap: 40px; align-items: start; }
.detail__media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.detail__box { background: var(--paper); border-radius: var(--radius); padding: 28px 24px; }
.detail__box h3 { font-size: 1.7rem; margin-bottom: 14px; }

.marken { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.marken li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 18px 16px; font-family: var(--serif); font-size: 1.6rem; line-height: 1; text-align: center; }

.schritte { list-style: none; margin: 0; padding: 0; counter-reset: schritt; display: grid; gap: 0; }
.schritte li { counter-increment: schritt; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.schritte li::before { content: '0' counter(schritt); font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--brass); }
.schritte strong { display: block; margin-bottom: 2px; }
.schritte span { color: var(--muted); }

/* Karriere */
.job { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 56px); }
.job__head { display: grid; gap: 12px; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.job__head h2 { margin: 0; }
.job__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.job__tags li { padding: 6px 14px; border-radius: 999px; background: var(--cream); font-size: .9rem; }
.job__cols { display: grid; gap: 32px; }
.job h3 { font-size: 1.8rem; margin-bottom: 18px; }
.job__apply { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.job__apply p { max-width: 36em; }

/* Rechtstexte */
.legal { max-width: 52em; }
.legal h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 1.8em 0 .5em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.3; margin: 1.5em 0 .4em; }
.legal ul, .legal ol { padding-left: 1.2em; }
.legal li { margin-bottom: .3em; }
.legal a { color: var(--brass); overflow-wrap: anywhere; }
.legal address { font-style: normal; margin-bottom: 1em; }
.angaben { display: grid; gap: 0; margin: 0 0 1em; border-top: 1px solid var(--line); }
.angaben div { display: grid; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.angaben dt { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.angaben dd { margin: 0; }
.angaben a { color: inherit; }
.legal__stand { color: var(--muted); font-size: .9rem; margin-top: 2.4em; }

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

.contact__grid { display: grid; gap: 48px; align-items: start; }
.contact__info h2 em { color: var(--brass); }
.contact__lead { color: var(--muted); max-width: 28em; font-size: 1.05rem; }
.contact__phone {
  display: block; width: fit-content; margin-top: 20px; text-decoration: none;
  font-family: var(--serif); font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.05; color: var(--navy);
  background: linear-gradient(var(--gold), var(--gold)) 0 92% / 0 .14em no-repeat; transition: background-size .45s var(--ease);
}
.contact__phone:hover { background-size: 100% .14em; }
.contact__details { display: grid; gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact__details h3 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
.contact__details p, .contact__details address { font-style: normal; margin-bottom: 12px; }
.contact__details a:not(.arrow-link) { color: var(--navy); }
.contact__hint { color: var(--muted); font-size: .92rem; }

.hours { margin: 0 0 12px; display: grid; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.hours dt { margin: 0; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.hours .is-heute { font-weight: 700; color: var(--navy); }

/* Google Maps: erst nach Klick laden */
.map { position: relative; margin-top: 32px; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: var(--cream); aspect-ratio: 4 / 3; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px;
  padding: 24px; background:
    radial-gradient(circle at 70% 35%, rgba(214, 168, 116, .28), rgba(214, 168, 116, 0) 45%),
    repeating-linear-gradient(35deg, rgba(244, 241, 236, .05) 0 2px, transparent 2px 46px),
    repeating-linear-gradient(-55deg, rgba(244, 241, 236, .05) 0 2px, transparent 2px 64px),
    var(--navy);
}
.map__pin { position: absolute; left: 70%; top: 35%; transform: translate(-50%, -100%); width: 34px; height: 34px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--gold); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.map__pin::after { content: ''; position: absolute; inset: 11px; border-radius: 50%; background: var(--navy); }
.map__consent strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; }
.map__consent p { margin: 0; font-size: .85rem; color: rgba(244, 241, 236, .75); max-width: 30em; }
.map__consent a { color: var(--gold); }
.map__consent .btn { min-height: 46px; padding: 0 22px; }
.map.is-geladen .map__consent { display: none; }

.form { background: var(--paper); border-radius: var(--radius); padding: 28px 22px; box-shadow: 0 1px 0 var(--line), 0 30px 60px -40px rgba(44, 52, 65, .45); }
.form__title { font-size: 2rem; margin-bottom: 8px; }
.form__intro { color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.form__row { display: grid; gap: 0 16px; }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 6px; }
.field > span small { font-weight: 400; color: var(--muted); }
.field em, .check em { color: var(--brass); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1px solid transparent; border-radius: var(--radius-s);
  padding: 14px 16px; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none; cursor: pointer; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c3441' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background-color: var(--paper); border-color: var(--navy); box-shadow: 0 0 0 4px rgba(214, 168, 116, .35);
}
.field .is-invalid, .check.is-invalid input { border-color: #b3372f; box-shadow: 0 0 0 3px rgba(179, 55, 47, .12); }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 4px 0 12px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex-shrink: 0; }
.check a { color: var(--navy); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__hint { font-size: .8rem; color: var(--muted); margin-bottom: 20px; }
.form__status { margin: 14px 0 0; font-size: .95rem; font-weight: 500; min-height: 1.4em; }
.form__status.is-error { color: #b3372f; }
.form__status.is-ok { color: var(--navy); }
.form.is-sent .form__status { background: var(--cream); padding: 14px 16px; border-radius: var(--radius-s); }
.form button[disabled] { opacity: .6; cursor: progress; }

/* --- Footer -------------------------------------------------------------- */

.footer { background: var(--navy-ink); color: rgba(244, 241, 236, .65); font-size: .94rem; padding-top: clamp(64px, 9vw, 120px); }
.footer a { color: var(--cream); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__claim {
  font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 6.4rem); line-height: .98; letter-spacing: -.02em;
  color: var(--cream); max-width: 17ch; margin: 0 0 clamp(48px, 7vw, 96px);
}
.footer__claim em { color: var(--gold); }
.footer__grid { display: grid; gap: 32px; padding: 40px 0 48px; border-top: 1px solid var(--line-light); }
.footer__logo { height: 64px; width: auto; margin-bottom: 16px; }
.footer__brand p { max-width: 24em; }
.footer__innung { display: flex; align-items: center; gap: 12px; font-size: .85rem; line-height: 1.35; }
.footer__innung img { height: 48px; width: auto; border-radius: 4px; }
.footer__title { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between;
  padding-top: 22px; padding-bottom: 22px; border-top: 1px solid var(--line-light); font-size: .85rem;
}
.footer__bottom p { margin: 0; }
.footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__wowobot a { color: var(--wowobot); font-weight: 600; }
.footer__wowobot a:hover { color: var(--wowobot); }

/* --- Mobile Quickbar ----------------------------------------------------- */

.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(244, 241, 236, .95); border-top: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.quickbar a {
  display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 999px;
  font-weight: 600; text-decoration: none; color: var(--navy); border: 1px solid rgba(44, 52, 65, .3);
}
.quickbar__primary { background: var(--gold); color: var(--navy-ink) !important; border-color: var(--gold) !important; }

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

@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .form { padding: 40px 36px; }
  .contact__details { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .team { grid-auto-columns: 44%; }
  .team--raster { grid-template-columns: repeat(3, 1fr); gap: 36px 20px; }
  .extra { padding: 48px 44px; }
  .hero__foot { grid-template-columns: 1fr auto; align-items: end; }
  .gruppen { grid-template-columns: 1fr 1fr; }
  .gruppe { padding: 40px 36px; }
  .rev-list { grid-template-columns: repeat(2, 1fr); }
  .marken { grid-template-columns: repeat(4, 1fr); }
  .fakten { grid-template-columns: 1fr 1fr; gap: 32px; }
  .job__cols { grid-template-columns: 1fr 1fr; gap: 48px; }
  .map { aspect-ratio: 16 / 10; }
}

@media (min-width: 860px) {
  .topbar__addr { display: block; }
  .hero__media img { object-position: 40% 55%; }
  .head { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 48px; }

  .split { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }
  .split__aside { position: sticky; top: calc(var(--header-h) + 40px); }
  .service { grid-template-columns: 64px 1fr; padding: 40px 0; }

  .aktion__inner { grid-template-columns: 5fr 7fr; gap: 64px; padding-top: 56px; padding-bottom: 56px; }

  .story { grid-template-columns: 1fr 1fr; gap: 48px 80px; }
  .story__head { grid-column: 1 / -1; }
  .story__media { grid-row: span 2; }
  .story.is-ohne-bild .story__text { grid-column: 1; }
  .story.is-ohne-bild .story__quote { grid-column: 2; grid-row: 2; border-top: 0; padding-top: 0; }
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
  .timeline li { grid-template-columns: 1fr; gap: 12px; padding-top: 28px; align-content: start; align-items: start; }
  .timeline span { font-size: 3rem; }

  .partners__inner { grid-template-columns: auto 1fr; gap: 64px; }

  .extras { grid-template-columns: 1fr 1fr; }
  .extra { padding: 64px 56px; min-height: 600px; }

  .reviews__top { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 48px; }
  .rev-list { grid-template-columns: repeat(3, 1fr); }

  .detail { grid-template-columns: 7fr 5fr; gap: 80px; }
  .detail--bild { grid-template-columns: 5fr 7fr; }
  .detail__aside { position: sticky; top: calc(var(--header-h) + 40px); }

  .cta-band { grid-template-columns: 1fr auto; }

  .contact__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .contact__info { position: sticky; top: calc(var(--header-h) + 40px); }
  .fakten { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1000px) {
  :root { --header-h: 84px; }
  body { padding-bottom: 0; }
  .quickbar { display: none; }
  .topbar__tuev { display: block; }

  .burger { display: none; }
  .nav {
    position: static; inset: auto; flex-direction: row; align-items: center; justify-content: center;
    flex: 1; background: none; color: inherit; padding: 0; opacity: 1; visibility: visible; transition: none;
  }
  .nav__list { display: flex; gap: 28px; margin: 0; }
  .nav__list a {
    font-family: var(--sans); font-size: .96rem; font-weight: 500; padding: 6px 0;
    background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease);
  }
  .nav__list a:hover, .nav__list a[aria-current="page"] { font-style: normal; color: inherit; background-size: 100% 2px; }
  .nav__extra { display: none; }
  .header__logo { margin-right: 0; flex: 0 0 auto; }
  .header__logo img { height: 60px; }
  .header__cta { display: inline-flex; min-height: 48px; padding: 0 24px; }

  .team-scroller { overflow: visible; padding: 0 var(--gutter); }
  .team { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; gap: 24px; }
  .team--raster { gap: 48px 24px; }

  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr .8fr; }
}

@media (min-width: 1200px) {
  .header__phone { display: inline; }
}

/* --- 404 / Seite folgt --------------------------------------------------- */
.notfound { padding-bottom: 0; background: var(--navy); color: var(--cream); }
.notfound__main { min-height: 100vh; display: grid; place-items: center; padding: 40px 0; }
.notfound__box { max-width: 720px; }
.notfound__box img { height: 72px; width: auto; margin: 0 0 56px; }
.notfound__box h1 { font-size: clamp(2.8rem, 7vw, 5rem); margin-bottom: 24px; }
.notfound__box h1 em { color: var(--gold); }
.notfound__box p { color: rgba(244, 241, 236, .78); margin-bottom: 32px; max-width: 32em; }
.notfound__box p a { color: var(--gold); }
