/* ==========================================================================
   STYLE_COMBINED.CSS – FrankEssl.de / Lions-Krapfentaxi (Frontend + Backend)
   Version: 1.0
   --------------------------------------------------------------------------
   Enthält:
   • Frontend-Styling (Startseite, Plus-für-Zell, Carousel, Footer, etc.)
   • Backend-Styling (Accordion, Datenschutz-Editor, Buttons)
   --------------------------------------------------------------------------
   Farbwelt:
   --primary: #F50057 (Magenta)
   --secondary: #FFAB00 (Goldgelb)
   ========================================================================== */

/* === ROOT COLORS === */
:root {
  --primary: #F50057;
  --secondary: #FFAB00;
  --hero-overlay: rgba(0, 0, 0, 0.8);
}

/* === BASE === */
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  color: #212529;
  margin: 0;
}
body.scroll-padding-fix {
  scroll-padding-top: 100px;
}
body.scroll-padding-fix section[id] {
  scroll-margin-top: 100px;
}

/* === NAVIGATION === */
#mainNav .nav-link {
  color: #ffffff;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  position: relative;
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: #EBB700;
  font-weight: 600;
}
.nav-link.active {
  color: #EBB700 !important;
  font-weight: bold;
}

/* === DROPDOWN === */
.dropdown-menu {
  background-color: #111;
  border: none;
  z-index: 1050 !important;
  position: relative;
}
.dropdown-menu .dropdown-item {
  color: #fff;
}
.dropdown-menu .dropdown-item:hover {
  background-color: #333;
  color: #ffd700;
}
@media (max-width: 991.98px) {
  .dropdown-menu .dropdown-item:hover {
    background-color: #333;
    color: #ffd700;
  }
}
.header-container,
.header-row,
.header-nav {
  overflow: visible !important;
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  position: relative;
  color: white;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/images/bg.webp') center/cover no-repeat;
  z-index: -2;
  transform: scale(1.02);
  filter: saturate(0.9) contrast(0.9);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: -1;
}

/* === FORM-KARTEN === */
.form-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(6px);
  border-radius: 1rem;
  padding: 2rem;
  width: 100%;
  max-width: 900px;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}
.form-card input,
.form-card select {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}
.form-card input::placeholder {
  color: rgba(255,255,255,0.6);
}

