/* ---------- Schriften (lokal gehostet, keine Drittanbieter) ---------- */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: italic; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap; src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 500; font-display: swap; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #18246b;
  --navy-2: #22318f;
  --sky: #2f9fe3;
  --amber: #f8b400;
  --amber-ink: #3a2a00;
  --paper: #f5f3ee;
  --card: #ffffff;
  --ink: #141831;
  --muted: #5b6078;
  --line: #e2dfd6;
  --ok: #1f9d55;
  --closed: #c2412d;
  --radius: 14px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  padding-bottom: 76px; /* Platz für die mobile Aktionsleiste */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--amber-ink); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- Kopfzeile ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 238, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand svg { height: 42px; width: auto; }
.nav { display: none; gap: 22px; font-weight: 500; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--navy); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-amber { background: var(--amber); color: var(--amber-ink); box-shadow: 0 6px 18px -8px rgba(248, 180, 0, .9); }
.btn-amber:hover { background: #ffc21f; }
.btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.header .btn { min-height: 40px; padding: 0 14px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 40px 0 56px;
  isolation: isolate;
}
.hero::before { /* Fahrbahnmarkierung */
  content: ""; position: absolute; inset: auto -10% 0 -10%; height: 10px; z-index: -1;
  background: repeating-linear-gradient(90deg, var(--amber) 0 46px, transparent 46px 74px);
  opacity: .9;
}
.hero::after { /* weicher Lichtschein */
  content: ""; position: absolute; z-index: -1;
  width: 520px; height: 520px; right: -220px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 159, 227, .55), transparent 65%);
}
.hero-swoosh { position: absolute; z-index: -1; right: -40px; bottom: 24px; width: 440px; opacity: .14; }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 500;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  padding: 5px 12px 5px 10px; border-radius: 999px; margin-bottom: 18px;
}
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa0b8; }
.status.is-open .dot { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .22); }
.status.is-closed .dot { background: #ff7a5c; }
.kicker { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--sky); font-size: .95rem; margin-bottom: 10px; }
.hero h1 {
  font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: clamp(2.8rem, 13vw, 5.2rem); line-height: .92; margin-bottom: 18px;
}
.hero h1 em { font-style: italic; color: var(--amber); display: block; }
.hero .lead { color: #d7dbf0; max-width: 34em; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 30px; max-width: 520px; }
.fact { border-left: 3px solid var(--amber); padding: 2px 0 2px 10px; }
.fact b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1; }
.fact span { font-size: .76rem; color: #b8bed9; line-height: 1.25; display: block; margin-top: 4px; }

/* ---------- Abschnitte ---------- */
section { scroll-margin-top: 72px; }
.section { padding: 52px 0; }
.section-head { margin-bottom: 22px; }
.section-head .kicker { color: var(--navy-2); }
.section-head h2 { font-weight: 800; font-size: clamp(2rem, 8vw, 2.8rem); text-transform: uppercase; }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 36em; }

