/* =============================================
   KFZ-MEISTERBETRIEB MARAS — style.css v4
   Design direction: openstatus-style
   ============================================= */

/* ── Variables ──────────────────────────────── */
:root {
  --blue:       #063f9e;
  --blue-deep:  #052b70;
  --blue-soft:  #eef4ff;
  --red:        #ed1728;
  --red-deep:   #bf1020;
  --red-soft:   #fff0f1;
  --wa:         #25d366;
  --ink:        #09245a;
  --muted:      #5e6c86;
  --paper:      #ffffff;
  --soft:       #f6f8fc;
  --line:       rgba(6,63,158,.14);
  --shadow-sm:  0 8px 24px rgba(5,43,112,.09);
  --shadow:     0 24px 60px rgba(5,43,112,.13);
  --shadow-lg:  0 32px 80px rgba(5,43,112,.18);
  --radius:     26px;
  --radius-sm:  14px;
  --radius-pill:999px;
  --max:        1180px;
  --font:       Arial, Helvetica, sans-serif;
  --font-head:  'Barlow Condensed', Arial Narrow, Arial, sans-serif;
  --t:          .2s ease;
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  /* Signature corner gradients from reference */
  background:
    linear-gradient(135deg, rgba(6,63,158,.94) 0 86px, var(--red) 86px 100px, transparent 100px) top left / 220px 220px no-repeat,
    linear-gradient(315deg, rgba(237,23,40,.95) 0 128px, var(--blue) 128px 142px, transparent 142px) bottom right / 280px 280px no-repeat fixed,
    #fff;
}
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%,  rgba(6,63,158,.06),  transparent 34%),
    radial-gradient(circle at 100% 80%, rgba(237,23,40,.07), transparent 28%);
}
a   { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul  { list-style: none; }
button, input, select, textarea { font: inherit; }

/* ── Layout ─────────────────────────────────── */
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.section-pad { padding: 88px 0; }
.section-soft {
  background: linear-gradient(180deg, rgba(246,248,252,.7), rgba(238,244,255,.85));
  border-block: 1px solid rgba(6,63,158,.08);
}

/* ── Typography ─────────────────────────────── */
h1, h2, h3 { margin: 0; line-height: 1.06; }
h1 {
  font-family: var(--font-head);
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
h2 {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--blue-deep);
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.lead { font-size: 20px; color: var(--muted); }
.text-muted { color: var(--muted); }
.text-red   { color: var(--red); }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  font-weight: 900; font-size: .95rem; cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--red   { background: var(--red);  color: #fff; box-shadow: 0 16px 30px rgba(237,23,40,.22); }
.btn--red:hover { background: var(--red-deep); }
.btn--blue  { background: var(--blue); color: #fff; box-shadow: 0 16px 30px rgba(6,63,158,.20); }
.btn--blue:hover { background: var(--blue-deep); }
.btn--wa    { background: var(--wa);   color: #fff; box-shadow: 0 16px 30px rgba(37,211,102,.20); }
.btn--wa:hover { background: #1da851; }
.btn--light { background: #fff; color: var(--blue); border-color: #fff; }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); background: var(--blue-soft); }
.btn--lg    { min-height: 58px; padding: 0 36px; font-size: 1.05rem; }

/* ── Notfall Bar ─────────────────────────────── */
.notfall-bar {
  background: var(--red-soft);
  border-bottom: 1px solid rgba(237,23,40,.18);
  padding: 10px 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap; font-size: .88rem; color: var(--red-deep);
  position: relative;
}
.notfall-bar svg { color: var(--red); flex-shrink: 0; }
.notfall-tel { font-weight: 900; font-size: 1rem; color: var(--red); }
.notfall-tel:hover { text-decoration: underline; }
.notfall-close { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; font-size: 1rem; color: var(--muted); padding: 4px 8px; }
.notfall-close:hover { color: var(--red); }

/* ── Mobile Call Bar ─────────────────────────── */
.mobile-call-bar { display: none; background: var(--blue); text-align: center; padding: 11px 16px; }
.mobile-call-btn { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 900; font-size: 1rem; }
.mobile-call-btn svg { width: 18px; height: 18px; }

/* ── Cookie Banner (DSGVO) ───────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
  background: #fff; border-top: 3px solid var(--blue);
  box-shadow: 0 -8px 40px rgba(5,43,112,.18);
  transform: translateY(110%); transition: transform .4s ease;
}
.cookie-banner:not(.hidden) { transform: translateY(0); }
.cookie-banner.hidden { transform: translateY(110%); pointer-events: none; }
.cookie-inner {
  max-width: var(--max); margin: 0 auto; padding: 18px 28px;
  display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 240px; }
.cookie-text strong { font-weight: 900; color: var(--blue); display: block; margin-bottom: 6px; font-size: 1rem; }
.cookie-text p { font-size: .84rem; color: var(--muted); margin-bottom: 12px; }
.cookie-text a { color: var(--red); font-weight: 700; }
.cookie-cats { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.cookie-cat {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .82rem; color: var(--muted); cursor: pointer;
}
.cookie-cat input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); width: 15px; height: 15px; }
.cookie-cat span { line-height: 1.5; }
.cookie-cat strong { color: var(--ink); }
.cookie-cat a { color: var(--blue); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; align-items: flex-start; padding-top: 4px; }

/* ── Cookie Modal ────────────────────────────── */
.cookie-modal-overlay {
  position: fixed; inset: 0; z-index: 20000;
  background: rgba(5,27,70,.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.cookie-modal-overlay[hidden] { display: none; }
.cookie-modal-box {
  background: #fff; border-radius: var(--radius);
  padding: 40px 36px; max-width: 560px; width: 100%;
  position: relative; box-shadow: var(--shadow-lg);
}
.cookie-modal-box h2 {
  font-family: var(--font-head); font-size: 1.9rem; color: var(--blue);
  text-transform: uppercase; margin-bottom: 10px;
}
.cookie-modal-box > p { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.cookie-modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; font-size: 1.2rem;
  cursor: pointer; color: var(--muted); line-height: 1;
  padding: 4px 8px; border-radius: 50%;
}
.cookie-modal-close:hover { background: var(--soft); color: var(--ink); }

/* ── Header ──────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* Logo */
.nav-logo { display: grid; gap: 1px; text-transform: uppercase; line-height: 1; }
.nav-logo-sub { color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: .20em; }
.nav-logo-main {
  font-family: var(--font-head);
  color: var(--red); font-size: clamp(34px, 5vw, 58px);
  font-weight: 900; letter-spacing: .06em;
}

/* Desktop nav links */
.nav-links {
  display: flex; align-items: center; gap: 28px;
  font-weight: 800; color: var(--blue-deep);
}
.nav-links a {
  position: relative; font-size: .9rem; letter-spacing: .02em;
  text-transform: uppercase;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px;
  height: 2.5px; background: var(--red);
  transition: right .18s ease;
}
.nav-links a:hover::after, .nav-links a.nav-active::after { right: 0; }
.nav-links a.nav-active { color: var(--blue); }

/* Nav CTA */
.nav-cta {
  background: var(--blue); color: #fff !important;
  padding: 11px 20px; border-radius: var(--radius-pill);
  font-weight: 900; font-size: .88rem;
  box-shadow: 0 12px 24px rgba(6,63,158,.18);
  transition: background var(--t), box-shadow var(--t), transform var(--t);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-deep); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Phone button in nav */
.nav-phone-btn {
  display: flex; align-items: center; gap: 7px;
  font-weight: 900; font-size: .88rem; color: var(--blue);
  background: var(--blue-soft); border: 1.5px solid var(--line);
  border-radius: var(--radius-pill); padding: 9px 18px;
  transition: all var(--t); white-space: nowrap;
}
.nav-phone-btn svg { width: 15px; height: 15px; }
.nav-phone-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--blue); border-radius: 2px; transition: all var(--t); }

/* ── Hero ────────────────────────────────────── */
.hero { padding: 108px 0 88px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px; align-items: center;
}
.hero-copy { position: relative; }
.hero-copy::before {
  content: "";
  display: block; width: 160px; height: 6px; margin-bottom: 26px;
  background: linear-gradient(90deg, var(--red) 0 42%, var(--blue) 42%);
  border-radius: var(--radius-pill);
}
.hero-title { color: var(--ink); }
.hero-sub {
  margin: 22px 0 28px;
  font-size: clamp(17px, 2vw, 22px);
  color: var(--muted); max-width: 580px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Hero check-pills */
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-points span {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue-soft); color: var(--blue-deep);
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 9px 14px; font-weight: 900; font-size: 13px;
}
.hero-points span::before { content: "✓"; color: var(--red); }

/* Hero right: contact card */
.contact-card {
  position: relative; padding: 36px;
  border: 1px solid var(--line); border-radius: 34px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow); overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(135deg, rgba(6,63,158,.07), transparent 28%),
    linear-gradient(315deg, rgba(237,23,40,.07), transparent 28%);
}

/* Decorative car sketch inside card */
.logo-mark { position: relative; height: 96px; margin-bottom: 16px; }
.car-line {
  position: absolute; left: 8px; top: 22px;
  width: 240px; height: 60px;
  border-top: 5px solid var(--blue); border-radius: 80% 80% 0 0;
  transform: skewX(-18deg);
}
.car-line::before {
  content: ""; position: absolute; left: 38px; top: -28px;
  width: 106px; height: 54px;
  border-top: 5px solid var(--blue); border-left: 5px solid transparent;
  border-radius: 70% 70% 0 0;
}
.wheel {
  position: absolute; right: 20px; bottom: 0;
  width: 88px; height: 88px;
  border: 11px solid var(--blue); border-radius: 50%;
  box-shadow: inset 0 0 0 11px #fff, inset 0 0 0 17px var(--blue);
}
.wheel::after {
  content: ""; position: absolute; inset: -20px; border-radius: 50%;
  border-top: 4px solid var(--red); border-right: 4px solid transparent;
  border-bottom: 4px solid var(--blue); border-left: 4px solid transparent;
}

.contact-card-title {
  position: relative; z-index: 1;
  margin-bottom: 20px;
  color: var(--blue); font-family: var(--font-head);
  font-size: 26px; font-weight: 900;
  letter-spacing: .07em; text-transform: uppercase;
}
.contact-card-title strong {
  display: block; color: var(--red);
  font-size: 52px; letter-spacing: .07em;
}

/* Contact list in card */
.contact-list { position: relative; z-index: 1; }
.contact-list li {
  display: grid; grid-template-columns: 46px 1fr;
  gap: 16px; align-items: center;
  padding: 16px 0; border-top: 1px solid var(--line);
  color: var(--blue-deep); font-weight: 900; font-size: 18px;
}
.contact-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  color: var(--blue); border: 2.5px solid currentColor; border-radius: 50%;
}
.contact-icon svg { width: 17px; height: 17px; }

/* Opening hours widget inside card */
.opening-widget {
  position: relative; z-index: 1; margin-top: 20px;
  padding: 16px 20px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(6,63,158,.96), rgba(5,43,112,.98));
  color: #fff; box-shadow: 0 16px 32px rgba(5,43,112,.18);
  border: 1px solid rgba(255,255,255,.18);
}
.opening-widget::before {
  content: ""; position: absolute; left: 18px; top: 20px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 5px rgba(237,23,40,.18);
  transition: background .4s, box-shadow .4s;
}
/* Live-Status-Klassen */
.opening-widget.is-open::before {
  background: #1bcc5a;
  box-shadow: 0 0 0 5px rgba(27,204,90,.22);
  animation: pulse-green 2s infinite;
}
.opening-widget.is-closed::before {
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(237,23,40,.18);
}
@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 5px rgba(27,204,90,.22); }
  50%       { box-shadow: 0 0 0 9px rgba(27,204,90,.08); }
}
.opening-label {
  display: block; padding-left: 26px;
  font-size: 18px; line-height: 1.2; font-weight: 900;
}
.opening-detail {
  display: block; padding-left: 26px; margin-top: 4px;
  color: rgba(255,255,255,.8); font-size: 13px; font-weight: 700;
}

/* ── USP strip ───────────────────────────────── */
.usp-strip {
  background: var(--blue);
  border-block: 1px solid rgba(255,255,255,.08);
}
.usp-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.usp-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  color: #fff; padding: 28px 20px; gap: 5px;
  border-right: 1px solid rgba(255,255,255,.1);
  transition: background var(--t);
}
.usp-item:hover { background: rgba(255,255,255,.06); }
.usp-item:last-child { border-right: none; }
.usp-icon { width: 36px; height: 36px; color: var(--red); margin-bottom: 8px; }
.usp-icon svg { width: 100%; height: 100%; }
.usp-item strong { font-weight: 900; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; }
.usp-item span { font-size: .8rem; opacity: .72; }

/* ── Section header ──────────────────────────── */
.section-title-row { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: 48px; }
.section-title-row p { color: var(--muted); font-size: 17px; max-width: 520px; margin-top: 12px; }
.section-header-center { text-align: center; margin-bottom: 56px; }
.section-header-center p { color: var(--muted); margin-top: 14px; font-size: 17px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Service cards ───────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
.service-card {
  padding: 28px; background: #fff;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: all var(--t);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; inset: 0; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(6,63,158,.04), transparent 50%);
  pointer-events: none;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(6,63,158,.2); }
.service-icon {
  width: 52px; height: 52px; margin-bottom: 18px;
  display: grid; place-items: center; border-radius: 14px;
  background: var(--blue-soft); color: var(--blue);
  transition: all var(--t);
}
.service-card:hover .service-icon { background: var(--red); color: #fff; }
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: .91rem; line-height: 1.7; }

/* Brand cloud */
.brand-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.brand-cloud span {
  padding: 10px 16px; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--line);
  color: var(--blue-deep); font-weight: 900; font-size: .88rem;
  transition: all var(--t);
}
.brand-cloud span:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── How it works / Steps ────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; counter-reset: step; }
.steps article {
  padding: 28px; background: #fff;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 50%; background: var(--red); color: #fff; font-weight: 900; font-size: 1.1rem;
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); margin-top: 8px; font-size: .9rem; }

