
  
  
  /* ==== Reset & Base ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f8fc;
  padding-top: 0;
}

/* ==== NAVBAR DESKTOP ==== */
.navbar {
  /* NICHT fixed – normal oben, scrollt mit */
  position: relative;
  width: 100%;
  height: 96px;        /* kompakte Höhe */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 1000;

  background: linear-gradient(180deg, #2c5364 0%, #203a43 60%, #0f2027 100%),
              linear-gradient(270deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 100%);
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
}

/* Logo + Linie + Text nebeneinander */
.logo-container {
  display: flex;
  align-items: center;
  gap: 14px;              /* Abstand Logo – Linie – Text */
  height: 100%;
  margin-left: 0;
}

/* Logo-Größe */
.logo {
  height: 95px;   /* etwas kleiner als ganz am Anfang */
  width: auto;
}

/* Container für die Linie */
.logo-divider {
  position: relative;
  width: 26px;            /* „Breite“ des Bereichs */
  height: 46px;           /* „Höhe“ des Bereichs */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -25px;
}

/* Eigentliche schräge Linie */
.logo-divider::before {
  content: "";
  width: 2px;
  height: 65px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(0, 184, 169, 0.0),
    #00b8a9,
    rgba(0, 184, 169, 0.0)
  );
  box-shadow: 0 0 10px rgba(0, 184, 169, 0.7);
  transform: rotate(-25deg);   /* Neigung der Linie */
  transform-origin: center;
}

/* Tagline rechts vom Logo in zwei Zeilen */
.logo-tagline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: -12px;
  margin-bottom: 4px;    /* schiebt den Text leicht nach oben */

  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #e8f2f8;
  text-transform: none;
  white-space: normal;   /* Zeilenumbruch erlaubt */
  line-height: 1.1;
  opacity: 0.95;
}

.tagline-line1,
.tagline-line2 {
  display: block;
}

/* leichte Einrückung der zweiten Zeile */
.tagline-line2 {
  margin-left: 10px;
}

/* ==== Links (Layout Desktop) ==== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 18.5px;
  transition: color .25s ease;
}

.nav-links a:hover {
  color: #00ffcc;
}

.nav-links .active > a {
  color: #00ffcc;
  border-bottom: 2px solid #00ffcc;
}

/* ==== Pill-Stil + Hover / Press (Desktop) ==== */
.nav-links > li:not(.active) > a {
  position: relative;
  overflow: hidden;
  padding: 7px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  -webkit-backdrop-filter: saturate(120%) blur(2px);
  backdrop-filter: saturate(120%) blur(2px);
  transition:
    background-color .25s ease,
    box-shadow .25s ease,
    transform .18s ease,
    color .25s ease;
}

.nav-links > li:not(.active) > a:hover,
.nav-links > li:not(.active) > a:focus {
  background: rgba(0,0,0,.3);
  color: #00ffcc;
  box-shadow:
    0 8px 22px rgba(0,184,169,.18),
    inset 0 1px 0 rgba(255,255,255,.14);
  outline: none;
}

.nav-links > li:not(.active) > a:active {
  transform: translateY(1px) scale(.985);
}

/* Glanz-Sweep */
.nav-links > li:not(.active) > a::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -130%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.15) 50%,
    transparent 100%
  );
  transform: skewX(-20deg);
  opacity: 0;
  transition: transform .55s ease, opacity .35s ease;
  pointer-events: none;
}

.nav-links > li:not(.active) > a:hover::before,
.nav-links > li:not(.active) > a:focus::before {
  transform: translateX(230%) skewX(-20deg);
  opacity: .9;
}

/* Ripple */
.nav-links > li:not(.active) > a::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(0,184,169,.45), transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .35s ease;
  pointer-events: none;
}

.nav-links > li:not(.active) > a:active::after {
  transform: translate(-50%, -50%) scale(14);
}

/* ==== Pfeil für Dropdown ==== */
.nav-arrow {
  display: inline-block;
  margin-left: 2px;
  width: .9em;
  text-align: center;
  line-height: 1;
  opacity: .9;
  transform: translateY(1px) rotate(0deg);
  transition:
    transform .22s cubic-bezier(.3,.7,.2,1.2),
    opacity .2s ease,
    color .2s ease,
    letter-spacing .2s ease;
}

.nav-arrow::before {
  content: "❯";              /* schlanker Rechts-Pfeil */
}

