:root{
  --bg: #0f172a;
  --bg2:#131f3a;
  --card:#132547;
  --card2: rgba(255,255,255,.04);
  --text:#eef4ff;
  --muted: rgba(238,244,255,.78);
  --muted2: rgba(238,244,255,.58);
  --brand:#3b82f6;
  --brand2:#22c55e;
  --line: rgba(255,255,255,.12);
  --shadow: 0 18px 60px rgba(0,0,0,.30);
  --shadow-lg: 0 30px 90px rgba(0,0,0,.45);
  --radius: 18px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --t: 220ms var(--ease);
  --ring: 0 0 0 4px rgba(59,130,246,.22);
}


*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
}

/* Helpers */
.text-white-70{ color: var(--muted) !important; }
.text-white-60{ color: var(--muted2) !important; }
.fw-800{ font-weight: 800 !important; }
.fw-900{ font-weight: 900 !important; }

.section{
  padding: 100px 0;
  position: relative;
  overflow-x: hidden;
}
.section-alt{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0));
}
.section-head .kicker{
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-title{
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 900;
  margin-bottom: 10px;
}
.section-subtitle{
  color: var(--muted);
  max-width: 820px;
  margin: 0 auto;
}

/* Topbar */
/* =================================
   TOP BAR – UX IMPROVEMENT
================================= */

.topbar {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 13.5px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(235,240,255,0.75);
  font-weight: 600;
}

.topbar-item i {
  color: #93c5fd;
  font-size: 13px;
}

/* Right links */
.topbar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(235,240,255,0.9);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap; /* FIX email breaking */
}

.topbar-link i {
  color: #60a5fa;
  font-size: 13px;
}

/* Phone emphasis */
.topbar-link.phone {
  color: #ffffff;
}

.topbar-link.phone:hover {
  color: #93c5fd;
}

/* Email softer */
.topbar-link.email {
  color: rgba(235,240,255,0.8);
}

.topbar-link.email:hover {
  color: #93c5fd;
}

.topbar-divider {
  color: rgba(255,255,255,0.25);
}

/* Navbar */
.nav-glass{
  background: rgba(11,18,32,.68);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.navbar .nav-link{
  color: rgba(255,255,255,.78);
  font-weight: 800;
}
.navbar .nav-link:hover,
.navbar .nav-link.active{
  color: #fff;
}
.brand-mark{
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), #8b5cf6);
  box-shadow: 0 12px 35px rgba(59,130,246,.25);
}
.brand-text{ font-weight: 800; letter-spacing: .2px; }

/* Hero */
.hero{
  position: relative;
  padding: 92px 0 56px;
  overflow: hidden;
}
.hero-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 500px at 20% 15%, rgba(59,130,246,.30), transparent 60%),
    radial-gradient(800px 520px at 85% 20%, rgba(34,197,94,.22), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)),
    url("img/hero.png") center/cover no-repeat;
  filter: saturate(1.05);
}
/* =====================================
   HERO BACKGROUND – MOBILE FIX
===================================== */

@media (max-width: 768px) {
  .hero {
    padding: 72px 0 48px;
    min-height: 100vh;
  }

  .hero-bg {
    /* Reposition image to keep subject visible */
    background:
      radial-gradient(600px 420px at 50% 10%, rgba(59,130,246,.18), transparent 60%),
      radial-gradient(520px 420px at 50% 28%, rgba(34,197,94,.14), transparent 55%),
      linear-gradient(180deg, rgba(2,6,23,.75), rgba(2,6,23,.95)),
      url("../img/hero.png") center top / auto 110% no-repeat;

    filter: saturate(1.02);
  }

    /* Center main hero column */
    .hero .col-lg-7 {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
    }
  
    /* Center badge */
    .hero .badge-pill {
      justify-content: center;
      margin-left: auto;
      margin-right: auto;
    }
  
    /* Center buttons */
    .hero .d-flex {
      justify-content: center;
    }
  
    .hero .btn {
      width: 100%;
      max-width: 320px;
    }
  
    /* Center highlights */
    .hero-highlights {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
  
    .hero-highlights .hl {
      width: 100%;
      max-width: 360px;
      text-align: left; /* keep text readable */
    }
  
    /* Improve spacing */
    .hero h1 {
      font-size: 2.1rem;
    }
  
    .hero p.lead {
      font-size: 1.05rem;
    }
}


.hero::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(11,18,32,.74);
}
.hero .container{ position: relative; z-index: 2; }

