/* ==========================================================================
   Embke Immobilien, Gewerbehallen Büdelsdorf
   ========================================================================== */

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */
@font-face {
  font-family: "Playfair Display";
  src: url("../assets/fonts/playfair-display-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Tokens ---------- */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F3F0;
  --ink: #23272B;
  --ink-deep: #1A1D20;
  --muted: #5F666D;
  --line: #E2E0DB;
  --accent: #2F4A5C;
  --accent-hover: #233847;
  --signal: #C8892B;
  --ok: #3E7D4F;
  --off: #9AA0A6;
  --error: #B3261E;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 4px;
  --container: 1200px;
  --gutter: 1.25rem;
  --nav-h: 72px;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;

  --section-pad: 3.5rem;
  --shadow-sm: 0 1px 2px rgba(35, 39, 43, 0.06);
  --shadow-md: 0 6px 20px rgba(35, 39, 43, 0.08);
  --shadow-lg: 0 18px 50px rgba(20, 23, 26, 0.25);
  --transition: 180ms ease;
}

@media (min-width: 640px) {
  :root { --section-pad: 5rem; --gutter: 1.5rem; }
}

@media (min-width: 1024px) {
  :root { --section-pad: 7rem; --gutter: 2rem; }
}

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 1rem);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, picture { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); letter-spacing: -0.005em; }
h3 { font-size: 1.3rem; }

p { max-width: 68ch; }

.lead { font-size: 1.125rem; color: var(--muted); }
.small { font-size: 0.875rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}

.eyebrow--light { color: #C9D4DC; }

.num { font-variant-numeric: tabular-nums; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-pad); background: var(--bg); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink-deep); color: #E7EBEE; }
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark .lead { color: #AEB8BF; }

.section-head { margin-bottom: var(--space-7); max-width: 720px; }
.section-head h2 { margin-bottom: var(--space-4); }
.section-head .lead { max-width: 60ch; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }

.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn--outline-light:hover { background: #fff; color: var(--ink); }

.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { background: var(--bg-alt); color: var(--accent-hover); }

.btn--small { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--lg { min-height: 54px; padding: 0.9rem 1.75rem; font-size: 1rem; }

.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Fokus und Hilfsklassen ---------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.section--dark :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible { outline-color: #fff; }

.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;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
}

.skip-link:focus { top: 0; color: #fff; }
main:focus { outline: none; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}

.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover { color: var(--ink); }
.brand__name { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; }

.brand__sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__menu { display: flex; align-items: center; gap: var(--space-6); }
.nav__links { display: flex; gap: var(--space-6); list-style: none; padding: 0; }

.nav__links a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding-block: 0.5rem;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.15rem;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}

.nav__toggle-bar,
.nav__toggle-bar::before,
.nav__toggle-bar::after {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform var(--transition), background-color var(--transition);
}

.nav__toggle-bar { top: 21px; }
.nav__toggle-bar::before { content: ""; left: 0; top: -7px; }
.nav__toggle-bar::after { content: ""; left: 0; top: 7px; }

.nav__toggle[aria-expanded="true"] .nav__toggle-bar { background: transparent; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__toggle { display: block; }

  .nav__menu {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-4) var(--gutter) var(--space-6);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .nav__menu.is-open { visibility: visible; opacity: 1; transform: none; }
  .nav__links { flex-direction: column; gap: 0; }

  .nav__links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav__links a::after { display: none; }
  .nav__cta { margin-top: var(--space-5); }
}

main { padding-top: var(--nav-h); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(88vh, 760px);
  padding-block: var(--space-8);
  overflow: hidden;
  background: var(--ink-deep);
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 23, 26, 0.92) 0%, rgba(20, 23, 26, 0.78) 38%, rgba(20, 23, 26, 0.25) 75%, rgba(20, 23, 26, 0.1) 100%),
    linear-gradient(0deg, rgba(20, 23, 26, 0.55) 0%, rgba(20, 23, 26, 0) 35%);
}

.hero__inner { max-width: var(--container); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: var(--space-5); }

.hero__lead {
  max-width: 52ch;
  font-size: 1.125rem;
  color: #D9E0E5;
  margin-bottom: var(--space-5);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.45rem 0.9rem;
  margin-bottom: var(--space-6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
}

.status-pill__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(200, 137, 43, 0.25);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

@media (max-width: 720px) {
  .hero { min-height: auto; padding-block: var(--space-7) var(--space-8); }
  .hero__bg { object-position: 60% 50%; }
  .hero__shade { background: linear-gradient(180deg, rgba(20, 23, 26, 0.7) 0%, rgba(20, 23, 26, 0.88) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Kennzahlen
   ========================================================================== */
.stats { background: var(--accent); color: #fff; }
.stats__list { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; }

.stats__item {
  padding: var(--space-5) var(--space-4);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.stats__item:nth-child(odd) { border-left: 0; }
.stats__item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.16); }

.stats__item dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C9D4DC;
  margin-bottom: var(--space-1);
}

.stats__item dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem);
  line-height: 1.25;
}

@media (min-width: 900px) {
  .stats__list { grid-template-columns: repeat(4, 1fr); }
  .stats__item { padding: var(--space-6) var(--space-5); }
  .stats__item:nth-child(odd) { border-left: 1px solid rgba(255, 255, 255, 0.16); }
  .stats__item:first-child { border-left: 0; }
  .stats__item:nth-child(n+3) { border-top: 0; }
}

/* ==========================================================================
   Angebot
   ========================================================================== */
.about { display: grid; gap: var(--space-7); }
.about__text h2 { margin-bottom: var(--space-5); }
.about__text p { color: var(--muted); }
.about__text p + p { margin-top: var(--space-4); }

.features { display: grid; gap: var(--space-5); list-style: none; padding: 0; }

.feature {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--line);
}

.feature:last-child { border-bottom: 0; padding-bottom: 0; }

.feature__icon {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-alt);
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature h3 { font-size: 1.1rem; margin-bottom: var(--space-1); }
.feature p { color: var(--muted); font-size: 0.9375rem; }

@media (min-width: 900px) {
  .about { grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }
}

/* ==========================================================================
   Lageplan (Luftbild mit Abteilen)
   ========================================================================== */
.map { display: grid; gap: var(--space-5); }

.map__stage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111417;
  box-shadow: var(--shadow-lg);
}

