﻿/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #0b1b2b;
  margin-top: calc(-1 * var(--header-h));
  display: flex;
  align-items: center;
}

/* Bild-/Slider-Ebene */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ==========================================================================
   HERO VIDEO
   ========================================================================== */

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ==========================================================================
   HERO SLIDES
   JS-controlled slideshow
   ========================================================================== */

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 900ms ease, transform 2400ms ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.slide:nth-child(1) {
  background-image: url('/assets/img/hero1.jpg');
}

.slide:nth-child(2) {
  background-image: url('/assets/img/hero2.jpg');
}

.slide:nth-child(3) {
  background-image: url('/assets/img/hero3.jpg');
}

.slide:nth-child(4) {
  background-image: url('/assets/img/hero4.jpg');
}

.slide:nth-child(5) {
  background-image: url('/assets/img/hero5.jpg');
}

.slide:nth-child(6) {
  background-image: url('/assets/img/hero6.jpg');
}

.slide:nth-child(7) {
  background-image: url('/assets/img/hero7.jpg');
}

.slide:nth-child(8) {
  background-image: url('/assets/img/hero8.jpg');
}

.slide:nth-child(9) {
  background-image: url('/assets/img/hero9.jpg');
}

.slide:nth-child(10) {
  background-image: url('/assets/img/hero10.jpg');
}

.slide:nth-child(11) {
  background-image: url('/assets/img/hero11.jpg');
}

.slide:nth-child(12) {
  background-image: url('/assets/img/hero12.jpg');
}

.slide:nth-child(13) {
  background-image: url('/assets/img/hero13.jpg');
}

/* Abdunklung Desktop: links stärker, rechts offener fürs Motiv */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(11,27,43,0.94) 0%,
      rgba(11,27,43,0.82) 30%,
      rgba(11,27,43,0.46) 58%,
      rgba(11,27,43,0.14) 100%
    );
}

/* Inhaltsebene */
.hero .container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: none;
  padding-left: clamp(96px, 15vw, 280px);
  padding-right: clamp(32px, 6vw, 96px);
}

/* Textspalte Desktop */
.hero-content {
  width: min(46vw, 560px);
  padding-top: var(--header-h);
}

.hero-teaser-box {
  width: 100%;
  max-width: 560px;
  padding: 24px 0;
  color: #fff;
  text-align: left;
}

/* Datum */
.hero .subtitle {
  display: block;
  margin-bottom: 12px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

/* Headline */
.hero h1 {
  margin: 0 0 28px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 7.1vw, 6.6rem);
  line-height: 0.86;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 3px 18px rgba(0,0,0,0.28);
}

.hero h1 .text-accent {
  color: var(--accent);
}

/* Fließtext im Hero */
.hero .lead {
  max-width: 430px;
  margin: 0 0 34px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  text-shadow: 0 2px 5px rgba(0,0,0,0.28);
}

/* Hero-Button */
.hero-actions .btn-primary {
  background-color: var(--accent);
  color: #0b1b2b;
  border: none;
  padding: 14px 28px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 0.05em;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.hero-actions .btn-primary:hover {
  background-color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO – TABLET
   ========================================================================== */

@media (max-width: 1180px) {
  .hero .container {
    padding-left: clamp(64px, 10vw, 150px);
    padding-right: clamp(28px, 5vw, 64px);
  }

  .hero-content {
    width: min(52vw, 540px);
  }

  .hero h1 {
    font-size: clamp(3.8rem, 8vw, 5.9rem);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 760px;
  }

  .hero .container {
    padding-left: clamp(48px, 7vw, 90px);
    padding-right: clamp(24px, 4vw, 42px);
  }

  .hero-content {
    width: min(58vw, 520px);
    padding-top: var(--header-h);
  }

  .hero h1 {
    font-size: clamp(3.6rem, 8.8vw, 5.5rem);
  }
}

/* ==========================================================================
   HERO – SMARTPHONE
   ========================================================================== */

@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
    align-items: flex-end;
  }

  .slide {
    background-position: 58% center;
  }

  /* Mobile stärker abdunkeln, damit große Headline lesbar bleibt */
  .hero::after {
    background:
      linear-gradient(
        180deg,
        rgba(11,27,43,0.30) 0%,
        rgba(11,27,43,0.52) 34%,
        rgba(11,27,43,0.96) 100%
      ),
      linear-gradient(
        90deg,
        rgba(11,27,43,0.72) 0%,
        rgba(11,27,43,0.48) 46%,
        rgba(11,27,43,0.18) 100%
      );
  }

  .hero .container {
    padding-left: clamp(28px, 7vw, 38px);
    padding-right: clamp(18px, 5vw, 28px);
  }

  .hero-content {
    width: 100%;
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 48px;
  }

  .hero-teaser-box {
    max-width: none;
    padding: 0;
  }

  .hero .subtitle {
    margin-bottom: 10px;
    font-size: clamp(0.84rem, 3.6vw, 1rem);
    letter-spacing: 0.14em;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(4.35rem, 19vw, 6.45rem);
    line-height: 0.82;
    letter-spacing: 0.018em;
  }

  .hero .lead {
    max-width: 100%;
    margin-bottom: 28px;
    font-size: clamp(1.05rem, 4.2vw, 1.22rem);
    line-height: 1.48;
  }

  .hero-actions .btn-primary {
    width: 100%;
    padding: 17px 22px;
    font-size: 1.48rem;
  }
}

