/*
Theme Name:   Bike-Technik Studer
Theme URI:    https://www.bike-technik.at
Description:  Schlankes One-Page-Theme für Bike-Technik Studer – Werkstatt, Preise, Online-Terminbuchung (mit Plugin „BTK Terminbuchung“) und Anfahrt.
Version:      1.5.3
Requires PHP: 7.4
Author:       Bike-Technik Studer
Text Domain:  bike-technik
*/

:root {
  --bg: #0a0b0d;
  --surface: #121418;
  --surface-2: #1a1d23;
  --line: #262a31;
  --text: #f3f5f8;
  --muted: #8d94a0;
  --accent: #1f7bff;
  --accent-hi: #4b96ff;
  --accent-glow: rgba(31, 123, 255, .35);
  --ok: #3ddc84;
  --warn: #ffb020;
  --radius: 18px;
  --max: 1200px;
  --font: "Inter", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
/* Schräges Laufband & Deko ragen seitlich hinaus -> abschneiden, ohne die Sticky-Navigation zu brechen */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.03em; margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 30px var(--accent-glow); }
.btn-accent:hover { background: var(--accent-hi); box-shadow: 0 10px 40px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { padding: .7em 1.2em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn:focus-visible, .choice:focus-visible, .chip:focus-visible, .day:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px max(16px, calc((100vw - var(--max)) / 2));
  background: rgba(10, 11, 13, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo-mark { width: 44px; height: 30px; }
.logo-mark rect { fill: none; stroke-width: 5; }
.logo-mark .link-w { stroke: #fff; }
.logo-mark .link-b { stroke: var(--accent); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-weight: 800; letter-spacing: -.01em; font-size: 1.05rem; }
.logo-text small { font-size: .62rem; letter-spacing: .42em; color: var(--muted); margin-top: 3px; font-weight: 700; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  max-width: var(--max); margin: 0 auto; padding: 72px 16px 88px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: -20% -30% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(31,123,255,.22), transparent);
  pointer-events: none; z-index: -1;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; margin: 0 0 1.4rem;
  padding: .45em 1em; border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.dot.open { background: var(--ok); box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
h1 { font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 900; }
.outline {
  color: var(--bg); letter-spacing: .01em; padding: 0 .04em;
  text-shadow:
    -2px -2px 0 var(--text), 0 -2px 0 var(--text), 2px -2px 0 var(--text), 2px 0 0 var(--text),
    2px 2px 0 var(--text), 0 2px 0 var(--text), -2px 2px 0 var(--text), -2px 0 0 var(--text),
    -1px -2px 0 var(--text), 1px -2px 0 var(--text), 1px 2px 0 var(--text), -1px 2px 0 var(--text),
    -2px -1px 0 var(--text), 2px -1px 0 var(--text), 2px 1px 0 var(--text), -2px 1px 0 var(--text);
}
.accent { color: var(--accent); }
.lead { font-size: 1.2rem; color: #c2c8d2; max-width: 34em; margin: 1.6rem 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.stats { list-style: none; padding: 0; margin: 3rem 0 0; display: flex; gap: 2.4rem; flex-wrap: wrap; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.stats span { font-size: .85rem; color: var(--muted); }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 480px; justify-self: center; width: 100%; }
.wheel { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.wheel .tire { fill: none; stroke: #1b1e24; stroke-width: 22; }
.wheel .tread { fill: none; stroke: #2a2f37; stroke-width: 22; stroke-dasharray: 3 9; }
.wheel .rim { fill: none; stroke: var(--accent); stroke-width: 6; filter: drop-shadow(0 0 12px var(--accent-glow)); }
.wheel .spokes line { stroke: #4a515c; stroke-width: 1.5; }
.wheel .hub { fill: var(--surface-2); stroke: #4a515c; stroke-width: 2; }
.wheel .hub-core { fill: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
.wheel { transform-origin: 50% 50%; }
.hero-visual:hover .wheel { animation-duration: 3s; }
.badge {
  position: absolute; padding: .8em 1.1em; border-radius: 14px;
  background: rgba(18,20,24,.85); border: 1px solid var(--line); backdrop-filter: blur(8px);
  font-weight: 700; font-size: .9rem; line-height: 1.2;
  animation: float 5s ease-in-out infinite;
}
.badge-1 { top: 8%; left: -4%; border-color: var(--accent); }
.badge-2 { bottom: 10%; right: -2%; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--accent); transform: rotate(-1.2deg); margin: 0 -2%; }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker span { padding: .9rem 1.4rem; font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; color: #fff; }
.ticker span::after { content: "✦"; margin-left: 2.8rem; opacity: .6; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 110px 16px; }
.section-head { margin-bottom: 3rem; }
.kicker { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .8rem; }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; }

/* Packages */
.packages { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-bottom: 1.4rem; }
.package {
  position: relative; display: flex; flex-direction: column; gap: 1.4rem;
  padding: 2.2rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.package-hot {
  background: linear-gradient(160deg, #10254a 0%, var(--surface) 55%);
  border-color: var(--accent);
  box-shadow: 0 20px 60px -20px var(--accent-glow);
}
.package h3 { font-size: 1.6rem; }
.package .price { font-size: 4rem; font-weight: 900; letter-spacing: -.04em; margin: .4rem 0 0; line-height: 1; }
.package .price span { font-size: 1.6rem; vertical-align: top; margin-right: .1em; color: var(--muted); }
.package .sub { color: var(--muted); margin: .4rem 0 0; }
.checklist { list-style: none; padding: 0; margin: 0; flex: 1; display: grid; gap: .55rem; }
.checklist li { display: flex; gap: .7em; align-items: baseline; }
.checklist li::before { content: "✓"; color: var(--accent); font-weight: 900; }
.tag {
  position: absolute; top: -13px; right: 1.6rem;
  background: var(--accent); color: #fff; font-size: .75rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; padding: .35em .9em; border-radius: 999px;
}

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  padding: 1.8rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent); }
.card-no { font-size: .8rem; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.card h3 { font-size: 1.25rem; margin: 1rem 0 .6rem; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card .price-sm { color: var(--text); font-weight: 700; margin-top: 1rem; }

/* About */
.about { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; }
.about-text { font-size: 1.35rem; line-height: 1.55; margin: 0; color: #d7dce4; text-wrap: pretty; }
.about-sign { color: var(--muted); margin-top: 1.4rem; font-style: italic; }
.usp { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem; }
.usp li { display: flex; flex-direction: column; padding-left: 1.2rem; border-left: 3px solid var(--accent); }
.usp strong { font-size: 1.15rem; }
.usp span { color: var(--muted); }

/* ---------- Booking Wizard ---------- */
.booking .section-head { text-align: center; }
.wizard {
  max-width: 820px; margin: 0 auto; padding: 2.4rem;
  border-radius: 28px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 40px 100px -40px var(--accent-glow);
}
.progress { position: relative; height: 40px; margin-bottom: .4rem; }
.progress-track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; transform: translateY(-50%); background: var(--line); border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; background: var(--accent); transition: width .5s cubic-bezier(.6,.1,.2,1); }
.progress-wheel {
  position: absolute; top: 0; left: 0; width: 40px; height: 40px;
  transition: left .5s cubic-bezier(.6,.1,.2,1), transform .5s cubic-bezier(.6,.1,.2,1);
}
.progress-wheel circle, .progress-wheel path { fill: none; stroke: var(--accent); stroke-width: 3; }
.progress-wheel circle { fill: var(--surface); }
.steps-label { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.steps-label li { margin-right: -.08em; } /* Letter-Spacing nach dem letzten Buchstaben ausgleichen -> Wortmitte exakt */
.steps-label li.done { color: var(--accent); }
.steps-label li.current { color: var(--text); }

.step { border: 0; padding: 0; margin: 0; min-width: 0; animation: stepIn .4s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.step legend { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.4rem; padding: 0; }
.hint { color: var(--muted); margin: -.8rem 0 1.2rem; }

.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.choice {
  display: flex; flex-direction: column; align-items: flex-start; gap: .2rem;
  padding: 1.2rem 1.3rem; border-radius: 16px; cursor: pointer; text-align: left;
  background: var(--surface-2); border: 1.5px solid var(--line); color: var(--text);
  font: inherit; transition: border-color .15s, transform .15s, background .15s;
}
.choice b { font-size: 1.25rem; font-weight: 800; }
.choice small { color: var(--muted); font-size: .85rem; }
.choice:hover { border-color: #3d434d; transform: translateY(-2px); }
.choice.selected { border-color: var(--accent); background: rgba(31,123,255,.12); }
.choice.selected b::after { content: " ✓"; color: var(--accent); }
.slots { grid-template-columns: repeat(4, 1fr); margin-top: 1rem; }
.choice-wide { grid-column: 1 / -1; }

.chip-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip {
  padding: .75em 1.2em; border-radius: 999px; cursor: pointer;
  background: var(--surface-2); border: 1.5px solid var(--line); color: var(--text);
  font: 600 .95rem/1 var(--font); transition: all .15s;
}
.chip em { font-style: normal; color: var(--muted); font-weight: 500; margin-left: .3em; }
.chip:hover { border-color: #3d434d; }
.chip.selected { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip.selected em { color: rgba(255,255,255,.8); }
.chip.pop { animation: pop .3s; }
@keyframes pop { 50% { transform: scale(1.08); } }

.toggle { display: flex; align-items: center; gap: .9rem; margin-top: 1.6rem; cursor: pointer; padding: 1rem 1.2rem; border-radius: 16px; background: var(--surface-2); border: 1.5px solid var(--line); }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-ui { flex: none; width: 46px; height: 26px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; }
.toggle-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; }
.toggle input:checked + .toggle-ui { background: var(--accent); }
.toggle input:checked + .toggle-ui::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle-ui { outline: 2px solid var(--accent-hi); outline-offset: 3px; }

.estimate { margin: 1.4rem 0 0; color: var(--muted); }
.estimate strong { color: var(--text); font-size: 1.4rem; }

.day-scroller { display: flex; gap: .6rem; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -4px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day {
  flex: none; width: 74px; padding: .8rem 0; border-radius: 16px; cursor: pointer; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: .1rem;
  background: var(--surface-2); border: 1.5px solid var(--line); color: var(--text); font: inherit;
  transition: all .15s;
}
.day small { font-size: .72rem; text-transform: uppercase; color: var(--muted); letter-spacing: .06em; }
.day b { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.day:hover { border-color: #3d434d; }
.day.selected { background: var(--accent); border-color: var(--accent); }
.day.selected small { color: rgba(255,255,255,.85); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.field input, .field textarea {
  width: 100%; padding: .9em 1em; border-radius: 12px;
  background: var(--surface-2); border: 1.5px solid var(--line); color: var(--text);
  font: inherit; font-size: 1rem; transition: border-color .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field.invalid input { border-color: #ff4d5e; }
.field-wide { grid-column: 1 / -1; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { margin-top: .3em; accent-color: var(--accent); width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; }

.summary { margin-top: 1.6rem; padding: 1.2rem 1.4rem; border-radius: 16px; border: 1px dashed var(--line); display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.2rem; font-size: .95rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; }

.form-error { color: #ff6b78; min-height: 1.4em; margin: 1rem 0 0; font-weight: 600; }
.wizard-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: .6rem; }
.wizard-nav .btn[disabled] { opacity: .5; cursor: wait; }

.step-done { text-align: center; padding: 1.5rem 0; }
.done-wheel { width: 110px; margin: 0 auto 1.2rem; }
.done-wheel circle { fill: none; stroke: var(--accent); stroke-width: 5; stroke-dasharray: 280; stroke-dashoffset: 280; animation: draw .8s ease forwards; }
.done-wheel path { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; animation: draw .5s .6s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.step-done h3 { font-size: 2.2rem; }
.step-done p { color: var(--muted); max-width: 30em; margin: .8rem auto 1.6rem; }

.confetti { position: fixed; top: -10px; width: 10px; height: 14px; z-index: 100; pointer-events: none; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); } }

/* ---------- Find me ---------- */
.findme { border-top: 1px solid var(--line); }
.findme-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.4rem; }
.map {
  position: relative; min-height: 440px; border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(rgba(10,11,13,.6), rgba(10,11,13,.6)),
    repeating-linear-gradient(0deg, transparent 0 38px, #1b1e24 38px 40px),
    repeating-linear-gradient(90deg, transparent 0 38px, #1b1e24 38px 40px),
    var(--surface);
  border: 1px solid var(--line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 1rem; padding: 2rem; }
.map-consent svg { width: 56px; height: 56px; fill: var(--accent); filter: drop-shadow(0 0 20px var(--accent-glow)); animation: float 3s ease-in-out infinite; }
.map-consent p { margin: 0; }
.map-consent small { color: var(--muted); }
.info { display: grid; gap: 1.4rem; }
.info-block { padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.info-block h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: .8rem; }
.info-block p { margin: 0 0 1rem; }
.info-block p:last-child { margin-bottom: 0; }
.info-block a { text-decoration: none; }
.info-block a:not(.btn):hover { color: var(--accent-hi); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.2rem; margin: 0 0 .8rem; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; }
.muted { color: var(--muted); font-size: .9rem; }
.open-now { font-weight: 700; display: flex; align-items: center; gap: .5em; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); }
.footer-cta { max-width: var(--max); margin: 0 auto; padding: 90px 16px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-cta h2 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
.footer-bottom { max-width: var(--max); margin: 0 auto; padding: 24px 16px 40px; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }
.footer-bottom nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }

.fab { display: none; }

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; margin: 0 auto; padding: 80px 16px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; margin: 2.2rem 0 .6rem; letter-spacing: -.01em; }
.legal p, .legal li { color: #c2c8d2; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-visual { max-width: 340px; order: -1; }
  .cards { grid-template-columns: 1fr 1fr; }
  .about-grid, .findme-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav .btn { display: none; }
  .hero-visual { max-width: 240px; }
  .badge { font-size: .75rem; }
  .stats { gap: 1.6rem; }
  .section { padding: 72px 16px; }
  .packages, .cards { grid-template-columns: 1fr; }
  .package { padding: 1.6rem; }
  .wizard { padding: 1.4rem 1.1rem; border-radius: 22px; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .slots { grid-template-columns: 1fr 1fr; }
  .fields { grid-template-columns: 1fr; }
  .map { min-height: 320px; }
  .fab {
    display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    padding: 1rem; border-radius: 999px; text-align: center; text-decoration: none; font-weight: 700;
    background: var(--accent); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.5);
    transition: transform .3s, opacity .3s;
  }
  .fab.hide { transform: translateY(140%); opacity: 0; }
  .footer-bottom { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ==========================================================
   WordPress-Theme: Ergänzungen
   ========================================================== */
.logo-img { height: clamp(44px, 5.2vw, 66px); width: auto; display: block; }
.nav { padding-top: 10px; padding-bottom: 10px; }
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
@media (max-width: 600px) { .admin-bar .nav { top: 0; } } /* Admin-Leiste scrollt dort mit */

/* Über uns mit Foto von Lucas */
.about .about-grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 3.5rem; } /* Foto größer, Text schmäler (Feedback 09.10.) */
.about-photo {
  position: relative; margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5;
  border: 1.5px solid rgba(31,123,255,.6); box-shadow: 0 30px 80px -20px var(--accent-glow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.4rem 1.2rem;
  background: linear-gradient(transparent, rgba(10,11,13,.85)); font-weight: 700;
}
.about-body h2 { margin-bottom: 1.6rem; }
.about-body .usp { margin-top: 2.4rem; }

/* Buchung: Tage & Slots aus dem Plugin */
.day-scroller { scrollbar-color: var(--line) transparent; }
.day-scroller::-webkit-scrollbar { height: 6px; }
.day-scroller::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
.day-scroller::-webkit-scrollbar-track { background: transparent; }
.day[disabled] { opacity: .35; cursor: not-allowed; }
.day .full { font-size: .62rem; color: var(--muted); }
.choice[disabled] { opacity: .35; cursor: not-allowed; transform: none; }
.choice[disabled] small::after { content: " · belegt"; }
.choice-callback { width: 100%; margin-top: .8rem; }
.loading { color: var(--muted); margin: .6rem 0; }

/* Unterseiten (Impressum, Datenschutz, AGB) */
.entry-content { color: #c2c8d2; }
.entry-content h2, .entry-content h3 { color: var(--text); margin: 2.2rem 0 .6rem; letter-spacing: -.01em; }
.entry-content h2 { font-size: 1.4rem; }
.entry-content h3 { font-size: 1.15rem; }
.entry-content a { color: var(--accent-hi); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { border-bottom: 1px solid var(--line); padding: .5rem; text-align: left; }
.legal h1 a { text-decoration: none; }

@media (max-width: 960px) {
  .about .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 480px; }
}
@media (max-width: 680px) {
  .logo-img { height: 44px; }
}

/* ==========================================================
   1.1 – Cookie-Hinweis, Rechtstexte
   ========================================================== */
.linklike { all: unset; cursor: pointer; color: inherit; text-decoration: none; }
.linklike:hover { color: var(--text); text-decoration: underline; }
.linklike:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.map-consent small .linklike { color: var(--accent-hi); font-size: .8rem; }

.cookie {
  position: fixed; z-index: 150; left: 16px; bottom: 16px; width: min(440px, calc(100vw - 32px));
  padding: 1.3rem 1.4rem; border-radius: 20px; background: rgba(18,20,24,.97); border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0,0,0,.6); backdrop-filter: blur(12px); animation: stepIn .35s ease;
}
.cookie-title { margin: 0 0 .4rem; font-weight: 800; font-size: 1.05rem; }
.cookie-text { margin: 0 0 .9rem; font-size: .88rem; color: #c2c8d2; line-height: 1.5; }
.cookie-text a { color: var(--accent-hi); }
.cookie-opts { display: flex; gap: 1.2rem; margin-bottom: 1rem; font-size: .88rem; }
.cookie-opts label { display: flex; align-items: center; gap: .45rem; cursor: pointer; }
.cookie-opts input { accent-color: var(--accent); width: 16px; height: 16px; }
.cookie-btns { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-btns .btn { flex: 1 1 auto; }
body.has-cookie .fab { transform: translateY(140%); opacity: 0; }

/* Rechtstexte: alte Page-Builder-/Block-Farben neutralisieren, damit alles im Website-Design erscheint */
.legal .entry-content *:not(a):not(.btn) {
  background-color: transparent !important; background-image: none !important;
  box-shadow: none !important; color: inherit !important; border-color: var(--line) !important;
}
.legal .entry-content { color: #c2c8d2; }
.legal .entry-content :is(h1, h2, h3, h4, h5, h6, strong, b) { color: var(--text) !important; }
.legal .entry-content a { color: var(--accent-hi) !important; }
.legal .entry-content :is(p, li) { font-size: 1rem !important; line-height: 1.7 !important; }
.legal .entry-content ul { padding-left: 1.2rem; }
.legal .entry-content .has-background { padding-left: 0 !important; padding-right: 0 !important; }
.legal .entry-content li { margin: .2rem 0; }
.legal .entry-content :is(section, .elementor-section, .wp-block-group, .wp-block-cover) { padding-left: 0 !important; padding-right: 0 !important; min-height: 0 !important; }
body:not(.home) { background: var(--bg) !important; }

@media (max-width: 680px) {
  .cookie { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 1.1rem; }
  .cookie-btns .btn { flex: 1 1 100%; }
}

/* ==========================================================
   1.2 – Handy-Menü, „Jetzt anfragen“, Pakete
   ========================================================== */
.burger { display: none; }
.nav-cta-mobile { display: none; }

/* Kacheln mit Button unten */
.card { display: flex; flex-direction: column; }
.card .price-sm { margin-bottom: 1.1rem; }
.card-cta {
  margin-top: auto; align-self: flex-start; text-decoration: none; font-weight: 700; font-size: .95rem;
  color: var(--accent-hi); padding: .35em 0; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s;
}
.card-cta:hover { color: var(--text); border-bottom-color: var(--accent); }

/* Pakete: Button immer unten, Premium mit Plus-Bereichen */
.package > .btn { margin-top: auto; }
.package .sub { font-size: 1.05rem; color: #c2c8d2; }
.plus-intro { margin: -.4rem 0 0; color: #c2c8d2; }
.plus-intro b { color: var(--text); }
.checklist-plus li::before { content: "+"; font-size: 1.15em; }

@media (max-width: 680px) {
  .nav { position: sticky; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px;
    background: transparent; cursor: pointer;
  }
  .burger span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform .25s, opacity .2s; }
  .nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .burger span:nth-child(2) { opacity: 0; }
  .nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .burger:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }

  .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0; padding: .5rem 16px 1.2rem;
    background: rgba(10,11,13,.98); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0,0,0,.5);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-open .nav-links { visibility: visible; opacity: 1; transform: none; }
  .nav-links a { padding: .95rem .2rem; font-size: 1.1rem; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav-links a.nav-cta-mobile {
    display: block; margin-top: 1rem; border: 0; border-radius: 999px; text-align: center;
    background: var(--accent); color: #fff; font-weight: 700;
  }
  body.nav-open .fab { transform: translateY(140%); opacity: 0; }
}

.checklist { align-content: start; }

/* ==========================================================
   1.3 – Anfrage per E-Mail / WhatsApp
   ========================================================== */
.wizard[data-mode="mail"] .online-only { display: none !important; }
.wizard:not([data-mode="mail"]) .mail-only { display: none !important; }
.wish-date { max-width: 320px; margin-bottom: 1rem; }
.wish-date input { color-scheme: dark; }
.wish-slots { grid-template-columns: repeat(3, 1fr); }
.send-note { margin-top: 1rem; font-size: .85rem; }
.send-note a { color: var(--accent-hi); }
.nav-right { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: flex-end; }
.done-fallback { margin: -.6rem auto 1.6rem; max-width: 30em; font-size: .9rem; color: var(--muted); }
.done-fallback a { color: var(--accent-hi); }
@media (max-width: 680px) { .wish-slots { grid-template-columns: 1fr 1fr; } .wish-slots .choice:last-child { grid-column: 1 / -1; } }
.wizard-nav .btn { white-space: nowrap; }
@media (max-width: 680px) {
  .wizard-nav { flex-direction: column-reverse; align-items: stretch; }
  .nav-right { flex-direction: column-reverse; width: 100%; }
  .nav-right .btn { width: 100%; }
  .wizard-nav #prevBtn { align-self: center; border: 0; padding: .6em 1em; color: var(--muted); }
}

/* ==========================================================
   1.4 – Korrekturen Okt. 2026: Einstieg, Über mich, Anfrageformular
   ========================================================== */
/* Einstieg: Kennzahlen mit Symbolen und Trennlinien */
.stats { gap: 0; margin-top: 2.6rem; }
.stats li { align-items: center; text-align: center; padding: 0 1.6rem; border-left: 1px solid var(--line); }
.stats li:first-child { padding-left: 0; border-left: 0; }
.stat-ico { width: 34px; height: 34px; color: var(--accent); margin-bottom: .5rem; }
.stats strong { font-size: 1.35rem; }

/* Über mich */
.about-claim { color: var(--accent-hi); font-weight: 800; }
.about .usp { grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2.2rem; }
.about .usp li { border-left: 1px solid var(--line); padding: 0 1.2rem; }
.about .usp li:first-child { border-left: 0; padding-left: 0; }
.usp-ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: .7rem; }
.about .usp strong { font-size: 1rem; margin-bottom: .2rem; }
.about .usp span { font-size: .9rem; }

.packages-note { text-align: center; color: var(--muted); font-size: .9rem; margin: -.2rem 0 1.6rem; }

/* Formular allgemein */
.q { display: flex; align-items: center; gap: .8rem; font-weight: 700; font-size: 1.1rem; margin: 1.4rem 0 .9rem; }
.q-no { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(31,123,255,.18); color: var(--text); font-size: .9rem; flex: none; }
.field-label { font-weight: 700; margin: 1.4rem 0 .6rem; }
.step > .field-label:first-of-type { margin-top: .4rem; }

/* Auswahlkarten (Motor, Bike-Typ, Zeitfenster) */
.opt-grid { display: grid; gap: .8rem; }
.opt-2 { grid-template-columns: repeat(2, 1fr); }
.opt-3 { grid-template-columns: repeat(3, 1fr); }
.opt-6 { grid-template-columns: repeat(6, 1fr); }
.opt {
  position: relative; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: 16px;
  background: var(--surface-2); border: 1.5px solid var(--line); color: var(--text); font: inherit; text-align: left; cursor: pointer;
  transition: border-color .15s, background .15s, transform .15s;
}
.opt:hover:not([disabled]) { border-color: #3d434d; transform: translateY(-1px); }
.opt.selected { border-color: var(--accent); background: rgba(31,123,255,.1); }
.opt[disabled] { opacity: .4; cursor: not-allowed; }
.opt-ico { width: 34px; height: 34px; flex: none; color: var(--text); }
.opt-row .opt-ico { width: 46px; height: 46px; padding: 8px; border-radius: 50%; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.opt b { flex: 1; font-weight: 700; font-size: 1.02rem; display: flex; flex-direction: column; gap: .15rem; }
.opt b small { font-weight: 400; color: var(--muted); font-size: .85rem; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #5a606b; flex: none; position: relative; }
.opt.selected .radio { border-color: var(--accent); }
.opt.selected .radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
.opt-tile .opt { flex-direction: column; justify-content: center; text-align: center; gap: .55rem; padding: 1.1rem .5rem; }
.opt-tile .opt b { flex: none; font-size: .92rem; }
.opt-tile .opt-ico { width: 40px; height: 40px; }
.opt:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; }

/* Preis-Box (Schritt Service) */
.price-box { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .2rem; }
.price-box:empty { display: none; }
.price-box strong { font-size: 1.15rem; }
.price-box small { color: var(--muted); font-size: .85rem; margin-top: .2rem; }

/* Wunschtag + Kalender */
.datefield { position: relative; max-width: 420px; }
.date-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95em 1.1em; border-radius: 14px;
  background: var(--surface-2); border: 1.5px solid var(--line); color: var(--text); font: inherit; cursor: pointer; text-align: left;
}
.date-btn:hover, .date-btn[aria-expanded="true"] { border-color: var(--accent); }
.date-placeholder { color: var(--muted); }
.date-ico { width: 22px; height: 22px; color: var(--text); flex: none; }
.calendar {
  position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; width: min(340px, 100%); padding: 1rem;
  background: #15181d; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.6);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.cal-head b { text-transform: capitalize; }
.cal-nav { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 1.3rem; cursor: pointer; }
.cal-nav[disabled] { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-wd { text-align: center; font-size: .75rem; color: var(--muted); padding: .3rem 0; }
.cal-day { aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent; background: rgba(255,255,255,.04); color: var(--text); font: inherit; font-size: .9rem; cursor: pointer; }
.cal-day:hover:not([disabled]) { border-color: var(--accent); }
.cal-day.today { border-color: var(--line); }
.cal-day.selected { background: var(--accent); color: #fff; font-weight: 700; }
.cal-day[disabled] { background: transparent; color: #4a4f58; cursor: not-allowed; text-decoration: line-through; }

/* Info-Box */
.info-box { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.6rem; padding: 1.1rem 1.3rem; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.info-ico { width: 30px; height: 30px; flex: none; color: #9fc0ff; }
.info-box p { margin: 0; font-size: .92rem; color: #c2c8d2; line-height: 1.55; }
.info-box b { color: var(--text); }

/* Schritt Du */
.pickup-fields { margin-top: .4rem; }
.contact-pref .chip { min-width: 6.5rem; }
#waConsent { margin-top: .9rem; }
.legal-note { margin: 1.2rem 0 0; font-size: .85rem; color: var(--muted); line-height: 1.55; }
.legal-note a { color: var(--accent-hi); }
.summary-note { font-weight: 400 !important; color: var(--muted); font-size: .85rem; }

@media (max-width: 960px) {
  .opt-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .stats li { padding: 0 .7rem; }
  .stats strong { font-size: 1.05rem; }
  .stats span { font-size: .75rem; }
  .stat-ico { width: 28px; height: 28px; }
  .about .usp { grid-template-columns: 1fr; gap: 1.2rem; }
  .about .usp li { border-left: 0; padding: 0; }
  .opt-2, .opt-3 { grid-template-columns: 1fr; }
  .opt-6 { grid-template-columns: repeat(2, 1fr); }
  .calendar { width: 100%; }
}
.about-body .about-text + .about-text { margin-top: .9rem; }

/* ===== 1.5.2 – Überschriften in „Inter Tight“ (lokal gehostet, keine Verbindung zu Google) ===== */
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 800; font-display: swap; src: url(assets/fonts/inter-tight-latin-800.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 900; font-display: swap; src: url(assets/fonts/inter-tight-latin-900.woff2) format("woff2"); }
:root { --font-display: "Inter Tight", var(--font); }
h1, h2 { font-family: var(--font-display); font-weight: 900; letter-spacing: -.045em; line-height: .86; }
h1 { padding-bottom: .04em; } /* Unterlängen bei enger Zeilenhöhe nicht abschneiden */
.legal h2, .entry-content h2, .entry-content h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