.badge-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--muted);
  font-weight: 800;
}

.hero-card{
  border-radius: var(--radius);
  background: rgba(15,27,51,.74);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card-header{
  padding: 18px 18px 0;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  font-weight: 900;
  color: var(--text);
  font-size: 12px;
}
.rating .stars{ letter-spacing: 1px; }
.rating-text{ color: var(--muted); font-weight: 800; font-size: 12px; margin-left: 8px; }
.hero-card-body{ padding: 18px; }
.hero-card .form-label{ color: rgba(255,255,255,.78); font-weight: 800; }
.hero-card .form-control, .hero-card .form-select, .hero-card textarea{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
}
.hero-card .form-control:focus, .hero-card .form-select:focus, .hero-card textarea:focus{
  border-color: rgba(59,130,246,.7);
  box-shadow: 0 0 0 .2rem rgba(59,130,246,.15);
}
.hero-card .form-select option{ color: #111; }

.hero-highlights{
  gap: 14px;
  max-width: 520px;
}
.hl{
  display:flex; gap: 12px;
  margin-bottom: 10px;
  align-items:flex-start;
  padding: 14px 14px;
  background: rgba(43, 41, 41, 0.45);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
}
.hl i{
  width: 38px; height: 38px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(59,130,246,.16);
  border: 1px solid rgba(59,130,246,.25);
}
.hl-title{ font-weight: 900; }
.hl-sub{ color: var(--muted); font-weight: 700; font-size: 13px; }


@keyframes bounce{
  0%, 100%{ transform: translateY(-6px); opacity: .7; }
  50%{ transform: translateY(6px); opacity: 1; }
}

/* Trustbar */
.trustbar{
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.trust-item{
  display:flex; gap: 12px;
  align-items:flex-start;
  padding: 14px 14px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
}
.trust-item i{
  color: rgba(34,197,94,.95);
  margin-top: 2px;
  font-size: 18px;
}
.trust-title{ font-weight: 900; }
.trust-sub{ color: var(--muted); font-weight: 700; font-size: 13px; }

/* Feature cards */
.feature-card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 16px 45px rgba(0,0,0,.18);
}
.icon-badge{
  width: 46px; height: 46px;
  border-radius: 16px;
  display:grid; place-items:center;
  background: rgba(59,130,246,.14);
  border: 1px solid rgba(59,130,246,.22);
  margin-bottom: 12px;
}
.icon-badge i{ font-size: 18px; }

.cta-strip{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
}

/* Media card */
.media-card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
  box-shadow: var(--shadow);
}
.media-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 10px;
}
.media-grid img{
  width:100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
}
.media-grid img:first-child{
  grid-row: 1 / span 2;
}
.media-overlay{
  display:flex;
  gap: 10px;
  padding: 0 10px 12px 10px;
}
.media-badge{
  flex:1;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  padding: 12px;
}
.media-badge-num{
  font-size: 22px;
  font-weight: 900;
}
.media-badge-text{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

/* Checklist */
.checklist{ display:grid; gap: 12px; }
.check{
  display:flex;
  gap: 10px;
  align-items:center;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}
.check i{
  width: 30px; height: 30px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(34,197,94,.22);
}

/* Pricing */
.price-card{
  position: relative;
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  padding: 18px;
  box-shadow: 0 16px 45px rgba(0,0,0,.18);
}
.price-card.featured{
  border-color: rgba(59,130,246,.35);
  background: linear-gradient(180deg, rgba(59,130,246,.14), rgba(255,255,255,.03));
  transform: translateY(-6px);
}
.ribbon{
  position:absolute;
  top: 14px; right: 14px;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(59,130,246,.20);
  border: 1px solid rgba(59,130,246,.35);
}
.price-title{ font-weight: 900; font-size: 18px; }
.price-amount{ font-weight: 900; font-size: 34px; margin-top: 6px; }
.price-sub{ color: var(--muted); font-weight: 700; }
.price-list{
  margin: 16px 0;
  padding: 0;
  list-style: none;
  display:grid;
  gap: 10px;
}
.price-list li{
  display:flex;
  gap: 10px;
  align-items:center;
  color: var(--muted);
  font-weight: 700;
}
.price-list i{ color: rgba(34,197,94,.95); }

/* Gallery */
.gallery-slide{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.gallery-slide img{
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.swiper-button-prev, .swiper-button-next{
  color: rgba(255,255,255,.85);
}
.swiper-pagination-bullet{
  background: rgba(255,255,255,.55);
}
.swiper-pagination-bullet-active{
  background: rgba(255,255,255,.9);
}

/* Reviews */
.review-card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  padding: 18px;
}
.review-top{
  display:flex;
  gap: 12px;
  align-items:center;
  margin-bottom: 12px;
}
.avatar{
  width: 44px; height: 44px;
  border-radius: 16px;
  display:grid; place-items:center;
  font-weight: 900;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.review-card .stars{ letter-spacing: 1px; color: rgba(255,255,255,.85); }

/* FAQ */
.faq .accordion-item{
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 16px !important;
  overflow: hidden;
  margin-bottom: 12px;
}
.faq .accordion-button{
  background: transparent;
  color: var(--text);
  font-weight: 900;
}
.faq .accordion-button:focus{
  box-shadow: 0 0 0 .2rem rgba(59,130,246,.14);
}
.faq .accordion-button::after{
  filter: invert(1);
}

/* Contact */
.contact-card {
	backdrop-filter: blur(12px);
  background: linear-gradient(
    180deg,
    rgba(11, 20, 60, 0.95),
    rgba(2, 6, 23, 0.85)
  );
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
}
/* Section Title */
.contact-card h3 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 18px;
  color: #ffffff;
}
/* Labels */
.contact-card .form-label {
  color: rgba(235, 240, 255, 0.9);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}
/* Inputs */
.contact-card .form-control,
.contact-card .form-select,
.contact-card textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #ffffff;
  padding: 12px 14px;
  font-size: 14px;
}
/* Placeholder */
.contact-card .form-control::placeholder,
.contact-card textarea::placeholder {
  color: rgba(235, 240, 255, 0.45);
}
/* Focus State */
.contact-card .form-control:focus,
.contact-card .form-select:focus,
.contact-card textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
  background: rgba(255, 255, 255, 0.06);
}

