/* routen.css */
.routes-page{
  --routes-max: 1180px;
  --routes-text: 900px;
}

.routes-page .container{
  max-width: var(--routes-max);
  margin: 0 auto;
  padding: 0 24px;
}

.routes-page .content{
  max-width: var(--routes-text);
  margin: 0 auto;
}

.routes-page .content.center,
.routes-page .section-head.center{
  text-align: center;
}

.routes-page .section{
  padding: 84px 0;
}

@media (max-width: 768px){
  .routes-page .section{
    padding: 60px 0;
  }
}

/* ===== HERO: Premium Boutique-Layout ===== */

.routes-hero{
  position: relative;
  overflow: hidden;
  min-height: 86vh;
  max-height: 980px;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.routes-hero-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transform: scale(1);
  transform-origin: center;
  animation: routesHeroZoom 30s ease-in-out infinite alternate;
}

@keyframes routesHeroZoom{
  0%   { transform: scale(1); }
  100% { transform: scale(1.06); }
}

.routes-hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(115deg, rgba(4,10,22,.86) 0%, rgba(6,15,32,.68) 42%, rgba(6,15,32,.42) 68%, rgba(6,15,32,.30) 100%),
    linear-gradient(to top, rgba(4,10,22,.35), rgba(4,10,22,0) 30%);
}

.routes-hero-inner{
  position: relative;
  z-index: 3;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
  padding: 130px 24px;
}

.routes-hero-text{
  max-width: 620px;
}

.routes-hero-text > *,
.routes-hero-card{
  animation: routesHeroSettle .7s cubic-bezier(.16,1,.3,1) both;
}
.routes-hero-eyebrow{ animation-delay: .05s; }
.routes-hero-text h1{ animation-delay: .12s; }
.routes-hero-lead{ animation-delay: .20s; }
.routes-hero-actions{ animation-delay: .28s; }
.routes-hero-trust{ animation-delay: .36s; }
.routes-hero-card{ animation-delay: .44s; }

@keyframes routesHeroSettle{
  from{ transform: translateY(16px); }
  to{ transform: translateY(0); }
}

.routes-hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.routes-hero-text h1{
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin-bottom: 22px;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}

.routes-hero-lead{
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,.88);
  max-width: 560px;
  margin-bottom: 36px;
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.routes-hero-actions{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.routes-hero-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12.5px;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.routes-hero-btn.primary{
  background: linear-gradient(180deg, #ffffff, #eef1f7);
  color: var(--navy);
  border: 2px solid #ffffff;
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.routes-hero-btn.primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(0,0,0,.32);
}

.routes-hero-btn.secondary{
  background: rgba(255,255,255,.08);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.routes-hero-btn.secondary:hover{
  background: rgba(255,255,255,.16);
  border-color: #ffffff;
  transform: translateY(-3px);
}

.routes-hero-btn:active{ transform: translateY(0); }
.routes-hero-btn:focus-visible{
  outline: 2px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(255,255,255,.28);
}

.routes-hero-trust{
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 12.5px;
  color: rgba(255,255,255,.85);
  font-weight: 600;
}
.routes-hero-trust span{
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.routes-hero-trust svg{
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: rgba(255,255,255,.85);
}

/* Premium-Info-Card: Glassmorphism, hebt sich als Empfehlung optisch ab */
.routes-hero-card{
  position: relative;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 28px;
  padding: 38px 30px 34px;
  max-width: 380px;
  margin-left: auto;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
  overflow: hidden;
}
.routes-hero-card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(232,200,119,.95), rgba(232,200,119,.15));
}
.routes-hero-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 38px 94px rgba(0,0,0,.40), inset 0 1px 0 rgba(255,255,255,.3);
}

.routes-hero-card-label{
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e8c877;
  margin-bottom: 16px;
}

.routes-hero-card-title{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 18px;
}

.routes-hero-card-ico{
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
}
.routes-hero-card-ico svg{ width: 20px; height: 20px; }

.routes-hero-card-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.routes-hero-card-time,
.routes-hero-card-price{
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 12px;
  border-radius: 999px;
}

.routes-hero-card-price{
  color: #f4e6c4;
  border-color: rgba(232,200,119,.35);
  background: rgba(232,200,119,.10);
  font-weight: 800;
}

.routes-hero-card-text{
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255,255,255,.86);
  margin-bottom: 22px;
}

