/* ============================================================
   AUTO MIETEN TENERIFFA — Main Stylesheet
   Design: Ocean Blue & Amber — Teneriffa Theme
   ============================================================ */

/* 1. CSS Variables */
:root {
  --c-primary:       #08496D;
  --c-primary-dark:  #053a57;
  --c-primary-light: #1a6b94;
  --c-accent:        #FAD131;
  --c-accent-dark:   #e0b910;
  --c-text:          #0d1b2a;
  --c-text-muted:    #5a7188;
  --c-white:         #ffffff;
  --c-bg-light:      #f2f7fb;
  --c-bg-dark:       #0d1b2a;
  --c-border:        #dce8f2;
  --c-success:       #22c55e;
  --c-star:          #FAD131;

  --shadow-xs: 0 1px 4px rgba(8,73,109,0.06);
  --shadow-sm: 0 2px 10px rgba(8,73,109,0.09);
  --shadow:    0 4px 22px rgba(8,73,109,0.13);
  --shadow-lg: 0 8px 42px rgba(8,73,109,0.19);

  --r-sm:   8px;
  --r:      14px;
  --r-lg:   20px;
  --r-full: 9999px;

  --section-py:    80px;
  --container-w:   1200px;
  --container-px:  24px;
  --header-h:      70px;
  --t:             0.25s ease;
  --t-slow:        0.4s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* 3. Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; color: var(--c-text); }
h1 { font-size: clamp(1.9rem, 5vw,  2.9rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.05rem, 2.5vw, 1.35rem); }
h4 { font-size: 1.05rem; }
p  { line-height: 1.7; color: var(--c-text-muted); }

/* 4. Layout */
.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 var(--container-px);
  width: 100%;
}

section { padding: var(--section-py) 0; }

.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { font-size: 1.05rem; max-width: 640px; margin: 0 auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* 5. Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--c-white);
  z-index: 1000;
  box-shadow: 0 1px 0 var(--c-border);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-top: 15px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-primary);
  flex-shrink: 0;
}
.site-logo svg { width: 38px; height: 38px; flex-shrink: 0; }
.logo-highlight { color: var(--c-accent-dark); }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-text);
  padding: 4px 0;
  position: relative;
  transition: color var(--t);
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--c-primary);
  transform: scaleX(0);
  transition: transform var(--t);
  border-radius: 1px;
}
.site-nav a:hover { color: var(--c-primary); }
.site-nav a:hover::after { transform: scaleX(1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 26px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all var(--t);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--c-white);
  padding: 8px 24px 24px;
  box-shadow: var(--shadow);
  z-index: 999;
  flex-direction: column;
  border-top: 1px solid var(--c-border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  transition: color var(--t);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--c-primary); }

/* 6. Hero */
.hero {
  position: relative;
  background-image: url('../img/hero-teneriffa.webp');
  background-size: cover;
  background-position: center 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
  padding-bottom: 20px !important;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 16, 35, 0.62);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; padding-top: 48px; padding-bottom: 48px; }

.hero-content {
  color: var(--c-white);
  margin: 0 auto;
  text-align: center;
  margin-bottom: 32px;
}
.hero h1 {
  color: var(--c-white);
  margin-bottom: 20px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.hero h1 .accent { color: var(--c-accent); }

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  margin-bottom: 28px;
  margin-left: auto;
  margin-right: auto;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.28);
  color: var(--c-white);
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 500;
}
.hero-badge .check { color: var(--c-accent); font-weight: 700; }

/* Hero widget */
.hero-widget-wrap {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  padding: 20px 10px 8px;
  box-shadow: var(--shadow-lg);
  min-height: 450px;
}
.hero-widget-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
#dch {
  min-height: 360px; /* CLS prevention: reserves space while script loads */
  width: 100%;
}

/* 7. Steps Section */
.how-to-section { background: var(--c-bg-light); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: var(--c-border);
  z-index: 0;
}
.step-item { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: var(--shadow);
  transition: transform var(--t), background var(--t);
}
.step-item:hover .step-number { background: var(--c-accent-dark); transform: scale(1.07); }
.step-icon {
  font-size: 30px;
  color: var(--c-primary);
  margin-bottom: 12px;
}
.step-item h3 { font-size: 1rem; margin-bottom: 8px; }
.step-item p  { font-size: 0.88rem; }

/* 8. Benefits Section */
.benefits-section { background: var(--c-white); }
.benefits-intro { margin-bottom: 48px; }
.benefits-intro h2 { font-size: clamp(1.25rem, 2.8vw, 1.75rem); margin-bottom: 12px; }

