/* ============================================
   Malters Mobility — Design System
   Farben aus Markenwelt: Navy / Blau / Cyan
   Schrift: Inter (400/500/600/700 ausschliesslich), lokal ausgeliefert
   ============================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Inter-Regular.woff2') format('woff2'), url('/fonts/Inter-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/Inter-Medium.woff2') format('woff2'), url('/fonts/Inter-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Inter-SemiBold.woff2') format('woff2'), url('/fonts/Inter-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Inter-Bold.woff2') format('woff2'), url('/fonts/Inter-Bold.ttf') format('truetype');
}

:root {
  --navy: #00123F;
  --navy-soft: #0A1D4D;
  --blue: #00B4FE;
  --cyan: #19E3F2;
  --white: #FFFFFF;
  --ink: #0C1B2A;
  --muted: #55677A;
  --muted-2: #607283; /* WCAG AA: 4.96:1 auf Weiss, 4.65:1 auf --bg-soft (vorher 2.87:1 - zu niedrig) */
  --line: #E3E8EE;
  --bg-soft: #F5F8FA;
  --bg-card: #FFFFFF;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-w: 1180px;
  --shadow-1: 0 1px 2px rgba(12, 27, 42, 0.06), 0 8px 24px rgba(12, 27, 42, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, li, h1, h2, h3, .card, a, .faq-q, .faq-a, button, .segmented-option { overflow-wrap: break-word; word-break: break-word; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 400px) {
  .container { padding: 0 20px; }
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

/* ---------- Typography ---------- */

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }

h1 { font-size: 40px; line-height: 1.06; }
h2 { font-size: 32px; line-height: 1.12; }
h3 { font-size: 22px; line-height: 1.2; font-weight: 600; }

.lede { font-size: 19px; line-height: 1.5; color: var(--muted); font-weight: 400; max-width: 62ch; }
p { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 68ch; }

.kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 12px;
}

@media (min-width: 900px) {
  h1 { font-size: 64px; }
  h2 { font-size: 48px; }
  h3 { font-size: 26px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 48px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--navy);
}
.btn-primary:hover { box-shadow: 0 8px 20px rgba(0, 180, 254, 0.35); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--navy);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }

.btn-light {
  background: var(--white);
  color: var(--navy);
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 12px;
}

@media (min-width: 400px) {
  .site-header .container { height: 72px; }
}

.brand {
  display: flex;
  align-items: center;
  align-self: stretch; /* antippbar ueber die volle Hoehe der Kopfzeile (64/72px) */
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  white-space: nowrap;
  min-width: 0;
}

.brand-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

@media (min-width: 400px) {
  .brand { gap: 10px; font-size: 16px; }
  .brand-mark { width: 32px; height: 32px; }
}

@media (min-width: 980px) {
  .brand { font-size: 17px; }
  .brand-mark { width: 36px; height: 36px; }
}

nav.main-nav { display: none; gap: 28px; align-items: center; }
nav.main-nav a { font-size: 15px; font-weight: 500; color: var(--navy); }
.lang-switch { font-size: 14px; font-weight: 500; color: var(--muted); }
.lang-switch a { color: var(--muted); }
.lang-switch a[aria-current="page"] { color: var(--blue); font-weight: 700; }
nav.main-nav a:hover { color: var(--blue); }

.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-actions .btn { padding: 10px 20px; font-size: 14px; min-height: 40px; }

/* Mobil: CTA-Button nicht zusätzlich in den ohnehin engen Header quetschen -
   er bleibt prominent im Seiteninhalt (Hero etc.) und im aufgeklappten Menü
   erreichbar. Verhindert das Umbrechen von Logo/Schriftzug auf zwei Zeilen. */
@media (max-width: 979px) {
  .nav-actions .btn { display: none; }
}

.nav-toggle {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--navy);
  position: relative; transition: 0.2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  min-height: 48px;
}
.mobile-nav .mobile-nav-cta {
  display: flex;
  margin: 16px 20px;
  padding: 14px 20px;
  border: none;
  text-align: center;
  font-weight: 600;
}