.routes-hero-card-tags{
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.routes-hero-card-tags li{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  padding: 6px 10px;
  border-radius: 999px;
}

.routes-hero-card-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 18px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11.5px;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0,0,0,.25);
  transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, background .25s ease;
}
.routes-hero-card-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0,0,0,.3);
  background: #f4f6fb;
}
.routes-hero-card-btn:focus-visible{
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 1024px){
  .routes-hero-inner{ gap: 44px; }
  .routes-hero-card{ max-width: 340px; }
}

@media (max-width: 900px){
  .routes-hero{ min-height: auto; max-height: none; }
  .routes-hero-inner{
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 110px 24px 64px;
  }
  .routes-hero-text{ max-width: none; }
  .routes-hero-card{ max-width: none; margin-left: 0; }
}

@media (max-width: 600px){
  .routes-hero-inner{ padding: 96px 20px 56px; }
  .routes-hero-text h1{ font-size: clamp(32px, 9vw, 44px); }
  .routes-hero-lead{ font-size: 16px; }
  .routes-hero-actions{ width: 100%; }
  .routes-hero-actions .routes-hero-btn{ flex: 1 1 auto; }
  .routes-hero-card{ padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce){
  .routes-hero-img{ animation: none; }
  .routes-hero-text > *,
  .routes-hero-card{ animation: none; }
}

.routes-page .eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 950;
  color: var(--navy);
  margin-bottom: 10px;
}

.routes-page .dot{
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--navy);
  box-shadow: 0 0 0 6px rgba(11,47,107,.10);
}

.routes-page .lead{
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.routes-page .cta-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.routes-page .center-cta{
  justify-content: center;
}

/* ROUTENKARTE: Premium Google-My-Maps-Bereich */
.routes-map-section{
  scroll-margin-top: 112px;
  background:
    radial-gradient(1100px 460px at 50% 0%, rgba(11,47,107,.06), transparent 62%),
    linear-gradient(180deg, rgba(248,250,255,1), rgba(255,255,255,1));
}

@media (max-width: 640px){
  .routes-map-section{ scroll-margin-top: 96px; }
}

.routes-map-wrap{
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

.routes-map-grid{
  display: grid;
  grid-template-columns: 2.25fr 1fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 48px;
}

.routes-map-frame{
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, #eef1f7, #e4e9f2);
  box-shadow: 0 34px 84px rgba(10,25,60,.14);
  border: 1px solid rgba(11,47,107,.08);
}

.routes-map-frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  opacity: 1;
  transition: opacity .35s ease;
}

.routes-map-frame.is-switching iframe{
  opacity: 0;
}

.routes-map-loading{
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(238,241,247,.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.routes-map-loading.is-active{
  opacity: 1;
  pointer-events: auto;
}

.routes-map-loading-spinner{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid rgba(11,47,107,.15);
  border-top-color: var(--navy);
  animation: routesMapSpin .8s linear infinite;
}

@keyframes routesMapSpin{
  to{ transform: rotate(360deg); }
}

.routes-map-loading-text{
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy);
}

.routes-map-card{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,.62);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(11,47,107,.12);
  border-radius: 28px;
  padding: 42px 32px;
  box-shadow: 0 28px 64px rgba(10,25,60,.09), inset 0 1px 0 rgba(255,255,255,.6);
  transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease;
}
.routes-map-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 34px 76px rgba(10,25,60,.12), inset 0 1px 0 rgba(255,255,255,.6);
}

.routes-map-card-icon{
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(11,47,107,.08);
  color: var(--navy);
  margin-bottom: 22px;
}
.routes-map-card-icon svg{ width: 24px; height: 24px; }

.routes-map-card h3{
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 14px;
  color: var(--text);
}

.routes-map-card p{
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 28px;
}