.benefit-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-top: 4px solid var(--c-accent);
  border-radius: var(--r);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t), transform var(--t);
}
.benefit-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-sm);
  background: var(--c-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--c-primary);
  font-size: 28px;
}
.benefit-card h3 { margin-bottom: 12px; font-size: 1.1rem; }

/* 9. Why Rent */
.why-section { background: var(--c-bg-light); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.why-text h2 { margin-bottom: 20px; }
.why-text p  { margin-bottom: 16px; }

.why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--c-white);
  border-radius: var(--r);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.why-list-item { display: flex; align-items: flex-start; gap: 14px; }
.why-list-item .icon-wrap {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: var(--r-sm);
  background: rgba(8,73,109,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  font-size: 20px;
  margin-top: 2px;
}
.why-list-item strong {
  display: block;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 2px;
  font-size: 0.95rem;
}
.why-list-item p { font-size: 0.88rem; margin: 0; }

/* 10. Prices */
.prices-section { background: var(--c-white); }
.price-intro { margin-bottom: 36px; }
.price-intro p { margin-bottom: 10px; }

.price-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.price-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t), border-color var(--t), transform var(--t);
}
.price-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--c-primary-light);
  transform: translateY(-3px);
}
.price-card-icon { font-size: 40px; color: var(--c-primary); margin-bottom: 14px; }
.price-card h3 { font-size: 0.95rem; margin-bottom: 10px; color: var(--c-text); }
.price-from { font-size: 0.78rem; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.price-amount { font-size: 1.8rem; font-weight: 700; color: var(--c-primary); line-height: 1; margin: 4px 0; }
.price-suffix { font-size: 0.82rem; color: var(--c-text-muted); }

.price-tips {
  background: var(--c-bg-light);
  border-radius: var(--r);
  padding: 28px 32px;
  margin-bottom: 48px;
  border-left: 4px solid var(--c-primary);
}
.price-tips h3 { margin-bottom: 14px; font-size: 1.1rem; }
.price-tips ul { display: flex; flex-direction: column; gap: 10px; }
.price-tips ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--c-text-muted);
}
.price-tips ul li::before { content: '✓'; color: var(--c-success); font-weight: 700; flex-shrink: 0; }

.price-table-wrap h3 { margin-bottom: 20px; font-size: 1.15rem; }
.table-scroll {
  overflow-x: auto;
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 680px;
}
.price-table th {
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: 600;
  padding: 13px 16px;
  text-align: left;
  white-space: nowrap;
}
.price-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: var(--c-bg-light); }
.price-table tr:hover td { background: rgba(8,73,109,0.04); }

