/* Nur mobil anzeigen */
/* ===================== */
/* MOBIL: App-Footer-Menü */
/* ===================== */

@media (min-width: 768px) {
    #app-footer-menu {
        display: none;
    }
}

.app-footer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10099;
    background: #000;
    padding: 12px 0;
}

.app-footer-menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 460px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
}

.app-footer-left,
.app-footer-right {
    display: flex;
    gap: 35px;
    /* gleichmäßiger Abstand zwischen Icons */
}

.app-footer-left {
    margin-right: 32px;
    /* Abstand zur Mitte (Kurs buchen) erhöhen */
}

.app-footer-right {
    margin-left: 32px;
    /* Abstand zur Mitte (Kurs buchen) erhöhen */
}

/* .app-footer-left > *,
.app-footer-right > * {
  margin: 0px; /* Optional: zusätzlicher Puffer links & rechts */


.app-footer-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}


.app-footer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 10px;
}

.app-footer-link svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* .app-footer-link,
.contact-toggle,
.tarife-toggle,
.more-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 10px;
}


.app-footer-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 10px;
} */

.app-footer-link svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Aktivfärbung Hauptmenüpunkte */
.app-footer-link.active,
.contact-toggle.active,
.deals-dropdown.active>.deals-toggle,
.tarife-dropdown.active>.tarife-toggle,
.more-dropdown.active .more-toggle {
    color: #06ba66;
}

/* Nur Hauptmenü-Icons bei Aktivität grün */
.contact-dropdown>.contact-toggle.active svg,
.tarife-dropdown>.tarife-toggle.active svg,
.deals-dropdown>.deals-toggle.active svg,
.more-dropdown>.more-toggle.active svg,
.app-footer-link.active>svg {
    fill: #06ba66 !important;
    opacity: 1 !important;
}

.app-footer-link a {
    font-size: 10px;
}

/* ===================== */
/* DROPDOWN-GRUNDELEMENTE */
/* ===================== */

.contact-dropdown,
.tarife-dropdown,
.more-dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-toggle,
.tarife-toggle,
.more-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Montserrat';
    line-height: 22px;
    cursor: pointer;
}

.contact-submenu,
.tarife-submenu,
.more-submenu {
    display: flex;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #111;
    border-radius: 0px;
    padding: 6px 0;
    flex-direction: column;
    align-items: center;
    z-index: 10000;
    width: 120px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-submenu.visible,
.tarife-submenu.visible,
.more-submenu.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* === Sichtbare Dropdowns === */
.contact-dropdown.active .contact-submenu,
.tarife-dropdown.active .tarife-submenu,
.more-dropdown.active .more-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* ===================== */
/* UNTERMENÜ-ELEMENTE */
/* ===================== */

.contact-submenu a,
.more-submenu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 10px;
    padding: 6px 8px;
}

.contact-submenu a svg,
.more-submenu a svg {
    width: 18px;
    height: 18px;
    fill: white;
    transition: fill 0.2s ease;
}

/* Nur beim Antippen grün */
.contact-submenu a:active svg,
.more-submenu a:active svg {
    fill: #06ba66;
}

/* ===================== */
/* DEALS DROPDOWN (mit Flyer-Bildern) */
/* ===================== */

.deals-dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.deals-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 10px;
    cursor: pointer;
}

.deals-toggle svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.deals-submenu {
    display: none;
    position: absolute;
    bottom: 50px;
    left: -70px;
    background: rgb(40, 40, 40);
    padding: 6px;
    border-radius: 0px;
    z-index: 100010;
    gap: 4px;
    min-width: 320px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.deals-dropdown.active .deals-submenu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.deals-submenu a img {
    width: 180px;
    max-height: 200px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    display: block;
}

/* === Backdrop (Deals & Popups) === */
.deals-backdrop,
.tarif-popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 75px;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9998;
}