.routes-map-card-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  background: linear-gradient(180deg, #123a82, var(--navy));
  color: #ffffff;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(11,47,107,.20);
  transition: background .25s ease, color .25s ease, transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
}
.routes-map-card-btn:hover{
  background: #ffffff;
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(11,47,107,.18);
}
.routes-map-card-btn:focus-visible{
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.routes-map-legend{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  scroll-behavior: smooth;
}

.routes-map-legend li{
  display: flex;
}

.route-map-selector{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px 10px 14px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 10px 26px rgba(10,25,60,.05);
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s cubic-bezier(.16,1,.3,1), opacity .25s ease;
}

.route-map-selector:hover:not(:disabled){
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(10,25,60,.09);
}

.route-map-selector:focus-visible{
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.route-map-selector.active{
  background: rgba(11,47,107,.08);
  border-color: rgba(11,47,107,.45);
  color: var(--navy);
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(11,47,107,.14);
}

.route-map-selector.active .routes-map-legend-dot{
  box-shadow: 0 0 0 4px rgba(11,47,107,.18);
}

.route-map-selector:disabled,
.route-map-selector.is-disabled{
  cursor: not-allowed;
  opacity: .5;
}
.route-map-selector:disabled:hover,
.route-map-selector.is-disabled:hover{
  transform: none;
  box-shadow: 0 10px 26px rgba(10,25,60,.05);
}

.routes-map-legend-dot{
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--dot);
  box-shadow: 0 0 0 4px rgba(11,47,107,.07);
  flex: 0 0 auto;
}

/* Alle Routen: Gesamtübersicht, als Standardansicht optisch hervorgehoben */
.route-map-selector.is-all{
  border-color: rgba(11,47,107,.25);
}
.route-map-selector.is-all .routes-map-legend-pin{
  color: var(--navy);
}
.route-map-selector.is-all.active{
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(11,47,107,.24);
}
.route-map-selector.is-all.active .routes-map-legend-pin{
  color: #ffffff;
}

/* Anlegestellen: eigener Eintrag in derselben Navigation, dezent abgesetzt */
.route-map-selector.is-docks{
  border-style: dashed;
  color: var(--muted);
}
.route-map-selector.is-docks.active{
  color: var(--navy);
}

.routes-map-legend-pin{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--muted);
}
.routes-map-legend-pin svg{
  width: 100%;
  height: 100%;
}
.route-map-selector.is-docks.active .routes-map-legend-pin{
  color: var(--navy);
}

.routes-map-legend-time{
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  margin-left: 2px;
}
.routes-map-legend-time::before{
  content: "· ";
  color: var(--muted);
}

