@charset "UTF-8";
/* ==========================================================================
   DreamRent – Redesign für Contao  (v12)
   Wird NACH files/dcrent/style.css geladen. Alle Regeln hängen an body.rd,
   greifen also nur in Seitenlayouts mit der Body-Klasse "rd".

   Markup:  erzeugt mit redesign-contao/build.py → out/<test|live>/*.html
            (Module DE_header_rd/DE_footer_rd und HTML-Inhaltselemente)
   Buchung: Modul 9 (#rental-data) wird per {{insert_module::9}} eingebunden,
            IDs/Klassen bleiben unverändert, damit functions.js greift.
   Hero-Bereich bewusst ausgespart.
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=Inter:wght@400;500;600&display=swap");

body.rd {
  --bg:      #0A0A0B;
  --bg-2:    #100F12;
  --card:    #141418;
  --card-2:  #1A1A1F;
  --line:    rgba(255, 255, 255, .09);
  --line-2:  rgba(255, 255, 255, .17);
  --text:    #F4F4F5;
  --muted:   #9C9CA6;
  --dim:     #6C6C77;
  --lime:    #BADB00;
  --lime-2:  #D2F520;
  --on-lime: #0A0A0B;
  --wrap:    1200px;
  --gutter:  24px;
  --r-card:  14px;
  --r-btn:   8px;
  --shadow:  0 24px 70px -28px rgba(0, 0, 0, .9);
  --shadow-lg: 0 40px 100px -30px rgba(0, 0, 0, .95);
  --ease:    cubic-bezier(.4, 0, .2, 1);
  --display: "Barlow Condensed", "Inter", sans-serif;

  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.rd img { max-width: 100%; display: block; }
body.rd a { color: inherit; text-decoration: none; }
body.rd ::selection { background: var(--lime); color: var(--on-lime); }
body.rd :focus-visible { outline: 2px solid var(--lime-2); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------------------- Contao-Rahmen zurücksetzen */

body.rd #wrapper,
body.rd #container,
body.rd #main,
body.rd #main > .inside,
body.rd .mod_article { max-width: none; margin: 0; padding: 0; }

body.rd #header {
  position: sticky;
  top: -41px;              /* Topbar scrollt weg, Navigation bleibt stehen */
  z-index: 60;
  max-width: none;
  margin: 0;
}
body.rd #header > .inside { max-width: none; padding: 0; }

body.rd #footer {
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: none;
  color: inherit;
  font-size: inherit;
}
body.rd #footer > .inside { max-width: none; padding: 0; }
body.rd #footer ul { margin: 0; padding: 0; }
body.rd #footer li { padding: 0; }

/* ------------------------------------------------------------ Typografie */

:where(body.rd) :is(h1, h2, h3) {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .005em;
  line-height: .98;
  text-transform: uppercase;
  color: var(--text);
  margin: 0;
}
:where(body.rd) h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
:where(body.rd) h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
:where(body.rd) h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

:where(body.rd) p { margin: 0 0 1rem; }
:where(body.rd) p:last-child { margin-bottom: 0; }

body.rd .lead { font-size: 1.1rem; color: var(--muted); max-width: 56ch; }

body.rd .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}
body.rd .eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--lime); opacity: .7; }

/* ---------------------------------------------------------------- Layout */

body.rd .wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

body.rd .mod_article > section { padding-block: clamp(64px, 8vw, 110px); }
body.rd .mod_article > section.band { background: var(--bg-2); border-block: 1px solid var(--line); }

body.rd .section-head { margin-bottom: clamp(32px, 4vw, 52px); max-width: 60ch; }
body.rd .head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  max-width: none;
}
body.rd .head-note { max-width: 34ch; color: var(--muted); margin: 0; }

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

body.rd .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}
body.rd .btn:active { transform: translateY(1px); }
body.rd .btn-primary { background: var(--lime); color: var(--on-lime); }
body.rd .btn-primary:hover { background: var(--lime-2); }
body.rd .btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
body.rd .btn-ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, .05); }
body.rd .btn-block { width: 100%; }
body.rd .btn-sm { padding: 11px 18px; font-size: .75rem; }