/* === BUTTONS === */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-outline-secondary {
  border-color: var(--secondary);
  color: var(--secondary);
}
.btn-outline-secondary:hover {
  background-color: var(--secondary);
  color: #000;
}
.btn-sendkontakt {
  background-color: var(--primary) !important;
  color: #fff !important;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  padding: 0.25rem 1.75rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}
.btn-sendkontakt:hover,
.btn-sendkontakt:focus {
  background-color: var(--secondary) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* === THANK YOU BOX === */
.thank-you-box,
.thank-you-box2 {
  margin: 5px auto;
  padding: 2px;
  text-align: center;
}
.thank-you-box {
  text-align: left;
}

/* === OWL CAROUSEL CLEAN === */
.owl-carousel .owl-nav,
.owl-carousel .owl-prev,
.owl-carousel .owl-next {
  display: none !important;
}
.owl-carousel .owl-dots {
  display: flex !important;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  gap: 4px;
}
.owl-carousel .owl-dots .owl-dot span {
  width: 30px;
  height: 15px;
  margin: 5px 4px;
  border-radius: 10px;
  background-color: silver;
  transition: all 0.3s ease;
}
.owl-carousel .owl-dots .owl-dot:hover span {
  background-color: var(--secondary);
}
.owl-carousel .owl-dots .owl-dot.active span {
  background-color: var(--primary);
  width: 40px;
}
.owl-carousel .owl-item {
  transition: opacity 0.4s ease-in-out;
}

/* === ACCORDION (Datenschutz / Impressum Backend) === */
.accordion-header {
  margin-bottom: 0;
  background-color: rgba(var(--primary-rgb, 245, 0, 87), 0.75) !important;
}
.accordion-button {
  color: #fff;
  font-weight: 600;
  font-size: 1.25rem;
  background-color: transparent;
  border: none;
  box-shadow: none;
}
.accordion-button.collapsed {
  background-color: rgba(var(--primary-rgb, 245, 0, 87), 0.75) !important;
}
.accordion-button:not(.collapsed) {
  background-color: rgba(var(--primary-rgb, 245, 0, 87), 0.5) !important;
  color: #fff;
}
.accordion-body {
  background-color: rgba(var(--primary-rgb, 245, 0, 87), 0.1);
  color: #fff;
}
input.ueberschrift-input,
textarea.inhalt-input {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
input.ueberschrift-input:focus,
textarea.inhalt-input:focus {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
  box-shadow: none;
}
.ue-preview,
.inh-preview {
  color: rgba(255, 255, 255, 0.8);
}

/* === MODAL CUSTOM COLORS === */
.custom-modal {
  background-color: #fff8f9;
  border: 2px solid #F50057;
  color: #212529;
  border-radius: 0.75rem;
}
.custom-modal .modal-header {
  background-color: #F50057;
  color: white;
  border-bottom: none;
}
.custom-modal .modal-footer {
  background-color: #fff8f9;
  border-top: none;
}
.custom-modal .btn-secondary {
  background-color: #FFAB00;
  border-color: #FFAB00;
  color: #212529;
}
.custom-modal .btn-secondary:hover {
  background-color: #e29b00;
  border-color: #e29b00;
}

/* === FOOTER === */
.footer a:hover,
.footer-link:hover,
.footer-link:focus {
  color: var(--secondary) !important;
  text-decoration: underline;
}
.footer-link {
  color: #ccc;
  font-size: 1rem;
  font-weight: normal;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link.active {
  color: #fff !important;
  font-size: 1.25rem;
  font-weight: 600;
  pointer-events: none;
  text-decoration: none !important;
}
#footer {
  background: #000;
  border-top: 4px solid #000;
  font-size: 0.9em;
  padding-top: 50px !important;
  margin-top: 0 !important;
}

/* === SCROLL TO TOP === */
html body a.scroll-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  background: var(--primary);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  text-decoration: none !important;
}
html body a.scroll-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
html body a.scroll-to-top:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  color: #fff;
}

/* === MISC === */
.px-4 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.grecaptcha-badge {
  transform: scale(0.8);
  opacity: 0.4;
}
/* === GLOBAL BUTTON STYLES (Krapfentaxi) === */

.btn {
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 🩷 Primär – Magenta */
.btn-primary {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #d4004e !important;
  border-color: #d4004e !important;
  box-shadow: 0 4px 8px rgba(245, 0, 87, 0.3);
}

/* 🟡 Sekundär – Gold */
.btn-outline-secondary {
  border-color: var(--secondary) !important;
  color: var(--secondary) !important;
  background-color: transparent !important;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background-color: var(--secondary) !important;
  color: #000 !important;
}

/* 🟢 Success – „Erfolg / Bestätigt“ */
.btn-success {
  background-color: #28a745 !important;
  border-color: #28a745 !important;
  color: #fff !important;
}
.btn-success:hover,
.btn-success:focus {
  background-color: #218838 !important;
  border-color: #218838 !important;
}

/* 🔹 Kleinere Varianten */
.btn-sm {
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
}


/* === Override für Hero-Textfarben === */
.hero .h-primary {
  color: var(--primary) !important;
  text-shadow: 0 0 8px rgba(245, 0, 87, 0.35);
}

.hero .h-secondary {
  color: var(--secondary) !important;
  text-shadow: 0 0 8px rgba(255, 171, 0, 0.35);
}

/* 💜 Einheitliches Checkbox-Design (Kontakt + Bestellung, mit weißem Haken) */
#contactForm .form-check,
#orderForm .form-check,
#bestellForm .form-check {
  display: flex;
  align-items: center;
  gap: 0.55em;
}

#contactForm .form-check-input,
#orderForm .form-check-input,
#bestellForm .form-check-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 1.4em;
  height: 1.4em;
  cursor: pointer;
  border: 0px solid var(--primary);
  border-radius: 0.3rem;
  background-color: #fff;
  transition: all 0.25s ease;
  margin-top: 2px; /* optische Mitte */
  flex-shrink: 0;
  position: relative;
}