/* Sehr schmale Smartphones */
@media (max-width: 420px) {
  .hero .container {
    padding-left: 24px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: clamp(4rem, 18.5vw, 5.4rem);
    line-height: 0.82;
  }

  .hero .lead {
    font-size: 1.03rem;
  }
}

/* Extrem schmale Geräte */
@media (max-width: 360px) {
  .hero .container {
    padding-left: 22px;
    padding-right: 14px;
  }

  .hero h1 {
    font-size: clamp(3.65rem, 18vw, 4.85rem);
  }
}

/* ==========================================================================
   WALDRAND-VORHANG (öffnet sich beim Scrollen)
   ========================================================================== */

.forest-curtain {
  position: fixed;
  bottom: 0;
  top: 0;
  width: clamp(120px, 18vw, 280px);
  height: 100vh;
  z-index: 4;
  pointer-events: none;
  will-change: transform;
  overflow: hidden;
  display: flex;
  align-items: flex-end;   /* SVG am unteren Rand verankern */
}

.forest-curtain--left  { left: 0; }
.forest-curtain--right { right: 0; }

.forest-curtain img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;          /* streckt verzerrend, ignoriert preserveAspectRatio */
  max-width: none;
  flex-shrink: 0;
}

/* Auf Smartphones ausblenden */
@media (max-width: 768px) {
  .forest-curtain { display: none; }
}

/* Route-Layout: alles untereinander (volle Breite) */
.route-wrap{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Sicherheit: Map-Card nimmt volle Breite */
.map-card{
  width: 100%;
  overflow: hidden;
}
.map-inner{
  padding: 18px;
}
.map-legend{
  display:grid;
  gap: 10px;
  margin-top: 12px;
}
.legend-item{
  display:flex;
  align-items:center;
  gap: 10px;
  color: var(--muted);
  font-size: .95rem;
}
.dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18);
}

/* Pricing */
.pricing{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.price{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.price .big{
  font-size: 1.8rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  margin: 10px 0 6px;
}

.price--expired {
  opacity: 0.5;
}

.price--expired .big {
  text-decoration: line-through;
  color: var(--muted);
}

.price--active {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12);
}

a.price {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.price:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.2);
}

.price-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(11,27,43,0.10);
  color: var(--muted);
  vertical-align: middle;
  margin-left: 6px;
}

.price-badge--active {
  background: var(--accent);
  color: #0b1b2b;
}

/* Downloads Grid */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
}

.download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.download-card:hover {
  transform: translateY(-5px);
}

/* Angedeutetes Icon in der Ecke */
.download-card::after {
  content: "\f222"; /* Remixicon: file-pdf-line */
  font-family: "remixicon";
  position: absolute;
  bottom: -10px;
  right: -5px;
  font-size: 80px;
  color: var(--primary);
  opacity: 0.04;
  pointer-events: none;
}

.download-content h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.download-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 600;
}

.download-footer {
  margin-top: auto; /* Schiebt Button und Meta nach unten */
}

.download-footer .btn {
  width: 100%;
}

/* Medien & Presse */
.media-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.media-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.media-card::after {
  content: "\ecc4";
  font-family: "remixicon";
}

/* Badges-Karte: kein Pseudo-Icon */
.media-card--badges::after {
  display: none;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.badge-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 10px;
  background: var(--bg);
  padding: 8px;
}

.badge-dl {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  padding: 8px 10px;
}

.btn--muted {
  background: var(--muted) !important;
  color: #fff !important;
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
}

@media (max-width: 980px) {
  .media-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .media-grid--3 { grid-template-columns: 1fr; }
}

