/* =========================================================================
   Miglo Die Kfz-Meisterwerkstatt GmbH – Website
   Industriell-editorial: Haarlinien-Raster, harte Kanten, breite Grotesk.
   Tinte in Navy-Schwarz, Akzent im Gold des Logos.
   Mobile first. Farben, Schriften und Abstände zentral in :root.
   ========================================================================= */

@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');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
}

:root {
  /* Papier & Tinte */
  --paper: #eceae4;
  --paper-2: #e0ddd5;
  --ink: #1b2029;        /* Navy-Schwarz, abgeleitet vom Logo-Grund #2c3441 */
  --ink-2: #262c37;
  --navy: #2c3441;
  --muted: #5b5f66;
  --line: rgba(27, 32, 41, .16);
  --line-dark: rgba(236, 234, 228, .16);

  /* Gold aus dem Logo */
  --gold: #d6a874;       /* auf dunklem Grund und als Fläche */
  --gold-deep: #a6763f;  /* große Schrift auf Papier */
  --brass: #8a6232;      /* kleine Schrift auf Papier (Kontrast ≥ 4,5) */

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

  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wide: 125%;          /* font-stretch für Display-Schrift */

  --header-h: 64px;
  --gutter: 16px;
  --section-y: clamp(72px, 10vw, 152px);
  --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) + 8px);
  -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(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px; /* Platz für Quickbar mobil */
}

img { max-width: 100%; display: block; }
a { color: inherit; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
::selection { background: var(--ink); color: var(--gold); }

h1, h2, h3 { margin: 0; font-weight: 800; line-height: .98; letter-spacing: -.02em; text-wrap: balance; }
h2 {
  font-size: clamp(2rem, 6.4vw, 5rem);
  font-stretch: var(--wide); text-transform: uppercase; letter-spacing: -.035em;
}
h2 em, h1 em { font-style: normal; color: var(--gold-deep); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; line-height: 1.15; }
p { margin: 0 0 1em; }

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

.mono {
  font-family: var(--mono); font-size: .74rem; font-weight: 500; line-height: 1.5;
  letter-spacing: .04em; text-transform: uppercase;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

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

.btn {
  display: inline-flex; align-items: stretch; min-height: 56px;
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  font: 600 .98rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn span { display: flex; align-items: center; padding: 0 22px; }
.btn b {
  display: grid; place-items: center; width: 56px; font-weight: 500; font-size: 1.15rem;
  border-left: 1px solid rgba(236, 234, 228, .2);
  transition: transform .35s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--brass); transform: translateY(101%); transition: transform .4s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover b { transform: translateX(4px); }

.btn--line { background: transparent; color: var(--ink); }
.btn--line b { border-color: var(--line); }
.btn--line:hover { color: var(--paper); border-color: var(--brass); }

.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(236, 234, 228, .35); }
.btn--ghost b { border-color: var(--line-dark); }
.btn--ghost::before { background: var(--paper); }
.btn--ghost:hover { color: var(--ink); }

.btn--accent { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--accent b { border-color: rgba(27, 32, 41, .2); }
.btn--accent::before { background: var(--paper); }
.btn--block { width: 100%; }
.btn--block span { flex: 1; }

.text-link {
  display: inline-block; font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size .35s var(--ease);
}
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; }

.ctas { display: flex; flex-wrap: wrap; gap: 8px; }

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

.status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.status.is-open i { background: #2fb52a; box-shadow: 0 0 0 0 rgba(47, 181, 42, .5); animation: puls 2s infinite; }
.status--head { display: none; }
.status--inline { margin-top: 4px; color: var(--gold); }
.status--inline:not(.is-open) { color: rgba(236, 234, 228, .6); }
@keyframes puls { 70% { box-shadow: 0 0 0 7px rgba(47, 181, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 181, 42, 0); } }

/* --- Header -------------------------------------------------------------- */

.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }
.header__logo { display: block; margin-right: auto; position: relative; z-index: 2; }
.header__logo img { height: 42px; width: auto; }

.header__phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 44px; height: 44px; background: var(--ink); color: var(--paper); text-decoration: none;
  font-weight: 600; font-size: .95rem; position: relative; z-index: 2;
  transition: background .25s;
}
.header__phone:hover { background: var(--brass); }
.header__phone span { display: none; }
.header__cta { display: none; }

.burger {
  display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 0 0 4px;
  border: 0; background: none; color: var(--ink); cursor: pointer; position: relative; z-index: 2;
  font: 500 .74rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase;
}
.burger__lines { display: grid; gap: 6px; width: 22px; }
.burger__lines i { display: block; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.burger[aria-expanded="true"] { color: var(--paper); }
.burger[aria-expanded="true"] .burger__lines i:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines i:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile Navigation: Vollbild, dunkel */
.nav {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .5s var(--ease), visibility .5s;
}
.nav.is-open { clip-path: inset(0); visibility: visible; }
.nav__list { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line-dark); }
.nav__list a {
  display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-dark);
  font-size: clamp(1.6rem, 8vw, 2.6rem); font-weight: 800; font-stretch: var(--wide); text-transform: uppercase;
  letter-spacing: -.03em; line-height: 1; text-decoration: none;
}
.nav__list a[aria-current="page"] { color: var(--gold); }
.nav__extra { font: 500 .8rem/1 var(--mono); text-transform: uppercase; color: var(--gold); text-decoration: none; }