/* ---------------------------------------------------------------- Topbar */

body.rd .topbar {
  background: #060607;
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}
body.rd .topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 40px;
}
body.rd .topbar-links { display: flex; gap: 22px; align-items: center; }
body.rd .topbar a:hover { color: var(--text); }
body.rd .topbar .dot { color: var(--lime); }

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

body.rd .site-header {
  background: rgba(10, 10, 11, .88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
body.rd .site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 74px; }

body.rd .logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
body.rd .logo img { height: 40px; width: auto; }
body.rd .logo-word {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--text);
}
body.rd .logo-word span { display: block; font-size: .56rem; letter-spacing: .24em; color: var(--dim); margin-top: 3px; }

body.rd .nav { display: flex; gap: 30px; align-items: center; }
body.rd .nav > a,
body.rd .nav-drop > a {
  display: inline-block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 6px;
  border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
body.rd .nav > a:hover,
body.rd .nav-drop:hover > a { color: var(--text); border-bottom-color: var(--lime); }

body.rd .nav-drop { position: relative; }
body.rd .nav-drop > a::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  vertical-align: middle;
  border: 4px solid transparent;
  border-top-color: var(--lime);
  border-bottom: 0;
}
body.rd .nav-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 240px;
  margin-top: 12px;
  padding: 8px 0;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
body.rd .nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
body.rd .nav-drop:hover .nav-menu,
body.rd .nav-drop:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
body.rd .nav-menu a {
  display: block;
  padding: 10px 20px;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
body.rd .nav-menu a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }

body.rd .burger {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: var(--r-btn);
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
body.rd .burger span,
body.rd .burger span::before,
body.rd .burger span::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  background: var(--text);
  transition: transform .25s var(--ease);
}
body.rd .burger span { position: relative; }
body.rd .burger span::before,
body.rd .burger span::after { position: absolute; left: 0; top: 0; }
body.rd .burger span::before { transform: translateY(-6px); }
body.rd .burger span::after  { transform: translateY(6px); }
body.rd .burger[aria-expanded="true"] span { background: transparent; }
body.rd .burger[aria-expanded="true"] span::before { transform: rotate(45deg); }
body.rd .burger[aria-expanded="true"] span::after  { transform: rotate(-45deg); }

body.rd .mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--bg-2); }
body.rd .mobile-nav.open { display: block; }
body.rd .mobile-nav a {
  display: block;
  padding: 15px var(--gutter);
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
body.rd .mobile-nav a:last-child { border-bottom: 0; }
body.rd .mobile-sub { border-bottom: 1px solid var(--line); padding-block: 4px 10px; }
body.rd .mobile-sub a {
  padding: 9px var(--gutter) 9px calc(var(--gutter) + 16px);
  border-bottom: 0;
  font-size: .78rem;
  color: var(--dim);
}
body.rd .mobile-sub a:hover { color: var(--text); }

/* ----------------------------------------------------- Intro (statt Hero) */

body.rd section.intro {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 6vw, 84px) clamp(40px, 5vw, 64px);
}
body.rd section.intro::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto -30%;
  height: 700px;
  background: radial-gradient(ellipse at 22% 38%, rgba(186, 219, 0, .14), transparent 62%);
  pointer-events: none;
}
body.rd .intro .wrap { position: relative; }
body.rd .intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
body.rd .intro h1 { max-width: 16ch; margin-bottom: 20px; }

body.rd .booking-card {
  padding: 28px 26px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
}
body.rd .booking-card h2 { font-size: 1.8rem; margin-bottom: 6px; }
body.rd .booking-card > p { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
body.rd .intro h1 em { font-style: normal; color: var(--lime); }
body.rd .intro .lead { margin-bottom: 28px; }

body.rd .intro-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
body.rd .intro-head .eyebrow { margin-bottom: 0; }

/* Neukundenbonus */
body.rd .promo-tag {
  display: inline-block;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--on-lime);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.2;
  transform: rotate(-2deg);
  box-shadow: 0 10px 30px -12px rgba(186, 219, 0, .55);
}