@media (min-width: 980px) {
  nav.main-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- Sections ---------- */

section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }

.section-dark { background: var(--navy); color: var(--white); }
.section-dark .lede, .section-dark p { color: rgba(255,255,255,0.72); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-soft { background: var(--bg-soft); }

.section-head { margin-bottom: 40px; max-width: 640px; }
.section-head.center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 72px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .hero { padding: 96px 0 120px; }
}

.hero h1 { color: var(--white); }
.hero .lede { color: rgba(255,255,255,0.75); margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust {
  margin-top: 36px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: flex; flex-wrap: wrap; gap: 8px 18px;
}

.van-art {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #041640, #062255 60%, #073066);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.van-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.van-art-photo {
  background: radial-gradient(ellipse at center, rgba(0,180,254,0.14), transparent 70%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.van-art-photo img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Cards ---------- */

.grid { display: grid; gap: 20px; align-items: stretch; }
.grid > * { min-width: 0; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
}

.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--blue);
}

/* ---------- Offer split (Selbstfahrer / Chauffeur) ---------- */

.offer-split { display: grid; gap: 20px; }
.offer-split > * { min-width: 0; }
@media (min-width: 800px) { .offer-split { grid-template-columns: 1fr 1fr; } }

.offer-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--line);
}
.offer-card.dark { background: var(--navy); color: var(--white); border-color: transparent; }
.offer-card.dark p { color: rgba(255,255,255,0.72); }
.offer-card ul { padding-left: 20px; margin: 20px 0; color: var(--muted); }
.offer-card.dark ul { color: rgba(255,255,255,0.72); }
.offer-card .btn { margin-top: 12px; }

/* ---------- Pricing table ---------- */

.pricing-group { margin-bottom: 56px; }
.pricing-group h3 { margin-bottom: 6px; }
.pricing-note { font-size: 14px; color: var(--muted-2); margin-bottom: 24px; }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.price-card.featured { border-color: var(--blue); box-shadow: var(--shadow-1); }
.price-tag { font-size: 12px; font-weight: 600; color: var(--blue); }
.price-amount { font-size: 34px; font-weight: 700; color: var(--navy); }
.price-amount span { font-size: 15px; font-weight: 500; color: var(--muted); }
.price-includes { font-size: 14px; color: var(--muted); margin: 0; }
.featured-badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--navy); color: var(--white);
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 999px;
}

/* ---------- Process steps ---------- */

.steps { display: grid; gap: 24px; }
.steps > * { min-width: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step-num { font-size: 14px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }

/* ---------- FAQ ---------- */

.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  min-height: 48px;
}
.faq-plus { font-size: 20px; color: var(--blue); transition: transform 0.2s; }
.faq-item.open .faq-plus { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 22px; color: var(--muted); max-width: 68ch; }
.faq-item.open .faq-a { display: block; }

/* ---------- Forms ---------- */