/* Logo & Telefon im offenen Mobilmenü auf hell schalten */
body.nav-open .header__logo img { filter: brightness(0) invert(1); }
body.nav-open .header__phone { background: var(--gold); color: var(--ink); }
body.nav-open { overflow: hidden; }

/* --- 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:
    repeating-linear-gradient(-45deg, rgba(27, 32, 41, .07) 0 1px, transparent 1px 11px),
    var(--paper-2);
}
.media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s ease, transform 1.2s var(--ease), filter .6s;
}
.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; flex-direction: column; justify-content: flex-end; gap: 6px;
  padding: 20px; font-size: .9rem; line-height: 1.4;
}
.media__ph strong { font-size: 1.2rem; font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: -.02em; }

/* Ecken-Beschriftung auf Bildern */
.tag {
  position: absolute; z-index: 1; padding: 6px 9px;
  background: var(--paper); color: var(--ink);
  font: 500 .68rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase;
}
.tag--tl { top: 0; left: 0; }
.tag--br { right: 0; bottom: 0; }

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

.hero { padding: 28px 0 0; }
.hero__kicker { color: var(--muted); margin: 0 0 28px; }

.hero__title {
  font-size: clamp(1.9rem, 9.3vw, 8.6rem);
  font-stretch: 100%; text-transform: uppercase; letter-spacing: -.045em; line-height: .9;
  margin: 0 0 28px;
}
.hero__title .line { display: block; overflow: hidden; padding: .1em 0 .04em; margin-top: -.1em; }
.hero__title .line > span { display: inline-block; animation: hoch .9s var(--ease) both; }
.hero__title .line:nth-child(2) > span { animation-delay: .08s; }
.hero__title .line:nth-child(3) > span { animation-delay: .16s; }
@keyframes hoch { from { transform: translateY(105%); } }

.hero__row { display: grid; gap: 24px; padding-bottom: 32px; }
.hero__lead { font-size: 1.08rem; max-width: 30em; margin: 0 0 14px; }
.hero__note { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; color: var(--brass); }
.hero__note strong { color: var(--ink); font-weight: 500; }

.media--hero { aspect-ratio: 4 / 3; }
.media--hero img { object-position: 68% 50%; }

