/* Teil 1 – OPTIMIERT */

/* ---------------------------------------------
   ROOT VARIABLEN
--------------------------------------------- */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --primary: #0057b8;
  --primary-dark: #003f85;
  --accent: #ffb400;
  --text: #1f2933;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius: 0.75rem;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.12);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------------------------------------------------
   PREMIUM HEADER – FIX: 100% BREITE
--------------------------------------------------- */

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* SCROLL-EFFEKT */
header.scrolled {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}

/* FIX: Header-Inhalt zentriert, aber 100% Breite */
header .section-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* FIX: NAV 100% BREITE */
.nav {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.nav-brand span {
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.7rem;
  font-weight: 600;
}

/* Desktop-Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  position: relative;
  padding: 10px 0;
  transition: color 0.25s ease;
}

/* Premium Underline Animation */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* CTA Button */
.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-cta span { font-size: 1rem; }

/* Hamburger Button */
.nav-toggle {
  width: 32px;
  height: 26px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #1f2933;
  border-radius: 3px;
  transition: all 0.35s ease;
}

/* Animation: Hamburger → X */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* ---------------------------------------------------
   MOBILE NAVIGATION
--------------------------------------------------- */

@media (max-width: 767px) {

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 3.1rem;
    right: 1rem;
    left: 1rem;
    flex-direction: column;
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 0.75rem 0.9rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    animation: fadeSlide 0.25s ease;
  }

  .nav-links a {
    padding: 0.35rem 0.1rem;
  }
}

/* Premium Fade Animation */
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Desktop Fix */
@media (min-width: 768px) {
  .nav-toggle { display: none !important; }
  .nav-links { display: flex !important; }
}

/* ---------------------------------------------------
   SECTION / CONTAINER
--------------------------------------------------- */

main { flex: 1; }
.section { padding: 2.5rem 1rem; }
.section-alt { background: var(--bg-alt); }

/* FIX: Content bleibt zentriert */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Teil 2 – OPTIMIERT */

/* ---------------------------------------------
   PRICING
--------------------------------------------- */
.pricing-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
}
.pricing-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.25rem;
}
.pricing-note { font-size: 0.8rem; color: var(--muted); }

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0.75rem;
  display: grid;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.pricing-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}
.pricing-list li span {
  color: #16a34a;
  margin-top: 0.1rem;
}
.pricing-cta { margin-top: 0.25rem; }

/* ---------------------------------------------
   MAP / STANDORT
--------------------------------------------- */
.map-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  background: #fff;
}
.map-frame {
  border: 0;
  width: 100%;
  height: 260px;
  display: block;
}
.map-info {
  padding: 1rem 1.1rem 1.1rem;
  font-size: 0.9rem;
  color: var(--muted);
  display: grid;
  gap: 0.4rem;
}
.map-info strong { color: var(--text); }

.map-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.3rem;
}
.map-tag {
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
}

/* ---------------------------------------------
   FAQ
--------------------------------------------- */
.faq { display: grid; gap: 0.75rem; }

.faq-item {
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0.9rem 1rem;
}
.faq-question {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.faq-answer {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------------------------------------------
   KONTAKT
--------------------------------------------- */
.contact-grid { display: grid; gap: 1.25rem; }

.contact-card {
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.04);
  display: grid;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  font-weight: 600;
}

.contact-value { font-weight: 600; }

.contact-form { display: grid; gap: 0.75rem; font-size: 0.9rem; }

.field { display: grid; gap: 0.25rem; }

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b5563;
}

.field input,
.field textarea {
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  padding: 0.55rem 0.7rem;
  font: inherit;
  width: 100%;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---------------------------------------------
   FOOTER – WIRD IN TEIL 3 FIXIERT
--------------------------------------------- */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 1rem 2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ALT (wird in Teil 3 ersetzt)
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
*/

/* ---------------------------------------------
   RESPONSIVE
--------------------------------------------- */
@media (min-width: 640px) {
  .section { padding: 3rem 1.5rem; }
  .hero h1 { font-size: 2.2rem; }
}

@media (min-width: 768px) {
  .hero { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------------------------------------------
   SOCIAL MEDIA PREMIUM
--------------------------------------------- */
.social-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 20px;
  opacity: 0.85;
  color: #0c55f3;
}

.social-kaka {
  text-align: center;
  font-size: 1.5rem;
  color: #00e676;
  max-width: 680px;
  margin: 0 auto 20px;
  opacity: 0.85;
}

.section-kakap {
  text-align: center;
  font-size: 1.5rem;
  max-width: 680px;
  margin: 0 auto 20px;
  opacity: 0.85;
  color: #f3610cbb;
}

.section-musthave {
font-weight: bold;
}

.social-media-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  margin-top: 2rem;
}

.social-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.2rem;
  width: 100%;
  max-width: 220px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
}

