/* ============================================
   SONNEN-MOBILE — Premium Wohnmobil Vermietung
   Modern Redesign — Mobile First
   ============================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --clr-bg: #FAFAF8;
  --clr-white: #FFFFFF;
  --clr-black: #1A1A1A;
  --clr-text: #3A3A3A;
  --clr-text-light: #6B6B6B;
  --clr-border: #E8E6E1;
  --clr-surface: #F3F1ED;
  --clr-accent: #E8773A;
  --clr-accent-hover: #D4682E;
  --clr-accent-light: rgba(232, 119, 58, 0.08);
  --clr-accent-glow: rgba(232, 119, 58, 0.15);
  --clr-warm: #FFF8F3;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.04);

  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--clr-black);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 500; }

p { max-width: 70ch; }

.label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

/* Hairline between two consecutive plain sections */
.section + .section {
  border-top: 1px solid var(--clr-border);
}

/* Colored sections get borders on both sides so they clearly lift out */
.section--warm {
  background: var(--clr-warm);
  border-top: 1px solid #EDE8E1;
  border-bottom: 1px solid #EDE8E1;
}

.section--surface {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.section--dark {
  background: var(--clr-black);
  color: var(--clr-bg);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--clr-white);
}

.section--dark .label {
  color: var(--clr-accent);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header .label {
  margin-bottom: var(--space-sm);
  display: block;
}

.section-header p {
  margin: var(--space-md) auto 0;
  color: var(--clr-text-light);
  font-size: 1.05rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--clr-accent);
  color: var(--clr-white);
  box-shadow: 0 4px 16px rgba(232, 119, 58, 0.3);
}

.btn--primary:hover {
  background: var(--clr-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 119, 58, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--clr-black);
  border: 1.5px solid var(--clr-border);
}

.btn--outline:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  background: var(--clr-accent-light);
}

.btn--white {
  background: var(--clr-white);
  color: var(--clr-black);
}

.btn--white:hover {
  background: var(--clr-bg);
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 230, 225, 0.5);
  transition: var(--transition);
}

.nav.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clr-black);
  z-index: 1003;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: var(--clr-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.nav__links {
  display: none;
  list-style: none;
  gap: var(--space-xs);
}

.nav__links a {
  padding: 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--clr-text-light);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--clr-black);
  background: var(--clr-accent-light);
}

.nav__cta {
  display: none;
}

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1003;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-black);
  border-radius: 2px;
  transition: var(--transition);
}

.nav__burger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
  background: var(--clr-white);
}

.nav__burger.open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px) translateX(5px);
  background: var(--clr-white);
}

/* Mobile Menu Overlay */
.nav__mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(14, 10, 8, 0.97);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  padding: 88px var(--space-xl) var(--space-2xl);
  overflow-y: auto;
  /* slide in from top */
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 1002;
}

.nav__mobile.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

/* Hairline dividers between links */
.nav__mobile a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.9rem var(--space-lg);
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: color 0.2s ease, letter-spacing 0.2s ease;
  transform: translateY(16px);
  opacity: 0;
}