.figures {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.figures li { padding: 20px 0 0; }
.figures strong { display: block; font-size: clamp(1.8rem, 5vw, 4rem); font-weight: 800; font-stretch: var(--wide); letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; white-space: nowrap; }
.figures span { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

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

.page-hero { padding: 28px 0 clamp(48px, 7vw, 96px); border-bottom: 1px solid var(--ink); }
.krumen { margin-bottom: clamp(28px, 4vw, 56px); }
.krumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--muted); }
.krumen li + li::before { content: '/'; margin-right: 10px; color: var(--line); }
.krumen a { text-decoration: none; color: var(--ink); }
.krumen a:hover { color: var(--brass); }
.page-hero__kicker { color: var(--muted); margin: 0 0 20px; }
.page-hero h1 {
  font-size: clamp(2.1rem, 7.6vw, 7rem); font-stretch: var(--wide); text-transform: uppercase;
  letter-spacing: -.045em; line-height: .92; max-width: 15ch; margin-bottom: 32px;
  overflow-wrap: break-word; hyphens: manual;
  animation: hoch-weich .9s var(--ease) both;
}
@keyframes hoch-weich { from { opacity: 0; transform: translateY(30px); } }
.page-hero__row { display: grid; gap: 24px; }
.page-hero__lead { font-size: 1.08rem; max-width: 36em; margin: 0; }
.page-hero--legal h1 { font-size: clamp(2rem, 6vw, 5rem); max-width: none; }

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

.section { padding: var(--section-y) 0; }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark h2 em { color: var(--gold); }
.section--extras { padding: 0; }

.head { display: grid; gap: 20px; margin-bottom: clamp(40px, 6vw, 88px); }
.head__no { margin: 0; color: var(--muted); }
.section--dark .head__no, .contact .head__no { color: rgba(236, 234, 228, .6); }
.head__lead { font-size: 1.08rem; max-width: 34em; margin: 24px 0 0; color: var(--muted); }
.section--dark .head__lead { color: rgba(236, 234, 228, .7); }

/* Aktion (zeitlich begrenzt, blendet sich nach data-bis aus) */
.aktion { padding-bottom: 0; }
.aktion.is-vorbei { display: none; }
.aktion__grid { display: grid; gap: 28px; padding-top: 28px; border-top: 1px solid var(--ink); }
.media--aktion { aspect-ratio: 4 / 3; }
.media--aktion img { object-position: 30% 60%; }
.tag--gold { background: var(--gold); }
.termine { list-style: none; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--line); }
.termine li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.termine time { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-weight: 800; font-stretch: var(--wide); letter-spacing: -.03em; line-height: 1; }
.termine .mono { color: var(--muted); }
.preise { margin: 0 0 6px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.preise div { padding: 16px 0; }
.preise div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.preise dt { color: var(--muted); margin-bottom: 8px; }
.preise dd { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; font-stretch: var(--wide); letter-spacing: -.04em; line-height: 1; }
.aktion__fuss { color: var(--muted); margin: 0 0 28px; }

/* Leistungen als Zeilen */
.services { border-top: 1px solid var(--ink); }
.service {
  position: relative; display: grid; gap: 16px 24px; grid-template-columns: 1fr;
  padding: 28px 0 30px; border-bottom: 1px solid var(--line);
  isolation: isolate; transition: color .35s, padding .45s var(--ease);
}
.service::before {
  content: ''; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1;
  background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease);
}
.service h3 {
  font-size: clamp(1.7rem, 4.6vw, 3.6rem); font-stretch: var(--wide); text-transform: uppercase; letter-spacing: -.035em; line-height: .95;
  overflow-wrap: break-word; hyphens: manual;
}
.service__body { grid-column: 1 / -1; display: grid; gap: 4px; }
.service__body p { color: var(--muted); max-width: 32em; transition: color .35s; margin-bottom: .6em; }
.service__body ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.service__body li { padding: 2px 0; }
.service__body li::before { content: '— '; color: var(--brass); }
.service__link {
  grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 600; text-decoration: none; margin-top: 8px;
}
.service__link b { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid currentColor; border-radius: 50%; font-weight: 500; transition: transform .45s var(--ease), background .35s, color .35s, border-color .35s; }
.service__link::after { content: ''; position: absolute; inset: 0; } /* ganze Zeile klickbar */