.social-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.social-item .icon-wrap img {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.social-item:hover .icon-wrap img {
  opacity: 1;
}

.social-item h3 {
  font-size: 1rem;
  margin: 0.4rem 0 0.3rem;
  font-weight: 600;
}

.social-item p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

.social-item .badge {
  display: inline-block;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.social-item.active {
  border-color: var(--primary);
  box-shadow: 0 12px 28px rgba(0, 87, 184, 0.15);
}

.social-item.active h3 {
  color: var(--primary-dark);
}

/* Teil 3 – OPTIMIERT */

/* ---------------------------------------------
   SCROLLBAR – RYA Blau
--------------------------------------------- */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 12px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: transparent;
    backdrop-filter: blur(6px);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 91, 187, 0.45);
    border-radius: 10px;
    backdrop-filter: blur(8px);
    border: 3px solid transparent;
    transition: background 0.3s ease, border 0.3s ease, opacity 0.4s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 91, 187, 0.75);
    border: 3px solid rgba(255,255,255,0.25);
}

body::-webkit-scrollbar-thumb {
    opacity: 0;
}

body:hover::-webkit-scrollbar-thumb,
body:active::-webkit-scrollbar-thumb,
body:focus::-webkit-scrollbar-thumb {
    opacity: 1;
}

/* ---------------------------------------------
   REFERENZEN / CARDS
--------------------------------------------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    max-width: 420px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    }
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.card strong {
    display: block;
    margin-top: 12px;
    font-size: 1rem;
    color: #003366;
    text-align: center;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.meta {
    margin-top: 6px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.lightbox-overlay img {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0,0,0,0.4);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

/* ---------------------------------------------
   PREMIUM HERO CARD
--------------------------------------------- */

.hero-card {
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.55);
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

.hero-card,
.hero-card * {
    color: #ffffff;
}

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}

.hero-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
}

.hero-card-subtitle {
    font-size: 0.75rem;
    opacity: 0.85;
    white-space: nowrap;
}

.hero-card-badge {
    background: linear-gradient(135deg, #ffd700, #ffb300);
    color: #000;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    font-size: 0.65rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.hero-card-main {
    margin-top: 0.8rem;
}

.hero-card-location {
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.hero-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.hero-card-item {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    padding: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-card-item.fullwidth {
    grid-column: 1 / 3;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 0.8rem;
}

.hero-card-footer {
    margin-top: 0.5rem;
    padding-top: 0.3rem;
    border-top: none;
}

.hero-card-price strong {
    color: #ffd700;
}

@media (max-width: 480px) {
    .hero-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}

/* ---------------------------------------------
   WHATSAPP BLOCK FIX
--------------------------------------------- */

.contact-row .social-media-icons {
    width: 100%;
    display: flex;
    justify-content: center;
}

.social-media-icons .social-item.active {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ---------------------------------------------
   PREMIUM BREITE – FINAL FIX
--------------------------------------------- */

/* Globaler Text-Container */
.section-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header volle Breite */
header {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 30px;
    box-sizing: border-box;
}

/* Navigation zentriert */
header .nav-inner,
header .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Hero volle Breite */
.hero,
.hero-section,
.top-section {
    width: 100%;
    max-width: 100%;
    padding: 80px 0;
    box-sizing: border-box;
}

/* Footer volle Breite */
footer {
    width: 100%;
    max-width: 100%;
    padding: 40px 30px;
    box-sizing: border-box;
}

/* FIX: Footer-Inhalt zentriert */
footer .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Sektionen volle Breite */
section,
.fullwidth-section,
.bg-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Inhalt zentriert */
section .section-inner,
.bg-section .section-inner,
.fullwidth-section .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
}

@media (min-width: 1024px) {
    .section-inner {
        max-width: 1200px;
    }
}

/* FINALER HEADER FIX */
header .section-inner { display: contents !important; }

/* FINALER HEADER FIX */
header .section-inner {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* FINALER FOOTER FIX */
footer .footer-inner {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* NAVIGATION ZENTRIEREN – BRAND LINKS LASSEN */
.nav {
    position: relative;
}

/* Navigation absolut zentrieren */
.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* Brand bleibt links */
.nav-brand {
    position: relative;
    z-index: 10;
}

/* Mobile Navigation bleibt normal */
@media (max-width: 767px) {
    .nav-links {
        position: static;
        transform: none;
    }
}

/* HERO ABSTAND FIX */
#top.section {
    padding-top: 0 !important;
}

#top .hero {
    padding-top: 1rem !important; /* Desktop */
}

/* Handy: noch enger */
@media (max-width: 767px) {
    #top .hero {
        padding-top: 0.5rem !important;
    }
}

/* HERO ABSTAND FIX */
#top.section {
    padding-top: 0 !important;
}

#top .hero {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* HERO 2-SPALTEN LAYOUT */
.hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
    gap: 2rem;
}

/* Text links */
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Flyer rechts */
.hero-card {
    margin: 0;
}

@media (max-width: 767px) {
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-card {
        margin-top: 1rem;
    }
}

/* HERO DIREKT UNTER DEM HEADER */
#top.section {
    padding-top: 0 !important;
}
#top .hero {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* HERO 2-SPALTIG (DESKTOP) */
.hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
    gap: 2rem;
}

