:root {
  --ink: #0d1626;
  --ink-2: #2b3648;
  --muted: #6b7484;
  --paper: #f5f2ec;
  --card: #ffffff;
  --line: #e2ddd3;
  --accent: #ff5a1f;
  --accent-dark: #d9440f;
  --gold: #f4b740;
  --green: #1f9d6a;
  --radius: 3px;
  --shadow: 0 0 0 1px var(--line);
  --head: 'Archivo', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
html.smooth { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--head); font-stretch: 85%; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
.eyebrow { font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 2px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; cursor: pointer; transition: .15s; white-space: nowrap; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* Header */
.topbar { background: var(--ink); color: #c9cfda; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; gap: 16px; }
.topbar a:hover { color: #fff; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(245,242,236,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 22px/1 var(--head); font-stretch: 80%; letter-spacing: -.01em; }
.logo-mark { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(var(--accent) 0 25%, var(--ink) 0 50%, var(--gold) 0 75%, var(--ink) 0); position: relative; }
.logo-mark::after { content: ''; position: absolute; inset: 11px; background: var(--paper); border-radius: 50%; }
.logo b { font-weight: inherit; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 26px; font-weight: 500; font-size: 15px; }
.nav a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { border-color: var(--accent); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang { font-size: 13px; font-weight: 600; color: var(--muted); }
.lang b { color: var(--ink); }
.lang a, .mnav-lang a { color: inherit; text-decoration: none; }
.lang a:hover, .mnav-lang a:hover { color: var(--ink); }

/* Hero */
.hero { position: relative; color: #fff; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13,22,38,.25) 0%, rgba(13,22,38,.55) 45%, rgba(13,22,38,.95) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-bottom: 56px; }
.hero h1 { font-size: clamp(44px, 7vw, 92px); font-weight: 800; max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 19px; max-width: 620px; color: #dfe4ec; margin: 22px 0 34px; }
.search { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr auto; background: #fff; border-radius: 3px; padding: 8px; gap: 4px; color: var(--ink); box-shadow: 0 20px 50px rgba(0,0,0,.3); max-width: 1000px; }
.search label { display: block; padding: 10px 16px; border-radius: 0; border-right: 1px solid var(--line); }
.search label:hover { background: #f4f1eb; }
.search small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.search select, .search input { border: 0; background: transparent; font: 500 15px var(--body); padding: 2px 0 0; width: 100%; outline: none; color: var(--ink); }
.search .btn { border-radius: 2px; padding: 0 28px; }
.hero-stats { display: flex; gap: 48px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats b { display: block; font: 800 36px/1 var(--head); font-stretch: 80%; }
.hero-stats span { font-size: 14px; color: #b8c0cd; }

/* Sections */
section.block { padding: 96px 0; }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.block-head h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; margin-top: 10px; }
.block-head p { color: var(--muted); max-width: 460px; margin: 0; }
.link-arrow { font-weight: 600; color: var(--accent); white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; }

/* Ride cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { box-shadow: 0 0 0 1px var(--ink); }
.card-img { transition: transform .5s; }
.card-img { position: relative; aspect-ratio: 4/3; background: #ddd center/cover; }
.card-img .badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border-radius: 0; background: rgba(255,255,255,.95); color: var(--ink); }
.badge.hot { background: var(--accent); color: #fff; }
.badge.ok { background: var(--green); color: #fff; }
.badge.upcoming { background: var(--gold); color: var(--ink); }
.watch { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 2px; border: 0; background: rgba(255,255,255,.95); cursor: pointer; font-size: 17px; }
.watch.on { color: var(--accent); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-maker { font-size: 13px; color: var(--muted); font-weight: 500; }
.card h3 { font-size: 26px; font-weight: 700; margin: 4px 0 12px; }
.specs { display: flex; gap: 16px; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; margin-bottom: 16px; }
.specs span { display: flex; align-items: center; gap: 5px; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 14px; }
.price { font: 800 22px/1 var(--head); font-stretch: 85%; }
.price.req { font: 600 15px var(--body); color: var(--muted); }
.loc { font-size: 13px; color: var(--muted); }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; transition: .15s; }
.cat:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.cat .ico { font-size: 30px; }
.cat b { display: block; font: 700 19px var(--head); font-stretch: 85%; margin-top: 14px; }
.cat span { font-size: 13px; color: var(--muted); }
.cat:hover span { color: #b8c0cd; }

/* Coming soon */
.dark { background: var(--ink); color: #fff; }
.dark .block-head p { color: #9aa4b4; }
.soon-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.soon { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; background: #333 center/cover; display: flex; align-items: flex-end; }
.soon::before { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(13,22,38,.95)); }
.soon > div { position: relative; padding: 18px; width: 100%; }
.soon h3 { font-size: 24px; margin: 8px 0 4px; }
.soon small { color: #b8c0cd; }
.soon .lock { position: absolute; top: 14px; right: 14px; z-index: 1; font-size: 12px; background: rgba(13,22,38,.7); padding: 5px 10px; border-radius: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--paper); padding: 32px 26px; }
.service .num { font: 800 15px var(--head); color: var(--accent); }
.service h3 { font-size: 24px; margin: 14px 0 10px; }
.service p { color: var(--muted); font-size: 15px; margin: 0; }

/* Steps */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-img { border-radius: var(--radius); aspect-ratio: 4/5; background: center/cover; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 800 22px var(--head); color: var(--accent); }
.steps b { font-size: 17px; }
.steps p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* CTA cards */
.cta-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cta { border-radius: var(--radius); padding: 48px; min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.cta h2 { font-size: 40px; font-weight: 800; }
.cta p { margin: 12px 0 0; max-width: 420px; }
.cta.orange { background: var(--accent); color: #fff; }
.cta.gold { background: var(--gold); }

/* Makers */
.makers { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font: 800 26px var(--head); font-stretch: 75%; color: #b6ae9f; letter-spacing: .02em; text-transform: uppercase; }

/* Footer */
.footer { background: var(--ink); color: #9aa4b4; padding: 72px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.footer .logo { color: #fff; }
.footer .logo-mark::after { background: var(--ink); }
.footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #243046; margin-top: 56px; padding-top: 24px; display: flex; justify-content: space-between; }
.news { display: flex; margin-top: 30px; background: #18233a; border-radius: 2px; padding: 5px; max-width: min(360px, 100%); }
.footer-grid > * { min-width: 0; }
.news-note { font-size: 12px; opacity: .65; margin-top: 10px; max-width: 360px; }
.news-note a { color: inherit; text-decoration: underline; }
.news input { flex: 1; min-width: 0; background: none; border: 0; color: #fff; padding: 0 14px; font: inherit; outline: none; }

/* ===== Übersichtsseite ===== */
.page-head { padding: 56px 0 32px; border-bottom: 1px solid var(--line); }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.page-head h1 { font-size: clamp(40px, 5vw, 68px); font-weight: 800; }
.page-head p { color: var(--muted); max-width: 640px; margin: 14px 0 0; }
.tabs { display: flex; gap: 8px; margin-top: 28px; }
.tab { padding: 10px 18px; border-radius: 2px; border: 1.5px solid var(--line); background: transparent; font: 600 14px var(--body); cursor: pointer; color: var(--ink); }
.tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tab .n { opacity: .6; margin-left: 4px; }

.layout { display: grid; grid-template-columns: 270px 1fr; gap: 40px; padding: 36px 24px 96px; }
.filters { position: sticky; top: 96px; align-self: start; }
.f-group { border-bottom: 1px solid var(--line); padding: 18px 0; }
.f-group:first-child { padding-top: 0; }
.f-group h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.f-group label { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 15px; cursor: pointer; }
.f-group label .c { margin-left: auto; color: var(--muted); font-size: 13px; }
.f-group input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
.f-group select, .f-group input[type=number], .f-group input[type=search] { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 2px; font: 15px var(--body); background: #fff; }
.range { display: flex; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 6px 12px; border-radius: 2px; border: 1px solid var(--line); background: #fff; font: 500 13px var(--body); cursor: pointer; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.reset { margin-top: 16px; background: none; border: 0; color: var(--accent); font: 600 14px var(--body); cursor: pointer; padding: 0; }

.toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.toolbar .count { font-weight: 600; }
.toolbar .count span { color: var(--muted); font-weight: 400; }
.toolbar select { margin-left: auto; padding: 9px 12px; border: 1px solid var(--line); border-radius: 2px; font: 14px var(--body); background: #fff; }
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.view-toggle button { border: 0; background: #fff; padding: 8px 12px; cursor: pointer; font-size: 15px; }
.view-toggle button.on { background: var(--ink); color: #fff; }

/* Listenansicht */
.grid.list { grid-template-columns: 1fr; }
.grid.list .card { flex-direction: row; }
.grid.list .card-img { width: 340px; flex-shrink: 0; aspect-ratio: auto; min-height: 220px; }
.grid.list .card-text { display: block; }
.card-text { display: none; color: var(--muted); font-size: 15px; margin: 0 0 16px; }

.wanted-box { margin-top: 40px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.wanted-box h3 { font-size: 28px; }
.wanted-box p { margin: 6px 0 0; color: var(--muted); }
.empty { padding: 60px; text-align: center; color: var(--muted); grid-column: 1/-1; }

.filter-btn { display: none; }

/* Responsive */
@media (max-width: 1000px) {
  .nav { display: none; }
  .search { grid-template-columns: 1fr 1fr; }
  .search .btn { grid-column: 1/-1; padding: 14px; justify-content: center; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .soon-row, .services { grid-template-columns: 1fr 1fr; }
  .split, .cta-pair, .footer-grid { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .filters { display: none; position: static; }
  .filters.open { display: block; }
  .filter-btn { display: inline-flex; }
  .grid.list .card { flex-direction: column; }
  .grid.list .card-img { width: 100%; aspect-ratio: 4/3; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .topbar .wrap > :last-child, .lang, .header .btn { display: none; }
  .hero { min-height: 560px; }
  .search { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  section.block { padding: 64px 0; }
  .block-head { flex-direction: column; align-items: flex-start; }
  .cats, .soon-row, .services { grid-template-columns: 1fr 1fr; }
  .cta { padding: 32px 24px; }
  .wanted-box { flex-direction: column; align-items: flex-start; }
  .layout { padding: 24px 16px 64px; }
}

/* V5: kantiger – klare Kanten, Kategorie-Kacheln ohne Emojis, Kennzahlen als Text */
.search label:nth-last-child(2) { border-right: 0; }
.card-img { overflow: hidden; }
.cat { border-top: 3px solid var(--ink); padding-top: 20px; }
.cat:hover { border-top-color: var(--accent); }
.cat .ico { font: 800 15px var(--head); color: var(--accent); }
.specs span { gap: 4px; }
.specs b { font-weight: 700; }
.service .num { display: inline-block; background: var(--ink); color: #fff; padding: 4px 8px; }
.steps li::before { font-size: 26px; }
.cta { min-height: 340px; }
.hero h1 { letter-spacing: -.02em; }
/* Titelbild gespiegelt: Fahrgäste rechts, Text links frei */
.hero-bg { transform: scale(-1.03, 1.03); background-position: center 35%; }
.hero::before { background: linear-gradient(90deg, rgba(13,22,38,.85) 0%, rgba(13,22,38,.45) 50%, rgba(13,22,38,.05) 80%), linear-gradient(0deg, rgba(13,22,38,.8), transparent 45%); }

/* V5.1: goldene Unterzeile */
.hero h1 em { color: #d9a845; filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }
.hero h1 em .shimmer {
  background: linear-gradient(100deg, #d9a845 0%, #d9a845 36%, #e8c06c 43%, #f3d795 50%, #e8c06c 57%, #d9a845 64%, #d9a845 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 250% 100%; animation: gold 10s ease-in-out infinite alternate;
}
@keyframes gold { from { background-position: 42% 0; } to { background-position: 100% 0; } }

/* V5.1: Karten wieder weicher wie in Version 1 */
.card { border-radius: 14px; box-shadow: 0 1px 2px rgba(13,22,38,.06), 0 8px 24px rgba(13,22,38,.06); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(13,22,38,.06), 0 18px 40px rgba(13,22,38,.12); }
.card .badge { border-radius: 6px; }
.card .watch { border-radius: 50%; }

/* V5.1: Leistungen auf dunkelblauem Grund */
.dark .services { background: #243046; border-color: #243046; }
.dark .service { background: var(--ink); transition: background .2s; }
.dark .service:hover { background: #142036; }
.dark .service h3 { color: #fff; }
.dark .service p { color: #9aa4b4; }
.dark .service .num { background: var(--gold); color: var(--ink); }

/* V5.1: Hersteller als Laufband */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: inline-flex; white-space: nowrap; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 800 30px var(--head); font-stretch: 75%; letter-spacing: .02em; text-transform: uppercase; color: #b6ae9f; padding: 0 44px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* V5.2: Vertrauensblock */
.trust { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.trust-photo { aspect-ratio: 4/5; border-radius: 14px; background: #ece8e0; display: grid; place-items: center; text-align: center; }
.ph-note { font: 700 15px var(--body); color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.ph-note small { display: block; margin-top: 8px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.trust blockquote { margin: 18px 0 22px; font: 700 clamp(26px, 2.8vw, 38px)/1.2 var(--head); font-stretch: 85%; letter-spacing: -.01em; }
.sign { display: flex; flex-direction: column; padding-left: 16px; border-left: 3px solid var(--gold); }
.sign b { font-size: 16px; }
.sign span { color: var(--muted); font-size: 14px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 40px 0 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 20px 16px 20px 0; }
.facts div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.facts b { display: block; font: 800 34px/1 var(--head); font-stretch: 80%; }
.facts span { font-size: 13px; color: var(--muted); }
.promises { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.promises li { position: relative; padding-left: 28px; font-size: 15px; color: var(--muted); }
.promises li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 800; }
.promises b { display: block; color: var(--ink); font-size: 16px; }
@media (max-width: 1000px) {
  .trust-grid { grid-template-columns: 1fr; gap: 40px; }
  .trust-photo { aspect-ratio: 16/10; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) { .promises { grid-template-columns: 1fr; } }

/* V5.3: Kontur-Knopf im dunklen Block */
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }



/* V5.5: Bronze als Akzent zum Vergleich (Aufruf mit ?bronze) – nur für Schrift-Akzente.
   Knöpfe, Schilder und die Verkaufs-Box bleiben orange. */
:root[data-akzent="bronze"] { --accent: #a8713a; --accent-dark: #8a5a2b; }
:root[data-akzent="bronze"] .btn-primary,
:root[data-akzent="bronze"] .badge.hot,
:root[data-akzent="bronze"] .cta.orange { background: #ff5a1f; }
:root[data-akzent="bronze"] .btn-primary:hover { background: #d9440f; }

/* V5.7: echtes Foto im Vertrauensblock */
.trust-photo { overflow: hidden; }
.trust-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }

/* V5.8: Titelbild als Slider (Überblendung) */
.hero-bg.slide { transform: scale(1.03); background-position: center; opacity: 0; transition: opacity 1.4s ease; }
.hero-bg.slide.on { opacity: 1; }
.hero-bg.slide.flip { transform: scale(-1.03, 1.03); background-position: center 35%; }

/* V5.9: längere Überblendung, Logo ohne Kreis, „For You“ in Gold */
.hero-bg.slide { transition: opacity 2.6s ease; }
.logo span { color: #b07a1a; }
.footer .logo span { color: var(--gold); }

/* V5.10: Airline-Stil – Buchungsmaske mit Reitern unter dem Titelbild, Angebotskarte im Bild */
.hero { overflow: hidden; }
.hero .wrap { padding-bottom: 130px; }
.booking { position: relative; z-index: 5; margin-top: -76px; }
.book-card { background: #fff; max-width: 1080px; box-shadow: 0 20px 50px rgba(13,22,38,.28); border-radius: 3px; }
.book-tabs { display: flex; border-bottom: 1px solid var(--line); }
.book-tabs button { background: none; border: 0; padding: 18px 28px; font: 700 15px var(--body); color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px; transition: color .15s; }
.book-tabs button:hover { color: var(--ink); }
.book-tabs button.on { color: var(--ink); border-bottom-color: var(--gold); }
.book-form { display: none; grid-template-columns: 1.3fr 1fr 1fr 1fr auto; gap: 0; padding: 8px; }
.book-form.on { display: grid; }
.book-form label { display: block; padding: 12px 18px; border-right: 1px solid var(--line); }
.book-form label:hover { background: #f4f1eb; }
.book-form small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.book-form input, .book-form select { border: 0; background: transparent; font: 500 15px var(--body); padding: 2px 0 0; width: 100%; outline: none; color: var(--ink); }
.book-form .btn { border-radius: 2px; padding: 0 30px; margin-left: 8px; }
.offer { position: absolute; z-index: 3; right: max(40px, calc((100vw - 1240px) / 2 + 24px)); bottom: 120px; width: 300px; background: #fff; color: var(--ink); border-radius: 3px; box-shadow: 0 16px 40px rgba(0,0,0,.35); overflow: hidden; transition: transform .2s; }
.offer:hover { transform: translateY(-4px); }
.offer-img { aspect-ratio: 16/10; background: center/cover; }
.offer-body { padding: 16px 18px 18px; }
.offer-tag { font: 700 11px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.offer-body b { display: block; font: 800 24px/1.1 var(--head); font-stretch: 85%; margin: 6px 0 2px; }
.offer-body small { color: var(--muted); font-size: 13px; }
.offer-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.offer-foot span { font: 800 20px var(--head); font-stretch: 85%; }
.offer-foot i { font-style: normal; font-weight: 600; font-size: 14px; color: var(--accent); }
@media (max-width: 1100px) { .offer { display: none; } .book-form.on { grid-template-columns: 1fr 1fr; } .book-form .btn { grid-column: 1/-1; margin: 8px 0 0; padding: 16px; justify-content: center; } .book-tabs button { padding: 16px 14px; font-size: 14px; } }
@media (max-width: 600px) { .book-form.on { grid-template-columns: 1fr; } .book-form label { border-right: 0; border-bottom: 1px solid var(--line); } }

/* V5.11: Hover – weiche Überblendung zu Bronze bzw. Gold, Glanz steht dauerhaft (keine Bewegung) */
.header-actions .btn-dark, .book-form .btn-primary { position: relative; isolation: isolate; overflow: hidden; transition: color .35s; }
.header-actions .btn-dark::before, .book-form .btn-primary::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s ease; background-size: 220% 100%; background-position: 0 0; }
.header-actions .btn-dark::before { background-image: linear-gradient(120deg, #e3a62d 0%, #f4b740 30%, #fdd37f 50%, #f4b740 70%, #e3a62d 100%); }
.book-form .btn-primary::before { background-image: linear-gradient(120deg, #e3a62d 0%, #f4b740 30%, #fdd37f 50%, #f4b740 70%, #e3a62d 100%); }
.header-actions .btn-dark:hover { background: var(--ink); }
.book-form .btn-primary:hover { background: var(--accent); }
.header-actions .btn-dark:hover::before, .book-form .btn-primary:hover::before { opacity: 1; }
.book-form .btn-primary:hover { color: #fff; }

/* V5.12: keine Kontur um die beiden Knöpfe (Rahmen weg, Polster ausgeglichen) */
.header-actions .btn-dark { border: 0; padding: 11.5px 19.5px; }
.book-form .btn-primary { border: 0; }

/* V5.13: 45°-Textur hinter Featured rides (wie beim Foto-Platzhalter) */
.featured-bg { background: repeating-linear-gradient(135deg, #ece8e0 0 14px, #e4dfd5 14px 28px); }

/* V5.14: Streifenhintergrund beginnt direkt unter dem Foto, Buchungsmaske liegt darin */
.featured-bg { --sp: 112px; padding-top: var(--sp); }
.featured-bg .booking { margin-top: calc(-1 * var(--sp) - 76px); margin-bottom: 72px; }
@media (max-width: 600px) { .featured-bg { --sp: 64px; } }

/* V5.14: Karten eckiger (kleine Rundung) */
:root { --radius: 4px; }
.card { border-radius: 4px; }
.card .badge { border-radius: 2px; }

/* V5.14: Alternative Darstellung „editorial“ – ?karten=editorial: ohne Rahmen und Schatten, Text direkt unter dem Foto */
html[data-karten="editorial"] .card { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; }
html[data-karten="editorial"] .card:hover { transform: none; box-shadow: none; }
html[data-karten="editorial"] .card-img { aspect-ratio: 3/2; border-radius: 0; overflow: hidden; }
html[data-karten="editorial"] .card-img { background-size: cover; }
html[data-karten="editorial"] .card-body { padding: 18px 0 0; }
html[data-karten="editorial"] .card-body h3 { font-size: 30px; }
html[data-karten="editorial"] .card-foot { border-top: 2px solid var(--ink); margin-top: 16px; }
html[data-karten="editorial"] .card .badge { border-radius: 0; }

/* V5.15: Schatten um 50 % reduziert (Karten und Buchungsmaske) */
.card { box-shadow: 0 1px 2px rgba(13,22,38,.03), 0 8px 24px rgba(13,22,38,.03); }
.card:hover { box-shadow: 0 2px 4px rgba(13,22,38,.03), 0 18px 40px rgba(13,22,38,.06); }
.book-card { box-shadow: 0 20px 50px rgba(13,22,38,.14); }

/* V5.15: „editorial“ – Textfläche leicht transparent, hebt sich vom Hintergrund ab */
html[data-karten="editorial"] .card, html[data-karten="editorial"] .card:hover { box-shadow: none; }
html[data-karten="editorial"] .card-body { background: rgba(255,255,255,.72); padding: 20px 22px 22px; }
html[data-karten="editorial"] .card-foot { border-top-color: var(--ink); }

/* V5.16: ohne Kennzahlen – Versprechen rücken nach oben */
.promises { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }

/* V5.17: weitere Personen unter dem Gründer-Block (Platzhalter) */
.team { margin-top: 88px; padding-top: 56px; border-top: 1px solid var(--line); }
.team-head h3 { font: 800 clamp(28px, 3vw, 40px)/1.1 var(--head); font-stretch: 85%; margin-top: 12px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; }
.person-photo { aspect-ratio: 4/5; border-radius: 4px; background: #ece8e0; display: grid; place-items: center; margin-bottom: 18px; }
.person-photo span { font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.person b { display: block; font-size: 19px; }
.person em { display: block; font-style: normal; font-weight: 600; font-size: 14px; color: var(--accent); margin: 2px 0 8px; }
.person p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr; } .person-photo { aspect-ratio: 16/10; } }

.person-photo { overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; }
.person .lang { font-size: 14px; }

/* V5.18: Portraits einheitlich – gleicher Rahmen, gleiche Gesichtsgröße (soweit das Foto es zulässt), gleiche leichte Tönung */
.person-photo { position: relative; }
.person-photo img { filter: saturate(.92) contrast(1.03); }

/* V5.19: alle Portraits wie bei Felix – einfach füllend, ohne Tönung */
.person-photo img { filter: none; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* V5.20: Peter und Paul auf Felix' Kopfgröße und Augenhöhe gesetzt, Rest in hellem Beige */
.person-photo { background: #ece8e0; }

/* V5.21: Aufruf unten über der Fußzeile */
.final-cta { padding-top: 0; }
.final-box { background: var(--ink); color: #fff; border-radius: 4px; padding: 64px; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.final-box h2 { font-size: clamp(32px, 4vw, 52px); margin-top: 12px; }
.final-box p { color: #9aa4b4; max-width: 560px; margin: 16px 0 0; }
.final-actions { display: flex; flex-direction: column; gap: 12px; min-width: 260px; }
.final-actions .btn { justify-content: center; }
@media (max-width: 900px) { .final-box { grid-template-columns: 1fr; padding: 40px 28px; } .final-actions { flex-direction: row; flex-wrap: wrap; min-width: 0; } }

/* V5.22: Abstände und Fluchten
   – letzter Kasten: kein doppelter Abschnittsabstand mehr (Regel war zu schwach)
   – „How it works“: gleicher Spaltenabstand wie die Kästen darunter, Bild so hoch wie der Text daneben */
section.block.final-cta { padding-top: 0; }
.split { gap: 24px; align-items: center; }
.split > div:last-child { padding-left: 56px; }
.split .steps li:last-child { padding-bottom: 0; }
@media (max-width: 1000px) { .split > div:last-child { padding-left: 0; } }
/* Trennlinie über „Specialists you can call“ exakt auf Inhaltsbreite (vorher inkl. Seitenrand) */
.team { border-top: 0; padding-top: 0; }
.team-head { border-top: 1px solid var(--line); padding-top: 56px; }

/* V5.23: Ankersprünge landen unterhalb der festen Kopfzeile; Menü-Unterstreichung in Gold */
[id] { scroll-margin-top: 130px; }
.nav a:hover, .nav a.active { border-color: var(--gold); }

/* V5.24: Preis-Schieberegler, Lightbox */
.ps { padding: 4px 4px 0; }
.ps-values { display: flex; justify-content: space-between; font: 700 14px var(--body); margin-bottom: 14px; }
.ps-track { position: relative; height: 22px; }
.ps-track::before { content: ''; position: absolute; left: 0; right: 0; top: 9px; height: 4px; background: var(--line); border-radius: 2px; }
.ps-fill { position: absolute; top: 9px; height: 4px; background: var(--ink); border-radius: 2px; }
.ps-track input[type=range] { position: absolute; left: 0; width: 100%; top: 0; height: 22px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.ps-track input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: grab; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.ps-track input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: grab; }
.ps-track input[type=range]::-webkit-slider-runnable-track { background: none; }
.ps-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; }
.tab .n { font-weight: 600; font-size: 12px; opacity: .7; }

.lb { position: fixed; inset: 0; z-index: 200; background: rgba(13,22,38,.72); display: grid; place-items: center; padding: 20px; backdrop-filter: blur(3px); }
.lb[hidden] { display: none; }
.lb-box { position: relative; background: #fff; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 4px; padding: 44px 40px 40px; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.lb-close { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; color: var(--muted); }
.lb-close:hover { color: var(--ink); }
.lb-box h2 { font-size: 36px; margin: 10px 0 12px; }
.lb-box p { color: var(--muted); margin: 0 0 22px; }
.lb-field { display: block; margin-bottom: 18px; }
.lb-field small { display: block; font: 700 11px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.lb-field small i { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; }
.lb-field input[type=email] { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 2px; font: 16px var(--body); }
.lb-field input[type=email]:focus { outline: none; border-color: var(--ink); }
.lb-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lb-chip input { position: absolute; opacity: 0; pointer-events: none; }
.lb-chip span { display: inline-block; padding: 7px 13px; border: 1px solid var(--line); border-radius: 2px; font: 500 14px var(--body); cursor: pointer; }
.lb-chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.lb-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin-bottom: 22px; cursor: pointer; }
.lb-check input { margin-top: 3px; accent-color: var(--accent); }
.lb-check a { color: inherit; text-decoration: underline; }
.lb-box .btn { width: 100%; justify-content: center; }

/* V5.25: Formulare in den Lightboxen, gelber Knopf für „Wanted“ */
.lb-box.wide { width: min(680px, 100%); }
.lb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.lb-field input[type=text], .lb-field input[type=tel], .lb-field select, .lb-field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 2px; font: 16px var(--body); background: #fff; color: var(--ink); }
.lb-field textarea { resize: vertical; }
.lb-field input:focus, .lb-field select:focus, .lb-field textarea:focus { outline: none; border-color: var(--ink); }
.lb-field input[type=file] { width: 100%; padding: 10px; border: 1px dashed #bdb7a9; border-radius: 2px; font: 14px var(--body); background: #faf8f4; }
.lb-done .btn { width: auto; }
@media (max-width: 560px) { .lb-grid { grid-template-columns: 1fr; } .lb-box { padding: 36px 20px 24px; } }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #e3a62d; }
.wanted-box { border-left-color: var(--gold); }

/* V5.26: Regler-Füllung von Anfang an, „Not the right ride?“ wieder orange, Karten verlinkt */
.ps-fill { left: 0; right: 0; }
.wanted-box { border-left-color: var(--accent); }
.card { position: relative; }
.card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.card .watch { z-index: 3; }

/* V5.27: Detailseite eines Fahrgeschäfts */
.detail { padding-top: 32px; padding-bottom: 96px; }
.detail .crumbs { margin-bottom: 24px; }
.d-top { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.d-main { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); background: #ddd center/cover; overflow: hidden; }
.d-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.d-nav:hover { background: #fff; }
.d-nav.prev { left: 14px; } .d-nav.next { right: 14px; }
.d-count { position: absolute; right: 14px; bottom: 14px; background: rgba(13,22,38,.75); color: #fff; font: 600 12px var(--body); padding: 5px 10px; border-radius: 2px; }
.d-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 10px; }
.d-thumbs button { aspect-ratio: 4/3; border: 2px solid transparent; border-radius: 2px; background: center/cover; cursor: pointer; padding: 0; opacity: .75; transition: opacity .15s, border-color .15s; }
.d-thumbs button:hover { opacity: 1; }
.d-thumbs button.on { opacity: 1; border-color: var(--ink); }
.d-info { position: sticky; top: 100px; }
.d-info h1 { font-size: clamp(40px, 4.4vw, 60px); font-weight: 800; margin: 6px 0 14px; }
.d-tags { display: flex; gap: 6px; margin-bottom: 22px; }
.d-tags .badge { font-size: 12px; padding: 6px 10px; }
.d-price { padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.d-price small { display: block; font: 700 11px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.d-price span { display: block; font: 800 40px/1.1 var(--head); font-stretch: 85%; margin-top: 4px; }
.d-price em { font-style: normal; font-size: 14px; color: var(--muted); }
.d-key { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.d-key div { padding: 18px 12px 18px 0; }
.d-key div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.d-key b { display: block; font: 800 22px/1.1 var(--head); font-stretch: 85%; }
.d-key span { font-size: 13px; color: var(--muted); text-transform: capitalize; }
.d-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.d-meta span { display: block; font: 700 11px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.d-meta b { font-weight: 600; }
.d-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.btn-ghost-dark { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.d-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.d-bottom { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--line); align-items: start; }
.d-lead { font: 700 clamp(22px, 2.2vw, 28px)/1.3 var(--head); font-stretch: 90%; margin: 12px 0 20px; }
#dText p { color: var(--muted); max-width: 620px; }
.d-h { font-size: 26px; font-weight: 800; margin: 40px 0 8px; }
.d-tech { margin: 0; border-top: 1px solid var(--line); }
.d-tech div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.d-tech dt { color: var(--muted); font-size: 15px; }
.d-tech dd { margin: 0; font-weight: 600; }
.d-contact { display: grid; grid-template-columns: 120px 1fr; gap: 20px; background: var(--card); padding: 24px; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.d-contact img { width: 120px; height: 150px; object-fit: cover; object-position: 50% 20%; border-radius: 2px; }
.d-contact small { display: block; font: 700 11px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.d-contact b { display: block; font-size: 18px; margin-top: 4px; }
.d-contact span { font-size: 14px; color: var(--muted); }
.d-contact p { font-size: 14px; color: var(--muted); margin: 10px 0 14px; }
.d-similar { margin-top: 88px; padding-top: 56px; border-top: 1px solid var(--line); }
@media (max-width: 1000px) {
  .d-top, .d-bottom { grid-template-columns: 1fr; gap: 32px; }
  .d-info { position: static; }
  .d-tech div { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .d-contact { grid-template-columns: 1fr; } .d-contact img { width: 100%; height: 220px; } .d-key b { font-size: 18px; } }

/* V5.28: Produktseite – Anfrageknopf volle Breite, Video, Bildergalerie mit Vollbild */
.d-actions { display: block; }
.d-actions .btn { width: 100%; justify-content: center; }
.d-main iframe, .d-main video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; z-index: 1; }
.d-play { position: absolute; inset: 0; z-index: 1; border: 0; background: rgba(13,22,38,.28); color: #fff; cursor: pointer; display: grid; place-content: center; justify-items: center; gap: 12px; font: 700 15px var(--body); transition: background .2s; }
.d-play:hover { background: rgba(13,22,38,.12); }
.d-play i { font-style: normal; width: 78px; height: 78px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-size: 28px; padding-left: 5px; box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.d-nav, .d-count { z-index: 2; }
.d-thumbs button.vid { position: relative; }
.d-thumbs button.vid i { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(13,22,38,.45); font-style: normal; font-size: 18px; }

/* V5.29: Kontaktkarte läuft beim Scrollen mit und bleibt am Ende des Bereichs stehen (nur Desktop) */
@media (min-width: 1001px) { .d-contact { position: sticky; top: 110px; } }

/* V5.30: Kontaktkarte wieder oben (110 px) mitlaufend; am Ende bleibt ein Abstand nach unten erhalten */
@media (min-width: 1001px) { .d-contact { position: sticky; top: 110px; margin-bottom: 56px; } }

/* V5.31: Kontaktkarte wird per Skript positioniert (siehe v5-ride.html) statt per sticky */
@media (min-width: 1001px) { .d-contact { position: relative; top: auto; margin-bottom: 0; will-change: transform; } }

/* V5.32: Play-Knopf – genau mittig auf Höhe der Pfeile, schlicht und hochwertig */
.d-play { display: block; background: linear-gradient(0deg, rgba(13,22,38,.55), rgba(13,22,38,0) 45%); }
.d-play:hover { background: linear-gradient(0deg, rgba(13,22,38,.6), rgba(13,22,38,.08) 55%); }
.d-play-btn { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(255,255,255,.96); display: grid; place-items: center; box-shadow: 0 10px 34px rgba(0,0,0,.3); transition: transform .25s, background .25s; }
.d-play-btn::before { content: ''; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.65); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.92); opacity: .9; } 100% { transform: scale(1.28); opacity: 0; } }
.d-play-btn b { width: 24px; height: 28px; margin-left: 5px; background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); transition: background .25s; }
.d-play:hover .d-play-btn { transform: scale(1.07); background: #fff; }
.d-play:hover .d-play-btn b { background: var(--accent); }
.d-play-label { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 2px; background: rgba(13,22,38,.78); color: #fff; font: 600 13px var(--body); letter-spacing: .02em; backdrop-filter: blur(4px); }
.d-thumbs button.vid i { background: rgba(13,22,38,.4); }
.d-thumbs button.vid i b { width: 14px; height: 16px; margin-left: 3px; background: #fff; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.d-thumbs button.vid i::before { content: ''; position: absolute; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #fff; }

/* V5.33: keine dauernde Animation am Play-Knopf */
.d-play-btn::before { display: none; }

/* V5.34: Feinschliff nach Sichtung
   – Formularfelder einheitlich hoch, eigener Foto-Upload statt Browser-Standard
   – keine Umrandungen um Kontaktkarte und „Not the right ride?“, stattdessen weicher Schatten wie bei den Karten
   – Vorschaubilder der Galerie in einer Reihe (bei mehr als sechs seitlich scrollbar) */
.lb-field input[type=text], .lb-field input[type=tel], .lb-field input[type=email], .lb-field select { height: 46px; padding: 0 14px; }
.lb-field select { padding-right: 8px; }
.lb-file { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px dashed #c9c2b3; border-radius: 2px; background: #faf8f4; cursor: pointer; transition: border-color .15s, background .15s; }
.lb-file:hover { border-color: var(--ink); background: #fff; }
.lb-file { position: relative; overflow: hidden; }
.lb-field .lb-file input[type=file] { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; pointer-events: none; } /* sonst ragt das unsichtbare Feld rechts hinaus und die Lightbox lässt sich seitlich verschieben */
.lb-file span { background: var(--ink); color: #fff; font: 600 14px var(--body); padding: 9px 14px; border-radius: 2px; white-space: nowrap; }
.lb-file em { font-style: normal; font-size: 14px; color: var(--muted); }
.lb-file:focus-within { border-color: var(--ink); }

.d-contact { box-shadow: 0 1px 2px rgba(13,22,38,.04), 0 10px 28px rgba(13,22,38,.06); }
.wanted-box { border: 0; border-left: 4px solid var(--accent); box-shadow: 0 1px 2px rgba(13,22,38,.04), 0 10px 28px rgba(13,22,38,.06); }

.d-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 50px) / 6); grid-template-columns: none; gap: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }

/* V5.35: Vorschaubilder ohne jeden Rahmen – ausgewählt in voller Farbe, die übrigen leicht zurückgenommen */
.d-thumbs button { -webkit-appearance: none; appearance: none; border: 0; outline: 0; box-shadow: none; background-color: transparent; opacity: 1; filter: saturate(.55) brightness(.82); transition: filter .2s; }
.d-thumbs button:hover { filter: saturate(.85) brightness(.95); }
.d-thumbs button.on { border: 0; filter: none; }
.d-thumbs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* V5.36: warmer dunkler Grundton, solange das Titelbild lädt; weiches Abdunkeln beim Überfahren des Videobilds */
.hero { background-color: #5f4e3c; }
.d-play:hover { background: linear-gradient(0deg, rgba(13,22,38,.55), rgba(13,22,38,0) 45%); }
.d-play::after { content: ''; position: absolute; inset: 0; background: rgba(13,22,38,.16); opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.d-play:hover::after { opacity: 1; }
.d-play-btn, .d-play-label { z-index: 1; }
.d-play-btn { transition: transform .35s ease, background .35s ease; }

/* Handy: „Alle Fahrgeschäfte ansehen“ bei den Featured Rides nur unter den Karten, nicht neben der Überschrift */
@media (max-width: 600px) { .block-head:has(+ #featured) > .link-arrow { display: none; } }

/* Handy: Team-Porträts im Querformat – Bild füllt den Rahmen, Gesicht im oberen Drittel statt am unteren Rand */
@media (max-width: 800px) { .person-photo img { position: absolute; inset: 0; height: 100%; object-position: 50% 22%; } }

/* Handy: Eingabefelder mit 16 px, sonst zoomt das iPhone beim Antippen hinein und die Seite verrutscht */
@media (max-width: 800px) { input, select, textarea { font-size: 16px !important; } }

/* Lightbox: Die ganze Ebene scrollt (nicht der Hintergrund), auf dem Handy oben beginnend */
.lb { overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.lb-box { overscroll-behavior: contain; }
@media (max-width: 800px) {
  .lb { place-items: start center; padding: 12px; }
  .lb-box { max-height: none; overflow: visible; margin: 0 0 12px; padding: 40px 22px 26px; }
}

/* Kontaktkarte: Knopf „Get in touch“ über die ganze Breite der Karte */
.d-contact-btn { grid-column: 1 / -1; width: 100%; justify-content: center; }

/* Ride-Seite auf dem Handy: kein Pfad, Name über der Galerie, darunter weiter mit dem Preis */
@media (max-width: 1000px) {
  .detail .crumbs { display: none; }
  .d-top { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .d-info { display: contents; }
  .d-info > * { order: 3; }
  .d-info > .card-maker, .d-info > h1, .d-info > .d-tags { order: 1; }
  .d-gallery { order: 2; margin-bottom: 24px; }
}

/* Logo als Bild (aus dem Logo-Entwurf, Hauptversion 01 und helle Fassung für die Fußzeile).
   Kopf- und Fußzeile haben genau die Hintergrundfarben des Entwurfs, damit die Bildränder nicht auffallen. */
.logo-img { display: block; height: 56px; width: auto; }
.footer .logo-img { height: 72px; }
@media (max-width: 600px) { .header .logo-img { height: 44px; } }
.header { background: #f4f1e9; backdrop-filter: none; }
.footer { background: #0d1826; }


/* Rides-Seite auf dem Handy: ohne Pfad, Untertext und Anzahl – die Reiter rücken nach oben, „Filter“ über die ganze Breite */
@media (max-width: 1000px) {
  .page-head .crumbs, .toolbar .count { display: none; }
  .toolbar .filter-btn { flex: 1 1 100%; justify-content: center; padding-top: 12px; padding-bottom: 12px; }
}

/* Suche & Filter: am Computer wie bisher links, auf dem Handy als Lightbox mit „Übernehmen“ am Ende */
.f-head, .f-foot, .f-sort { display: none; }
@media (max-width: 1000px) {
  .filters.open { position: fixed; inset: 0; align-self: stretch; z-index: 200; display: block; background: rgba(13,22,38,.72); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 12px; }
  .filters.open .filters-box { position: relative; background: #fff; border-radius: 4px; padding: 24px 22px 22px; max-width: 560px; margin: 0 auto; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
  .filters.open .f-head { display: block; margin-bottom: 8px; }
  .filters.open .f-head h3 { font-size: 28px; margin: 0; }
  .filters.open .f-head .lb-close { top: 14px; right: 12px; }
  .filters.open .f-group:first-of-type { padding-top: 18px; }
  .filters.open .f-foot { display: block; margin-top: 22px; }
  .filters.open .f-foot .btn { width: 100%; justify-content: center; }
}

/* Rides-Seite Handy: Sortierung steckt in der Lightbox, Raster/Liste entfällt; „Suchen & filtern“ in hellem Logo-Gold */
@media (max-width: 1000px) {
  .toolbar select, .toolbar .view-toggle { display: none; }
  .filters.open .f-sort { display: block; }
}
/* Rides-Seite Handy: „Suchen & filtern“ direkt unter den Reitern, Trennstrich erst darunter */
@media (max-width: 1000px) {
  .post-type-archive-ride .page-head { border-bottom: 0; padding-bottom: 0; }
  .post-type-archive-ride .layout { padding-top: 12px; }
  .toolbar { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
}

/* Zahl „6 rides available now“ im Titelbild führt zu allen Rides */
.hero-stats a { display: block; color: inherit; text-decoration: none; }
.hero-stats a:hover span { color: #fff; }

/* Rides-Seite Handy: Reiter je halbe Breite; „Suchen & filtern“ wie ein Suchfeld mit Lupe und Reglern */
@media (max-width: 1000px) {
  .post-type-archive-ride .tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .post-type-archive-ride .tab { min-height: 52px; padding: 8px 10px; }
  .post-type-archive-ride .tab[data-open] .n { display: block; margin: 2px 0 0; }
  .toolbar .filter-btn { background: #fff; border: 1.5px solid var(--ink); color: var(--ink); justify-content: flex-start; gap: 12px; min-height: 52px; padding: 0 16px; font-size: 15px; }
  .toolbar .filter-btn span { flex: 1; text-align: left; }
  .filter-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; flex: none; }
  .filter-btn .fb-regler circle { fill: #fff; }
}

/* Fußzeile auf dem Handy: Marke oben, Links in zwei Spalten mit größeren Tippflächen, Abschluss mittig */
@media (max-width: 700px) {
  .footer { padding: 48px 0 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-brand { grid-column: 1 / -1; padding-bottom: 32px; border-bottom: 1px solid #243046; }
  .footer .logo-img { height: 64px; }
  .footer h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
  .footer ul { gap: 2px; }
  .footer ul a { display: block; padding: 7px 0; font-size: 15px; color: #c9d0db; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 6px; text-align: center; margin-top: 36px; font-size: 13px; }
}

/* Bildnachweis unter der Galerie (z. B. Creative-Commons-Fotos) */
.d-credits { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
.d-credits a { color: inherit; text-decoration: underline; }
