/* =====================================================================
   AutoService Sommer – Stylesheet
   Mobil zuerst. Farben angelehnt an AUTOteam plus (Grün/Anthrazit).
   ===================================================================== */

:root {
  --green: #8cbf26;
  --green-600: #78a81b;
  --green-700: #4e7409;
  --green-50: #f3f8e6;
  --green-100: #e4f0c8;
  --ink: #1b1c1a;
  --ink-2: #262724;
  --ink-3: #33352f;
  --text: #3a3b37;
  --muted: #6b6d67;
  --line: #e3e5de;
  --bg: #ffffff;
  --bg-soft: #f5f6f2;
  --yellow: #f7b500;
  --red: #e30613;
  --white: #ffffff;

  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 18, .06), 0 2px 8px rgba(20, 22, 18, .05);
  --shadow: 0 6px 24px rgba(20, 22, 18, .08), 0 2px 6px rgba(20, 22, 18, .05);
  --shadow-lg: 0 24px 60px rgba(20, 22, 18, .16);
  --header-h: 64px;
  --gutter: 16px;
  --bar-h: 64px;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 960px) { :root { --header-h: 78px; --gutter: 32px; --bar-h: 0px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
/* overflow-x am html statt am body: so bleibt die Kopfzeile auch bei gesperrtem Scrollen (Menü offen) oben kleben */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 6.5vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green-100); color: var(--ink); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: .75em 1.4em;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bd);
  border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(20, 22, 18, .16); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.2em; height: 1.2em; }
