/* Standortkunden · Startseite
   Tokens aus dem Design-System (Standortkunden v1), Schrift Sora selbst gehostet. */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url("../fonts/sora-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --surface: #FAF9F5;
  --surface-card: #FFFFFF;
  --ink: #12261F;
  --ink-muted: #6B6B66;
  --accent: #2FA37C;
  --accent-hover: #27906D;
  --accent-text: #0E6B4F;
  --accent-tint: #E7F4EE;
  --on-accent: #FFFFFF;
  --border: #E4E1DA;
  --dark: #12261F;
  --dark-card: #1E3529;
  --dark-border: #2E453A;
  --dark-muted: #9DB5A8;
  --dark-accent-text: #6FCBA8;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 999px;
  --shadow-card: 0 4px 14px rgba(18, 38, 31, 0.10);
  --shadow-float: 0 24px 60px rgba(18, 38, 31, 0.18);
  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --wrap-narrow: 1000px;
  --gutter: 20px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-text); }
a:hover { color: var(--ink); }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
strong { font-weight: 700; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
::selection { background: var(--accent-tint); color: var(--ink); }

/* ---------- Header ---------- */
.header { background: var(--dark); color: var(--surface); padding: 16px 0; }
.header__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px 16px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--surface); }
.brand__icon { flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__name { font-size: 24px; line-height: 1; font-weight: 700; letter-spacing: -0.02em; color: var(--surface); }
.brand__name em { font-style: normal; color: var(--dark-accent-text); }
.brand__claim { font-size: 12px; line-height: 1.3; font-weight: 500; letter-spacing: 0.02em; color: var(--dark-muted); }
.seats {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--dark-card); border: 1px solid var(--dark-border); color: var(--surface);
  font-size: 13px; font-weight: 600; padding: 9px 14px 9px 12px; border-radius: var(--radius-pill);
  white-space: nowrap;
}
.seats__bar { display: inline-flex; gap: 4px; align-items: center; }
.seats__bar i { display: inline-block; width: 14px; height: 6px; border-radius: 3px; background: var(--accent); }
.seats__bar i.is-open { background: var(--surface); animation: pip 1.6s ease-in-out infinite; }
.seats em { font-style: normal; color: var(--dark-accent-text); }
@keyframes pip { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }

/* ---------- Hero ---------- */
.hero {
  padding: 48px 0 0;
  background-color: var(--surface);
  background-image: radial-gradient(circle at 1px 1px, rgba(18, 38, 31, 0.10) 1px, transparent 0);
  background-size: 28px 28px;
}
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-tint); color: var(--accent-text);
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 14px; border-radius: var(--radius-pill);
}
.hero h1 {
  max-width: 900px;
  font-size: clamp(30px, 5.2vw, 62px); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero__sub { max-width: 740px; font-size: clamp(16px, 2.2vw, 19px); line-height: 1.6; text-wrap: pretty; }

/* ---------- Video ---------- */
.video { padding: 28px 0 56px; position: relative; }
.video::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 180px;
  background: linear-gradient(180deg, rgba(250, 249, 245, 0) 0%, var(--surface) 100%);
  background-color: var(--surface); z-index: 0;
  /* Deckt das Punktraster des Heros nach unten hin ab. */
}
.hero { padding-bottom: 180px; margin-bottom: -180px; }
.video__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.player { width: 100%; position: relative; }
.player__shadow {
  position: absolute; inset: 12px -12px -12px 12px; border-radius: var(--radius-xl);
  background: var(--accent-tint); z-index: 0;
}
.player__frame {
  position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 9;
  background: var(--dark); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-float);
}
.player__frame video { width: 100%; height: 100%; object-fit: cover; background: var(--dark); }
@media (prefers-reduced-motion: reduce) { .seats__bar i.is-open { animation: none; } }