.nav__mobile a:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* CTA button override inside mobile menu */
.nav__mobile a.btn {
  margin-top: var(--space-xl);
  border: none;
  border-radius: var(--radius-full);
  background: var(--clr-accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  width: auto;
  padding: 0.85rem 2rem;
  letter-spacing: 0;
}

.nav__mobile a.btn:hover {
  background: var(--clr-accent-hover);
  letter-spacing: 0;
}

.nav__mobile.open a {
  transform: translateY(0);
  opacity: 1;
}

.nav__mobile.open a:nth-child(1) { transition: color 0.2s ease, letter-spacing 0.2s ease, opacity 0.4s ease 0.08s, transform 0.4s ease 0.08s; }
.nav__mobile.open a:nth-child(2) { transition: color 0.2s ease, letter-spacing 0.2s ease, opacity 0.4s ease 0.14s, transform 0.4s ease 0.14s; }
.nav__mobile.open a:nth-child(3) { transition: color 0.2s ease, letter-spacing 0.2s ease, opacity 0.4s ease 0.20s, transform 0.4s ease 0.20s; }
.nav__mobile.open a:nth-child(4) { transition: color 0.2s ease, letter-spacing 0.2s ease, opacity 0.4s ease 0.26s, transform 0.4s ease 0.26s; }
.nav__mobile.open a:nth-child(5) { transition: color 0.2s ease, letter-spacing 0.2s ease, opacity 0.4s ease 0.32s, transform 0.4s ease 0.32s; }
.nav__mobile.open a:nth-child(6) { transition: color 0.2s ease, letter-spacing 0.2s ease, opacity 0.4s ease 0.38s, transform 0.4s ease 0.38s; }
.nav__mobile.open a:nth-child(7) { transition: color 0.2s ease, letter-spacing 0.2s ease, opacity 0.4s ease 0.44s, transform 0.4s ease 0.44s; }

.nav__mobile a:hover {
  color: var(--clr-accent);
  letter-spacing: 0.02em;
}

/* Burger lines stay black when menu closed, white when open (logo still visible) */
.nav__burger.open {
  z-index: 1003;
}

/* Keep logo on top of overlay */
.nav__logo {
  z-index: 1003;
}

@media (min-width: 960px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #1A1A1A url('../images/hero-bg.jpg') center/cover no-repeat;
  overflow: hidden;
  padding-top: 72px;
}

/* Dark overlay at ~80% opacity with subtle blur over the photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(18, 13, 10, 0.80);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image: 
    radial-gradient(circle at 70% 30%, rgba(232, 119, 58, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(232, 119, 58, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero__grid-lines {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding: var(--space-2xl) 0;
}

.hero .label {
  color: var(--clr-accent);
  margin-bottom: var(--space-lg);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.hero .label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--clr-accent);
}

.hero h1 {
  color: var(--clr-white);
  font-size: clamp(2.25rem, 6vw, 4rem);
  max-width: 700px;
  margin-bottom: var(--space-lg);
}

.hero h1 em {
  font-style: italic;
  color: var(--clr-accent);
}

.hero__sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--clr-white);
}

.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* --- Card Components --- */
.card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card__image {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--clr-surface);
  overflow: hidden;
}

.card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-light);
  font-size: 0.85rem;
  gap: var(--space-xs);
  background: linear-gradient(135deg, var(--clr-surface) 0%, #E8E4DD 100%);
}

.card__image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 0.35rem 0.85rem;
  background: var(--clr-accent);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.card__body {
  padding: var(--space-lg);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clr-black);
  margin-bottom: var(--space-sm);
}

.card__desc {
  color: var(--clr-text-light);
  font-size: 0.9rem;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.card__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: var(--clr-surface);
  border-radius: var(--radius-md);
}

.card__spec {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.82rem;
  color: var(--clr-text);
}

.card__spec svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--clr-accent);
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid var(--clr-border);
}

/* --- Feature Blocks --- */
.feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
}

.feature__icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent-light);
  border-radius: var(--radius-md);
  color: var(--clr-accent);
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin-bottom: var(--space-xs);
}

.feature p {
  font-size: 0.9rem;
  color: var(--clr-text-light);
}

/* --- Trust Bar --- */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-text-light);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--clr-accent);
}

/* --- Price Table --- */
.price-table {
  width: 100%;
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  overflow: hidden;
}

.price-table__header {
  display: grid;
  grid-template-columns: 1fr repeat(3, 1fr);
  padding: var(--space-md) var(--space-lg);
  background: var(--clr-black);
  color: var(--clr-white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-table__row {
  display: grid;
  grid-template-columns: 1fr repeat(3, 1fr);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--clr-border);
  font-size: 0.9rem;
  align-items: center;
  transition: var(--transition);
}

.price-table__row:last-child {
  border-bottom: none;
}

.price-table__row:hover {
  background: var(--clr-accent-light);
}

.price-table__row span:first-child {
  font-weight: 500;
  color: var(--clr-black);
}

/* Responsive price table — mobile cards */
@media (max-width: 768px) {
  .price-table__header {
    display: none;
  }

  .price-table__row {
    display: block;
    padding: var(--space-lg);
    margin: var(--space-md);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background: var(--clr-white);
  }

  .price-table__row:last-child {
    border-bottom: 1px solid var(--clr-border);
  }

  /* Card title = first span (Mietdauer) */
  .price-table__row span:first-child {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-black);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--clr-border);
  }

  /* Price cells stacked with label */
  .price-table__row span[data-label] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.875rem;
    color: var(--clr-text);
    border-bottom: 1px solid rgba(232, 230, 225, 0.5);
  }

  .price-table__row span[data-label]:last-child {
    border-bottom: none;
  }

  .price-table__row span[data-label]::before {
    content: attr(data-label);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--clr-text-light);
  }
}

/* --- Conditions List --- */
.condition-block {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.condition-block h3 {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--clr-border);
}