/* Responsive Anpassung */
@media (max-width: 980px) {
  .downloads-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .downloads-grid {
    grid-template-columns: 1fr;
  }
  .download-card {
    min-height: auto;
  }
}


/* FAQ */
.faq{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
details{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
}
summary{
  cursor: pointer;
  font-weight: 800;
}
details p{ margin-top: 10px; color: var(--muted); }

/* Responsive */
@media (max-width: 980px){
  .facts{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .route-wrap{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }
}

/* Sections visuell stärker trennen */
.section{
  position: relative;
}
.section:nth-of-type(even){
  background: rgba(255,255,255,.28);
  border-top: 1px solid rgba(11,27,43,.06);
  border-bottom: 1px solid rgba(11,27,43,.06);
}

/* kleine Section-Headline-Details */
/* .section-lead{
  margin-top: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  max-width: 72ch;
} */

.section-lead{
  margin-top: 10px;
  margin-bottom: 28px;

  font-size: 1.18rem;
  line-height: 1.6;

  font-weight: 500;
  letter-spacing: .025em;

  color: rgba(11,27,43,.80);
  max-width: 60ch;
}

/* Anchor offset (damit Sticky Header nicht drüber liegt) */
:target{
  scroll-margin-top: 110px;
}

/* Interaktive Route Map */
.route-map{
  width: 100%;
  max-width: 100%;
  height: clamp(320px, 44vh, 520px);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(11,27,43,.10);
  box-shadow: 0 14px 40px rgba(11,27,43,.10);
}

/* Leaflet UI etwas „cleaner" */
.leaflet-control-zoom a{
  border-radius: 10px;
  overflow: hidden;
}
.leaflet-container{
  font: inherit;
}

/* ==========================================================================
   FINALE ROUTE & TABLE LOGIK
   ========================================================================== */

/* Desktop & Basis */
.route-layout {
  display: grid;
  gap: 24px;
  margin-top: 20px;
}

.route-table-wrap {
  border-radius: 18px;
  border: 1px solid rgba(11,27,43,.10);
  background: #fff;
  overflow: hidden;
}

.route-table {
  width: 100%;
  border-collapse: collapse;
}

.route-table thead th {
  background: #0b1b2b;
  color: #fff;
  padding: 14px;
  text-align: left;
}

.route-table td {
  padding: 14px;
  border-top: 1px solid rgba(11,27,43,.08);
}

.route-map-image {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  display: block;
}

/* MOBILE OPTIMIERUNG (Kompletter Reset für Handys) */
@media (max-width: 640px) {
  
  /* Container-Ränder nur im Route-Bereich reduzieren */
  #route .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Überschrift am Handy mittig */
  .mobile-center { text-align: center; }

  /* Tabelle komplett auflösen in Karten */
  .route-table, .route-table thead, .route-table tbody, .route-table tr, .route-table td {
    display: block !important;
    width: 100% !important;
  }

  .route-table thead { display: none !important; }

  .route-table-wrap {
    background: transparent !important;
    border: none !important;
  }

  /* Jede Zeile wird zu einer schicken Karte */
  .route-table tbody tr {
    background: #ffffff !important;
    border: 1px solid rgba(11,27,43,0.1) !important;
    border-radius: 14px !important;
    margin-bottom: 12px !important;
    padding: 10px 0 !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04) !important;
  }

  /* Jede Zelle in der Karte untereinander */
  .route-table tbody td {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding: 6px 12px !important;
    border: none !important;
  }

  /* Die Labels (STATION, REGION etc.) */
  .route-table tbody td::before {
    content: attr(data-label);
    flex: 0 0 85px; /* Fester Platz für das Label */
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(11,27,43,0.4);
    text-transform: uppercase;
    margin-top: 4px;
  }

  .td-value {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
  }

  /* Das Ziel hervorheben */
  .route-table tbody tr.is-finish {
    border: 2px solid var(--accent) !important;
    background: rgba(var(--accent-rgb), 0.05) !important;
  }
}

/* Gallery teaser */
.section--gallery .section-head{ margin-bottom: 14px; }
.section--gallery .section-sub{ opacity: .85; margin: 0; }

.gallery-teaser{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-teaser-item{
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  aspect-ratio: 4 / 3;
  text-decoration: none;
}

.gallery-teaser-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-teaser-item.is-placeholder{
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,200,0,.08));
}

.gallery-teaser-item.is-placeholder span{
  font-weight: 850;
  letter-spacing: .02em;
  opacity: .9;
}

.gallery-teaser-actions{
  margin-top: 14px;
  display: flex;
}