/* Silver */
.tarif-popup-backdrop.backdrop-silver {
    background-color: rgba(192, 192, 192, 0.7);
    /* dunkles Silber mit 70% */
}

/* Gold */
.tarif-popup-backdrop.backdrop-gold {
    background-color: rgba(212, 175, 55, 0.7);
    /* warmes Gold mit 70% */
}

/* ===================== */
/* TARIFE-POPUP BOXEN */
/* ===================== */

.tarif-popup {
    position: fixed;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000000;
    color: white;
    border-radius: 0;
    padding: 10px;
    width: 90%;
    max-width: 320px;
    z-index: 10100;
    display: none;
    flex-direction: column;
    gap: 12px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.tarif-popup.visible {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}


.tarif-popup-inner {
  padding: 20px;
  text-align: center;
}

.tarif-popup-content {
  margin-bottom: 20px;
}

.tarif-popup-content h4{
  font-size: 12px;
  color: #ffffff;
  margin: 20px 0 0 0;
}

.popup-tarif-buchen-titel {
    text-align: center;
    padding: 20px 0 0 0;
    color: #ffffff;
    font-size: 16px;
}


.tarif-popup-content p {
    /* margin: 6px 0; */
    font-size: 12px;
    text-align: left;
    color: #ffffff;
    line-height: 22px;
}



#tarif-popup-title {
    font-size: 25px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
}

/* Neues X zum Schließen oben rechts */
#tarif-popup .popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    font-weight: normal;
    cursor: pointer;
    z-index: 10101;
}

/* Neuer Buchen-Button */
/* Container für beide Buttons nebeneinander */
.tarif-popup-buttons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  /* margin-top: 10px; */
}

/* Gemeinsamer Button-Style */
.tarif-popup-regular,
.tarif-popup-student {
  flex: 1;
  padding: 5px 0;
  font-weight: bold;
  border-radius: 0;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  color: white;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  text-align: center;
  text-transform: uppercase;

}

/* Farbe für Buchen */
.tarif-popup-regular {
  background-color: #1e88e5;
}

.tarif-popup-regular:hover {
  background-color: #1565c0;
  transform: translateY(-1px);
}

/* Farbe für Studenten */
.tarif-popup-student {
  background-color: #43a047;
}

.tarif-popup-student:hover {
  background-color: #2e7d32;
  transform: translateY(-1px);
}


/* Optional: "X"-Button oben rechts schöner darstellen */
.popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 26px;
  background: none;
  border: none;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 10;
}

.popup-close:hover {
  color: #333;
}