@media (max-width: 980px){
  /* Karte -> Routen-Buttons -> Beratungs-Card: .routes-map-grid wird layoutlos (display:contents),
     seine Kinder (Karte, Card) werden zu direkten Flex-Kindern von .routes-map-wrap und per
     order neu sortiert. Keine HTML-Änderung nötig. */
  .routes-map-wrap{
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .routes-map-grid{
    display: contents;
  }
  .routes-map-frame{
    order: 1;
    width: 100%;
    /* aspect-ratio bewusst nicht mehr verwendet: feste, garantierte Höhe statt
       widersprüchlicher aspect-ratio/height-Kombination */
    aspect-ratio: auto;
    height: 60vh;
    min-height: 380px;
    max-height: 560px;
    display: block;
  }
  .routes-map-legend{
    order: 2;
    margin-top: 0;
  }
  .routes-map-card{
    order: 3;
    padding: 34px 28px;
  }
}

@media (max-width: 640px){
  .routes-map-wrap{ padding: 0 20px; gap: 24px; }
  .routes-map-frame{
    border-radius: 24px;
    height: 55vh;
    min-height: 360px;
    max-height: 480px;
  }
  .routes-map-card{ border-radius: 24px; }
  .routes-map-legend{
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
}

@media (max-width: 400px){
  .routes-map-frame{
    height: 50vh;
    min-height: 320px;
    max-height: 420px;
  }
}

@media (prefers-reduced-motion: reduce){
  .routes-map-card{ transition: none; }
  .routes-map-card-btn{ transition: none; }
  .routes-map-legend{ scroll-behavior: auto; }
  .route-map-selector{ transition: none; }
  .routes-map-frame iframe{ transition: none; }
  .routes-map-loading{ transition: none; }
  .routes-map-loading-spinner{ animation: none; border-top-color: rgba(11,47,107,.4); }
}

/* INTRO: Premium-Fakten-Leiste */
.routes-intro{
  background:
    radial-gradient(900px 380px at 50% 0%, rgba(11,47,107,.05), transparent 60%);
}

.routes-intro-stats{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 52px auto 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 24px 60px rgba(10,25,60,.06);
  padding: 8px;
}

.routes-intro-stat{
  flex: 1 1 0;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 26px 20px;
  position: relative;
}

.routes-intro-stat + .routes-intro-stat::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 46px;
  width: 1px;
  background: var(--line);
}

.routes-intro-stat-icon{
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(11,47,107,.06);
  color: var(--navy);
  margin-bottom: 6px;
}
.routes-intro-stat-icon svg{ width: 22px; height: 22px; }

.routes-intro-stat-value{
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.routes-intro-stat-label{
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

@media (max-width: 860px){
  .routes-intro-stats{
    border-radius: 22px;
  }
  .routes-intro-stat{
    flex: 1 1 50%;
    min-width: 45%;
  }
  .routes-intro-stat + .routes-intro-stat::before{
    display: none;
  }
  .routes-intro-stat:nth-child(odd){
    position: relative;
  }
  .routes-intro-stat:nth-child(odd)::after{
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 46px;
    width: 1px;
    background: var(--line);
  }
  .routes-intro-stat:nth-child(n+3){
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 480px){
  .routes-intro-stats{ padding: 4px; }
  .routes-intro-stat{ padding: 20px 14px; }
  .routes-intro-stat-value{ font-size: 19px; }
}

/* ROUTE CARDS */
.routes-section{
  background:
    radial-gradient(1000px 420px at 20% 0%, rgba(11,47,107,.06), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,1), rgba(248,250,255,1));
}

.route-mag-list{
  display: flex;
  flex-direction: column;
  gap: 104px;
  margin-top: 56px;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.route-mag-card{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
  scroll-margin-top: 112px;
}

@media (max-width: 640px){
  .route-mag-card{ scroll-margin-top: 96px; }
}

.route-mag-card.reverse{
  grid-template-columns: .95fr 1.05fr;
}

.route-mag-card.reverse .route-mag-image{ order: 2; }
.route-mag-card.reverse .route-mag-text{ order: 1; }

.route-mag-image{
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 70px rgba(10,25,60,.14);
}

.route-mag-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}

.route-mag-card:hover .route-mag-image img{
  transform: scale(1.045);
}

.route-mag-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: .8;
  margin-bottom: 16px;
}
.route-mag-eyebrow::before{
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--navy);
  box-shadow: 0 0 0 5px rgba(11,47,107,.12);
}

.route-mag-title{
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--text);
}

.route-mag-sub{
  display: block;
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", serif;
  font-size: 17px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: .01em;
  color: #a9812c;
  margin-top: 12px;
}