.condition-block p,
.condition-block li {
  color: var(--clr-text-light);
  font-size: 0.9rem;
  line-height: 1.8;
}

.condition-block ul {
  list-style: none;
  padding: 0;
}

.condition-block li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.condition-block li:last-child {
  border-bottom: none;
}

.condition-block li::before {
  content: '';
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--clr-accent);
  border-radius: 50%;
  margin-top: 0.6rem;
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--clr-black);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--clr-text);
  background: var(--clr-white);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px var(--clr-accent-glow);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 var(--space-lg);
  }
}

/* --- Contact Info Card --- */
.contact-card {
  background: var(--clr-black);
  color: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.contact-card h3 {
  color: var(--clr-white);
  margin-bottom: var(--space-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--clr-accent);
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
  font-weight: 500;
}

.contact-item span {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.contact-item a {
  color: var(--clr-accent);
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--clr-white);
}

/* --- Page Header --- */
.page-header {
  padding: calc(72px + var(--space-3xl)) 0 var(--space-2xl);
  background: var(--clr-black);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(232, 119, 58, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header .label {
  margin-bottom: var(--space-sm);
  display: block;
}

.page-header h1 {
  color: var(--clr-white);
  margin-bottom: var(--space-md);
}

.page-header p {
  color: rgba(255,255,255,0.5);
  font-size: 1.05rem;
  max-width: 600px;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--clr-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-light);
  font-size: 0.85rem;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  background: linear-gradient(135deg, var(--clr-surface) 0%, #E2DED6 100%);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.gallery-item svg {
  width: 32px;
  height: 32px;
  opacity: 0.3;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--clr-accent) 0%, #D4682E 60%, #C05A22 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--clr-white);
  margin-bottom: var(--space-md);
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  margin: 0 auto var(--space-xl);
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* --- Map Placeholder --- */
.map-placeholder {
  width: 100%;
  height: 350px;
  border-radius: var(--radius-lg);
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-light);
  gap: var(--space-sm);
}

.map-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.35;
}

/* --- Footer --- */
.footer {
  background: var(--clr-black);
  color: rgba(255,255,255,0.6);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--clr-white);
  margin-bottom: var(--space-md);
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--clr-white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--clr-accent);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
}

.footer__bottom a {
  transition: var(--transition);
}

.footer__bottom a:hover {
  color: var(--clr-accent);
}

/* --- Highlight Number --- */
.highlight-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-accent);
  line-height: 1;
}

/* --- Info Box --- */
.info-box {
  background: var(--clr-accent-light);
  border: 1px solid rgba(232, 119, 58, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.info-box svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--clr-accent);
  margin-top: 2px;
}

.info-box p {
  font-size: 0.9rem;
  color: var(--clr-text);
}

/* --- Animations --- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Tweaks --- */
@media (min-width: 960px) {
  .container {
    padding: 0 var(--space-xl);
  }

  .section {
    padding: var(--space-4xl) 0;
  }

  .hero__content {
    padding: var(--space-3xl) 0;
  }

  /* Restore slight zoom on desktop where wide viewport suits it */
  .hero {
    background-size: 110%;
  }
}

/* Fahrzeuge: on mobile reorder so car image sits last, flush against divider */
@media (max-width: 639px) {
  .vehicle-image-col  { order: 2; }
  .vehicle-specs-col  { order: 1; }

  /* Remove section bottom padding so the slider is flush with the <hr> */
  .vehicle-section {
    padding-bottom: 0;
  }
}

/* --- Impressum/Legal Page --- */
.legal-content {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-border);
  padding: var(--space-xl);
}

.legal-content h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--clr-text-light);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

/* --- Season indicator --- */
.season-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.season-label--high {
  background: #FFF0E6;
  color: #C05A22;
}

.season-label--mid {
  background: #FFF8E6;
  color: #9A7B2C;
}

.season-label--low {
  background: #E8F5E9;
  color: #3A7D44;
}

/* --- Rabatt badge --- */
.rabatt-card {
  background: linear-gradient(135deg, var(--clr-accent-light), var(--clr-warm));
  border: 1px solid rgba(232, 119, 58, 0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.rabatt-card__percent {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-accent);
  line-height: 1;
  white-space: nowrap;
}

.rabatt-card h4 {
  font-family: var(--font-body);
  margin-bottom: 4px;
}

.rabatt-card p {
  font-size: 0.85rem;
  color: var(--clr-text-light);
}