body.rd .intro-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
body.rd .intro-cta .fa { font-size: 1rem; }

body.rd .facts { display: flex; gap: 36px; flex-wrap: wrap; }
body.rd .fact .n { display: block; font: 700 2rem/1 var(--display); color: var(--text); }
body.rd .fact .l {
  display: block;
  margin-top: 5px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ----------------------------------------------- Buchungsleiste (Modul 9) */

body.rd .booking { position: relative; z-index: 5; margin-top: clamp(28px, 4vw, 44px); }
body.rd .booking-inline { margin-top: 40px; }
body.rd #activatejs { margin: 0 0 12px; width: auto; padding: 0; color: var(--muted); }

body.rd #rental-data {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  max-width: none;
  margin: 0;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
body.rd #col-station,
body.rd .col-date,
body.rd #col-send { padding: 0; }
body.rd #col-station { width: auto; flex: 1.3 1 0; }
body.rd .col-date    { width: auto; flex: 1 1 0; display: flex; gap: 8px; }
body.rd #col-send    { width: auto; flex: 0 0 auto; }
body.rd .col-date .input-field.date { width: auto; flex: 1 1 auto; }
body.rd .col-date .input-field.time { width: 88px; flex: 0 0 88px; }

body.rd #rental-data .input-field { position: relative; padding-top: 22px; }
body.rd #rental-data label,
body.rd #rental-data input + label {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
body.rd #rental-data input[type=text],
body.rd #rental-data input:not([type]) {
  width: 100%;
  height: 48px;
  padding: 0 12px 0 38px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  font: 500 .92rem "Inter", sans-serif;
  color: var(--text);
  transition: border-color .2s var(--ease);
}
body.rd #rental-data .input-field.time input { padding-left: 34px; }
body.rd #rental-data input:hover { border-color: var(--line-2); }
body.rd #rental-data input:focus { border-color: var(--lime); }
body.rd #rental-data input.error { border: 1px solid #ff5a5a !important; }
body.rd #rental-data i.input-icon {
  position: absolute;
  top: 22px;
  left: 13px;
  z-index: 1;
  line-height: 48px;
  font-size: 15px;
  color: var(--dim);
}

/* Senkrechte Variante: Hero-Karte und Modal */
body.rd :is(.booking-card, .bm-panel) #rental-data {
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}
body.rd :is(.booking-card, .bm-panel) :is(#col-station, .col-date, #col-send) { flex: none; width: 100%; }
body.rd :is(.booking-card, .bm-panel) .col-date .input-field.time { width: 104px; flex: 0 0 104px; }
body.rd :is(.booking-card, .bm-panel) #btn-first { width: 100%; height: 52px; }
body.rd :is(.booking-card, .bm-panel) #costs-div { position: static; height: auto; margin: 0; }

/* functions.js setzt eine Inline-Regel "#rental-data select#rental-station" */
body.rd #rental-data select#rental-station {
  width: 100%;
  height: 48px;
  padding: 0 36px 0 38px;
  border: 1px solid var(--line);
  border-radius: var(--r-btn);
  background-color: var(--bg);
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%),
                    linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  -webkit-appearance: none;
  appearance: none;
  font: 500 .92rem "Inter", sans-serif;
  color: var(--text);
}
body.rd #rental-data select#rental-station:hover { border-color: var(--line-2); }
body.rd #rental-data select#rental-station:focus { border-color: var(--lime); }
body.rd #rental-data select#rental-station option { background: var(--card); color: var(--text); }

body.rd #btn-first {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--r-btn);
  background: var(--lime);
  color: var(--on-lime);
  font: 600 .82rem/48px "Inter", sans-serif;
  letter-spacing: .09em;
  text-transform: uppercase;
}
body.rd #btn-first:hover { background: var(--lime-2); }
body.rd #btn-first.disabled { background: var(--card-2); color: var(--dim); }
body.rd #btn-first .hide-on-tablet { display: block; }
body.rd #btn-first .arrow { display: none; }
body.rd #costs-div { position: absolute; left: 22px; bottom: -28px; margin: 0; color: var(--muted); }