/* Leistungen */
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.service {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px;
}
.service .ico {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  background: #eaf4fc; color: var(--navy-2);
  display: grid; place-items: center;
}
.service .ico svg { width: 20px; height: 20px; }
.service h3 { font-family: var(--body); font-weight: 700; font-size: 1rem; line-height: 1.3; }
.service small { display: inline-block; margin-top: 4px; font-size: .78rem; font-weight: 500; color: var(--amber-ink); background: #fff1c7; padding: 1px 8px; border-radius: 999px; }
.services-note { margin-top: 18px; color: var(--muted); font-size: .95rem; }
.services-note a { color: var(--navy-2); font-weight: 700; }

/* Über uns */
.about { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; gap: 26px; }
.owner {
  position: relative; background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 22px 20px 20px; overflow: hidden;
}
.owner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: repeating-linear-gradient(90deg, var(--amber) 0 22px, transparent 22px 34px); }
.owner .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--sky); font-weight: 700; }
.owner .name { font-family: var(--display); font-weight: 800; font-size: 2rem; text-transform: uppercase; margin: 4px 0 8px; }
.owner p { color: #cfd4ec; font-size: .95rem; margin: 0; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--ok); margin-top: 1px; }

/* Öffnungszeiten */
.hours { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--line); }
.hours-row:first-child { border-top: 0; }
.hours-row .day { font-weight: 700; }
.hours-row .time { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.hours-row .time b { color: var(--ink); font-weight: 500; }
.hours-row.is-today { background: #fff8e1; box-shadow: inset 4px 0 0 var(--amber); }
.hours-row.is-today .day::after { content: "Heute"; margin-left: 8px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--amber); color: var(--amber-ink); padding: 2px 7px; border-radius: 999px; vertical-align: 2px; }
.hours-row.closed .time { color: var(--closed); }
.hint { display: flex; gap: 10px; margin-top: 14px; font-size: .92rem; color: var(--muted); }
.hint svg { flex: none; width: 20px; height: 20px; color: var(--navy-2); margin-top: 2px; }

/* Kontakt */
.contact-grid { display: grid; gap: 14px; }
.contact-list { display: grid; gap: 10px; }
.contact-item {
  display: flex; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
a.contact-item:hover { border-color: var(--sky); }
a.contact-item:active { transform: scale(.99); }
.contact-item .ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--amber); }
.contact-item .ico svg { width: 20px; height: 20px; }
.contact-item small { display: block; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-item strong { font-weight: 700; word-break: break-word; }
.map {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 260px;
  background:
    linear-gradient(135deg, rgba(24, 36, 107, .92), rgba(34, 49, 143, .86)),
    repeating-linear-gradient(45deg, #2a3a9a 0 2px, transparent 2px 22px);
  color: #fff; display: grid; place-items: center; text-align: center; padding: 24px;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map p { font-size: .82rem; color: #cfd4ec; max-width: 28em; margin: 10px auto 14px; }
.map .pin { width: 44px; height: 44px; margin: 0 auto; color: var(--amber); }

/* Fußzeile */
.footer { background: var(--ink); color: #aab0c8; padding: 34px 0 30px; font-size: .9rem; }
.footer .wrap { display: grid; gap: 18px; }
.footer .brand svg { height: 40px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Mobile Aktionsleiste */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--navy); border-top: 3px solid var(--amber);
  padding-bottom: env(safe-area-inset-bottom);
}
.actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 62px; color: #fff; text-decoration: none; font-size: .75rem; font-weight: 500; }
.actionbar a + a { border-left: 1px solid rgba(255, 255, 255, .12); }
.actionbar a:first-child { background: var(--amber); color: var(--amber-ink); font-weight: 700; }
.actionbar svg { width: 22px; height: 22px; }

/* Rechtstexte */
.legal { padding: 40px 0 60px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-weight: 800; font-size: clamp(2.2rem, 9vw, 3rem); text-transform: uppercase; margin-bottom: 20px; }
.legal h2 { font-family: var(--body); font-size: 1.1rem; font-weight: 700; margin: 28px 0 8px; line-height: 1.3; }
.legal p, .legal li { color: #333852; }
.legal ul { padding-left: 1.2em; }
.legal .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.legal .card p:last-child { margin-bottom: 0; }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--navy-2); text-decoration: none; margin-bottom: 18px; }

/* Einblendung beim Scrollen */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.hero .stagger > * { opacity: 0; animation: up .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero .stagger > *:nth-child(2) { animation-delay: .08s; }
.hero .stagger > *:nth-child(3) { animation-delay: .16s; }
.hero .stagger > *:nth-child(4) { animation-delay: .24s; }
.hero .stagger > *:nth-child(5) { animation-delay: .32s; }
.hero .stagger > *:nth-child(6) { animation-delay: .40s; }
@keyframes up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero .stagger > * { opacity: 1; transform: none; animation: none; transition: none; }
}

/* ---------- Größere Bildschirme ---------- */
@media (min-width: 640px) {
  .services { grid-template-columns: 1fr 1fr; }
  .contact-list { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .actionbar { display: none; }
  .nav { display: flex; }
  .header .wrap { height: 72px; }
  .brand svg { height: 48px; }
  .hero { padding: 80px 0 96px; }
  .hero-swoosh { width: 640px; right: 0; bottom: 40px; }
  .section { padding: 80px 0; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; }
  .contact-list { grid-template-columns: 1fr; }
  .map { min-height: 100%; }
  .footer .wrap { grid-template-columns: auto 1fr auto; align-items: center; }
}