/* ── Info grid (Über uns / split) ────────────── */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-box {
  padding: 34px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-sm);
}
.info-box p { color: var(--muted); margin-top: 14px; line-height: 1.75; }
.info-box ul { margin-top: 20px; display: grid; gap: 10px; }
.info-box ul li {
  position: relative; padding-left: 28px;
  color: var(--blue-deep); font-weight: 800; font-size: .95rem;
}
.info-box ul li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }

.info-red {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; border-color: transparent;
}
.info-red .eyebrow, .info-red h2, .info-red p, .info-red li { color: #fff; }
.info-red ul li::before { color: rgba(255,255,255,.8); }

/* ── Bewertungen (Google-Style) ──────────────── */
.reviews-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 40px;
}
.reviews-score-block { display: flex; flex-direction: column; gap: 16px; }
.reviews-google-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .9rem; color: var(--muted);
}
.reviews-avg-row {
  display: flex; align-items: center; gap: 20px;
}
.reviews-avg-num {
  font-family: var(--font-head); font-size: 4rem; font-weight: 900;
  color: var(--ink); line-height: 1;
}
.reviews-avg-stars { color: #f5a623; font-size: 1.5rem; letter-spacing: 2px; }
.reviews-avg-count { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.reviews-avg-count strong { color: var(--ink); }
.reviews-write-btn { display: flex; align-items: center; gap: 8px; white-space: nowrap; margin-top: 6px; }

.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-bottom: 36px; }
.review-card {
  padding: 22px; background: #fff;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); position: relative; transition: all var(--t);
  display: flex; flex-direction: column; gap: 12px;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.review-card-top { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff; display: grid; place-items: center;
  font-weight: 900; font-size: 1.1rem; flex-shrink: 0;
}
.review-meta { flex: 1; min-width: 0; }
.review-name { display: block; font-size: .92rem; color: var(--ink); font-weight: 800; }
.review-city { font-size: .78rem; color: var(--muted); display: block; }
.review-time { font-size: .76rem; color: var(--muted); white-space: nowrap; margin-left: auto; }
.review-stars-row {}
.review-stars { color: #f5a623; font-size: 1rem; letter-spacing: 2px; }
.review-text { font-size: .88rem; color: var(--muted); line-height: 1.75; font-style: italic; flex: 1; }
.reviews-cta { text-align: center; }

/* ── Galerie ─────────────────────────────────── */
.galerie-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-bottom: 20px; }
.galerie-item { display: flex; flex-direction: column; gap: 10px; }
.galerie-caption { font-weight: 900; font-size: .82rem; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; text-align: center; }
.galerie-hinweis { text-align: center; font-size: .87rem; color: var(--muted); }
.galerie-hinweis a { color: var(--red); font-weight: 700; }

.slider-wrap {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); cursor: ew-resize;
  user-select: none; -webkit-user-select: none; aspect-ratio: 3/2;
  box-shadow: var(--shadow-sm);
}
.slider-before, .slider-after { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.slider-after { clip-path: inset(0 50% 0 0); }
.slider-placeholder { width: 100%; height: 100%; }
.slider-placeholder svg { width: 100%; height: 100%; }
.slider-placeholder--before { background: #dce4f2; }
.slider-placeholder--after  { background: #e6eeff; }
.slider-label {
  position: absolute; top: 10px;
  font-size: .7rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--radius-pill); pointer-events: none;
}
.slider-label--before { left: 10px; background: rgba(237,23,40,.88); color: #fff; }
.slider-label--after  { right: 10px; background: rgba(6,63,158,.88); color: #fff; }
.slider-handle { position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; gap: 4px; }
.slider-handle-line { flex: 1; width: 2px; background: rgba(255,255,255,.85); }
.slider-handle-btn { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2.5px solid var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); flex-shrink: 0; color: var(--blue); }
.slider-handle-btn svg { width: 12px; height: 12px; }

/* ── Kalkulator ──────────────────────────────── */
.kalk-wrap {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-radius: var(--radius); padding: 48px;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.kalk-wrap::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 80% 50%, rgba(237,23,40,.18), transparent 55%);
}
.kalk-wrap .eyebrow { color: rgba(255,255,255,.7); }
.kalk-wrap h2 { color: #fff; margin-bottom: 32px; }
.kalk-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; position: relative; z-index: 1; }
.kalk-field { display: flex; flex-direction: column; gap: 8px; }
.kalk-field label { color: rgba(255,255,255,.8); font-weight: 900; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.kalk-field select {
  width: 100%; padding: 13px 16px; border: none; border-radius: 14px;
  background: rgba(255,255,255,.12); color: #fff;
  font-size: .95rem; font-weight: 700; cursor: pointer;
  transition: background var(--t); outline: none;
  -webkit-appearance: none; appearance: none;
}
.kalk-field select option { background: var(--blue-deep); color: #fff; }
.kalk-field select:focus { background: rgba(255,255,255,.2); }
.kalk-result {
  position: relative; z-index: 1;
  display: flex; gap: 18px; align-items: flex-start;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-sm); padding: 22px; margin-bottom: 22px;
  transition: all var(--t);
}
.kalk-result.has-result { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }
.kalk-result-icon { width: 40px; height: 40px; color: rgba(255,255,255,.55); flex-shrink: 0; }
.kalk-result-icon svg { width: 100%; height: 100%; }
.kalk-result-label { font-weight: 800; color: rgba(255,255,255,.85); text-transform: uppercase; font-size: 1rem; margin-bottom: 4px; }
.kalk-result-price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 900; color: #fff; margin-bottom: 4px; }
.kalk-result-hint { font-size: .78rem; color: rgba(255,255,255,.5); }
.kalk-cta { position: relative; z-index: 1; text-align: center; }

/* ── Team section ────────────────────────────── */
.team-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; }
.team-main {
  padding: 36px; background: #fff;
  border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow); display: flex; gap: 28px; align-items: flex-start;
}
.team-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--blue-soft); border: 4px solid var(--blue);
  overflow: hidden; flex-shrink: 0; display: grid; place-items: center;
}
.team-avatar svg { width: 100%; height: 100%; }
.team-info-role { font-size: .75rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.team-name { font-family: var(--font-head); font-size: 1.7rem; font-weight: 900; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; display: block; margin-bottom: 12px; }
.team-desc { font-size: .91rem; color: var(--muted); line-height: 1.78; margin-bottom: 14px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.team-tags span {
  font-size: .76rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase;
  background: var(--blue-soft); color: var(--blue);
  border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 4px 12px;
}
.team-values { display: flex; flex-direction: column; gap: 14px; }
.team-value {
  padding: 22px 24px; background: #fff;
  border-radius: var(--radius-sm); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); display: grid;
  grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  gap: 0 14px; align-items: start; transition: all var(--t);
}
.team-value:hover { border-color: rgba(6,63,158,.25); transform: translateX(4px); box-shadow: var(--shadow); }
.team-value-icon { font-size: 1.5rem; grid-row: 1/3; align-self: center; }
.team-value strong { font-weight: 900; font-size: .92rem; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-deep); }
.team-value p { font-size: .85rem; color: var(--muted); line-height: 1.6; margin-top: 3px; }