/* ---------------------------------------------------------- Trust-Streifen */

body.rd .trust { border-block: 1px solid var(--line); background: var(--bg-2); padding-block: 30px; }
body.rd .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
body.rd .trust-item { display: flex; gap: 13px; align-items: flex-start; }
body.rd .trust-item .fa { flex: none; width: 20px; margin-top: 3px; font-size: 18px; text-align: center; color: var(--lime); }
body.rd .trust-item b { display: block; font-size: .92rem; font-weight: 600; }
body.rd .trust-item span { font-size: .82rem; color: var(--muted); }

/* ----------------------------------------------------------------- Flotte */

body.rd .fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

body.rd .car {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
body.rd .car:hover { border-color: var(--line-2); transform: translateY(-4px); }

body.rd .car-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card-2); }
body.rd .car-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
body.rd .car:hover .car-photo img { transform: scale(1.045); }
body.rd .car-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 11, .85), transparent 55%);
}
body.rd .car-price {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  background: rgba(10, 10, 11, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: .8rem;
  font-weight: 600;
}
body.rd .car-price b { font-family: var(--display); font-size: 1.05rem; }
body.rd .car-name { position: absolute; left: 18px; bottom: 14px; z-index: 2; }
body.rd .car-name .brand {
  display: block;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 3px;
}
body.rd .car-name .model {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}
body.rd .car-body { padding: 18px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
body.rd .specs { display: flex; gap: 8px; flex-wrap: wrap; }
body.rd .spec {
  font-size: .74rem;
  color: var(--muted);
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
}
body.rd .spec b { color: var(--text); font-weight: 600; }
body.rd .car-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: .78rem;
  color: var(--dim);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: auto;
}
body.rd .car-meta b { color: var(--muted); font-weight: 500; }

/* ----------------------------------------------------------------- Ablauf */

body.rd .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
body.rd .step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 24px;
}
body.rd .step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  font: 700 3.2rem/1 var(--display);
  color: var(--lime);
  opacity: .22;
}
body.rd .step h3 { margin-bottom: 9px; }
body.rd .step p { font-size: .9rem; color: var(--muted); }

/* ---------------------------------------------------------------- Anlässe */

body.rd .occasions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
body.rd .occ {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3 / 2;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
body.rd .occ img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
body.rd .occ:hover img { transform: scale(1.04); }
body.rd a.occ { color: inherit; transition: border-color .25s var(--ease); }
body.rd a.occ:hover { border-color: var(--line-2); }
body.rd a.occ .occ-text h3::after { content: " →"; color: var(--lime); }
body.rd .occ::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 11, .9), rgba(10, 10, 11, .1));
}
body.rd .occ-text { position: relative; z-index: 2; padding: 22px; }
body.rd .occ-text h3 { font-size: 1.35rem; margin-bottom: 5px; }
body.rd .occ-text p { font-size: .84rem; color: var(--muted); }

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

body.rd details { margin: 0; }
body.rd details > summary { list-style: none; cursor: pointer; background: none; font-weight: inherit; }
body.rd details > summary::-webkit-details-marker { display: none; }
body.rd details[open] > summary { background: none; }
body.rd details > div { padding: 0; }

body.rd .faq { max-width: 860px; }
body.rd .faq details { border-bottom: 1px solid var(--line); }
body.rd .faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  font: 600 1.28rem/1.2 var(--display);
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--text);
  transition: color .2s var(--ease);
}
body.rd .faq summary:hover { color: var(--lime); }
body.rd .faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s var(--ease);
}
body.rd .faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
body.rd .faq .answer { padding: 0 44px 24px 0; color: var(--muted); font-size: .96rem; }

/* --------------------------------------------------------------- CTA-Band */

body.rd .cta-band {
  background: linear-gradient(135deg, rgba(186, 219, 0, .13), rgba(186, 219, 0, .02));
  border-block: 1px solid var(--line);
}
body.rd .cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
body.rd .cta-band h2 { margin-bottom: 10px; }
body.rd .cta-band p { color: var(--muted); max-width: 48ch; }
body.rd .cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* -------------------------------------------------------- SEO-Textblock */