/* Hover */
#contactForm .form-check-input:hover,
#orderForm .form-check-input:hover,
#bestellForm .form-check-input:hover {
  transform: scale(1.12);
  box-shadow: 0 0 6px rgba(123, 62, 247, 0.4);
}

/* 💜 Einheitliches Checkbox-Design für Kontakt-, Bestell- und Order-Formulare */
#contactForm input[type="checkbox"],
#orderForm input[type="checkbox"],
#bestellForm input[type="checkbox"] {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-color: #fff;
  border: 0px solid var(--primary, #7b3ef7);
  border-radius: 4px;
  width: 1.3em;
  height: 1.3em;
  display: inline-block;
  position: relative;
  cursor: pointer;
  outline: none;
  margin: 2px 6px 0 0;
  transition: all 0.25s ease;
}

/* 💫 Hover */
#contactForm input[type="checkbox"]:hover,
#orderForm input[type="checkbox"]:hover,
#bestellForm input[type="checkbox"]:hover {
  transform: scale(1.12);
  box-shadow: 0 0 6px rgba(123, 62, 247, 0.4);
}

/* ✅ Checked */
#contactForm input[type="checkbox"]:checked,
#orderForm input[type="checkbox"]:checked,
#bestellForm input[type="checkbox"]:checked {
  background-color: var(--primary, #7b3ef7);
  border-color: var(--primary, #7b3ef7);
}

/* ✔️ Weißer Haken */
#contactForm input[type="checkbox"]:checked::after,
#orderForm input[type="checkbox"]:checked::after,
#bestellForm input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0.45em;
  width: 0.35em;
  height: 0.7em;
  border-right: 2.5px solid #fff;
  border-bottom: 2.5px solid #fff;
  transform: rotate(45deg);
}

/* 🔲 Fokus ohne Blau */
#contactForm input[type="checkbox"]:focus,
#orderForm input[type="checkbox"]:focus,
#bestellForm input[type="checkbox"]:focus {
  box-shadow: 0 0 0 0.15rem rgba(123, 62, 247, 0.25);
}

/* 🏷️ Label */
#contactForm .form-check-label,
#orderForm .form-check-label,
#bestellForm .form-check-label {
  color: #ccc;
  font-size: 0.96rem;
  line-height: 1.2;
  user-select: none;
  transition: color 0.25s ease;
}

/* Hover Label */
#contactForm input[type="checkbox"]:hover + .form-check-label,
#orderForm input[type="checkbox"]:hover + .form-check-label,
#bestellForm input[type="checkbox"]:hover + .form-check-label {
  color: #fff;
}

/* SECTION KRAPFENTAXI Logo Handling */
/* Standard: Bildgröße */
.ueber-logo {
  display: block;
  max-width: 400px;
  width: 100%;
  height: auto !important;
  object-fit: contain;
}

/* Wenn Bootstrap einspaltig wird (< 768px bei col-md-6) → Logo ausblenden */
@media (max-width: 767.98px) {
  .ueber-logo {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .h-primary.text-10 {
    font-size: calc(1.7rem *1) !important; /* 20% kleiner */
  }

  .h-primary.text-12 {
    font-size: calc(1.9rem * 1) !important; /* ebenfalls 20% kleiner */
  }
}
/* Default */
.logo-lions {
  max-height: 450px;
}

/* Mobile (<768px) → 30% kleiner */
@media (max-width: 767.98px) {
  .logo-lions {
    max-height: 350px;
  }
}
.btn-bestellen {
    background: #F50057;
    color: #000;
    padding: 16px 48px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.25s ease;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.5);
}

.btn-bestellen:hover {
    background: #ffdb4d;
    box-shadow: 0 0 30px rgba(255, 204, 0, 0.7);
    transform: translateY(-3px);
}