.service:hover { color: var(--paper); }
.service:hover::before { transform: scaleY(1); }
.service:hover .service__body p { color: rgba(236, 234, 228, .7); }
.service:hover li::before { color: var(--gold); }
.service:hover .service__link b { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: rotate(-45deg); }

.more { display: grid; gap: 12px; margin-top: 40px; }
.more p { margin: 0; color: var(--muted); }
.more ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 700; }
.more li:not(:last-child)::after { content: '/'; margin: 0 .6em; color: var(--brass); font-weight: 400; }

/* Über uns */
.story { display: grid; gap: 40px; }
.media--story { aspect-ratio: 4 / 3; background-color: var(--ink-2); background-image: repeating-linear-gradient(-45deg, rgba(236, 234, 228, .07) 0 1px, transparent 1px 11px); }
.media--story::after { /* Schnittmarken */
  content: ''; position: absolute; inset: 14px; pointer-events: none;
  background:
    linear-gradient(var(--paper), var(--paper)) 0 0 / 18px 1px, linear-gradient(var(--paper), var(--paper)) 0 0 / 1px 18px,
    linear-gradient(var(--paper), var(--paper)) 100% 0 / 18px 1px, linear-gradient(var(--paper), var(--paper)) 100% 0 / 1px 18px,
    linear-gradient(var(--paper), var(--paper)) 0 100% / 18px 1px, linear-gradient(var(--paper), var(--paper)) 0 100% / 1px 18px,
    linear-gradient(var(--paper), var(--paper)) 100% 100% / 18px 1px, linear-gradient(var(--paper), var(--paper)) 100% 100% / 1px 18px;
  background-repeat: no-repeat; opacity: .5;
}
.story.is-ohne-bild .media--story { display: none; }
.story__text { color: rgba(236, 234, 228, .72); font-size: 1.02rem; }
.story__intro { color: var(--paper); font-size: clamp(1.3rem, 2.4vw, 1.85rem); font-weight: 600; line-height: 1.25; letter-spacing: -.015em; margin-bottom: 1.2em; }
.story__text .text-link { color: var(--gold); margin-top: 8px; }
.story__quote { margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line-dark); color: var(--gold); font: 500 .8rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .04em; }

.timeline { list-style: none; margin: clamp(56px, 8vw, 112px) 0 0; padding: 0; display: grid; border-top: 1px solid var(--line-dark); }
.timeline li { padding: 22px 0 26px; border-bottom: 1px solid var(--line-dark); color: rgba(236, 234, 228, .72); font-size: .95rem; }
.timeline span {
  display: block; margin-bottom: 10px; color: var(--paper);
  font-size: clamp(2.2rem, 4.4vw, 3.6rem); font-weight: 800; font-stretch: var(--wide); letter-spacing: -.04em; line-height: 1; text-transform: uppercase;
}
.timeline .is-new span { color: var(--gold); }

/* Team */
.team { display: grid; gap: 36px 12px; grid-template-columns: 1fr 1fr; }
.person { position: relative; margin: 0; }
.media--person { aspect-ratio: 4 / 5; margin-bottom: 18px; }
.media--person img { object-position: 50% 20%; filter: grayscale(1) contrast(1.05); }
.person:hover .media--person img { filter: none; transform: scale(1.03); }
.person h3 { font-size: 1.35rem; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: -.03em; margin-bottom: 8px; }
.person__role { color: var(--brass); margin-bottom: 0; }
@media (max-width: 599px) {
  .person h3 { font-size: 1rem; }
}

