/* =========================================================================
   Miglo Die Kfz-Meisterwerkstatt GmbH – Website (Version „Dunkel“)
   Automotive, ruhig und präzise: dunkler Grund, schmale Versal-Überschriften
   (Archivo condensed), Gold aus dem Logo als einziger Akzent.
   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');
}

:root {
  --bg: #101318;         /* Grund */
  --bg-2: #161a20;       /* abgesetzte Bänder */
  --bg-3: #1c2129;       /* Kacheln */
  --bg-input: #0c0e12;

  --text: #ecebe7;
  --muted: #a1a6ad;
  --line: rgba(236, 235, 231, .12);
  --line-2: rgba(236, 235, 231, .24);

  --gold: #d6a874;       /* Gold aus dem Logo */
  --gold-2: #e4bf92;
  --ink: #14171c;        /* Text auf Gold */

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

  --font: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --schmal: 75%;         /* font-stretch der Überschriften */

  --radius: 2px;
  --header-h: 68px;
  --gutter: 20px;
  --inhalt: 1680px;
  --section-y: clamp(64px, 8vw, 120px);
}

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}
@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: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -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(--ink); }

h1, h2, h3 {
  margin: 0; font-family: var(--font); font-weight: 700; font-stretch: var(--schmal);
  text-transform: uppercase; letter-spacing: .005em; line-height: 1; text-wrap: balance;
}
h1 em, h2 em, h3 em { font-style: normal; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); margin-bottom: .45em; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); letter-spacing: .01em; }
p { margin: 0 0 1em; }

