/*
 Theme Name:   Tanzschule Schwarzenhölzer
 Theme URI:    https://schwarzenhoelzer.de
 Description:  Child-Theme basierend auf Hello Elementor für die Tanzschule Schwarzenhölzer. Beinhaltet Custom Farbpalette, Typografie (Playfair Display + Lato) und Styling für Kursverwaltung.
 Author:       Jörg Plesser
 Author URI:   https://plesser.eu
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  tanzschule-sh
*/

/* ==========================================================================
   1. CSS Custom Properties (Farbpalette)
   ========================================================================== */

:root {
    /* Primärfarben */
    --ts-rot: #c43b4c;
    --ts-rot-hover: #a83040;
    --ts-rot-soft: rgba(196, 59, 76, 0.12);
    --ts-schwarz: #4a4543;
    --ts-header: #737373;
    --ts-creme: #f5f0e8;

    /* Sekundärfarben */
    --ts-gold: #d4a05a;
    --ts-gold-hover: #c08d45;
    --ts-gold-soft: rgba(212, 160, 90, 0.12);
    --ts-dunkel: #5a5856;
    --ts-sand: #e8d5bf;
    --ts-dunkelrot: #8b3a3a;

    /* Funktionsfarben */
    --ts-erfolg: #4a9b6d;
    --ts-hinweis: #c47a3b;
    --ts-text: #2c2724;
    --ts-text-muted: #e0dbd3;
    --ts-text-muted-on-light: #8a8580;
    --ts-text-hell: #e8e4df;

    /* Typografie */
    --ts-font-headline: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --ts-font-body: 'Lato', 'Helvetica Neue', Arial, sans-serif;

    /* Abstände */
    --ts-section-gap: 80px;
    --ts-content-width: 1140px;
    --ts-header-height: 80px;

    /* Border Radius */
    --ts-radius-sm: 6px;
    --ts-radius-md: 10px;
    --ts-radius-lg: 16px;

    /* Schatten */
    --ts-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --ts-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --ts-shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
}


/* ==========================================================================
   2. Basis / Reset
   ========================================================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--ts-header-height);
}

body {
    font-family: var(--ts-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ts-text);
    background-color: var(--ts-creme);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ==========================================================================
   3. Typografie
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ts-font-headline);
    font-weight: 700;
    line-height: 1.2;
    color: var(--ts-schwarz);
}

h1 { font-size: 2.5rem; margin-bottom: 0.5em; }
h2 { font-size: 2rem; margin-bottom: 0.5em; }
h3 { font-size: 1.5rem; margin-bottom: 0.5em; }
h4 { font-size: 1.25rem; margin-bottom: 0.5em; }

/* Kursiv-Untertitel (z.B. Standortname unter Überschrift) */
.ts-subtitle {
    font-family: var(--ts-font-headline);
    font-style: italic;
    font-weight: 400;
    color: var(--ts-rot);
}

/* Auf dunklem Hintergrund */
.ts-dark h1,
.ts-dark h2,
.ts-dark h3,
.ts-dark h4 {
    color: var(--ts-creme);
}

.ts-dark .ts-subtitle {
    color: var(--ts-gold);
}

.ts-dark p,
.ts-dark li {
    color: var(--ts-sand);
}


/* ==========================================================================
   4. Buttons
   ========================================================================== */

.ts-btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--ts-font-body);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--ts-radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.ts-btn-primary {
    background-color: var(--ts-rot);
    color: #fff;
    box-shadow: 0 2px 8px rgba(196, 59, 76, 0.3);
}

.ts-btn-primary:hover {
    background-color: var(--ts-rot-hover);
    box-shadow: 0 4px 16px rgba(196, 59, 76, 0.4);
    transform: translateY(-1px);
    color: #fff;
}

.ts-btn-gold {
    background-color: var(--ts-gold);
    color: #fff;
    box-shadow: 0 2px 8px rgba(212, 160, 90, 0.3);
}

.ts-btn-gold:hover {
    background-color: var(--ts-gold-hover);
    box-shadow: 0 4px 16px rgba(212, 160, 90, 0.4);
    transform: translateY(-1px);
    color: #fff;
}

.ts-btn-outline {
    background-color: transparent;
    color: var(--ts-rot);
    border: 2px solid var(--ts-rot);
}

.ts-btn-outline:hover {
    background-color: var(--ts-rot);
    color: #fff;
}


/* ==========================================================================
   5. Standort-Kacheln (Startseite)
   ========================================================================== */

.ts-standort-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 40px 20px;
}