.btn--primary { --btn-bg: var(--green); --btn-fg: var(--ink); --btn-bd: var(--green); }
.btn--primary:hover { --btn-bg: #9bd02f; --btn-bd: #9bd02f; }
.btn--dark { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: currentColor; }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.55); }
.btn--outline-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--whatsapp { --btn-bg: #25d366; --btn-fg: #0b3d1f; --btn-bd: #25d366; }
.btn--block { width: 100%; }
.btn--sm { min-height: 42px; padding: .5em 1.1em; font-size: .94rem; }
.link-button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.text-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--ink); text-decoration: none; }
.text-link .icon { transition: transform .2s ease; color: var(--green-700); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- Comic-Akzente (Werkstatt-Heroes) ---------- */
.tag {
  display: inline-block; padding: .38em .85em;
  background: var(--green); color: var(--ink);
  font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: .02em;
  font-size: .82rem; line-height: 1.2;
  transform: rotate(-2deg); box-shadow: 4px 4px 0 var(--ink);
}
.tag--light { background: #fff; }
.mark { background: linear-gradient(transparent 60%, rgba(140, 191, 38, .55) 60%, rgba(140, 191, 38, .55) 92%, transparent 92%); padding-inline: .06em; }
.halftone { position: absolute; pointer-events: none; background-image: radial-gradient(circle, var(--green) 32%, transparent 34%); background-size: 16px 16px; }

/* ---------- Kopfzeile ---------- */
.topbar { display: none; background: var(--ink); color: #c9cbc4; font-size: .86rem; }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
a.topbar__item:hover { color: #fff; }
.topbar__item .icon { width: 16px; height: 16px; color: var(--green); }
.topbar__spacer { flex: 1; }
@media (min-width: 960px) { .topbar { display: block; } }

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.is-scrolled .site-header { border-color: var(--line); box-shadow: 0 6px 20px rgba(20, 22, 18, .07); }
.site-header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { display: block; color: var(--ink); flex: none; }
.brand .logo-svg { height: 38px; width: auto; }
@media (min-width: 960px) { .brand .logo-svg { height: 46px; } }
/* hochgeladenes Logo (Admin → Texte & Bilder → Logos) */
.brand .logo-img { height: 38px; width: auto; max-width: min(240px, 58vw); object-fit: contain; object-position: left center; }
@media (min-width: 960px) { .brand .logo-img { height: 46px; max-width: 280px; } }
.brand--light { color: #fff; }

.main-nav { margin-left: auto; }
.main-nav__list { list-style: none; display: flex; gap: 4px; }
.main-nav__list a {
  display: block; padding: 10px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 600; text-decoration: none; font-size: .98rem;
  transition: background-color .2s ease, color .2s ease;
}
.main-nav__list a:hover { background: var(--bg-soft); }
.main-nav__list a[aria-current="page"] { background: var(--green-50); color: var(--green-700); }
.main-nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 12px; }
.header-phone { display: none; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; line-height: 1.15; white-space: nowrap; }
.header-phone small { display: block; font-weight: 500; font-size: .74rem; color: var(--muted); }
.header-phone__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green-50); color: var(--green-700); }
.header-phone:hover { color: var(--green-700); }
.header-cta { display: none; }
@media (min-width: 1320px) { .header-phone { display: flex; } }

.nav-toggle {
  display: grid; place-items: center; width: 46px; height: 46px; margin-left: auto;
  border: 0; border-radius: 12px; background: var(--bg-soft); color: var(--ink);
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

@media (max-width: 1099.98px) {
  /* backdrop-filter würde das fixierte Menü in der Kopfzeile einsperren */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  .site-header__actions { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 890;
    background: #fff; padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto; overscroll-behavior: contain;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
  /* Nur html sperren – overflow am body würde ihn zum Scroll-Container machen und die Kopfzeile wegscrollen */
  html.nav-open { overflow: hidden; }
  .main-nav__list { flex-direction: column; gap: 2px; }
  .main-nav__list a { font-size: 1.3rem; font-weight: 700; padding: 14px 12px; border-radius: 12px; border-bottom: 1px solid var(--line); }
  .main-nav__mobile-extra { display: grid; gap: 16px; margin-top: 24px; }
  .main-nav__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .main-nav__contact a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 14px; background: var(--bg-soft); color: var(--ink); font-weight: 700; text-decoration: none; }
  .main-nav__contact a .icon { color: var(--green-700); }
  .main-nav__hours { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); margin: 0; font-size: .95rem; }
}
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }
}
/* mittlere Breiten: Menüpunkte enger, damit alle sieben samt „Termin anfragen“ in eine Zeile passen */
@media (min-width: 1100px) and (max-width: 1319.98px) {
  .site-header__inner { gap: 12px; }
  .main-nav__list { gap: 0; }
  .main-nav__list a { padding: 9px 10px; font-size: .94rem; }
  .header-cta { padding-inline: 1.1em; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(56px, 9vw, 112px); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--green { background: var(--green-50); }
.section--dark { background: var(--ink); color: #c9cbc4; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 5vw, 52px); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head .tag { margin-bottom: 18px; }
.section__head p { font-size: 1.12rem; color: var(--muted); margin: 0; }
.section--dark .section__head p { color: #a9aba4; }
.section__foot { margin-top: clamp(28px, 5vw, 48px); display: flex; flex-wrap: wrap; gap: 12px; }
.section__head--center + * + .section__foot, .section__foot--center { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 95% at 78% 42%, #ffffff 0%, #eef0ea 46%, #dde1d6 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-conic-gradient(from 0deg at 76% 46%, rgba(255, 255, 255, .85) 0deg 1.6deg, transparent 1.6deg 8deg);
  -webkit-mask-image: radial-gradient(circle at 76% 46%, transparent 14%, #000 55%);
  mask-image: radial-gradient(circle at 76% 46%, transparent 14%, #000 55%);
  opacity: .75;
}
.hero .halftone { z-index: -1; inset: 0 auto auto 0; width: 60%; height: 70%; opacity: .55;
  -webkit-mask-image: linear-gradient(135deg, #000 0%, transparent 55%); mask-image: linear-gradient(135deg, #000 0%, transparent 55%); }
.hero__grid { display: grid; gap: 8px; padding-top: clamp(32px, 6vw, 72px); }
.hero__content { position: relative; z-index: 2; }
.hero__content .tag { margin-bottom: 22px; }
.hero h1 { margin-bottom: .4em; }
.hero__lead { font-size: clamp(1.08rem, 2.2vw, 1.28rem); color: var(--text); max-width: 34em; margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px;
  background: #fff; border-radius: 999px; box-shadow: var(--shadow-sm);
  color: var(--ink); font-size: .92rem; font-weight: 600; text-decoration: none;
}
a.chip:hover { color: var(--ink); box-shadow: var(--shadow); }
.chip strong { font-size: 1.05rem; }
.chip .icon { width: 20px; height: 20px; }
.chip small { color: var(--muted); font-weight: 500; font-size: .86rem; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.status--offen .status-dot { background: #2fb344; box-shadow: 0 0 0 0 rgba(47, 179, 68, .6); animation: pulse 2s infinite; }
.status--zu .status-dot { background: var(--red); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(47, 179, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 179, 68, 0); } }

/* Sprechblase steht über den Figuren (verdeckt keine Köpfe), Spitze zeigt auf den mittleren Hero */
.hero__visual { position: relative; display: flex; flex-direction: column; align-items: center; margin-top: 12px; }
.hero__figure { position: relative; display: flex; justify-content: center; }
.hero__figure img { position: relative; z-index: 2; width: min(78vw, 400px); filter: drop-shadow(0 26px 30px rgba(20, 22, 18, .22)); }
.hero__burst { position: absolute; z-index: 1; left: 50%; top: 50%; width: min(96vw, 540px); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(-6deg); }
.hero__burst::before, .hero__burst::after {
  content: ""; position: absolute; inset: 0;
  clip-path: polygon(50% 0, 58% 17%, 75% 6%, 74% 25%, 94% 21%, 84% 38%, 100% 50%, 84% 60%, 95% 78%, 74% 75%, 74% 94%, 58% 83%, 50% 100%, 42% 83%, 25% 94%, 26% 75%, 5% 79%, 16% 61%, 0 50%, 16% 39%, 6% 21%, 26% 25%, 25% 6%, 42% 17%);
}
.hero__burst::before { background: var(--ink); }
.hero__burst::after { background: #fff; transform: scale(.975); }
.hero__bubble {
  position: relative; z-index: 3; margin: 0 0 30px;
  padding: 12px 20px 14px; background: #fff; color: var(--ink); text-align: center; white-space: nowrap;
  border: 3px solid var(--ink); border-radius: 20px; box-shadow: 5px 5px 0 var(--ink);
  font-weight: 900; font-style: italic; text-transform: uppercase; line-height: 1.15; font-size: .84rem;
  transform: rotate(-3deg);
}
.hero__bubble::before, .hero__bubble::after { content: ""; position: absolute; left: 50%; width: 0; height: 0; border-style: solid; border-color: transparent; }
.hero__bubble::before { bottom: -24px; margin-left: -13px; border-width: 21px 13px 0; border-top-color: var(--ink); }
.hero__bubble::after { bottom: -16px; margin-left: -9px; border-width: 15px 9px 0; border-top-color: #fff; }
.hero__bubble span { display: inline-block; margin-top: 6px; padding: 3px 8px; background: var(--green); font-size: .76rem; }
.hero__floor { position: absolute; z-index: 1; bottom: 0; left: 50%; width: 70%; height: 26px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(20, 22, 18, .28), transparent); }

@media (min-width: 640px) {
  .hero__figure img { width: 400px; }
  .hero__bubble { font-size: .95rem; }
}
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 24px; min-height: 600px; padding-top: 40px; }
  .hero__content { padding-bottom: 56px; }
  .hero__visual { align-self: end; margin-top: 0; }
  .hero__figure img { width: min(100%, 430px); }
  .hero__burst { width: 540px; }
}

/* Info-Leiste unter dem Hero */
.quickinfo { background: var(--ink); color: #c9cbc4; }
.quickinfo__grid { display: grid; grid-template-columns: 1fr; }
.quickinfo__item {
  display: flex; align-items: center; gap: 14px; padding: 14px 4px; min-width: 0;
  color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.quickinfo__item:last-child { border-bottom: 0; }
@media (min-width: 640px) and (max-width: 959.98px) {
  .quickinfo__grid { grid-template-columns: 1fr 1fr; }
  .quickinfo__item { padding: 18px 14px; }
  .quickinfo__item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .08); }
  .quickinfo__item:nth-child(3) { border-bottom: 0; }
}
a.quickinfo__item:hover { background: var(--ink-2); color: #fff; }
.quickinfo__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--green); color: var(--ink); }
.quickinfo__icon .icon { width: 22px; height: 22px; }
.quickinfo__label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: #8f918a; }
.quickinfo__value { display: block; color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; }
@media (min-width: 960px) {
  .quickinfo__grid { grid-template-columns: repeat(4, 1fr); }
  .quickinfo__item { padding: 26px 22px; border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, .08); }
  .quickinfo__item:last-child { border-right: 0; }
  .quickinfo__value { font-size: 1.02rem; }
}

/* ---------- Leistungs-Kacheln ---------- */
.services { display: grid; gap: 12px; }
.service-card {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start;
  padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--text); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); color: var(--text); }
.service-card__icon { grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--green-50); color: var(--green-700); transition: background-color .2s ease, color .2s ease; }
.service-card:hover .service-card__icon { background: var(--green); color: var(--ink); }
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card h3 { margin: 2px 0 2px; font-size: 1.08rem; }
.service-card p { margin: 0; font-size: .94rem; color: var(--muted); line-height: 1.5; }
.service-card__more { display: none; }
@media (min-width: 640px) {
  .services { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (min-width: 960px) {
  .services { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .service-card { grid-template-columns: 1fr; padding: 26px 24px 24px; gap: 0; }
  .service-card__icon { grid-row: auto; width: 58px; height: 58px; margin-bottom: 18px; }
  .service-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
  .service-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; color: var(--ink); font-size: .92rem; }
  .service-card__more .icon { width: 18px; color: var(--green-700); transition: transform .2s ease; }
  .service-card:hover .service-card__more .icon { transform: translateX(4px); }
}

/* ---------- Slider (Aktionen) ---------- */
.slider { position: relative; }
.slider__track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -ms-overflow-style: none; scrollbar-width: none; overscroll-behavior-x: contain;
}
.slider__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.slide__media { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); box-shadow: var(--shadow-lg); }
.slide__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .6s ease; }
.slide__media:hover img { transform: scale(1.025); }
.slide__caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 20px 4px 0; }
.slide__caption h3 { margin: 0; font-size: 1.3rem; }
.slide__caption p { margin: 2px 0 0; color: #a9aba4; }
.slider__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }
.slider__btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .25); background: transparent; color: #fff; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.slider__btn:hover { background: var(--green); border-color: var(--green); color: var(--ink); }
.slider__dots { display: flex; gap: 6px; }
.slider__dot { width: 28px; height: 28px; padding: 0; border: 0; background: transparent; display: grid; place-items: center; }
.slider__dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .3); transition: width .25s ease, background-color .25s ease; }
.slider__dot[aria-current="true"]::before { width: 26px; background: var(--green); }
@media (min-width: 640px) {
  .slide__media img { aspect-ratio: 1600 / 552; }
}