body.rd .seo { background: var(--bg-2); border-top: 1px solid var(--line); padding: 38px var(--gutter); }
body.rd .seo > summary,
body.rd .seo-body { max-width: 820px; margin-inline: auto; }
body.rd .seo > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
body.rd .seo > summary::before { content: "+"; color: var(--lime); font-size: 1.1rem; line-height: 1; }
body.rd .seo[open] > summary::before { content: "–"; }
body.rd .seo > summary:hover { color: var(--lime); }
body.rd .seo-body { padding-top: 10px; }
body.rd .seo h2 { font-size: 1.35rem; margin: 30px 0 10px; }
body.rd .seo p, body.rd .seo li { color: var(--dim); font-size: .92rem; }
body.rd .seo ul { padding-left: 20px; margin: 0 0 1rem; }
body.rd .seo li::marker { color: var(--lime); }

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

body.rd .site-footer { background: #060607; border-top: 1px solid var(--line); padding-top: 56px; }
body.rd .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}
body.rd .footer-grid h4 {
  margin: 0 0 16px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}
body.rd .footer-grid ul { list-style: none; display: grid; gap: 10px; }
body.rd .footer-grid a { font-size: .89rem; color: var(--muted); }
body.rd .footer-grid a:hover { color: var(--lime); }
body.rd .footer-about p { margin-top: 16px; max-width: 34ch; font-size: .89rem; color: var(--muted); }
body.rd .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: var(--dim);
}

/* ------------------------------------------------------ Sticky Mobile-CTA */

body.rd .sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: none;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 11, .93);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
body.rd .sticky-cta .btn { flex: 1; }

/* ================================================== Fahrzeug-Detailseite */

body.rd .breadcrumb { padding-block: 22px 0; font-size: .8rem; color: var(--dim); }
body.rd .breadcrumb a:hover { color: var(--lime); }
body.rd .breadcrumb span { margin-inline: 8px; opacity: .5; }

body.rd section.detail-top { padding-block: 28px clamp(48px, 6vw, 80px); }

body.rd .detail-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
body.rd .gallery { display: grid; gap: 12px; }
body.rd .gallery-main {
  aspect-ratio: 3 / 2;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
body.rd .gallery-main img { width: 100%; height: 100%; object-fit: cover; }
body.rd .gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
body.rd .gallery-thumbs img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  opacity: .6;
  transition: border-color .2s var(--ease), opacity .2s var(--ease);
}
body.rd .gallery-thumbs img:hover,
body.rd .gallery-thumbs img.is-active { opacity: 1; border-color: var(--line-2); }

body.rd .detail-side { position: sticky; top: 98px; }
body.rd .book-card {
  display: grid;
  gap: 10px;
  padding: 26px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}