.ts-standort-kachel {
    width: 280px;
    padding: 40px 28px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--ts-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    text-decoration: none;
    transition: all 0.35s ease;
    backdrop-filter: blur(10px);
}

.ts-standort-kachel:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--ts-rot);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(196, 59, 76, 0.2);
}

.ts-standort-kachel .ts-kachel-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ts-rot), var(--ts-dunkelrot));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
}

.ts-standort-kachel .ts-kachel-name {
    font-family: var(--ts-font-headline);
    font-size: 22px;
    font-weight: 700;
    color: var(--ts-creme);
    margin-bottom: 4px;
}

.ts-standort-kachel .ts-kachel-adresse {
    font-size: 13px;
    color: var(--ts-text-muted);
}


/* ==========================================================================
   6. Übungsabende (Standort-Seite, Bereich 1)
   ========================================================================== */

.ts-uebungsabende {
    padding: var(--ts-section-gap) 20px;
    background-color: var(--ts-schwarz);
}

.ts-ua-liste {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: var(--ts-content-width);
    margin: 0 auto;
}

.ts-ua-item {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: var(--ts-dunkel);
    border-radius: var(--ts-radius-md);
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: border-color 0.25s ease;
}

.ts-ua-item:hover {
    border-color: rgba(196, 59, 76, 0.3);
}