/* ── FAQ ─────────────────────────────────────── */
.faq-list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 18px;
  background: #fff; box-shadow: 0 12px 32px rgba(5,43,112,.07); overflow: hidden;
}
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  font-weight: 900; color: var(--blue-deep); font-size: 1rem; gap: 16px; text-align: left;
  transition: background var(--t);
}
.faq-question:hover { background: var(--soft); }
.faq-question[aria-expanded="true"] { background: var(--blue); color: #fff; }
.faq-icon {
  display: grid; place-items: center; flex: 0 0 30px; height: 30px;
  border-radius: 50%; background: var(--blue-soft); color: var(--red);
  font-size: 1.2rem; font-weight: 300; transition: all var(--t);
}
.faq-question[aria-expanded="true"] .faq-icon { background: rgba(255,255,255,.2); color: #fff; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer.is-open { max-height: 300px; }
.faq-answer p { padding: 16px 24px 22px; font-size: .95rem; color: var(--muted); line-height: 1.78; }

/* ── Form / Termin ───────────────────────────── */
.form-shell { display: grid; grid-template-columns: .82fr 1.18fr; gap: 32px; align-items: start; }
.form-intro {
  position: sticky; top: 94px;
  padding: 34px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff; box-shadow: var(--shadow);
}
.form-intro .eyebrow { color: rgba(255,255,255,.7); }
.form-intro h2 { color: #fff; font-size: clamp(28px, 3vw, 44px); }
.form-intro p { color: rgba(255,255,255,.78); margin-top: 12px; font-size: .95rem; }
.direct-contacts { display: grid; gap: 10px; margin-top: 24px; }
.direct-contacts a {
  padding: 13px 16px; border-radius: 14px;
  background: rgba(255,255,255,.12); color: #fff;
  font-weight: 900; display: flex; align-items: center; gap: 8px;
  transition: background var(--t);
}
.direct-contacts a:hover { background: rgba(255,255,255,.22); }
.direct-contacts svg { width: 16px; height: 16px; flex-shrink: 0; }

.form-card {
  padding: 32px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
}
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1/-1; }
label { color: var(--blue-deep); font-weight: 900; font-size: .88rem; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 14px;
  background: var(--soft); color: var(--ink); padding: 13px 16px;
  outline: none; transition: border-color var(--t), box-shadow var(--t);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(6,63,158,.1);
}
textarea { min-height: 130px; resize: vertical; }
.privacy { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .83rem; font-weight: 700; }
.privacy input { width: auto; margin-top: 4px; }
.privacy a { color: var(--blue); font-weight: 900; }

/* PHP Formular: Erfolg / Fehler-Meldungen */
.form-message {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; border-radius: 16px; margin-bottom: 20px;
  font-size: .9rem;
}
.form-message strong { display: block; margin-bottom: 3px; font-size: 1rem; }
.form-message p { margin: 0; }
.form-success {
  background: #edfdf5; border: 1.5px solid #1bcc5a; color: #1a6e39;
}
.form-success svg { color: #1bcc5a; flex-shrink: 0; }
.form-error {
  background: #fff0f1; border: 1.5px solid var(--red); color: #a11220;
}
.form-error svg { color: var(--red); flex-shrink: 0; }

/* ── Kontakt / Map ───────────────────────────── */
.contact-map-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: start; }
.contact-info-side .eyebrow { margin-bottom: 12px; }
.contact-detail-list { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.contact-detail-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-detail-icon {
  width: 40px; height: 40px; background: var(--blue); color: #fff;
  border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
}
.contact-detail-icon svg { width: 17px; height: 17px; }
.contact-detail-list strong { display: block; font-size: .74rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-detail-list span, .contact-detail-list a { font-size: .95rem; color: var(--ink); font-weight: 700; line-height: 1.5; }
.contact-detail-list a:hover { color: var(--red); }

.route-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.route-btn {
  display: flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: var(--radius-pill);
  font-weight: 900; font-size: .85rem; color: #fff; background: var(--blue);
  border: 2px solid var(--blue); transition: all var(--t);
}
.route-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.route-btn:hover { background: var(--blue-deep); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.route-btn--outline { background: transparent; color: var(--blue); }
.route-btn--outline:hover { background: var(--blue-soft); }

/* Opening hours in kontakt */
.oeff-box {
  margin-top: 22px; padding: 16px 20px; border-radius: 18px;
  background: linear-gradient(135deg, rgba(6,63,158,.95), rgba(5,43,112,.97));
  color: #fff; border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 14px 30px rgba(5,43,112,.15);
}
.oeff-box table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.oeff-box td { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.85); }
.oeff-box tr:last-child td { border-bottom: none; }
.oeff-box .oeff-time { text-align: right; font-weight: 900; color: #fff; }
.oeff-box .oeff-title { font-weight: 900; font-size: 1rem; color: #fff; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.oeff-box .oeff-title svg { width: 16px; height: 16px; }

.map-box {
  min-height: 420px; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  background: var(--blue); border: 2px solid var(--line);
}
.map-consent {
  min-height: 420px; display: grid; place-items: center; text-align: center;
  padding: 32px; color: #fff;
  background: linear-gradient(135deg, rgba(6,63,158,.93), rgba(5,43,112,.95)),
              radial-gradient(circle at 88% 88%, rgba(237,23,40,.55), transparent 30%);
}
.map-consent h3 { color: #fff; font-size: 28px; margin-bottom: 12px; }
.map-consent p { color: rgba(255,255,255,.8); max-width: 400px; margin: 0 auto 20px; font-size: .9rem; }
.map-box iframe { display: block; width: 100%; min-height: 420px; border: 0; }

/* ── Footer ──────────────────────────────────── */
.footer {
  padding: 44px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; color: var(--muted);
}
.footer-inner strong { display: block; color: var(--blue-deep); margin-bottom: 4px; font-weight: 900; }
.footer-inner p { margin: 0; font-size: .9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; font-weight: 800; font-size: .9rem; }
.footer-links a:hover { color: var(--red); }
.footer-logo-sub { font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.footer-logo-name { font-family: var(--font-head); font-size: 2rem; font-weight: 900; color: var(--red); letter-spacing: .06em; line-height: 1; display: block; }

/* ── WhatsApp float ──────────────────────────── */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5); transition: all var(--t);
}
.wa-float svg { width: 27px; height: 27px; }
.wa-float:hover { background: #1da851; transform: scale(1.08); box-shadow: 0 8px 28px rgba(37,211,102,.55); }
.wa-float-tooltip {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%);
  background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700;
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--t);
}
.wa-float-tooltip::after { content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-right: none; border-left-color: var(--ink); }
.wa-float:hover .wa-float-tooltip { opacity: 1; }

/* ── Mobile action bar (reference style) ─────── */
.mobile-actions { display: none; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 980px) {
  body { padding-bottom: 78px; }
  .nav-phone-btn, .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.is-open {
    display: flex; position: absolute; top: 80px; left: 0; right: 0;
    flex-direction: column; gap: 4px; padding: 16px 24px 24px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.is-open a { width: 100%; padding: 11px 14px; }
  .hero-grid, .form-shell, .contact-map-grid, .team-grid { grid-template-columns: 1fr; }
  .form-intro { position: static; }
  .service-grid, .steps { grid-template-columns: repeat(2,1fr); }
  .usp-grid { grid-template-columns: repeat(2,1fr); }
  .usp-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .usp-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
  .usp-item:nth-last-child(-n+2) { border-bottom: none; }
  .info-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: repeat(2,1fr); }
  .galerie-grid { grid-template-columns: 1fr 1fr; }
  .kalk-controls { grid-template-columns: 1fr; }
  .team-main { flex-direction: column; align-items: center; text-align: center; }
  .team-tags { justify-content: center; }
  .contact-map-grid { grid-template-columns: 1fr; }
  .mobile-call-bar { display: block; }
  .wa-float { display: none; }
  /* Mobile action bar */
  .mobile-actions {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    display: flex; overflow: hidden; border-radius: var(--radius-pill);
    background: #fff; box-shadow: 0 18px 44px rgba(5,43,112,.26);
    border: 1px solid var(--line);
  }
  .mobile-actions a {
    flex: 1; display: grid; place-items: center;
    padding: 13px 8px; color: var(--blue);
    font-size: 13px; font-weight: 900;
    border-right: 1px solid var(--line);
  }
  .mobile-actions a:first-child { background: var(--red); color: #fff; }
  .mobile-actions a:nth-child(2) { background: var(--wa); color: #fff; }
  .mobile-actions a:last-child { border-right: none; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--max)); }
  .section-pad { padding: 60px 0; }
  .hero { padding: 72px 0 60px; }
  .service-grid, .steps, .contact-form, .reviews-grid, .galerie-grid { grid-template-columns: 1fr; }
  .kalk-wrap { padding: 28px 20px; }
  .form-card { padding: 24px; }
  .contact-form { grid-template-columns: 1fr; }
  .section-title-row { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .usp-item { border-right: none !important; }
  .usp-item:last-child { border-bottom: none; }
  .footer-inner { flex-direction: column; }
  /* Cookie Banner mobile */
  .cookie-inner { flex-direction: column; padding: 16px 18px; }
  .cookie-btns { width: 100%; flex-wrap: wrap; }
  .cookie-btns .btn { flex: 1; min-width: 140px; text-align: center; justify-content: center; }
  /* Reviews mobile */
  .reviews-header { flex-direction: column; }
  .reviews-avg-num { font-size: 3rem; }
  /* Cookie Modal mobile */
  .cookie-modal-box { padding: 28px 20px; }
}