body.rd .book-card .brand { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); }
body.rd .book-card .promo-tag { justify-self: start; margin: -4px 0 8px; }
body.rd .book-card h1 { font-size: clamp(2rem, 3.2vw, 2.6rem); margin: 0 0 8px; }
body.rd .book-card h1 .brand { display: block; margin-bottom: 8px; font: 600 .7rem/1.2 "Inter", sans-serif; }
body.rd .price-from {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding-bottom: 18px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
body.rd .price-from .v { font: 700 2.6rem/1 var(--display); }
body.rd .price-from .u { font-size: .88rem; color: var(--muted); }
body.rd .incl { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 11px; }
body.rd .incl li { display: flex; gap: 10px; align-items: flex-start; font-size: .89rem; color: var(--muted); }
body.rd .incl .fa { flex: none; margin-top: 4px; font-size: 13px; color: var(--lime); }
body.rd .contact-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
body.rd .btn .fa { font-size: 1.05em; }
body.rd .btn .fa-whatsapp { color: #25d366; }

body.rd .spec-table,
body.rd .conditions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
}
body.rd .spec-table { margin-top: 40px; }
body.rd .conditions { margin-top: 22px; }
body.rd .spec-table > div { background: var(--card); padding: 20px 18px; text-align: center; }
body.rd .conditions > div { background: var(--bg); padding: 22px 20px; }
body.rd .spec-table .k,
body.rd .conditions .k {
  display: block;
  margin-bottom: 7px;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
body.rd .spec-table .v { display: block; font: 700 1.75rem/1 var(--display); }
body.rd .conditions .v { font-size: 1.05rem; font-weight: 600; }

body.rd .tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
body.rd .tier {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
body.rd .tier.featured { border-color: var(--lime); background: linear-gradient(180deg, rgba(186, 219, 0, .07), transparent 60%), var(--card); }
body.rd .tier .flag {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--on-lime);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body.rd .tier .t { font: 700 1.35rem/1.1 var(--display); text-transform: uppercase; }
body.rd .tier .amount { font: 700 3rem/1 var(--display); }
body.rd .tier .note { margin-top: -10px; font-size: .8rem; color: var(--dim); }
body.rd .tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; flex: 1; }
body.rd .tier li { display: flex; gap: 9px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
body.rd .tier li .fa { flex: none; margin-top: 4px; font-size: 12px; color: var(--lime); }

body.rd .prose > * { max-width: 70ch; }
body.rd .prose h2 { margin-bottom: 18px; }
body.rd .prose h3 { font-size: 1.3rem; margin: 32px 0 12px; }
body.rd .prose p { color: var(--muted); }
body.rd .more > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--lime);
}
body.rd .more > summary::after { content: "↓"; }
body.rd .more[open] > summary::after { content: "↑"; }


/* ======================================================== Weitere Seiten */

body.rd section.page-head { position: relative; overflow: hidden; padding-block: clamp(48px, 6vw, 84px) 0; }
body.rd section.page-head::before {
  content: "";
  position: absolute;
  inset: -60% -10% auto -30%;
  height: 600px;
  background: radial-gradient(ellipse at 22% 38%, rgba(186, 219, 0, .12), transparent 62%);
  pointer-events: none;
}
body.rd .page-head .wrap { position: relative; }
body.rd .page-head h1 { margin-bottom: 18px; }

body.rd section.contact { padding-top: clamp(36px, 4vw, 56px); }
body.rd .contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
body.rd .contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
body.rd .contact-card > .fa { font-size: 22px; color: var(--lime); }
body.rd .contact-card h3 { margin-top: 6px; }
body.rd .contact-card p { flex: 1; font-size: .9rem; color: var(--muted); }
body.rd .contact-card .addr { color: var(--text); line-height: 1.7; }

/* Bestehende Contao-Inhalte (Impressum, Datenschutz, Gutscheine …) */
body.rd .mod_article > .ce_text,
body.rd .mod_article > .ce_html,
body.rd .mod_article > .ce_form,
body.rd .mod_article > .mod_form {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
body.rd .mod_article > .ce_text:first-child { padding-top: clamp(48px, 6vw, 84px); }
body.rd .mod_article > :last-child:not(section):not(details):not(div.trust) { padding-bottom: clamp(64px, 8vw, 110px); }
/* Typografie der Bestandsinhalte bewusst schwach (:where), damit eingebettete
   Widgets (Gutschein-Shop, Bewertungen) ihre eigenen Farben behalten */
body.rd :where(.mod_article > .ce_text) h1 { margin-bottom: 26px; }
body.rd :where(.mod_article > .ce_text) h2 { font-size: 1.5rem; margin: 36px 0 12px; }
body.rd :where(.mod_article > .ce_text) :is(p, li) { max-width: 78ch; color: var(--muted); }
body.rd :where(.mod_article > .ce_text) :is(strong, b) { color: var(--text); font-weight: 600; }
body.rd :where(.mod_article > .ce_text) a { color: var(--lime); }
body.rd :where(.mod_article > .ce_text) a:hover { text-decoration: underline; }

/* Gutschein-Shop (#dc-voucher-shop, eigenes Script) – Farben über seine CSS-Variablen */
body.rd #dc-voucher-shop { margin-top: 28px; }
body.rd .dcvs-shell {
  --dcvs-accent: var(--lime);
  --dcvs-accent-dark: var(--lime);
  --dcvs-accent-ring: rgba(186, 219, 0, .28);
  --dcvs-accent-on-ink: var(--on-lime);
  --dcvs-font: "Inter", -apple-system, sans-serif;
  --dcvs-text: var(--text);
  --dcvs-muted: var(--muted);
  --dcvs-bg: var(--card);
  --dcvs-panel: var(--card);
  --dcvs-soft: var(--card-2);
  --dcvs-line: var(--line);
  --dcvs-line-strong: var(--line-2);
  --dcvs-image-bg: var(--card-2);
  --dcvs-ink: var(--lime);
  --dcvs-ink-hover: var(--lime-2);
  --dcvs-on-ink: var(--on-lime);
  --dcvs-radius: var(--r-btn);
  --dcvs-highlight-from: rgba(186, 219, 0, .08);
  --dcvs-highlight-to: rgba(186, 219, 0, .02);
  --dcvs-field-line: var(--line-2);
  color: var(--text);
}
body.rd .dcvs-shell :is(h1, h2, h3, h4, a) { color: inherit; }
body.rd .dcvs-shell :is(input, select, textarea) { background: var(--bg); color: var(--text); border-color: var(--line-2); }
body.rd .dcvs-car.is-active .dcvs-car-copy,
body.rd .dcvs-car.is-active .dcvs-car-copy *,
body.rd .dcvs-duration.is-active,
body.rd .dcvs-duration.is-active * { color: var(--on-lime); }

/* Eigenes Google-Review-Modul (SOFTWARE/GOOGLE-REVIEWS) */
body.rd .gr-reviews,
body.rd .gr-badge,
body.rd .gr-slider,
body.rd .gr-panel {
  --gr-card-bg: var(--card);
  --gr-card-border: var(--line);
  --gr-text: var(--text);
  --gr-muted: var(--muted);
  --gr-radius: var(--r-card);
  --gr-gap: 22px;
  --gr-avatar-bg: var(--lime);
  --gr-avatar-text: var(--on-lime);
  --gr-star-empty: #3a3a40;
  --gr-link: var(--lime);
}
body.rd .gr-badge {
  padding: 10px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ------------------------------------------------------- Buchungs-Modal */

html.bm-open { overflow: hidden; }
body.rd .booking-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
body.rd .booking-modal[hidden] { display: none; }
body.rd .bm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 6, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
body.rd .bm-panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 30px 28px 28px;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-lg);
  animation: bmIn .22s var(--ease);
}
@keyframes bmIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
body.rd .bm-panel h2 { font-size: 1.9rem; margin-bottom: 6px; }
body.rd .bm-panel > p { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
body.rd .bm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-btn);
  background: none;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
}
body.rd .bm-close:hover { border-color: var(--text); }