/* Textblock */
.hero-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Flyer rechts */
.hero-card {
    margin: 0;
}

/* MOBILE: 1 Spalte */
@media (max-width: 767px) {
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-card {
        margin-top: 1rem;
    }
}

/* ===========================
   PREMIUM TIMELINE
=========================== */

.timeline {
  display: grid;
  gap: 1.8rem;
  margin-top: 2rem;
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary);
  border-radius: 3px;
  opacity: 0.25;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: start;
  position: relative;
}

.timeline-time {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.4rem;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 91, 187, 0.15);
}

.timeline-content h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.timeline-content p {
  margin: 0;
  color: var(--muted);
}

/* MOBILE */
@media (max-width: 767px) {
  .timeline-item {
    grid-template-columns: 60px 1fr;
  }
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.checklist li span {
  font-size: 1.2rem;
}

/* TIMELINE FIX – ZEIT NICHT MEHR ÜBERDECKT */
.timeline {
  padding-left: 2.2rem !important;
}

.timeline::before {
  left: 1rem !important;
}

.timeline-item::before {
  left: 0.85rem !important;
}

.timeline-item {
  grid-template-columns: 90px 1fr !important;
}

.timeline-time {
  text-align: right;
  padding-right: 0.5rem;
}

/* ===========================
   PREMIUM STANDORT DESIGN
=========================== */

/* Wrapper für 2-Spalten Layout */
.standort-wrapper {
    display: grid;
    gap: 2rem;
}

/* Desktop: 2 Spalten */
@media (min-width: 768px) {
    .standort-wrapper {
        grid-template-columns: 1.4fr 1fr;
        align-items: start;
    }
}

/* Map-Card Premium Look */
.map-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.map-frame {
    width: 100%;
    height: 280px;
    border: 0;
}

.map-info {
    padding: 1.5rem;
    display: grid;
    gap: 1rem;
    font-size: 0.95rem;
}

/* Tags */
.map-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.map-tag {
    background: var(--primary-light, #e8f1ff);
    color: var(--primary-dark, #004a99);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Rechte Karte angleichen */
.standort-card {
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    padding: 1.5rem;
}

/* ===========================
   PREMIUM VORTEILE DESIGN
=========================== */

.vorteile-wrapper {
    display: grid;
    gap: 2rem;
}

/* Desktop: 2 Spalten */
@media (min-width: 900px) {
    .vorteile-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

/* Premium Cards */
#vorteile .card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Icons */
#vorteile .card-icon {
    font-size: 2rem;
    margin-right: 0.75rem;
}

/* Pill Row */
.pill-row {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pill {
    background: var(--primary-light, #e8f1ff);
    color: var(--primary-dark, #004a99);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* ===========================
   USP BADGE – PREMIUM LOOK (VS Code safe)
=========================== */

.hero-badge {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 1.2rem;
    padding: 0.25rem 0;
    backdrop-filter: blur(6px);
}

/* Icon */
.hero-badge-icon {
    font-size: 1.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00c853, #0091ea);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 6px rgba(0, 150, 255, 0.35));
}

/* Haupttitel */
.hero-badge-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, #00c853, #0091ea);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 4px rgba(0, 150, 255, 0.25));
}

/* Untertitel */
.hero-badge-sub {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
    background: linear-gradient(135deg, #00c853, #0091ea);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* ===========================
   ULTRA PREMIUM BADGE
=========================== */

.hero-badge.ultra {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 1.4rem;
    padding: 0.3rem 0;
    backdrop-filter: blur(8px);
    transform: translateZ(0);
}

/* Gradient Definition */
:root {
    --badge-grad: linear-gradient(135deg, #00e676, #00b0ff);
}

/* Icon */
.hero-badge-icon {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--badge-grad);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 8px rgba(0, 180, 255, 0.45));
    animation: badgeFloat 4s ease-in-out infinite;
}

/* Haupttitel */
.hero-badge-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    background: var(--badge-grad);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 6px rgba(0, 180, 255, 0.35));
    position: relative;
}

/* Shine-Effekt */
.hero-badge-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.6) 50%,
        transparent 100%
    );
    transform: skewX(-20deg);
    animation: shine 3.5s ease-in-out infinite;
}

/* Untertitel */
.hero-badge-sub {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.95;
    background: var(--badge-grad);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 4px rgba(0, 180, 255, 0.25));
}

/* Shine Animation */
@keyframes shine {
    0% { left: -120%; }
    60% { left: 120%; }
    100% { left: 120%; }
}

/* Floating 3D Effekt */
@keyframes badgeFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
    100% { transform: translateY(0); }
}

.hero-badge.ultra {
    overflow: hidden; /* FIX: verhindert horizontalen Scrollbalken */
}

/* Flyer: Standortzeile einzeilig auf Desktop */
@media (min-width: 900px) {
    .hero-card-location strong {
        white-space: nowrap;
    }
}

/* HERO H1 PREMIUM UPGRADE */
.hero-text h1 {
    font-size: 2rem;              /* vorher zu groß */
    line-height: 1.25;            /* kompakter, edler */
    font-weight: 800;             /* stärker, moderner */
    letter-spacing: -0.5px;       /* Premium-Typografie */
    margin-bottom: 1rem;
}

/* Desktop: noch eleganter */
@media (min-width: 900px) {
    .hero-text h1 {
        font-size: 2.4rem;
        max-width: 90%;           /* nicht überbreit */
    }
}

/* Untertitel veredeln */
.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.45;
    max-width: 85%;
    opacity: 0.9;
    margin-bottom: 1.2rem;
}