.map__svg {
  width: 100%;
  height: auto;
  aspect-ratio: 900 / 860;
  touch-action: manipulation;
}

.map__dim { fill: rgba(12, 14, 16, 0.5); pointer-events: none; }

.map__views {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  z-index: 2;
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius);
  background: rgba(20, 23, 26, 0.75);
  backdrop-filter: blur(6px);
}

.map__view-btn {
  min-height: 40px;
  padding: 0.35rem 0.9rem;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #DDE3E7;
  font-size: 0.8125rem;
  font-weight: 600;
}

.map__view-btn:hover { background: rgba(255, 255, 255, 0.1); }
.map__view-btn[aria-pressed="true"] { background: #fff; color: var(--ink); }

.map__credit {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.2rem 0.5rem;
  background: rgba(20, 23, 26, 0.7);
  color: #C5CCD1;
  font-size: 0.6875rem;
  border-top-left-radius: var(--radius);
}

.map-hall { cursor: pointer; outline: none; }

.map-hall__shape {
  fill: rgba(47, 74, 92, 0.18);
  stroke: #fff;
  stroke-width: 2.5;
  transition: fill var(--transition), stroke var(--transition);
}

.map-unit {
  fill: transparent;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 1.2;
  stroke-dasharray: 4 3;
  pointer-events: none;
}

.map-num__bg {
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 1.5;
  transition: fill var(--transition);
  pointer-events: none;
}

.map-num {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  fill: #fff;
  pointer-events: none;
}

.map-hall:hover .map-hall__shape,
.map-hall:focus-visible .map-hall__shape,
.map-hall.is-active .map-hall__shape {
  fill: rgba(200, 137, 43, 0.35);
  stroke: var(--signal);
  stroke-width: 4;
}

.map-hall:hover .map-num__bg,
.map-hall:focus-visible .map-num__bg,
.map-hall.is-active .map-num__bg { fill: var(--signal); }

.map-street {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  fill: rgba(255, 255, 255, 0.85);
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.45);
  stroke-width: 3px;
}