/* ---------- Über uns / Vorteile ---------- */
.about { display: grid; gap: 40px; align-items: center; }
.about__media { position: relative; max-width: 520px; }
.about__media img { position: relative; z-index: 1; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.about__media::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border-radius: var(--radius-lg); background: var(--green); }
.about__badge {
  position: absolute; z-index: 2; right: -6px; bottom: -22px; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  font-weight: 700; color: var(--ink); line-height: 1.2; font-size: .9rem;
}
.about__badge img { width: 74px; height: auto; box-shadow: none; border-radius: 0; }
.about__text > p { font-size: 1.08rem; }
.features { display: grid; gap: 14px; margin-top: 28px; list-style: none; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--green); }
.feature__icon .icon { width: 22px; height: 22px; }
.feature h3 { font-size: 1.02rem; margin: 2px 0 2px; }
.feature p { margin: 0; font-size: .94rem; color: var(--muted); line-height: 1.5; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; gap: 22px 26px; } }
@media (min-width: 960px) { .about { grid-template-columns: .85fr 1.15fr; gap: 72px; } .about--ohne-bild { grid-template-columns: 1fr; max-width: 860px; } }

/* Bildband */
.banner-strip { position: relative; overflow: hidden; }
.banner-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 640px) { .banner-strip img { aspect-ratio: 1600 / 552; } }