/* ===========================
   HERO PREMIUM UPGRADE – FINAL
=========================== */

/* Hero Breite angleichen */
#top .container.hero {
    max-width: 1200px;
    margin: 0 auto;
}

/* PC: 60% Text / 40% Flyer */
@media (min-width: 900px) {
    .hero {
        grid-template-columns: 60% 40% !important;
        align-items: start;
        gap: 2.5rem;
    }
}

/* Flyer etwas luftiger */
.hero-card {
    padding: 0.5rem;
}
.hero-card-inner {
    padding: 1.25rem;
}

/* ===========================
   ULTRA PREMIUM BADGE
=========================== */

.hero-badge.ultra {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.6rem !important; /* enger zum H1 */
    padding: 0.3rem 0;
    backdrop-filter: blur(8px);
    overflow: hidden; /* verhindert Scrollbalken */
    transform: translateZ(0);
}

/* Gradient Definition */
:root {
    --badge-grad: linear-gradient(135deg, #00e676, #00b0ff);
}

/* Icon */
.hero-badge-icon {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--badge-grad);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 8px rgba(0, 180, 255, 0.45));
    animation: badgeFloat 4s ease-in-out infinite;
}

/* Haupttitel */
.hero-badge-title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    background: var(--badge-grad);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 6px rgba(0, 180, 255, 0.35));
    position: relative;
}

/* Shine-Effekt */
.hero-badge-title::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0; /* FIX */
    width: 80%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255,255,255,0.6) 50%,
        transparent 100%
    );
    transform: translateX(-150%); /* FIX */
    animation: shine 3.5s ease-in-out infinite;
}

/* Untertitel */
.hero-badge-sub {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.95;
    background: var(--badge-grad);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 4px rgba(0, 180, 255, 0.25));
}

/* Shine Animation – FIXED */
@keyframes shine {
    0% { transform: translateX(-150%); }
    60% { transform: translateX(150%); }
    100% { transform: translateX(150%); }
}

/* Floating 3D Effekt */
@keyframes badgeFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
    100% { transform: translateY(0); }
}

/* ===========================
   H1 & SUBTITLE OPTIMIERUNG
=========================== */

.hero-text h1 {
    font-size: 1.75rem;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 0.6rem; /* enger */
}

@media (min-width: 900px) {
    .hero-text h1 {
        font-size: 2.2rem;
        max-width: 85%;
    }
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.45;
    max-width: 85%;
    opacity: 0.9;
    margin-top: 0.2rem;
    margin-bottom: 1rem;
}

@media (min-width: 900px) {
    .hero {
        grid-template-columns: 56% 44% !important;
    }
}

.hero-card-location strong {
    font-size: 0.95rem;
}

/* Flyer Rand optimiert – kompakter, edler */
.hero-card {
    padding: 0.25rem; /* vorher 0.5rem */
}

.hero-card-inner {
    padding: 0.9rem 1.1rem; /* vorher 1.25rem */
}

/* === NAV BRAND – FINAL & CLEAN === */