/* Select Arrow */
.contact-card .form-select {
  background-image:
    linear-gradient(45deg, transparent 50%, #93c5fd 50%),
    linear-gradient(135deg, #93c5fd 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px);
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
/* =========================================
   SELECT / OPTION VISIBILITY FIX
========================================= */

/* Select field itself */
.contact-card select.form-select {
  background-color: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

/* Dropdown options (CRITICAL FIX) */
.contact-card select.form-select option {
  background-color: #020617;   /* Dark background */
  color: #ffffff;              /* Visible text */
}

/* Hover / selected option */
.contact-card select.form-select option:checked,
.contact-card select.form-select option:hover {
  background-color: #2563eb;
  color: #ffffff;
}

.contact-item{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 12px 0;
}
.contact-item i{
  width: 40px; height: 40px;
  display:grid; place-items:center;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.contact-card a{ color: #fff; text-decoration: none; }
.contact-card a:hover{ text-decoration: underline; }

.map-wrap{
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.map-wrap iframe{
  width: 100%;
  height: 350px;
  border:0;
}
.map-note{ padding: 10px 12px; }

/* Footer */
.footer{
  padding: 54px 0 36px;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
}
.footer-title{
  font-weight: 900;
  margin-bottom: 12px;
}
.footer-links{
  list-style:none;
  padding: 0;
  margin: 0;
  display:grid;
  gap: 10px;
}
.footer-links a{
  color: var(--muted);
  text-decoration:none;
  font-weight: 800;
}
.footer-links a:hover{ color: #fff; }
.footer-social{
  display:inline-flex;
  gap: 10px;
}
.footer-social a{
  width: 42px; height: 42px;
  display:grid; place-items:center;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: #fff;
  text-decoration:none;
}
.footer-social a:hover{
  background: rgba(59,130,246,.18);
  border-color: rgba(59,130,246,.30);
}
.footer-hr{ border-color: rgba(255,255,255,.10); }
.footer-small-link{
  color: var(--muted);
  text-decoration:none;
  font-weight: 800;
}
.footer-small-link:hover{ color: #fff; }

/* Buttons */
.btn-primary{
  background: linear-gradient(135deg, var(--brand), #8b5cf6);
  border: none;
  font-weight: 900;
}
.btn-primary:hover{ filter: brightness(1.04); }
.btn-outline-light, .btn-outline-dark{
  font-weight: 900;
  color: aliceblue;
  border: 0.5px solid aliceblue;
}

/* Responsive */
@media (min-width: 992px){
  .hero-highlights{
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 991.98px){
  .hero{ padding-top: 78px; }
  .gallery-slide img{ height: 320px; }
}






/* =========================================
   GLOBAL TEXT CONTRAST FIX (Dark Theme)
========================================= */

/* Default paragraph text */
p,
.section-subtitle,
.text-muted {
  color: rgba(235, 240, 255, 0.85) !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.section-title {
  color: #ffffff !important;
}

/* Cards text (Reviews, Prices, Features) */
.card,
.review-card,
.price-card,
.feature-card {
  color: rgba(235, 240, 255, 0.9);
}

/* Review text */
.review-card p {
  color: rgba(235, 240, 255, 0.88) !important;
}

/* FAQ Accordion */
.faq .accordion-button {
  color: #ffffff !important;
}

.faq .accordion-body {
  color: rgba(235, 240, 255, 0.9) !important;
}

/* Accordion background improvement */
.faq .accordion-item {
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Price subtitles */
.price-sub {
  color: rgba(235, 240, 255, 0.75) !important;
}

/* Small muted texts */
.small,
.text-white-60,
.text-white-70 {
  color: rgba(255, 255, 255) !important;
}

/* Stars visibility */
.stars {
  color: #facc15 !important; /* gold */
}

/* Inputs placeholders */
.form-control::placeholder,
textarea::placeholder {
  color: rgba(235, 240, 255, 0.6);
}

/* Footer text */
.footer,
.footer p,
.footer a {
  color: rgba(235, 240, 255, 0.8);
}

/* Links hover */
a:hover {
  color: #93c5fd;
}


/* =========================================
   LEGAL MODALS (Impressum & Datenschutz)
   Dark Professional Style
========================================= */

/* Modal backdrop (dark blur background) */
.modal-backdrop.show {
  opacity: 0.75;
  backdrop-filter: blur(6px);
}

/* Modal container */
.modal-content {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  color: var(--text);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

/* Header */
.modal-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 26px;
}

.modal-title {
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.3px;
}

/* Body */
.modal-body {
  padding: 26px;
  color: rgba(235, 240, 255, 0.9);
  font-size: 15px;
  line-height: 1.8;
}

/* Paragraphs */
.modal-body p {
  color: rgba(235, 240, 255, 0.85);
}

/* Section titles inside modal */
.modal-body strong,
.modal-body h6 {
  color: #ffffff;
  font-weight: 900;
  display: block;
  margin-top: 22px;
  margin-bottom: 8px;
}

/* Lists */
.modal-body ul li {
  color: rgba(235, 240, 255, 0.85);
}

/* Links */
.modal-body a {
  color: #60a5fa;
  font-weight: 700;
  text-decoration: none;
}

.modal-body a:hover {
  text-decoration: underline;
}

/* Close button */
.modal-header .btn-close {
  filter: invert(1);
  opacity: 0.6;
}

.modal-header .btn-close:hover {
  opacity: 1;
}

/* Scrollbar (WebKit browsers) */
.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
}

/* Responsive height */
.modal-body {
  max-height: 70vh;
  overflow-y: auto;
}

.modal-dialog {
  max-width: 920px;
}

/* =========================================================
   PRO POLISH: Hovers, Focus, Light Theme, Utilities
========================================================= */

/* Smooth interactions */
a, button, .btn, .card, .feature-card, .review-card, .price-card, .gallery-slide, .hl, .accordion-item, .nav-link{
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t), opacity var(--t);
}

/* Better focus ring (accessibility) */
:focus-visible{
  outline: none !important;
  box-shadow: var(--ring) !important;
  border-radius: 10px;
}

/* Links */
a{
  color: rgba(147,197,253,.95);
  text-decoration: none;
}
a:hover{ color: #fff; }

/* Navbar hover underline */
.navbar .nav-link{
  position: relative;
}
.navbar .nav-link::after{
  content:"";
  position:absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), rgba(34,197,94,.85));
  opacity: 0;
  transform: translateY(3px);
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after{
  opacity: .9;
  transform: translateY(0);
}

/* Icon button */
.btn-icon{
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
}
.btn-icon:hover{
  background: rgba(255,255,255,.10);
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}

/* Buttons */
.btn{
  border-radius: 14px;
}
.btn-primary{
  background: linear-gradient(135deg, var(--brand), #4f46e5);
  border: none;
  box-shadow: 0 14px 38px rgba(59,130,246,.28);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 20px 52px rgba(59,130,246,.38);
}
.btn-outline-light:hover{
  transform: translateY(-2px);
}
.btn-outline-dark{
  border-color: rgba(255,255,255,.18);
  color: rgba(255,255,255,.88);
}
.btn-outline-dark:hover{
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}

/* Cards hover */
.feature-card:hover,
.review-card:hover,
.price-card:hover,
.contact-card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255,255,255,.16);
}

/* Hero badge wrap */
.hero-badge-wrap{
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 768px){
  .hero-badge-wrap{ align-items: center; }
  .hero-badge-wrap .badge-pill{ justify-content: center; text-align: center; }
}

/* Badge pill improvements */
.badge-pill{
  display: inline-flex;
  align-items:center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 100%;
}
#openNowHeader .badge{
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: .2px;
}

/* Gallery hover */
.gallery-slide{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
}
.gallery-slide img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  transform: scale(1.01);
}
.gallery-slide:hover img{
  transform: scale(1.06);
}
@media (max-width: 768px){
  .gallery-slide img{ height: 260px; }
}

/* FAQ hover and active */
.accordion-item{
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
}
.accordion-button{
  font-weight: 800;
}
.accordion-button:hover{
  background: rgba(255,255,255,.05);
}
.accordion-button:not(.collapsed){
  color: #fff;
}
.accordion-button:not(.collapsed) .accordion-button-icon{
  transform: rotate(180deg);
}

/* Forms */
.form-control, .form-select, textarea{
  transition: box-shadow var(--t), border-color var(--t), background var(--t), color var(--t);
}
.form-control:focus, .form-select:focus, textarea:focus{
  box-shadow: var(--ring);
  border-color: rgba(59,130,246,.65);
}
select.form-select option{
  background-color: #0b1220;
  color: #fff;
}

/* Map mobile overflow fix */
.map-wrap{ width:100%; max-width:100%; overflow:hidden; border-radius: var(--radius); }
.map-wrap iframe{ width:100% !important; max-width:100% !important; display:block; }

/* Back to top */
.back-to-top{
  position: fixed;
  right: 16px;
  bottom: 90px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(2,6,23,.78);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 9999;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.back-to-top.show{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover{ transform: translateY(-2px); }

/* Floating WhatsApp */
.float-whatsapp{
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #0b1220;
  z-index: 9999;
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
  font-size: 26px;
}
.float-whatsapp:hover{
  transform: translateY(-2px);
  color: #0b1220;
}

/* Mobile CTA Bar */
.mobile-cta{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9998;
  background: rgba(2,6,23,.86);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  display: none;
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 70px rgba(0,0,0,.45);
  overflow: hidden;
}
.mobile-cta-btn{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  color: rgba(255,255,255,.92);
  font-weight: 900;
  font-size: 13px;
}
.mobile-cta-btn span{ letter-spacing: .2px; }
.mobile-cta-btn:hover{ background: rgba(255,255,255,.06); }
.mobile-cta-btn.wa i{ color:#25D366; }
.mobile-cta-btn.call i{ color:#93c5fd; }
.mobile-cta-btn.mail i{ color:#fbbf24; }

@media (max-width: 768px){
  .mobile-cta{ display: flex; }
  /* keep buttons above CTA */
  .float-whatsapp{ bottom: 88px; }
  .back-to-top{ bottom: 158px; }
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,.82);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  z-index: 10000;
  padding: 18px;
  backdrop-filter: blur(8px);
}
.lightbox.open{ display: flex; }
.lightbox-img{
  max-width: min(980px, 96vw);
  max-height: 78vh;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
  background: rgba(255,255,255,.04);
}
.lightbox-close{
  align-self: flex-end;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
}
.lightbox-close:hover{ transform: translateY(-1px); }
.lightbox-caption{
  color: rgba(238,244,255,.82);
  font-weight: 800;
  text-align: center;
}

/* Theme: light */
body.theme-light{
  /* Light theme palette (clean, professional, high contrast) */
  --bg: #f6f8fc;
  --bg2:#edf2ff;
  --card:#ffffff;
  --text:#0b1220;
  --muted: rgba(15,23,42,.72);
  --muted2: rgba(15,23,42,.52);
  --line: rgba(2,6,23,.12);
  --shadow: 0 14px 40px rgba(2,6,23,.08);
  --shadow-lg: 0 26px 80px rgba(2,6,23,.12);
  --brand:#2563eb;
  --brand2:#16a34a;
  --ring: 0 0 0 4px rgba(37,99,235,.18);
}
body.theme-light .nav-glass{
  background: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(2,6,23,.10);
}
body.theme-light .navbar .nav-link{
  color: rgba(2,6,23,.78);
}
body.theme-light .navbar .nav-link:hover,
body.theme-light .navbar .nav-link.active{
  color: #0b1220;
}
body.theme-light .btn-icon{
  background: rgba(2,6,23,.05);
  border-color: rgba(2,6,23,.10);
  color: #0b1220;
}
body.theme-light .btn-outline-dark{
  border-color: rgba(2,6,23,.16);
  color: rgba(2,6,23,.78);
}
body.theme-light select.form-select option{
  background-color: #ffffff;
  color: #0b1220;
}
body.theme-light .back-to-top,
body.theme-light .mobile-cta{
  background: rgba(255,255,255,.88);
  border-color: rgba(2,6,23,.10);
  color: #0b1220;
}
body.theme-light .mobile-cta-btn{ color: rgba(2,6,23,.86); }
body.theme-light .lightbox{ background: rgba(2,6,23,.72); }


/* ===============================
   LIGHT THEME – COMPONENT POLISH
================================ */

/* Topbar */
body.theme-light .topbar{
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(2,6,23,.08);
}
body.theme-light .topbar-item{
  color: rgba(2,6,23,.70);
}
body.theme-light .topbar-item i{
  color: var(--brand);
}
body.theme-light .topbar-link{
  color: rgba(2,6,23,.82);
}
body.theme-light .topbar-link:hover{
  color: #0b1220;
}
body.theme-light .topbar-divider{
  color: rgba(2,6,23,.22);
}

/* Hero background tuned for light mode (keeps image, adds bright overlay) */
body.theme-light .hero-bg{
  background:
    radial-gradient(900px 520px at 20% 15%, rgba(37,99,235,.18), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(22,163,74,.12), transparent 55%),
    linear-gradient(90deg, rgba(248,250,252,.92) 0%, rgba(248,250,252,.82) 55%, rgba(248,250,252,.45) 100%),
    url("../img/hero.png") center/cover no-repeat;
  filter: saturate(1.05) brightness(1.08);
}

/* Mobile hero overlay */
@media (max-width: 768px){
  body.theme-light .hero-bg{
    background:
      radial-gradient(600px 420px at 50% 12%, rgba(37,99,235,.14), transparent 60%),
      radial-gradient(520px 420px at 50% 30%, rgba(22,163,74,.10), transparent 55%),
      linear-gradient(180deg, rgba(248,250,252,.92) 0%, rgba(248,250,252,.78) 60%, rgba(248,250,252,.92) 100%),
      url("../img/hero.png") center top / auto 110% no-repeat;
    filter: saturate(1.03) brightness(1.10);
  }
}

/* Badge pill + open/closed chip */
body.theme-light .badge-pill{
  background: rgba(2,6,23,.04);
  border: 1px solid rgba(2,6,23,.10);
  color: rgba(2,6,23,.82);
}
body.theme-light #openNowHeader .badge{
  border: 1px solid rgba(2,6,23,.10);
}

/* Cards: switch from dark-glass to clean light cards */
body.theme-light .feature-card,
body.theme-light .price-card,
body.theme-light .review-card,
body.theme-light .cta-strip,
body.theme-light .media-card,
body.theme-light .faq .accordion-item{
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(2,6,23,.10) !important;
  box-shadow: 0 12px 34px rgba(2,6,23,.08);
}

/* Card text color (some rules in dark mode force light text) */
body.theme-light .card,
body.theme-light .review-card,
body.theme-light .price-card,
body.theme-light .feature-card{
  color: rgba(2,6,23,.90);
}

/* Icon badges */
body.theme-light .icon-badge{
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(37,99,235,.18);
}
body.theme-light .icon-badge i{ color: var(--brand); }

/* Hero highlights */
body.theme-light .hl{
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(2,6,23,.10);
}
body.theme-light .hl i{
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(37,99,235,.18);
  color: var(--brand);
}

/* Buttons */
body.theme-light .btn-primary{
  background: linear-gradient(135deg, #2563eb, #4f46e5);
}
body.theme-light .btn-outline-light,
body.theme-light .btn-outline-dark{
  color: rgba(2,6,23,.78);
  border-color: rgba(2,6,23,.18);
}
body.theme-light .btn-outline-light:hover,
body.theme-light .btn-outline-dark:hover{
  background: rgba(37,99,235,.08);
  border-color: rgba(37,99,235,.35);
  color: #0b1220;
}

/* FAQ chevron */
body.theme-light .faq .accordion-button::after{
  filter: none;
  opacity: .75;
}

/* Contact card becomes light in light mode */
body.theme-light .contact-card{
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(2,6,23,.10);
  box-shadow: 0 18px 55px rgba(2,6,23,.10);
}
body.theme-light .contact-card .form-control,
body.theme-light .contact-card .form-select,
body.theme-light .contact-card textarea{
  background: rgba(2,6,23,.03);
  border: 1px solid rgba(2,6,23,.14);
  color: #0b1220;
}
body.theme-light .contact-card .form-control::placeholder,
body.theme-light .contact-card textarea::placeholder{
  color: rgba(2,6,23,.45);
}
body.theme-light .contact-card .form-control:focus,
body.theme-light .contact-card .form-select:focus,
body.theme-light .contact-card textarea:focus{
  border-color: rgba(37,99,235,.55);
  box-shadow: var(--ring);
}

/* Modals */
body.theme-light .modal-content{
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  border: 1px solid rgba(2,6,23,.12);
}
body.theme-light .modal-header{
  border-bottom: 1px solid rgba(2,6,23,.10);
}

/* Footer */
body.theme-light footer{
  background: rgba(255,255,255,.70);
  border-top: 1px solid rgba(2,6,23,.08);
}
body.theme-light .footer-links a:hover{ color: var(--brand); }
body.theme-light .footer-small-link:hover{ color: #0b1220; }

/* Prevent horizontal overflow */
html, body{ width:100%; max-width:100%; overflow-x:hidden; }


body.theme-light .modal-content{
  border-color: rgba(2,6,23,.10);
  box-shadow: 0 22px 70px rgba(2,6,23,.14);
}


/* ===============================
   CONTACT SECTION – LAYOUT FIX
================================= */
#kontakt .row { --bs-gutter-x: 1.5rem; }

.map-wrap.map-full { margin-top: 6px; }
.map-wrap.map-full iframe { height: 420px; }

@media (max-width: 992px) {
  .map-wrap.map-full iframe { height: 360px; }
}
@media (max-width: 576px) {
  .map-wrap.map-full iframe { height: 320px; }
}

/* Make cards feel balanced when map is below */



/* =====================================
   MOBILE CENTERING + HEADER FIX (PRO)
===================================== */

/* Hide floating WhatsApp on mobile (CTA bar already shows WhatsApp) */
@media (max-width: 768px){
  .float-whatsapp{ display: none !important; }
}

/* Center main content on mobile (without hurting form readability) */
@media (max-width: 768px){
  /* Section headings/subtitles */
  .section-title, .section-subtitle,
  .section-badge, .section-kicker,
  h1, h2, h3, h4, h5, h6 {
    text-align: center;
  }

  /* Hero already optimized — keep everything centered */
  .hero .col-lg-7{ text-align: center; }
  .hero .badge-pill{ margin-left: auto; margin-right: auto; justify-content: center; }
  .hero .d-flex.flex-wrap{ justify-content: center; }
  .hero .btn{ width: 100%; max-width: 340px; }

  /* Cards: make them feel centered */
  .feature-card, .review-card, .price-card{
    text-align: center;
  }
  .feature-card .text-start,
  .review-card .text-start,
  .price-card .text-start{
    text-align: left; /* if any internal blocks require left alignment */
  }

  /* Kontakt: center section + cards, keep form fields left aligned */
  #kontakt .row{ justify-content: center; }
  #kontakt .contact-card{ margin-left: auto; margin-right: auto; }
  #kontakt .contact-card .form-label,
  #kontakt .contact-card .form-check-label,
  #kontakt .contact-card .form-control,
  #kontakt .contact-card .form-select,
  #kontakt .contact-card textarea{
    text-align: left;
  }
}

/* Desktop: fixed header for easier navigation */
@media (min-width: 992px){
  #mainNav{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
  }
  body{
    padding-top: var(--nav-h, 76px);
  }
}

/* Header style when scrolled */
#mainNav.nav-scrolled{
  background: rgba(11,18,32,.92) !important;
  border-bottom-color: rgba(255,255,255,.14) !important;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}

/* =====================================
   MOBILE: CENTER EVERYTHING (EXCEPT CONTACT SECTION)
===================================== */
@media (max-width: 768px){
  /* Center general layout for all sections except #kontakt */
  header.hero,
  section.section:not(#kontakt),
  footer.footer{
    text-align: center;
  }

  /* Center common blocks (except contact) */
  section.section:not(#kontakt) .row{
    justify-content: center;
  }

  /* If any elements force left align, bring them to center (except contact) */
  section.section:not(#kontakt) .text-start{
    text-align: center !important;
  }

  section.section:not(#kontakt) .justify-content-start{
    justify-content: center !important;
  }

  section.section:not(#kontakt) .align-items-start{
    align-items: center !important;
  }

  /* Footer columns centered */
  .footer .row{
    justify-content: center;
    text-align: center;
  }

  /* Keep Kontakt section untouched */
  #kontakt{
    text-align: initial;
  }
  #kontakt .text-start{
    text-align: inherit !important;
  }
}


/* =====================================
   MOBILE: EXTRA CENTERING (icons, cards, button rows)
   (Kontakt section stays unchanged)
===================================== */
@media (max-width: 768px){

  /* --- HERO HIGHLIGHTS: center icon + text --- */
  .hero-highlights .hl{
    flex-direction: column;
    align-items: center;
    text-align: center !important;
  }
  .hero-highlights .hl > div{
    text-align: center;
  }
  .hero-highlights .hl i{
    margin: 0 0 10px 0;
    width: 44px;
    height: 44px;
  }

  /* --- Feature cards (Leistungen etc.): center icon badge + text --- */
  section.section:not(#kontakt) .feature-card .card-body{
    text-align: center;
  }
  section.section:not(#kontakt) .feature-card .icon-badge{
    margin-left: auto;
    margin-right: auto;
  }

  /* --- Center common CTA rows (like "Route & Kontakt" / "Unsere Preise") --- */
  section.section:not(#kontakt) .d-flex.gap-3.flex-wrap{
    justify-content: center;
  }
  section.section:not(#kontakt) .d-flex.gap-3.flex-wrap .btn{
    width: 100%;
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
  }

  /* --- Center generic icon chips used inside cards/headers --- */
  section.section:not(#kontakt) .icon-badge,
  section.section:not(#kontakt) .chip,
  section.section:not(#kontakt) .badge-pill{
    margin-left: auto;
    margin-right: auto;
  }

  /* Keep Kontakt section untouched (hard override) */
  #kontakt,

  #kontakt .d-flex{
    justify-content: initial;
    align-items: initial;
  }
}







