/*
 * ═══════════════════════════════════════════════════════════════
 *  styles.css – Klavierunterricht Reinhold Zauner
 * ═══════════════════════════════════════════════════════════════
 *
 *  INHALTSVERZEICHNIS
 *  ──────────────────────────────────────────────────────────────
 *  1. DESIGN-VARIABLEN
 *  2. RESET & BASIS
 *  3. TYPOGRAFIE
 *  4. LAYOUT  (Navigation · Header · Footer · Content-Wrapper)
 *  5. KOMPONENTEN
 *     5.1  Buttons & Links
 *     5.2  Formulare
 *  6. SEITEN
 *     6.1  Startseite  (Hero · Angebots-Karten · CTA)
 *     6.2  Vita
 *     6.3  Schülerkonzerte
 *     6.4  Kontakt
 *     6.5  Danke
 *     6.6  Impressum & Datenschutz
 *  7. MEDIA QUERIES
 *  8. HAMBURGER / MOBILE NAVIGATION
 * ═══════════════════════════════════════════════════════════════
 */


/* ─────────────────────────────────────────────────────────────
   0. LOKALE SCHRIFTARTEN (Inter – ehemals Google Fonts)
   Lokal eingebunden für DSGVO-Konformität und schnelleres Laden.
   Die Font-Dateien liegen im Ordner /fonts/
───────────────────────────────────────────────────────────── */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/inter-latin-400-normal.woff2') format('woff2'),
         url('fonts/inter-latin-ext-400-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/inter-latin-700-normal.woff2') format('woff2'),
         url('fonts/inter-latin-ext-700-normal.woff2') format('woff2');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('fonts/inter-latin-800-normal.woff2') format('woff2'),
         url('fonts/inter-latin-ext-800-normal.woff2') format('woff2');
}


/* ─────────────────────────────────────────────────────────────
   1. DESIGN-VARIABLEN
   Alle Farben und Abstände zentral – ändern Sie hier, wirkt
   sich automatisch auf die gesamte Website aus.
───────────────────────────────────────────────────────────── */
:root {
    /* Farben */
    --color-primary:      #4CAF50;   /* Grün – Buttons, Akzente         */
    --color-primary-dark: #3d8b41;   /* Grün dunkel – Hover             */
    --color-teal:         #195756;   /* Teal – Danke-Button, Akzente    */
    --color-teal-dark:    #0f3b3a;   /* Teal dunkel – Hover             */
    --color-dark:         #333;      /* Navigation, Überschriften       */
    --color-darker:       #1a1a1a;   /* Hero-Texte, Card-Überschriften  */
    --color-text:         #555;      /* Fließtext                       */
    --color-muted:        #666;      /* Sekundärtext                    */
    --color-border:       #ddd;      /* Trennlinien, Rahmen             */
    --color-bg-light:     #f9f9f9;   /* Karten-Hintergrund              */
    --color-white:        #fff;

    /* Abstände */
    --space-xs:   0.5rem;
    --space-sm:   1rem;
    --space-md:   1.5rem;
    --space-lg:   2rem;
    --space-xl:   3rem;
    --space-2xl:  4rem;

    /* Maximale Inhaltsbreite */
    --max-width: 860px;

    /* Radien */
    --radius-sm:  6px;
    --radius-md:  8px;
    --radius-lg:  12px;
}


/* ─────────────────────────────────────────────────────────────
   2. RESET & BASIS
───────────────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
}

/* ─────────────────────────────────────────────────────────────
   2b. BARRIEREFREIHEIT (Skip-Link & Focus-Styles)
───────────────────────────────────────────────────────────── */

/* Skip-Link: unsichtbar, erscheint nur beim Tabben */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1000;
    background: var(--color-dark);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.skip-link:focus {
    left: 50%;
    transform: translateX(-50%);
}

/* Focus-Ring: nur bei Tastatur-Navigation sichtbar */
:focus-visible {
    outline: 3px solid #378ADD;
    outline-offset: 2px;
}

/* ─────────────────────────────────────────────────────────────
   3. TYPOGRAFIE
───────────────────────────────────────────────────────────── */
h1, h2 {
    color: var(--color-dark);
    font-size: 2rem;
}

h3 {
    margin-top: 0;
    color: var(--color-dark);
}

section {
    padding: var(--space-md);
    text-align: center;
}


/* ─────────────────────────────────────────────────────────────
   4. LAYOUT
───────────────────────────────────────────────────────────── */

/* Navigation */
.navigation {
    letter-spacing: 0.05em;
}