.map-area-label {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: #fff;
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.55);
  stroke-width: 4px;
}

.map-north circle { fill: rgba(20, 23, 26, 0.75); stroke: rgba(255, 255, 255, 0.5); }
.map-north path { fill: #fff; }

.map__panel {
  display: grid;
  gap: var(--space-5);
  align-content: start;
}

.map__info {
  padding: var(--space-5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--signal);
}

.map__info-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9DA9B1;
}

.map__info-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
  margin: var(--space-1) 0 var(--space-2);
}

.map__info-text { color: #C5CCD1; font-size: 0.9375rem; margin-bottom: var(--space-4); }

.map__group-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9DA9B1;
  margin-bottom: var(--space-2);
}

.map__list { display: grid; gap: 2px; }

.map__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.9rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: #E7EBEE;
  font-size: 0.9375rem;
  font-weight: 500;
  text-align: left;
  transition: background-color var(--transition), border-color var(--transition);
}

.map__item:hover { background: rgba(255, 255, 255, 0.09); }
.map__item.is-active { border-color: var(--signal); background: rgba(200, 137, 43, 0.14); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #C5CCD1;
}

.tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--off);
}

@media (min-width: 1000px) {
  .map { grid-template-columns: minmax(0, 1fr) 330px; gap: var(--space-6); }
}

/* ==========================================================================
   Ansichten
   ========================================================================== */
.views { display: grid; gap: var(--space-4); }

.views__btn {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  text-align: left;
  aspect-ratio: 4 / 3;
}

.views__btn img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.views__btn:hover img { transform: scale(1.04); }

.views__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-7) var(--space-5) var(--space-4);
  background: linear-gradient(to top, rgba(20, 23, 26, 0.85), rgba(20, 23, 26, 0));
  color: #D9E0E5;
  font-size: 0.875rem;
}

.views__caption strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
}

.credit { margin-top: var(--space-3); font-size: 0.75rem; color: var(--muted); }

@media (min-width: 800px) {
  .views { grid-template-columns: repeat(6, 1fr); }
  .views__item { grid-column: span 2; }
  .views__item--wide { grid-column: span 4; grid-row: span 2; }
  .views__item .views__btn { aspect-ratio: auto; min-height: 250px; }
  .views__item--wide .views__btn { min-height: 516px; }
  .views__item:nth-child(4),
  .views__item:nth-child(5) { grid-column: span 3; }
  .views__item:nth-child(4) .views__btn,
  .views__item:nth-child(5) .views__btn { min-height: 300px; }
}