/* Kfz-Innung */
.partners { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners__inner { display: grid; }
.partners__text { padding: 28px 0 20px; }
.partners__text h2 { font-size: .74rem; font-stretch: 100%; letter-spacing: .04em; font-weight: 500; margin-bottom: 8px; }
.partners__text p { color: var(--muted); font-size: .94rem; margin: 0; max-width: 30em; }
.siegel { display: flex; align-items: center; gap: 24px; padding: 20px 0 28px; border-top: 1px solid var(--line); }
.siegel img { height: 84px; width: auto; filter: grayscale(1) contrast(1.15); transition: filter .3s; }
.siegel:hover img { filter: none; }
.siegel p { margin: 0; font-size: clamp(1.1rem, 2.4vw, 1.7rem); font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: -.03em; line-height: 1.05; }

/* TÜV + Mobil */
.extras { display: grid; gap: 0; }
.extra { padding: 32px 24px 36px; display: flex; flex-direction: column; align-items: flex-start; }
.extra > .mono { margin-bottom: 28px; }
.extra h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.extra p { max-width: 30em; }

.extra--tuev { background: var(--gold); color: var(--ink); }
.extra--tuev h2 em { color: var(--ink); }
.extra__big {
  font-size: clamp(4.4rem, 14vw, 10rem); font-weight: 800; font-stretch: var(--wide); letter-spacing: -.06em; line-height: .8; margin: 0 0 32px;
  text-transform: uppercase; white-space: nowrap;
}
.extra__big small { font-size: .32em; letter-spacing: -.02em; opacity: .55; margin: 0 .15em; }
.extra__meta { margin-bottom: 40px; }
.extra--tuev .btn { margin-top: auto; }

.extra--mobil { background: var(--paper-2); }
.extra--mobil > .mono { color: var(--muted); }
.mobil { margin: 12px 0 24px; width: 100%; border-top: 1px solid var(--ink); }
.mobil div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.mobil dt { font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: -.02em; font-size: 1.2rem; margin-bottom: 4px; }
.mobil dd { margin: 0; color: var(--muted); }
.extra--mobil .text-link { margin-top: auto; }

/* Bewertungen (Google) */
.reviews__top { display: grid; gap: 24px; align-items: end; margin-bottom: 32px; }
.rating { display: flex; align-items: flex-end; gap: 20px; margin: 0; }
.rating__value { font-size: clamp(4.4rem, 12vw, 9rem); font-weight: 800; font-stretch: var(--wide); letter-spacing: -.06em; line-height: .8; }
.rating__text { color: var(--muted); }
.rating__stars { display: block; color: var(--gold-deep); font-size: 1.1rem; letter-spacing: .1em; margin-bottom: 4px; }
.rev-list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; border-top: 1px solid var(--ink); }
.rev-card { padding: 24px 0 28px; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.rev-card__top { display: flex; justify-content: space-between; gap: 16px; }
.rev-card__top strong { font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: -.02em; }
.rev-card__top span { color: var(--muted); }
.rev-card__stars { color: var(--gold-deep); letter-spacing: .1em; }
.rev-card p { margin: 0; font-size: 1.05rem; max-width: 34em; }
.rev-card--platzhalter p { color: var(--muted); }

/* Listen mit Gedankenstrich */
.dash-list { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--ink); }
.dash-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.dash-list li::before { content: '— '; color: var(--brass); }

/* Karriere (dunkle Sektion) */
.job { border-top: 1px solid var(--paper); }
.job__head { display: grid; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line-dark); }
.job__head > .mono:first-child { margin: 0; color: rgba(236, 234, 228, .6); }
.job__title { font-size: clamp(1.8rem, 4.6vw, 3.6rem); font-stretch: var(--wide); text-transform: uppercase; letter-spacing: -.035em; line-height: .95; }
.job__title em { font-style: normal; color: var(--gold); }
.job__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; color: var(--gold); }
.job__tags li:not(:last-child)::after { content: '/'; margin: 0 .8em; color: rgba(236, 234, 228, .4); }
.job__cols { display: grid; gap: 40px; padding: 36px 0; border-bottom: 1px solid var(--line-dark); }
.job__cols h4 { margin: 0 0 16px; font: 500 .74rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: rgba(236, 234, 228, .6); }
.job .dash-list { border-top-color: var(--line-dark); }
.job .dash-list li { border-bottom-color: var(--line-dark); color: rgba(236, 234, 228, .85); }
.job .dash-list li::before { color: var(--gold); }
.job__apply { padding: 36px 0 0; display: grid; gap: 20px; }
.job__apply p { margin: 0; max-width: 34em; font-size: 1.08rem; }
.job__apply address { font-style: normal; color: rgba(236, 234, 228, .6); }