header {
    background-color: #525d7b;
    color: var(--color-white);
    padding: var(--space-sm) 0;
    text-align: center;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

nav ul li a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    opacity: 1;
    transition: opacity 0.2s;
}

nav ul li a:hover {
    opacity: 0.7;
}

nav ul li a.nav-active {
    border-bottom: 2px solid var(--color-white);
    padding-bottom: 2px;
}

/* Content-Wrapper */
.content-wrapper {
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
}

/* Footer */
footer {
    background-color: #525d7b;
    color: var(--color-white);
    text-align: center;
    padding: var(--space-sm);
    font-size: 0.8rem;
    width: 100%;
}

footer a {
    color: var(--color-white);
    text-decoration: none;
    margin: 0 var(--space-xs);
}

footer a:hover {
    text-decoration: underline;
}


/* ─────────────────────────────────────────────────────────────
   5. KOMPONENTEN
───────────────────────────────────────────────────────────── */

/* ── 5.1 Buttons & Links ── */
button {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

button:hover {
    background-color: var(--color-primary-dark);
}

/* ── 5.2 Formulare ── */
form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
    padding: var(--space-md);
    background-color: var(--color-white);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
}

form input,
form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: var(--space-sm);
    border: 1px solid #ccc;
    font-size: 1rem;
    box-sizing: border-box;
    border-radius: 5px;
}

form textarea {
    height: 180px;
}

form button {
    width: 50%;
    padding: 14px;
    font-size: 18px;
    color: var(--color-white);
    background-color: var(--color-primary);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

/* Datenschutz-Checkbox */
.datenschutz-label {
    display: block;
    position: relative;
    padding-left: 2rem;
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    line-height: 1.5;
    white-space: normal;
    cursor: pointer;
}

.datenschutz-label input[type="checkbox"] {
    width: auto !important;
    position: absolute;
    left: 0;
    top: 0.25rem;
    margin: 0;
    padding: 0;
    transform: scale(1.2);
    cursor: pointer;
}

.datenschutz-label a {
    color: var(--color-primary);
    text-decoration: none;
}

.datenschutz-label a:hover {
    text-decoration: underline;
}


/* ─────────────────────────────────────────────────────────────
   6. SEITEN
───────────────────────────────────────────────────────────── */

/* ── 6.1 Startseite ── */

/* Hero */
.hero {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.62) 40%, rgba(0,0,0,0.15) 100%);
    display: flex;
    align-items: center;
    padding: 0 4rem;
}

.hero-content {
    max-width: 520px;
    color: var(--color-white);
}

.hero-content h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--color-white);
    margin: 0 0 var(--space-sm);
    line-height: 1.15;
    text-align: left;
}

.hero-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin: 0 0 1.8rem;
    text-align: left;
}

.hero-btn {
    display: inline-block;
    background: #fabb9c;
    color: #333333;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 0.02em;
}

.hero-btn:hover {
    background: #e8a07e;
}

/* Angebots-Karten */
.angebot-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
}

.angebot-section h2 {
    text-align: left;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-darker);
    margin: 0 0 0.4rem;
}

.angebot-intro {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0 0 2.5rem;
    text-align: left;
}

.angebot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.angebot-card {
    background: var(--color-bg-light);
    border: 1px solid #eee;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    text-align: left;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.angebot-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #ccc;
}

.angebot-card-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    display: block;
}

.angebot-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-darker);
    margin: 0 0 0.5rem;
}

.angebot-card p {
    font-size: 0.88rem;
    color: var(--color-muted);
    line-height: 1.65;
    margin: 0;
}

/* Trennlinie */
.section-divider {
    max-width: var(--max-width);
    margin: 0 auto;
    border: none;
    border-top: 1px solid #f5b629;
}

/* CTA */
.cta-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3.5rem var(--space-lg) var(--space-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.cta-text h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-darker);
    margin: 0 0 0.5rem;
    text-align: left;
}

.cta-text p {
    font-size: 0.92rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0;
    text-align: left;
    max-width: 480px;
}

.cta-btn-link {
    flex-shrink: 0;
    display: inline-block;
    background: #fabb9c;
    color: #333333;
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}

.cta-btn-link:hover {
    background: #e8a07e;
}


/* ── 6.2 Vita ── */
.vita-hero-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.vita-photo-wrap {
    flex-shrink: 0;
    width: 300px;
    height: 360px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #c8d8f0 0%, #e8c8d8 100%);
}