.lightbox {
  width: min(1100px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  overflow: visible;
}

.lightbox::backdrop { background: rgba(12, 14, 16, 0.88); }
.lightbox figure { margin: 0; }
.lightbox__img { width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; }
.lightbox__caption { padding: var(--space-3) var(--space-4); font-size: 0.9375rem; }

.lightbox__close {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
  .lightbox__close { top: 0.5rem; right: 0.5rem; }
}

/* ==========================================================================
   Ablauf
   ========================================================================== */
.steps { display: grid; gap: var(--space-5); counter-reset: none; }

.step {
  position: relative;
  padding: var(--space-6) var(--space-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-4);
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.step h3 { margin-bottom: var(--space-2); }
.step p { color: var(--muted); font-size: 0.9375rem; }

.steps__cta { margin-top: var(--space-7); text-align: center; }

@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Anfahrt
   ========================================================================== */
.directions { display: grid; gap: var(--space-6); }

.address-card {
  align-self: start;
  padding: var(--space-6) var(--space-5);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
}

.address-card h3 { color: #fff; margin-bottom: var(--space-4); }

.address-card address {
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.routes { display: grid; gap: var(--space-5); list-style: none; padding: 0; }
.route { padding-left: var(--space-5); border-left: 2px solid var(--line); }
.route h3 { font-size: 1.15rem; margin-bottom: var(--space-2); }
.route p { color: var(--muted); font-size: 0.9375rem; }

@media (min-width: 900px) {
  .directions { grid-template-columns: 340px 1fr; gap: var(--space-8); }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }

.faq__item summary {
  position: relative;
  display: block;
  padding: var(--space-5) 3rem var(--space-5) 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-75%) rotate(45deg);
  transition: transform var(--transition);
}

.faq__item[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__answer { padding-bottom: var(--space-5); color: var(--muted); }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact { display: grid; gap: var(--space-6); }

.form {
  padding: var(--space-6) var(--space-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form__row { display: grid; gap: 0 var(--space-4); }
.field { margin-bottom: var(--space-4); }

.field label {
  display: block;
  margin-bottom: var(--space-1);
  font-size: 0.875rem;
  font-weight: 600;
}

.req { color: var(--signal); }

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  background: var(--bg);
  border: 1px solid #CFCCC6;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea { resize: vertical; min-height: 120px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 74, 92, 0.18);
}

.field [aria-invalid="true"] { border-color: var(--error) !important; }

.field__error { margin-top: var(--space-1); font-size: 0.8125rem; font-weight: 500; color: var(--error); }
.field__error:empty { display: none; }

.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.field--check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-1) var(--space-3);
  align-items: start;
}

.field--check input { width: 20px; height: 20px; margin-top: 0.2rem; accent-color: var(--accent); }
.field--check label { font-weight: 400; font-size: 0.875rem; color: var(--muted); margin: 0; }
.field--check .field__error { grid-column: 2; }

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

.form__hint { color: var(--muted); }

.form__result {
  margin-top: var(--space-5);
  padding: var(--space-4);
  border-left: 3px solid var(--ok);
  background: #EEF5F0;
  font-size: 0.9375rem;
}

.form__result.is-error { border-left-color: var(--error); background: #FBEDEC; }

.contact-card {
  align-self: start;
  padding: var(--space-6) var(--space-5);
  background: var(--bg-alt);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
}

.contact-card h3 { margin-bottom: var(--space-3); }
.contact-card__name { font-weight: 600; margin-bottom: var(--space-4); }

.contact-card__list { display: grid; gap: var(--space-3); list-style: none; padding: 0; }

.contact-card__list span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card__list a { font-weight: 600; }

@media (min-width: 640px) {
  .form { padding: var(--space-7) var(--space-6); }
  .form__row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .contact { grid-template-columns: 1fr 320px; gap: var(--space-7); }
}

/* ==========================================================================
   CTA-Band und Footer
   ========================================================================== */
.cta-band { padding-block: var(--space-8); background: var(--accent); color: #fff; }

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.cta-band h2 { color: #fff; margin-bottom: var(--space-2); }
.cta-band p { color: #D5DEE4; }

@media (max-width: 639px) {
  .cta-band .btn { width: 100%; }
}

.site-footer { background: var(--ink); color: #C5CCD1; font-size: 0.9375rem; }
.site-footer a { display: inline-block; padding-block: 0.3rem; color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer__grid { display: grid; gap: var(--space-6); padding-block: var(--space-8) var(--space-7); }

.brand--light,
.brand--light:hover { color: #fff; }
.brand--light .brand__sub { color: #9AA6AE; }

.footer__brand p { margin-top: var(--space-4); max-width: 36ch; }

.footer__title {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9AA6AE;
  margin-bottom: var(--space-4);
}

.footer__nav ul { display: grid; gap: var(--space-1); list-style: none; padding: 0; }
.footer__contact address { font-style: normal; line-height: 1.8; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
}

.footer__bottom ul { display: flex; gap: var(--space-5); list-style: none; padding: 0; }

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-7); }
}

/* ==========================================================================
   Rechtliche Seiten
   ========================================================================== */
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); margin-bottom: var(--space-6); }
.legal h2 { font-size: 1.3rem; margin-top: var(--space-7); margin-bottom: var(--space-3); }
.legal p { color: var(--muted); }
.legal p + p { margin-top: var(--space-3); }

/* ==========================================================================
   Bewegung reduzieren
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 639px) {
  .map__credit {
    position: static;
    padding: 0.4rem 0.6rem;
    border-radius: 0;
    font-size: 0.625rem;
  }
  .map__views { top: var(--space-2); left: var(--space-2); }
  .map__view-btn { padding-inline: 0.75rem; }
}