/* Tarif-Farben */
.tarif-silver #tarif-popup-title {
    background: linear-gradient(to right, #999, #dcdcdc, #f5f5f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tarif-gold #tarif-popup-title {
    background: linear-gradient(to right, #eabf69, #ece27e, #eabf69);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tarif-black #tarif-popup-title {
    color: white;
}

.tarif-black {
    background: radial-gradient(circle at 50% 70%, #4a4a4a 0%, #000 100%);
}

/* Schließen-Button */
#tarif-popup-close {
    /* margin-top: 10px; */
    /* padding: 10px; */
    border: none;
    border-radius: 0;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

/* Farbe je nach Tarif */
.tarif-silver .tarif-popup-regular,
.tarif-silver .tarif-popup-student {
    background: linear-gradient(to right, #c0c0c0, #dcdcdc, #f5f5f5);
    color: black;
}
.tarif-gold .tarif-popup-regular,
.tarif-gold .tarif-popup-student {
    background: linear-gradient(to right, #eabf69, #ece27e, #eabf69);
    color: black;
}
.tarif-black .tarif-popup-regular,
.tarif-black .tarif-popup-student {
    background: linear-gradient(to right, #333, #000);
    color: white;
}


/* Bestehende Struktur bleibt erhalten */

/* ========== VERSCHACHTELTES "PROBE"-DROPDOWN STYLING ========== */

.tarif-probe-dropdown {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.probe-toggle {
    background: #111;
    color: white;
    padding: 14px 16px;
    border: none;
    font-size: 10px;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease;
    text-align: center;
}

.probe-toggle:hover {
    background: #333;
}

.probe-submenu {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    background: #111;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease;
}

.probe-submenu.visible {
    opacity: 1;
    max-height: 200px;
}

.tarife-submenu .probe-submenu button.tarif-option {
    color: white;
    font-size: 8px;
    padding: 15px 5px;
    line-height: 12px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
}

.probe-submenu a:active {
    background: #06ba66;
    color: black;
}

/* ---------- Popup-Farben für Probe-Tarife ---------- */
.tarif-probestunde #tarif-popup-title {
    background:linear-gradient(90deg,#42a5f5,#90caf9);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}

.tarif-popup-buttons .tarif-popup-booking {
    border: 1px solid #ffffff;
}

.tarif-popup-buttons .tarif-popup-booking:hover {
        border-color: #06ba66 !important;
        background-color: #06ba66 !important;
        color: #fff !important;
}

.tarif-probemonat #tarif-popup-title    {
    background:linear-gradient(90deg,#66bb6a,#a5d6a7);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}

.tarif-probemonat-student #tarif-popup-title{
    background:linear-gradient(90deg,#26c6da,#80deea);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* Farbvarianten */
/* .tarif-popup-regular  {background:#1e88e5;}               
.tarif-popup-student  {background:#43a047;}               
.tarif-popup-booking  {background:#ff7043;}                */

.tarif-popup-backdrop.backdrop-probestunde {background:rgba(66,165,245,.7);}   /* Blau */
.tarif-popup-backdrop.backdrop-probemonat  {background:rgba(102,187,106,.7);}  /* Grün */
.tarif-popup-backdrop.backdrop-probemonat-student{
    background:rgba(38,198,218,.7);
}

/* ---------- Buttons nebeneinander ohne Radius ---------- */
.tarif-popup-btns{
    display:flex;
    gap:10px;
    justify-content:center;
}
.tarif-popup-regular,
.tarif-popup-student{
    flex:1 1 0;
    min-width:120px;
    padding:12px 0;
    border-radius:0;                 /* Radius 0 */
}

/* ---------- Popup-Buttons ---------- */
.tarif-popup-buttons {
  display:flex;
  gap:20px;          /* gleichmäßiger Abstand */
  justify-content:center;
  flex-wrap:wrap;
}

.tarif-popup-buttons a{
  flex:1 1 0;
  min-width:90px;
  padding:5px 0;
  text-align:center;
  font-weight:bold;
  font-size:12px;
  text-transform: uppercase;
  color:#fff;
  text-decoration:none;
  border-radius:0;          /* KEINE Rundung */
  box-shadow:0 2px 6px rgba(0,0,0,.15);
  transition:background .3s,transform .2s;
  letter-spacing: 0.5px;
}


.tarif-popup-buttons a:hover{
  transform:translateY(-1px);
  filter:brightness(.9);
}

/* === Optional: kleine Trennlinie === */
/* .probe-submenu a + a {
    border-top: 1px solid #222;
} */



/* ===================== */
/* ANIMATION & FARBE FÜR „MEHR…“ ICON */
/* ===================== */

.more-toggle svg {
    width: 24px;
    height: 24px;
    fill: white;
    opacity: 0.6;
    transition: fill 0.3s ease, opacity 0.3s ease;
}

.more-dropdown.active .more-toggle svg {
    fill: #06ba66;
    opacity: 1;
}

/* Tarife button style weg */
.tarife-submenu button.tarif-option {
    background: #111111;
    color: white;
    padding: 14px 16px;
    border: none;
    border-radius: 0px;
    font-size: 10px;
    width: 100%;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tarife-submenu button.tarif-option:hover {
    background-color: #333;
}
