/* ==========================================================================
   SBF – Spandauer Behindertenfahrdienst
   Statische Website · Master: FireShot Capture 069 (Start) / 070 (Kontakt)
   Raster: Desktop 1920 px · Inhaltsbreite 1068 px · Spalten mit 6 % Abstand
   ========================================================================== */

:root {
  --blau: #004586;
  --blau-hell: #326a9d;
  --gruen: #97ca33;
  --tuerkis: #109bc4;
  --tuerkis-text: #189ec5;
  --grau: #e5e5e5;
  --feld: #f8f8f8;
  --feld-rand: #e1e1e1;
  --inhalt: 1068px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'News Cycle', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;            /* Fließtext Desktop: 13 px */
  line-height: 1.65;
  color: #000;
  background: #fff;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 .85em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.3;
}

.container {
  width: min(var(--inhalt), calc(100% - 96px));
  margin: 0 auto;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: #fff; color: var(--blau);
  font-weight: 700; text-decoration: none; border-radius: 2px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--gruen); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  height: 80px;
  background: var(--blau);
}
.site-header .container {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.logo {
  display: flex; align-items: flex-start; align-self: flex-start;
  margin-top: 12.5px;
  color: #fff; text-decoration: none;
}
.logo img { width: 92px; height: 44.5px; }
.logo-text {
  margin: 3px 0 0 15.5px;
  font-weight: 700; font-size: 20px; line-height: 22px;
  white-space: nowrap;
}
.main-nav {
  display: flex; align-items: center; gap: 22.5px;
  margin-right: 11.5px;
}
.nav-link {
  color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15px;
}
.nav-link:hover, .nav-link[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.btn-phone {
  display: inline-flex; align-items: center; gap: 6px;
  height: 51.5px; padding: 0 10px 0 9px;
  border: 1.5px solid #fff; border-radius: 2px;
  color: #fff; text-decoration: none;
  font-weight: 700; font-size: 21px; line-height: 1;
  transition: background .2s, color .2s;
}
.btn-phone svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn-phone:hover { background: #fff; color: var(--blau); }

/* ---------- Hero ---------- */
.hero { margin: 0; }
.hero img {
  width: 100%; height: auto;
  aspect-ratio: 1920 / 864;
  object-fit: cover; object-position: 50% 56%;
}
.hero--kontakt img { aspect-ratio: 1920 / 685; object-position: 50% 54%; }

/* ---------- Willkommen ---------- */
.welcome { padding: 34px 0 93px; }
.welcome h1 {
  color: var(--blau);
  font-weight: 700; font-size: 20px; line-height: 26px;
  letter-spacing: 1px; text-align: center;
}
.row { display: flex; justify-content: space-between; }
.col-half { width: 47%; }
.welcome .row { margin-top: 88px; }
.welcome .text { padding-top: 13px; }
.welcome .media { display: flex; justify-content: center; align-items: flex-start; }
.van {
  width: 436px; max-width: 100%;
  aspect-ratio: 436 / 215.5;
  background: url(../img/sbf-fahrzeug.jpg) 100% 81% / 111% auto no-repeat;
}

/* ---------- Leistungen ---------- */
.services {
  height: 451.5px;
  background: #2b2b33 url(../img/hintergrund-rollstuhl.jpg) 50% 54% / cover no-repeat;
}
.services .container {
  display: flex; justify-content: space-between;
  transform: translateY(-35.5px);
}
.service {
  width: 29.354%;
  min-height: 451.5px;
  padding: 53px 53.5px 30px;
  background: var(--blau); color: #fff;
}
.service img { width: 70px; margin: 0 auto; }
.service h2 {
  margin-top: 40.5px;
  font-size: 18px; line-height: 23.4px;
  text-align: center;
}
.service p { margin-top: 21px; }

/* ---------- Kundenzufriedenheit ---------- */
.reviews {
  min-height: 314px;
  padding: 30px 0 40px;
  background: var(--blau); color: #fff;
}
.reviews-head { display: flex; align-items: center; margin-left: 22.85%; }
.reviews-head svg { width: 69px; height: 68px; fill: var(--gruen); flex: none; }
.reviews-head h2 { margin-left: 65px; font-size: 18px; }
.review-list {
  display: grid; grid-template-columns: 36.6% 33.3% 1fr;
  margin: 57px 0 0; padding: 0; list-style: none;
}
.stars { display: flex; gap: 8.5px; }
.stars svg { width: 21.5px; height: 21.5px; fill: var(--gruen); }
.review blockquote {
  max-width: 260px; margin: 5.5px 0 0;
  font-weight: 700; line-height: 17px;
}
.review blockquote p { margin: 0; }
.review cite { display: block; font-style: normal; line-height: 17px; }

/* ---------- Galerie ---------- */
.gallery { padding: 83px 0 56.5px; background: var(--grau); }
.carousel { position: relative; overflow: hidden; }
.track {
  display: flex; gap: 13.5px;
  margin: 0; padding: 0; list-style: none;
  transition: transform .6s ease;
  touch-action: pan-y;
}
.slide { flex: 0 0 40%; }
.slide button {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  position: relative;
}
.slide img { width: 100%; aspect-ratio: 427 / 268.5; object-fit: cover; }
.slide button::after {
  content: ""; position: absolute; right: 8px; bottom: 8px; width: 22px; height: 22px;
  background: rgba(0,0,0,.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7'/%3E%3C/svg%3E") center / 12px no-repeat;
  opacity: 0; transition: opacity .2s;
}
.slide button:hover::after, .slide button:focus-visible::after { opacity: 1; }
.carousel-nav {
  position: absolute; top: 50%; z-index: 2;
  width: 44px; height: 44px; margin-top: -22px;
  border: 0; border-radius: 2px;
  background: rgba(0,0,0,.45); color: #fff; cursor: pointer;
  font-size: 22px; line-height: 44px;
  opacity: 0; transition: opacity .2s;
}
.carousel:hover .carousel-nav, .carousel-nav:focus-visible { opacity: 1; }
.carousel-nav.prev { left: 10px; }
.carousel-nav.next { right: 10px; }
.dots { display: flex; justify-content: center; margin-top: 14.5px; }
.dots button {
  width: 11px; height: 11px; padding: 0;
  border: 0; border-radius: 50%;
  background: #5a5a5a; cursor: pointer;
}
.dots button[aria-current="true"] { background: #fff; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,.88); padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; width: auto; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lightbox button {
  position: absolute; border: 0; background: none; color: #fff; cursor: pointer;
  font-size: 38px; line-height: 1; padding: 10px 16px;
}
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ---------- Standort / Kontakt ---------- */
.infobar { display: grid; grid-template-columns: 1fr 1fr; min-height: 125.5px; color: #fff; }
.infobar > div { padding: 28.5px 0 20px; }
.infobar .left { display: flex; justify-content: flex-end; padding-right: 27px; background: var(--blau); }
.infobar .right { padding-left: 26.5px; background: var(--blau-hell); }
.info { display: flex; gap: 20.5px; }
.info .circle {
  display: grid; place-items: center; flex: none;
  width: 65px; height: 65px;
  border: 1px solid rgba(255,255,255,.85); border-radius: 50%;
}
.info .circle svg { width: 20px; height: 20px; fill: #fff; }
.info h2 {
  font-weight: 700; font-size: 17px; line-height: 22px;
  text-transform: uppercase; letter-spacing: .5px;
}
.info p { margin: 6px 0 0; line-height: 21.45px; }
.info a { color: #fff; }

/* ---------- Karte (2-Klick-Lösung) ---------- */
.map {
  position: relative; height: 352px; overflow: hidden;
  background-color: #eceae6;
  background-image:
    linear-gradient(28deg, transparent 48.4%, #fff 48.4%, #fff 49.6%, transparent 49.6%),
    linear-gradient(-12deg, transparent 58.6%, #fff 58.6%, #fff 59.6%, transparent 59.6%),
    linear-gradient(95deg, transparent 39%, #fbf3d7 39%, #fbf3d7 40.2%, transparent 40.2%),
    linear-gradient(90deg, transparent 84%, #a9d3f2 84%),
    linear-gradient(0deg, rgba(255,255,255,.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.55) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 46px 46px, 46px 46px;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 20px; text-align: center;
}
.map-pin { width: 30px; height: 44px; fill: #e2392d; filter: drop-shadow(0 2px 2px rgba(0,0,0,.25)); }
.map-consent .card {
  max-width: 470px; padding: 16px 20px 18px;
  background: rgba(255,255,255,.94); border-radius: 3px;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}
.map-consent strong { display: block; font-size: 15px; }
.map-consent p { margin: 4px 0 12px; font-size: 12px; line-height: 1.5; color: #333; }
.btn {
  display: inline-block; padding: 0 22px; height: 40px; line-height: 40px;
  border: 0; border-radius: 2px; cursor: pointer;
  background: var(--tuerkis); color: #fff;
  font: 12px/40px Arial, Helvetica, sans-serif; text-decoration: none;
}
.btn:hover { background: var(--blau); }
.map-consent .alt { display: block; margin-top: 8px; font-size: 12px; color: var(--blau); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blau); color: #fff; font-size: 10px; line-height: 1.4; }
.site-footer .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; padding: 6px 0;
}
.footer-nav { display: flex; }
.footer-nav a { padding: 0 7px; color: #fff; text-decoration: none; }
.footer-nav a + a { border-left: 1px solid rgba(255,255,255,.35); }
.footer-nav a:last-child { padding-right: 0; }
.footer-nav a:hover { text-decoration: underline; }

/* ---------- Kontaktseite ---------- */
.contact { padding: 41.5px 0 44.5px; }
.contact h1 {
  margin-bottom: 14.5px;
  color: var(--blau);
  font-weight: 700; font-size: 17px; line-height: 22px;
}
.form .field { display: block; margin: 0 0 14.25px; }
.form input, .form textarea {
  display: block; width: 100%; height: 39.5px; margin: 0;
  padding: 0 12px;
  background: var(--feld); border: 1px solid var(--feld-rand); border-radius: 2px;
  font: 13px Arial, Helvetica, sans-serif; color: #000;
}
.form textarea { height: 163px; padding: 12px; resize: vertical; }
.form ::placeholder { color: #888; opacity: 1; }
.form input:focus, .form textarea:focus { background: #fff; border-color: var(--tuerkis); outline: none; }
.form .hp { position: absolute; left: -9999px; }
.form .btn { width: 125.5px; height: 43.5px; padding: 0; line-height: 43.5px; }
.form-note { margin: 10px 0 0; font-size: 11px; line-height: 1.5; color: #666; }
.form-note a { color: var(--blau); }
.form-status { display: none; margin: 0 0 14px; padding: 12px 14px; border-radius: 2px; font-size: 13px; }
.form-status.ok { display: block; background: #eef7e1; border: 1px solid var(--gruen); }
.form-status.err { display: block; background: #fdecea; border: 1px solid #d9534f; }

.call { margin-top: 25px; text-align: right; font-size: 21px; line-height: 34.65px; }
.call a { color: var(--tuerkis-text); text-decoration: none; }
.call a:hover { text-decoration: underline; }

.phone-mock {
  position: relative; width: 495px; max-width: 100%; height: 476px;
  margin: 31px 0 0 8px;
}
.device {
  position: absolute; left: 46px; top: 22px;
  width: 212px; height: 424px;
  padding: 42px 11px 42px;
  background: #1d1d1f; border-radius: 34px;
  box-shadow: 0 0 0 2px #3a3a3c inset, 18px 24px 40px rgba(0,0,0,.18);
  transform: rotate(-14deg); transform-origin: 50% 50%;
}
.device::before {
  content: ""; position: absolute; top: 20px; left: 50%;
  width: 46px; height: 5px; margin-left: -23px;
  background: #3a3a3c; border-radius: 3px;
}
.device::after {
  content: ""; position: absolute; bottom: 12px; left: 50%;
  width: 26px; height: 26px; margin-left: -13px;
  border: 2px solid #3a3a3c; border-radius: 50%;
}
.screen { position: relative; width: 190px; height: 340px; overflow: hidden; background: #fff; }
.screen iframe {
  position: absolute; left: 0; top: 0;
  width: 375px; height: 671px; border: 0;
  transform: scale(.5067); transform-origin: 0 0;
  pointer-events: none;
}
.screen a { position: absolute; inset: 0; z-index: 2; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 60px 0 90px; }
.legal h1 {
  margin-bottom: 30px;
  color: var(--blau);
  font-weight: 700; font-size: 20px; line-height: 26px; letter-spacing: 1px;
}
.legal h2 { margin: 30px 0 10px; color: var(--blau); font-weight: 700; font-size: 17px; }
.legal h3 { margin: 20px 0 6px; font-family: var(--sans); font-weight: 700; font-size: 14px; }
.legal .prose { max-width: 760px; }
.legal ul { margin: 0 0 .85em; padding-left: 20px; }
.legal li { margin-bottom: 4px; }
.legal address { font-style: normal; margin-bottom: .85em; }
.legal a { color: var(--blau); }
.credits { columns: 2; padding-left: 20px; }

/* ---------- Mobile Anrufleiste ---------- */
.callbar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1150px) {
  .service { padding-left: 32px; padding-right: 32px; }
  .reviews-head { margin-left: 0; }
}

@media (max-width: 989px) {
  .container { width: calc(100% - 48px); }
  .logo-text { font-size: 17px; line-height: 19px; margin-left: 12px; }
  .services { height: auto; padding: 40px 0; }
  .services .container { flex-direction: column; gap: 20px; transform: none; }
  .service { width: 100%; min-height: 0; padding: 36px 32px; }
  .service h2 { margin-top: 24px; }
  .review-list { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .slide { flex-basis: 62%; }
  .infobar { grid-template-columns: 1fr; }
  .infobar .left { justify-content: flex-start; padding: 24px; }
  .infobar .right { padding: 24px; }
  .phone-mock { margin-left: auto; margin-right: auto; }
}

@media (max-width: 767px) {
  body { font-size: 15px; padding-bottom: 56px; }   /* mobil besser lesbar */
  .container { width: calc(100% - 32px); }
  .site-header { height: 64px; }
  .logo { margin-top: 10px; }
  .logo img { width: 72px; height: 35px; }
  .logo-text { font-size: 13px; line-height: 15px; margin: 3px 0 0 8px; }
  .site-header .container { gap: 10px; }
  .main-nav { gap: 12px; margin-right: 0; }
  .nav-link { font-size: 14px; }
  .btn-phone { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; }
  .btn-phone svg { width: 18px; height: 18px; }
  .btn-phone .num { display: none; }
  .hero img, .hero--kontakt img { aspect-ratio: 4 / 3; min-height: 0; }
  .welcome { padding: 30px 0 40px; }
  .welcome h1 { font-size: 22px; line-height: 1.35; letter-spacing: .5px; }
  .row { flex-direction: column; gap: 28px; }
  .col-half { width: 100%; }
  .welcome .row { margin-top: 26px; }
  .welcome .text { padding-top: 0; }
  .van { width: 100%; }
  .reviews { padding: 34px 0; }
  .reviews-head { justify-content: center; }
  .reviews-head svg { width: 46px; height: 46px; }
  .reviews-head h2 { margin-left: 18px; font-size: 20px; }
  .review-list { grid-template-columns: 1fr; margin-top: 30px; gap: 24px; }
  .review blockquote, .review cite { line-height: 1.4; }
  .review blockquote { max-width: none; }
  .gallery { padding: 40px 0; }
  .slide { flex-basis: 86%; }
  .carousel-nav { opacity: 1; width: 38px; height: 38px; margin-top: -19px; line-height: 38px; }
  .dots button { width: 12px; height: 12px; margin: 0 4px; }
  .map { height: 300px; }
  .site-footer .container { flex-direction: column; gap: 4px; padding: 12px 0; font-size: 12px; }
  .contact { padding: 30px 0 50px; }
  .contact h1 { font-size: 20px; }
  .form input, .form textarea { font-size: 16px; height: 46px; }
  .form textarea { height: 170px; }
  .call { text-align: left; margin-top: 0; }
  .phone-mock { display: none; }
  .legal { padding: 36px 0 50px; }
  .credits { columns: 1; }
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: calc(56px + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--gruen); color: var(--blau);
    font-weight: 700; font-size: 18px; text-decoration: none;
    box-shadow: 0 -2px 10px rgba(0,0,0,.15);
  }
  .callbar svg { width: 20px; height: 20px; fill: currentColor; }
  .embed .callbar { display: none; }
  .embed body, body.embed { padding-bottom: 0; }
}

@media (max-width: 370px) {
  .logo-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .track { transition: none; }
}
