/* Rad- und Motoshop – komplett lokales Stylesheet (keine externen Ressourcen) */
:root {
  --ink: #1a2230;
  --graphite: #2b3d57;
  --paper: #f6f6f4;
  --signal: #c42026;        /* Markenrot, weißer Text darauf: Kontrast ~6:1 */
  --signal-dark: #9d1a1f;
  --signal-light: #ff6b73;  /* Akzent auf dunklem Grund */
  --muted: #5c5f66;
  --line: rgba(0, 0, 0, .08);
  --radius: 24px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px; /* Platz für mobile Anruf-Leiste */
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.03em; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: block; position: relative; }
.logo img { height: 36px; width: auto; }
.nav-links { display: none; align-items: center; gap: 28px; font-size: .95rem; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--signal); }
.nav-links .btn { color: #fff; }
.nav-links .btn:hover { color: #fff; }
@media (min-width: 768px) { .nav-links { display: flex; } body { padding-bottom: 0; } .mobile-call { display: none !important; } }
.nav-mobile { display: flex; gap: 18px; font-size: .95rem; font-weight: 500; }
.nav-mobile a { text-decoration: none; }
@media (min-width: 768px) { .nav-mobile { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; background: var(--signal); color: #fff; transition: background .2s, transform .2s; }
.btn:hover { background: var(--signal-dark); transform: translateY(-1px); }
.btn-small { padding: 9px 20px; font-size: .9rem; }
.btn-ghost { background: transparent; border: 1px solid rgba(255,255,255,.35); font-weight: 500; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid rgba(0,0,0,.2); }
.btn-outline:hover { background: rgba(0,0,0,.05); color: var(--ink); }

/* Hero */
.hero { background: linear-gradient(rgba(26,34,48,.80), rgba(26,34,48,.92)), url("../images/fahrrad.jpg") center / cover no-repeat, var(--ink); color: #fff; }
.hero .container { padding-top: 80px; padding-bottom: 72px; }
@media (min-width: 768px) { .hero .container { padding-top: 128px; padding-bottom: 104px; } }
.badge { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 16px; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 22px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal-light); }
.hero h1 { font-size: clamp(2.4rem, 7vw, 5rem); font-weight: 700; max-width: 14ch; line-height: 1.06; }
.hero h1 em { font-style: normal; color: var(--signal-light); }
.hero .lead { margin-top: 24px; max-width: 40rem; font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 300; color: rgba(255,255,255,.82); }
.hero-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
@media (min-width: 560px) { .hero-cta { flex-direction: row; } }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts dt { color: rgba(255,255,255,.65); }
.facts dd { margin: 4px 0 0; font-weight: 600; }

/* Sections */
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.section h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 700; max-width: 22ch; }
.section .sub { color: var(--muted); max-width: 40rem; margin-top: 14px; font-size: 1.05rem; }
.section.white { background: #fff; }
.grid-2 { display: grid; gap: 22px; margin-top: 44px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.card { background: #fff; border-radius: var(--radius); padding: 36px; border: 1px solid var(--line); }
.card.dark { background: var(--graphite); color: #fff; border: 0; }
.card h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 20px; }
.card li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.card.dark li { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.9); }
.card li:first-child { border-top: 0; }
.card li svg { color: var(--signal); margin-top: 3px; }
.card.dark li svg { color: var(--signal-light); }
.notice { margin-top: 28px; padding: 20px 24px; border-radius: 18px; background: #fdecec; border: 1px solid #f6c9cb; color: #6b1519; }
.notice strong { color: #4a0e11; }

.steps { display: grid; gap: 28px; margin-top: 44px; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 14px; }
.steps strong { display: block; font-size: 1.1rem; }
.steps span { color: var(--muted); }

/* Kontaktbox */
.contact-grid { display: grid; gap: 22px; margin-top: 44px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.hours { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 36px; }
.hours h3 { font-size: 1.4rem; margin-bottom: 20px; }
.hours .row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.14); }
.hours .row:first-of-type { border-top: 0; }
.hours .closed { color: rgba(255,255,255,.7); }
.contact-list { display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fdecec; color: var(--signal); flex: none; }
.contact-list small { display: block; color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--signal); }

/* Unterseiten */
.page-hero { background: var(--ink); color: #fff; }
.page-hero .container { padding-top: 64px; padding-bottom: 56px; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
.page-hero p { margin: 14px 0 0; color: rgba(255,255,255,.8); font-weight: 300; font-size: 1.15rem; }

.legal { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; margin: 48px auto; max-width: 860px; }
@media (min-width: 768px) { .legal { padding: 56px; } }
.legal h2 { font-size: 1.7rem; border-bottom: 2px solid var(--line); padding-bottom: 12px; margin: 48px 0 20px; max-width: none; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1.15rem; letter-spacing: -.01em; margin: 28px 0 10px; }
.legal p, .legal li { color: #3d4046; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.legal li { margin-bottom: 4px; }
.legal a { color: #3b5576; }
.legal .stand { color: var(--muted); font-size: .9rem; margin-top: 40px; }

/* Footer */
.site-footer { background: var(--ink); color: #b4b6bb; padding: 56px 0 40px; font-size: .92rem; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.site-footer a { text-decoration: none; color: #b4b6bb; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid li { margin-bottom: 8px; }
.copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* Mobile Anruf-Leiste */
.mobile-call { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.mobile-call .btn { width: 100%; }

/* Scroll-Reveal – ohne JS bleibt alles sichtbar */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.active { opacity: 1; transform: none; }

/* Weihnachtsdeko (nur Dez./Adventszeit, per JS aktiviert) */
.logo .hat { display: none; position: absolute; top: -10px; left: calc(100% - 22px); width: 30px; transform: rotate(-15deg); pointer-events: none; }
.xmas .logo .hat { display: block; }
.snowflake { position: fixed; top: -20px; z-index: 9999; user-select: none; pointer-events: none; color: #fff; text-shadow: 0 0 4px rgba(0,0,0,.25); animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .snowflake { display: none; } }

/* Mobile: breites Logo (8:1) passend skalieren */
@media (max-width: 767px) {
  .logo img:not(.hat) { height: 26px; }
  .nav-mobile a:first-child { display: none; }
}

/* Urlaubs-Popup (wird von urlaub.js erzeugt) */
.urlaub { border: 0; border-radius: var(--radius); padding: 36px; max-width: 420px; width: calc(100% - 32px); text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.25); font-family: var(--font); color: var(--ink); }
.urlaub::backdrop { background: rgba(26,34,48,.6); backdrop-filter: blur(4px); }
.urlaub h3 { font-size: 1.6rem; margin-bottom: 14px; }
.urlaub .urlaub-datum { display: block; margin: 10px 0; font-size: 1.2rem; color: var(--signal); }
.urlaub .btn { margin-top: 12px; }