/* 11. Reviews */
.reviews-section { background: var(--c-bg-light); }
.reviews-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.agg-rating {
  background: var(--c-primary);
  color: var(--c-white);
  border-radius: var(--r-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.agg-score { font-size: 4rem; font-weight: 700; color: var(--c-white); line-height: 1; margin-bottom: 8px; }
.agg-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 8px; font-size: 1.5rem; color: var(--c-accent); }
.agg-count { font-size: 0.88rem; color: rgba(255,255,255,0.7); margin-bottom: 24px; }
.rating-bars { display: flex; flex-direction: column; gap: 8px; }
.rating-bar-row { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: rgba(255,255,255,0.85); }
.rating-bar-row span:first-child { width: 14px; text-align: right; flex-shrink: 0; }
.rating-bar-track { flex: 1; height: 6px; background: rgba(255,255,255,0.2); border-radius: 3px; overflow: hidden; }
.rating-bar-fill { height: 100%; background: var(--c-accent); border-radius: 3px; }
.rating-bar-row span:last-child { width: 32px; text-align: left; color: rgba(255,255,255,0.65); font-size: 0.75rem; }

.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review-card {
  background: var(--c-white);
  border-radius: var(--r);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--c-border);
  transition: box-shadow var(--t);
}
.review-card:hover { box-shadow: var(--shadow-sm); }
.review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-white);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.reviewer-avatar.av2 { background: #1a6b94; }
.reviewer-avatar.av3 { background: #22c55e; }
.reviewer-avatar.av4 { background: #e0b910; color: var(--c-text); }
.reviewer-avatar.av5 { background: #7c3aed; }
.reviewer-avatar.av6 { background: #dc2626; }

.reviewer-info strong { display: block; font-weight: 600; font-size: 0.95rem; color: var(--c-text); margin-bottom: 2px; }
.reviewer-meta { font-size: 0.82rem; color: var(--c-text-muted); }
.review-stars { display: flex; gap: 2px; margin-bottom: 10px; color: var(--c-star); font-size: 1rem; }
.review-text { font-size: 0.9rem; color: var(--c-text-muted); line-height: 1.65; }
.review-date { font-size: 0.78rem; color: var(--c-text-muted); margin-top: 10px; }

/* 12. Traffic Rules */
.traffic-section { background: var(--c-white); }
.traffic-main {
  background: var(--c-bg-light);
  border-radius: var(--r-lg);
  padding: 36px 40px;
  margin-bottom: 32px;
  border-left: 5px solid var(--c-primary);
}
.traffic-main h2 { margin-bottom: 10px; }
.traffic-main > p { margin-bottom: 20px; color: var(--c-text-muted); }
.traffic-rules-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.traffic-rules-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.93rem;
  color: var(--c-text-muted);
  padding: 4px 0;
}
.traffic-rules-list li::before { content: '→'; color: var(--c-primary); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

.traffic-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.traffic-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t), transform var(--t);
}
.traffic-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.traffic-card-icon { font-size: 34px; color: var(--c-primary); margin-bottom: 14px; display: block; }
.traffic-card h3 { margin-bottom: 10px; font-size: 1.05rem; }

/* 13. Top Cars */
.cars-section { background: var(--c-bg-light); }
.car-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.car-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t), transform var(--t);
}
.car-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.car-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.car-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px 24px;
  transition: transform var(--t-slow);
}
.car-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.car-price-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--c-accent);
  color: var(--c-text);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--r-full);
}
.car-body { padding: 22px 24px 24px; }
.car-name { font-size: 1.2rem; font-weight: 700; color: var(--c-text); margin-bottom: 3px; }
.car-type { font-size: 0.83rem; color: var(--c-text-muted); margin-bottom: 18px; }
.car-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 22px; }
.car-spec { display: flex; align-items: center; gap: 7px; font-size: 0.86rem; color: var(--c-text-muted); }
.car-spec .material-icons-outlined { font-size: 18px; color: var(--c-primary); flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: none;
  transition: all var(--t);
  text-decoration: none;
  line-height: 1.3;
  font-family: inherit;
}
.btn-primary { background: var(--c-primary); color: var(--c-white); }
.btn-primary:hover { background: var(--c-primary-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(8,73,109,0.35); }
.btn-accent { background: var(--c-accent); color: var(--c-text); }
.btn-accent:hover { background: var(--c-accent-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(250,209,49,0.45); }
.btn-full { width: 100%; }
.btn-outline { background: transparent; border: 2px solid var(--c-primary); color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: var(--c-white); }

/* 14. FAQ */
.faq-section { background: var(--c-white); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--c-white);
  transition: box-shadow var(--t);
}
.faq-item.open { box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--c-text);
  transition: background var(--t), color var(--t);
}
.faq-question:hover { background: var(--c-bg-light); }
.faq-item.open .faq-question { background: var(--c-bg-light); color: var(--c-primary); }
.faq-icon {
  width: 28px; height: 28px; min-width: 28px;
  border-radius: 50%;
  border: 2px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--c-primary);
  transition: all var(--t);
  line-height: 1;
}
.faq-item.open .faq-icon {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-white);
  transform: rotate(45deg);
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 600px; }
.faq-answer-inner {
  padding: 16px 22px 20px;
  color: var(--c-text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
  border-top: 1px solid var(--c-border);
}

/* 15. Footer */
.site-footer { background: var(--c-bg-dark); color: var(--c-white); padding: 52px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer-brand .site-logo { color: var(--c-white); margin-bottom: 12px; }
.footer-brand .site-logo img { filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.footer-col h4 { color: var(--c-white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; opacity: 0.65; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.65); transition: color var(--t); }
.footer-col ul li a:hover { color: var(--c-accent); }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: rgba(255,255,255,0.65); margin-bottom: 8px; }
.footer-contact-item .material-icons-outlined { font-size: 18px; color: var(--c-accent); }

.footer-seo {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 20px;
}
.footer-seo p { font-size: 0.8rem; color: rgba(255,255,255,0.38); line-height: 1.7; max-width: 900px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copyright { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: color var(--t); }
.footer-links a:hover { color: var(--c-accent); }

/* 16. Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,14,28,0.82);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--c-white);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 80px rgba(0,0,0,0.38);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--c-border);
  position: sticky;
  top: 0;
  background: var(--c-white);
  z-index: 1;
}
.modal-header h2 { font-size: 1.2rem; }
.modal-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--c-text-muted);
  transition: all var(--t);
  font-family: inherit;
}
.modal-close:hover { background: var(--c-bg-light); color: var(--c-text); }
.modal-body { padding: 28px; }
#modal-dch {
  min-height: 360px; /* CLS prevention */
}

/* 17. Inner Pages */
.page-hero {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-light) 100%);
  padding: calc(var(--header-h) + 52px) 0 60px;
  color: var(--c-white);
}
.page-hero h1 { color: var(--c-white); font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.05rem; max-width: 600px; }

