/* Lastenlieb – Styles
   Palette und Typografie aus dem MVP-Plan: off-white, near-black, warmer Akzent. */

:root {
  --bg: #FAFAF8;
  --fg: #121212;
  --muted: #5F5C57;
  --card: #EFEDE8;
  --card-strong: #E6E4DF;
  --border: #DCD9D2;
  --accent: #E8622C;
  --accent-dark: #CF5223;
  --on-image: #FFFFFF;
  --radius: 18px;
  --max: 1160px;
  --pad: clamp(20px, 4vw, 40px);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(56px, 9vw, 96px) 0; }
.section + .section { padding-top: 0; }

h1, h2, h3 { margin: 0; letter-spacing: -0.02em; line-height: 1.1; font-weight: 600; }
.h-display { font-size: clamp(36px, 6vw, 56px); max-width: 16ch; }
.h-section { font-size: clamp(30px, 4.2vw, 42px); max-width: 24ch; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 60ch; margin-top: 18px; }
.muted { color: var(--muted); }
.eyebrow { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 12px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 0;
  background: var(--accent); color: #fff;
  font-weight: 600; font-size: 16px;
  padding: 14px 24px; text-decoration: none;
  transition: background .2s ease, transform .1s ease;
}
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--fg); border: 1.5px solid var(--border); }
.btn-ghost:hover { background: var(--card); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(250,250,248,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-weight: 700; font-size: 21px; letter-spacing: -0.02em; text-decoration: none; }
.nav { display: none; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--fg); }
.nav-mobile { font-size: 14px; color: var(--muted); text-decoration: none; }
@media (min-width: 820px) { .nav { display: flex; } .nav-mobile { display: none; } }

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px; background: rgba(250,250,248,.95); border-top: 1px solid var(--border); backdrop-filter: blur(10px);
}
.sticky-cta .btn { width: 100%; }
@media (min-width: 820px) { .sticky-cta { display: none; } }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; color: var(--on-image); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%); }
.hero .container { min-height: 78svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 120px; padding-bottom: 56px; }
@media (min-width: 820px) { .hero .container { min-height: 84vh; padding-bottom: 96px; } }
.hero p.lead { color: rgba(255,255,255,.92); }
.hero .micro { font-size: 14px; opacity: .85; margin: 12px 0 0; }

/* Intro (GEO-Definitionsabsatz) */
.intro { max-width: 70ch; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; }
.intro strong { font-weight: 600; }

/* Cards */
.grid { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--card); border-radius: var(--radius); padding: 28px; }
.lift { transition: transform .25s ease, box-shadow .25s ease; }
.lift:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,.06); }
.step-no { font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .08em; }
.card h3 { font-size: 22px; margin-top: 22px; }
.card p { margin: 12px 0 0; color: var(--muted); }
ol.steps, ul.plain { list-style: none; margin: 0; padding: 0; }

/* Bike */
.bike-grid { display: grid; gap: 36px; margin-top: 40px; }
@media (min-width: 820px) { .bike-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-grid img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; width: 100%; }
.specs { margin: 0; }
.specs > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.specs > div:first-child { border-top: 1px solid var(--border); }
@media (min-width: 560px) { .specs > div { grid-template-columns: 160px 1fr; gap: 24px; } }
.specs dt { font-size: 14px; font-weight: 600; }
.specs dd { margin: 0; color: var(--muted); }