.ts-ua-datum {
    width: 52px;
    height: 52px;
    border-radius: var(--ts-radius-md);
    background: var(--ts-rot);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ts-ua-datum .ts-monat {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.ts-ua-datum .ts-tag {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.ts-ua-info {
    flex: 1;
}

.ts-ua-info .ts-ua-zeit {
    font-size: 14px;
    font-weight: 600;
    color: var(--ts-creme);
}

.ts-ua-info .ts-ua-details {
    font-size: 12px;
    color: var(--ts-text-muted);
}


/* ==========================================================================
   7. Kurskacheln (Standort-Seite, Bereich 2)
   ========================================================================== */

.ts-kurse-section {
    padding: var(--ts-section-gap) 20px;
    background-color: var(--ts-creme);
}

.ts-kurse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    max-width: var(--ts-content-width);
    margin: 0 auto;
}

.ts-kurs-kachel {
    position: relative;
    padding: 24px 20px;
    border-radius: var(--ts-radius-lg);
    aspect-ratio: 3 / 2;
    min-height: 160px;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ts-kurs-kachel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    border-radius: var(--ts-radius-lg);
    z-index: 1;
}

.ts-kurs-kachel:hover {
    transform: translateY(-4px);
    box-shadow: var(--ts-shadow-lg);
}

.ts-kurs-kachel .ts-kurs-name {
    position: relative;
    z-index: 2;
    font-family: var(--ts-font-headline);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Kachel-Farbvarianten */
.ts-kurs-kachel--1 { background: linear-gradient(135deg, #c43b4c, #8b3a3a); }
.ts-kurs-kachel--2 { background: linear-gradient(135deg, #5a5856, #4a4543); }
.ts-kurs-kachel--3 { background: linear-gradient(135deg, #d4a05a, #8b6530); }
.ts-kurs-kachel--4 { background: linear-gradient(135deg, #4a6b5a, #2a4a3a); }
.ts-kurs-kachel--5 { background: linear-gradient(135deg, #c47a3b, #8b5520); }
.ts-kurs-kachel--6 { background: linear-gradient(135deg, #6b5a8a, #4a3a6a); }
.ts-kurs-kachel--7 { background: linear-gradient(135deg, #3a6b8b, #2a4a6b); }
.ts-kurs-kachel--8 { background: linear-gradient(135deg, #8b3a5a, #6b2a4a); }


/* ==========================================================================
   8. Events (Standort-Seite, Bereich 3)
   ========================================================================== */

.ts-events-section {
    padding: var(--ts-section-gap) 20px;
    background-color: var(--ts-schwarz);
}

.ts-event-card {
    padding: 24px;
    background: var(--ts-dunkel);
    border-radius: var(--ts-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-left: 4px solid var(--ts-gold);
    transition: border-color 0.25s ease;
}

.ts-event-card:hover {
    border-left-color: var(--ts-rot);
}

.ts-event-date {
    font-family: var(--ts-font-headline);
    font-size: 36px;
    font-weight: 800;
    color: var(--ts-gold);
    line-height: 1;
}

.ts-event-month {
    font-size: 13px;
    font-weight: 600;
    color: var(--ts-gold);
}

.ts-event-title {
    font-family: var(--ts-font-headline);
    font-size: 18px;
    font-weight: 700;
    color: var(--ts-creme);
}

.ts-event-details {
    font-size: 13px;
    color: var(--ts-text-muted);
}


/* ==========================================================================
   9. Kursdetail-Seite
   ========================================================================== */

.ts-kursdetail {
    max-width: var(--ts-content-width);
    margin: 0 auto;
    padding: 40px 20px;
}

.ts-breadcrumb {
    font-size: 13px;
    color: var(--ts-text-muted-on-light);
    margin-bottom: 16px;
}

.ts-breadcrumb a {
    color: var(--ts-text-muted-on-light);
    text-decoration: none;
    transition: color 0.2s;
}

.ts-breadcrumb a:hover {
    color: var(--ts-rot);
}

.ts-termin-row {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border-radius: var(--ts-radius-md);
    gap: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 10px;
    transition: border-color 0.25s ease;
}

.ts-termin-row:nth-child(even) {
    background: #faf7f2;
}

.ts-termin-row:hover {
    border-color: rgba(196, 59, 76, 0.3);
}

.ts-termin-datum {
    width: 56px;
    height: 56px;
    border-radius: var(--ts-radius-md);
    background: var(--ts-rot);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ts-termin-datum .ts-termin-monat {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
}

.ts-termin-datum .ts-termin-tag-nr {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.ts-termin-info {
    flex: 1;
}

.ts-termin-zeit {
    font-size: 15px;
    font-weight: 600;
    color: var(--ts-schwarz);
}

.ts-termin-ort {
    font-size: 12px;
    color: var(--ts-text-muted-on-light);
}

.ts-termin-preis {
    text-align: right;
    margin-right: 16px;
}

.ts-termin-preis .ts-preis-wert {
    font-size: 15px;
    font-weight: 700;
    color: var(--ts-schwarz);
}

.ts-termin-preis .ts-preis-info {
    font-size: 11px;
    color: var(--ts-text-muted-on-light);
}

/* Sparhinweis */
.ts-termin-preis .ts-spar-hinweis {
    font-size: 11px;
    font-weight: 600;
    color: var(--ts-erfolg);
}

/* Hinweis-Text unter einer Termin-Zeile */
.ts-termin-hinweis {
    padding: 8px 20px 8px 88px;
    font-size: 13px;
    color: var(--ts-text-muted-on-light);
    line-height: 1.5;
    border-left: 3px solid var(--ts-sand);
    margin-bottom: 10px;
    margin-top: -6px;
    background: rgba(0, 0, 0, 0.01);
    border-radius: 0 0 var(--ts-radius-md) var(--ts-radius-md);
}

/* Laufende Kurse (ohne Startdatum): kein Datum-Block, daher weniger Padding */
.ts-termine-laufend .ts-termin-hinweis {
    padding-left: 20px;
}


/* ==========================================================================
   10. Anker-Ziele (Scroll)
   ========================================================================== */

#uebungsabende,
#tanzkurse,
#events {
    scroll-margin-top: var(--ts-header-height);
}


/* ==========================================================================
   11. Responsive
   ========================================================================== */

@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }

    :root {
        --ts-section-gap: 48px;
        --ts-header-height: 64px;
    }

    .ts-standort-kachel {
        width: 100%;
        max-width: 320px;
    }

    .ts-kurse-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ts-kurs-kachel {
        min-height: 90px;
        padding: 16px 14px;
        aspect-ratio: 3 / 2;
    }

    .ts-termin-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .ts-termin-preis {
        text-align: left;
        margin-right: 0;
    }

    .ts-ua-item {
        flex-wrap: wrap;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .ts-kurse-grid {
        grid-template-columns: 1fr;
    }

    .ts-kurs-kachel {
        aspect-ratio: 16 / 9;
    }

    .ts-standort-grid {
        flex-direction: column;
        align-items: center;
    }
}


/* ==========================================================================
   12. Elementor Overrides
   ========================================================================== */

/* Sicherstellen, dass Elementor unsere Fonts nutzt */
.elementor-widget-heading .elementor-heading-title {
    font-family: var(--ts-font-headline);
}

.elementor-widget-text-editor {
    font-family: var(--ts-font-body);
}

/* Elementor Section-Hintergründe */
.elementor-section.ts-dark {
    background-color: var(--ts-schwarz);
}

.elementor-section.ts-creme {
    background-color: var(--ts-creme);
}

/* Elementor Button Override */
.elementor-button {
    font-family: var(--ts-font-body) !important;
    font-weight: 700 !important;
    border-radius: var(--ts-radius-md) !important;
}


/* ==========================================================================
   13. Kachel-Bilder (verbessert)
   ========================================================================== */

/* Kachel MIT Bild: Bild als Background, Gradient-Overlay darüber */
.ts-kurs-kachel[style*="background-image"] {
    background-size: cover !important;
    background-position: center !important;
}

/* Stärkeres Overlay wenn Bild vorhanden, damit Text gut lesbar */
.ts-kurs-kachel[style*="background-image"]::before {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
}

/* Hover: Overlay leicht aufhellen */
.ts-kurs-kachel[style*="background-image"]:hover::before {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.05) 100%
    );
}

/* Kachel OHNE Bild: Farbverlauf-Fallback */
.ts-kurs-kachel:not([style*="background-image"])::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
}


/* ==========================================================================
   14. Anmelde-Modal
   ========================================================================== */

.ts-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(30, 27, 24, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ts-modal-overlay.ts-modal-open {
    opacity: 1;
    visibility: visible;
}

.ts-modal-content {
    background: var(--ts-creme);
    border-radius: var(--ts-radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--ts-shadow-lg);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.ts-modal-open .ts-modal-content {
    transform: translateY(0);
}

.ts-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #4a4543;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: 2;
}

.ts-modal-close:hover {
    background: var(--ts-rot-soft);
    color: var(--ts-rot);
}

.ts-modal-header {
    padding: 28px 28px 0;
}

.ts-modal-title {
    font-family: var(--ts-font-headline);
    font-size: 22px;
    font-weight: 700;
    color: var(--ts-schwarz);
    margin: 0 0 4px;
    padding-right: 40px;
}

.ts-modal-subtitle {
    font-size: 14px;
    color: #8a857f;
    margin: 0;
}

.ts-modal-body {
    padding: 20px 28px 28px;
}

.ts-modal-loading {
    text-align: center;
    padding: 40px 0;
    color: #6b6560;
    font-size: 14px;
}

/* Erfolgs-Meldung nach Anmeldung */
.ts-anmeldung-erfolg {
    text-align: center;
    padding: 32px 0;
}

.ts-anmeldung-erfolg h3 {
    font-family: var(--ts-font-headline);
    font-size: 20px;
    color: var(--ts-erfolg);
    margin: 0 0 8px;
}

.ts-anmeldung-erfolg p {
    color: #4a4543;
    font-size: 14px;
    margin: 0 0 24px;
}

/* Fluent Form Styling innerhalb des Modals (heller Hintergrund!) */
.ts-modal-form {
    color: #2c2724;
}

/* Formular-Container: wenn im Modal, voll sichtbar machen */
.ts-modal-form .ts-form-container {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: normal !important;
}

.ts-modal-form p,
.ts-modal-form label,
.ts-modal-form span,
.ts-modal-form .ff-el-input--label label,
.ts-modal-form .ff-el-form-check label,
.ts-modal-form .ff-el-help-message,
.ts-modal-form .ff-el-section-break .ff-el-section-title,
.ts-modal-form .ff-step-titles li,
.ts-modal-form .ff-el-group label {
    color: #2c2724 !important;
}

.ts-modal-form .ff-el-input--content input,
.ts-modal-form .ff-el-input--content select,
.ts-modal-form .ff-el-input--content textarea {
    border-radius: var(--ts-radius-sm);
    border-color: #ccc;
    font-family: var(--ts-font-body);
    color: #2c2724;
    background: #fff;
}

.ts-modal-form .ff-el-input--content input:focus,
.ts-modal-form .ff-el-input--content select:focus,
.ts-modal-form .ff-el-input--content textarea:focus {
    border-color: var(--ts-rot);
    box-shadow: 0 0 0 3px var(--ts-rot-soft);
}

.ts-modal-form .ff-btn-submit {
    background-color: var(--ts-rot) !important;
    border-radius: var(--ts-radius-md) !important;
    font-family: var(--ts-font-body) !important;
    font-weight: 700 !important;
    padding: 12px 28px !important;
    transition: all 0.25s ease !important;
}

.ts-modal-form .ff-btn-submit:hover {
    background-color: var(--ts-rot-hover) !important;
    transform: translateY(-1px);
}

/* Responsive Modal */
@media (max-width: 640px) {
    .ts-modal-content {
        max-height: 95vh;
        border-radius: var(--ts-radius-md);
    }

    .ts-modal-header {
        padding: 20px 20px 0;
    }

    .ts-modal-body {
        padding: 16px 20px 20px;
    }
}


/* ==========================================================================
   15. Social Media Icons
   ========================================================================== */

.ts-social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}

.ts-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--ts-creme);
    text-decoration: none;
    transition: all 0.25s ease;
}

.ts-social-link:hover {
    background: var(--ts-rot);
    color: #fff;
    transform: translateY(-2px);
}

/* Auf hellem Hintergrund */
.ts-creme .ts-social-link,
.ts-social-icons--dunkel .ts-social-link {
    background: rgba(0, 0, 0, 0.06);
    color: var(--ts-text);
}

.ts-creme .ts-social-link:hover,
.ts-social-icons--dunkel .ts-social-link:hover {
    background: var(--ts-rot);
    color: #fff;
}

.ts-social-link svg {
    display: block;
}


/* ==========================================================================
   16. Header
   ========================================================================== */

.ts-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--ts-header);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    height: var(--ts-header-height);
}

.ts-header--startseite {
    position: absolute;
    width: 100%;
    background: transparent;
    border-bottom: none;
}

.ts-header-inner {
    max-width: var(--ts-content-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Logo */
.ts-logo {
    text-decoration: none;
    flex-shrink: 0;
}

.ts-logo-img {
    height: 48px;
    width: auto;
}

.ts-logo-text {
    font-family: var(--ts-font-headline);
    font-size: 22px;
    font-weight: 700;
    color: var(--ts-creme);
}

.ts-logo-text:hover {
    color: var(--ts-rot);
}

/* Navigation */
.ts-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.ts-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.ts-nav-item a {
    display: block;
    padding: 8px 14px;
    font-family: var(--ts-font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--ts-text-hell);
    text-decoration: none;
    border-radius: var(--ts-radius-sm);
    transition: all 0.2s ease;
}

.ts-nav-item a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.ts-nav-item.ts-nav-anchor a {
    color: #fff;
    font-weight: 600;
}

/* Standort-Wechsler */
.ts-standort-switcher {
    margin-left: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.ts-standort-current {
    font-family: var(--ts-font-body);
    font-size: 13px;
    font-weight: 700;
    color: var(--ts-gold);
    padding: 6px 14px;
    background: var(--ts-gold-soft);
    border-radius: var(--ts-radius-sm);
    cursor: default;
}

.ts-standort-other {
    font-size: 11px;
    color: var(--ts-text-muted);
    text-decoration: none;
    padding: 2px 14px;
    transition: color 0.2s;
}

.ts-standort-other:hover {
    color: var(--ts-gold);
}

/* Hamburger (Mobile) */
.ts-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.ts-hamburger,
.ts-hamburger::before,
.ts-hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ts-creme);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.ts-hamburger {
    position: relative;
}

.ts-hamburger::before,
.ts-hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.ts-hamburger::before {
    top: -7px;
}

.ts-hamburger::after {
    top: 7px;
}

/* Hamburger offen */
.ts-menu-toggle[aria-expanded="true"] .ts-hamburger {
    background: transparent;
}

.ts-menu-toggle[aria-expanded="true"] .ts-hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.ts-menu-toggle[aria-expanded="true"] .ts-hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}


/* ==========================================================================
   17. Footer
   ========================================================================== */

.ts-footer {
    background: var(--ts-schwarz);
    color: var(--ts-text-hell);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ts-footer-inner {
    max-width: var(--ts-content-width);
    margin: 0 auto;
    padding: 48px 24px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.ts-footer-heading {
    font-family: var(--ts-font-headline);
    font-size: 14px;
    font-weight: 700;
    color: var(--ts-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 16px;
}

.ts-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ts-footer-links li {
    margin-bottom: 8px;
}

.ts-footer-links a {
    font-family: var(--ts-font-body);
    font-size: 14px;
    color: var(--ts-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ts-footer-links a:hover {
    color: var(--ts-creme);
}

.ts-footer-links a.ts-footer-active {
    color: var(--ts-creme);
    font-weight: 600;
}

.ts-footer-bottom {
    max-width: var(--ts-content-width);
    margin: 0 auto;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ts-footer-bottom p {
    font-size: 12px;
    color: var(--ts-text-muted);
    margin: 0;
    text-align: center;
}


/* ==========================================================================
   18. Responsive Header + Footer
   ========================================================================== */

@media (max-width: 900px) {
    .ts-menu-toggle {
        display: block;
    }

    .ts-nav {
        display: none;
        position: absolute;
        top: var(--ts-header-height);
        left: 0;
        right: 0;
        background: var(--ts-schwarz);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        flex-direction: column;
        padding: 16px 24px 24px;
        gap: 8px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .ts-nav.ts-nav--open {
        display: flex;
    }

    .ts-nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .ts-nav-item {
        width: 100%;
    }

    .ts-nav-item a {
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    .ts-standort-switcher {
        margin-left: 0;
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (max-width: 768px) {
    .ts-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .ts-footer-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 20px 24px;
    }
}