.vita-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.vita-hero-text h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-darker);
    margin: 0 0 var(--space-sm);
    line-height: 1.1;
    text-align: left;
}

.vita-hero-text p {
    font-size: 1rem;
    color: var(--color-muted);
    line-height: 1.7;
    max-width: 380px;
    margin: 0;
    text-align: left;
}

.vita-divider {
    max-width: var(--max-width);
    margin: 0 auto;
    border: none;
    border-top: 1px solid var(--color-border);
}

.vita-career-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-xl) var(--space-lg) var(--space-2xl);
    display: flex;
    gap: var(--space-2xl);
    align-items: flex-start;
}

.vita-career-left {
    flex: 1.2;
}

.vita-career-left h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-darker);
    margin: 0 0 var(--space-sm);
    text-align: left;
}

.vita-career-left p {
    font-size: 0.92rem;
    color: var(--color-muted);
    line-height: 1.78;
    margin: 0;
    text-align: left;
}

.vita-skills {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    align-content: flex-start;
    padding-top: 0.3rem;
}

.skill-tag {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    background: var(--color-white);
    border: 1.5px solid var(--color-border);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #444;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: Arial, sans-serif;
}


/* ── 6.3 Schülerkonzerte ── */
.konzert-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
}

.konzert-section h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-darker);
    margin: 0 0 0.4rem;
    text-align: left;
}

.konzert-intro {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0 0 var(--space-xl);
    text-align: left;
}

.konzert-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0 0 var(--space-xl);
}

.konzert-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.konzert-text h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-darker);
    margin: 0 0 var(--space-sm);
    text-align: left;
}

.konzert-text p {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.78;
    margin: 0 0 var(--space-sm);
    text-align: left;
}

.konzert-text p:last-child {
    margin: 0;
}

.konzert-images {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.konzert-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    display: block;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}


/* ── 6.4 Kontakt ── */
.kontakt-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
}

.kontakt-wrapper > h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-darker);
    margin: 0 0 0.4rem;
    text-align: left;
}

.kontakt-intro {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.7;
    margin: 0 0 var(--space-xl);
    text-align: left;
}

.kontakt-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: var(--space-xl) 0;
}

.kontakt-details {
    display: flex;
    justify-content: center;
}

.kontakt-info {
    text-align: left;
    max-width: 500px;
}

.kontakt-heading {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-darker);
    margin: 0 0 0.75rem;
}

.contact-buttons {
    display: grid;
    gap: 0.75rem;
    margin-top: var(--space-xs);
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.9rem var(--space-sm);
    border-radius: 10px;
    background: #f4f4f4;
    color: var(--color-dark);
    text-decoration: none;
    border: 1px solid var(--color-border);
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-size: 0.95rem;
}

.contact-btn:hover {
    background: #eaeaea;
}

.contact-btn:active {
    transform: scale(0.99);
}

.contact-btn:focus-visible {
    outline: 3px solid #007BFF;
    outline-offset: 2px;
}

.contact-icon {
    font-size: 1.3rem;
    line-height: 1;
    flex-shrink: 0;
}

/* Adresse & Karte */
.kontakt-wrapper #adresse-container {
    text-align: left;
    padding: 0;
}

.kontakt-wrapper #adresse-container h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-darker);
    margin: 0 0 var(--space-sm);
    text-align: left;
}

.adresse-karte-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.kontakt-wrapper #adresse-container address {
    font-style: normal;
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.75;
    margin: 0;
    flex-shrink: 0;
    min-width: 160px;
}

.maps-container {
    flex: 1;
    box-sizing: border-box;
    margin-top: 0;
}

.maps-static-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    margin: 0;
}

.maps-hint {
    font-size: 0.82rem;
    color: #999;
    margin: var(--space-xs) 0 0;
    text-align: center;
}

/* Kontaktformular */
.kontakt-wrapper #kontaktformular {
    padding: 0;
    text-align: left;
}

.kontakt-wrapper #kontaktformular h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-darker);
    margin: 0 0 var(--space-md);
    text-align: left;
}


/* ── 6.5 Danke ── */
.danke-section {
    max-width: 560px;
    margin: 5rem auto;
    padding: 0 1.5rem;
    text-align: center;
}

.danke-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: block;
}

.danke-section h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-darker);
    margin: 0 0 1rem;
}
 
.danke-section p {
    font-size: 1rem;
    color: var(--color-muted);
    line-height: 1.75;
    margin: 0 0 2rem;
}
 
.danke-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0 auto 2rem;
    max-width: 80px;
}
 
