/* ==========================================================================
   FAIRMOVE HAUS- & UMZUGSSERVICE – STYLESHEET
   --------------------------------------------------------------------------
   AUFBAU
   1. Schrift (lokal, kein Google Fonts)
   2. Farben & Maße  ← HIER Farben ändern = überall ändern
   3. Basis, Layout, Buttons, Karten
   4. Header & Navigation
   5. Startseite (Hero, 3D-Szene, Kacheln, Vorteile, Ablauf …)
   6. Unterseiten, FAQ, Galerie, Formular
   7. Footer & Sticky-Leiste
   ========================================================================== */

/* ---------- 1. SCHRIFT ---------- */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. FARBEN & MASSE ---------- */
:root {
  --navy: #0b2545;
  --navy-700: #13315c;
  --navy-500: #1f4a80;
  --navy-100: #e8eef6;
  --yellow: #ffc107;
  --yellow-600: #e6ac00;
  --yellow-50: #fff8e1;
  --white: #ffffff;
  --gray-50: #f5f7fa;
  --gray-100: #eaeef3;
  --gray-300: #c5cdd8;
  --gray-600: #4a5568;      /* Fließtext-Grau, AA auf Weiß */
  --text: #13213a;
  --success: #1e7b4a;
  --error: #b42318;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgb(11 37 69 / 0.08);
  --shadow-lg: 0 14px 40px rgb(11 37 69 / 0.14);
  --container: 1160px;
  --gutter: 1.25rem;
  --section: clamp(3.5rem, 8vw, 6rem);
  --header-h: 72px;
  --sticky-h: 64px;
}

/* ---------- 3. BASIS ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--white);
  padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom));   /* Platz für die mobile Sticky-Leiste */
  overflow-x: clip;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.15; color: var(--navy); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.3rem); letter-spacing: -0.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--navy-500); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 5px var(--navy); border-radius: 4px; }

.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 200; background: var(--yellow); color: var(--navy); padding: 0.75rem 1rem; font-weight: 700; border-radius: var(--radius-sm); }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Icons (Sprite im HTML) */
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--18 { width: 18px; height: 18px; } .icon--20 { width: 20px; height: 20px; } .icon--28 { width: 28px; height: 28px; } .icon--36 { width: 36px; height: 36px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); content-visibility: auto; contain-intrinsic-size: auto 800px; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); color: #dfe7f2; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--gray-600); font-size: 1.1rem; }
.section--navy .section-head p { color: #c9d5e5; }

.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--navy-500); margin-bottom: 0.75rem; }
.eyebrow::before { content: ""; display: inline-block; width: 24px; height: 3px; background: var(--yellow); vertical-align: middle; margin-right: 0.6rem; border-radius: 2px; }
.section--navy .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--yellow); }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
}

.prose { max-width: 740px; }
.prose h2 { margin-top: 2em; font-size: clamp(1.4rem, 3.5vw, 1.8rem); }
.prose h3 { margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.35em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 52px; padding: 0.8rem 1.5rem;
  border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  text-decoration: none; text-align: center; cursor: pointer; transition: background-color 0.15s, transform 0.15s;
}
.btn .icon { width: 22px; height: 22px; }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }
.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: var(--yellow-600); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-700); color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy-100); color: var(--navy); }
.btn--outline-light { border-color: rgb(255 255 255 / 0.75); color: var(--white); background: transparent; }
.btn--outline-light:hover { background: rgb(255 255 255 / 0.1); color: var(--white); }
.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }
@media (max-width: 479px) { .btn-row .btn { width: 100%; } }

/* ---------- Karten & Bausteine ---------- */
.card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--gray-600); margin: 0; }
.icon-badge { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--navy); color: var(--yellow); margin-bottom: 1rem; flex: none; }
.icon-badge .icon { width: 28px; height: 28px; }

.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.7rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2545' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.notice { border-left: 5px solid var(--yellow); background: var(--yellow-50); padding: 1rem 1.25rem; border-radius: var(--radius-sm); color: var(--text); }
.notice strong { color: var(--navy); }
.notice p:last-child { margin-bottom: 0; }

/* Foto-Platzhalter (wird automatisch durch das Foto ersetzt, siehe config.js → photos) */
.photo { width: 100%; border-radius: var(--radius); object-fit: cover; }
.photo--placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6rem; padding: 1.5rem; text-align: center;
  color: var(--gray-600); font-weight: 600;
  background: repeating-linear-gradient(-45deg, transparent 0 14px, rgb(11 37 69 / 0.035) 14px 28px), var(--gray-100);
  border: 2px dashed var(--gray-300);
}
.photo--placeholder small { font-weight: 400; font-size: 0.8rem; word-break: break-all; }
.photo--placeholder .icon { color: var(--navy-500); opacity: 0.6; width: 36px; height: 36px; }