/* Rechtstexte */
.legal { max-width: 52em; }
.legal h2 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin: 2.2em 0 .7em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font: 500 .74rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 1.8em 0 .6em; }
.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 { margin: 0 0 1em; border-top: 1px solid var(--ink); }
.angaben div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.angaben dt { font: 500 .72rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.angaben dd { margin: 0; }
.angaben a { color: inherit; }
.legal__stand { font: 500 .72rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-top: 3em; }

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

.contact { padding: var(--section-y) 0; background: var(--ink); color: var(--paper); }
.contact h2 em { color: var(--gold); }
.contact__grid { display: grid; gap: 56px; align-items: start; }
.contact__lead { font-size: 1.08rem; max-width: 28em; color: rgba(236, 234, 228, .75); }

.contact__phone {
  display: block; margin: 32px 0 40px; padding: 20px 0; text-decoration: none;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
}
.contact__phone small { display: block; color: var(--gold); margin-bottom: 10px; }
.contact__phone span {
  display: block; font-size: clamp(1.6rem, 4.6vw, 3.2rem); font-weight: 800; font-stretch: var(--wide);
  letter-spacing: -.04em; line-height: 1; transition: color .25s; white-space: nowrap;
}
.contact__phone:hover span { color: var(--gold); }

.contact__details { display: grid; gap: 28px; }
.contact__details h3 { color: rgba(236, 234, 228, .55); margin-bottom: 10px; font-weight: 500; }
.contact__details p, .contact__details address { font-style: normal; margin-bottom: 10px; }
.contact__details a:not(.text-link) { color: var(--paper); }
.contact__details .text-link { color: var(--gold); }
.contact__hint { font-size: .9rem; color: rgba(236, 234, 228, .55); }

.hours { margin: 0 0 12px; border-top: 1px solid var(--line-dark); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line-dark); }
.hours dt, .hours dd { margin: 0; }
.hours dd { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.hours .is-heute { color: var(--gold); }

/* Google Maps: erst nach Klick laden */
.map { position: relative; margin-top: 40px; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line-dark); background: var(--ink-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4); }
.map__consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 12px;
  padding: 20px; background:
    linear-gradient(rgba(236, 234, 228, .08) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(236, 234, 228, .08) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--ink-2);
}
.map__pin { position: absolute; left: 62%; top: 30%; width: 18px; height: 18px; background: var(--gold); box-shadow: 0 0 0 10px rgba(214, 168, 116, .2), 0 0 0 22px rgba(214, 168, 116, .08); }
.map__consent strong { font-weight: 800; font-stretch: var(--wide); text-transform: uppercase; letter-spacing: -.02em; font-size: 1.2rem; }
.map__consent p { margin: 0; font-size: .85rem; color: rgba(236, 234, 228, .65); max-width: 30em; }
.map__consent a { color: var(--gold); }
.map.is-geladen .map__consent { display: none; }

/* Formular: nur Unterstriche, kein Kasten */
.form { border-top: 1px solid var(--paper); padding-top: 24px; }
.form__title { color: var(--gold); margin-bottom: 20px; font-weight: 500; }
.form__row { display: grid; gap: 0 28px; }
.field { display: block; margin-bottom: 22px; }
.field > span { display: block; font: 500 .7rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: rgba(236, 234, 228, .6); margin-bottom: 6px; }
.field em, .check em { color: var(--gold); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.08rem; color: var(--paper);
  background: transparent; border: 0; border-bottom: 1px solid rgba(236, 234, 228, .35); border-radius: 0;
  padding: 10px 0 12px; transition: border-color .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(236, 234, 228, .35); }