/* ---------- Button ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 16px 30px;
  background: var(--accent); color: var(--on-accent);
  font-family: inherit; font-size: 17px; font-weight: 700; line-height: 1.2;
  border: 0; border-radius: 12px; text-decoration: none; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  box-shadow: var(--shadow-card);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  text-align: center;
}
.btn:hover { background: var(--accent-hover); color: var(--on-accent); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(47, 163, 124, 0.28); }
.btn svg { flex: 0 0 auto; }

/* ---------- Deal-Leiste ---------- */
.deal { background: var(--surface-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.deal__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 14px 24px; }
.deal__item { display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 600; }
.icon-box {
  flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-tint);
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-box--dark { background: var(--dark); }
.icon-box--sm { width: 40px; height: 40px; border-radius: 10px; }

/* ---------- Standortanalyse + Termin ---------- */
.termin { padding: 64px 0 80px; scroll-margin-top: 16px; }
.termin__grid { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: flex-start; }
.termin__text { flex: 1 1 360px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.kicker { display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--accent); border-radius: 2px; }
.kicker span { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-text); }
.termin h2 { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -0.015em; text-wrap: balance; }
.termin__lead { font-size: 17px; line-height: 1.65; text-wrap: pretty; }
.checks { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks p { padding-top: 8px; font-size: 16px; line-height: 1.5; }
.alt {
  margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--border);
  font-size: 14px; line-height: 1.5; color: var(--ink-muted);
  display: flex; gap: 10px; align-items: flex-start;
}
.alt svg { flex: 0 0 auto; margin-top: 2px; }
.alt a { font-weight: 600; white-space: nowrap; }

.card {
  flex: 1 1 440px; min-width: 0;
  display: flex; flex-direction: column; gap: 16px;
  background: var(--surface-card); border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 24px; box-shadow: 0 24px 60px rgba(18, 38, 31, 0.14);
}
.card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.card__title { font-size: 18px; font-weight: 700; }
.card__meta { font-size: 13px; color: var(--ink-muted); }
.card__pill { font-size: 13px; font-weight: 600; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 6px 12px; }
.cal { width: 100%; min-height: 560px; border-radius: var(--radius-md); overflow: hidden; }
.cal iframe { width: 100% !important; }
.card__fallback { font-size: 14px; color: var(--ink-muted); }
.ticks { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--ink-muted); }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.card__legal { font-size: 12px; line-height: 1.5; color: var(--ink-muted); border-top: 1px solid var(--border); padding-top: 12px; }