.nav-brand {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-brand img {
    height: 32px;
    width: auto;
    display: block;
}

@media (max-width: 600px) {
    .nav-brand img {
        height: 26px;
    }
}

/* === HEADER FIX – NAVIGATION WIEDER OBEN === */

.nav {
    display: flex;
    align-items: center;      /* bringt Links wieder nach oben */
    justify-content: space-between;
    height: 60px;             /* feste Header-Höhe */
}

/* Navigation links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Hamburger wieder oben rechts */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

/* Handy: Header kompakter */
@media (max-width: 600px) {
    .nav {
        height: 54px;
        align-items: center;
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nav-brand img {
    height: 32px;
    width: auto;
    display: block;
}

@media (max-width: 600px) {
    .nav-brand img {
        height: 26px;
    }
}

/* === HEADER FIX – NAVIGATION WIEDER AUF EINE LINIE === */

header,
.nav {
    display: flex;
    align-items: center;        /* bringt Links & Hamburger wieder nach oben */
    justify-content: space-between;
    height: 60px;               /* feste Header-Höhe */
    overflow: visible;          /* verhindert Abrutschen */
}

/* Navigation links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Hamburger wieder oben rechts */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

/* Handy: kompakter Header */
@media (max-width: 600px) {
    header,
    .nav {
        height: 54px;
        align-items: center;
    }
}

/* === HEADER FIX – ALLES WIEDER AUF EINE LINIE === */

header {
    height: 60px;                 /* feste Höhe */
    display: flex;
    align-items: center;          /* alles vertikal zentriert */
    justify-content: space-between;
    overflow: visible;            /* verhindert Abschneiden */
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

/* Handy */
@media (max-width: 600px) {
    header {
        height: 54px;
    }
}

/* === HEADER FIX – PC + HANDY === */

header {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
}

/* Logo */
.nav-brand img {
    height: 32px;
    width: auto;
    display: block;
}

/* Navigation */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Hamburger */
.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Handy */
@media (max-width: 600px) {

    header {
        height: 54px;
    }

    .nav-links {
        display: none; /* Menü versteckt */
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 54px;
        right: 0;
        width: 100%;
        padding: 1rem;
    }

    .nav-toggle {
        display: flex;
    }
}

/* === PREMIUM HAMBURGER (3 Striche → X) === */

.nav-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 9999;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #000; /* schwarz */
    border-radius: 3px;
    transition: all 0.35s ease;
}

/* --- Animation aktiv --- */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* === PREMIUM CLOCK RIGHT SIDE (PC) === */

.header-clock {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin-left: 1.5rem;
    font-family: Segoe UI, sans-serif;
    font-weight: 600;
    line-height: 1.1;
    color: #000;
    white-space: nowrap;
}

#clock-time {
    font-size: 15px;
}

#clock-date {
    font-size: 12px;
    opacity: 0.8;
}

/* === HANDY: Uhr/Datum automatisch verstecken === */
@media (max-width: 600px) {
    .header-clock {
        display: none;
    }
}

/* === PREMIUM CLOCK RIGHT SIDE (PC) === */

.header-clock {
    display: flex;
    flex-direction: row;       /* NEBENEINANDER */
    align-items: center;
    justify-content: flex-end;
    gap: 10px;                 /* Abstand zwischen Uhr & Datum */
    margin-left: 1.5rem;
    font-family: Segoe UI, sans-serif;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
}

#clock-time {
    font-size: 17px;           /* Größere Uhr */
}

#clock-date {
    font-size: 15px;           /* Größeres Datum */
    opacity: 0.85;
}

/* === HANDY: Uhr/Datum komplett ausblenden === */
@media (max-width: 600px) {
    .header-clock {
        display: none;
    }
}

/* === PREMIUM CLOCK RIGHT SIDE (PC) === */

.header-clock {
    display: flex;
    flex-direction: row;       /* nebeneinander */
    align-items: center;
    justify-content: flex-end;
    gap: 8px;                  /* kleiner Abstand */
    margin-left: 1.2rem;
    font-family: Segoe UI, sans-serif;
    font-weight: 600;
    color: #000;
    white-space: nowrap;
}

/* Uhr + Datum gleich groß */
#clock-time,
#clock-date {
    font-size: 14px;           /* kleiner, gleich groß */
    line-height: 1;
}

/* Handy: Uhr/Datum komplett ausblenden */
@media (max-width: 600px) {
    .header-clock {
        display: none;
    }
}

.header-counter {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: #fff;
  align-items: center;
  white-space: nowrap;
}

/* Handy ausblenden */
@media (max-width: 768px) {
  .header-counter {
    display: none;
  }
}

.header-counter {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: #fff;
  align-items: center;
  white-space: nowrap;
}

/* Handy ausblenden */
@media (max-width: 768px) {
  .header-counter {
    display: none;
  }
}

/* Container für Uhr + Datum + Counter (falls noch nicht vorhanden) */
.header-clock {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Counter-Block links von Uhr/Datum */
.header-counter {
  display: flex;
  gap: 12px;
  font-size: 14px;
  align-items: center;
  white-space: nowrap;
}

/* Einzelne Werte farblich getrennt */
.header-counter #visits-today {
  color: #3ccf4e;   /* Grün: Heute */
  font-weight: 500;
}

.header-counter #visits-total {
  color: #4da3ff;   /* Blau: Gesamt */
  font-weight: 500;
}

/* Optional: gleiche Schrift wie Uhr/Datum erzwingen */
.header-counter span {
  font-family: inherit;
}

/* Handy: Counter ausblenden */
@media (max-width: 768px) {
  .header-counter {
    display: none;
  }
}

/* Tabelle im Header */
.header-info-table {
  font-size: 8px;
  color: #fff;
  border-collapse: collapse;
  margin-left: 12px;
}

.header-info-table td {
  padding: 0 4px;
  line-height: 1.2;
  white-space: nowrap;
}

/* Labels links */
.header-info-table .label {
  color: #4da3ff; /* Blau */
  font-weight: 600;
}

/* Werte rechts */
.header-info-table .value {
  color: #3ccf4e; /* Grün */
  font-weight: 600;
}

/* Handy ausblenden */
@media (max-width: 768px) {
  .header-info-table {
    display: none;
  }
}