/* Hintergründe laufen randlos, der Inhalt endet bei --inhalt */
.wrap { width: 100%; max-width: calc(var(--inhalt) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

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

/* Die alten Kicker werden in dieser Version nicht gezeigt */
.kicker { display: none; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: var(--radius); border: 1px solid transparent;
  font: 700 .92rem/1 var(--font); font-stretch: 85%; text-transform: uppercase; letter-spacing: .06em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.btn span { display: none; }
.btn--gold, .btn--navy { background: var(--gold); color: var(--ink); }
.btn--gold:hover, .btn--navy:hover { background: var(--gold-2); }
.btn--line, .btn--glass { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--line:hover, .btn--glass:hover { border-color: var(--gold); color: var(--gold); }
.btn--dark { background: var(--ink); color: var(--gold); }
.btn--dark:hover { background: #000; }
.btn--block { width: 100%; }

.ctas, .hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.pfeil, .arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .06em; font-size: .88rem;
  color: var(--gold); text-decoration: none;
}
.pfeil::after, .arrow-link::after { content: '→'; transition: transform .2s; }
.pfeil:hover::after, .arrow-link:hover::after { transform: translateX(4px); }
.arrow-link--light { color: var(--gold); }

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

.status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .9rem; color: var(--muted); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #6b7078; flex-shrink: 0; }
.status.is-open { color: var(--text); }
.status.is-open i { background: #4cc46a; }
.status--dark { display: flex; margin: 10px 0 32px; }

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

.topbar { display: none; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 19, 24, .94); color: var(--text);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.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: 46px; width: auto; }
.header__cta, .header__phone { display: none; }
.header__phone { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.header__phone:hover { color: var(--gold); }

.burger {
  width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: var(--radius); background: transparent; cursor: pointer;
  display: grid; place-content: center; gap: 6px; position: relative; z-index: 2;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform .25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Mobile Navigation: Vollbild */
.nav {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-start;
  background: var(--bg); color: var(--text);
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.nav.is-open { opacity: 1; visibility: visible; }
.nav__list { list-style: none; margin: 0 0 32px; padding: 0; border-top: 1px solid var(--line); }
.nav__list a {
  display: block; padding: 14px 0; text-decoration: none; border-bottom: 1px solid var(--line);
  font-size: 2rem; font-weight: 700; font-stretch: var(--schmal); text-transform: uppercase; line-height: 1.1;
}
.nav__list a:hover, .nav__list a[aria-current="page"] { color: var(--gold); }
.nav__extra { display: grid; gap: 10px; justify-items: start; }
.nav__phone { color: var(--gold); font-weight: 700; text-decoration: none; font-size: 1.2rem; }
.nav__tuev { color: var(--text); }

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: var(--bg-3); }
.media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .5s 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-weight: 600; }

/* --- Hero (Text links, Foto rechts – beides im Inhaltsraster) ------------ */

.hero { background: var(--bg); }
.hero__inner { display: grid; gap: 32px; padding-top: 24px; padding-bottom: 48px; }
.hero__text { display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: clamp(2.6rem, 4.4vw, 5.4rem); line-height: .92; margin-bottom: 24px; }
.hero__lead { max-width: 34em; font-size: 1.08rem; color: var(--muted); margin-bottom: 32px; }
.hero__media { aspect-ratio: 3 / 2; order: -1; }
.hero__media img { object-position: 62% 50%; }

/* --- Info-Leiste --------------------------------------------------------- */

.infos { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.infos__grid { display: grid; }
.info { padding: 26px 0; border-bottom: 1px solid var(--line); }
.info:last-child { border-bottom: 0; }
.info h2 { font-size: .85rem; font-stretch: 85%; letter-spacing: .1em; color: var(--gold); margin-bottom: 10px; }
.info p { margin: 0; color: var(--muted); font-size: .95rem; }
.info p + p { margin-top: 4px; }
.info .status { margin-bottom: 4px; font-size: 1.15rem; font-weight: 600; }
.info__gross { color: var(--text) !important; font-size: 1.15rem !important; font-weight: 600; }
.info a { color: var(--text); text-underline-offset: 3px; }
.info a:hover { color: var(--gold); }

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

.aktion { background: var(--gold); color: var(--ink); }
.aktion__inner { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 44px; align-items: center; }
.aktion__label { font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin-bottom: 10px; }
.aktion h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 14px; }
.aktion__text p:last-child { margin: 0; max-width: 32em; }
.aktion__termine { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid rgba(20, 23, 28, .25); }
.aktion__termine li { padding: 12px 0; border-bottom: 1px solid rgba(20, 23, 28, .25); font-weight: 700; font-stretch: var(--schmal); text-transform: uppercase; font-size: 1.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.aktion__preise dl { display: flex; gap: 32px; margin: 0 0 4px; }
.aktion__preise dt { font-size: .9rem; }
.aktion__preise dd { margin: 0; font-weight: 700; font-stretch: var(--schmal); font-size: 2.6rem; line-height: 1; }
.aktion__fuss { font-size: .85rem; margin-bottom: 20px; }
.aktion.is-vorbei { display: none; }

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

.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * .6) 0; }
.section--alt, .section--paper, .section--navy { background: var(--bg-2); }

.head { display: grid; gap: 12px; margin-bottom: clamp(32px, 4vw, 56px); }
.head h2 { margin: 0; }
.head__lead { color: var(--muted); max-width: 34em; margin: 0; font-size: 1.05rem; }

/* Leistungs-Kacheln */
.kacheln { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.kachel { background: var(--bg-3); padding: 32px 26px; display: flex; flex-direction: column; align-items: flex-start; transition: background .2s; }
.kachel:hover { background: #20262f; }
.kachel h3 { margin-bottom: 14px; }
.kachel h3 a { text-decoration: none; }
.kachel h3 a:hover { color: var(--gold); }
.kachel p { color: var(--muted); max-width: 34em; }
.kachel ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 6px; font-size: .95rem; }
.kachel li { padding-left: 18px; position: relative; }
.kachel li::before { content: ''; position: absolute; left: 0; top: .7em; width: 8px; height: 2px; background: var(--gold); }
.kachel .pfeil { margin-top: auto; }

.more { display: grid; gap: 14px; padding-top: 32px; }
.more p { margin: 0; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--gold); }
.more ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.more li { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); font-size: .92rem; }

/* Über uns: Foto und Text nebeneinander */
.split-bild { background: var(--bg-2); padding: var(--section-y) 0; }
.split-bild__inner { display: grid; gap: 36px; }
.split-bild__media { aspect-ratio: 4 / 3; }
.split-bild__text > p { color: var(--muted); max-width: 36em; }
.zitat { margin: 32px 0; padding-left: 22px; border-left: 3px solid var(--gold); max-width: 36em; }
.zitat p { font-size: 1.3rem; line-height: 1.4; margin: 0 0 8px; }
.zitat footer { color: var(--muted); font-size: .9rem; }
.ausstattung { list-style: none; margin: 0 0 32px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ausstattung li { padding: 8px 14px; background: var(--bg-3); border-radius: var(--radius); font-size: .92rem; }

/* Leistungen in der alten Listenform (Unterseite „Leistungen“) */
.split { display: grid; gap: 40px; }
.split__lead { color: var(--muted); max-width: 28em; font-size: 1.05rem; margin-bottom: 24px; }
.leistungen-block { background: var(--bg); }
.services { border-top: 1px solid var(--line); }
.service { display: block; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service__no { display: none; }
.service h3 { margin-bottom: 10px; }
.service h3 a { text-decoration: none; }
.service h3 a:hover { color: var(--gold); }
.service p { color: var(--muted); max-width: 36em; }

/* Leistungsübersicht (Unterseite) */
.gruppen { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.gruppe { background: var(--bg-3); padding: 30px 26px; }
.gruppe h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 16px; }
.gruppe ul { list-style: none; margin: 0; padding: 0; }
.gruppe li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.gruppe li a { font-weight: 600; color: var(--gold); text-underline-offset: 3px; }
.gruppe small { color: var(--muted); font-size: .85rem; text-align: right; }

/* Über uns (Unterseite „Unser Betrieb“) */
.story { display: grid; gap: 28px; }
.story__head h2 { margin: 0; }
.story__media { aspect-ratio: 4 / 3; }
.story.is-ohne-bild .story__media { display: none; }
.story__text { color: var(--muted); font-size: 1.05rem; max-width: 36em; }
.story__quote { margin: 0; padding-left: 22px; border-left: 3px solid var(--gold); }
.story__quote p { font-size: 1.3rem; line-height: 1.4; margin: 0; }
.timeline, .stats { display: none; }

/* Ausstattung (Unser Betrieb) */
.fakten { display: grid; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.fakt { background: var(--bg-3); padding: 28px 24px; }
.fakt strong { display: block; font-weight: 700; font-stretch: var(--schmal); text-transform: uppercase; font-size: 2.4rem; line-height: 1; color: var(--gold); margin-bottom: 10px; }
.fakt p { color: var(--muted); margin: 0; max-width: 22em; }

/* Team */
.team-scroller { max-width: calc(var(--inhalt) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 14px; }
.person { margin: 0; }
.person__media { aspect-ratio: 4 / 5; margin-bottom: 14px; }
.person__media img { object-position: 50% 20%; }
.person h3 { font-size: 1.3rem; margin-bottom: 4px; }
.person__role { color: var(--muted); font-size: .92rem; margin-bottom: 0; }

.crew { margin: 40px 0 16px; max-width: 60em; color: var(--text); }
.crew span { color: var(--muted); }

/* Kfz-Innung / Qualitätsband */
.partners { padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.partners__inner { display: grid; gap: 16px; align-items: center; }
.partners__title { font-size: 1.2rem; margin: 0; }
.siegel { display: flex; align-items: center; gap: 20px; margin: 0; }
.siegel img { height: 64px; width: auto; background: #fff; padding: 4px; border-radius: var(--radius); }
.siegel p { margin: 0; color: var(--muted); max-width: 44em; }
.siegel strong { color: var(--text); }

/* TÜV + Mobil */
.extras { display: grid; gap: 2px; }
.extra { padding: 36px 26px; display: flex; flex-direction: column; align-items: flex-start; background: var(--bg-3); }
.extra h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.extra > p:not(.kicker) { color: var(--muted); max-width: 32em; }
.tage { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 20px; }
.tage span { font-weight: 700; font-stretch: var(--schmal); font-size: 3.4rem; line-height: 1; color: var(--gold); text-transform: uppercase; }
.tage small { font-size: .9rem; line-height: 1.4; max-width: 14em; color: var(--muted); margin-left: 8px; }
.extra .btn, .extra .arrow-link { margin-top: auto; }
.mobil { list-style: none; margin: 4px 0 24px; padding: 0; width: 100%; }
.mobil li { padding: 16px 0; border-top: 1px solid var(--line); }
.mobil strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.mobil span { color: var(--muted); font-size: .95rem; }

/* Bewertungen (Google) */
.reviews__top { display: grid; gap: 20px; margin-bottom: 40px; }
.rating { display: flex; align-items: center; gap: 16px; margin: 0; }
.rating__value { font-weight: 700; font-stretch: var(--schmal); font-size: 3.6rem; line-height: 1; color: var(--gold); }
.rating__text { font-size: .9rem; line-height: 1.4; max-width: 16em; color: var(--muted); }
.rating__stars { display: block; letter-spacing: .1em; margin-bottom: 2px; color: var(--gold); }
.rev-list { display: grid; gap: 2px; list-style: none; margin: 0 0 32px; padding: 0; background: var(--line); border: 1px solid var(--line); }
.rev-card { background: var(--bg-3); padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.rev-card__top, .rev-card__avatar { display: none; }
.rev-card__stars { color: var(--gold); letter-spacing: .1em; }
.rev-card p { margin: 0; font-size: 1.05rem; }
.rev-card__meta { margin-top: auto; }
.rev-card__meta strong { display: block; line-height: 1.3; }
.rev-card__meta span { color: var(--muted); font-size: .85rem; }
.rev-card--platzhalter p { color: var(--muted); font-style: italic; }
.reviews__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Abschluss-CTA */
.cta-band { background: var(--gold); color: var(--ink); padding: clamp(32px, 5vw, 56px); display: grid; gap: 24px; align-items: center; }
.cta-band h2 { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.cta-band p { margin: 10px 0 0; max-width: 34em; }
.cta-band .btn--gold, .cta-band .btn--navy { background: var(--ink); color: var(--gold); }
.cta-band .btn--gold:hover, .cta-band .btn--navy:hover { background: #000; }
.cta-band .btn--glass, .cta-band .btn--line { color: var(--ink); border-color: rgba(20, 23, 28, .4); }
.cta-band .btn--glass:hover, .cta-band .btn--line:hover { border-color: var(--ink); color: var(--ink); }

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

.page-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: clamp(32px, 5vw, 64px) 0 clamp(44px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); line-height: .94; max-width: 24ch; margin-bottom: 22px; }
.page-hero__lead { max-width: 40em; font-size: 1.08rem; color: var(--muted); margin-bottom: 28px; }
.page-hero--legal h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }

.krumen { margin-bottom: clamp(20px, 3vw, 36px); font-size: .85rem; }
.krumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; }
.krumen li { color: var(--muted); }
.krumen li + li::before { content: '/'; margin-right: 8px; color: var(--line-2); }
.krumen a { color: var(--text); text-decoration: none; }
.krumen a:hover { color: var(--gold); }

/* Inhaltsseiten (Fließtext) */
.prose { max-width: 44em; }
.prose h2 { margin: 1.4em 0 .5em; }
.prose h2:first-child, .prose .kicker + h2 { margin-top: 0; }
.prose h3 { font-size: 1.3rem; margin: 1.6em 0 .6em; }
.prose p { color: var(--muted); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose a:not(.btn) { color: var(--gold); }
.prose--lead > p:first-child { font-size: 1.25rem; line-height: 1.5; color: var(--text); }

.check-list { list-style: none; padding: 0 !important; margin: 0 0 24px; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; margin: 0; }
.check-list li::before {
  content: ''; position: absolute; left: 0; top: .3em; width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6a874' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 18px no-repeat;
}

.detail { display: grid; gap: 36px; align-items: start; }
.detail__media { aspect-ratio: 4 / 5; }
.detail__box { background: var(--bg-3); padding: 28px 24px; }
.detail__box h3 { margin-bottom: 14px; }

.marken { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.marken li { background: var(--bg-3); padding: 20px 14px; font-weight: 700; font-stretch: var(--schmal); text-transform: uppercase; font-size: 1.4rem; line-height: 1; text-align: center; }

.schritte { list-style: none; margin: 0; padding: 0; counter-reset: schritt; display: grid; }
.schritte li { counter-increment: schritt; display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.schritte li::before { content: counter(schritt); font-weight: 700; font-stretch: var(--schmal); font-size: 1.6rem; line-height: 1; color: var(--gold); }
.schritte strong { display: block; margin-bottom: 2px; }
.schritte span { color: var(--muted); }

/* Karriere */
.job { background: var(--bg-3); padding: clamp(26px, 4vw, 56px); }
.job__head { display: grid; gap: 12px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.job__head .kicker { display: block; color: var(--gold); font-size: .85rem; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .1em; margin: 0; }
.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 12px; border: 1px solid var(--line-2); border-radius: var(--radius); font-size: .9rem; }
.job__cols { display: grid; gap: 32px; }
.job h3 { margin-bottom: 18px; }
.job__apply { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.job__apply p { max-width: 36em; color: var(--muted); }

/* Rechtstexte */
.legal { max-width: 50em; }
.legal h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin: 1.8em 0 .5em; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.15rem; margin: 1.5em 0 .4em; }
.legal p, .legal li { color: #c9ccd0; }
.legal ul, .legal ol { padding-left: 1.2em; }
.legal li { margin-bottom: .3em; }
.legal a { color: var(--gold); overflow-wrap: anywhere; }
.legal address { font-style: normal; margin-bottom: 1em; }
.angaben { display: grid; margin: 0 0 1em; border-top: 1px solid var(--line); }
.angaben div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.angaben dt { font-size: .82rem; font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.angaben dd { margin: 0; }
.angaben a { color: inherit; }
.legal__stand { color: var(--muted); font-size: .9rem; margin-top: 2.4em; }

/* 404 */
.notfound { padding-bottom: 0; background: var(--bg); }
.notfound__main { min-height: 100vh; display: grid; place-items: center; padding: 40px 0; }
.notfound__box { max-width: 720px; }
.notfound__box img { height: 64px; width: auto; margin: 0 0 40px; }
.notfound__box .kicker { display: block; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.notfound__box h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 20px; }
.notfound__box p { color: var(--muted); margin-bottom: 28px; max-width: 32em; }
.notfound__box p a { color: var(--gold); }

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

.contact { background: var(--bg); }
.contact__grid { display: grid; gap: 44px; align-items: start; }
.contact__lead { color: var(--muted); max-width: 30em; font-size: 1.05rem; }
.contact__phone {
  display: block; width: fit-content; margin-top: 18px; text-decoration: none;
  font-weight: 700; font-stretch: var(--schmal); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--gold);
}
.contact__phone:hover { color: var(--gold-2); }
.contact__details { display: grid; gap: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact__details h3 { font-size: .85rem; font-stretch: 85%; letter-spacing: .1em; color: var(--gold); margin-bottom: 12px; }
.contact__details p, .contact__details address { font-style: normal; margin-bottom: 12px; }
.contact__details a:not(.arrow-link) { color: var(--text); text-underline-offset: 3px; }
.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: 6px 0; border-bottom: 1px solid 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(--gold); }

/* Google Maps: erst nach Klick laden */
.map { position: relative; margin-top: 32px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); 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: center; align-items: flex-start; gap: 12px; padding: 28px; }
.map__pin { display: none; }
.map__consent strong { font-weight: 700; font-stretch: var(--schmal); text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; }
.map__consent p { margin: 0; font-size: .88rem; color: var(--muted); max-width: 30em; }
.map__consent a { color: var(--gold); }
.map__consent .btn { min-height: 44px; padding: 0 20px; }
.map.is-geladen .map__consent { display: none; }

.form { background: var(--bg-3); padding: 28px 22px; border: 1px solid var(--line); }
.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: .88rem; font-weight: 600; margin-bottom: 6px; }
.field > span small { font-weight: 400; color: var(--muted); }
.field em, .check em { color: var(--gold); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-input); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 13px 14px; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #6e737a; }
.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='%23d6a874' 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; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 168, 116, .2);
}
.field .is-invalid, .check.is-invalid input { border-color: #e0625a; box-shadow: 0 0 0 3px rgba(224, 98, 90, .2); }

.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(--gold); flex-shrink: 0; }
.check a { color: var(--gold); }

.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: #ef8a83; }
.form__status.is-ok { color: var(--gold); }
.form.is-sent .form__status { background: var(--bg-input); padding: 14px 16px; }
.form button[disabled] { opacity: .6; cursor: progress; }

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

.footer { background: #0b0d11; color: var(--muted); font-size: .94rem; padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__grid { display: grid; gap: 32px; padding-bottom: 44px; }
.footer__logo { height: 60px; width: auto; margin-bottom: 18px; }
.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: 44px; width: auto; background: #fff; padding: 3px; border-radius: var(--radius); }
.footer__title { font-size: .85rem; font-stretch: 85%; letter-spacing: .1em; 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: 20px; padding-bottom: 20px; border-top: 1px solid var(--line); 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(16, 19, 24, .96); border-top: 1px solid var(--line);
}
.quickbar a {
  display: flex; align-items: center; justify-content: center; height: 48px; border-radius: var(--radius);
  font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: .06em; font-size: .9rem;
  text-decoration: none; color: var(--text); border: 1px solid var(--line-2);
}
.quickbar__primary { background: var(--gold); color: var(--ink) !important; border-color: var(--gold) !important; }

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

@media (min-width: 600px) {
  :root { --gutter: clamp(32px, 4vw, 64px); }
  .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; }
  .gruppen, .kacheln { grid-template-columns: 1fr 1fr; }
  .gruppe, .kachel { padding: 40px 36px; }
  .rev-list { grid-template-columns: repeat(2, 1fr); }
  .marken { grid-template-columns: repeat(4, 1fr); }
  .fakten { grid-template-columns: 1fr 1fr; }
  .job__cols { grid-template-columns: 1fr 1fr; gap: 48px; }
  .map { aspect-ratio: 16 / 10; }
  .extra { padding: 48px 40px; }
  .aktion__termine { grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 28px; border: 0; }
  .aktion__termine li { border: 0; padding: 0; }
}

@media (min-width: 860px) {
  .hero__inner { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 96px); align-items: center; padding-top: clamp(48px, 6vw, 96px); padding-bottom: clamp(48px, 6vw, 96px); }
  .hero__media { order: 0; aspect-ratio: 4 / 3; }

  .infos__grid { grid-template-columns: repeat(3, 1fr); }
  .info { padding: 28px 32px; border-bottom: 0; border-left: 1px solid var(--line); }
  .info:first-child { padding-left: 0; border-left: 0; }

  .aktion__inner { grid-template-columns: 1.3fr auto 1fr; gap: 56px; padding-top: 56px; padding-bottom: 56px; }
  .aktion__termine { grid-template-columns: 1fr; gap: 0; border-left: 1px solid rgba(20, 23, 28, .25); padding-left: 48px; }
  .aktion__termine li { padding: 8px 0; font-size: 2rem; }
  .aktion__preise { justify-self: end; }

  .head { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 48px; }

  .split-bild__inner { grid-template-columns: 5fr 6fr; gap: clamp(40px, 5vw, 96px); align-items: center; }

  .split { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
  .split__aside { position: sticky; top: calc(var(--header-h) + 32px); }

  .story { grid-template-columns: 5fr 6fr; grid-template-rows: auto auto auto 1fr; gap: 32px 64px; }
  .story__head { grid-column: 1 / -1; }
  .story__media { grid-row: 2 / -1; align-self: start; }
  .story.is-ohne-bild .story__text { grid-column: 1; }
  .story.is-ohne-bild .story__quote { grid-column: 2; grid-row: 2; }

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

  .detail { grid-template-columns: 7fr 5fr; gap: 64px; }
  .detail--bild { grid-template-columns: 5fr 7fr; }
  .detail--bild .detail__media { aspect-ratio: 1 / 1; }
  .detail__aside { position: sticky; top: calc(var(--header-h) + 32px); }

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

  .contact__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .contact__info { position: sticky; top: calc(var(--header-h) + 32px); }
  .fakten { grid-template-columns: repeat(4, 1fr); }
  .team { grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
  .person__media { aspect-ratio: 1 / 1; }
}

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

  .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: 32px; margin: 0; border: 0; }
  .nav__list a {
    font-size: .9rem; font-weight: 700; font-stretch: 85%; letter-spacing: .08em; padding: 8px 0; border: 0; line-height: 1;
    color: var(--muted);
  }
  .nav__list a:hover { color: var(--text); }
  .nav__list a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--gold); }
  .nav__extra { display: none; }
  .header__logo { margin-right: 0; flex: 0 0 auto; }
  .header__logo img { height: 56px; }
  .header__cta { display: inline-flex; min-height: 46px; padding: 0 20px; }

  .kacheln { grid-template-columns: repeat(4, 1fr); }
  .gruppen { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr .8fr; }
}

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