.danke-btn {
    display: inline-block;
    background: var(--color-teal);
    color: var(--color-white);
    padding: 0.85rem 1.8rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
 
.danke-btn:hover {
    background: var(--color-teal-dark);
}


/* ── 6.6 Impressum & Datenschutz ── */
.impressum-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.impressum-text h1 {
    text-align: center;
}

.datenschutz-text {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.datenschutz-text h1 {
    text-align: center;
}

.datenschutz-addresse {
    text-align: center;
    margin: 0 auto;
    max-width: 400px;
    padding: var(--space-sm);
}


/* ─────────────────────────────────────────────────────────────
   7. MEDIA QUERIES
   Alle Breakpoints zentral – leichter zu überblicken.
───────────────────────────────────────────────────────────── */

/* ── Smartphone (bis 480px) ── */
@media (max-width: 480px) {
    .danke-section {
        margin: 3rem auto;
    }
    .danke-section h1 {
        font-size: 1.6rem;
    }
    .konzert-section {
        padding: 2rem 1.25rem;
    }
    .kontakt-wrapper {
        padding: 2rem 1.25rem;
    }
    form {
        padding: var(--space-sm);
    }
    form button {
        width: 100%;
    }
}

/* ── Smartphone (bis 600px) ── */
@media (max-width: 600px) {
    nav ul {
        gap: 0.75rem;
    }
    nav ul li a {
        font-size: 0.9rem;
    }
}

/* ── Smartphone (bis 700px) – Startseite, Vita, Konzerte, Kontakt ── */
@media (max-width: 700px) {
    /* Hero */
    .hero { height: 420px; }
    .hero-overlay { padding: 0 1.5rem; }
    .hero-content h1 { font-size: 1.8rem; }
    .hero-content p { font-size: 0.95rem; }

    /* Angebot */
    .angebot-section { padding: 2.5rem 1.5rem; }
    .angebot-grid { grid-template-columns: 1fr; }

    /* CTA */
    .cta-section {
        flex-direction: column;
        align-items: flex-start;
        padding: 2.5rem 1.5rem var(--space-xl);
    }

    /* Vita */
    .vita-hero-section {
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        gap: var(--space-lg);
    }
    .vita-photo-wrap { width: 160px; height: 195px; }
    .vita-hero-text h1 { font-size: 2rem; }
    .vita-career-section {
        flex-direction: column;
        gap: var(--space-lg);
        padding: var(--space-lg) 1.5rem var(--space-xl);
    }

    /* Schülerkonzerte */
    .konzert-content {
        grid-template-columns: 1fr;
    }
    .konzert-images {
        order: -1;
    }

    /* Kontakt */
    .kontakt-wrapper {
        padding: 2.5rem 1.5rem;
    }
}

/* ── Tablet (bis 768px) ── */
@media (max-width: 768px) {
    .maps-static-img { max-width: 100%; }
    .adresse-karte-row { flex-direction: column; }
}

/* ── Tablet-Mitte (701px–900px) – Angebots-Grid ── */
@media (min-width: 701px) and (max-width: 900px) {
    .angebot-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Kontakt-Buttons: 2-spaltig ab 700px ── */
@media (min-width: 700px) {
    .contact-buttons {
        grid-template-columns: 1fr 1fr;
    }
    .contact-btn.full-width {
        grid-column: 1 / -1;
    }
    .contact-btn.secondary {
        grid-column: 1 / -1;
        justify-content: center;
    }
}

/* ─────────────────────────────────────────────────────────────
   8. HAMBURGER / MOBILE NAVIGATION
   Slide-in Panel von rechts, sichtbar nur auf Mobile (≤ 700px).
───────────────────────────────────────────────────────────── */

/* ── 8.1 Burger-Button ── */
.burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 1px;
    margin: 4px 0;
}

/* ── 8.2 Overlay ── */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.mobile-overlay.is-open {
    display: block;
}

/* ── 8.3 Slide-in Panel ── */
.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 260px;
    height: 100vh;
    background: #525d7b;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-nav-close:hover {
    color: #f5b629;
}

.mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.mobile-nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

.mobile-nav ul li a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.mobile-nav ul li a.nav-active {
    border-left: 3px solid #f5b629;
    color: #f5b629;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── 8.4 Breakpoint: Burger ab ≤ 700px ── */
@media (max-width: 700px) {
    .burger-btn {
        display: block;
    }

    nav ul {
        display: none;
    }

    nav {
        display: flex;
        justify-content: flex-end;
    }
}