.page-content { padding: 60px 0 80px; }
.page-content h2 { margin-bottom: 16px; color: var(--c-text); font-size: 1.6rem; }
.page-content h3 { margin: 28px 0 10px; color: var(--c-text); font-size: 1.15rem; }
.page-content p  { margin-bottom: 16px; }
.page-content ul { list-style: disc; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; color: var(--c-text-muted); margin-bottom: 16px; }

/* About Us page */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.about-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
  text-align: center;
}
.about-card-icon {
  font-size: 40px;
  color: var(--c-primary);
  margin-bottom: 14px;
}
.about-card h3 { margin-bottom: 8px; font-size: 1.05rem; }

.process-steps { display: flex; flex-direction: column; gap: 8px; counter-reset: steps; }
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r);
  padding: 20px 24px;
  box-shadow: var(--shadow-xs);
  counter-increment: steps;
}
.process-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px; min-width: 40px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.process-step-text h4 { margin-bottom: 4px; }
.process-step-text p  { font-size: 0.9rem; margin: 0; }

/* Contacts page */
.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 420px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-info-card {
  background: var(--c-bg-light);
  border-radius: var(--r);
  padding: 32px;
  border: 1px solid var(--c-border);
}
.contact-info-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-info-row:last-child { margin-bottom: 0; }
.contact-icon { font-size: 26px; color: var(--c-primary); }

/* Legal/Datenschutz */
.legal-content { max-width: 820px; }
.legal-content h2 { font-size: 1.4rem; margin: 40px 0 12px; color: var(--c-text); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal-content p  { margin-bottom: 14px; font-size: 0.95rem; }
.legal-content ul { list-style: disc; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--c-text-muted); font-size: 0.95rem; margin-bottom: 14px; }

/* 18. Utilities */
.text-center  { text-align: center; }
.text-primary { color: var(--c-primary); }
.text-accent  { color: var(--c-accent-dark); }
.text-muted   { color: var(--c-text-muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }




.links-grid h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
}

.links-grid .footer-links-grid {
  margin: 40px 0px 60px 0px;
}

.links-grid .footer-links-grid ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px 20px;
}

.links-grid .footer-links-grid ul li a {
  color: #FFFFFF;;
}

.links-grid .footer-links-grid ul li:hover a {
  color: var(--c-accent);
}

.why-rent-img {
  float: right;
  width: 400px;
  height: 400px;
  border-radius: 20px;
}

/* 19. Responsive */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .price-cards { grid-template-columns: repeat(2, 1fr); }
  .reviews-layout { grid-template-columns: 1fr; }
  .agg-rating { position: static; max-width: 400px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .why-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-py: 52px; --container-px: 16px; }
  .hamburger { display: flex; }
  .site-nav  { display: none; }
  .hero { background-attachment: scroll; }
  .grid-2, .grid-3, .steps-grid, .car-cards, .traffic-cols, .about-grid { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .traffic-rules-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-widget-wrap { padding: 20px 16px; }
  .traffic-main { padding: 24px 20px; }
  .why-list { padding: 24px 20px; }

  .why-rent-img {
    margin: 40px 0px;
    float: none;
  }

  .links-grid .footer-links-grid ul {
    display: block;
  }

  .step-icon {
    display: none;
  }
}

@media (max-width: 480px) {
  .price-cards { grid-template-columns: 1fr; }
  .hero-badges { gap: 8px; }
  .hero-badge { font-size: 0.82rem; padding: 7px 12px; }
  .agg-score  { font-size: 3.2rem; }
  .modal-body { padding: 20px 16px; }
  .modal-header { padding: 16px 18px; }
}

@media (min-width: 768px) {
  .step-icon {
    position: absolute;
    top: 20px;
    right: 0;
  }
}