/* ---------- 4. HEADER & NAVIGATION ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 2px 14px rgb(0 0 0 / 0.18); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); flex-wrap: wrap; }
.header__logo { display: block; border-radius: 6px; }
.header__logo img { height: 52px; width: auto; }
.header__toggle { display: none; place-items: center; width: 48px; height: 48px; background: none; color: var(--white); border: 2px solid rgb(255 255 255 / 0.35); border-radius: 12px; cursor: pointer; }
html.js .header__toggle { display: grid; }
.header__toggle .icon-close, .header__toggle[aria-expanded="true"] .icon-open { display: none; }
.header__toggle[aria-expanded="true"] .icon-close { display: block; }

.nav { width: 100%; padding: 0.5rem 0 1.25rem; }
html.js .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; width: auto; max-height: calc(100dvh - var(--header-h)); overflow-y: auto; background: var(--navy); padding: 0.5rem var(--gutter) 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.12); }
html.js .nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.nav li a { display: block; padding: 0.9rem 0.25rem; color: var(--white); font-weight: 600; font-size: 1.1rem; text-decoration: none; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.nav li a[aria-current="page"] { color: var(--yellow); }
.nav__cta { width: 100%; }

@media (min-width: 1024px) {
  .header__toggle, html.js .header__toggle { display: none; }
  .nav, html.js .nav, html.js .nav.is-open { display: flex; align-items: center; gap: 1rem; position: static; width: auto; max-height: none; overflow: visible; background: none; padding: 0; border: 0; }
  .nav ul { display: flex; gap: 0.15rem; margin: 0; }
  .nav li a { padding: 0.5rem 0.8rem; border: 0; border-radius: 8px; font-size: 1rem; position: relative; }
  .nav li a:hover { background: rgb(255 255 255 / 0.08); }
  .nav li a[aria-current="page"]::after { content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 2px; height: 3px; border-radius: 2px; background: var(--yellow); }
  .nav__cta { width: auto; min-height: 46px; padding: 0.5rem 1.2rem; font-size: 1rem; }
}

/* ---------- 5. STARTSEITE ---------- */
.hero { background: radial-gradient(circle at 85% 20%, rgb(255 193 7 / 0.12), transparent 40%), linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 100%); color: #dfe7f2; padding-block: clamp(2.5rem, 7vw, 5.5rem); overflow: hidden; }
.hero__inner { display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { color: var(--white); }
.hl { color: var(--yellow); }
.hero__lead { font-size: clamp(1.1rem, 2.5vw, 1.25rem); max-width: 560px; margin-bottom: 1.75rem; }
.hero__facts { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; font-weight: 600; font-size: 0.97rem; }
.hero__facts li { display: flex; align-items: center; gap: 0.45rem; }
.hero__facts .icon { color: var(--yellow); width: 20px; height: 20px; }
.hero__media { width: 100%; max-width: 560px; margin-inline: auto; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.25fr 1fr; gap: 4rem; } }