/* ---------- Buchungs-Popup ---------- */
.modal {
  width: min(720px, calc(100% - 32px)); max-height: min(92vh, 920px);
  margin: auto; padding: 0; border: 0; border-radius: var(--radius-xl);
  background: var(--surface-card); color: var(--ink); box-shadow: var(--shadow-float);
  overflow: auto;
}
.modal::backdrop { background: rgba(18, 38, 31, 0.62); }
.modal-open { overflow: hidden; }
.modal__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 24px 24px 12px; border-bottom: 1px solid var(--border);
}
.modal__text { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.modal__title { font-size: clamp(22px, 3vw, 30px); line-height: 1.15; font-weight: 800; letter-spacing: -0.015em; text-wrap: balance; }
.modal__sub { font-size: 15px; line-height: 1.5; color: var(--ink-muted); text-wrap: pretty; }
.modal__close {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .15s ease, color .15s ease;
}
.modal__close:hover { background: var(--ink); color: var(--surface); }
.cal--modal { min-height: 520px; border-radius: 0; padding: 8px 12px 0; }
.modal__fallback { padding: 10px 24px 18px; }
.cal--modal iframe { width: 100% !important; min-height: 520px; }
.modal--fallback .cal--modal { display: none; }
.modal--fallback .modal__fallback { font-size: 16px; font-weight: 600; padding-top: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: var(--surface); padding: 36px 0; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 24px; }
.footer .brand__name { font-size: 16px; line-height: 1.2; }
.footer__line { font-size: 13px; line-height: 1.4; color: var(--dark-muted); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; }
.footer__nav a { color: var(--dark-muted); text-decoration: none; }
.footer__nav a:hover { color: #FFFFFF; }

/* ---------- Rechtsseiten ---------- */
.legal { padding: 48px 0 80px; }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.legal__intro { color: var(--ink-muted); margin-bottom: 32px; }
.legal h2 { font-size: 22px; line-height: 1.25; font-weight: 700; margin: 36px 0 10px; }
.legal h3 { font-size: 17px; line-height: 1.35; font-weight: 700; margin: 24px 0 8px; }
.legal p { margin: 0 0 12px; text-wrap: pretty; }
.legal ul { list-style: disc; padding-left: 22px; margin: 0 0 12px; }
.legal li { margin-bottom: 4px; }
.legal .meta { font-size: 14px; color: var(--ink-muted); }
.legal address { font-style: normal; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; text-decoration: none; margin-bottom: 24px; }
.todo { background: #FFF2B3; padding: 0 4px; border-radius: 3px; }

/* ---------- Mobil (bis 600 px) ---------- */
@media (max-width: 600px) {
  :root { --gutter: 16px; }
  /* Header: nur das Logo, zentriert, schmal. Platz-Pill nur auf Desktop. */
  .header { padding: 10px 0; }
  .header__row { justify-content: center; gap: 0; }
  .brand { gap: 10px; }
  .brand__icon { width: 32px; height: 32px; }
  .brand__name { font-size: 21px; }
  .header .brand__claim { display: none; }
  .seats { display: none; }

  .hero { padding-top: 28px; }
  .hero__inner { gap: 14px; }
  .hero h1 { font-size: 31px; line-height: 1.12; }
  .hero__sub { font-size: 16px; line-height: 1.55; }

  .video { padding: 18px 0 40px; }
  .video__inner { gap: 18px; }
  .player__shadow { inset: 8px -8px -8px 8px; border-radius: 14px; }
  .player__frame { border-radius: 14px; box-shadow: 0 14px 34px rgba(18, 38, 31, 0.18); }
  .btn { width: 100%; min-height: 54px; font-size: 16px; padding: 14px 20px; }

  .deal { padding: 18px 0; }
  .deal__grid { gap: 8px; }
  .deal__item { font-size: 15px; gap: 12px; }
  .deal__item .icon-box { width: 38px; height: 38px; border-radius: 10px; }
  .deal__item .icon-box svg { width: 20px; height: 20px; }

  .termin { padding: 44px 0 56px; }
  .termin__grid { gap: 28px; }
  .termin__text { gap: 14px; }
  .termin h2 { font-size: 27px; }
  .termin__lead { font-size: 16px; line-height: 1.55; }
  .checks { gap: 12px; }
  .checks p { font-size: 15px; padding-top: 6px; }
  .icon-box--sm { width: 36px; height: 36px; }
  .alt { font-size: 14px; }

  .card { padding: 18px 16px; border-radius: 14px; box-shadow: var(--shadow-card); gap: 14px; }
  .card__pill { display: none; }
  .cal { min-height: 480px; }
  .modal { width: calc(100% - 20px); max-height: 94vh; border-radius: 14px; }
  .modal__head { padding: 18px 16px 10px; }
  .modal__title { font-size: 22px; }
  .modal__sub { font-size: 14px; }
  .cal--modal { padding: 4px 6px 0; min-height: 460px; }
  .modal__fallback { padding: 8px 16px 14px; }

  /* Footer: alles zentriert und gestapelt. */
  .footer { padding: 28px 0; }
  .footer__row { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .footer .brand { flex-direction: column; gap: 8px; }
  .footer .brand__icon { width: 32px; height: 32px; }
  .footer .brand__text { align-items: center; }
  .footer__line { max-width: 300px; }
  .footer__nav { justify-content: center; gap: 8px 24px; }
  .legal { padding: 32px 0 56px; }
}