/* Container für beide Tabellen */
.header-clock {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Tabellen-Design */
.header-info-table {
  font-size: 9px;
  color: #fff;
  border-collapse: collapse;
  white-space: nowrap;
}

/* Zellen */
.header-info-table td {
  padding: 0 4px;
  line-height: 1.2;
}

/* Linke Spalte (Labels) */
.header-info-table .label {
  color: #4da3ff; /* Blau */
  font-weight: 600;
  text-align: right;
}

/* Rechte Spalte (Werte) */
.header-info-table .value {
  color: #3ccf4e; /* Grün */
  font-weight: 600;
}

/* Handy ausblenden */
@media (max-width: 768px) {
  .header-info-table {
    display: none;
  }
}

/* Container für beide Tabellen */
.header-clock {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Tabellen-Design */
.header-info-table {
  font-size: 9px;
  color: #fff;
  border-collapse: collapse;
  white-space: nowrap;
}

/* Zellen */
.header-info-table td {
  padding: 0 4px;
  line-height: 1.2;
}

/* Linke Spalte (Labels) */
.header-info-table .label {
  color: #4da3ff; /* Blau */
  font-weight: 600;
  font-size: 9px;
  text-align: right;
}

/* Rechte Spalte (Werte) */
.header-info-table .value {
  color: #3ccf4e; /* Grün */
  font-weight: 600;
  font-size: 9px;
}

/* Datum + Uhrzeit Werte */
#clock-date,
#clock-time {
  font-size: 9px;
  color: #3ccf4e;
  font-weight: 600;
}

/* Handy ausblenden */
@media (max-width: 768px) {
  .header-info-table {
    display: none;
  }
}

/* Dünne Linien zwischen den Zeilen */
.header-info-table tr:not(:last-child) td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25); /* dezente Linie */
  padding-bottom: 2px;
  margin-bottom: 2px;
}

.header-info-table tr td {
  padding-top: 1px;
  padding-bottom: 1px;
}

/* Sichtbare schwarze Linien zwischen den Zeilen */
.header-info-table tr:not(:last-child) td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.6); /* gut sichtbar */
  padding-bottom: 2px;
  margin-bottom: 2px;
}

/* Gesamte Tabelle mit schwarzem Rahmen */
.header-info-table {
  font-size: 9px;
  color: #fff;
  border-collapse: collapse;
  white-space: nowrap;
  border: 1px solid #000; /* schwarzer Rahmen außen */
}

/* Zellen */
.header-info-table td {
  padding: 0 4px;
  line-height: 1.2;
  border: 1px solid #000; /* schwarze Linien zwischen allen Zellen */
}

/* Linke Spalte (Labels) */
.header-info-table .label {
  color: #4da3ff; /* Blau */
  font-weight: 600;
  font-size: 10px;
  text-align: right;
}

/* Rechte Spalte (Werte) */
.header-info-table .value {
  color: #3ccf4e; /* Grün */
  font-weight: 600;
  font-size: 10px;
}

/* Datum + Uhrzeit Werte */
#clock-date,
#clock-time {
  font-size: 10px;
  color: #3ccf4e;
  font-weight: 600;
}

/* Handy ausblenden */
@media (max-width: 768px) {
  .header-info-table {
    display: none;
  }
}

.impressions {
  padding: 40px 20px;
}

.impressions h2 {
  text-align: center;
  margin-bottom: 10px;
}

.impressions .intro {
  text-align: center;
  margin-bottom: 30px;
  font-size: 16px;
  color: #0b34eb;
}

/* FOTO-GRID */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.photo-grid img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #000;
}

/* VIDEO-GRID */
.video-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.video-grid video {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #000;
}

.impressions {
  padding: 40px 20px;
}

.impressions h2 {
  text-align: center;
  margin-bottom: 10px;
}

.impressions .intro {
  text-align: center;
  margin-bottom: 30px;
  font-size: 14px;
  color: #081ee6;
}

/* FOTO-GRID */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.photo-grid img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #000;
}

/* VIDEO-GRID */
.video-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.video-grid video {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #000;
}

.impressions {
  padding: 40px 20px;
}

.impressions h2 {
  text-align: center;
  margin-bottom: 10px;
}

.impressions .intro {
  text-align: center;
  margin-bottom: 30px;
  font-size: 14px;
  color: #0c36f3;
}

/* FOTO-GRID */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.photo-grid img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #000;
}

/* VIDEO-GRID */
.video-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.video-grid video {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #000;
}

/* LIGHTBOX */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  border: 2px solid #fff;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
  overflow: hidden;
}

/* Hintergrundbild */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay für Premium-Look */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.35)
  );
}

/* Inhalt über dem Bild */
.hero {
  position: relative;
  z-index: 2;
}

/* MOBILE FIRST */
.hero-text {
  color: #fff;
  margin-bottom: 30px;
}

/* PC / TABLET */
@media (min-width: 900px) {
  .hero-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* HERO SECTION BASIS */
.hero-section {
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
  overflow: hidden;
}

/* HINTERGRUNDBILD + OVERLAY */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.35)
  );
}