.dropdown > a:hover .nav-arrow,
.dropdown > a:focus .nav-arrow {
  color: #00ffcc;
  opacity: 1;
  letter-spacing: .5px;
}

.dropdown > a:active .nav-arrow {
  transform: translateY(2px) rotate(10deg) scale(1.08);
}

.dropdown > a[aria-expanded="true"] .nav-arrow {
  transform: translateY(2px) rotate(90deg); /* nach unten */
}

/* ==== Dropdown (Desktop, verbunden) ==== */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 230px;
  background: #1b2a37;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  transform: translateY(6px) scale(.98);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 2000;
}

/* Connector unter dem Pill – perfekt zentriert */
.dropdown.open > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 22px;
  height: 12px;
  border-radius: 0 0 10px 10px;
  background: #1b2a37;
  border-left: 1px solid rgba(255,255,255,.08);
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 6px 12px rgba(0,0,0,.22);
  pointer-events: none;
}

/* wenn offen, Pill optisch verbinden */
.dropdown.open > a {
  background: rgba(0,0,0,.34);
  border-color: rgba(0,255,204,.22);
  box-shadow:
    0 12px 26px rgba(0,184,169,.16),
    inset 0 1px 0 rgba(255,255,255,.18);
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: #fff;
  font-size: 15px;
  transition: background .18s ease, padding-left .18s ease;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: #2a3a48;
  color: #00ffcc;
  outline: none;
  padding-left: 20px;
}

/* ==== CTA (Desktop) ==== */
.highlight-link {
  color: #00ffcc;
  border: 2px solid #00ffcc;
  border-radius: 12px;
  padding: 6px 14px;
  transition: all .3s ease;
}

.highlight-link:hover {
  background: #00ffcc;
  color: #003344;
}

/* ==== MOBILE: Hamburger-Button – nur Icon, kein Kreis ==== */
.hamburger {
  display: none;              /* Desktop: unsichtbar */
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  width: 34px;
  height: 34px;
  cursor: pointer;

  align-items: center;
  justify-content: center;
}

.hamburger i {
  font-size: 25px;            /* vorher 16px → jetzt größer, aber nicht riesig */
  color: #ffffff;
}

.hamburger:hover i {
  color: #00ffcc;
}

.hamburger[aria-expanded="true"] i {
  color: #00ffcc;
}

.hamburger:focus-visible {
  outline: 2px solid #00ffcc;
  outline-offset: 3px;
}

.mobile-shortcuts {
  display: none;
}