.field select {
  appearance: none; cursor: pointer; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23eceae4' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 18px;
}
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field .is-invalid, .check.is-invalid input { border-color: #ff7a6b; }
.check.is-invalid { color: #ff9d91; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: rgba(236, 234, 228, .65); margin: 6px 0 12px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); flex-shrink: 0; }
.check a { color: var(--paper); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__hint { font-size: .8rem; color: rgba(236, 234, 228, .5); margin-bottom: 22px; }
.form__status { margin: 14px 0 0; font-size: .95rem; font-weight: 500; min-height: 1.4em; }
.form__status.is-error { color: #ff9d91; }
.form__status.is-ok { color: var(--gold); }
.form.is-sent .form__status { border: 1px solid var(--gold); padding: 14px 16px; }
.form button[disabled] { opacity: .6; cursor: progress; }

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

.footer { background: var(--ink); color: rgba(236, 234, 228, .6); font-size: .92rem; padding: 0; overflow: hidden; }
.footer a { color: var(--paper); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 40px; border-top: 1px solid var(--line-dark); }
.footer__logo { height: 64px; width: auto; margin-bottom: 16px; }
.footer__brand p { max-width: 24em; }
.footer__innung { display: flex; align-items: center; gap: 12px; }
.footer__innung img { height: 46px; width: auto; }
.footer__title { color: var(--paper); margin-bottom: 12px; font-weight: 500; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }

.footer__word {
  margin: 0; padding: 0 var(--gutter); text-align: center; white-space: nowrap;
  font-size: min(17vw, 240px); font-weight: 800; font-stretch: var(--wide); text-transform: uppercase;
  letter-spacing: -.06em; line-height: .78; color: var(--paper);
  transform: translateY(.06em);
}

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between;
  padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--line-dark);
  font: 500 .7rem/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase;
  position: relative; background: var(--ink);
}
.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.5fr;
  padding-bottom: env(safe-area-inset-bottom); background: var(--ink);
}
.quickbar a {
  display: flex; align-items: center; justify-content: center; height: 56px;
  font-weight: 600; text-decoration: none; color: var(--paper);
}
.quickbar__primary { background: var(--gold); color: var(--ink) !important; }

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

@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .figures { border-top: 1px solid var(--ink); }
  .form__row { grid-template-columns: 1fr 1fr; }
  .contact__details { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .media--hero { aspect-ratio: 16 / 9; }
  .extra { padding: 44px 40px 48px; }
  .job__cols { grid-template-columns: 1fr 1fr; gap: 56px; }
  .map { aspect-ratio: 16 / 10; }
}

@media (min-width: 860px) {
  .head { grid-template-columns: minmax(180px, 1fr) 3fr; gap: 28px; align-items: start; }
  .head__no { padding-top: .6em; }

  .service { grid-template-columns: minmax(180px, 1fr) 2fr 1.4fr auto; gap: 28px; align-items: start; padding: 40px 0 44px; }
  .service h3 { grid-column: 1 / 3; }
  .service__body { grid-column: auto; }
  .service__link { grid-column: auto; justify-self: end; margin-top: 0; }
  .service__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .service__link b { width: 64px; height: 64px; font-size: 1.3rem; }
  .service:hover { padding-left: 16px; }

  .more { grid-template-columns: minmax(180px, 1fr) 3fr; gap: 28px; align-items: baseline; }

  .page-hero__row { grid-template-columns: 1fr auto; align-items: end; }

  .aktion__grid { grid-template-columns: minmax(180px, 1fr) 1.5fr 1.5fr; gap: 28px; }
  .media--aktion { grid-column: 2; }
  .aktion__info { grid-column: 3; }

  .story { grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: end; }
  .timeline { grid-template-columns: repeat(4, 1fr); border-top: 0; column-gap: 0; }
  .timeline li { border-bottom: 0; border-top: 1px solid var(--line-dark); padding: 24px 24px 0 0; }
  .timeline li + li { border-left: 1px solid var(--line-dark); padding-left: 24px; }

  .partners__inner { grid-template-columns: 1fr 2fr; align-items: stretch; }
  .partners__text { padding: 32px 32px 32px 0; border-right: 1px solid var(--line); }
  .siegel { border-top: 0; padding: 24px 0 24px 32px; }

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

  .reviews__top { grid-template-columns: minmax(180px, 1fr) 3fr; gap: 28px; }
  .rev-list { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .rev-list > li { border-top: 1px solid var(--ink); }
  .rev-list > li + li { border-left: 1px solid var(--line); }
  .rev-card { border-bottom: 0; padding: 28px 28px 36px 0; }
  .rev-list > li + li .rev-card { padding-left: 28px; }

  .job__head { grid-template-columns: minmax(180px, 1fr) 3fr; gap: 16px 28px; align-items: start; }
  .job__head > .mono:first-child { padding-top: .6em; grid-row: span 2; }
  .job__head > :not(:first-child) { grid-column: 2; }
  .job__cols, .job__apply { margin-left: calc((100% - 28px) / 4 + 28px); }

  .legal-wrap { display: grid; grid-template-columns: minmax(180px, 1fr) 3fr; gap: 28px; }
  .legal-wrap .legal { grid-column: 2; }
}

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

  .burger { display: none; }
  .nav {
    position: static; inset: auto; flex-direction: row; align-items: center; gap: 28px;
    background: none; color: inherit; padding: 0; margin-right: 12px;
    clip-path: none; visibility: visible; transition: none;
  }
  .nav__list { display: flex; gap: 26px; margin: 0; border: 0; }
  .nav__list a {
    display: inline-flex; gap: 5px; align-items: baseline; padding: 6px 0; border: 0;
    font-size: .92rem; font-weight: 600; font-stretch: 100%; text-transform: none; letter-spacing: 0;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size .35s var(--ease);
  }
  .nav__list a:hover, .nav__list a[aria-current="page"] { background-size: 100% 1px; color: inherit; }
  .nav__extra { display: none; }

  .nav__list a, .header__phone { white-space: nowrap; }

  .header__logo img { height: 52px; }
  .header__phone { width: auto; height: 46px; padding: 0 18px; }
  .header__phone span { display: inline; }
  .header__cta { display: inline-flex; align-items: center; height: 46px; padding: 0 18px; background: var(--gold); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; transition: background .25s; }
  .header__cta:hover { background: var(--paper-2); }

  .hero { padding-top: 40px; }
  .hero__title { font-size: min(7vw, 8.2rem); }
  .hero__title .line { white-space: nowrap; }
  .hero__title .line--indent { padding-left: 1.6em; }
  .hero__row { grid-template-columns: 1fr auto; align-items: end; padding-bottom: 48px; }
  .media--hero { aspect-ratio: 21 / 9; }
  .media--hero img { object-position: 40% 55%; }

  .team { grid-template-columns: repeat(4, 1fr); gap: 24px; }

  .contact__grid { grid-template-columns: 1fr 1.1fr; gap: 96px; }

  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr .8fr; padding-top: 72px; }
}

@media (min-width: 1240px) {
  .status--head { display: inline-flex; padding-right: 20px; border-right: 1px solid var(--line); color: var(--muted); }
  .status--head.is-open { color: var(--ink); }
}

/* --- 404 ----------------------------------------------------------------- */
.notfound { padding-bottom: 0; }
.notfound__main { min-height: 100vh; display: grid; place-items: center; padding: 40px 0; }
.notfound__box { max-width: 760px; }
.notfound__box img { height: 64px; width: auto; margin: 0 0 56px; }
.notfound__box .mono { color: var(--muted); }
.notfound__box h1 { font-size: clamp(2.2rem, 7vw, 4.8rem); font-stretch: var(--wide); text-transform: uppercase; letter-spacing: -.045em; margin: 16px 0 24px; }
.notfound__box p { color: var(--muted); margin-bottom: 32px; max-width: 32em; }
.notfound__box p a { color: var(--brass); }