.more { margin: 2rem 0 0; }
.more .inline-icon { display: inline; vertical-align: -3px; width: 18px; height: 18px; }
.towns { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.towns li { background: var(--white); border: 1px solid var(--gray-300); border-radius: 999px; padding: 0.35rem 0.9rem; font-weight: 600; font-size: 0.95rem; color: var(--navy); }

/* 3D-Szene: Haus, Transporter, Kartons (SVG-Ebenen mit CSS-3D) */
.scene { position: relative; width: 100%; aspect-ratio: var(--ratio); perspective: var(--persp); }
.scene__stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); will-change: transform; }
.scene__layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.scene__layer:first-child { filter: drop-shadow(0 24px 30px rgb(0 0 0 / 0.35)); }
.edge { stroke: rgb(11 37 69 / 0.35); stroke-width: 1.2; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  .scene:not(.is-tracking) .scene__stage { animation: sway 9s ease-in-out infinite; }
  .float { animation: float 4.5s ease-in-out infinite; }
  .float--b { animation-duration: 5.5s; animation-delay: -2s; }
}
@keyframes sway { 0%, 100% { transform: rotateX(4deg) rotateY(-7deg); } 50% { transform: rotateX(-2deg) rotateY(7deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Leistungs-Kacheln */
.tiles { list-style: none; margin: 0; padding: 0; }
.tile { position: relative; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); transition: box-shadow 0.2s, border-color 0.2s; }
.tile:hover { box-shadow: var(--shadow-lg); border-color: var(--yellow); }
.tile h3 { margin-bottom: 0.35em; }
.tile p { margin: 0; color: var(--gray-600); }
.tile__link { color: var(--navy); text-decoration: none; }
.tile__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }   /* ganze Kachel klickbar */
.tile__link:focus-visible { outline: none; box-shadow: none; }
.tile:has(.tile__link:focus-visible) { outline: 3px solid var(--yellow); outline-offset: 2px; }
@media (max-width: 639px) {   /* Handy: Icon links neben dem Text */
  .tile { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; padding: 1.1rem 1.15rem; }
  .tile .icon-badge { grid-row: span 2; margin: 0; width: 44px; height: 44px; }
  .tile .icon-badge .icon { width: 24px; height: 24px; }
}

/* Vorteile */
.benefit { display: flex; gap: 1rem; align-items: flex-start; }
.benefit h3 { margin-bottom: 0.3em; }
.benefit p { margin: 0; color: var(--gray-600); }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding: 1.5rem 1.5rem 1.5rem 5rem; background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.12); border-radius: var(--radius); }
.step__num { position: absolute; left: 1.25rem; top: 1.35rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 800; font-size: 1.2rem; }
.step h3 { margin-bottom: 0.35em; }
.step p { margin: 0; color: #c9d5e5; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding: 4.75rem 1.5rem 1.75rem; }
  .step__num { top: 1.5rem; left: 1.5rem; }
}

/* Kostenübernahme */
.ku { display: grid; gap: 1.5rem; background: var(--yellow-50); border: 1px solid #ffe08a; border-radius: calc(var(--radius) * 1.5); padding: clamp(1.5rem, 5vw, 3rem); }
.ku__hint { color: var(--gray-600); font-size: 0.97rem; }
@media (min-width: 800px) {
  .ku { grid-template-columns: auto 1fr; gap: 2rem; }
  .ku__icon { width: 72px; height: 72px; }
  .ku__icon .icon { width: 36px; height: 36px; }
}

/* Bewertungen (nur Platzhalter) */
.review-ph { border: 2px dashed var(--gray-300); border-radius: var(--radius); padding: 1.75rem 1.5rem; text-align: center; color: var(--gray-600); background: var(--white); }
.review-ph__stars { display: flex; justify-content: center; gap: 0.2rem; color: var(--gray-300); margin-bottom: 0.75rem; }
.review-ph__stars .icon { width: 20px; height: 20px; }
.review-ph p { margin: 0; font-weight: 600; }
.review-note { text-align: center; margin: 2rem 0 0; color: var(--gray-600); }

/* Abschluss-Band */
.cta { padding-block: var(--section); }
.cta__box { display: grid; gap: 1.75rem; align-items: center; background: var(--navy); color: #dfe7f2; border-radius: calc(var(--radius) * 1.5); padding: clamp(1.75rem, 5vw, 3.25rem); position: relative; overflow: hidden; }
.cta__box::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--yellow); }
.cta h2 { color: var(--white); margin-bottom: 0.4em; }
.cta p { margin: 0; font-size: 1.1rem; max-width: 560px; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 0.85rem; }
@media (max-width: 479px) { .cta__buttons .btn { width: 100%; } }
@media (min-width: 900px) { .cta__box { grid-template-columns: 1fr auto; gap: 3rem; } .cta__buttons { flex-direction: column; } }