@media (max-width: 900px) {

  .navbar {
    height: 70px;
    padding: 0 10px;          /* etwas weniger Rand rechts/links */
    justify-content: flex-start;
  }

  .logo-container {
    margin-left: -4px;
    margin-bottom: 0;
    gap: 8px;
    flex: 1 1 auto;           /* Logo nimmt den Platz dazwischen ein */
  }

  /* nur EINE Definition! */
  .navbar-right-mobile {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;        /* schiebt Icons + Burger nach rechts */
    margin-right: 2px;          /* falls woanders was gesetzt wurde */
  }

  .logo {
    height: 60px;
  }

  .logo-divider {
    margin-left: -12px;
    height: 38px;
  }

  .logo-divider::before {
    height: 48px;
    box-shadow: 0 0 6px rgba(0, 184, 169, 0.6);
  }

  .logo-tagline {
    margin-left: -4px;
    margin-bottom: 0;
    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 1.1;
  }

  .tagline-line2 {
    margin-left: 6px;
  }

  .mobile-shortcuts {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .mobile-shortcuts a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(0,184,169,.12);
    border-radius: 50%;
    color: #00b8a9;
    font-size: 17px;
    transition:
      transform .2s ease,
      background-color .2s ease,
      color .2s ease;
  }

  .mobile-shortcuts a:hover {
    background: rgba(0,184,169,.2);
    color: #009e92;
    transform: scale(1.08);
  }

  .hamburger {
    display: flex;
  }

  /* Burger-Menü Panel – zentriert, einheitliche Breite */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 420px;
    margin: 0 auto;
    background: #111b24;
    padding: 14px 14px 18px;
    gap: 10px;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 14px 30px rgba(0,0,0,.35);
    z-index: 999;
    overflow-x: hidden;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-links > li > a {
    width: 100%;
    font-size: 16px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    transition:
      background-color .25s ease,
      transform .15s ease,
      color .25s ease;
  }

  .nav-links > li > a:hover {
    background: rgba(255,255,255,.08);
    transform: scale(1.02);
  }

  .nav-links > li > a:active {
    transform: scale(.97);
    background: rgba(0,184,169,.15);
  }

  .dropdown > a {
    width: 100%;
  }

  .nav-links > li > a.highlight-link {
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    border: 1px solid #00ffcc;
    background: linear-gradient(135deg, #00b8a9, #00e6c3);
    color: #021b24;
    font-weight: 600;
  }

  .nav-links > li > a.highlight-link i {
    font-size: 17px;
    margin: 0;
  }

  .nav-links > li > a.highlight-link:hover {
    background: linear-gradient(135deg, #00e6c3, #00b8a9);
    transform: scale(1.02);
  }

  .dropdown-menu {
    position: static;
    min-width: unset;
    border: none;
    background: transparent;
    box-shadow: none;
    margin-top: 4px;

    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    padding: 0;
    transform: none;
    transition:
      max-height .28s ease,
      opacity .22s ease,
      padding .22s ease;
  }

  .dropdown.open .dropdown-menu {
    max-height: 1000px;
    opacity: 1;
    pointer-events: auto;
    padding: 4px 0 2px;
  }

  .dropdown-menu a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 15px;
    color: #dde7f2;
    padding: 8px 10px 8px 30px;
    border-radius: 8px;
    background: transparent;
    position: relative;
  }

  .dropdown-menu a::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #00b8a9;
    opacity: 0.75;
  }

  .dropdown-menu a:hover,
  .dropdown-menu a:focus {
    background: rgba(255,255,255,.06);
    color: #00ffcc;
    padding-left: 32px;
  }

  .dropdown.open > a::after {
    display: none;
  }

  .nav-arrow {
    display: inline-block;
    margin-left: 6px;
    line-height: 1;
    opacity: .95;
    transition:
      transform .22s cubic-bezier(.3,.7,.2,1.2),
      color .2s ease;
  }

  .dropdown > a:hover .nav-arrow {
    color: #00ffcc;
  }

  .dropdown > a[aria-expanded="true"] .nav-arrow {
    transform: rotate(90deg);
  }
}

/* sorgt dafür, dass Anker-Ziele unter einer (ursprünglich fixen) Navbar korrekt einrasten */
#results-section,
#search-section {
  scroll-margin-top: 110px; /* Desktop (Navbar ~96px) */
}

@media (max-width: 900px) {
  #results-section,
  #search-section {
    scroll-margin-top: 90px; /* Mobile (Navbar ~70px) */
  }
}

/* optional für weiches Scrollen */
html {
  scroll-behavior: smooth;
}

/* === Anti-Overscroll (Seite) === */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;           /* kein horizontales Scrollen */
  overscroll-behavior-x: none;  /* verhindert iOS/Android "Seitwärts-Ziehen" */
  touch-action: auto;          /* nur vertikales Scrollen auf der Seite */
}

/* Clip alles, was ggf. aus dem Viewport ragen könnte */
.navbar,
.homepage-main,
.hero-with-image,
.search-section {
  overflow-x: clip;            /* moderner als hidden, clippt ohne Scrollbar */
}

/* Bilder/Videos niemals breiter als der Viewport */
img, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==== ULTRA-WIDE SCREENS (z.B. ab 1400px) ==== */
@media (min-width: 1400px) {
  .navbar {
    /* Inhalt auf ~1280px begrenzen und zentrieren */
    padding-left: calc(50vw - 640px);
    padding-right: calc(50vw - 640px);
  }
}

/* === Sprechblasen-Connector für das Dropdown (Desktop) === */
@media (min-width: 901px) {
  .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -9px;                /* sitzt knapp über dem Panel */
    left: 40px;               /* Abstand von links – an dein Pill anpassen */
    width: 16px;
    height: 16px;
    background: #1b2a37;      /* gleiche Farbe wie .dropdown-menu */
    transform: rotate(45deg); /* macht aus dem Quadrat ein „Dreieck“ */
    
    /* leichte Outline wie das Panel */
    border-left: 1px solid rgba(255,255,255,.08);
    border-top: 1px solid rgba(255,255,255,.08);
    box-shadow: -2px -2px 4px rgba(0,0,0,.25);
    z-index: -1;              /* zieht sich unter den Panel-Radius */
  }
}


  
/* Force: gleiche Ausrichtung wie anzeige.html (Menü startet am linken Pill-Rand) */
.navbar .dropdown { position: relative; }           /* falls nicht schon so */
.navbar .dropdown-menu{
  left: 0 !important;
  right: auto !important;
  transform: translateY(6px) scale(.98) !important; /* X-Übersetzung entfernen */
}


  
  
  
  