/* INHALT ÜBER DEM BILD */
.hero {
  position: relative;
  z-index: 2;
}

/* TEXTBEREICH */
.hero-text {
  color: #fff;
  margin-bottom: 30px;
}

/* GLASS-BLUR HERO-CARD */
.hero-card.glass {
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
  border-radius: 12px;
}

/* FADE-IN ANIMATIONEN */
.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease forwards;
  animation-delay: 0.2s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PARALLAX BASIS */
.parallax {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.parallax img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translateY(0);
  transition: transform 0.2s linear;
}

/* MOBILE FIRST TWEAKS */
@media (max-width: 900px) {
  .hero-card.glass {
    backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.45);
  }

  .hero-section {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* DESKTOP / LARGE VIEWPORTS */
@media (min-width: 900px) {
  .hero-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (min-width: 1100px) {
  .hero-section {
    padding-top: 120px;
    padding-bottom: 120px;
  }

  .hero-bg img {
    height: 130%;
  }
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.video-thumb {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #000;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: 0.3s ease;
}

.video-thumb:hover img {
  filter: brightness(0.55);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: white;
  opacity: 0.85;
  pointer-events: none;
}

/* Lightbox */
#video-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#video-lightbox .video-wrapper {
  width: 90%;
  max-width: 900px;
}

#video-lightbox video {
  width: 100%;
  border-radius: 8px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.video-thumb {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #000;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
  transition: 0.3s ease;
}

.video-thumb:hover img {
  filter: brightness(0.55);
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: white;
  opacity: 0.85;
  pointer-events: none;
}

/* Lightbox */
#video-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#video-lightbox .video-wrapper {
  width: 90%;
  max-width: 900px;
}

#video-lightbox video {
  width: 100%;
  border-radius: 8px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.video-box {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  border: 1px solid #000;
}

.video-box img {
  width: 100%;
  display: block;
  cursor: pointer;
  filter: brightness(0.75);
  transition: 0.3s ease;
}

.video-box img:hover {
  filter: brightness(0.55);
}

.video-box video {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.center-title {
  text-align: center;
  width: 100%;
  margin-bottom: 25px;
  font-size: 2.2rem;
  letter-spacing: 0.5px;
}

/* Offset für Anker-Sprünge, damit der Header nichts verdeckt */
.scroll-offset {
  scroll-margin-top: 100px; /* anpassen falls Header höher/tiefer */
}

.maps-button-box {
  text-align: right;
  margin-bottom: 10px;
}

.maps-button {
  display: inline-block;
  background: #005eff;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.25s ease;
}

.maps-button:hover {
  background: #003fba;
}

.map-container {
  position: relative;
}

.map-top-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #005eff;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  z-index: 10;
  transition: 0.25s ease;
}

.map-top-button:hover {
  background: #003fba;
}

.center-title {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.info-box {
  background: rgba(255, 255, 255, 0.92);
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.65;
}

.sub-title {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-weight: 600;
}

.icon-ship {
  margin-right: 6px;
  font-size: 1.2rem;
}

.styled-list li {
  margin-bottom: 10px;
  padding-left: 5px;
}

body {
  background: url('icons/waves-animated.svg') repeat;
  background-size: 400px;
}

.center-title {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 30px;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.info-box {
  background: rgba(255, 255, 255, 0.92);
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.65;
  position: relative;
}

/* ECE Logo oben rechts */
.ece-logo {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 70px;
  opacity: 0.9;
}

/* Mobile Fix: ECE-Logo */
@media (max-width: 768px) {
  .ece-logo {
    width: 40px !important;
    top: 5px !important;
    right: 5px !important;
  }
}

/* Unterüberschriften */
.sub-title {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-weight: 600;
}

/* Animierte Icons */
.icon-ship {
  margin-right: 6px;
  font-size: 1.2rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0px); }
}

/* Liste */
.styled-list li {
  margin-bottom: 10px;
  padding-left: 5px;
}

/* Rechtlicher Hinweis */
.legal-box {
  margin-top: 25px;
  padding: 15px;
  background: #eef6ff;
  border-left: 4px solid #005eff;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.ece-logo {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 70px;
  opacity: 0.9;
}

.icon-ship {
  margin-right: 6px;
  font-size: 1.2rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0px); }
}

.ece-logo {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 80px;
  opacity: 0.95;
}

.badge {
  width: 50px;
  margin-right: 10px;
  vertical-align: middle;
}

.infografik {
  display: block;
  max-width: 600px;
  margin: 30px auto;
}

.box-title {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: #003fba;
  letter-spacing: 0.3px;
}