/* ------------------------------------------------- Datepicker (datedropper) */

body.rd {
  --dd-overlay: rgba(5, 5, 6, .78);
  --dd-background: #141418;
  --dd-text1: #f4f4f5;
  --dd-text2: #0a0a0b;
  --dd-primary: #badb00;
  --dd-gradient: linear-gradient(45deg, #badb00 0%, #d2f520 100%);
  --dd-radius: 14px;
  --dd-shadow: 0 40px 100px -30px rgba(0, 0, 0, .95);
  --dd-range: rgba(186, 219, 0, .16);
  --dd-monthBackground: #1a1a1f;
  --dd-monthText: #f4f4f5;
  --dd-monthBorder: rgba(255, 255, 255, .09);
  --dd-confirmButtonBackground: var(--dd-gradient);
  --dd-confirmButtonText: #0a0a0b;
  --dd-selectedBackground: var(--dd-gradient);
  --dd-selectedText: #0a0a0b;
  --dd-borderColor: rgba(255, 255, 255, .09);
}
body.rd .dd__dropdown { z-index: 1000 !important; font-family: "Inter", sans-serif; border: 1px solid var(--line-2); }
/* Im Modal ist die Seite gesperrt – Kalender daher mittig im Fenster statt unter dem Feld */
html.bm-open body.rd .dd__dropdown {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  max-height: calc(100vh - 24px);
  overflow: auto;
}

/* ------------------------------------------------- Uhrzeit (jQuery Timepicker) */

body.rd .ui-timepicker-container { z-index: 1000 !important; }
body.rd .ui-timepicker-standard {
  padding: 6px 0;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: var(--r-btn);
  box-shadow: var(--shadow);
  font-family: "Inter", sans-serif;
}
body.rd .ui-timepicker-standard a {
  padding: 6px 14px;
  border: 0 !important;
  color: var(--muted);
}
body.rd .ui-timepicker-standard .ui-state-hover,
body.rd .ui-timepicker-standard a:hover {
  background: var(--lime) !important;
  color: var(--on-lime) !important;
}
body.rd .ui-timepicker-viewport { scrollbar-color: var(--line-2) transparent; }

/* -------------------------------------------- Cookie-Hinweis (cookieconsent2) */

body.rd .cc-window.cc-floating {
  max-width: 380px;
  padding: 20px 22px;
  background: var(--card) !important;
  color: var(--muted) !important;
  border: 1px solid var(--line-2);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  font: 400 .85rem/1.55 "Inter", sans-serif;
}
body.rd .cc-window .cc-link { color: var(--lime) !important; opacity: 1; }
body.rd .cc-window .cc-btn {
  border: 0 !important;
  border-radius: var(--r-btn);
  background: var(--lime) !important;
  color: var(--on-lime) !important;
  font: 600 .78rem/1 "Inter", sans-serif;
  letter-spacing: .09em;
  padding: 13px 18px;
}
body.rd .cc-window .cc-btn:hover { background: var(--lime-2) !important; }

/* ------------------------------------------------------------- Responsiv */

@media (max-width: 1080px) {
  body.rd .fleet-grid,
  body.rd .steps,
  body.rd .occasions { grid-template-columns: repeat(2, 1fr); }
  body.rd .footer-grid,
  body.rd .contact-grid { grid-template-columns: repeat(2, 1fr); }
  body.rd #rental-data { flex-wrap: wrap; }
  body.rd #col-station { flex: 1 1 100%; }
  body.rd .col-date { flex: 1 1 calc(50% - 9px); }
  body.rd #col-send { flex: 1 1 100%; }
  body.rd #btn-first { width: 100%; }
}

@media (max-width: 900px) {
  body.rd .nav,
  body.rd .topbar .hide-sm,
  body.rd .site-header .wrap > .btn { display: none; }
  body.rd .burger { display: flex; }
  body.rd .detail-grid,
  body.rd .intro-grid { grid-template-columns: 1fr; }
  body.rd .detail-side { position: static; }
  body.rd .trust-grid { grid-template-columns: repeat(2, 1fr); }
  body.rd .tiers { grid-template-columns: 1fr; }
  body.rd .spec-table,
  body.rd .conditions { grid-template-columns: repeat(2, 1fr); }
  body.rd .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  body.rd { --gutter: 16px; padding-bottom: 76px; }
  body.rd .sticky-cta { display: flex; }
  body.rd .booking-modal { align-items: flex-end; padding: 0; }
  body.rd .bm-panel { max-width: none; max-height: 92vh; border-radius: var(--r-card) var(--r-card) 0 0; padding: 26px 18px calc(22px + env(safe-area-inset-bottom)); }
  body.rd .cc-window.cc-floating { left: 12px; right: 12px; bottom: 84px; max-width: none; }
  body.rd .fleet-grid,
  body.rd .steps,
  body.rd .occasions,
  body.rd .footer-grid,
  body.rd .contact-grid,
  body.rd .trust-grid { grid-template-columns: 1fr; }
  body.rd .facts { gap: 24px; }
  body.rd .intro-cta .btn { flex: 1; }
  body.rd .col-date { flex: 1 1 100%; }
  body.rd .topbar .wrap { justify-content: center; }
  body.rd .topbar-links { gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  body.rd * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