/* Audience */
.audience li { min-height: 150px; display: flex; align-items: flex-end; font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.audience li span { display: block; }
.audience li small { display: block; font-size: 15px; font-weight: 400; color: var(--muted); margin-top: 8px; }

/* Preise */
.price-card {
  text-align: left; width: 100%; background: var(--card); border: 2px solid transparent;
  border-radius: var(--radius); padding: 26px;
}
.price-card:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.price-card[aria-pressed="true"] { border-color: var(--accent); background: #fff; }
.price-card .dur { display: block; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.price-card .price { display: block; margin-top: 4px; font-size: 19px; font-weight: 500; color: var(--accent); }
.price-card .per { font-size: 14px; color: var(--muted); font-weight: 400; }
.price-card .note { display: block; margin-top: 14px; font-size: 15px; color: var(--muted); }
.price-table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: 15px; }
.price-table th, .price-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.price-table th { font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.price-foot { font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 70ch; }

/* Formular */
.form-wrap { margin-top: 40px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); max-width: 760px; }
.form-wrap h3 { font-size: 24px; }
.progress { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.field { margin-top: 18px; }
.field label, .field .label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field textarea, .field select {
  width: 100%; border: 1.5px solid var(--border); border-radius: 12px; padding: 12px 14px;
  font: inherit; background: #fff; color: var(--fg);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--fg); outline-offset: 1px; border-color: var(--fg); }
.field textarea { min-height: 96px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--border); font-size: 15px; background: #fff; }
.chip input:checked + span { border-color: var(--fg); background: var(--fg); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.row-2 { display: grid; gap: 14px; } @media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.error { color: #B3261E; font-size: 14px; margin-top: 8px; display: none; }
.field.invalid .error { display: block; }
.field.invalid input, .field.invalid textarea { border-color: #B3261E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { display: none; }
.thanks h3 { font-size: 26px; }
.thanks p { color: var(--muted); }

/* Warum mieten */
.args { display: grid; gap: 28px; margin-top: 40px; }
@media (min-width: 720px) { .args { grid-template-columns: repeat(2, 1fr); gap: 36px 40px; } }
.args > div { border-top: 1.5px solid var(--fg); padding-top: 18px; }
.args h3 { font-size: 21px; }
.args p { margin: 10px 0 0; color: var(--muted); }
.compare { margin-top: 48px; font-size: clamp(24px, 3vw, 32px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; max-width: 24ch; }
.compare .accent { color: var(--accent); }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 32px; font-size: 15px; max-width: 760px; }
.compare-table th, .compare-table td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* FAQ */
.faq { max-width: 760px; margin-top: 40px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; line-height: 1; color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); max-width: 66ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0 112px; }
@media (min-width: 820px) { .site-footer { padding-bottom: 48px; } }
.site-footer .container { display: flex; flex-direction: column; gap: 24px; }
@media (min-width: 820px) { .site-footer .container { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted); }
.site-footer nav a { text-decoration: none; } .site-footer nav a:hover { color: var(--fg); }
.site-footer .small { font-size: 14px; color: var(--muted); margin: 4px 0 0; }

/* Rechtsseiten */
.legal { max-width: 720px; padding-top: 64px; padding-bottom: 96px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal p, .legal li { color: var(--muted); }
.legal .placeholder { background: #FFF4EE; border: 1px dashed var(--accent); border-radius: 10px; padding: 10px 14px; color: var(--fg); font-size: 15px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .lift { transition: none; } }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 560px; }

.duration-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.duration-row input[type="number"] { width: 96px; border: 1.5px solid var(--border); border-radius: 12px; padding: 10px 12px; font: inherit; background: #fff; color: var(--fg); }
.duration-row input[type="number"]:focus { outline: 2px solid var(--fg); outline-offset: 1px; border-color: var(--fg); }
.field.invalid .duration-row input[type="number"] { border-color: #B3261E; }
.duration-row.disabled { opacity: .45; pointer-events: none; }

/* v5: fünf Preiskarten, Symbolbild-Hinweis, Hero-Fokus auf die Familie (rechts im Bild) */
.price-grid { grid-template-columns: 1fr; }
@media (min-width: 560px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .price-grid { grid-template-columns: repeat(5, 1fr); } }
.price-card .per { display: block; }
.photo-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.hero img { object-position: 70% 50%; }
.price-card { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; height: 100%; }
.photo-note { margin: 2px 0 0; }
@media (max-width: 819px) { .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.65) 100%); } }
.price-table td:nth-child(2) { white-space: nowrap; }