/* Premium Pricing Cards */
.premium-card {
  padding: 28px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* PREMIUM CARDS */
.premium-card {
  padding: 28px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.premium-card .pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.featured.premium-card {
  border: 2px solid #005eff;
  background: #f7faff;
}

/* EINHEITLICHER PREMIUM-LOOK */
.premium-equal {
  padding: 28px;
  border-radius: 14px;
  background: #f7faff;
  border: 2px solid #005eff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.premium-equal:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.premium-equal .pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-card {
  margin-bottom: 20px;
}

/* SECTION TITLES */
#preise .section-title,
.checklist-title,
.vorteile-title,
.ablauf-title,
.standort-title,
.faq-title,
.kontakt-title {
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 1.2rem;
}

/* CHECKLISTE */
.checklist {
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.checklist-card {
  padding: 28px;
  border-radius: 14px;
  background: #f7faff;
  border: 2px solid #005eff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  margin-bottom: 40px;
}

.must {
  font-weight: 700;
  color: #d40000;
  display: inline-block;
  margin-right: 6px;
}

.tipps-title {
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.checklist li {
  margin-bottom: 10px;
  list-style: none;
  display: flex;
  align-items: center;
}

.checklist li span {
  margin-right: 10px;
  font-size: 1.2rem;
}

/* VORTEILE */
#vorteile .premium-equal {
  margin-bottom: 32px;
}

/* ABLAUF */
.ablauf-card {
  padding: 28px;
  border-radius: 14px;
  background: #f7faff;
  border: 2px solid #005eff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  margin-bottom: 40px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ablauf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

.timeline-item {
  margin-bottom: 22px;
}

.timeline-time {
  font-weight: 700;
  color: #005eff;
  margin-bottom: 4px;
}

/* STANDORT */
#standort .premium-equal {
  margin-bottom: 40px;
}

.map-card {
  margin-bottom: 24px;
}

.standort-info-card {
  margin-top: 20px;
}

/* FAQ */
#faq .premium-equal {
  margin-bottom: 40px;
}

.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

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

.faq-question {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: #005eff;
}

.faq-answer {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

/* KONTAKT */
#kontakt .premium-equal {
  margin-bottom: 40px;
}

.contact-card {
  margin-bottom: 20px;
}

/* --------------------------------------------- */
/* MOBILE FIXES FÜR ECE-LOGO + SVG INFOGRAFIK    */
/* --------------------------------------------- */

@media (max-width: 768px) {

  /* ECE Logo oben rechts – mobile kleiner */
  .ece-logo {
    width: 40px !important;
    top: 5px !important;
    right: 5px !important;
  }

  /* SVG proportional skalieren */
  .infografik {
    width: 100% !important;
    height: auto !important;
  }

  /* Schrift im SVG */
  .infografik text {
    font-size: 16px !important;
  }

  /* Pfeil leicht nach rechts */
  .infografik text:nth-of-type(2) {
    transform: translateX(25px);
  }

  /* UK-Flagge 20px nach rechts */
  .infografik g[transform="translate(129,120)"] > g:nth-of-type(1) {
    transform: translateX(20px) !important;
  }
}

@media (max-width: 768px) {
  .infografik g[transform="translate(129,120)"] > g:nth-of-type(1) {
    transform: translateX(50px) !important;
  }
}

@media (max-width: 768px) {
  .infografik g[transform="translate(129,120)"] > text:nth-of-type(1) {
    transform: translateX(50px) !important;
  }
}

/* Mobile Fix: Titel über den Flaggen größer */
@media (max-width: 768px) {
  .infografik text:nth-of-type(1) {
    font-size: 22px !important;
  }
}

#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background: rgba(0, 0, 0, 0.85);
}

#backToTop {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;

  #backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  }

  /* Ultra-Premium Glassmorphism */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* 3D Shadow Stack */
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.25),
    0 8px 25px rgba(0, 0, 0, 0.35),
    0 12px 40px rgba(0, 0, 0, 0.45);

  /* RYA-Orange Accent Ring */
  border: 2px solid rgba(255, 102, 0, 0.65);

  /* Icon */
  color: #ffffff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transform: translateY(25px) scale(0.85);
  transition: all 0.35s ease;
}

/* Visible */
#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Hover: Lift + Glow */
#backToTop:hover {
  transform: translateY(-6px) scale(1.05);
  background: rgba(255, 255, 255, 0.25);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.25),
    0 12px 30px rgba(0, 0, 0, 0.35),
    0 18px 55px rgba(255, 102, 0, 0.45);
}

/* Soft Pulse Glow (subtle, premium) */
#backToTop.show {
  animation: pulseGlow 2.8s infinite ease-in-out;
}

@keyframes pulseGlow {
  0% {
    box-shadow:
      0 4px 10px rgba(0, 0, 0, 0.25),
      0 8px 25px rgba(0, 0, 0, 0.35),
      0 12px 40px rgba(0, 0, 0, 0.45);
  }
  50% {
    box-shadow:
      0 6px 14px rgba(0, 0, 0, 0.25),
      0 12px 30px rgba(0, 0, 0, 0.35),
      0 18px 55px rgba(255, 102, 0, 0.35);
  }
  100% {
    box-shadow:
      0 4px 10px rgba(0, 0, 0, 0.25),
      0 8px 25px rgba(0, 0, 0, 0.35),
      0 12px 40px rgba(0, 0, 0, 0.45);
  }
}
