/* =====================================================================
   L&G KAROSSERIEZENTRUM – Gestaltung der gesamten Website
   ---------------------------------------------------------------------
   Farben, Schriften und Abstände sind ganz oben als "Variablen" definiert.
   Wer z. B. das Türkis ändern will, ändert nur --brand.
   ===================================================================== */

/* ---------- Schriften (lokal gespeichert, keine Google-Verbindung) ---------- */
@font-face { font-family: "Oswald"; font-weight: 300; font-display: swap; src: url("../fonts/oswald-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 400; font-display: swap; src: url("../fonts/oswald-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 500; font-display: swap; src: url("../fonts/oswald-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Oswald"; font-weight: 600; font-display: swap; src: url("../fonts/oswald-latin-600-normal.woff2") format("woff2"); }

/* ---------- Farben & Grundwerte (CI) ---------- */
:root {
  --brand:       #0095b7;   /* L&G-Türkis */
  --brand-2:     #3db3cb;   /* helles Türkis aus dem Logo-Verlauf */
  --brand-dark:  #00637a;   /* Petrol */
  --brand-deep:  #00323d;   /* sehr dunkles Petrol */
  --brand-tint:  #e3f3f7;

  --ink:   #12181b;          /* Anthrazit (dunkle Flächen) */
  --ink-2: #1b2327;
  --ink-3: #253035;
  --text:  #1d2326;
  --muted: #5d676c;
  --line:  #e2e7ea;
  --soft:  #f3f6f7;
  --white: #ffffff;
  --star:  #f5b301;

  --font: "Oswald", "Arial Narrow", sans-serif;
  --r-lg: 28px;
  --r:    18px;
  --r-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(10, 20, 26, .35);
  --wrap: 1240px;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
[id] { scroll-margin-top: 90px; }
body { margin: 0; font: 300 1.08rem/1.6 var(--font); letter-spacing: .012em; color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); }
h1, h2, h3 { font-family: var(--font); font-weight: 500; line-height: 1.16; margin: 0 0 .5em; text-transform: uppercase; letter-spacing: .005em; }
h1 { font-size: clamp(3rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.35rem; letter-spacing: .02em; }
h1 em, h2 em { font-style: normal; color: var(--brand); }
p { margin: 0 0 1em; overflow-wrap: break-word; }
.lead { font-size: 1.18rem; color: var(--muted); }
.ico { width: 1.25em; height: 1.25em; flex: none; }
svg { flex: none; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.center { text-align: center; margin-top: 3rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 400; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow .ico { display: none; }
.eyebrow--light { color: #bfeaf3; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .85em 1.5em; border-radius: 999px; border: 1.5px solid transparent; font: 400 1rem/1.1 var(--font); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .ico { width: 1.15em; height: 1.15em; }
.btn--sm { padding: .7em 1.2em; font-size: .9rem; }
.btn--lg { padding: 1.05em 1.9em; font-size: 1.05rem; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 12px 30px -12px rgba(0,149,183,.8); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--glass { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn--white { background: #fff; color: var(--brand-dark); }
.btn--white:hover { background: var(--brand-tint); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn--outline .ico { color: var(--star); }

.stars { color: var(--star); letter-spacing: .1em; }
.stars--lg { font-size: 1.5rem; }

.checks { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .4rem; }
.checks li { position: relative; padding-left: 1.6rem; }
.checks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 12px; height: 7px; border-left: 2px solid var(--brand-2); border-bottom: 2px solid var(--brand-2); transform: rotate(-45deg); }

/* ---------- Kopfzeile (dunkel, schwebend) ---------- */
.header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(255,255,255,.06); }
/* Glas-Effekt als eigene Ebene – sonst würde das Handy-Menü (position: fixed) im Kopf "eingesperrt" */
.header::before { content: ""; position: absolute; inset: 0 0 -1px 0; z-index: -1; background: rgba(18, 24, 27, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.header__in { display: flex; align-items: center; gap: 2rem; min-height: 80px; }
.logo img { width: 215px; }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a { display: block; white-space: nowrap; padding: .6rem .9rem; color: #d9e2e5; text-decoration: none; font-weight: 400; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; border-radius: 10px; transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }
.nav__drop { display: flex; align-items: center; }
.nav__drop > a { padding-right: .1rem; }
.nav__toggle { background: none; border: 0; padding: .4rem; cursor: pointer; color: #9fb0b6; }
.nav__toggle svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; }
.nav__sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; list-style: none; margin: 0; padding: .5rem; background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav__sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__drop:hover .nav__sub, .nav__drop:focus-within .nav__sub, .nav__drop.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__sub a { text-transform: none; letter-spacing: .02em; font-weight: 300; }
.nav__sub a:hover { background: rgba(255,255,255,.06); }
.nav .nav__cta-mobile { display: none; }

.header__actions { display: flex; align-items: center; gap: 1rem; }
.header__phone { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; font-weight: 400; letter-spacing: .04em; }
.header__phone svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(0,149,183,.18); color: var(--brand-2); fill: currentColor; }
.header__phone small { display: block; font-weight: 300; font-size: .72rem; color: #8fa1a8; letter-spacing: .08em; text-transform: uppercase; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: transparent; cursor: pointer; padding: 13px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (großes Titelbild) ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; min-height: min(calc(100vh - 80px), 820px); display: flex; align-items: center; padding: 5rem 0; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12,17,19,.96) 0%, rgba(12,17,19,.88) 32%, rgba(12,17,19,.45) 58%, rgba(12,17,19,.1) 80%),
    linear-gradient(0deg, rgba(12,17,19,.75) 0%, transparent 35%),
    radial-gradient(circle at 15% 20%, rgba(0,149,183,.28), transparent 45%); }
.hero__grid { width: min(var(--wrap), 100% - 40px); display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; }
.hero__text { max-width: 640px; }
.hero .eyebrow { color: var(--brand-2); }
.hero h1 { text-shadow: 0 4px 30px rgba(0,0,0,.35); }
/* Kleine Zeile über dem Slogan gehört für Google mit zur Hauptüberschrift (H1) */
.hero h1 .eyebrow { display: flex; width: auto; max-width: 100%; margin-bottom: 1.4rem; font-family: var(--font); line-height: 1.4; text-shadow: none; }
/* Sehr schmale Displays (z. B. Außenbildschirm von Klapphandys): kleine Zeile darf umbrechen */
@media (max-width: 420px) { .hero h1 .eyebrow { letter-spacing: .12em; font-size: .78rem; } .hero h1 .eyebrow::before { flex: none; } }
.hero__lead { font-size: 1.2rem; color: #cdd7da; max-width: 46ch; }
.hero__rating { display: inline-flex; align-items: center; gap: 1rem; margin-top: 2.4rem; padding: .7rem 1.3rem .7rem .7rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); color: #d6dfe2; text-decoration: none; font-size: .92rem; line-height: 1.3; transition: background .2s; }
.hero__rating:hover { background: rgba(255,255,255,.16); }
.hero__rating strong { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.3rem; font-weight: 500; }

.hero__cards { display: grid; gap: .9rem; justify-items: end; }
/* Glas-Look wie die Kopfleiste */
.float-card { display: flex; align-items: center; gap: .8rem; padding: .85rem 1.2rem .85rem .85rem; border-radius: var(--r); background: rgba(18,24,27,.5); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); color: #fff; box-shadow: 0 18px 40px rgba(0,0,0,.25); font-size: .85rem; line-height: 1.3; animation: floaty 6s ease-in-out infinite; }
.float-card strong { display: block; font-weight: 500; font-size: .98rem; text-transform: uppercase; letter-spacing: .03em; }
.float-card small { color: #b9c6cb; font-size: .82rem; }
.float-card__logo { display: block; width: auto; height: 50px; flex: none; padding: 3px; border-radius: 6px; background: #fff; }
.float-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: #fff; }
/* Fachbetrieb-Siegel: ohne Bewegung, oben rechts in der Ecke des Titelbilds
   (unten rechts sitzt schon der Chat-Knopf) */
.float-card--siegel { animation: none; }
/* Hol- & Bringservice: weiße Karte */
.float-card--b { background: rgba(255,255,255,.94); border-color: transparent; color: var(--text); backdrop-filter: none; -webkit-backdrop-filter: none; }
.float-card--b small { color: var(--muted); }
@media (min-width: 961px) {
  /* bündig mit der rechten Inhaltskante (wie "Schaden melden" in der Kopfleiste) – auch auf Ultrawide */
  .hero .float-card--siegel { position: absolute; top: 1.75rem; right: calc((100% - min(var(--wrap), 100% - 40px)) / 2); }
}
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* ---------- Laufband (dezent) ---------- */
.ticker { position: relative; background: var(--ink-2); color: #9fb0b6; overflow: hidden; padding: .7rem 0; border-top: 1px solid rgba(61,179,203,.25); border-bottom: 1px solid rgba(255,255,255,.04); }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--ink-2), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--ink-2), transparent); }
.ticker__track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 2.4rem; padding: 0 1.2rem; font-size: .9rem; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.ticker span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); margin-right: -1.2rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #b9c6cb; position: relative; overflow: hidden; isolation: isolate; }
.section--dark::before { content: ""; position: absolute; z-index: -1; width: 800px; height: 800px; left: -300px; bottom: -400px; background: radial-gradient(circle, rgba(0,149,183,.22), transparent 60%); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #a9b7bc; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 2rem 4rem; margin-bottom: 3.2rem; flex-wrap: wrap; }
.head h2 { margin: 0; }
.head__aside { max-width: 42ch; color: var(--muted); margin: 0; font-size: 1.1rem; }
.head--center { justify-content: center; text-align: center; }
.head--center .eyebrow::before { display: none; }

/* ---------- Leistungen (Bento-Raster) ---------- */
/* Zeilen wachsen mit dem Inhalt – nie überlappende Kacheln */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(300px, auto); gap: 1.2rem; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--ink-2); }
.tile--big { grid-column: span 2; grid-row: span 2; padding: 2.4rem; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,16,19,.05) 0%, rgba(10,16,19,.35) 40%, rgba(10,16,19,.92) 100%); transition: background .4s; }
.tile:hover .tile__img { transform: scale(1.06); }
.tile:hover::before { background: linear-gradient(180deg, rgba(0,50,61,.15) 0%, rgba(0,50,61,.5) 40%, rgba(0,40,50,.95) 100%); }
.tile__tag { position: absolute; top: 1.2rem; left: 1.2rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--brand-dark); font-size: .8rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.tile__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brand); color: #fff; margin-bottom: 1rem; }
.tile__icon .ico { width: 26px; height: 26px; }
.tile h3 { font-size: 1.5rem; margin-bottom: .35rem; }
.tile--big h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.tile p { margin: 0; color: #d3dde0; font-size: 1rem; max-width: 42ch; }
.tile--big p { font-size: 1.12rem; }
.tile__arrow { position: absolute; top: 1.1rem; right: 1.1rem; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); transition: background .25s, transform .25s; }
.tile:hover .tile__arrow { background: var(--brand); transform: rotate(-45deg); }
.checks--light { color: #e6eef0; }

.tile--cta { background: linear-gradient(140deg, var(--brand) 0%, var(--brand-dark) 100%); justify-content: center; align-items: flex-start; }
.tile--cta::before { display: none; }
.tile--cta .tile__icon { background: rgba(255,255,255,.18); }
.tile--cta p { color: #dff3f8; margin-bottom: 1.2rem; }

/* ---------- Warum wir ---------- */
.why { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.why__media { position: relative; }
.why__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.why__badge { position: absolute; right: -24px; bottom: 40px; max-width: 220px; padding: 1.3rem 1.4rem; border-radius: var(--r); background: var(--ink); color: #b9c6cb; box-shadow: var(--shadow); font-size: .92rem; line-height: 1.35; }
.why__badge strong { display: block; color: #fff; font-size: 1.8rem; font-weight: 500; text-transform: uppercase; margin-bottom: .2rem; }
.features { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem 2rem; }
.features li { display: flex; gap: 1rem; }
.features__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: #fff; color: var(--brand); box-shadow: 0 10px 25px -12px rgba(0,60,75,.35); flex: none; }
.features__icon .ico { width: 24px; height: 24px; }
.features h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.features p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Ablauf ---------- */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; }
.flow::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, rgba(61,179,203,.6) 0 8px, transparent 8px 16px); }
.flow li { position: relative; text-align: center; padding: 0 .6rem; }
.flow__icon { position: relative; display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 1.4rem; border-radius: 50%; background: var(--ink-3); border: 1px solid rgba(61,179,203,.4); color: var(--brand-2); box-shadow: 0 0 0 8px var(--ink); transition: .25s; }
.flow__icon .ico { width: 30px; height: 30px; }
.flow li:hover .flow__icon { background: var(--brand); color: #fff; }
.flow h3 { font-size: 1.3rem; }
.flow p { font-size: 1rem; color: #a3b2b7; margin: 0; }

/* ---------- Geschäftskunden ---------- */
.b2b { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; padding: clamp(2.2rem, 5vw, 4.5rem); border-radius: var(--r-lg); color: #dff3f8; overflow: hidden; isolation: isolate; background: linear-gradient(130deg, var(--brand-dark) 0%, var(--brand-deep) 100%); }
.b2b::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(61,179,203,.45), transparent 65%); }
.b2b h2 { color: #fff; }
.b2b__text > p { font-size: 1.1rem; max-width: 56ch; }
.b2b__groups { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.b2b__groups span { padding: .45rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; }
.b2b__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.b2b__list li { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: var(--r); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(6px); color: #fff; font-size: 1.05rem; }
.b2b__list .ico { width: 26px; height: 26px; color: var(--brand-2); }

/* ---------- Referenzen (Slider) ---------- */
.slider-nav { display: flex; gap: .6rem; }
.slider-nav__btn { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: .2s; }
.slider-nav__btn svg { width: 22px; height: 22px; }
.slider-nav__btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
/* Slider exakt so breit wie der Inhalt: links und rechts bündig, 3 Karten (Tablet 2, Handy 1 + Anschnitt) */
.slider { display: flex; gap: 1.2rem; overflow-x: auto; scroll-snap-type: x mandatory; width: min(var(--wrap), 100% - 40px); margin-inline: auto; padding: 0 0 2rem; scrollbar-width: none; }
.slider .bogen { flex: 0 0 calc((100% - 2.4rem) / 3); }
@media (max-width: 960px) { .slider .bogen { flex-basis: calc((100% - 1.2rem) / 2); } }
@media (max-width: 640px) { .slider { width: 100%; padding-inline: 16px; scroll-padding-inline: 16px; } .slider .bogen { flex-basis: 82%; } }
.slider::-webkit-scrollbar { display: none; }
/* Bilderbogen: großes Titelbild + kleine Vorschaubilder der Serie */
.bogen { flex: 0 0 min(400px, 82vw); margin: 0; scroll-snap-align: start; background: #fff; border-radius: var(--r-lg); padding: .7rem; box-shadow: 0 18px 40px -26px rgba(10,20,26,.45); }
.bogen__open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; }
.bogen__main { display: block; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; }
.bogen__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.bogen__open:hover .bogen__main img { transform: scale(1.04); }
.bogen__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .5rem; }
.bogen__thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
.bogen__count { position: absolute; top: .8rem; right: .8rem; display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 999px; background: rgba(12,17,19,.75); color: #fff; font-size: .85rem; letter-spacing: .05em; backdrop-filter: blur(6px); }
.bogen__count svg { width: 16px; height: 16px; }
.bogen figcaption { padding: .9rem .5rem .4rem; color: var(--muted); font-size: .98rem; }
.bogen figcaption strong { display: block; color: var(--text); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: 1.1rem; }

/* Vollbildansicht (Lightbox) */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: auto 1fr auto; background: rgba(8,12,14,.96); color: #fff; animation: chatIn .2s ease-out; }
.lightbox[hidden] { display: none; }
.lightbox__top { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; }
.lightbox__title { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 400; }
.lightbox__counter { color: #8fa1a8; }
.lightbox__close { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox__stage { position: relative; overflow: hidden; display: grid; place-items: center; min-height: 0; padding: 0 4.5rem; }
.lightbox__stage img { max-width: 100%; max-height: calc(100dvh - 180px); object-fit: contain; border-radius: 12px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.lightbox__nav:hover { background: var(--brand); }
.lightbox__nav svg { width: 24px; height: 24px; }
.lightbox__nav--prev { left: 1rem; } .lightbox__nav--next { right: 1rem; }
.lightbox__strip { display: flex; justify-content: center; gap: .5rem; padding: 1rem; overflow-x: auto; }
.lightbox__strip button { flex: none; width: 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: none; cursor: pointer; opacity: .55; }
.lightbox__strip button[aria-current="true"] { border-color: var(--brand-2); opacity: 1; }
.lightbox__strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .lightbox__stage { padding: 0 .5rem; } .lightbox__nav { width: 44px; height: 44px; background: rgba(0,0,0,.5); } }

/* ---------- Bewertungen + Partner ---------- */
/* Bewertungsblock als Einheit mittig auf der Seite */
.reviews { display: grid; grid-template-columns: 320px minmax(0, 560px); justify-content: center; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.reviews__score { display: grid; justify-items: center; gap: .3rem; padding: 2.6rem 2rem; border-radius: var(--r-lg); background: var(--ink); color: #b9c6cb; text-align: center; box-shadow: var(--shadow); }
.reviews__g { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-2); }
.reviews__score strong { font-size: 6rem; line-height: 1; font-weight: 500; color: #fff; }
.reviews__text p { color: var(--muted); font-size: 1.12rem; max-width: 58ch; }
.partners { margin-top: clamp(4rem, 8vw, 6rem); padding-top: 2.6rem; border-top: 1px solid var(--line); text-align: center; }
.partners p { font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.8rem; }
/* Logo-Raster: 3 links · Innungssiegel fest in der Mitte · 3 rechts – alle Felder gleich groß */
.partners__logos { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr repeat(3, 1fr); align-items: center; gap: 1.5rem 2rem; }
.partners__logos > * { display: flex; align-items: center; justify-content: center; height: 100px; min-width: 0; }
/* --w je Logo (in index.php) gleicht die optische Größe unterschiedlich geformter Logos aus */
.partners__logos img { display: block; max-width: 100%; width: var(--w, 120px); height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .25s; }
.partners__logos a:hover img { filter: none; opacity: 1; }
.partners__logos .partners__siegel { height: 170px; }
.partners__siegel img { width: 170px; filter: none; opacity: 1; }
@media (max-width: 960px) {
  .partners__logos { grid-template-columns: repeat(6, 1fr); gap: 1.2rem 1.4rem; }
  .partners__logos .partners__siegel { grid-column: 1 / -1; order: -1; height: 150px; }
  .partners__siegel img { width: 150px; }
}
@media (max-width: 640px) { .partners__logos { grid-template-columns: repeat(3, 1fr); } .partners__logos > * { height: 76px; } .partners__logos img { width: calc(var(--w, 120px) * .72); } }

/* ---------- Einzugsgebiet + Besuch ---------- */
.area { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.cities { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.8rem 0; }
.cities a { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: #fff; text-decoration: none; letter-spacing: .06em; text-transform: uppercase; transition: .2s; }
.cities a .ico { color: var(--brand-2); width: 1.1em; height: 1.1em; }
.cities a:hover { background: var(--brand); border-color: var(--brand); }
.cities a:hover .ico { color: #fff; }
.places { font-size: .92rem; color: #7f9097; line-height: 1.9; }
.visit { border-radius: var(--r-lg); overflow: hidden; background: #fff; color: var(--text); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.visit__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.visit__body { padding: 1.8rem 2rem 2rem; }
.visit h3 { color: var(--text) !important; font-size: 1.6rem; }
.visit__addr { display: flex; gap: .6rem; }
.visit__addr .ico { color: var(--brand); margin-top: .2em; }
.visit .btn-row { margin-top: 1.4rem; }

.hours { margin: 1rem 0 0; display: grid; gap: .4rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .4rem; }
.hours dt { font-weight: 400; }
.hours dd { margin: 0; }

/* ---------- Fußzeile ---------- */
.footer { background: #0c1113; color: #8d9da3; font-size: 1rem; padding-top: 4.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer h3 { color: #fff; font-size: 1.1rem; letter-spacing: .1em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer a { color: #c6d1d5; text-decoration: none; }
.footer a:hover { color: var(--brand-2); }
.footer address { font-style: normal; line-height: 1.7; }
.footer__brand img { width: 190px; margin-bottom: 1.2rem; }
.footer__social { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin-top: 1rem; }
.footer .hours div { border-color: rgba(255,255,255,.08); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,.07); padding: 1.4rem 0 2rem; font-size: .9rem; }
.footer__bottom nav { display: flex; gap: 1.4rem; padding-right: 210px; }

/* ---------- Anfrage-Assistent ---------- */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: flex; align-items: center; gap: .6rem; padding: 1rem 1.4rem; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font: 400 1rem var(--font); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 14px 34px -10px rgba(0,99,122,.75); cursor: pointer; transition: transform .2s, background .2s; }
.chat-fab:hover { transform: translateY(-2px); background: var(--brand-dark); }
.chat-fab svg { width: 22px; height: 22px; fill: currentColor; }

.chat { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100dvh - 44px)); display: flex; flex-direction: column; background: #fff; border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.5); overflow: hidden; animation: chatIn .25s ease-out; letter-spacing: .01em; }
.chat[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.chat__head { display: flex; align-items: center; gap: .75rem; padding: .95rem 1rem; background: var(--ink); color: #fff; }
.chat__head img { border-radius: 10px; background: #fff; padding: 3px; }
.chat__head strong { font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
.chat__head small { display: block; color: #9fb0b6; font-size: .8rem; }
.chat__close { margin-left: auto; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.chat__body { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--soft); }
.msg { max-width: 85%; padding: .7rem .95rem; border-radius: 16px; font-size: 1rem; line-height: 1.45; animation: chatIn .2s ease-out; }
.msg--bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--user { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--typing { color: var(--muted); letter-spacing: .2em; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; align-self: flex-start; max-width: 95%; }
.chip { padding: .5rem .9rem; border: 1.5px solid var(--brand); border-radius: 999px; background: #fff; color: var(--brand-dark); font: 400 .95rem var(--font); letter-spacing: .02em; cursor: pointer; transition: .15s; }
.chip:hover { background: var(--brand); color: #fff; }
.chip--muted { border-color: var(--line); color: var(--muted); }
.chip--back { border-color: transparent; background: none; color: var(--muted); padding-inline: .4rem; }
.chip--back:hover { color: var(--brand); }
.chat__hilfe { align-self: flex-start; width: 85%; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: .92rem; line-height: 1.45; color: var(--text); }
.chat__hilfe summary { cursor: pointer; padding: .75rem 1rem; color: var(--brand-dark); font-weight: 400; list-style: none; display: flex; align-items: center; gap: .4rem; }
.chat__hilfe summary::-webkit-details-marker { display: none; }
.chat__hilfe summary::after { content: "▾"; margin-left: auto; transition: transform .2s; }
.chat__hilfe details[open] summary::after { transform: rotate(180deg); }
.chat__hilfe img { display: block; width: calc(100% - 1.6rem); height: auto; margin: 0 .8rem .7rem; border-radius: 8px; }
.chat__hilfe ul { margin: 0; padding: 0 1rem .9rem 2.1rem; }
.chat__hilfe li + li { margin-top: .2rem; }
.chat__hilfe strong { font-weight: 500; }
.chat__upload { align-self: flex-start; display: grid; gap: .5rem; width: 85%; }
.chat__upload label { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem; border: 2px dashed var(--brand); border-radius: 14px; background: #fff; color: var(--brand-dark); font-weight: 400; cursor: pointer; }
.chat__upload input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.thumbs { display: flex; flex-wrap: wrap; gap: .4rem; }
.thumbs img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.chat__summary { align-self: stretch; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; font-size: .95rem; }
.chat__summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .25rem .8rem; }
.chat__summary dt { color: var(--muted); }
.chat__summary dd { margin: 0; font-weight: 400; word-break: break-word; }
.chat__consent { font-size: .85rem; color: var(--muted); align-self: stretch; }
.chat__input { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); background: #fff; }
.chat__input[hidden] { display: none; }
.chat__input input { flex: 1; min-width: 0; padding: .75rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; font: 300 16px var(--font); }
.chat__input input:focus { outline: none; border-color: var(--brand); }
.chat__input button { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat__input button svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Handy-Leiste unten ---------- */
.mobilebar { display: none; }

/* =====================================================================
   ANPASSUNG FÜR KLEINERE BILDSCHIRME
   ===================================================================== */
/* Auf Tablets: Menü als Seitenleiste rechts statt bildschirmfüllend */
@media (min-width: 641px) and (max-width: 1200px) {
  .nav { left: auto !important; width: 420px; box-shadow: -30px 0 60px -20px rgba(0,0,0,.6); }
}

/* Menü: ab dieser Breite das Handy-Menü (Burger) zeigen, damit nichts umbricht */
@media (max-width: 1200px) {
  .burger { display: flex; }
  .header__actions { margin-left: auto; }
  .header__in { gap: 1rem; min-height: 70px; }
  .logo img { width: 180px; }
  .nav { position: fixed; inset: 70px 0 0 0; background: var(--ink); padding: 1rem 20px 7rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility 0s .3s; margin: 0; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .3s; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
  .nav a { padding: 1.05rem .25rem; font-size: 1.25rem; flex: 1; }
  .nav > ul > li > a[aria-current="page"] { box-shadow: none; color: var(--brand-2); }
  .nav__toggle { padding: .8rem; }
  .nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; padding: 0 0 .8rem .6rem; width: 100%; display: none; }
  .nav__drop.is-open .nav__sub { display: block; }
  .nav__drop:hover .nav__sub { display: none; }
  .nav__drop.is-open:hover .nav__sub { display: block; }
  .nav__sub a { font-size: 1.1rem; padding: .55rem .25rem; color: #9fb0b6; }
  .nav .nav__cta-mobile { display: flex; margin-top: 1.8rem; padding: 1.1em; color: #fff; font-size: 1.05rem; }
}

@media (max-width: 1100px) {
  .header__phone span { display: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--big { grid-column: span 2; grid-row: auto; min-height: 460px; }
  .features { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .header__actions .btn { display: none; }

  .hero__grid, .why, .area, .reviews, .b2b { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding: 4rem 0 3rem; }
  .hero__bg { object-position: 70% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(12,17,19,.7) 0%, rgba(12,17,19,.85) 55%, rgba(12,17,19,.97) 100%); }
  .hero__cards { justify-items: start; grid-template-columns: 1fr 1fr; }
  .why__badge { right: 16px; bottom: 16px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 2.4rem 1.4rem; }
  .flow::before { display: none; }
  .reviews { justify-items: center; text-align: center; }
  .reviews__score { width: 100%; max-width: 360px; }
  .reviews__text p { margin-inline: auto; }
  .reviews__text .btn-row { justify-content: center; }

  .chat-fab { display: none; }
  .mobilebar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(18,24,27,.96); backdrop-filter: blur(10px); padding: .55rem; gap: .55rem; padding-bottom: calc(.55rem + env(safe-area-inset-bottom)); }
  .mobilebar a, .mobilebar button { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem; border-radius: 12px; border: 0; font: 400 .95rem var(--font); letter-spacing: .04em; white-space: nowrap; text-transform: uppercase; text-decoration: none; color: #fff; background: rgba(255,255,255,.1); cursor: pointer; }
  .mobilebar svg { width: 1.1em; height: 1.1em; fill: currentColor; }
  .mobilebar button { background: var(--brand); }
  body { padding-bottom: 76px; }
  .chat { right: 0; bottom: 0; width: 100%; height: 100dvh; border-radius: 0; }
  .footer__bottom nav { padding-right: 0; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .bento { grid-template-columns: 1fr; grid-auto-rows: minmax(280px, auto); }
  .tile--big { grid-column: auto; min-height: 460px; padding: 1.6rem; }
  .tile--cta { min-height: 0; }
  .hero__grid { width: min(var(--wrap), 100% - 32px); }
  .hero__cards { grid-template-columns: 1fr; }
  .float-card { padding: .65rem .8rem; animation: none; }
  .flow { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero__rating { margin-top: 2rem; }
  .why__badge { position: static; max-width: none; margin-top: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   UNTERSEITEN – Bausteine
   ===================================================================== */
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* Kopfbereich einer Unterseite */
.pagehero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3.5rem, 6vw, 5rem); }
.pagehero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pagehero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,17,19,.96) 0%, rgba(12,17,19,.85) 40%, rgba(12,17,19,.4) 75%, rgba(12,17,19,.25) 100%), radial-gradient(circle at 10% 10%, rgba(0,149,183,.25), transparent 45%); }
.pagehero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 14ch; }
.pagehero .eyebrow { color: var(--brand-2); }
.pagehero__lead { font-size: 1.2rem; color: #cdd7da; max-width: 54ch; }
.pagehero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; padding: 0; margin: 1.4rem 0 0; }
.pagehero__facts li { padding: .45rem 1rem; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(6px); font-size: .95rem; letter-spacing: .04em; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; letter-spacing: .06em; text-transform: uppercase; color: #8fa1a8; margin-bottom: 2rem; }
.crumbs a { color: #c6d1d5; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Text + Bild nebeneinander */
.split2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split2--flip > :first-child { order: 2; }
.split2__img { position: relative; }
.split2__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.split2__img .why__badge { right: -20px; bottom: -20px; }
.prose p { color: var(--muted); font-size: 1.1rem; }
.prose p strong { color: var(--text); font-weight: 400; }

/* Detail-Kacheln */
.details { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.details--2 { grid-template-columns: repeat(2, 1fr); }
.details--3 { grid-template-columns: repeat(3, 1fr); }
.details--4 { grid-template-columns: repeat(4, 1fr); }
.details__item { padding: 2rem 1.8rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.details__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.details__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--brand-tint); color: var(--brand-dark); margin-bottom: 1.3rem; }
.details__icon .ico { width: 26px; height: 26px; }
.details__item h3 { font-size: 1.3rem; }
.details__item p { margin: 0; color: var(--muted); }
.section--soft .details__item { border-color: transparent; }
.section--dark .details__item { background: var(--ink-2); border-color: rgba(255,255,255,.07); }
.section--dark .details__item p { color: #a3b2b7; }
.section--dark .details__icon { background: rgba(0,149,183,.18); color: var(--brand-2); }

/* Preise */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.price { position: relative; padding: 2.2rem; border-radius: var(--r-lg); background: var(--ink); color: #b9c6cb; overflow: hidden; isolation: isolate; }
.price::before { content: ""; position: absolute; z-index: -1; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(0,149,183,.35), transparent 65%); }
.price h3 { color: #fff; font-size: 1.4rem; }
.price__amount { display: block; font-size: 4rem; line-height: 1; font-weight: 500; color: #fff; margin: .6rem 0 .3rem; }
.price small { color: #8fa1a8; }
.price--hl { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #dff3f8; }
.price--hl::before { display: none; }
.price--hl small { color: #cdeef5; }
.footnote { font-size: .92rem; color: var(--muted); margin-top: 1.2rem; }

/* Häufige Fragen */
.faq { display: grid; gap: .8rem; max-width: 900px; }
.faq__item { border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; font-size: 1.15rem; font-weight: 400; letter-spacing: .02em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-tint); flex: none; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--brand-dark); transform: translate(-50%, -50%); transition: transform .2s; }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq__item p { padding: 0 1.4rem 1.3rem; margin: 0; color: var(--muted); }

/* Aufruf-Balken */
.ctaband { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding: clamp(2rem, 4vw, 3.2rem); border-radius: var(--r-lg); background: linear-gradient(120deg, var(--brand) 0%, var(--brand-dark) 100%); color: #dff3f8; }
.ctaband h2 { color: #fff; margin-bottom: .3rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.ctaband h2 em { color: var(--ink); }
.ctaband p { margin: 0; max-width: 52ch; }
.ctaband .btn-row { margin: 0; }

/* Kontakt + Formular */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__list small { display: block; color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.contact__list a { color: var(--text); text-decoration: none; font-size: 1.15rem; font-weight: 400; }
.contact__list a:hover { color: var(--brand-dark); }
.contact__hours { display: block; font-size: 1.05rem; }
.form { padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.form h3 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__full { grid-column: 1 / -1; }
.form label { display: grid; gap: .35rem; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--soft); font: 300 1.05rem var(--font); letter-spacing: .01em; color: var(--text); text-transform: none; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.form input[aria-invalid="true"] { border-color: #d64545; }
.form__file { position: relative; display: flex !important; align-items: center; justify-content: center; padding: 1rem; border: 2px dashed var(--brand); border-radius: 14px; color: var(--brand-dark) !important; cursor: pointer; text-transform: none !important; letter-spacing: .02em !important; font-size: 1rem !important; }
.form__file span { display: inline-flex; align-items: center; gap: .5rem; }
.form__file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.form__hp { position: absolute !important; left: -9999px; }
.form__hint { font-size: .85rem; color: var(--muted); margin: 1rem 0; }
.form__status { margin: 1rem 0 0; font-size: 1.05rem; }
.form__status--ok { color: #13805a; }
.form__status--fehler { color: #c23b3b; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.team__card { margin: 0; border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.team__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.team__card figcaption { padding: 1.1rem 1.3rem 1.3rem; color: var(--muted); }
.team__card strong { display: block; color: var(--text); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem; }

/* Referenzen-Raster (Seite /referenzen) */
.boegen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.boegen .bogen { flex: none; }

/* Rechtstexte */
.legal { max-width: 820px; overflow-wrap: break-word; hyphens: auto; }
.legal h2 { font-size: 1.8rem; margin-top: 2.6rem; }
.legal h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.legal p, .legal li { color: var(--muted); }
.legal a { word-break: break-word; }
.legal img { border-radius: var(--r); border: 1px solid var(--line); margin: 1rem 0 2rem; }

/* 404 */
.notfound { text-align: center; padding: clamp(5rem, 12vw, 9rem) 0; }
.notfound strong { display: block; font-size: clamp(6rem, 18vw, 11rem); line-height: 1; font-weight: 500; color: var(--brand); }

@media (max-width: 1100px) {
  .details--4 { grid-template-columns: repeat(2, 1fr); }
  .details--3 { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .boegen { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .split2, .contact { grid-template-columns: 1fr; }
  .split2--flip > :first-child { order: 0; }
  .split2__img .why__badge { right: 12px; bottom: 12px; }
  .pagehero::before { background: linear-gradient(180deg, rgba(12,17,19,.75), rgba(12,17,19,.95)); }
}
@media (max-width: 640px) {
  .details--2, .details--3, .details--4, .prices, .boegen { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: .8rem; }
}

/* Leistungs-Übersicht: Zeilen untereinander */
.rows { display: grid; gap: clamp(4rem, 9vw, 7rem); }
.rows .checks { color: var(--muted); }
.rows .checks li::before { border-color: var(--brand); }
.rows .details__icon { margin-bottom: 1rem; }

/* Google-Maps-Karte (lädt erst nach Klick)
   Vorher: dunkles Kartenbild (OpenStreetMap, lokal gespeichert) mit Stecknadel */
.karte { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0e1417 url("../img/karte-dunkel.webp") center / cover no-repeat; }
.karte__platzhalter { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .5rem; padding: 1rem 1rem 1.6rem; text-align: center; background: radial-gradient(circle at 50% 50%, transparent 0 22%, rgba(10,15,17,.25) 60%); }
.karte__pin { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 46px; height: 46px; margin: -46px 0 0 -23px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); transform-origin: 50% 50%; background: var(--brand); box-shadow: 0 0 0 6px rgba(0,149,183,.25), 0 10px 20px -6px rgba(0,0,0,.6); }
.karte__pin::after { content: ""; position: absolute; width: 60px; height: 60px; border-radius: 50%; border: 2px solid rgba(61,179,203,.6); animation: pulse 2.4s ease-out infinite; transform: rotate(45deg); }
@keyframes pulse { from { opacity: .9; scale: .6; } to { opacity: 0; scale: 1.6; } }
.karte__pin svg { width: 22px; height: 22px; fill: #fff; transform: rotate(45deg); }
.karte__platzhalter strong { font-weight: 400; font-size: .98rem; color: #fff; background: rgba(12,17,19,.75); padding: .2rem .7rem; border-radius: 8px; backdrop-filter: blur(4px); }
.karte__platzhalter small { max-width: 38ch; font-size: .78rem; color: #b9c6cb; }
.karte__platzhalter small a { color: var(--brand-2); }
.karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
@media (max-width: 640px) { .karte { aspect-ratio: 4 / 3; } .karte__platzhalter { padding-bottom: 1rem; } }


/* =====================================================================
   SEHR BREITE BILDSCHIRME (Ultrawide)
   Das Titelbild wird höchstens 2000 px breit dargestellt und läuft
   links und rechts weich in das dunkle Anthrazit aus – statt unscharf
   hochgezoomt zu werden.
   ===================================================================== */
.hero__bg, .pagehero__bg { left: 50%; right: auto; width: min(100%, 2000px); transform: translateX(-50%); }
@media (min-width: 2000px) {
  .hero__bg, .pagehero__bg {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  }
}


/* Social-Media-Kacheln (Kontaktseite) – nur Links, keine eingebetteten Inhalte */
.social { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.social__card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: clamp(1.8rem, 3vw, 2.6rem); border-radius: var(--r-lg); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .25s, box-shadow .25s; }
.social__card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.social__card::after { content: ""; position: absolute; z-index: -1; right: -90px; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); }
.social__card--yt { background: linear-gradient(135deg, var(--ink-2) 0%, var(--ink) 100%); }
.social__card--yt .social__icon { background: #e62117; }
.social__card--ig { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%); }
.social__card--ig .social__icon { background: linear-gradient(45deg, #f9a03f, #e1306c 50%, #833ab4); }
.social__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: #fff; }
.social__icon .ico { width: 30px; height: 30px; }
.social__text { display: grid; gap: .2rem; }
.social__text small { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.social__text strong { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500; letter-spacing: .02em; }
.social__text span { color: rgba(255,255,255,.8); max-width: 40ch; }
.social__card .btn { margin-top: auto; }
.social__card:hover .btn--white { background: var(--brand-tint); }
.social__more { margin-top: 1.4rem; color: var(--muted); }
@media (max-width: 760px) { .social { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .social__card .btn { font-size: .86rem; letter-spacing: .03em; padding: .8em 1.1em; white-space: normal; } }

/* Erster Eintrag im Leistungen-Untermenü (Übersicht) leicht abgesetzt */
.nav__sub li:first-child a { font-weight: 500; }
.nav__sub li:first-child { border-bottom: 1px solid rgba(127,127,127,.25); margin-bottom: .3rem; padding-bottom: .3rem; }

.btn-row--center { justify-content: center; }

/* KS-Autoglas-Logo als Link auf der Glasschaden-Seite */
.ks-logo { display: block; width: fit-content; margin: 1rem auto 0; transition: transform .2s; }
.ks-logo img { display: block; width: 360px; max-width: 100%; height: auto; }
.ks-logo:hover { transform: translateY(-2px); }

/* Telefonnummer in der Kopfleiste nie umbrechen */
.header__phone { white-space: nowrap; }
@media (min-width: 1201px) and (max-width: 1320px) { .header__in { gap: 1.25rem; } .nav a { padding-inline: .7rem; } }
.footer__orte { font-size: .92rem; }
.footer__orte a { text-decoration: underline; text-decoration-color: rgba(61,179,203,.5); text-underline-offset: 3px; }

/* Ort-Knöpfe auf hellem Hintergrund (Ortsseiten) */
.cities--hell a { color: var(--text); border-color: var(--line); background: #fff; }
.cities--hell a .ico { color: var(--brand); }
.cities--hell a:hover { color: #fff; }

/* Lange deutsche Wörter in Überschriften auf schmalen Displays trennen statt abschneiden */
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* Breite, aber niedrige Displays (Tablet quer, kleine Laptops): Titelbereich nicht „gezoomt“ wirken lassen */
@media (min-width: 961px) and (max-height: 860px) {
  .hero { padding: 3rem 0; }
  .hero h1 { font-size: clamp(2.8rem, 5vw, 4.4rem); }
  .hero__lead { font-size: 1.08rem; }
  .pagehero h1 { font-size: clamp(2.4rem, 4.4vw, 3.8rem); }
}
