@font-face { font-family: Sora; font-weight: 600; font-display: swap; src: url(/static/fonts/sora-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: Sora; font-weight: 700; font-display: swap; src: url(/static/fonts/sora-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: Sora; font-weight: 800; font-display: swap; src: url(/static/fonts/sora-latin-800-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(/static/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(/static/fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(/static/fonts/inter-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(/static/fonts/inter-latin-700-normal.woff2) format('woff2'); }

:root {
  --navy: #13233F; --navy-2: #1E3358; --orange: #FF7A1A; --orange-d: #E8650A; --cream: #FFF4E6;
  --bg: #FAF7F2; --card: #FFFFFF; --text: #1B2533; --muted: #5B6577; --line: #E9E2D6;
  --ok: #1F8A5B; --ok-bg: #E6F5EE; --warn: #B7791F; --warn-bg: #FFF5E0; --err: #C53030; --err-bg: #FDECEC; --info-bg: #EAF1FB;
  --r: 16px; --r-sm: 10px; --shadow: 0 1px 2px rgba(19,35,63,.06), 0 8px 24px rgba(19,35,63,.06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif; color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--navy-2); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3, h4 { font-family: Sora, Inter, sans-serif; color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
small, .muted { color: var(--muted); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }
.section { padding-top: 64px; padding-bottom: 64px; }
.section-tight { padding-top: 32px; padding-bottom: 32px; }
.center { text-align: center; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; } .mt { margin-top: 20px; } .mt2 { margin-top: 36px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; gap: 4px; align-items: center; flex: 1; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 999px; font-size: .95rem; }
.nav a:hover, .nav a.on { background: var(--cream); }
.nav-right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-right form { margin: 0; }
.menu-toggle { display: none; }
.pill-count { background: var(--err); color: #fff; border-radius: 999px; font-size: .72rem; padding: 1px 7px; margin-left: 4px; font-weight: 700; }
@media (max-width: 900px) {
  .site-header .wrap { height: 60px; }
  .brand img { height: 32px; }
  .nav, .nav-right .hide-m { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .menu-toggle summary { list-style: none; cursor: pointer; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  .menu-toggle[open] .menu-panel { display: flex; }
  .menu-panel { display: none; position: absolute; left: 0; right: 0; top: 60px; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; padding: 12px 20px 20px; gap: 4px; box-shadow: var(--shadow); }
  .menu-panel a, .menu-panel button { padding: 12px 8px; text-decoration: none; color: var(--navy); font-weight: 500; border-bottom: 1px solid var(--line); text-align: left; background: none; border-left: 0; border-right: 0; border-top: 0; font: inherit; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2; transition: transform .08s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-d); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { padding: 7px 14px; font-size: .88rem; }
.btn-lg { padding: 16px 28px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-danger { background: var(--err-bg); color: var(--err); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; color: var(--navy-2); text-decoration: underline; cursor: pointer; font: inherit; }

/* Cards & misc */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); }
.card-flat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.card h3 { margin-top: 0; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--cream); color: var(--navy); white-space: nowrap; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-err { background: var(--err-bg); color: var(--err); }
.badge-navy { background: var(--navy); color: #fff; }
.badge-orange { background: var(--orange); color: #fff; }
.alert { padding: 14px 18px; border-radius: var(--r-sm); margin: 16px 0; font-weight: 500; }
.alert-ok { background: var(--ok-bg); color: #14583A; }
.alert-error { background: var(--err-bg); color: #8E1F1F; }
.alert-info { background: var(--info-bg); color: var(--navy); }
.alert-warn { background: var(--warn-bg); color: #7A4F0F; }
.demo-bar { background: var(--navy); color: var(--cream); text-align: center; font-size: .85rem; padding: 6px 12px; }
.demo-bar b { color: var(--orange); }
.kicker { font-family: Sora, sans-serif; color: var(--orange); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: 8px; }
.icon-circle { width: 52px; height: 52px; border-radius: 16px; background: var(--cream); display: grid; place-items: center; color: var(--orange); margin-bottom: 14px; }
.icon-circle svg { width: 28px; height: 28px; }
.num { font-family: Sora, sans-serif; font-weight: 700; font-size: 1.9rem; color: var(--navy); line-height: 1; }
.price { font-family: Sora, sans-serif; font-weight: 700; color: var(--navy); }
hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

/* Hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,26,.35), transparent 65%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p.lead { font-size: 1.15rem; color: #D7DEEA; max-width: 34em; }
.hero-card { background: #fff; color: var(--text); border-radius: 24px; padding: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.25); }
.hero-steps { display: grid; gap: 12px; }
.hero-step { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: var(--bg); }
.hero-step b { font-family: Sora; color: var(--navy); }
.hero-step .n { flex: 0 0 38px; height: 38px; border-radius: 12px; background: var(--orange); color: #fff; display: grid; place-items: center; font-family: Sora; font-weight: 700; }
.trust { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 26px; color: #B9C4D8; font-size: .92rem; }
.trust span::before { content: '✓ '; color: var(--orange); font-weight: 700; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 44px; gap: 28px; } }

/* Map */
.map-shell { display: grid; grid-template-columns: 360px 1fr; height: calc(100vh - 68px); }
.map-side { overflow: auto; background: #fff; border-right: 1px solid var(--line); padding: 18px; }
#map { width: 100%; height: 100%; min-height: 360px; }
.map-embed { height: 440px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 14px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font-size: .85rem; cursor: pointer; font-family: inherit; color: var(--navy); }
.chip.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.list-item { display: flex; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 10px; text-decoration: none; color: inherit; background: #fff; }
.list-item:hover { border-color: var(--orange); }
.list-item .thumb { width: 72px; height: 60px; border-radius: 10px; background: var(--cream) center/cover; flex: 0 0 auto; display: grid; place-items: center; }
.list-item h4 { margin: 0 0 2px; font-size: 1rem; }
.tj-pin { width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--orange); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.tj-pin.busy { background: #9AA5B8; }
.tj-pin span { display: block; transform: rotate(45deg); color: #fff; font: 700 12px/28px Sora, sans-serif; text-align: center; }
.leaflet-popup-content { font-family: Inter, sans-serif; }
.popup h4 { margin: 0 0 4px; font-family: Sora; color: var(--navy); }
@media (max-width: 900px) { .map-shell { grid-template-columns: 1fr; grid-template-rows: 55vh auto; height: auto; } .map-side { order: 2; border-right: 0; } }

/* Forms */
form.stack > * + * { margin-top: 14px; }
label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: .85rem; }
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=hidden]):not([type=submit]), select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,26,.15); }
textarea { min-height: 96px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--text); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--orange); flex: 0 0 auto; }
.fieldset { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: #fff; }
.fieldset legend { font-family: Sora; font-weight: 600; color: var(--navy); padding: 0 8px; font-size: 1.1rem; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 640px) { .f2, .f3 { grid-template-columns: 1fr; } }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: block; border: 2px solid var(--line); border-radius: 14px; padding: 14px; cursor: pointer; background: #fff; height: 100%; }
.choice span b { display: block; font-family: Sora; color: var(--navy); font-size: 1.05rem; }
.choice input:checked + span { border-color: var(--orange); background: #FFF8F1; box-shadow: 0 0 0 3px rgba(255,122,26,.15); }
.choice input:focus-visible + span { outline: 3px solid var(--navy); }

/* Tables */
.table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.sum-row td { font-weight: 700; color: var(--navy); }

/* Trailer page */
.t-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.t-photo { aspect-ratio: 4/3; border-radius: var(--r); background: var(--cream) center/cover; display: grid; place-items: center; overflow: hidden; }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.spec { background: var(--bg); border-radius: 12px; padding: 10px 12px; }
.spec small { display: block; font-size: .78rem; }
.spec b { color: var(--navy); }
.sticky-cta { position: sticky; top: 88px; }
@media (max-width: 900px) { .t-hero { grid-template-columns: 1fr; } .sticky-cta { position: static; } .m-cta { display: flex !important; } body.has-mcta { padding-bottom: 84px; } }
.m-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001; background: #fff; border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); gap: 12px; align-items: center; justify-content: space-between; box-shadow: 0 -6px 20px rgba(19,35,63,.08); }

/* Rental */
.code-box { background: var(--navy); color: #fff; border-radius: var(--r); padding: 24px; text-align: center; }
.code-box .code { font-family: Sora; font-size: 2.6rem; letter-spacing: .18em; color: var(--orange); font-weight: 700; }
.timer { font-family: Sora; font-size: 2rem; color: var(--navy); font-weight: 700; }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps-list li { counter-increment: s; position: relative; padding: 0 0 18px 48px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 10px; background: var(--cream); color: var(--orange); font: 700 1rem/32px Sora; text-align: center; }
.photos { display: flex; gap: 8px; flex-wrap: wrap; }
.photos img { width: 92px; height: 72px; object-fit: cover; border-radius: 8px; }
.progress { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress > div { height: 100%; background: var(--orange); }

/* Sticker */
.sticker-preview { max-width: 360px; margin: 0 auto; }
.sticker-preview svg { width: 100%; height: auto; }
@media print {
  .site-header, .site-footer, .no-print, .demo-bar { display: none !important; }
  body { background: #fff; }
  .print-sheet { display: flex !important; flex-wrap: wrap; gap: 10mm; }
  .print-sheet svg { width: 100mm; height: 150mm; }
}

/* Footer */
.site-footer { background: var(--navy); color: #B9C4D8; padding: 48px 0 28px; margin-top: 64px; font-size: .92rem; }
.site-footer a { color: #E4E9F2; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer h4 { color: #fff; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Misc */
.page-head { padding-top: 40px; padding-bottom: 8px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.calc-out { font-family: Sora; font-size: 2.6rem; color: var(--orange); font-weight: 700; line-height: 1; }
.cta-band { background: var(--orange); color: #fff; border-radius: 24px; padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal { max-width: 780px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.kpi small { display: block; margin-bottom: 4px; }
.tabs-nav { display: flex; gap: 6px; flex-wrap: wrap; margin: 20px 0; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--r); }

.grid > *, .t-hero > *, .split > *, .map-shell > * { min-width: 0; }
a.chip { text-decoration: none; }

/* Dropdowns im Seitendesign (überschreibt die native Optik, v. a. Safari) */
select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2313233F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
  padding-right: 40px !important; cursor: pointer; font-weight: 500; color: var(--navy);
}
select:hover { border-color: #D8CFC0; }
select::-ms-expand { display: none; }

/* Schieberegler im Seitendesign */
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: var(--line); outline: none; margin: 10px 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--orange); border: 4px solid #fff; box-shadow: 0 1px 4px rgba(19,35,63,.35); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--orange); border: 4px solid #fff; box-shadow: 0 1px 4px rgba(19,35,63,.35); cursor: pointer; }
input[type=range]::-moz-range-progress { background: var(--orange); height: 8px; border-radius: 999px; }
input[type=range]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(255,122,26,.3); }