/* Neuer Zurück-Button */
.back-link {
  --accent1: #00b8a9;
  --accent2: #48e6d7;
  --bg: #16222f;                 /* dunkler als #1a2733 für Kontrast */

  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 9999px;         /* pill */
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .2px;
  text-decoration: none;
  color: #eaf6f4;

  /* Gradient-Rahmen mit doppelt Background */
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(135deg, var(--accent1), var(--accent2)) border-box;
  border: 2px solid transparent;

  /* subtiler Glas-Effekt */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    color .18s ease,
    background .3s ease;
  margin-left: auto;             /* bleibt rechts in der Navbar */
}

.back-link i {
  font-size: 14px;
  transition: transform .18s ease, opacity .18s ease;
  opacity: .9;
}

.back-link:hover {
  transform: translateX(-2px);   /* „zurück“-Gefühl */
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.back-link:hover i {
  transform: translateX(-3px);
  opacity: 1;
}

.back-link:active {
  transform: translateX(-1px) translateY(1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

.back-link:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(0, 184, 169, 0.30),
    0 8px 24px rgba(0, 0, 0, 0.32);
}

/* Kleinere Screens: kompakter + optional nur Icon */
@media (max-width: 480px) {
  .back-link {
    padding: 9px 12px;
    gap: 8px;
  }
  .back-link .label {
    display: none;               /* nur Icon anzeigen; Text bleibt im DOM für a11y */
  }
}

/* Nutzer mit Bewegungsreduktion: Animationen minimieren */
@media (prefers-reduced-motion: reduce) {
  .back-link,
  .back-link i {
    transition: none;
  }
}

  
  
  
  
  
  body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f8fc;
    margin: 0;
    padding: 0;
    color: #eaeff4;
  }
  
  .form-wrapper {
    max-width: 900px;
    margin: 40px auto 60px; /* vorher: 100px */
    padding: 40px;
    background: linear-gradient(135deg, #1a2733, #222f3e);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  }
  
  .form-wrapper h1 {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .form-subline {
    text-align: center;
    font-size: 15.5px;
    color: #c9d2dc;
    margin-bottom: 40px;
  }
  
  fieldset {
    border: none;
    margin-bottom: 40px;
    padding: 0;
  }
  
  legend {
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
  }
  
  /* Grid */
  .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
  }
  
  label {
    font-size: 14px;
    margin-bottom: 6px;
    color: #cfdce8;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%; /* optional */
  }
  
  
  label[title]:hover::after {
    content: attr(title);
    position: absolute;
    background-color: #1a2733;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 100;
    top: -35px;
  }
  
  /* Input/Select */
  input,
  select {
    padding: 12px 14px;
    border: 2px solid #3c4a58;
    border-radius: 10px;
    font-size: 15px;
    background-color: #2b3947;
    color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  input:focus,
  select:focus {
    outline: none;
    border-color: #00b8a9;
    box-shadow: 0 0 12px rgba(0, 184, 169, 0.3);
  }
  
  /* Dropdown-Pfeil */
  select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='10' height='7' viewBox='0 0 10 7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23ffffff' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 7px;
  }
  
  /* Mobile Optimierung */
  @media (max-width: 600px) {
    .form-wrapper {
      padding: 24px;
    }
    
    .form-wrapper h1 {
      font-size: 24px;
    }
    
    .form-subline {
      font-size: 14px;
      margin-bottom: 30px;
    }
    
    .form-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
  }
  
  
  
  
  
  
  
  
  
  
  
  .tarif-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  .tarif-option {
    display: block;
    cursor: pointer;
    color: inherit;
  }
  
  .tarif-box {
    background: #2b3947;
    border: 2px solid #3c4a58;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.25s ease;
  }
  
  .tarif-box h3 {
    font-size: 17px;
    margin-bottom: 6px;
    color: #ffffff;
  }
  
  .tarif-box p {
    font-size: 15px;
    color: #00b8a9;
  }
  
  .tarif-option input[type="radio"] {
    display: none;
  }
  
  .tarif-option input[type="radio"]:checked+.tarif-box {
    border-color: #00b8a9;
    box-shadow: 0 0 12px rgba(0, 184, 169, 0.3);
  }
  
  
  
  
  
  
  
  
  .whatsapp-checkbox {
    display: inline-block;
    cursor: pointer;
    user-select: none;
  }

  .whatsapp-checkbox {
    margin-top: 10px; /* oder weniger, je nach Optik */
  }
  
  
  
  .whatsapp-checkbox input[type="checkbox"] {
    display: none;
  }
  
  .checkbox-visual {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background-color: #2b3947;
    border: 2px solid #3c4a58;
    border-radius: 10px;
    transition: all 0.25s ease;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
  }
  
  .checkbox-visual i {
    font-size: 20px;
    color: #8e9ea9;
    background-color: #1a2733;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  
  .whatsapp-checkbox input:checked+.checkbox-visual {
    border-color: #00b8a9;
    box-shadow: 0 0 10px rgba(0, 184, 169, 0.35);
    background-color: #253646;
    color: #00e0c0;
  }
  
  .whatsapp-checkbox input:checked+.checkbox-visual i {
    background-color: #25D366;
    color: #ffffff;
  }
  
  
  
  
  
  
  
  textarea {
    padding: 12px 14px;
    border: 2px solid #3c4a58;
    border-radius: 10px;
    font-size: 15px;
    background-color: #2b3947;
    color: #ffffff;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  textarea:focus {
    outline: none;
    border-color: #00b8a9;
    box-shadow: 0 0 12px rgba(0, 184, 169, 0.3);
  }
  
  .checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
  }
  
  .form-note.small {
    font-size: 13.5px;
    color: #c9d2dc;
    margin-top: 15px;
    line-height: 1.5;
  }
  
  .form-submit {
    text-align: center;
    margin-top: 40px;
  }
  
  .submit-btn {
    background-color: #00b8a9;
    color: #1a2733;
    font-size: 16px;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .submit-btn:hover {
    background-color: #00a093;
  }
  
  
    .checkbox-list {
      gap: 12px;
    }
    
    .checkbox-tile {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      background-color: #2b3947;
      padding: 12px 14px;
      border: 2px solid #3c4a58;
      border-radius: 10px;
      font-size: 13.5px;
      line-height: 1.5;
      color: #ffffff;
    }
    
    .checkbox-tile input[type="checkbox"] {
      transform: scale(1.2);
      accent-color: #00b8a9;
      margin-top: 3px;
    }
    
    .checkbox-tile .checkbox-label {
      display: inline-block;
      color: #eaeff4;
    }
    
    .checkbox-tile .checkbox-label a {
      color: #00b8a9;
      text-decoration: underline;
      word-break: break-word;
  }
  
  
  
  
  
  
  
  
  
  @media (max-width: 600px) {
  
    html, body {
      overflow-x: hidden !important;
      max-width: 100vw !important;
      
    }
  
    
      .form-wrapper {
        padding: 32px 16px 24px !important; /* statt 110px */
        margin: 0 !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
        width: 100% !important;
      }
    
    
  
    
  
    .form-wrapper h1 {
      font-size: 22px;
    }
  
    .form-subline {
      font-size: 14px;
      margin-bottom: 25px;
    }
  
    legend {
      font-size: 18px;
      margin-bottom: 16px;
    }
  
    .form-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
  
    .form-group label {
      font-size: 13.5px;
    }
  
    input,
    select,
    textarea {
      font-size: 14px;
      padding: 11px 12px;
      max-width: 100%;
      box-sizing: border-box;
    }
  
    .tarif-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
  
    .tarif-box {
      padding: 16px;
    }
  
    .tarif-box h3 {
      font-size: 16px;
    }
  
    .tarif-box p {
      font-size: 14px;
    }
  
    .checkbox-visual {
      flex-direction: row;
      justify-content: center;
      font-size: 14px;
      padding: 12px 14px;
    }
  
    .checkbox-visual i {
      font-size: 18px;
      padding: 6px;
    }
  
    .form-note.small {
      font-size: 12.5px;
      line-height: 1.4;
    }
  
    .submit-btn {
      width: 100%;
      font-size: 15px;
      padding: 14px 0;
    }
  
    .checkbox-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
      width: 100%;
    }
  
    .checkbox-tile {
      display: flex;
      align-items: flex-start;
      flex-direction: row;
      gap: 12px;
      padding: 12px;
      background-color: #2b3947;
      border: 2px solid #3c4a58;
      border-radius: 10px;
      box-sizing: border-box;
      width: 100%;
      flex-wrap: nowrap; /* <<< WICHTIG: wrap statt nowrap */
    }
  
    .checkbox-tile input[type="checkbox"] {
      flex-shrink: 0;
      transform: scale(1.2);
      margin-top: 3px;
    }
  
    .checkbox-label {
      flex: 1 1 100%;
      display: block;
      color: #eaeff4;
      font-size: 13.5px;
      word-break: break-word;
      overflow-wrap: break-word;
    }
  
    .checkbox-label a {
      color: #00b8a9;
      text-decoration: underline;
      word-break: break-word;
    }
  }
  
  
  
  .checkbox-label {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
  }









  .logo-upload {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  }
  .logo-preview {
    width: 96px; height: 96px; border-radius: 50%;
    background: #253544; border: 2px dashed #3c4a58;
    position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
  }
  .logo-preview img { width: 100%; height: 100%; object-fit: cover; display: none; }
  .logo-preview span { color: #c9d2dc; font-weight: 700; font-size: 22px; letter-spacing: .5px; }
  
  .file-label {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 14px; background: #2b3947; border: 2px solid #3c4a58; border-radius: 10px;
    color: #fff; cursor: pointer; transition: .25s; font-weight: 600;
  }
  .file-label:hover { border-color: #00b8a9; box-shadow: 0 0 10px rgba(0,184,169,.35); }
  
  .logo-controls .hint { margin: 8px 0 0; color: #c9d2dc; font-size: 13px; }
  .link-btn {
    background: transparent; border: none; color: #00b8a9; font-weight: 600; cursor: pointer; padding: 8px 0;
  }
  .link-btn:hover { text-decoration: underline; }
  
  @media (max-width:600px){
    .logo-preview { width: 80px; height: 80px; }
  }
  













  .phone-input {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  .phone-prefix {
    padding: 8px 10px;
    border-radius: 10px;
    background: #e3e9ef;
    font-size: 14px;
    color: #1a2733;
    white-space: nowrap;
  }
  
  .phone-input input[type="tel"] {
    flex: 1;
  }
  
  /* Öffnungszeiten-Grid – simpel */
  .opening-hours-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  
  .opening-hours-row {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto minmax(0, 1fr) auto;
    gap: 6px;
    align-items: center;
  }
  
  .day-label {
    font-size: 14px;
    color: #37444f;
  }
  
  .dash {
    text-align: center;
  }
  
  .closed-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
  }
  




  /* === Telefonfelder mit +49 im Autovisa-Stil === */
.phone-input {
  display: flex;
  align-items: stretch;
  gap: 0;                      /* Prefix & Input sind „ein Block“ */
}

.phone-prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  min-width: 58px;

  background-color: #222f3e;
  border-radius: 10px 0 0 10px;
  border: 2px solid #3c4a58;
  border-right: none;

  font-size: 14px;
  color: #cfdce8;
}

.phone-input input[type="tel"] {
  flex: 1;
  border-radius: 0 10px 10px 0;
  border-left: none;
}

/* Fokuszustand für die ganze Einheit */
.phone-input:focus-within .phone-prefix,
.phone-input:focus-within input[type="tel"] {
  border-color: #00b8a9;
  box-shadow: 0 0 12px rgba(0, 184, 169, 0.3);
}





/* === "Geschlossen"-Toggle im Autovisa-Stil === */
.closed-toggle {
  display: flex;
  justify-content: flex-end;
}

.closed-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 2px solid #3c4a58;
  background-color: #2b3947;
  font-size: 13px;
  color: #cfdce8;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.closed-toggle input[type="checkbox"] {
  accent-color: #00b8a9;
  transform: scale(1.1);
}

/* Wenn angekreuzt → leuchtender Rahmen */
.closed-toggle label:has(input[type="checkbox"]:checked) {
  border-color: #00b8a9;
  box-shadow: 0 0 10px rgba(0, 184, 169, 0.35);
  color: #00e0c0;
  background-color: #253646;
}