/* ---------- 6. UNTERSEITEN ---------- */
.page-hero { background: var(--navy); color: #dfe7f2; padding-block: clamp(2.75rem, 7vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 280px; height: 280px; border: 30px solid var(--yellow); border-radius: 50%; opacity: 0.14; pointer-events: none; }
.page-hero h1 { color: var(--white); max-width: 820px; }
.page-hero p { font-size: 1.15rem; max-width: 680px; margin-bottom: 0; }
.page-hero .btn-row { margin-top: 1.75rem; }
@media (max-width: 699px) { .page-hero::after { display: none; } }

.breadcrumb { font-size: 0.9rem; margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumb li + li::before { content: "›"; margin-right: 0.4rem; color: var(--yellow); }
.breadcrumb a { color: #c9d5e5; display: inline-flex; align-items: center; min-height: 32px; }
.breadcrumb [aria-current] { color: var(--white); }

.feature { display: block; padding: 1.75rem; border-radius: var(--radius); background: var(--navy); color: #dfe7f2; text-decoration: none; transition: transform 0.2s; }
.feature:hover { color: #dfe7f2; }
@media (prefers-reduced-motion: no-preference) { .feature:hover { transform: translateY(-3px); } }
.feature h3 { color: var(--white); }
.feature .icon-badge { background: var(--yellow); color: var(--navy); }
.feature__more { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--yellow); font-weight: 700; }
.feature__more .icon { width: 18px; height: 18px; }

.portrait { max-width: 440px; }
.prose .btn-row { margin-top: 1.5rem; }
.flow { padding-left: 1.3em; margin-bottom: 2rem; }
.flow li { margin-bottom: 0.6em; }
.flow li::marker { font-weight: 800; color: var(--navy); }
.h3 { font-size: clamp(1.15rem, 2.5vw, 1.3rem); }

/* FAQ (Akkordeon aus <details>, funktioniert ohne JavaScript) */
.faq { display: grid; gap: 0.75rem; max-width: 820px; }
.faq__item { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq__item[open] { border-color: var(--yellow); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; min-height: 56px; cursor: pointer; list-style: none; border-radius: var(--radius); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__q { margin: 0; font-size: 1.07rem; line-height: 1.35; }
.faq__icon { flex: none; color: var(--navy); background: var(--yellow); border-radius: 50%; padding: 3px; width: 28px; height: 28px; transition: transform 0.2s; }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__a { padding: 0 1.25rem 1.15rem; color: var(--gray-600); }
.faq__a p { margin: 0; }

/* Galerie + Lightbox */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.gallery__item { display: block; width: 100%; aspect-ratio: 4/5; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--gray-100); font: inherit; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
@media (prefers-reduced-motion: no-preference) { .gallery__item:hover img { transform: scale(1.04); } }
.gallery__ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; height: 100%; padding: 0.75rem; color: var(--gray-600); font-weight: 600; font-size: 0.9rem; border: 2px dashed var(--gray-300); border-radius: var(--radius); background: repeating-linear-gradient(-45deg, transparent 0 14px, rgb(11 37 69 / 0.035) 14px 28px); }
.gallery__ph .icon { color: var(--navy-500); opacity: 0.6; width: 32px; height: 32px; }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(7 20 40 / 0.95); color: var(--white); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgb(7 20 40 / 0.95); }
.lightbox__figure { margin: 0; padding: 4rem 0.5rem; display: grid; gap: 0.75rem; justify-items: center; min-width: 0; }
.lightbox__stage img { max-width: 100%; max-height: 75dvh; border-radius: var(--radius-sm); }
.lb-ph { width: min(80vw, 760px); aspect-ratio: 4/3; display: grid; place-items: center; border: 2px dashed rgb(255 255 255 / 0.3); border-radius: var(--radius); font-weight: 600; text-align: center; padding: 1rem; }
.lightbox figcaption { text-align: center; color: #c9d5e5; }
.lightbox__btn { display: grid; place-items: center; width: 48px; height: 48px; margin: 0.25rem; border-radius: 50%; border: 0; background: rgb(255 255 255 / 0.12); color: var(--white); cursor: pointer; }
.lightbox__btn:hover { background: var(--yellow); color: var(--navy); }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; }

/* Kontakt + Formular */
.contact { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1000px) {
  .contact { grid-template-columns: 340px 1fr; gap: 3rem; }
  .contact__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.contact__title { font-size: clamp(1.4rem, 3vw, 1.75rem); }
.contact__list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.9rem; }
.contact__item { display: flex; gap: 0.9rem; align-items: center; color: var(--text); text-decoration: none; }
a.contact__item:hover strong { text-decoration: underline; }
.contact__item .icon-badge { margin: 0; width: 46px; height: 46px; }
.contact__item .icon-badge .icon { width: 22px; height: 22px; }
.contact__item strong { display: block; color: var(--navy); line-height: 1.3; }
.contact__form { padding: clamp(1.25rem, 4vw, 2.5rem); }

.form-hint, .form-small { color: var(--gray-600); font-size: 0.95rem; }
.form-small { margin: 0.75rem 0 0; }
.form fieldset { border: 0; margin: 0 0 1.75rem; padding: 0; min-width: 0; }
.form legend { font-weight: 800; color: var(--navy); font-size: 1.1rem; margin-bottom: 0.9rem; padding: 0; }
.row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .row { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.35rem; align-content: start; }
.form > .field { margin-bottom: 1.5rem; }
.form label, .form .label { font-weight: 600; font-size: 0.97rem; }
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form input[type="date"], .form select, .form textarea {
  width: 100%; min-height: 50px; padding: 0.7rem 0.9rem; font: inherit; font-size: 1rem; color: var(--text); background: var(--white); border: 2px solid var(--gray-300); border-radius: var(--radius-sm);
}
.form textarea { resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { border-color: var(--navy); box-shadow: 0 0 0 3px var(--yellow); outline: none; }
.form [aria-invalid="true"] { border-color: var(--error) !important; }
.field-error { color: var(--error); font-size: 0.92rem; font-weight: 600; margin: 0; }
.field-error:not(:empty)::before { content: "⚠ "; }
.radios { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; min-height: 50px; align-items: center; }
.radios label, .check { display: flex; align-items: flex-start; gap: 0.55rem; font-weight: 500; cursor: pointer; }
.form input[type="radio"], .form input[type="checkbox"] { width: 22px; height: 22px; margin: 0.1em 0 0; flex: none; accent-color: var(--navy); }
.checks { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .checks { grid-template-columns: 1fr 1fr; } }
.check--privacy { margin-bottom: 0.25rem; font-size: 0.95rem; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:not(:empty) { margin-bottom: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status[data-type="error"] { background: #fdecea; color: var(--error); }
.form-status[data-type="info"] { background: var(--yellow-50); color: var(--text); border-left: 5px solid var(--yellow); }
.btn--submit { width: 100%; }
@media (min-width: 640px) { .btn--submit { width: auto; } }
.btn .spinner { display: none; width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 3px solid rgb(11 37 69 / 0.25); border-top-color: var(--navy); animation: spin 0.8s linear infinite; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 7. FOOTER & STICKY-LEISTE ---------- */
.footer { background: #071a33; color: #c9d5e5; padding-top: 3.5rem; font-size: 0.98rem; }
.footer a { color: var(--white); }
.footer a:hover { color: var(--yellow); }
.footer__grid { display: grid; gap: 2.25rem; padding-bottom: 2.5rem; }
.footer__brand img { margin-bottom: 1rem; }
.footer__brand p { max-width: 340px; }
.footer__area { font-size: 0.9rem; }
.footer__title { color: var(--white); font-size: 1.05rem; margin-bottom: 1rem; }
.footer__list, .footer__links { list-style: none; margin: 0; padding: 0; }
.footer__list li { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 0.75rem; }
.footer__list .icon { color: var(--yellow); flex: none; margin-top: 0.2em; width: 20px; height: 20px; }
.footer__list address { font-style: normal; }
.footer__links a, .footer__list a { display: inline-flex; align-items: center; min-height: 32px; }
.footer__links li { margin-bottom: 0.35rem; }
.footer__fb-item { margin-top: 0.75rem; }
.footer__bottom { border-top: 1px solid rgb(255 255 255 / 0.12); padding-block: 1.25rem; font-size: 0.9rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.footer__bottom p { margin: 0; }
.footer__bottom-inner { align-items: center; }
.footer__credit { color: #9fb0c6; }
.footer__credit a { color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 1px; transition: color 0.15s; }
.footer__credit a::after { content: "\2197" / ""; margin-left: 0.3em; font-weight: 400; color: var(--yellow); }
.footer__credit a:hover { color: var(--yellow); }
@media (max-width: 699px) { .footer__credit { flex-basis: 100%; margin-top: 0.4rem; padding-top: 0.9rem; border-top: 1px solid rgb(255 255 255 / 0.1); } }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1.2fr 1.2fr 0.9fr; } }

.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--navy); box-shadow: 0 -4px 16px rgb(0 0 0 / 0.18); }
.sticky-bar__btn { display: flex; align-items: center; justify-content: center; gap: 0.55rem; height: var(--sticky-h); font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.sticky-bar__btn .icon { width: 24px; height: 24px; }
.sticky-bar__btn--call { background: var(--yellow); color: var(--navy); }
.sticky-bar__btn--call:hover { color: var(--navy); }
.sticky-bar__btn--wa { color: var(--white); }
.sticky-bar__btn--wa:hover { color: var(--yellow); }
.sticky-bar__btn:focus-visible { outline-offset: -5px; box-shadow: none; }
@media (min-width: 900px) { .sticky-bar { display: none; } }

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

/* Banner (Kundengrafiken) */
.brand-strip { padding: 2rem 0; background: var(--white); text-align: center; }
.brand-strip img { width: min(100%, 520px); height: auto; margin-inline: auto; }

/* Facebook-Buttons */
.btn--sm { min-height: 44px; padding: 0.5rem 1.15rem; font-size: 0.97rem; }
.btn--sm .icon { width: 20px; height: 20px; }
.review-actions { text-align: center; margin: 1.25rem 0 0; }
.contact__fb { margin: 1.25rem 0 0; }
.contact__fb .btn { width: 100%; }