.route-mag-price{
  display: inline-flex;
  align-items: center;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #ffffff;
  background: linear-gradient(180deg, #123a82, var(--navy));
  padding: 9px 20px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(11,47,107,.22);
  margin-bottom: 26px;
}

.route-mag-desc{
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 26px;
}

.route-mag-tags{
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.route-mag-tags li{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--navy);
  background: rgba(11,47,107,.06);
  border: 1px solid rgba(11,47,107,.12);
  padding: 7px 13px 7px 10px;
  border-radius: 999px;
}
.route-mag-tags svg{
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.route-mag-priceinfo{
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  opacity: .85;
  max-width: 520px;
  margin: 0 0 26px;
}

.route-mag-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 34px;
  border-radius: 999px;
  border: 2px solid var(--navy);
  background: linear-gradient(180deg, #123a82, var(--navy));
  color: #ffffff;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12.5px;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(11,47,107,.22);
  transition: background .25s ease, color .25s ease, transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
}

.route-mag-cta:hover{
  background: #ffffff;
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(11,47,107,.20);
}

.route-mag-cta:focus-visible{
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.route-mag-actions{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.route-mag-map-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid rgba(11,47,107,.28);
  background: transparent;
  color: var(--navy);
  font-family: inherit;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 11.5px;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
}

.route-mag-map-btn svg{
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.route-mag-map-btn:hover{
  background: rgba(11,47,107,.06);
  border-color: rgba(11,47,107,.45);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11,47,107,.10);
}

.route-mag-map-btn:focus-visible{
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

@media (max-width: 980px){
  .route-mag-list{ gap: 64px; }

  .route-mag-card,
  .route-mag-card.reverse{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .route-mag-card.reverse .route-mag-image,
  .route-mag-card.reverse .route-mag-text{
    order: 0;
  }

  .route-mag-image{ aspect-ratio: 16 / 10; }
  .route-mag-desc,
  .route-mag-priceinfo{ max-width: none; }
}

@media (max-width: 600px){
  .route-mag-image{ border-radius: 22px; }
  .route-mag-price{ font-size: 17px; }
  .route-mag-actions{ flex-direction: column; align-items: stretch; width: 100%; }
  .route-mag-cta,
  .route-mag-map-btn{ width: 100%; }
}

@media (prefers-reduced-motion: reduce){
  .route-mag-image img{ transition: none; }
  .route-mag-map-btn{ transition: none; }
}


/* DOCKS */
.split-layout{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: start;
}

.dock-list{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.dock-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(10,25,60,.05);
}

.dock-card h3{
  font-size: 16px;
  margin-bottom: 8px;
}

.dock-card p{
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.info-panel{
  display: grid;
  gap: 16px;
}

.panel-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(10,25,60,.05);
}

.panel-card h3{
  font-size: 18px;
  margin-bottom: 10px;
}

.panel-card p{
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

.panel-card.highlight{
  background: linear-gradient(180deg, rgba(11,47,107,.07), rgba(255,255,255,1));
}

@media (max-width: 980px){
  .split-layout{
    grid-template-columns: 1fr;
  }

  .dock-list{
    grid-template-columns: 1fr;
  }
}

/* SEO BLOCK */
.seo-block{
  border-top: 1px solid var(--line);
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(11,47,107,.08), transparent 55%),
    linear-gradient(180deg, rgba(246,247,251,1), rgba(255,255,255,1));
}

.seo-block h2{
  margin-bottom: 16px;
}

.seo-block p{
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
  line-height: 1.95;
}
.route-lightbox{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,.88);
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox-img{
  max-width: 90%;
  max-height: 85%;
  border-radius: 14px;
}

.lightbox-close{
  position: absolute;
  top: 24px;
  right: 34px;
  font-size: 42px;
  color: #fff;
  cursor: pointer;
}

/* ROUTEN-MODAL: Einzelkarte pro Route, ohne Scroll zur Hauptkarte */
.route-map-modal{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility 0s linear .3s;
}

.route-map-modal.is-open{
  visibility: visible;
  opacity: 1;
  transition: opacity .3s ease;
}

.route-map-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(6,15,32,.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.route-map-modal-dialog{
  position: relative;
  z-index: 1;
  width: 90vw;
  max-width: 1360px;
  max-height: 88vh;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 40px 100px rgba(0,0,0,.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(24px);
  opacity: 0;
  transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .35s ease;
}

.route-map-modal.is-open .route-map-modal-dialog{
  transform: translateY(0);
  opacity: 1;
}

.route-map-modal-header{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 32px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  flex: 0 0 auto;
}

.route-map-modal-title{
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}

.route-map-modal-sub{
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", serif;
  font-style: italic;
  font-size: 15px;
  color: #a9812c;
  margin-top: 6px;
}

.route-map-modal-close{
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .3s cubic-bezier(.16,1,.3,1);
}

.route-map-modal-close svg{
  width: 18px;
  height: 18px;
}

.route-map-modal-close:hover{
  background: rgba(11,47,107,.06);
  border-color: rgba(11,47,107,.3);
  transform: rotate(90deg);
}

.route-map-modal-close:focus-visible{
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.route-map-modal-body{
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  background: linear-gradient(160deg, #eef1f7, #e4e9f2);
}

.route-map-modal-body iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

@media (max-width: 768px){
  .route-map-modal{ padding: 10px; }
  .route-map-modal-dialog{
    width: 95vw;
    max-width: none;
    max-height: 94vh;
    border-radius: 20px;
  }
  .route-map-modal-header{ padding: 20px 20px 18px; }
  .route-map-modal-title{ font-size: 18px; }
  .route-map-modal-body{
    flex: 0 0 auto;
    height: 70vh;
    min-height: 420px;
  }
}

@media (max-width: 480px){
  .route-map-modal-header{ padding: 18px 16px; }
  .route-map-modal-close{ width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce){
  .route-map-modal,
  .route-map-modal-dialog,
  .route-map-modal-close{ transition: none; }
}