@media (max-width: 980px){
  .gallery-teaser{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

#gebuehren {
  scroll-margin-top: calc(var(--header-h) + 16px);
  min-height: 40vh;
}


/* =========================
   KEY FACTS (nach Hero)
========================= */
/* .section--keyfacts{
  background: linear-gradient(180deg, rgba(11,27,43,0.06), rgba(11,27,43,0.02));
  border-bottom: 1px solid rgba(11,27,43,0.08);
}
 */

.section.section--keyfacts{
  background: #e6edf4 !important;
  border-top: 1px solid rgba(11,27,43,.12);
  border-bottom: 1px solid rgba(11,27,43,.08);
}

.section-head--center{
  text-align: center;
}
.section-head--center .section-sub{
  margin-left: auto;
  margin-right: auto;
  max-width: 70ch;
}

.keyfacts-grid{
  display: grid;
  gap: 16px;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: stretch;
  margin-top: 18px;
}

@media (max-width: 980px){
  .keyfacts-grid{ grid-template-columns: 1fr; }
}

.keyfacts-card{
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(11,27,43,0.10);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(11,27,43,0.08);
}

.keyfacts-card--countdown{
  background: rgba(255,255,255,0.86);
}

.keyfacts-card--ss{
  background: rgba(255,255,255,0.82);
}

.keyfacts-top{
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
}

/* 1. Das Grid weiten, damit die Icons Platz haben (z.B. auf 48px) */
.keyfacts-kpi, 
.keyfacts-top {
  display: grid;
  grid-template-columns: 48px 1fr !important; /* Spalte für das Icon vergrößert */
  gap: 16px !important;
  align-items: center;
  padding: 12px 0;
}

/* 2. Den Rahmen und die Rundungen komplett entfernen */
.keyfacts-icon {
  width: 48px !important;   /* Maximale Breite */
  height: 48px !important;  /* Maximale Höhe */
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* 3. Das Icon-Bild selbst auf volle Größe bringen */
.keyfacts-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  
  /* WICHTIG: Falls die Icons "weiß auf weiß" sind und man sie nicht sieht, 
     aktiviere diesen Filter, um sie dunkelblau (wie deine Brand) zu machen: */
  /* filter: brightness(0) saturate(100%) invert(8%) sepia(21%) saturate(5441%) hue-rotate(193deg) brightness(96%) contrast(97%); */
}

/* Trennlinien zwischen den Fakten dezent halten */
.keyfacts-kpi + .keyfacts-kpi {
  border-top: 1px solid rgba(11,27,43,0.05) !important;
}

.keyfacts-label{
  font-size: 0.85rem;
  color: rgba(11,27,43,0.72);
}

.keyfacts-value{
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.keyfacts-sub{
  margin-top: 4px;
  color: rgba(11,27,43,0.72);
  font-size: 0.95rem;
  line-height: 1.35;
}

.countdown{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.countdown-item{
  border-radius: 14px;
  background: rgba(11,27,43,0.05);
  border: 1px solid rgba(11,27,43,0.08);
  padding: 10px 10px 8px;
  text-align: center;
}

.countdown-num{
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}

.countdown-label{
  display: block;
  margin-top: 4px;
  font-size: 0.8rem;
  color: rgba(11,27,43,0.70);
}

.keyfacts-note{
  margin-top: 10px;
  font-size: 0.82rem;
  color: rgba(11,27,43,0.60);
}

.keyfacts-kpi{
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
}

.keyfacts-kpi + .keyfacts-kpi{
  border-top: 1px solid rgba(11,27,43,0.08);
}

.kpi-value{
  font-weight: 800;
  font-size: 1.1rem;
}

.kpi-label{
  color: rgba(11,27,43,0.68);
  font-size: 0.9rem;
}

.keyfacts-bullets{
  margin: 14px 0 0;
  padding-left: 18px;
  color: rgba(11,27,43,0.78);
}
.keyfacts-bullets li{
  margin: 6px 0;
}



/* =========================
   RULES – CLEAN ROUND IMAGE LAYOUT
========================= */

.rules{
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.rule{
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  align-items: center;

  padding: 22px 24px;

  background: rgba(255,255,255,.86);
  border: 1px solid rgba(11,27,43,.10);
  border-radius: 26px;
  box-shadow: 0 18px 48px rgba(11,27,43,.10);
  overflow: hidden;

  transition: transform .18s ease, box-shadow .18s ease;
}

.rule:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(11,27,43,.12);
}

/* BIG ROUND IMAGE */
.rule-icon{
  width: 120px;
  height: 120px;
  border-radius: 999px;

  background-color: rgba(11,27,43,.06);
  border: 0px solid rgba(11,27,43,.10);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Placeholder aus (weil jetzt Bilder) */
.rule-icon::after{ content: ""; }

/* Text */
.rule-body h3{ margin: 0 0 6px; }

.rule-tagline{
  margin: 0 0 12px;
  font-size: 1.12rem;
  line-height: 1.55;
  font-weight: 520;
  letter-spacing: .02em;
  color: rgba(11,27,43,.78);
}

.rule-list{
  margin: 0;
  padding-left: 18px;
  color: rgba(11,27,43,.86);
}
.rule-list li{ margin: 7px 0; }

.rule-foot{
  margin-top: 12px;
  font-size: .95rem;
  color: rgba(11,27,43,.62);
}

/* Images */
#rule-selfsupported .rule-icon{ background-image: url("/assets/img/rules/selfsupported.png"); }
#rule-routewahl    .rule-icon{ background-image: url("/assets/img/rules/routewahl.png"); }
#rule-sicherheit   .rule-icon{ background-image: url("/assets/img/rules/sicherheit.png"); }
#rule-umwelt       .rule-icon{ background-image: url("/assets/img/rules/umwelt.png"); }
#rule-depots       .rule-icon{ background-image: url("/assets/img/rules/depots.png"); }
#rule-kategorien   .rule-icon{ background-image: url("/assets/img/rules/kategorien.png"); }
#rule-strecke      .rule-icon{ background-image: url("/assets/img/rules/strecke.png"); }
#rule-haftung      .rule-icon{ background-image: url("/assets/img/rules/haftung.png"); }

/* Responsive */
@media (max-width: 980px){
  .rule{
    grid-template-columns: 112px 1fr;
    gap: 18px;
    padding: 18px;
    border-radius: 24px;
  }
  .rule-icon{ width: 104px; height: 104px; }
}

@media (max-width: 640px){
  .rule{
    grid-template-columns: 96px 1fr;
    gap: 14px;
    align-items: start;
  }
  .rule-icon{ width: 88px; height: 88px; }
}

@media (max-width: 520px){
  .rule{ grid-template-columns: 1fr; }
  .rule-icon{ justify-self: start; }
}


/* Konzept – Cards: dunkelblau, Bild randlos oben */
.concept-card {
  position: relative;
  overflow: hidden;
  background: var(--primary);
  border: none;
  padding: 0;
  color: #fff;
}

.concept-card h3 {
  color: #fff;
  margin-bottom: 10px;
}

.concept-card p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.concept-media {
  width: 100%;
  height: 260px;
  border-radius: 0;
  margin: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255, 255, 255, 0.06);
}

.concept-body {
  padding: 24px;
}

.concept-card--self .concept-media {
  background-image: url("/assets/img/selfsupported.png");
}

.concept-card--route .concept-media {
  background-image: url("/assets/img/routenwahl.png");
}

.concept-card--cp .concept-media {
  background-image: url("/assets/img/checkpoints.png");
}

.cd-hidden{ display:none; }

/* ==========================================================================
   PARALLAX TRENNER
   ========================================================================== */

.section--parallax {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center 50%;
  background-repeat: no-repeat;
}

.section--parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.parallax-quote {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3.8rem);
  letter-spacing: 0.06em;
  line-height: 1.15;
  padding: 0 24px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
  margin: 0;
}

/* Bilder */
.parallax--img1 { background-image: url("/assets/img/hero1.jpg"); }
.parallax--img2 { background-image: url("/assets/img/hero5.jpg"); }
.parallax--img3 { background-image: url("/assets/img/hero10.jpg"); }
.parallax--img4 { background-image: url("/assets/img/hero11.jpg"); }

/* Partner-Section auf Parallax-Bild */
.section--partners.parallax--img4 {
  background-size: cover;
  background-position: center 50%;
}

.section--partners.parallax--img4::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 35, 0.72);
}

.section--partners.parallax--img4 .container {
  position: relative;
  z-index: 1;
}

.section--partners.parallax--img4 h2,
.section--partners.parallax--img4 .section-lead {
  color: #fff;
}

.section--partners.parallax--img4 .partner-link img {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

@media (max-width: 900px) {
  .section--parallax,
  .section--partners.parallax--img4 {
    min-height: 38vh;
    background-size: 140%;
    background-position: center center;
  }
}

.route-map-image {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(11,27,43,.10);
  border: 1px solid rgba(11,27,43,.10);
}