/* ---------- Bewertungen ---------- */
.reviews { display: grid; gap: 32px; }
.rating-card { position: relative; padding: 28px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.rating-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; color: var(--muted); font-weight: 600; }
.rating-card__top .icon { width: 28px; height: 28px; }
.rating-card__score { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rating-card__score strong { font-size: 4rem; line-height: 1; font-weight: 800; color: var(--ink); letter-spacing: -.04em; }
.rating-card__score .stars { font-size: 1.6rem; }
.rating-card__count { margin: 6px 0 20px; color: var(--muted); }
.rating-card__actions { display: grid; gap: 10px; position: relative; z-index: 2; }
.rating-card__hero { display: none; }
.quotes { display: grid; gap: 10px; margin: 0 0 22px; list-style: none; }
.quotes li { position: relative; padding: 10px 14px 10px 36px; background: var(--green-50); border-radius: 12px; font-style: italic; color: var(--ink); font-size: .95rem; line-height: 1.45; }
.quotes li::before { content: "„"; position: absolute; left: 12px; top: 2px; font-size: 1.9rem; line-height: 1; color: var(--green-700); font-style: normal; font-weight: 800; }

.stars { position: relative; display: inline-block; line-height: 0; vertical-align: middle; }
.stars__base, .stars__fill { display: flex; gap: .08em; }
.stars__base { color: #d9dbd4; }
.stars__fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: var(--yellow); }
.stars .icon { width: 1em; height: 1em; }

.review-list { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: thin; }
.review {
  flex: 0 0 86%; scroll-snap-align: center; display: flex; flex-direction: column;
  padding: 24px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review__avatar { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--green); font-weight: 800; }
.review__name { display: block; font-weight: 700; color: var(--ink); line-height: 1.2; }
.review__date { display: block; font-size: .85rem; color: var(--muted); }
.review__source { margin-left: auto; }
.review__source .icon { width: 22px; height: 22px; }
.review .stars { font-size: 1.05rem; margin-bottom: 10px; }
.review__text { margin: 0; white-space: pre-line; color: var(--text); font-size: .98rem; line-height: 1.6; }
.review__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { align-self: flex-start; margin-top: 10px; padding: 0; border: 0; background: none; color: var(--green-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 640px) { .review { flex-basis: 60%; } }
@media (min-width: 960px) {
  .reviews { grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
  .rating-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 34px 34px 0; }
  .rating-card__actions { margin-bottom: 0; }
  .rating-card__hero { display: block; width: 150px; margin: 8px auto -6px; }
  .review-list { display: grid; grid-template-columns: 1fr 1fr; align-items: start; overflow: visible; padding: 0; margin: 0; }
  .review { flex-basis: auto; }
}

/* ---------- Ablauf ---------- */
/* Handy/Tablet: senkrechte Liste (mittig begrenzt); Computer: Reihe mit so vielen Spalten wie Schritten (bis 5) */
.steps { --abstand: 28px; display: grid; gap: 18px; max-width: 560px; margin: 0 auto; padding: 0; list-style: none; counter-reset: step; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; align-content: start; gap: 4px 18px; padding: 4px 0 14px; }
.step::before {
  counter-increment: step; content: counter(step);
  grid-row: span 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); color: var(--ink); font-weight: 900; font-size: 1.3rem; box-shadow: 3px 3px 0 var(--ink);
}
.step:not(:last-child)::after { content: ""; position: absolute; left: 25px; top: 60px; bottom: -14px; border-left: 2px dashed #c6c9c0; }
.step h3 { margin: 10px 0 2px; }
.step p { margin: 0; color: var(--muted); }
@media (min-width: 960px) {
  /* Flex statt Grid: eine unvollständige letzte Reihe (z. B. 4 + 3) steht mittig */
  .steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px var(--abstand); max-width: none; }
  .steps[style*="--spalten: 1"], .steps[style*="--spalten: 2"] { max-width: 760px; }
  .step { flex: 0 0 calc((100% - (var(--spalten, 4) - 1) * var(--abstand)) / var(--spalten, 4)); min-width: 0;
    grid-template-columns: 1fr; justify-items: center; padding: 0 6px; text-align: center; }
  .step::before { grid-row: auto; margin-bottom: 14px; width: 60px; height: 60px; }
  .step h3 { margin-top: 0; }
  /* Linie von Kreis zu Kreis: vom rechten Kreisrand bis zum linken Rand des nächsten Kreises */
  .step:not(:last-child)::after { left: calc(50% + 42px); right: calc(42px - 50% - var(--abstand)); top: 30px; bottom: auto; border-left: 0; border-top: 2px dashed #c6c9c0; }
  .step.step--reihenende::after { display: none; }
}

/* ---------- Karriere-Teaser ---------- */
.career { display: grid; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); color: #c9cbc4; box-shadow: var(--shadow-lg); }
.career__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.career__body { padding: clamp(26px, 5vw, 48px); }
.career__body h2 { color: #fff; }
.career__list { list-style: none; display: grid; gap: 8px; margin: 18px 0 26px; }
.career__list li { display: flex; gap: 10px; align-items: flex-start; }
.career__list .icon { color: var(--green); margin-top: 3px; }
.career__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 640px) { .career__media img { aspect-ratio: 1600 / 552; } }
@media (min-width: 960px) {
  .career { grid-template-columns: 1.15fr .85fr; }
  .career--ohne-bild { grid-template-columns: 1fr; }
  .career__media img { aspect-ratio: auto; min-height: 100%; object-position: 30% center; }
}

/* ---------- Kontakt-Bereich ---------- */
.contact { display: grid; gap: 24px; }
.contact-card { padding: clamp(22px, 4vw, 34px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-card h3 { display: flex; align-items: center; gap: 10px; }
.contact-card h3 .icon { color: var(--green-700); }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.hours th, .hours td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.hours th { font-weight: 600; color: var(--ink); width: 34%; }
.hours td { color: var(--text); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--green-700); font-weight: 800; }
.hours tr.is-today th::after { content: " · heute"; font-weight: 600; font-size: .82rem; }
.contact-lines { list-style: none; display: grid; gap: 4px; margin: 18px 0 22px; }
.contact-lines a, .contact-lines span { display: flex; align-items: center; gap: 12px; padding: 10px 0; color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-lines a:hover { color: var(--green-700); }
.contact-lines .icon { color: var(--green-700); }
.contact-actions { display: grid; gap: 10px; }
@media (min-width: 480px) { .contact-actions { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: stretch; } }

/* Abweichende Öffnungszeiten (Feiertage, Urlaub) */
.deviations { margin: 14px 0 6px; padding: 14px 16px; border-radius: 14px; background: #fff8e1; border: 1px solid #f6dc8a; }
.deviations__title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .95rem; color: var(--ink); }
.deviations__title .icon { width: 18px; height: 18px; color: #b07d00; }
.deviations ul { list-style: none; display: grid; gap: 6px; }
.deviations li { display: grid; grid-template-columns: minmax(96px, auto) 1fr; gap: 2px 12px; font-size: .9rem; line-height: 1.4; }
.deviations__date { font-weight: 700; color: var(--ink); white-space: nowrap; }
.deviations__text strong { color: var(--ink); }
.aside-card .deviations { background: rgba(247, 181, 0, .12); border-color: rgba(247, 181, 0, .35); }
.aside-card .deviations__title, .aside-card .deviations__date, .aside-card .deviations__text strong { color: #fff; }
.aside-card .deviations__title .icon { color: var(--yellow); }
@media (max-width: 420px) { .deviations li { grid-template-columns: 1fr; } }

/* Hinweisleiste unter der Kopfzeile (z. B. Betriebsurlaub) */
.notice-bar { background: var(--yellow); color: var(--ink); }
.notice-bar__inner { display: flex; align-items: flex-start; gap: 12px; padding-block: 10px; font-weight: 600; font-size: .95rem; line-height: 1.4; }
.notice-bar__inner > .icon { margin-top: 1px; }
.notice-bar p { margin: 0; }
.notice-bar p + p { margin-top: 4px; }

/* Karte mit Zwei-Klick-Lösung */
.map { position: relative; min-height: 360px; height: 100%; border-radius: var(--radius-lg); overflow: hidden; background: #e8ebe3; box-shadow: var(--shadow); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center;
  background:
    linear-gradient(rgba(232, 235, 227, .82), rgba(232, 235, 227, .9)),
    repeating-linear-gradient(32deg, transparent 0 46px, #fff 46px 54px),
    repeating-linear-gradient(-58deg, transparent 0 80px, #f6f7f3 80px 92px),
    #dfe3d8;
}
.map__placeholder-inner { max-width: 380px; }
.map__pin { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--red); box-shadow: var(--shadow); }
.map__pin .icon { transform: rotate(45deg); color: #fff; width: 28px; height: 28px; }
.map__placeholder p { font-size: .9rem; color: var(--muted); }
.map__placeholder strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 6px; }
.map__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: #c9cbc4; padding: clamp(40px, 7vw, 84px) 0 clamp(40px, 6vw, 72px); isolation: isolate; }
.page-hero .halftone { z-index: -1; right: 0; top: 0; width: 55%; height: 100%; opacity: .32; -webkit-mask-image: linear-gradient(255deg, #000 0%, transparent 60%); mask-image: linear-gradient(255deg, #000 0%, transparent 60%); }
.page-hero__inner { display: grid; gap: 24px; align-items: end; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5.5vw, 3.4rem); }
.page-hero p { font-size: 1.12rem; max-width: 40em; margin: 0; color: #b9bbb4; }
.page-hero .tag { margin-bottom: 18px; }
.page-hero__hero { display: none; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 18px; font-size: .9rem; }
.breadcrumb a { color: #a9aba4; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #6b6d67; }
.breadcrumb [aria-current] { color: var(--green); }
@media (min-width: 960px) {
  .page-hero__inner { grid-template-columns: 1fr auto; }
  .page-hero__hero { display: block; height: 250px; width: auto; margin: -20px 0 calc(clamp(40px, 6vw, 72px) * -1); filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
}

/* ---------- Leistungen (Detailseite) ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.subnav__list { display: flex; gap: 8px; overflow-x: auto; list-style: none; padding-block: 12px; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
/* flex: none – sonst staucht Safari (iPhone) die Kacheln und der Text ragt über den runden Rand */
.subnav__list > li { flex: 0 0 auto; }
.subnav__list a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--bg-soft); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; }
.subnav__list a .icon { flex: none; width: 18px; height: 18px; color: var(--green-700); }
.subnav__list a:hover, .subnav__list a.is-active { background: var(--ink); color: #fff; }
.subnav__list a.is-active .icon, .subnav__list a:hover .icon { color: var(--green); }

.service-detail { display: grid; gap: 26px; padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 64px); }
.service-detail:last-of-type { border-bottom: 0; }
.service-detail__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink-2); }
.service-detail__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.service-detail__body { display: grid; gap: 8px; }
.service-visual { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; background: var(--green); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.service-visual::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.35) 0deg 3deg, transparent 3deg 12deg); }
.service-visual .halftone { inset: auto 0 0 auto; width: 70%; height: 60%; background-image: radial-gradient(circle, var(--ink) 30%, transparent 32%); opacity: .18; }
.service-visual__icon { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 33%; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 5px solid var(--ink); box-shadow: 9px 9px 0 var(--ink); color: var(--ink); }
@media (min-width: 640px) { .service-visual__icon { width: 21%; } }
.service-visual__icon .icon { width: 52%; height: 52%; }
.service-detail__body .service-detail__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--green-50); color: var(--green-700); margin-bottom: 14px; }
.service-detail__body .service-detail__icon .icon { width: 28px; height: 28px; }
.service-detail__body h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.service-detail__body > p { font-size: 1.06rem; }
.checklist { list-style: none; display: grid; gap: 10px; margin: 20px 0 26px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green); color: var(--ink); margin-top: 1px; }
.service-detail__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 640px) { .service-detail__media img, .service-visual { aspect-ratio: 1600 / 552; } }
@media (min-width: 960px) {
  .service-detail { gap: 36px; }
  .service-detail__body { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
  .service-detail__body .checklist { margin-top: 8px; }
}

.atp { display: grid; gap: 28px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.atp__logo { width: 220px; }
@media (min-width: 960px) { .atp { grid-template-columns: auto 1fr; gap: 56px; } .atp__logo { width: 260px; } }

/* ---------- Formular ---------- */
.form-layout { display: grid; gap: 28px; }
@media (min-width: 1024px) { .form-layout { grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; } .form-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.form-card { padding: clamp(22px, 4vw, 40px); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: 12px; font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field label, .field .label { display: block; margin-bottom: 6px; font-weight: 600; color: var(--ink); font-size: .95rem; }
.field label .opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.input, .field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field input[type="password"], .field input[type="number"], .field input[type="time"], .field input[type="url"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: #fbfbf9; border: 1.5px solid #d4d7cf; border-radius: 12px;
  font-size: 1rem; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1c1a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='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; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); background: #fff; box-shadow: 0 0 0 4px rgba(140, 191, 38, .22); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.field__error { display: none; margin-top: 6px; color: #b3000e; font-size: .88rem; font-weight: 600; }
.field.has-error .field__error { display: block; }
.field__hint { margin-top: 6px; font-size: .85rem; color: var(--muted); }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; background: var(--bg-soft); border-radius: 16px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px; padding: 8px 6px; border-radius: 12px; text-align: center; font-weight: 700; font-size: .9rem; color: var(--ink); cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease; margin: 0; line-height: 1.2; }
.segmented label .icon { width: 22px; height: 22px; color: var(--green-700); }
.segmented input:checked + label { background: #fff; box-shadow: var(--shadow-sm); outline: 2px solid var(--green); }
.segmented input:focus-visible + label { outline: 3px solid var(--green); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #d4d7cf; background: #fff; font-weight: 600; font-size: .92rem; color: var(--ink); cursor: pointer; transition: all .15s ease; margin: 0; }
.chips label .icon { width: 16px; height: 16px; display: none; }
.chips input:checked + label { background: var(--green); border-color: var(--green); }
.chips input:checked + label .icon { display: block; }
.chips input:focus-visible + label { outline: 3px solid var(--green); outline-offset: 2px; }

.radio-row { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.radio-row .check .icon { width: 18px; height: 18px; color: var(--green-700); margin-top: 2px; }

/* Datei-Upload im Kontaktformular */
.dropzone { position: relative; display: grid; justify-items: center; gap: 6px; padding: 22px 18px; border: 2px dashed #c9cdc2; border-radius: 16px; background: #fbfbf9; text-align: center; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; margin: 0; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--green-600); background: var(--green-50); }
.dropzone__icon { width: 30px; height: 30px; color: var(--green-700); transform: rotate(-35deg); }
.dropzone strong { color: var(--ink); }
.dropzone small { color: var(--muted); font-size: .84rem; line-height: 1.4; max-width: 46ch; }
.dropzone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }
.file-list { list-style: none; display: grid; gap: 6px; margin-top: 10px; }
.file-list:empty { display: none; }
.file-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border-radius: 10px; background: var(--bg-soft); font-size: .92rem; }
.file-list__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 600; }
.file-list__size { color: var(--muted); white-space: nowrap; }
.file-list__weg { width: 32px; height: 32px; border: 0; border-radius: 8px; background: #fff; font-size: 1.2rem; line-height: 1; color: var(--muted); }
.file-list__weg:hover { color: #b3000e; }

/* Stellen ohne Bild */
.job__visual { position: relative; display: grid; place-items: center; aspect-ratio: 1600 / 552; overflow: hidden; background: var(--green); }
.job__visual::before { content: ""; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.35) 0deg 3deg, transparent 3deg 12deg); }
.job__visual .service-visual__icon { width: 21%; }
.slide__img--cover { aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 640px) { .slide__img--cover { aspect-ratio: 1600 / 552; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--text); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green-700); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 8px; }
.form-actions small { color: var(--muted); }
.form-alert { display: none; padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.form-alert.is-visible { display: block; }
.form-alert--error { background: #fdecee; color: #8f000b; }
.form-success { text-align: center; padding: 20px 0 6px; }
.form-success img { width: 150px; margin: 0 auto 10px; }
.form-success h2 { margin-bottom: 8px; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(0,0,0,.2); border-top-color: var(--ink); animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.aside-card { padding: 26px; border-radius: var(--radius-lg); background: var(--ink); color: #c9cbc4; position: relative; overflow: hidden; }
.aside-card h3 { color: #fff; }
.aside-card .contact-lines a, .aside-card .contact-lines span { color: #fff; }
.aside-card .contact-lines .icon { color: var(--green); }
.aside-card .hours th, .aside-card .hours td { border-color: rgba(255,255,255,.1); color: #c9cbc4; }
.aside-card .hours th { color: #fff; }
.aside-card .hours tr.is-today th, .aside-card .hours tr.is-today td { color: var(--green); }
.qr { display: none; align-items: center; gap: 16px; margin-top: 18px; padding: 14px; border-radius: 16px; background: #fff; color: var(--ink); }
.qr img { width: 96px; flex: none; }
.qr p { margin: 0; font-size: .9rem; line-height: 1.4; }
@media (min-width: 1024px) and (hover: hover) { .qr { display: flex; } }

/* ---------- Jobs ---------- */
.jobs { display: grid; gap: 24px; }
.job { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.job__media img { width: 100%; aspect-ratio: 1600 / 552; object-fit: cover; }
.job__body { padding: clamp(22px, 4vw, 34px); display: flex; flex-direction: column; flex: 1; }
.job__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--green-50); color: var(--green-700); font-weight: 700; font-size: .82rem; }
.pill .icon { width: 15px; height: 15px; }
.job h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
.job h3 { font-size: 1rem; margin: 18px 0 8px; }
.job .checklist { margin: 0 0 6px; gap: 8px; }
.job__actions { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 960px) { .jobs { grid-template-columns: 1fr 1fr; } }

.benefits { display: grid; gap: 16px; list-style: none; }
.benefit { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.benefit .feature__icon { background: var(--green); color: var(--ink); }
.benefit h3 { font-size: 1rem; margin: 2px 0 2px; }
.benefit p { margin: 0; color: var(--muted); font-size: .93rem; }
@media (min-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .benefits { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Rechtstexte ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-top: 2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose address { font-style: normal; }
.prose .note { padding: 14px 18px; border-left: 4px solid var(--green); background: var(--green-50); border-radius: 0 12px 12px 0; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--ink); color: #a9aba4; font-size: .95rem; }
.site-footer__grid { display: grid; gap: 36px; padding-block: clamp(48px, 8vw, 80px); }
.site-footer .brand .logo-svg, .site-footer .brand .logo-img { height: 44px; }
.site-footer__brand p { margin: 18px 0 22px; max-width: 30em; }
.site-footer__title { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer__list { list-style: none; display: grid; gap: 12px; }
.site-footer__list li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__list .icon { color: var(--green); margin-top: 3px; }
.site-footer a { color: #d8dad3; text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.site-footer__hours { margin: 0; display: grid; gap: 8px; }
.site-footer__hours div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 8px; }
.site-footer__hours dt { color: #fff; font-weight: 600; white-space: nowrap; }
.site-footer__hours dd { margin: 0; text-align: right; }
.site-footer__note { margin: 12px 0 0; font-size: .85rem; }
.site-footer__links { list-style: none; display: grid; gap: 8px; }
.atp-badge { display: inline-flex; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; border-radius: 16px; background: #fff; color: var(--ink) !important; font-weight: 700; font-size: .82rem; line-height: 1.25; }
.atp-badge img { width: 84px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 20px; }
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer__bottom .link-button { color: #d8dad3; text-decoration: none; font-size: inherit; }
.site-footer__bottom .link-button:hover { color: var(--green); }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; } }

/* ---------- Aktionsleiste (Handy) ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
  display: grid; grid-template-columns: repeat(4, 1fr);
  height: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(20, 22, 18, .08);
}
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink); text-decoration: none; font-size: .74rem; font-weight: 700; }
.action-bar a .icon { width: 24px; height: 24px; color: var(--green-700); }
.action-bar a.action-bar__primary { background: var(--green); }
.action-bar a.action-bar__primary .icon { color: var(--ink); }
@media (min-width: 960px) { .action-bar { display: none; } }

/* ---------- Cookie-Einwilligung ---------- */
.consent { position: fixed; z-index: 1500; left: 0; right: 0; bottom: 0; padding: 10px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
.consent[hidden] { display: none; }
.consent__box { max-width: 520px; max-height: calc(100vh - 20px); overflow-y: auto; padding: 22px; border-radius: 20px; background: #fff; box-shadow: 0 20px 70px rgba(0, 0, 0, .3); border: 1px solid var(--line); animation: consentIn .35s ease; }
@keyframes consentIn { from { transform: translateY(20px); opacity: 0; } }
.consent__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.consent__head h2 { font-size: 1.2rem; margin: 0; }
.consent__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green-50); color: var(--green-700); }
.consent p { font-size: .92rem; margin-bottom: 14px; }
.consent__details { display: grid; gap: 4px; margin-bottom: 14px; padding: 6px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent__actions .btn { min-height: 46px; padding: .6em 1em; font-size: .95rem; white-space: normal; }
.consent__actions [data-consent="details"], .consent__actions [data-consent="speichern"] { grid-column: 1 / -1; }
@media (min-width: 640px) { .consent { left: 20px; bottom: 20px; right: auto; padding: 0; } }

.switch { display: flex; align-items: center; gap: 14px; padding: 10px 0; cursor: pointer; }
.switch input { position: absolute; opacity: 0; }
.switch__ui { position: relative; flex: none; width: 48px; height: 28px; border-radius: 999px; background: #cfd2ca; transition: background-color .2s ease; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s ease; }
.switch input:checked + .switch__ui { background: var(--green-600); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); }
.switch input:disabled + .switch__ui { opacity: .6; }
.switch input:focus-visible + .switch__ui { outline: 3px solid var(--green); outline-offset: 2px; }
.switch__text { display: grid; line-height: 1.3; }
.switch__text strong { color: var(--ink); font-size: .95rem; }
.switch__text small { color: var(--muted); font-size: .83rem; }

/* ---------- Team ---------- */
.page-hero--buehne { padding-bottom: calc(clamp(40px, 6vw, 72px) + 56px); }
.team-stage { position: relative; z-index: 2; margin-top: -56px; }
.team-stage__bild { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink); }
.team-stage__bild img { display: block; width: 100%; height: auto; }
.team-stage__blase {
  position: absolute; left: clamp(12px, 3vw, 28px); top: clamp(12px, 3vw, 26px); max-width: 70%;
  padding: .45em .9em; background: var(--green); color: var(--ink); box-shadow: 4px 4px 0 var(--ink);
  font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2;
  font-size: clamp(.78rem, 2.2vw, 1.15rem); transform: rotate(-2deg);
}
/* Flex statt Grid: eine unvollständige letzte Reihe steht mittig */
.team-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.team-card { flex: 0 1 270px; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow .25s ease; }
.team-card:hover { box-shadow: var(--shadow); }
.team-card__bild {
  position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: center; height: 290px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, var(--green-100) 0%, var(--green-50) 55%, #fff 100%);
}
.team-card__bild .halftone { z-index: -1; right: -10px; top: -10px; width: 62%; height: 70%; opacity: .45; -webkit-mask-image: linear-gradient(225deg, #000 0%, transparent 70%); mask-image: linear-gradient(225deg, #000 0%, transparent 70%); }
.team-card__bild img { height: 93%; width: auto; max-width: 94%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 14px 14px rgba(20, 22, 18, .22)); transition: transform .35s ease; transform-origin: bottom center; }
.team-card:hover .team-card__bild img { transform: scale(1.04) rotate(-1deg); }
.team-card__bild--foto img { height: 100%; width: 100%; max-width: none; object-fit: cover; object-position: center top; filter: none; }
.team-card__platzhalter { display: grid; place-items: center; width: 120px; height: 120px; margin-bottom: 40px; border-radius: 50%; background: #fff; color: var(--green-700); box-shadow: var(--shadow-sm); }
.team-card__platzhalter .icon { width: 56px; height: 56px; }
.team-card__text { padding: 18px 20px 22px; }
.team-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.team-card__rolle { display: inline-block; padding: .3em .85em; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .01em; }
.team-card p { margin: 12px 0 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
@media (max-width: 560px) {
  .team-grid { gap: 12px; }
  .team-card { flex-basis: calc(50% - 6px); }
  .team-card__bild { height: 200px; }
  .team-card__text { padding: 12px 12px 14px; }
  .team-card h3 { font-size: 1rem; }
  .team-card__rolle { font-size: .72rem; }
  .team-card p { font-size: .84rem; }
}
.team-cta { display: grid; gap: 20px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.team-cta h2 { margin: 12px 0 10px; }
.team-cta p { margin: 0; color: var(--muted); max-width: 38em; }
.team-cta__figur { justify-self: center; height: 220px; width: auto; filter: drop-shadow(0 16px 18px rgba(20, 22, 18, .22)); }
.team-cta__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
@media (min-width: 760px) {
  .team-cta { grid-template-columns: auto 1fr; gap: 40px; }
  .team-cta--ohne-figur { grid-template-columns: 1fr; }
  .team-cta__figur { height: 260px; margin: -10px 0 calc(clamp(24px, 4vw, 44px) * -1); align-self: end; }
}

/* ---------- Seit 1983: Siegel, Zahlen, Zeitstrahl ---------- */
/* Siegel skaliert über font-size, alle Maße in em */
.siegel {
  position: relative; display: grid; place-content: center; justify-items: center; width: 7.6em; aspect-ratio: 1;
  font-size: 15px; border-radius: 50%; background: var(--green); color: var(--ink); border: .2em solid var(--ink);
  box-shadow: .32em .32em 0 var(--ink); transform: rotate(-10deg); text-align: center; line-height: 1; font-style: italic;
}
.siegel::before { content: ""; position: absolute; inset: .38em; border-radius: 50%; border: .13em dashed rgba(27, 28, 26, .55); pointer-events: none; }
.siegel__oben, .siegel__unten { font-weight: 900; text-transform: uppercase; font-size: .74em; letter-spacing: .05em; }
.siegel__zahl { font-weight: 900; font-style: normal; font-size: 2.7em; letter-spacing: -.03em; margin: .06em 0 .02em; }
.siegel--jubilaeum { background: var(--yellow); }
.siegel--jubilaeum .siegel__oben { font-size: .8em; }
.hero__siegel { position: absolute; z-index: 3; left: 0; bottom: 14%; font-size: 12px; animation: siegel-rein .7s cubic-bezier(.2, 1.4, .4, 1) .35s both; }
@media (min-width: 640px) { .hero__siegel { font-size: 14px; } }
@media (min-width: 960px) { .hero__siegel { font-size: 16px; left: -6%; bottom: 12%; } }
@keyframes siegel-rein { from { opacity: 0; transform: rotate(-40deg) scale(.4); } to { opacity: 1; transform: rotate(-10deg) scale(1); } }
.team-stage__siegel { position: absolute; right: clamp(10px, 3vw, 28px); top: clamp(10px, 3vw, 26px); font-size: clamp(8.5px, 1.45vw, 15px); }

/* overflow: clip statt hidden, damit die linke Spalte am Computer mitlaufen (sticky) kann */
.erfahrung { overflow: hidden; overflow: clip; isolation: isolate; }
.erfahrung .halftone { z-index: -1; left: 0; bottom: 0; width: 50%; height: 70%; opacity: .22; -webkit-mask-image: linear-gradient(45deg, #000 0%, transparent 70%); mask-image: linear-gradient(45deg, #000 0%, transparent 70%); }
/* Handy/Tablet untereinander; Computer: Text + Zahlen links, Zeitstrahl rechts daneben */
.erfahrung__grid { display: grid; gap: clamp(48px, 8vw, 64px); }
.erfahrung__text .tag { margin-bottom: 18px; }
.erfahrung__text h2 { margin-bottom: .5em; }
.erfahrung__text p { color: #b9bbb4; font-size: 1.05rem; }
.erfahrung__text strong { color: #fff; }
.erfahrung__text .zahlen__wert { color: var(--green); }
.zahlen { list-style: none; margin: 26px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.zahlen:last-child { margin-bottom: 0; }
.zahlen li { padding: 16px 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.zahlen__wert { display: block; font-weight: 900; font-size: clamp(1.9rem, 4.4vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.zahlen li span { display: block; margin-top: 8px; color: #c9cbc4; font-weight: 600; font-size: .86rem; line-height: 1.3; }

.meilensteine__kopf { margin-bottom: 26px; }
.meilensteine__kopf .tag { margin-bottom: 14px; }
.meilensteine__titel { margin: 0; color: #fff; font-size: clamp(1.45rem, 3.4vw, 2rem); line-height: 1.15; }
/* Zeitstrahl: senkrechte Linie links, Jahreskreise darauf. Die Linie wird je Eintrag von der Kreismitte
   bis zum nächsten Eintrag gezogen und endet so genau am letzten Kreis (left = Kreismitte − 1,5 px, bottom = −Abstand). */
.zeitstrahl { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.zeitstrahl__eintrag { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 14px; align-items: start; }
.zeitstrahl__eintrag:not(:last-child)::before { content: ""; position: absolute; left: 28.5px; top: 30px; bottom: -14px; width: 3px; background: rgba(140, 191, 38, .6); }
.zeitstrahl__jahr { position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--ink); border: 3px solid var(--green); color: #fff; font-weight: 900; font-size: .95rem; }
.zeitstrahl__eintrag--heute .zeitstrahl__jahr { background: var(--green); color: var(--ink); box-shadow: 0 0 0 6px rgba(140, 191, 38, .18); }
.zeitstrahl__inhalt { padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); }
.zeitstrahl__eintrag--heute .zeitstrahl__inhalt { border-color: rgba(140, 191, 38, .55); background: rgba(140, 191, 38, .1); }
.zeitstrahl h4 { margin: 0 0 4px; font-size: 1.04rem; color: #fff; line-height: 1.3; }
.zeitstrahl p { margin: 0; color: #b9bbb4; font-size: .92rem; line-height: 1.5; }
@media (min-width: 640px) {
  .zahlen { grid-template-columns: repeat(4, 1fr); }
  .zeitstrahl { gap: 16px; }
  .zeitstrahl__eintrag { grid-template-columns: 72px minmax(0, 1fr); gap: 18px; }
  .zeitstrahl__eintrag:not(:last-child)::before { left: 34.5px; top: 36px; bottom: -16px; }
  .zeitstrahl__jahr { width: 72px; height: 72px; font-size: 1.06rem; }
  .zeitstrahl__inhalt { padding: 14px 18px; }
  .zeitstrahl h4 { font-size: 1.08rem; }
}
@media (min-width: 980px) {
  .erfahrung__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(48px, 5vw, 72px); align-items: start; }
  .erfahrung__grid--ohne-zeitstrahl { grid-template-columns: minmax(0, 760px); }
  .erfahrung__grid:not(.erfahrung__grid--ohne-zeitstrahl) .zahlen { grid-template-columns: repeat(2, 1fr); }
  .meilensteine__kopf { margin-bottom: 22px; }
  .zeitstrahl { gap: 12px; }
  .zeitstrahl__eintrag { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .zeitstrahl__eintrag:not(:last-child)::before { left: 30.5px; top: 32px; bottom: -12px; }
  .zeitstrahl__jahr { width: 64px; height: 64px; font-size: 1rem; }
  .zeitstrahl__inhalt { padding: 12px 18px; }
}
/* Linke Spalte bleibt beim Scrollen stehen, solange der Zeitstrahl rechts läuft (nur bei genug Fensterhöhe) */
@media (min-width: 980px) and (min-height: 760px) {
  .erfahrung__text { position: sticky; top: 104px; }
}

/* ---------- Einblend-Animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__siegel { animation: none; }
}

@media print {
  .topbar, .site-header, .action-bar, .consent, .map, .slider__controls { display: none !important; }
  body { padding: 0; }
}