.field { margin-bottom: 18px; position: relative; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.autocomplete-list {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  z-index: 20;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-1);
  max-height: 220px;
  overflow-y: auto;
  margin-top: 4px;
}
.autocomplete-item {
  padding: 12px 14px;
  font-size: 14px;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.autocomplete-item:hover, .autocomplete-item.active {
  background: var(--bg-soft);
}
.autocomplete-item + .autocomplete-item { border-top: 1px solid var(--line); }
.autocomplete-source {
  padding: 6px 14px;
  font-size: 11px;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
}
.field-error { margin-top: 6px; font-size: 13px; color: #A32424; }
.field input[aria-invalid="true"] { border-color: #D64545; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: 16px;
  min-height: 48px;
  background: var(--white);
  color: var(--ink);
}
.field textarea { min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}
.field-row { display: grid; gap: 16px; }
.field-row > * { min-width: 0; }
@media (min-width: 700px) { .field-row-2 { grid-template-columns: 1fr 1fr; } }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  min-width: 0;
}
@media (min-width: 500px) { .form-card { padding: 32px; } }
@media (min-width: 900px) { .form-card { padding: 44px; } }

.price-preview {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 8px;
  position: static;
}
@media (min-width: 1024px) {
  #price-preview {
    position: sticky;
    top: 96px; /* Header-Hoehe (72px) + 24px Abstand */
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}
@media (max-width: 699px) {
  /* Wird per JS vor den Absenden-Button verschoben - dort keine sticky-Position */
  #price-preview { position: static !important; top: auto !important; margin-bottom: 20px; }
}
.price-preview-row {
  display: flex; justify-content: space-between;
  font-size: 15px; padding: 6px 0; color: var(--muted);
}
.price-preview-row.total { font-weight: 700; color: var(--navy); font-size: 18px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; }
.price-preview-disclaimer { font-size: 14px; color: var(--muted-2); margin-top: 14px; }

.form-msg { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-top: 16px; display: none; }
.form-msg.show { display: block; }
.form-msg.success { background: #E9FBF3; color: #0A6B3F; border: 1px solid #BEEFD8; }
.form-msg.error { background: #FDECEC; color: #A32424; border: 1px solid #F6C9C9; }

/* ---------- Segmented choice (Selbst fahren / Mit Chauffeur, Unterarten) ---------- */

.segmented {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}
.segmented > * { min-width: 0; }
@media (min-width: 600px) { .segmented.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 700px) { .segmented.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.segmented-option {
  display: block;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  cursor: pointer;
  min-height: 48px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.segmented-option input { position: absolute; opacity: 0; pointer-events: none; }
.segmented-option .seg-title { font-weight: 600; color: var(--navy); font-size: 15px; }
.segmented-option .seg-sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
.segmented-option:has(input:checked) { border-color: var(--blue); background: rgba(0,180,254,0.06); }

/* ---------- Dynamisches Formular: Gruppen, Zwischenstopps, Checkboxen ---------- */

.form-group { display: none; }
.form-group.active { display: block; }
fieldset.form-group {
  border: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.field .checkbox-row,
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  min-height: 44px;
  font-size: 14px;
  font-weight: 400;
  color: var(--navy);
  cursor: pointer;
  margin-bottom: 0;
}
.field .checkbox-row input,
.checkbox-row input {
  margin: 0;
  width: 20px;
  height: 20px;
  min-height: 0;
  flex-shrink: 0;
}
.checkbox-row span { flex: 1; }

.stop-list { margin-bottom: 8px; }
.stop-row { display: flex; gap: 8px; margin-bottom: 10px; align-items: center; }
.stop-row input { flex: 1; }
.stop-row button {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--white); color: var(--muted); cursor: pointer; font-size: 18px;
}
.btn-add-stop {
  background: none; border: 1px dashed var(--line); border-radius: var(--radius-sm);
  padding: 10px 16px; font-size: 14px; font-weight: 600; color: var(--blue); cursor: pointer;
  min-height: 44px; margin-bottom: 18px;
}

.summary-box {
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 8px;
}
.summary-box h4 { font-size: 14px; margin-bottom: 10px; color: var(--navy); }
.summary-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; padding: 5px 0; color: var(--muted); gap: 12px; }
.summary-row span:first-child { min-width: 0; }
.summary-row span:last-child { text-align: right; color: var(--navy); font-weight: 500; white-space: nowrap; flex-shrink: 0; }

/* ---------- Footer ---------- */

footer.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 56px 0 32px; }
.footer-grid { display: grid; gap: 32px; }
.footer-grid > * { min-width: 0; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h4 { color: var(--white); font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.footer-grid a { display: block; font-size: 14px; padding: 6px 0; color: rgba(255,255,255,0.7); }
.footer-grid a:hover { color: var(--white); }
/* Unter 768px: antippbare Flaechen mind. 44px hoch, mind. 8px Abstand
   (Messung 08.10.2026: vorher 33px hoch, 0px Abstand). Desktop unveraendert. */
@media (max-width: 767px) {
  .footer-grid a { padding: 12px 0; line-height: 20px; }
  .footer-grid a + a { margin-top: 8px; }
  .footer-bottom a { display: inline-block; min-width: 44px; text-align: center; padding: 12px 0; line-height: 20px; margin: 4px 0; }
}
.footer-bottom {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  font-size: 14px; color: rgba(255,255,255,0.5);
}

/* ---------- Utility ---------- */

.mt-0 { margin-top: 0; }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  background: var(--bg-soft); border-radius: 999px; padding: 6px 12px;
}
.divider { height: 1px; background: var(--line); margin: 48px 0; }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--white);
  padding: 12px 20px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------- Cookie-Consent-Banner ---------- */

.mm-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #00123F;
  color: #fff;
  padding: 20px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
}
.mm-consent-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.mm-consent-text {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  max-width: 60ch;
  flex: 1 1 260px;
}
.mm-consent-link { color: #19E3F2; }
.mm-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mm-consent-btn {
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  cursor: pointer;
  font-family: inherit;
}
.mm-consent-btn-outline { background: none; border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.mm-consent-btn-primary { background: linear-gradient(135deg,#00B4FE,#19E3F2); border: none; color: #00123F; font-weight: 700; padding: 12px 20px; }
.mm-consent-btn-text {
  background: none; border: none; color: rgba(255,255,255,0.75);
  text-decoration: underline; padding: 12px 4px; font-weight: 500;
}

/* Kompakte Bottom-Card unter 768px: kleiner, "Einstellungen" nur als Textlink,
   Akzeptieren/Nur-notwendige bleiben gut sichtbar. Verdeckt nicht mehr fast
   den ganzen Bildschirm. Consent-Logik (JS) bleibt unveraendert. */
@media (max-width: 767px) {
  .mm-consent-banner {
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    max-height: 55vh;
    overflow-y: auto;
  }
  .mm-consent-inner { gap: 10px; }
  .mm-consent-text { font-size: 14px; max-width: none; flex-basis: 100%; }
  .mm-consent-actions { flex-basis: 100%; gap: 8px; }
  .mm-consent-btn-outline, .mm-consent-btn-primary { flex: 1 1 auto; padding: 12px 14px; font-size: 14px; }
  .mm-consent-btn-text { flex-basis: 100%; text-align: center; padding: 8px 4px; font-size: 14px; order: 3; }
}

/* ---------- Preiskarte Tarifversion 2 (mm-*) ---------- */
/* Bevorzugt bestehende Markentokens (--navy, --muted, --bg-soft, --cyan, --line).
   Fuer die Vorteilsflaeche (helles Tuerkis) gibt es noch kein bestehendes Token -
   dafuer die vom Auftraggeber freigegebenen Referenzwerte verwendet. */
.mm-package {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-top: 4px;
  min-width: 0;
}
.mm-kicker { text-transform: uppercase; letter-spacing: 1.1px; color: var(--muted); font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.mm-package-name { font-size: 21px; font-weight: 650; color: var(--navy); margin-bottom: 8px; overflow-wrap: break-word; }
.mm-muted { color: var(--muted); }
.mm-included { display: flex; align-items: center; gap: 6px; margin-top: 12px; color: #086b71; font-size: 14px; font-weight: 600; }
.mm-regular { display: grid; gap: 4px; margin: 20px 0 16px; min-width: 0; }
.mm-regular-price { font-size: 22px; color: var(--navy); font-weight: 700; overflow-wrap: break-word; }
.mm-offer {
  background: #EAFBFC;
  border: 1px solid #C0E9EC;
  border-radius: var(--radius-md);
  padding: 18px;
  min-width: 0;
}
.mm-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: #C7F3F2; border-radius: 7px; padding: 6px 10px;
  color: #07535A; font-size: 13px; font-weight: 650; margin-bottom: 12px;
}
.mm-total {
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1.15; font-weight: 750; letter-spacing: -0.5px;
  color: var(--navy);
  margin: 4px 0 6px;
  overflow-wrap: break-word;
  font-variant-numeric: tabular-nums;
}
.mm-total span { font-size: 18px; font-weight: 550; }
.mm-daily { font-size: 16px; font-weight: 600; color: var(--navy); margin-bottom: 14px; }
.mm-saving { font-weight: 650; color: #08666C; }
.mm-condition { padding-top: 12px; border-top: 1px solid #BCDFE3; margin-top: 12px; color: #294F60; font-size: 14px; }
.mm-package-flex-row details { margin-top: 18px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
#price-preview details { margin-top: 18px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
#price-preview summary { cursor: pointer; padding: 8px 0; font-size: 14px; min-height: 44px; color: var(--navy); font-weight: 600; }
#price-preview dl { display: grid; gap: 12px; margin: 10px 0; font-size: 14px; }
#price-preview dl > div {
  display: flex; gap: 8px 16px; flex-wrap: wrap; justify-content: space-between;
  min-width: 0;
}
#price-preview dl dt { color: var(--muted); flex: 1 1 160px; min-width: 0; }
#price-preview dl dd { margin: 0; font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0; }
.mm-footer { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* Homepage/Startseiten-Vorteilshinweis */
.mm-promo {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px; background: #EAFBFC; border-radius: var(--radius-md);
  max-width: 420px;
}
.mm-promo strong { font-size: 26px; line-height: 1.1; flex-shrink: 0; color: #08666C; }
.mm-promo p { margin: 0; font-size: 13px; color: var(--navy); }
.mm-promo p b { display: block; margin-bottom: 2px; }

/* Rabatthinweis im dunklen Einstiegsbereich der Startseite.
   Die Preisseite nutzt weiterhin die helle Grundvariante .mm-promo. */
.mm-promo.mm-promo-hero {
  display: block;
  max-width: 440px;
  margin: 24px 0 0;
  padding: 16px 20px;
  background: rgba(25, 227, 242, 0.10);
  border: 1px solid rgba(25, 227, 242, 0.28);
}
.mm-promo.mm-promo-hero .mm-promo-title {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--white);
}
.mm-promo.mm-promo-hero .mm-promo-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 699px) {
  .mm-promo.mm-promo-hero { max-width: none; }
}

/* Vertrauensbereich mit Link zum Google-Unternehmensprofil (Startseite):
   kompakte Zeile am Ende der Leistungsübersicht, kein eigener Abschnitt. */
.section-compact-bottom { padding-bottom: 40px; }
@media (min-width: 900px) { .section-compact-bottom { padding-bottom: 56px; } }

/* ---------- Vertrauenszeile (Startseite, unter den zwei Angebotskarten) ----------
   Ersetzt den frueheren .trust-strip mit Ueberschrift und Button. Bewusst
   zurueckhaltend: nur Text mit einem dezenten Link, KEIN Button. Ein zweiter
   Button an dieser Stelle wuerde mit den beiden Hero-Buttons und den beiden
   Angebotskarten um Aufmerksamkeit konkurrieren.
   Die Trennlinie oben bleibt, damit der Abschnitt sauber abschliesst. */
.trust-line {
  margin: 32px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted-2);
  /* p erbt sonst max-width: 68ch; die Trennlinie wuerde dann mitten im
     Layout enden statt buendig mit den beiden Angebotskarten darueber. */
  max-width: none;
}
.trust-line a {
  display: inline-block;
  /* antippbare Flaeche mind. 44px hoch; der negative Rand gleicht den
     Innenabstand aus, die Zeile wird dadurch nicht hoeher. */
  padding: 11px 0;
  margin: -11px 0;
  color: var(--muted-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--line);
}
.trust-line a:hover {
  color: var(--navy);
  text-decoration-color: currentColor;
}
.trust-line a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}
@media (min-width: 900px) {
  .trust-line { margin-top: 40px; padding-top: 32px; }
}

/* ---------- Kontaktseite: Kontaktkarten ----------
   Nur Klassen mit Präfix .contact-. Der Standortbereich darunter nutzt .card und
   .btn-secondary ohne diese Klassen und bleibt dadurch unverändert. */
.card.contact-card { border-radius: var(--radius-lg); padding: 24px; }
@media (min-width: 500px) { .card.contact-card { padding: 32px; } }
@media (min-width: 1100px) { .card.contact-card { padding: 40px; } }

.contact-card .contact-card-title { margin: 0 0 16px; }
.contact-card p { margin: 0; }
.contact-address { margin: 0 0 4px; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { color: var(--muted); font-size: 16px; line-height: 1.5; }
.contact-list a,
.contact-hotline a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-list a { display: inline-flex; align-items: center; min-height: 44px; }

.contact-subtitle { margin: 0 0 8px; font-size: 16px; line-height: 1.3; font-weight: 700; color: var(--navy); }
.contact-divider { height: 1px; background: var(--line); margin: 16px 0 20px; }

/* Beratungszeiten: bei knappem Platz alle Zeilen einheitlich untereinander (Tag, darunter Zeit),
   bei genug Breite als zweispaltige Liste mit gemeinsamer Kante für die Zeiten. */
.contact-hours { margin: 0; }
.contact-hours > div { padding: 3px 0; }
.contact-hours dt { font-weight: 600; color: var(--navy); }
.contact-hours dd { margin: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (min-width: 420px) and (max-width: 699px), (min-width: 900px) {
  .contact-hours { display: grid; grid-template-columns: max-content 1fr; column-gap: 24px; row-gap: 6px; }
  .contact-hours > div { display: contents; }
}

.contact-hotline {
  margin-top: 20px;
  padding: 16px 18px;
  background: #EAFBFC;
  border-radius: var(--radius-md);
}
.contact-hotline p { color: var(--navy); font-size: 15px; line-height: 1.55; }
.contact-hotline p + p { margin-top: 8px; }
.contact-hotline .contact-hotline-note { font-weight: 600; }

.contact-option + .contact-option { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-card .contact-option p { margin-bottom: 14px; }
.contact-btn { width: 100%; max-width: 320px; }
.contact-btn svg { flex-shrink: 0; }
.contact-btn-whatsapp svg { color: #128C7E; }

.contact-card a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Sehr schmale Bildschirme (z. B. 320px): Buttontexte bleiben einzeilig */
@media (max-width: 399px) {
  .card.contact-card { padding: 20px; }
  .contact-btn { font-size: 15px; padding-left: 16px; padding-right: 16px; }
}

/* ---------- Google-Bewertungen im Vertrauensbereich (Startseite) ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.reviews { margin-top: 24px; }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.reviews-score { font-size: 22px; font-weight: 700; color: var(--navy); }
.reviews-stars-visual { color: #E8A33D; letter-spacing: 2px; }
.reviews-count { color: var(--muted); font-size: 15px; }
.reviews-list { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 800px) { .reviews-list { grid-template-columns: repeat(3, 1fr); } }
.reviews-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  min-width: 0;
}
.reviews-card-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
.reviews-author { font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.reviews-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 14px; color: var(--muted); }
.reviews-text { margin: 0; font-size: 15px; line-height: 1.6; }
.reviews-text-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.reviews-note { margin: 8px 0 0; font-size: 13px; color: var(--muted-2); }
.reviews-disclaimer { margin-top: 16px; max-width: 80ch; }
.reviews-source { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.reviews-toggle {
  margin-top: 10px; padding: 8px 0; min-height: 44px;
  background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--blue);
}
.reviews-extra { margin-top: 8px; }
.reviews a:focus-visible, .reviews button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ---------- Preisseite: Einstieg zum Rechner und Rabattfeld ---------- */
/* Sprungziel nicht unter den festen Header rutschen lassen */
#rechner { scroll-margin-top: 96px; }

.hero-note { margin: 12px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.hero-note + .hero-note { margin-top: 6px; }

.discount-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-top: 32px;
  padding: 24px;
  background: #EAFBFC;
  border-radius: var(--radius-lg);
}
.discount-main { display: flex; align-items: flex-start; gap: 16px; min-width: 0; }
.discount-badge { margin: 0; font-size: 30px; line-height: 1; font-weight: 700; color: #08666C; flex-shrink: 0; }
.discount-title { margin: 0 0 6px; font-size: 20px; }
.discount-box p { color: var(--navy); }
.discount-terms { margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.discount-btn { width: 100%; max-width: 320px; }
@media (min-width: 768px) {
  .discount-box { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 32px; }
  .discount-btn { width: auto; flex-shrink: 0; }
}

/* ---------- Kontaktseite: kompakterer Einstieg, Reihenfolge, Abstände ---------- */
.hero.hero-compact { padding: 42px 0 36px; }
@media (min-width: 980px) { .hero.hero-compact { padding: 72px 0 56px; } }
.section-contact { padding-top: 40px; padding-bottom: 40px; }
.section-soft.section-location { padding-top: 40px; }
@media (min-width: 900px) {
  .section-contact { padding-top: 56px; padding-bottom: 56px; }
  .section-soft.section-location { padding-top: 56px; }
}
/* Mobil zuerst die Kontaktwege (HTML-Reihenfolge), ab Tablet die Unternehmenskarte links */
@media (min-width: 700px) {
  .contact-cards .contact-card-info { order: 1; }
  .contact-cards .contact-card-help { order: 2; }
}
.contact-secondary { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin-top: 4px; font-size: 15px; color: var(--muted); }
.contact-secondary a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
/* Kontaktblock: mind. 8px zwischen den 44px hohen Links (09.10.2026, vorher 0px). */
.contact-list li + li { margin-top: 8px; }
.contact-list + .contact-secondary { margin-top: 8px; }
.contact-hours-note { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* Fuenfte Footer-Spalte (Einzugsgebiet). Erst ab 900px fuenfspaltig, darunter
   bleibt es beim bisherigen Raster, damit die Spalten nicht zu eng werden.
   min-width: 0 gilt bereits fuer alle Kinder von .footer-grid. */
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }

/* Abschnitt mit weissem Hintergrund, aber sichtbarer Kante zum weissen Abschnitt darueber */
.section-line-top { border-top: 1px solid var(--line); }
/* Sichtbarer Link im Fliesstext (global sind Links nicht unterstrichen) */
.text-link { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Lieferposition in der Preisvorschau: klar von der Miete getrennt */
.mm-delivery { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }

/* Die beiden Summen unter der Lieferposition. Vom Lieferbetrag abgesetzt,
   der Vorteilspreis ist die hervorgehobene und letzte Zahl. */
.mm-totals { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.mm-total-regular { font-size: 14px; color: var(--muted-2); }
.mm-total-advantage { font-size: 17px; font-weight: 700; margin-top: 4px; }
.mm-total-advantage span:last-child { color: #08666C; }


/* Honeypot im Buchungsformular (Feld "mm-feld-2"): fuer Menschen unsichtbar,
   ausschliesslich per CSS versteckt (kein type="hidden"), damit Bots das Feld
   im HTML weiterhin als normales Textfeld sehen. Nicht entfernen, siehe
   netlify/functions/submit-booking.js. */
.mm-feld { display: none; }

/* ---------- Ausflugsziele: antippbare Links (08.10.2026) ---------- */
/* Links "Offizielle Seite: ..." und die vier Ortsseiten-Links, dazu Telefon
   und E-Mail im Impressum (.kontaktlinks): mind. 44px hoch, mind. 8px
   Abstand, auch wenn sie umbrechen. */
.ziel-links a, .ortslinks a, .kontaktlinks a { display: inline-block; padding: 10px 0; line-height: 24px; margin: 4px 0; }
