﻿/* base.css
   Zweck: Design-System (Farben, Typografie, Spacing) und Reset.
   Professionalisiertes Design "Midnight Gold".
*/

:root {
    /* --- Farbpalette (HSL) --- */
    /* Primary: Edles Gold */
    --hsl-primary: 44, 56%, 53%;
    /* #c9a646 */
    --primary: hsl(var(--hsl-primary));
    --primary-dark: hsl(44, 60%, 40%);
    --primary-light: hsl(44, 60%, 65%);
    --primary-alpha-10: hsla(var(--hsl-primary), 0.1);
    --primary-alpha-20: hsla(var(--hsl-primary), 0.2);

    /* Backgrounds: Tiefes Nachtblau / Anthrazit fÃ¼r Premium-Look */
    --bg-dark: hsl(225, 20%, 9%);
    /* Sehr dunkles Blau-Grau */
    --bg-darker: hsl(225, 20%, 6%);
    --bg-surface: hsl(225, 15%, 14%);
    /* FÃ¼r Karten auf dunklem Grund */

    /* Light Backgrounds (fÃ¼r helle Sektionen) */
    --bg-light: hsl(0, 0%, 98%);
    --bg-lighter: hsl(0, 0%, 100%);
    --bg-grey: hsl(210, 10%, 96%);

    /* Text */
    --text-on-dark: hsl(0, 0%, 96%);
    --text-on-dark-muted: hsl(225, 10%, 75%);
    --text-dark: hsl(225, 20%, 15%);
    --text-dark-muted: hsl(225, 10%, 40%);
    --text-light: #ffffff;

    /* Borders */
    --border-light: hsla(225, 10%, 50%, 0.15);
    --border-dark: hsla(225, 10%, 80%, 0.1);

    /* Form validation */
    --color-error: #e74c3c;
    --color-success: #27ae60;
    --color-error-bg: rgba(231, 76, 60, 0.05);
    --color-success-bg: rgba(39, 174, 96, 0.05);

    /* --- Typografie --- */
    --font-heading: "Playfair Display", serif;
    --font-body: "Inter", sans-serif;

    --font-size-h1: clamp(2.5rem, 4vw, 4rem);
    --font-size-h2: clamp(1.8rem, 2.5vw, 2.5rem);
    --font-size-h3: clamp(1.3rem, 1.5vw, 1.75rem);
    --font-size-p: 1.05rem;
    --line-height-body: 1.7;
    --line-height-heading: 1.2;

    /* --- Layout --- */
    --max-width: 1280px;
    /* --nav-height ist ein Initialwert; wird per JS (setNavHeightVar in main.js)
       an die echte Header-HÃ¶he (180px / 120px / 100px je nach Breakpoint und
       .scrolled-Klasse) angepasst. Anker-SprÃ¼nge nutzen scroll-margin-top. */
    --nav-height: 180px;

    /* --- Breakpoints (Doku-Variablen) ---
       HINWEIS: CSS Custom Properties funktionieren NICHT in @media-Queries!
       Diese Variablen dienen rein als zentrale Dokumentation der projektweit
       genutzten Breakpoints. Verwende in @media-Queries weiterhin die Pixelwerte. */
    --bp-sm: 480px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1280px;

    /* --- z-index-System (Doku) ---
       Reservierte Stufen, damit Layer nicht in Konflikt geraten.
       Aktuell verwendet (Stand 2026-04):
         #header / nav: 1000   â†’ --z-nav
         .burger-menu: 1200    â†’ --z-modal
         .nav-overlay: 900     â†’ --z-overlay
         .skip-to-content: 10000 â†’ --z-debug
         #scrollToTop: 1000    â†’ --z-nav
       Bestehende Werte nicht migrieren (Risiko), aber fÃ¼r neue Komponenten nutzen. */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 500;
    --z-overlay: 900;
    --z-nav: 1000;
    --z-modal: 1100;
    --z-toast: 1200;
    --z-debug: 9999;

    /* --- Spacing / Gap System --- */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Gap aliases (for layout.css compatibility) */
    --gap-small: 1rem;
    --gap-medium: 1.5rem;
    --gap-large: 2.5rem;

    /* Margin System */
    --margin-bottom-small: 0.75rem;
    --margin-bottom-medium: 1.5rem;
    --margin-bottom-large: 2.5rem;
    --margin-section: 0 auto 2.5rem auto;

    --padding-section: var(--spacing-xl) 5vw;
    --padding-btn: 0.9em 2em;
    --padding-btn-small: 0.6em 1.4em;

    /* --- Effects --- */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    /* Radius aliases for layout.css */
    --radius-small: 6px;
    --radius-medium: 12px;
    --radius-large: 24px;
    --radius-btn: 8px;

    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-gold: 0 10px 30px -5px hsla(44, 56%, 53%, 0.25);
    /* Shadow aliases for layout.css */
    --shadow-light: 0 2px 16px rgba(10, 10, 35, 0.07);
    --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 12px 28px rgba(10, 10, 35, 0.12);

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

    /*
     * Gemeinsame Marken-Schicht (Corporate): ein Midnight-Navy als Hausrahmen.
     * Klassik = Gold (--primary), PA = Cyan (html[data-site="pa"]) â€” getrennte Akzente, gleiche Tiefe.
     */
    --hs-brand-shell: hsl(225, 24%, 8%);
    --hs-brand-shell-mid: hsl(225, 20%, 11%);
    --hs-brand-vignette: hsla(225, 30%, 4%, 0.45);
}

/*
 * PA / Live-Tontechnik: eigenes Akzent-Set (Klassik bleibt Midnight Gold in :root).
 * Nur auf Seiten mit html[data-site="pa"] aktiv.
 */
html[data-site="pa"] {
    --pa-accent: #38bdf8;
    --pa-accent-strong: #0ea5e9;
    --pa-accent-deep: #0284c7;
    --pa-accent-muted: #7dd3fc;
    --pa-card-edge: rgba(56, 189, 248, 0.2);
    --pa-bg-page: #020617;
    --pa-bg-elevated: rgba(15, 23, 42, 0.82);
    --pa-text: #e2e8f0;
    --pa-text-muted: #94a3b8;
    --pa-text-heading: #f8fafc;

    /* Firefox: Scrollbar-Akzent PA-Cyan (Klassik/Hub nutzen die globalen Regeln unten) */
    scrollbar-color: var(--pa-accent) rgba(15, 23, 42, 0.88);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: var(--line-height-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--line-height-heading);
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-weight: 600;
}

h3 {
    font-weight: 500;
}

p {
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 2px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilities */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Scrollbar Styling fÃ¼r Webkit (Breite; Firefox nur thin/auto/none) */
:root {
    --scrollbar-width: 14px;
}

::-webkit-scrollbar {
    width: var(--scrollbar-width);
    height: var(--scrollbar-width);
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: calc(var(--scrollbar-width) / 2);
    border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* PA: Scrollbar-Akzent Cyan (Kontrast zu Klassik: Gold-Hover via --primary oben) */
html[data-site="pa"]::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.72);
}

html[data-site="pa"]::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.42);
    border-radius: calc(var(--scrollbar-width) / 2);
    border: 2px solid rgba(2, 6, 23, 0.55);
}

html[data-site="pa"]::-webkit-scrollbar-thumb:hover {
    background: var(--pa-accent);
}

/* Media Queries fÃ¼r Nav-Height Fallback (vor JS-Init).
   Werte spiegeln die Header-HÃ¶hen aus components.css wider; JS aktualisiert
   die Variable danach dynamisch (auch bei Scroll-Transition). */
@media (max-width: 768px) {
    :root {
        --nav-height: 120px;
    }
}

@media (max-width: 480px) {
    :root {
        --nav-height: 100px;
    }
}

/* === Fade-In Animation === */
/* Die .fade-in Klasse ist zentral in pages.css definiert.
   Keyframe-Animation fÃ¼r Fallback ohne JavaScript: */
@keyframes fadeInFallback {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* NOTE: .fade-in und .fade-in.visible sind in pages.css definiert */

/* === Page Transition Animation === */
/* Sanftes Einblenden beim Seitenladen */
body {
    animation: pageLoad 0.6s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Lazy Loading Image Placeholder */
img[loading="lazy"] {
    background: linear-gradient(90deg, var(--bg-grey) 25%, var(--bg-light) 50%, var(--bg-grey) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

img[loading="lazy"][src] {
    animation: none;
    background: none;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* === SKIP TO CONTENT (ACCESSIBILITY) === */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: var(--bg-dark);
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    z-index: 10000;
    border-radius: 0 0 var(--radius-md) 0;
    transition: top 0.3s;
}

.skip-to-content:focus {
    top: 0;
    outline: 3px solid var(--primary-dark);
    outline-offset: 2px;
}

/* === REDUCED MOTION (Accessibility) ===
   Respektiert NutzerprÃ¤ferenz "weniger Bewegung" â€“ stoppt Animationen,
   Transitions und smooth scrolling. */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .btn:hover,
    .btn:focus-visible,
    .leistung-kachel:hover,
    .image-card:hover,
    .feature-card:hover {
        transform: none !important;
    }
}
/* layout.css
   Zweck: Layout-spezifische Regeln - Container, Grids, Sections, allgemeines Seiten-Layout.
   EnthÃ¤lt: .container, allgemeine section-Regeln, Grid-Utilities, USP/Teaser-Grids.
*/

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--gap-medium);
    width: 100%;
}

/* Sticky Footer: bei wenig Inhalt sitzt der Block mit #footer unten im Viewport.
   Ausnahme: hub-split-page (Vollbild-Hub) â€” eigenes min-height/Layout. */
body:not(.hub-split-page) {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body:not(.hub-split-page) > main {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
}

/* Hinweis: Die allgemeinen section-Regeln (Padding, Background, Max-Width, h2-Stil etc.)
   wurden in `pages.css` zentralisiert unter `.main-content section` und `.main-content section h2`.
   Das vermeidet widersprÃ¼chliche, globale section-Regeln.
*/

/* Page shell */
.main-content {
    width: 100%;
    max-width: var(--max-width);
    margin: calc(var(--nav-height) + var(--gap-medium)) auto var(--gap-medium);
    padding: 0 24px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

/* Startseite: kein Top-Margin wegen fullscreen Hero */
.home .main-content {
    margin-top: var(--spacing-lg);
    /* Reduzierter Abstand nach Hero */
    padding-top: 0;
}

/* .home .main-content Regel entfernt, da jetzt global */

.main-content p {
    line-height: 1.75;
}

.main-content > h1 {
    font-size: var(--font-size-h1);
    font-family: 'Playfair Display', serif;
    margin-bottom: var(--margin-bottom-large);
    text-align: center;
    color: var(--text-dark);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

body:not(.home) .main-content > h1 {
    margin-bottom: var(--spacing-md);
}

/* ==========================================================================
   SECTION STYLES
   NOTE: Section-Styles sind jetzt zentral in sections.css definiert.
   - .section.section--standard = WeiÃŸe Karten (Startseite + Unterseiten)
   - .section--feature = Bild+Text-Kacheln
   ========================================================================== */

/* Spezielle Styles fÃ¼r svs-dynamic-section (Audio-Player) */
.main-content .svs-dynamic-section {
    background: var(--bg-dark);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2.5rem 1rem 2rem 1rem;
}

/* Section-Inner Container - Fallback falls nicht in .section */
.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-inner.narrow {
    max-width: calc(var(--max-width) - 240px);
}

/* USP / small grids */
.usp {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--gap-medium);
}

.usp div {
    background: var(--bg-lighter);
    padding: 1.5rem;
    border-radius: var(--radius-small);
    text-align: center;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.usp div:hover {
    transform: translateY(-5px);
}

/* Utility grid / responsive helpers (keine Seite-spezifischen Ã„nderungen) */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-medium);
}

.col {
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 900px) {

    .usp,
    .row {
        grid-template-columns: 1fr;
    }

    .main-content {
        padding: 24px 16px 40px 16px;
        margin: calc(var(--nav-height) + 12px) auto var(--gap-small);
        border-radius: 0;
        box-shadow: none;
        max-width: 100%;
        background: var(--bg-light);
    }

    .home .main-content {
        padding: 0;
        margin-top: 0;
        background: transparent;
    }
}

@media (max-width: 700px) {
    .container {
        padding: 0 12px;
    }

    .main-content {
        padding: 16px 12px 32px 12px;
        margin: calc(var(--nav-height) + 8px) auto var(--gap-small);
    }

    .home .main-content {
        padding: 0;
    }
}

@media (max-width: 600px) {
    .main-content {
        padding: 12px 8px 24px 8px;
    }

    .home .main-content {
        padding: 0;
    }
}

/* NOTE: Section-Styles sind zentral in sections.css definiert.
   - .section.section--standard = WeiÃŸe Karten
   - .section.section--standard = WeiÃŸe Karten
   ========================================================================== */

/* Legal blocks */
.legal-content {
    display: grid;
    gap: 1.25rem;
    align-items: start;
}

.legal-card {
    background: var(--text-light);
    border-radius: 18px;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 12px 40px rgba(10, 10, 35, 0.12);
    border: 1px solid rgba(10, 10, 35, 0.08);
}

.legal-card h2 {
    font-family: 'Playfair Display', serif;
    margin-top: 0;
    margin-bottom: 0.85rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    color: var(--bg-dark);
}

.legal-card h3 {
    margin-top: 1.35rem;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.legal-card h2 + h3 {
    margin-top: 0.85rem;
}

.legal-card h4 {
    margin-top: 1.4rem;
    margin-bottom: 0.6rem;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(10, 10, 35, 0.7);
}

.legal-card p,
.legal-card ul,
.legal-card li {
    line-height: 1.65;
    color: rgba(10, 10, 35, 0.85);
}

.legal-card p {
    margin-top: 0;
    margin-bottom: 0.65em;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

.legal-card ul {
    padding-left: 1.4rem;
}
/* Premium Button Styles */
/* Premium "Wow" Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: var(--spacing-xs);
    padding: var(--padding-btn);
    border-radius: var(--radius-pill);
    /* Full Pill */
    background: var(--primary);
    /* Fallback */
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    background-size: 200% auto;
    color: var(--text-dark);
    /* Dark text on gold */
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle inner detail */
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(201, 166, 70, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Legacy alias â€“ use .btn only in new markup */
.btn-primary {
    /* inherits .btn when combined as .btn.btn-primary */
}

.btn.btn-primary {
    /* no extra styles needed */
}

/* Shine Effect */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(201, 166, 70, 0.5);
    background-position: right center;
    /* Gradient animation */
    color: #050510;
}

.btn:hover::after {
    left: 100%;
    transition: 0.5s ease-in-out;
}

.btn:active {
    transform: translateY(-1px);
    box-shadow: 0 2px 10px rgba(201, 166, 70, 0.3);
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Glass Outline Button Variant */
.btn--outline {
    background: rgba(255, 255, 255, 0.03);
    /* Ultra subtle glass */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(227, 196, 105, 0.5);
    /* Semi-transparent Gold */
    color: var(--text-light);
    /* Off-white text for elegance */
    background-size: 100%;
    box-shadow: none;
}

.btn--outline:hover {
    background: var(--primary);
    color: #0A0A23;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(201, 166, 70, 0.4);
}


.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1200;
    padding: 0;
}

.burger-menu:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 4px;
}

.burger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    margin: 5px 0;
    background: var(--text-light);
    border-radius: 2px;
    transition: 0.3s;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 35, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 900;
}

.nav-legal-links {
    display: none;
}

.nav-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.main-nav {
    display: flex;
    gap: clamp(0.45rem, 1vw, 1rem);
    align-items: center;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
}

@media (min-width: 1025px) {
    .main-nav a {
        margin: 0;
        font-size: clamp(0.85rem, 1vw + 0.5rem, 1.05rem);
        letter-spacing: 0.1em;
        white-space: nowrap;
        line-height: 1.25;
        flex-shrink: 0;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .main-nav {
        gap: 0.45rem;
    }

    .main-nav a {
        font-size: 0.8rem;
        letter-spacing: 0.08em;
    }

    #header.scrolled {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    #header.scrolled .header-logo {
        max-height: clamp(52px, 6.5vh, 68px);
    }
}

.main-nav.open {
    pointer-events: auto;
}

@media (max-width: 1024px) {
    .burger-menu {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(320px, 80vw);
        background: rgba(10, 10, 35, 0.97);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 4rem 2.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -12px 0 30px rgba(0, 0, 0, 0.25);
        z-index: 1100;
        pointer-events: none;
    }

    .main-nav a {
        font-size: 1.2rem;
        color: var(--text-light);
        /* Trenner im mobilen MenÃ¼: Unterstrich zwischen EintrÃ¤gen */
        width: 100%;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .nav-legal-links {
        margin-top: auto;
        width: 100%;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
    }

    .nav-legal-links a {
        font-size: 1rem;
        opacity: 0.85;
        border-bottom: none;
    }

    .nav-legal-links a:hover {
        opacity: 1;
    }

    .main-nav.open {
        transform: translateX(0);
    }

    body.nav-open {
        overflow: hidden;
    }
}

@media (max-width: 600px) {
    .burger-menu span {
        width: 24px;
    }
}

/* Scroll To Top Button Styles */
#scrollToTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
    padding: 0;
    box-shadow: none;
    transition: opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}

#scrollToTop:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 50%;
}

#scrollToTop svg {
    display: block;
    width: 100%;
    height: 100%;
}

#scrollToTop:hover svg circle {
    fill-opacity: 0.9;
}

/* Hoerbeispiel-Komponenten (speziell, bleiben hier) */
.hoerbeispiel-controls {
    display: flex;
    gap: var(--gap-medium);
    justify-content: center;
    margin: var(--margin-bottom-medium) 0 var(--margin-bottom-small) 0;
}

.hoerbeispiel-btn {
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: var(--radius-btn);
    padding: var(--padding-btn-small);
    font-size: 1.1rem;
    font-family: inherit;
}

/* Split-Screen Audio Vergleich */
.split-audio-section {
    max-width: var(--max-width);
    margin: 3rem auto;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    color: var(--text-light);
    padding: 2.5rem 1rem 2rem 1rem;
    font-family: var(--font-body);
}

.split-audio-section h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: var(--font-size-h2);
    margin-bottom: 2rem;
}

.split-audio-desc {
    color: var(--text-light);
    margin-top: 1.5rem;
    font-size: 1.1rem;
}

.split-audio-container {
    position: relative;
    width: 100%;
    min-height: 260px;
    height: 340px;
    display: flex;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 2rem;
    background: var(--bg-surface);
}

.split-panel {
    flex: 1 1 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    transition: flex-basis 0.3s;
}

.split-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7) grayscale(0.1);
    z-index: 1;
    transition: filter 0.3s;
}

.split-title {
    position: relative;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    background: hsla(225, 20%, 9%, 0.7);
    color: var(--text-light);
    padding: 0.7rem 2.2rem;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-sm);
    letter-spacing: 0.02em;
}

.split-slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 0;
    z-index: 10;
    cursor: ew-resize;
    user-select: none;
}

.split-handle {
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 80px;
    background: var(--primary);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
    border: 3px solid var(--text-light);
}

.split-handle::after {
    content: '';
    display: block;
    width: 6px;
    height: 48px;
    background: var(--text-light);
    border-radius: 3px;
    margin: auto;
}

.split-panel.split-left {
    z-index: 2;
    border-right: 1.5px solid var(--primary);
}

.split-panel.split-right {
    z-index: 1;
}

.split-audio-player {
    width: 100%;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    padding: 1.2rem 1rem 1rem 1rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.5rem;
}

.split-player-controls {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

#splitPlayPause {
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

#splitPlayPause:hover {
    background: var(--primary-dark);
}

#splitAudioSeek {
    flex: 1 1 0;
    accent-color: var(--primary);
    height: 4px;
    min-height: 44px;
    cursor: pointer;
}

#splitAudioTime {
    min-width: 90px;
    font-size: 1rem;
    color: var(--text-light);
    font-family: var(--font-body);
}

/* stereo vs. stuetz Switch & Split-Panel */
.stereo-vs-stuetz-section {
    max-width: var(--max-width);
    margin: 3rem auto;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    color: var(--text-light);
    padding: 2.5rem 1rem 2rem 1rem;
    font-family: var(--font-body);
}

.svs-switch-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.svs-switch-btn {
    background: var(--bg-surface);
    color: var(--text-light);
    border: none;
    border-radius: 2rem;
    padding: 0.7rem 2.2rem;
    font-size: 1.1rem;
    font-family: inherit;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), filter var(--transition-fast);
    box-shadow: var(--shadow-sm);
    outline: none;
    opacity: 0.5;
    filter: grayscale(0.5);
}

.svs-switch-btn.active {
    background: var(--primary);
    color: var(--bg-dark);
    opacity: 1;
    filter: none;
}

.svs-switch-btn:focus-visible,
.svs-play-btn:focus-visible,
.svs-dyn-play-btn:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
}

.svs-split-panel {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    margin-bottom: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    box-shadow: var(--shadow-md);
    height: 0;
    opacity: 0;
    pointer-events: none;
    transition: height 0.5s cubic-bezier(.4, 0, .2, 1), opacity 0.5s;
}

.svs-split-panel.open {
    height: 220px;
    opacity: 1;
    pointer-events: auto;
    transition: height 0.5s cubic-bezier(.4, 0, .2, 1), opacity 0.5s;
}

.svs-panel {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    min-width: 0;
}

.svs-panel-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    filter: brightness(0.7) grayscale(0.1);
    border-radius: 12px 12px 0 0;
}

.svs-panel-title {
    font-size: 1.1rem;
    font-weight: bold;
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 0.5rem 1.2rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    margin-bottom: 0.5rem;
    margin-top: -0.5rem;
    z-index: 2;
}

.svs-player-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Consistency Update: Making simple svs-player match dynamic player width */
.svs-player {
    background: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.2rem 1rem 1rem 1rem;
    color: var(--text-light);
    max-width: 900px;
    width: min(90%, 900px);
    /* Adjusted to match svs-dyn-player */
    margin: 0 auto;
}


.svs-player-meta {
    margin-bottom: 0.7rem;
}

.svs-player-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
}

.svs-player-info {
    font-size: 0.95rem;
    color: var(--text-on-dark);
}

.svs-player-controls {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-top: 0.5rem;
}

.svs-play-btn {
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    display: inline-flex;
    /* Changed from flex to inline-flex/flex but ensure items center */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
    box-shadow: var(--shadow-sm);
    padding: 0;
    /* Important for centering */
    line-height: 0;
    /* Important for simple text/icon chars */
}

.svs-play-btn:hover {
    background: var(--primary-dark);
}

.svs-seek {
    display: none;
    /* wird dynamisch eingefÃ¼gt */
}

.svs-time {
    min-width: 90px;
    font-size: 1rem;
    color: var(--text-light);
    font-family: var(--font-body);
}

/* dynamisch generierte Player */
.svs-dynamic-section {
    max-width: var(--max-width);
    margin: 3rem auto;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    color: var(--text-light);
    padding: 2.5rem 1rem 2rem 1rem;
    font-family: var(--font-body);
}

.svs-dynamic-section h2 {
    color: var(--primary);
    font-size: var(--font-size-h2);
    margin-bottom: 2rem;
}

#svsDynamicPlayerList {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.svs-dyn-player {
    background: linear-gradient(to bottom, var(--bg-surface), #1a1a2e);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 1.6rem 1.4rem 1.2rem 1.4rem;
    color: var(--text-light);
    max-width: 900px;
    width: min(90%, 900px);
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s, transform 0.5s, border-color 0.3s;
}

.svs-dyn-player:hover {
    border-color: var(--primary-dark);
}

.svs-dyn-player.visible {
    opacity: 1;
    transform: translateY(0);
}

.svs-dyn-meta {
    margin-bottom: 0.7rem;
}

.svs-dyn-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
}

.svs-dyn-info {
    font-size: 0.95rem;
    color: var(--text-on-dark);
}

.svs-dyn-split {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 1.2rem;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: max-height 0.5s cubic-bezier(.4, 0, .2, 1), opacity 0.5s, visibility 0.5s;
    overflow: hidden;
}

.svs-dyn-split.open {
    max-height: 600px;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: max-height 0.5s cubic-bezier(.4, 0, .2, 1), opacity 0.5s, visibility 0.5s;
}

@media (max-width: 700px) {
    .svs-dyn-split {
        flex-direction: column;
    }

    .svs-dyn-img-wrap {
        min-height: 180px;
    }
}

.svs-dyn-img-wrap {
    flex: 1 1 0;
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 260px;
    cursor: pointer;
    transition: filter 0.3s, transform 0.3s;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-surface);
    min-width: 0;
}

.svs-dyn-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s, transform 0.3s;
}

.svs-dyn-img-wrap.inactive .svs-dyn-img {
    filter: grayscale(1) brightness(0.7);
}

.svs-dyn-img-wrap.active .svs-dyn-img {
    filter: none;
}

.svs-dyn-img-wrap:hover .svs-dyn-img {
    transform: scale(1.04);
}

.svs-dyn-img-title {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 2;
    font-size: 1.05rem;
    font-weight: bold;
    background: hsla(225, 20%, 9%, 0.8);
    color: var(--text-light);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    margin: 0;
}

.svs-dyn-controls {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    margin-top: 0.5rem;
}

.svs-dyn-play-btn {
    background: var(--primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 0;
    /* Remove font spacing */
    line-height: 0;
    display: flex;
    /* Use flex for perfect centering */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
    box-shadow: var(--shadow-sm);
    padding: 0;
    border: none;
}

.svs-dyn-play-btn svg {
    display: block;
    /* No inline spacing */
    margin: 0;
    /* Optional: fix icon size if needed */
    width: 21px;
    /* Slightly larger */
    height: 21px;
    fill: currentColor;
    stroke: currentColor;
}

.svs-dyn-play-btn:hover {
    background: var(--primary-dark);
}

.svs-dyn-seek {
    flex: 1 1 0;
    accent-color: var(--primary);
    height: 4px;
    min-height: 44px;
    cursor: pointer;
}

.svs-dyn-time {
    min-width: 90px;
    font-size: 1rem;
    color: var(--text-light);
    font-family: var(--font-body);
}

/* Header (Navigation) - in Komponenten, da wiederverwendbar */
/* Header (Navigation) - Premium & Big */
/* Header Entrance Animation */
@keyframes headerEntrance {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header (Navigation) - Premium & Wow */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 4rem;
    /* More generous padding */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(0px);
    /* Initially clear */
    height: 180px;
    /* Massive WOW height initially */
    animation: headerEntrance 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

/* Klassik-Home: fixierter Header liegt ueber hellem Hero â€” ohne staerkeren Verlauf sind Nav-Links kaum sichtbar */
body.home #header:not(.scrolled) {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.45) 52%,
        rgba(0, 0, 0, 0) 100%
    );
}

#header.scrolled {
    background: rgba(10, 10, 35, 0.95);
    box-shadow: var(--shadow-dark);
    height: clamp(90px, 12vh, 110px);
    /* Dynamic height */
    padding: 0 2rem;
    backdrop-filter: blur(12px);
}

@media (max-width: 768px) {

    #header {
        height: 120px;
        padding: 0 1.5rem;
    }

    #header.scrolled {
        height: clamp(70px, 10vh, 90px);
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {

    #header {
        height: 100px;
        padding: 0 1rem;
    }

    #header.scrolled {
        height: clamp(60px, 10vh, 80px);
        padding: 0 0.75rem;
    }
}

.header-inner {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.5rem);
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-logo {
    max-height: 140px;
    /* Huge initial logo */
    width: auto;
    display: block;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.4));
    transform-origin: left center;
}

#header.scrolled .header-logo {
    max-height: clamp(65px, 8vh, 85px);
    /* Readable dynamic size */
    filter: none;
}

nav a {
    color: var(--text-light);
    margin: 0;
    /* Abstand nur ueber .main-nav gap */
    text-decoration: none;
    font-weight: 600;
    /* Bolder */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* More spacing */
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Readable on hero */
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

nav a:hover,
nav a.active {
    color: var(--primary);
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Footer - Modern & Bold */
footer {
    position: static;
    width: 100%;
    margin: 0;
    padding: 1rem 0 0 0;
    /* Reduced padding from 2rem to 1rem */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--bg-dark);
    color: var(--text-light);
    overflow: hidden;
}

.site-footer {
    display: block;
    /* Nicht transparent: sonst Ã¼berschreibt diese Klasse das `footer`-Dunkel und der helle Body scheint durch */
    background: var(--bg-dark);
    color: var(--text-light);
}

.footer-inner {
    display: flex;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem 1rem 2rem;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1 1 200px;
    min-width: 180px;
}

/* Brand-Spalte (Logo + Claim) */
.footer-col--brand {
    flex: 0 1 auto;
}

/* Kontakt-Spalte */
.footer-col--contact {
    flex: 0 1 auto;
    text-align: right;
    align-items: flex-end;
}

/* Tighter gaps for text */
.footer-col p {
    margin-bottom: 0.3rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    /* Verbesserte Lesbarkeit */
}

/* Claim: Gut lesbar auf dunklem Hintergrund */
.footer-claim {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.95rem;
    font-style: italic;
    letter-spacing: 0.02em;
    margin-top: 0.5rem;
}

/* Telefonnummer: Sehr gut lesbar */
.footer-phone {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 1rem;
}

.footer-logo {
    max-height: 135px;
    width: auto;
    display: block;
    margin-bottom: 0.2rem;
    /* Minimaler Abstand zum Claim */
    opacity: 0.9;
}

/* Heading-Stil fÃ¼r Footer-Spalten (semantisch <p><strong>, optisch dezent) */
.site-footer .footer-heading,
.site-footer .footer-heading strong {
    margin-top: 0;
    margin-bottom: 0;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
}

.site-footer .footer-heading {
    margin-bottom: 0.8rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    /* Verbesserte Lesbarkeit */
    text-decoration: none;
    margin-bottom: 0.25rem;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.site-footer a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.site-footer a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 2px;
}

/* Footer links: better touch targets */
.site-footer a {
    padding: 4px 0;
}

/* Big Brand Footer Signature */
.footer-brand-big {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 12vw, 12rem);
    /* Etwas kleiner um Ãœberlappung zu vermeiden */
    color: rgba(255, 255, 255, 0.04);
    text-align: center;
    line-height: 0.8;
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    margin-top: 1rem;
    margin-bottom: 2rem;
    /* Positiver Abstand sorgt fÃ¼r Platz zur Meta-Bar */
    display: block;
    width: 100%;
}

.footer-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.3);
    margin: 0;
    padding: 1rem 0;
    font-size: 0.8rem;
    width: 100%;
    color: rgba(255, 255, 255, 0.65);
    /* Verbessert: von 0.5 auf 0.65 fÃ¼r bessere Lesbarkeit */
    position: relative;
    z-index: 3;
    /* Ensure it stays on top */
}

.footer-meta-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.meta-right a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
    margin: 0 0.5rem;
}

.meta-right a:hover {
    color: var(--primary);
}

.sep {
    opacity: 0.3;
}

@media (max-width: 600px) {
    .footer-meta-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer-col {
        align-items: center !important;
        text-align: center !important;
        width: 100%;
    }
}

/* Mobile Footer: alles zentrieren und Logo nach unten */
@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1.25rem 1.5rem;
        gap: 1.5rem;
    }

    .footer-col {
        align-items: center;
        /* Mobile: Zentriert lassen */
        text-align: center;
        width: 100%;
        max-width: none;
    }

    /* Logo ans Ende, damit es im mobilen Footer unten steht */
    .footer-col:first-child {
        order: 99;
    }

    .footer-meta {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.25rem;
        padding: 1rem 1.25rem 1.5rem;
    }
}

/* Image Credit (komponente) */
.image-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.image-wrapper img {
    display: block;
    max-width: 100%;
    height: auto;
}

.image-credit {
    position: absolute;
    right: 16px;
    bottom: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-light);
    font-size: 0.75rem;
    padding: 2px 4px;
    border-radius: 3px;
    pointer-events: none;
    z-index: 2;
    white-space: nowrap;
    user-select: none;
}

@media (max-width: 600px) {
    .image-credit {
        font-size: 0.65rem;
        padding: 1px 3px;
        right: 4px;
        bottom: 3px;
    }
}

/* Fehler- / Info-Klassen fÃ¼r dynamisch erzeugte Container (statt Inline-Styles) */

/* Lesbarkeit: Texte in dunklen Komponenten-Sections */
.split-audio-section p,
.stereo-vs-stuetz-section p,
.svs-dynamic-section p {
    color: var(--text-light);
    line-height: 1.75;
}

/* Responsive Anpassungen fÃ¼r Grids und Panels */
@media (max-width: 900px) {

    /* Entfernt: section padding/gap Overrides â€“ zentral in pages.css geregelt */
    .teaser-section {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 600px) {

    /* Entfernt: section padding/gap Overrides â€“ zentral in pages.css geregelt */
    .panel,
    .split-panel {
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .split-audio-container {
        flex-direction: column;
        height: auto;
        min-height: 420px;
    }

    .split-panel {
        height: 50%;
        align-items: flex-end;
    }

    .split-slider {
        left: 0;
        width: 100%;
        top: 50%;
        cursor: ns-resize;
    }

    .split-handle {
        left: 50%;
        top: -18px;
        transform: translate(-50%, 0) rotate(90deg);
    }

    .split-player-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .split-player-controls #splitAudioSeek,
    .split-player-controls #splitAudioTime {
        width: 100%;
        text-align: left;
    }

    .svs-dyn-controls,
    .svs-player-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .svs-dyn-time,
    .svs-time {
        text-align: left;
    }
}

@media (max-width: 480px) {

    .split-audio-section,
    .stereo-vs-stuetz-section,
    .svs-dynamic-section,
    .svs-simple-player,
    .svs-player,
    .svs-dyn-player {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .split-audio-container {
        min-height: 360px;
    }
}
/* sections.css
   ============================================================================
   Einheitliches Section-System fÃ¼r alle Seiten
   3 Varianten: Standard, Highlight (CTA), Feature
   ============================================================================
*/

/* ==========================================================================
   BASE SECTION STYLES
   Gemeinsame Eigenschaften fÃ¼r alle Sections
   ========================================================================== */

.section {
    padding: var(--spacing-xl) var(--spacing-md);
    scroll-margin-top: calc(var(--nav-height) + var(--spacing-md));
    box-sizing: border-box;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto var(--spacing-lg) auto;
}

/* Section Inner Container - zentriert Content */
.section .section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section .section-inner.narrow {
    max-width: calc(var(--max-width) - 280px);
}

/* Lesbarkeit: optimale ZeilenlÃ¤nge fÃ¼r FlieÃŸtext */
.section .section-inner.narrow p {
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto;
}

/* Section Headlines - einheitlicher Premium-Stil */
.section h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h2);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.01em;
    position: relative;
}

/* Goldene Unterstreichung fÃ¼r H2 */
.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: var(--spacing-sm) auto 0 auto;
    border-radius: 2px;
}

.section p {
    line-height: 1.75;
    color: var(--text-dark-muted);
}

/* ==========================================================================
   SECTION VARIANT: STANDARD (WeiÃŸe Karte)
   FÃ¼r: Intro-Text, Leistungen-Grid, normale Content-Bereiche
   ========================================================================== */

.section--standard {
    background: var(--bg-lighter);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.section--standard h2 {
    color: var(--text-dark);
}

/* Dezenter Hover-Effekt fÃ¼r interaktive Standard-Sections */
.section--standard.interactive {
    transition: all var(--transition-smooth);
}

.section--standard.interactive:hover {
    box-shadow: var(--shadow-lg);
}

@media (hover: hover) {
    .section--standard.interactive:hover {
        transform: translateY(-2px);
    }
}

/* ==========================================================================
   SECTION MODIFIERS
   ========================================================================== */

/* Kompaktere Sections mit weniger Padding */
.section--compact {
    padding: var(--spacing-lg) var(--spacing-md);
}

/* Zentrierter Inhalt (Text + Button) */
.section--centered {
    text-align: center;
}

.section--centered p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section--centered .btn {
    margin-top: var(--spacing-sm);
}

/* Kompakte Intro-Zeile (ein Absatz unter H1) */
.section--intro {
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

.section--intro h2 {
    margin-bottom: var(--spacing-sm);
}



.section--highlight {
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

.section--highlight h2,
.section--highlight h3 {
    color: var(--text-light);
}

.section--highlight p {
    color: var(--text-on-dark-muted);
}

/* ==========================================================================
   SECTION VARIANT: FEATURE (FÃ¼r spezielle Layouts wie Ãœber-uns mit Bild)
   FÃ¼r: Bild+Text Kombinationen, USP-Grid, besondere Darstellungen
   ========================================================================== */

.section--feature {
    background: var(--bg-lighter);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.section--feature h2 {
    color: var(--text-dark);
}

/* Feature mit Bild-Text Layout */
.section--feature .feature-layout {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.section--feature .feature-image {
    flex: 1 1 320px;
    max-width: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

/* Goldener Rahmen-Akzent */
.section--feature .feature-image::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--primary-alpha-20);
    border-radius: calc(var(--radius-lg) + 4px);
    pointer-events: none;
    transition: border-color var(--transition-smooth);
}

.section--feature .feature-image:hover::before {
    border-color: var(--primary);
}

.section--feature .feature-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.section--feature .feature-image:hover img {
    transform: scale(1.05);
}

.section--feature .feature-content {
    flex: 2 1 360px;
}

.section--feature .feature-content h2 {
    text-align: left;
}

.section--feature .feature-content h2::after {
    margin-left: 0;
}

/* Alternierendes Layout (Bild rechts statt links) */
.section--feature .feature-layout--reverse {
    flex-direction: row-reverse;
}

/* Feature Listen (fÃ¼r AufzÃ¤hlungen in Feature-Sections) */
.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-sm) 0 var(--spacing-md) 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-xs);
    line-height: 1.6;
    color: var(--text-dark-muted);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
}

.feature-list li strong {
    color: var(--text-dark);
}

/* ==========================================================================
   SECTION VARIANT: TRANSPARENT (Kein Hintergrund)
   FÃ¼r: Bereiche die sich nahtlos einfÃ¼gen sollen
   ========================================================================== */

.section--transparent {
    background: transparent;
    box-shadow: none;
    border: none;
}

.section--transparent h2 {
    color: var(--text-dark);
}

/* ==========================================================================
   GRID LAYOUTS INNERHALB VON SECTIONS
   ========================================================================== */

/* USP / Features Grid (4 Karten) */
.section .grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

/* Leistungen Grid 3+2 (5 Karten: 3 oben, 2 unten zentriert) */
.section .grid-3-2 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-md);
}

.section .grid-3-2>*:nth-child(1),
.section .grid-3-2>*:nth-child(2),
.section .grid-3-2>*:nth-child(3) {
    grid-column: span 2;
}

.section .grid-3-2>*:nth-child(4) {
    grid-column: 2 / span 2;
}

.section .grid-3-2>*:nth-child(5) {
    grid-column: 4 / span 2;
}

/* Fallback Grid (auto-fit) */
.section .grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

/* ==========================================================================
   CARD STYLES INNERHALB VON SECTIONS
   ========================================================================== */

/* Feature Card (fÃ¼r USP-Items) */
.section .feature-card {
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    padding: var(--spacing-md);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

/* Goldener Top-Akzent bei Hover */
.section .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.section .feature-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-alpha-20);
}

.section .feature-card:hover::before {
    transform: scaleX(1);
}

@media (hover: hover) {
    .section .feature-card:hover {
        transform: translateY(-6px);
    }
}

/* Feature Card Icon */
.section .feature-card .card-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-alpha-10), var(--primary-alpha-20));
    transition: all var(--transition-fast);
}

.section .feature-card:hover .card-icon {
    background: var(--primary);
}

.section .feature-card .card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
    transition: color var(--transition-fast);
}

.section .feature-card:hover .card-icon svg {
    color: #fff;
}

/* Image Card (fÃ¼r Leistungen-Kacheln) */
.section .image-card {
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-smooth);
}

.section .image-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

@media (hover: hover) {
    .section .image-card:hover {
        transform: translateY(-8px);
    }
}

.section .image-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.section .image-card:hover img {
    transform: scale(1.1);
}

.section .image-card .card-content {
    padding: var(--spacing-md) var(--spacing-sm);
    background: var(--bg-lighter);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.section .image-card h3 {
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-h3);
    font-family: var(--font-heading);
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.section .image-card:hover h3 {
    color: var(--primary-dark);
}

.section .image-card p {
    font-size: 0.95rem;
    color: var(--text-dark-muted);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   SECTION ABSTÃ„NDE - KONSISTENTE MARGINS
   ========================================================================== */

/* Keine doppelten Margins zwischen Sections */
.section+.section {
    margin-top: 0;
}

/* Erste Section direkt nach Hero - minimaler Abstand */
.home .main-content .section:first-child,
.home .main-content>.section:first-of-type {
    margin-top: 0;
}

/* Startseite: Reduzierter Abstand zwischen Sections */
.home .section {
    margin-bottom: var(--spacing-md);
}

/* Unterseiten (ohne Hero): kompakter Section-Rhythmus */
body:not(.home) .section {
    margin-bottom: var(--spacing-md);
    padding-top: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
}

body:not(.home) .section.section--feature {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
}

body:not(.home) .section.section--intro {
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

body:not(.home) .section--feature .feature-content h2 {
    margin-bottom: var(--spacing-md);
}

body:not(.home) .section--feature .feature-layout {
    gap: var(--spacing-md);
}

body:not(.home) .section h2 {
    margin-bottom: var(--spacing-md);
}

/* Erster Block nach H1: weniger Oberabstand */
body:not(.home) .main-content > .section:first-of-type {
    padding-top: var(--spacing-md);
}

body:not(.home) .main-content > .section.section--intro:first-of-type {
    padding-top: var(--spacing-sm);
}

/* Mehrere H2 in einer Section (z. B. Ãœber uns) */
.section h2 + h2 {
    margin-top: var(--spacing-lg);
}

/* FAQ-Rhythmus */
.section h2 + h3 {
    margin-top: var(--spacing-md);
}

.section h3 + p {
    margin-bottom: var(--spacing-sm);
}

.section h3:not(:first-child) {
    margin-top: var(--spacing-md);
}

.section .ueber-intro {
    margin-bottom: var(--spacing-md);
}

.section .ueber-intro + h2 {
    margin-top: var(--spacing-lg);
}

/* ==========================================================================
   RESPONSIVE ANPASSUNGEN
   ========================================================================== */

@media (max-width: 1024px) {
    .section--feature .feature-layout {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .section--feature .feature-image {
        max-width: 100%;
    }

    .section--feature .feature-content h2 {
        text-align: center;
    }

    .section--feature .feature-content h2::after {
        margin: var(--spacing-sm) auto 0 auto;
    }
}

@media (max-width: 900px) {
    .section {
        padding: var(--spacing-lg) var(--spacing-sm);
        margin-bottom: var(--spacing-md);
        max-width: calc(100% - 24px);
    }

    .section .section-inner.narrow {
        max-width: 100%;
    }

    .section .grid-4 {
        grid-template-columns: 1fr 1fr;
    }

    .section .grid-3-2 {
        grid-template-columns: 1fr 1fr;
        justify-items: center;
    }

    .section .grid-3-2>*:nth-child(1),
    .section .grid-3-2>*:nth-child(2),
    .section .grid-3-2>*:nth-child(3),
    .section .grid-3-2>*:nth-child(4) {
        grid-column: span 1;
        width: 100%;
    }

    .section .grid-3-2>*:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 50%;
    }
}

@media (max-width: 700px) {
    .section {
        padding: var(--spacing-md) var(--spacing-sm);
        margin-bottom: var(--spacing-sm);
        max-width: calc(100% - 16px);
        border-radius: var(--radius-md);
    }

    .section h2 {
        font-size: clamp(1.5rem, 5vw, var(--font-size-h2));
    }

    .section .grid-4,
    .section .grid-auto,
    .section .grid-3-2 {
        grid-template-columns: 1fr;
    }

    .section .grid-3-2>* {
        grid-column: auto !important;
    }

    .section--highlight {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .section {
        padding: var(--spacing-sm);
        max-width: calc(100% - 12px);
    }

    .section .feature-card {
        flex-direction: column;
        text-align: center;
    }

    .section .feature-card .card-icon {
        margin: 0 auto var(--spacing-xs);
    }
}

/* Magazin index cards (text-only) */
.magazin-card {
    text-decoration: none;
    color: inherit;
    min-height: 100%;
    position: relative;
}

.magazin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.magazin-card:hover::before,
.magazin-card:focus-visible::before {
    transform: scaleX(1);
}

.magazin-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.magazin-index .section--standard {
    max-width: none;
    width: 100%;
}

.magazin-card__meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-dark);
    margin: 0 0 var(--spacing-xs);
    font-weight: 600;
}

.magazin-card .card-content {
    padding: var(--spacing-md);
}

.magazin-card h3 {
    margin-top: 0;
}
/* pages.css
   Zweck: Seiten-spezifische Styles (Hero, Leistungen, HÃ¶rbeispiele, Referenzen, Ãœber-uns, Kontakt)
   Hinweis: Keine globalen Variablen; nutze Variablen aus base.css
*/

/* --- Hero --- */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    border-radius: 0 !important;
    color: var(--text-on-dark);
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.hero-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/*
 * Tonfilm: wie vor Refactor (git fd82960) â€” oben praktisch klar, unten etwas Verlauf.
 * SpÃ¤terer VollflÃ¤chen-Dunkelton (0.42â€“0.62) wirkte viel dunkler als die Live-Seite.
 */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.1) 60%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

/* Nur Inhalt stapeln â€” nicht auf .image-credit / .scroll-indicator (die brauchen position:absolute) */
.hero .hero-content {
    position: relative;
    z-index: 2;
}

.hero .image-credit {
    position: absolute;
    right: clamp(12px, 2.5vw, 22px);
    bottom: clamp(10px, 2.5vh, 28px);
    z-index: 3;
}

.hero-content {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    z-index: 2;
}

.hero-buttons {
    display: flex;
    gap: var(--gap-small);
    justify-content: center;
    margin-top: var(--margin-bottom-medium);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.6vw, 3.5rem);
    margin-bottom: var(--spacing-sm);
    color: #fff;
    /* Premium Textschatten fÃ¼r Lesbarkeit */
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5), 0 4px 40px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    max-width: min(34ch, 92vw);
    text-wrap: balance;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
    max-width: 600px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.hero .hero-claim {
    font-size: 1.1rem;
    opacity: .9;
}

/* Klassik-Home: Lesbarkeit Ã¼ber hellem Orchester-Hero */
html[data-site="klassik"] body.home .hero::after {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.48) 0%,
        rgba(0, 0, 0, 0.22) 36%,
        rgba(0, 0, 0, 0.08) 58%,
        rgba(0, 0, 0, 0.32) 84%,
        rgba(0, 0, 0, 0.58) 100%
    );
}

html[data-site="klassik"] body.home .hero h1 {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.88),
        0 2px 16px rgba(0, 0, 0, 0.62),
        0 4px 36px rgba(0, 0, 0, 0.38);
}

html[data-site="klassik"] body.home .hero p,
html[data-site="klassik"] body.home .hero .hero-claim {
    text-shadow:
        0 1px 3px rgba(0, 0, 0, 0.78),
        0 2px 14px rgba(0, 0, 0, 0.48);
}

html[data-site="klassik"] body.home #header:not(.scrolled) nav a {
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.92),
        0 2px 12px rgba(0, 0, 0, 0.58),
        0 0 20px rgba(0, 0, 0, 0.28);
}

html[data-site="klassik"] body.home #header:not(.scrolled) .header-logo {
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}

@media (max-width: 1024px) {
    .hero {
        min-height: 85vh;
        padding: 0 2rem;
    }

    .hero-content {
        padding: 0;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 700px) {
    .hero {
        min-height: 75vh;
        padding: 0 1.5rem;
    }

    .hero-bg img {
        object-position: center 30%;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .hero p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 70vh;
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .hero p {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .hero-buttons .btn {
        padding: 0.8em 1.8em;
        font-size: 0.85rem;
    }
}

/* Scroll-Indicator im Hero */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 1s ease 1s both;
    z-index: 10;
}

.scroll-indicator::after {
    content: '';
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0.5;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 700px) {
    .scroll-indicator {
        bottom: 1rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .scroll-indicator {
        display: none;
    }
}

a.scroll-indicator {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

a.scroll-indicator:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 6px;
    border-radius: 4px;
}

html[data-site="pa"] .pa-hero .pa-scroll-indicator::before {
    background: var(--pa-accent);
}

/* --- USP: Startseite Karten-Grid --- */
.usp-section .section-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    align-items: stretch;
}

.usp-item {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    padding: var(--spacing-md);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.usp-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.usp-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-alpha-20);
}

.usp-item:hover::before {
    transform: scaleX(1);
}

@media (hover: hover) {
    .usp-item:hover {
        transform: translateY(-6px);
    }
}

.usp-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-alpha-10), var(--primary-alpha-20));
    transition: all var(--transition-fast);
}

.usp-item:hover .usp-icon {
    background: var(--primary);
}

.usp-item:hover .usp-icon svg {
    color: #fff;
}

.usp-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
}

/* --- Leistungen - seitenbezogen ---
   NOTE: Sections sind zentral in sections.css definiert (.section + Varianten) */

.leistungen-intro {
    color: var(--bg-dark);
    font-size: 1.2rem;
    margin-bottom: 2.5em;
}

.card {
    background: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(10, 10, 35, 0.07);
    padding: 2.5em 2em 2em 2em;
    margin-bottom: 60px;
    border: none;
}

/* Grid fÃ¼r LeistungsblÃ¶cke â€“ Legacy .leistung-card entfernt (ungenutzt) */

/* Leistungen Teaser grid */
.leistungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-md);
}

/* Startseite: "Unsere Leistungen" Kacheln */
.leistung-kachel {
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-smooth);
    position: relative;
}

.leistung-kachel:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

@media (hover: hover) {
    .leistung-kachel:hover {
        transform: translateY(-8px);
    }
}

.leistung-kachel img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.leistung-kachel:hover img {
    transform: scale(1.1);
}

.leistung-info {
    padding: var(--spacing-md) var(--spacing-sm);
    background: #fff;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.leistung-info h3 {
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-h3);
    font-family: var(--font-heading);
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.leistung-kachel:hover .leistung-info h3 {
    color: var(--primary-dark);
}

.leistung-info p {
    font-size: 0.95rem;
    color: var(--text-dark-muted);
    margin: 0;
    line-height: 1.5;
}

/* --- HÃ¶rbeispiele / svs-dynamic etc. */
.hoerbeispiel-teaser {
    text-align: center;
    color: var(--text-on-dark);
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
    border-radius: var(--radius-lg) !important;
    padding: var(--spacing-xl) var(--spacing-md) !important;
    position: relative;
}

.hoerbeispiel-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.hoerbeispiel-teaser h2 {
    color: #fff !important;
}

.hoerbeispiel-teaser p {
    color: var(--text-on-dark-muted) !important;
    max-width: 550px;
    margin: 0 auto var(--spacing-md) auto;
}

.hoerbeispiel-text {
    font-size: var(--font-size-h3);
    color: var(--text-on-dark);
}

.svs-error {
    color: var(--text-on-dark);
}

/* Weitere HÃ¶rbeispiele (ohne Vergleich) */
.svs-simple-player-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.svs-simple-player {
    background: #18182a;
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.18);
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: min(70%, 900px);
    margin: 0 auto;
}

.svs-simple-player.visible {
    opacity: 1;
    transform: translateY(0);
}

.svs-simple-meta {
    margin-bottom: 1rem;
}

.svs-simple-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #c9a646;
}

.svs-simple-artist {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.svs-simple-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.svs-simple-play-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #0a0a23;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.svs-simple-play-btn:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 3px;
}

.svs-simple-seek {
    flex: 1;
    accent-color: var(--primary);
    height: 4px;
}

.svs-simple-time {
    min-width: 90px;
    text-align: right;
    color: rgba(255, 255, 255, 0.85);
}

/* --- Referenzen --- */
.referenzen-teaser {
    /* inherits layout from `.main-content section` */
    text-align: center;
}

.referenzen-stimmen {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.referenzen-stimmen blockquote {
    background: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 1.2rem 1.2rem 1rem 1.2rem;
    font-style: italic;
    font-size: 1.05rem;
    color: var(--text-dark);
    max-width: 340px;
    margin: 0;
}

.referenz-name {
    display: block;
    margin-top: 0.7rem;
    font-size: 0.98rem;
    color: var(--text-dark-muted);
    font-style: normal;
}

/* --- Ãœber uns / Teaser */
.ueberuns-teaser .section-inner {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.ueberuns-img {
    flex: 1 1 300px;
    max-width: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

/* Goldener Rahmenakzent */
.ueberuns-img::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid var(--primary-alpha-20);
    border-radius: calc(var(--radius-lg) + 4px);
    pointer-events: none;
    transition: border-color var(--transition-smooth);
}

.ueberuns-img:hover::before {
    border-color: var(--primary);
}

.ueberuns-img img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.ueberuns-img:hover img {
    transform: scale(1.05);
}

.ueberuns-content {
    flex: 2 1 320px;
    padding: var(--spacing-sm) 0;
}

.ueberuns-content p {
    font-size: var(--font-size-p);
    line-height: 1.75;
}

/* --- Kontakt Teaser & Kontakt Section */
.kontakt-teaser {
    text-align: center;
    color: var(--text-on-dark);
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    border-radius: var(--radius-lg) !important;
    padding: var(--spacing-xl) var(--spacing-md) !important;
    position: relative;
    overflow: hidden;
}

/* Dezenter goldener Akzent oben */
.kontakt-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
}

.kontakt-teaser h2 {
    color: #fff !important;
    margin-bottom: var(--spacing-sm);
}

.kontakt-teaser p {
    color: var(--text-on-dark-muted) !important;
    max-width: 500px;
    margin: 0 auto var(--spacing-md) auto;
}

.kontakt-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.kontakt-section form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 100%;
    max-width: 640px;
    margin-top: var(--spacing-md);
}

/* Klassik Kontaktseite â€“ zweispaltig wie PA */
html[data-site="klassik"] .kontakt-page-section__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

@media (max-width: 900px) {
    html[data-site="klassik"] .kontakt-page-section__layout {
        grid-template-columns: 1fr;
    }
}

html[data-site="klassik"] .kontakt-page-section__label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-dark);
    font-weight: 600;
    margin: 0 0 var(--spacing-xs);
}

html[data-site="klassik"] .kontakt-page-section__lead {
    color: var(--text-dark-muted);
    line-height: var(--line-height-body);
}

html[data-site="klassik"] .kontakt-page-section__form-wrap.kontakt-form {
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md);
    border: 1px solid var(--border-light);
    max-width: none;
}

html[data-site="klassik"] .kontakt-form-heading {
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    margin-top: 0;
    margin-bottom: var(--spacing-md);
}

html[data-site="klassik"] .kontakt-page-section__form-wrap form {
    max-width: none;
    margin-top: 0;
}

html[data-site="klassik"] .kontakt-page-section__form-wrap form .btn {
    margin-left: 0;
}

#faq p {
    margin-left: 0;
    margin-right: 0;
}

.referenzen-audio-link {
    margin-top: var(--spacing-md);
    font-size: 0.95rem;
    color: var(--text-dark-muted);
}

/* Magazin â€“ Index & Artikel */
.magazin-index,
.magazin-article {
    background: var(--bg-grey);
}

.magazin-index .main-content,
.magazin-article .main-content {
    max-width: var(--max-width);
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
    padding-bottom: var(--spacing-xl);
}

.magazin-index .main-content > h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: var(--spacing-sm);
    text-shadow: none;
}

.magazin-index .section--intro {
    padding-top: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
}

.magazin-back {
    margin: 0;
}

.magazin-article-body > .magazin-back {
    padding: var(--spacing-md) clamp(var(--spacing-md), 4vw, var(--spacing-xl)) 0;
}

.magazin-article-body > .magazin-back + .magazin-article-header {
    padding-top: var(--spacing-sm);
}

.magazin-back a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-dark-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

.magazin-back a:hover {
    color: var(--primary-dark);
}

.magazin-back a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 2px;
}

.magazin-article-body {
    background: var(--bg-lighter);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    max-width: none;
    margin: 0;
}

.magazin-article-header {
    margin: 0;
    padding: var(--spacing-md) clamp(var(--spacing-md), 4vw, var(--spacing-xl));
    background: none;
    color: inherit;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.magazin-article-header .magazin-card__meta {
    display: block;
    width: 100%;
    text-align: center;
    color: var(--primary-dark);
    margin: 0 0 var(--spacing-xs);
}

.magazin-article-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    text-shadow: none;
    margin: 0 auto;
    max-width: min(100%, 52rem);
}

.magazin-article-content {
    padding: var(--spacing-lg) clamp(1.25rem, 4vw, 2.5rem);
    font-size: 1.05rem;
    color: var(--text-dark);
    max-width: 860px;
    margin: 0 auto;
}

.magazin-article-content > p:first-child:has(em),
.magazin-article-content .magazin-disclaimer {
    background: var(--primary-alpha-10);
    border-left: 3px solid var(--primary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-dark-muted);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.magazin-article-content > p:first-child em {
    font-style: normal;
}

.magazin-article-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--primary-alpha-20);
    color: var(--text-dark);
}

.magazin-article-content h2:first-of-type {
    margin-top: var(--spacing-md);
}

.magazin-article-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 1.8vw, 1.35rem);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.magazin-article-content a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.magazin-article-content a:hover {
    color: var(--primary);
}

.magazin-article-content ul.feature-list,
.magazin-article-content ol.feature-list {
    margin: var(--spacing-sm) 0 var(--spacing-md);
}

.magazin-sources {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-light);
    font-size: 0.92rem;
    color: var(--text-dark-muted);
}

.magazin-sources h2 {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark-muted);
}

.magazin-sources ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.magazin-sources li + li {
    margin-top: 0.35rem;
}

.magazin-sources a {
    font-weight: 500;
    color: var(--text-dark-muted);
    text-decoration-thickness: 1px;
}

.magazin-sources a:hover {
    color: var(--primary-dark);
}

.magazin-sources a[target="_blank"]::after {
    content: " \2197";
    font-size: 0.75em;
    opacity: 0.55;
}

.magazin-article-footer {
    margin: 0;
    padding: var(--spacing-md) clamp(1.25rem, 4vw, 2.5rem) var(--spacing-lg);
    border-top: 1px solid var(--border-light);
    background: var(--bg-light);
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    justify-content: center;
}

@media (max-width: 700px) {
    .magazin-article-header {
        padding-top: var(--spacing-md);
        padding-bottom: var(--spacing-md);
    }

    .magazin-article-content {
        padding-top: var(--spacing-md);
        padding-bottom: var(--spacing-md);
    }
}

.kontakt-intro {
    font-size: var(--font-size-p);
    color: var(--text-dark-muted);
    text-align: center;
    margin-bottom: var(--spacing-md);
    max-width: 600px;
}

/* Form styles (migriert aus layout.css) */
.kontakt-infos.card,
.kontakt-infos {
    width: 100%;
    max-width: 640px;
    background: var(--bg-lighter);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    padding: 1.5rem 2rem;
    margin-bottom: var(--margin-bottom-large);
    text-align: center;
    font-size: 1.1rem;
}

.kontakt-form.card,
.kontakt-form {
    width: 100%;
    max-width: 640px;
    background: var(--bg-lighter);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-light);
    padding: 2rem 2rem 1.5rem 2rem;
}

/* Kein doppeltes Padding innerhalb Section-Kacheln */
.section .kontakt-form {
    max-width: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.kontakt-lowbarrier {
    font-size: 0.98rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark-muted);
    /* Verbessert: nutzt Design-System Variable */
    text-align: left;
}

.kontakt-hinweis-klein,
.datenschutz-hinweis {
    font-size: 0.85rem;
    color: hsl(225, 10%, 45%);
    /* Verbessert: dunkler fÃ¼r bessere Lesbarkeit */
    margin-top: 0.5rem;
}

/* Form elemente */
.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-input {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-btn);
    border: 1px solid var(--border-light);
    font-size: 1rem;
    margin-top: 0.3rem;
    margin-bottom: 0;
    background: var(--text-light);
    color: var(--text-dark);
    font-family: inherit;
    box-sizing: border-box;
    transition: border 0.2s;
}

.form-input:focus,
.form-input:focus-visible {
    border: 1.5px solid var(--primary);
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

textarea.form-input {
    min-height: 150px;
    resize: vertical;
}

/* Form Validation States */
.form-input.error {
    border-color: var(--color-error);
    background-color: var(--color-error-bg);
}

.form-input.valid {
    border-color: var(--color-success);
    background-color: var(--color-success-bg);
}

.field-error {
    display: block;
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading button state */
button.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

button.loading::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* --- Kleine Responsive Anpassungen (seitenbezogen) */
@media (max-width: 900px) {
    .leistungen-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ueberuns-teaser .section-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
}

@media (max-width: 700px) {
    .leistungen-grid {
        grid-template-columns: 1fr;
    }

    .referenzen-stimmen {
        flex-direction: column;
        gap: 1rem;
    }

    .ueberuns-teaser .section-inner {
        padding: 1.2rem 0.5rem;
    }

    .kontakt-teaser {
        padding: 1.2rem 0.5rem;
    }

    .leistungen-title {
        font-size: var(--font-size-h1);
    }

    .section h2 {
        font-size: var(--font-size-h2);
    }

    .section-inner.narrow {
        max-width: 100%;
    }
}

/* USP responsive Layouts je nach Anzahl (wird via data-usp-count gesetzt) */
.usp-section[data-usp-count="4"] .section-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: var(--gap-large);
}

/* 5 Elemente: symmetrisch (3 oben, 2 unten mittig) via 6-Spalten-Grid */
@media (min-width: 900px) {
    .usp-section[data-usp-count="5"] .section-inner {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .usp-section[data-usp-count="5"] .usp-item {
        grid-column: span 2;
    }

    .usp-section[data-usp-count="5"] .usp-item:nth-child(1) {
        grid-column: 1 / span 2;
    }

    .usp-section[data-usp-count="5"] .usp-item:nth-child(2) {
        grid-column: 3 / span 2;
    }

    .usp-section[data-usp-count="5"] .usp-item:nth-child(3) {
        grid-column: 5 / span 2;
    }

    .usp-section[data-usp-count="5"] .usp-item:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .usp-section[data-usp-count="5"] .usp-item:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

/* Mobile bleibt einspaltig */
@media (max-width: 700px) {
    .usp-section .section-inner {
        grid-template-columns: 1fr !important;
    }
}

/* Leistungen-Grid: gleichmÃ¤ÃŸige Muster je nach Anzahl */
.leistungen-grid[data-l-count="4"] {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
}

@media (min-width: 900px) {
    .leistungen-grid[data-l-count="5"] {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .leistungen-grid[data-l-count="5"] .leistung-kachel {
        grid-column: span 2;
    }

    .leistungen-grid[data-l-count="5"] .leistung-kachel:nth-child(1) {
        grid-column: 1 / span 2;
    }

    .leistungen-grid[data-l-count="5"] .leistung-kachel:nth-child(2) {
        grid-column: 3 / span 2;
    }

    .leistungen-grid[data-l-count="5"] .leistung-kachel:nth-child(3) {
        grid-column: 5 / span 2;
    }

    .leistungen-grid[data-l-count="5"] .leistung-kachel:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .leistungen-grid[data-l_count="5"] .leistung-kachel:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

@media (max-width: 700px) {
    .leistungen-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Fade-in helper (triggered by JS) */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(.4, 0, .2, 1), transform 0.7s cubic-bezier(.4, 0, .2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: none;
}

/* Headline rules for subpages */
.ueberuns-teaser h2,
.kontakt-teaser h2,
.leistungen-teaser h2,
.referenzen-teaser h2 {
    color: var(--bg-dark);
    font-size: var(--font-size-h2);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.01em;
}

.split-audio-section h2,
.svs-dynamic-section h2 {
    font-size: var(--font-size-h2);
}

/* Vergleichs-Headline (technik.html) */
.vergleich-headline {
    margin-bottom: 1.5rem;
}

.vergleich-intro {
    max-width: 65ch;
    margin: 0 auto 3rem auto;
}

/* NOTE: .section-inner und .section-inner.narrow sind in layout.css definiert */

/* Trenner zwischen Cards innerhalb einer Section (fÃ¼r Unterseiten mit mehreren InhaltsblÃ¶cken in einer Section) */
.main-content section .card+.card {
    border-top: 2px solid var(--border-light);
    margin-top: 2rem;
    padding-top: 2rem;
}

/* ==========================================================================
   IMPRESSUM & DATENSCHUTZ (Legal-Pages)
   Konsolidierte Regeln â€“ frÃ¼her waren .legal-main und .legal-page Definitionen
   doppelt. Hier zentral gepflegt.
   ========================================================================== */
.legal-content {
    display: grid;
    gap: 1.25rem;
    align-items: start;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.legal-content--stacked {
    grid-template-columns: 1fr;
}

.legal-card {
    background: var(--text-light);
}

.legal-main {
    max-width: var(--max-width);
}

/* Breite wie ueberall: .main-content + .legal-main nutzen beide --max-width (layout.css) */
.legal-page .main-content {
    max-width: var(--max-width);
    margin: calc(var(--nav-height) + var(--gap-small)) auto var(--gap-small);
    border-radius: 0;
}

.legal-page .main-content section {
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding-left: var(--gap-small);
    padding-right: var(--gap-small);
}

/* Legal: kompakter Abstand Titel â†’ Karten */
.legal-page .main-content > h1 {
    margin-bottom: 1.25rem;
}

.legal-highlight {
    margin-top: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-medium);
    background: rgba(10, 10, 35, 0.04);
    border: 1px solid rgba(10, 10, 35, 0.07);
}

.legal-card .legal-highlight p {
    margin-bottom: 0;
}

@media (max-width: 900px) {

    .legal-content,
    .legal-content--stacked {
        grid-template-columns: 1fr;
        gap: var(--gap-medium);
    }

    .legal-card {
        padding: 1.75rem;
        border-radius: var(--radius-medium);
    }

    .legal-card h2 {
        font-size: clamp(1.4rem, 4vw, 1.8rem);
    }

    .legal-highlight {
        padding: 0.75rem 1rem;
    }
}

@media (max-width: 700px) {
    .legal-page .legal-main {
        padding: 0;
    }

    .legal-page .main-content {
        padding: 0;
    }

    .legal-page .main-content section {
        padding: 0;
        margin: 0;
    }

    .legal-page .legal-card,
    .legal-page .legal-highlight {
        border-radius: 0;
        box-shadow: none;
    }

    .legal-page .legal-card {
        padding: 1.25rem 1rem;
    }

    .legal-page .legal-highlight {
        padding: 0.65rem 0.85rem;
    }
}

@media (max-width: 480px) {
    .legal-card {
        padding: 1.25rem 1rem;
    }

    .legal-highlight {
        padding: 0.6rem 0.75rem;
    }
}

/* --- Hub Split (/ index): Vollbild zwei Haelften + schmale Legal-Leiste ---
   Hover: aktive Seite verbreitert sich (kommt nach vorne); Logo liegt auf dem Bereich, ohne hellen Kreis. */
body.hub-split-page {
    margin: 0;
    background-color: var(--hs-brand-shell);
    background-image:
        radial-gradient(ellipse 90% 55% at 12% 88%, hsla(44, 56%, 53%, 0.09), transparent 52%),
        radial-gradient(ellipse 85% 50% at 88% 12%, hsla(199, 89%, 48%, 0.1), transparent 50%),
        radial-gradient(ellipse 120% 80% at 50% 50%, var(--hs-brand-shell-mid), var(--hs-brand-vignette));
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    overflow-x: clip;

    /* Hub: gleiche Typo wie Uebersetz â€” Akzente aus :root / PA-Palette */
    --hub-text-idle: #ffffff;
    --hub-pa-accent: #38bdf8;
    --hub-pa-accent-mid: #67e8f9;
    --hub-klassik-accent: var(--primary);
    --hub-klassik-accent-light: var(--primary-light);
}

body.hub-split-page .hub-split-main {
    position: relative;
    margin: 0;
    padding: 0;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    display: block;
}

/* Logo bleibt immer mittig oben; Hover verbreitert nur das Panel â€” geometrisch â€žin der Eckeâ€œ */
.hub-split-brand {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: clamp(0.65rem, 2vh, 1.35rem) 1rem;
    padding-top: max(0.65rem, env(safe-area-inset-top));
    pointer-events: none;
    user-select: none;
}

/* Kein heller Kreis: Lesbarkeit per dunklem Glow (Gold-Logo auf Fotos) */
.hub-split-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: min(360px, 68vw);
    max-height: clamp(64px, 15vh, 152px);
    object-fit: contain;
    filter:
        drop-shadow(0 1px 2px rgba(0, 0, 0, 0.95))
        drop-shadow(0 3px 14px rgba(0, 0, 0, 0.75))
        drop-shadow(0 0 28px rgba(0, 0, 0, 0.55));
}

.hub-split-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    width: 100%;
    height: 100%;
    min-height: 0;
    gap: 0;
    background: transparent;
    transition:
        grid-template-columns 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 769px) {
    /*
     * Mittellinie auf der echten Spaltgrenze (nicht immer 50vw): bei 1.35fr/1fr wandert die Kante,
     * der Strich muss mit derselben Transition mitziehen wie grid-template-columns.
     */
    .hub-split-grid::after {
        content: "";
        position: absolute;
        /* linke Spalte / Summe â€” bei 1fr 1fr = 50% */
        left: calc(100% * 1 / (1 + 1));
        top: 10%;
        bottom: 10%;
        width: 1px;
        transform: translateX(-50%);
        z-index: 4;
        pointer-events: none;
        opacity: 0.55;
        transition: left 0.55s cubic-bezier(0.22, 1, 0.36, 1);
        background: linear-gradient(
            to bottom,
            transparent 0%,
            var(--hub-pa-accent-mid) 18%,
            rgba(255, 255, 255, 0.35) 50%,
            var(--hub-klassik-accent) 82%,
            transparent 100%
        );
        box-shadow: 0 0 24px hsla(199, 89%, 48%, 0.12);
    }

    .hub-split-grid:has(.hub-split-panel--pa:hover)::after,
    .hub-split-grid:has(.hub-split-panel--pa:focus-visible)::after {
        left: calc(100% * 1.35 / (1.35 + 1));
    }

    .hub-split-grid:has(.hub-split-panel--klassik:hover)::after,
    .hub-split-grid:has(.hub-split-panel--klassik:focus-visible)::after {
        left: calc(100% * 1 / (1 + 1.35));
    }

    /* Dezente Verbreiterung â€” Logo fix, Wirkt mit der Mitte als Ecke des groesseren Bereichs */
    .hub-split-grid:has(.hub-split-panel--pa:hover),
    .hub-split-grid:has(.hub-split-panel--pa:focus-visible) {
        grid-template-columns: 1.35fr 1fr;
    }

    .hub-split-grid:has(.hub-split-panel--klassik:hover),
    .hub-split-grid:has(.hub-split-panel--klassik:focus-visible) {
        grid-template-columns: 1fr 1.35fr;
    }
}

/*
 * Hub-Footer: gleiche DNA wie .footer-meta (components.css) â€” volle Breite, keine â€žPillâ€œ,
 * damit die Startsplit-Seite zum restlichen Corporate Design passt.
 */
.hub-legal-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.3);
    font-family: var(--font-body);
}

.hub-legal-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 2rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

.hub-legal-copy {
    flex-shrink: 0;
}

.hub-legal-links {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.hub-legal-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hub-legal-links a:hover,
.hub-legal-links a:focus-visible {
    color: var(--primary);
    text-decoration: none;
}

.hub-legal-sep {
    opacity: 0.3;
    user-select: none;
}

@media (max-width: 600px) {
    .hub-legal-inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

.hub-split-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.25rem, 5vw, 3rem);
    text-align: center;
    text-decoration: none;
    color: var(--hub-text-idle);
    outline: none;
    overflow: hidden;
    isolation: isolate;
    transition: filter 0.5s ease, box-shadow 0.45s ease;
}

/* Grauer Tonfilm ueber den Fotos (Lesbarkeit); wird beim Hover heller */
.hub-split-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.45s ease, background 0.45s ease;
}

.hub-split-panel--pa::before {
    background:
        linear-gradient(
            165deg,
            rgba(18, 26, 42, 0.92) 0%,
            rgba(22, 36, 52, 0.85) 42%,
            rgba(16, 28, 44, 0.9) 100%
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 22px,
            rgba(255, 255, 255, 0.03) 23px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 22px,
            rgba(255, 255, 255, 0.03) 23px
        );
}

.hub-split-panel--klassik::before {
    background: linear-gradient(
        165deg,
        rgba(42, 36, 28, 0.9) 0%,
        rgba(58, 50, 40, 0.82) 45%,
        rgba(48, 42, 34, 0.88) 100%
    );
}

/* Klassik: Overlay beim Hover etwas transparenter â€” Bild kommt gut durch */
.hub-split-panel--klassik:hover::before,
.hub-split-panel--klassik:focus-visible::before {
    opacity: 0.55;
}

/*
 * PA / Festival: Hover = Konzertlicht â€” Foto deutlich farbiger/satter,
 * zusaetzliche kuenstliche Lichtfarbe (Cyan/Magenta/Gold), Text bleibt in der Karte lesbar.
 */
.hub-split-panel--pa:hover::before,
.hub-split-panel--pa:focus-visible::before {
    opacity: 1;
    background:
        radial-gradient(ellipse 85% 70% at 50% 100%, rgba(56, 189, 248, 0.22), transparent 55%),
        radial-gradient(ellipse 65% 50% at 18% 25%, rgba(56, 189, 248, 0.22), transparent 50%),
        radial-gradient(ellipse 55% 45% at 82% 18%, rgba(103, 232, 249, 0.14), transparent 48%),
        linear-gradient(
            168deg,
            rgba(10, 18, 38, 0.38) 0%,
            rgba(14, 26, 48, 0.28) 48%,
            rgba(8, 14, 32, 0.48) 100%
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 22px,
            rgba(56, 189, 248, 0.07) 23px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 22px,
            rgba(56, 189, 248, 0.05) 23px
        );
}

/* Dieselben Motive wie frueher bei der Karten-Hover-Vorschau */
.hub-split-panel--pa .hub-split-panel-bg {
    background-color: #5a5a5a;
    background-image: url("/assets/images/Livemitschnitte/live-mitschnitt-festival-konzert.jpg");
    background-size: cover;
    background-position: center;
}

.hub-split-panel--klassik .hub-split-panel-bg {
    background-color: #626262;
    background-image: url("/assets/images/orchesteraufnahme-bamberg-hero.jpg");
    background-size: cover;
    background-position: center;
}

.hub-split-panel-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    transform-origin: center center;
    transition: filter 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Bereich PA: kuehler Idle-Ton; ohne Mittelstreifen (Panels grenzen direkt an) */
.hub-split-panel--pa {
    color: var(--hub-text-idle);
}

.hub-split-content {
    position: relative;
    z-index: 2;
    max-width: 26rem;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-split-kicker {
    display: block;
    margin-bottom: 1.1rem;
}

/* Kickers + Hinweis â€žSeite aufrufenâ€œ: Idle = Akzent; Hover = weiss (Titel invertiert) */
.hub-split-panel--klassik .hub-split-kicker,
.hub-split-panel--pa .hub-split-kicker,
.hub-split-panel--klassik .hub-split-hint,
.hub-split-panel--pa .hub-split-hint {
    transition: color 0.45s ease, text-shadow 0.45s ease;
}

.hub-split-panel--klassik .hub-split-kicker {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hub-klassik-accent-light);
    text-shadow:
        0 0 18px rgba(201, 166, 70, 0.35),
        0 2px 12px rgba(0, 0, 0, 0.45);
}

.hub-split-panel--pa .hub-split-kicker {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--hub-pa-accent-mid);
    text-shadow:
        0 0 20px rgba(56, 189, 248, 0.42),
        0 2px 12px rgba(0, 0, 0, 0.5);
}

.hub-split-title {
    display: block;
    font-size: clamp(2.1rem, 6vw, 4rem);
    line-height: 1.12;
}

.hub-split-panel--klassik .hub-split-title {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--hub-text-idle);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    filter: none;
    text-shadow:
        0 2px 18px rgba(0, 0, 0, 0.55),
        0 6px 36px rgba(0, 0, 0, 0.35);
    transition:
        color 0.45s ease,
        filter 0.45s ease,
        text-shadow 0.45s ease;
}

.hub-split-panel--pa .hub-split-title {
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
    color: var(--hub-text-idle);
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
    transition:
        color 0.45s ease,
        filter 0.45s ease,
        text-shadow 0.45s ease;
}

.hub-split-hint {
    display: block;
    margin-top: 1.75rem;
    font-family: var(--font-body);
}

/* Wie Kicker-Zeilen: gleiche Groesse/Gewicht/Buchstabenabstand pro Bereich */
.hub-split-panel--klassik .hub-split-hint {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--hub-klassik-accent-light);
    text-shadow:
        0 0 18px rgba(201, 166, 70, 0.35),
        0 2px 12px rgba(0, 0, 0, 0.45);
}

.hub-split-panel--pa .hub-split-hint {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--hub-pa-accent-mid);
    text-shadow:
        0 0 20px rgba(56, 189, 248, 0.42),
        0 2px 12px rgba(0, 0, 0, 0.5);
}

/* Hover / Focus: gewaehlte Seite heller & groesser; andere abdunkeln */
.hub-split-grid:has(.hub-split-panel--pa:hover) .hub-split-panel--klassik,
.hub-split-grid:has(.hub-split-panel--pa:focus-visible) .hub-split-panel--klassik {
    filter: brightness(0.58);
}

.hub-split-grid:has(.hub-split-panel--klassik:hover) .hub-split-panel--pa,
.hub-split-grid:has(.hub-split-panel--klassik:focus-visible) .hub-split-panel--pa {
    filter: brightness(0.58);
}

.hub-split-panel--pa:hover,
.hub-split-panel--pa:focus-visible {
    z-index: 3;
}

.hub-split-panel--klassik:hover,
.hub-split-panel--klassik:focus-visible {
    z-index: 3;
}

.hub-split-panel--pa:hover .hub-split-panel-bg,
.hub-split-panel--pa:focus-visible .hub-split-panel-bg {
    filter: brightness(1.14) saturate(1.52) contrast(1.06);
    transform: scale(1.045);
}

.hub-split-panel--klassik:hover .hub-split-panel-bg,
.hub-split-panel--klassik:focus-visible .hub-split-panel-bg {
    filter: brightness(1.2) saturate(1.08);
    transform: scale(1.03);
}

.hub-split-panel:hover .hub-split-content,
.hub-split-panel:focus-visible .hub-split-content {
    transform: scale(1.04);
}

/* PA Hover: Cyan-Akzent (gleiches Farbfeld wie PA-Unterseiten) */
.hub-split-panel--pa:hover .hub-split-title,
.hub-split-panel--pa:focus-visible .hub-split-title {
    background: linear-gradient(
        168deg,
        #ecfeff 0%,
        var(--hub-pa-accent-mid) 42%,
        var(--hub-pa-accent) 88%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.75))
        drop-shadow(0 0 28px rgba(56, 189, 248, 0.5));
}

.hub-split-panel--pa:hover .hub-split-title::after,
.hub-split-panel--pa:focus-visible .hub-split-title::after {
    content: "";
    display: block;
    width: 3.25rem;
    height: 3px;
    margin: 0.65rem auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #0ea5e9, var(--hub-pa-accent));
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.45);
}

@supports not (background-clip: text) {
    .hub-split-panel--pa:hover .hub-split-title,
    .hub-split-panel--pa:focus-visible .hub-split-title {
        background: none;
        color: var(--hub-pa-accent-mid);
        filter: none;
        text-shadow:
            0 2px 18px rgba(0, 0, 0, 0.75),
            0 0 28px rgba(56, 189, 248, 0.45);
    }
}

.hub-split-panel--pa:hover .hub-split-kicker,
.hub-split-panel--pa:focus-visible .hub-split-kicker {
    color: var(--hub-text-idle);
    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.65),
        0 0 20px rgba(0, 0, 0, 0.35);
}

.hub-split-panel--pa:hover .hub-split-hint,
.hub-split-panel--pa:focus-visible .hub-split-hint {
    color: var(--hub-text-idle);
    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.65),
        0 0 20px rgba(0, 0, 0, 0.35);
}

/* Klassik Hover: Gold-Akzent (Primary-Palette) */
.hub-split-panel--klassik:hover .hub-split-kicker,
.hub-split-panel--klassik:focus-visible .hub-split-kicker {
    color: var(--hub-text-idle);
    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.55),
        0 0 18px rgba(0, 0, 0, 0.3);
}

.hub-split-panel--klassik:hover .hub-split-title,
.hub-split-panel--klassik:focus-visible .hub-split-title {
    background: linear-gradient(
        168deg,
        hsl(48, 82%, 92%) 0%,
        var(--hub-klassik-accent) 40%,
        hsl(43, 62%, 74%) 72%,
        hsl(44, 54%, 52%) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.65))
        drop-shadow(0 0 32px rgba(201, 166, 70, 0.42));
}

@supports not (background-clip: text) {
    .hub-split-panel--klassik:hover .hub-split-title,
    .hub-split-panel--klassik:focus-visible .hub-split-title {
        background: none;
        color: var(--primary-light);
        filter: none;
        text-shadow:
            0 2px 18px rgba(0, 0, 0, 0.65),
            0 0 36px rgba(201, 166, 70, 0.45);
    }
}

.hub-split-panel--klassik:hover .hub-split-hint,
.hub-split-panel--klassik:focus-visible .hub-split-hint {
    color: var(--hub-text-idle);
    text-shadow:
        0 2px 14px rgba(0, 0, 0, 0.55),
        0 0 18px rgba(0, 0, 0, 0.3);
}

/* PA Hub: kein Kasten/Glas â€” Text und Cyan-Balken liegen direkt auf dem Foto */
.hub-split-panel--pa .hub-split-content {
    position: relative;
    padding: clamp(1rem, 3vw, 1.35rem) clamp(1.15rem, 3vw, 1.75rem);
    border: none;
    border-radius: 0;
    background: transparent;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-split-panel--pa .hub-split-content::before {
    display: none;
}

.hub-split-panel--pa:hover .hub-split-content,
.hub-split-panel--pa:focus-visible .hub-split-content {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hub-split-panel--klassik:focus-visible {
    /* Weiss statt Gold: bleibt auf hell aufgehelltem Foto lesbar */
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.92);
}

.hub-split-panel--pa:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(56, 189, 248, 0.88);
}

@media (max-width: 768px) {
    .hub-split-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .hub-split-grid:has(.hub-split-panel--pa:hover),
    .hub-split-grid:has(.hub-split-panel--pa:focus-visible) {
        grid-template-rows: 1.85fr 1fr;
    }

    .hub-split-grid:has(.hub-split-panel--klassik:hover),
    .hub-split-grid:has(.hub-split-panel--klassik:focus-visible) {
        grid-template-rows: 1fr 1.85fr;
    }

    .hub-split-panel--pa {
        border-right: none;
    }

    .hub-legal-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        max-width: min(22rem, calc(100vw - 1.5rem));
        row-gap: 0.35rem;
        padding: 0.5rem 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hub-split-panel,
    .hub-split-panel-bg,
    .hub-split-content {
        transition-duration: 0.01ms !important;
    }

    .hub-split-grid {
        transition-duration: 0.01ms !important;
    }

    .hub-split-grid::after {
        transition-duration: 0.01ms !important;
    }

    .hub-split-panel--pa:hover .hub-split-panel-bg,
    .hub-split-panel--pa:focus-visible .hub-split-panel-bg,
    .hub-split-panel--klassik:hover .hub-split-panel-bg,
    .hub-split-panel--klassik:focus-visible .hub-split-panel-bg {
        transform: none;
    }

    .hub-split-panel:hover .hub-split-content,
    .hub-split-panel:focus-visible .hub-split-content {
        transform: none;
    }

    .hub-split-grid:has(.hub-split-panel--pa:hover) .hub-split-panel--klassik,
    .hub-split-grid:has(.hub-split-panel--klassik:hover) .hub-split-panel--pa {
        filter: none;
    }
}

.footer-hub-link {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.95;
}

.footer-hub-link a {
    color: inherit;
}

.pa-list {
    line-height: 1.55;
    padding-left: 1.25rem;
}

.pa-list li {
    margin-bottom: 0.75rem;
}

.pa-cross-link {
    margin-top: 1.25rem;
    font-size: 0.95rem;
}

.pa-cross-link a {
    color: inherit;
}

/* =============================================================================
   Klassik (html[data-site="klassik"]): helles â€žMidnight Goldâ€œ
   (weiÃŸe Karten, goldene Akzente) â€” absichtlich kein overlap zu PA-Selektoren.
   ============================================================================= */

html[data-site="klassik"] body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

html[data-site="klassik"] .main-content {
    background: transparent;
    color: var(--text-dark);
}

html[data-site="klassik"] .main-content > h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
}

html[data-site="klassik"] .section.section--standard {
    background: var(--bg-lighter);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

html[data-site="klassik"] .section.section--standard h2 {
    color: var(--text-dark);
}

html[data-site="klassik"] .section.section--standard h2::after {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

html[data-site="klassik"] .section.section--standard p,
html[data-site="klassik"] .section.section--standard li {
    color: var(--text-dark-muted);
}

html[data-site="klassik"] .section.section--standard {
    background: var(--bg-lighter);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
}

html[data-site="klassik"] .kontakt-form,
html[data-site="klassik"] .kontakt-infos {
    background: var(--bg-lighter);
    box-shadow: var(--shadow-light);
}

/* Navigation: Gold-Akzent (nicht PA-Cyan) */
html[data-site="klassik"] #header nav a:hover,
html[data-site="klassik"] #header nav a.active {
    color: var(--primary);
}

html[data-site="klassik"] #header nav a::after {
    background-color: var(--primary);
}

/* Klassik-Buttons: dezentes goldenes GlÃ¼hen (analog PA-Glow) */
html[data-site="klassik"] .btn {
    box-shadow:
        0 4px 18px rgba(201, 166, 70, 0.28),
        0 0 22px rgba(201, 166, 70, 0.1);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background-position 0.4s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        background-color 0.35s ease;
}

html[data-site="klassik"] .btn:hover {
    box-shadow:
        0 8px 28px rgba(201, 166, 70, 0.48),
        0 0 36px rgba(227, 196, 105, 0.24);
}

html[data-site="klassik"] .btn--outline {
    background: transparent;
    border: 1px solid rgba(201, 166, 70, 0.72);
    color: var(--primary-light);
    backdrop-filter: blur(6px);
    box-shadow: 0 0 16px rgba(201, 166, 70, 0.06);
}

html[data-site="klassik"] .btn--outline:hover {
    background: rgba(201, 166, 70, 0.14);
    border-color: var(--primary-light);
    color: #fff;
    box-shadow:
        0 6px 24px rgba(201, 166, 70, 0.32),
        0 0 30px rgba(227, 196, 105, 0.2);
    transform: translateY(-2px) scale(1.01);
}

html[data-site="klassik"] .hero .btn--outline:hover {
    background: rgba(201, 166, 70, 0.18);
}

@media (prefers-reduced-motion: reduce) {
    html[data-site="klassik"] .btn,
    html[data-site="klassik"] .btn--outline:hover {
        transition: box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease,
            background-color 0.2s ease;
    }

    html[data-site="klassik"] .btn:hover,
    html[data-site="klassik"] .btn--outline:hover {
        transform: none;
    }
}

html[data-site="klassik"] .site-footer .footer-heading,
html[data-site="klassik"] .site-footer .footer-heading strong {
    color: var(--primary);
}

html[data-site="klassik"] .site-footer a:hover {
    color: var(--primary);
}

html[data-site="klassik"] .footer-hub-link a:hover {
    color: var(--primary);
}

html[data-site="pa"] .footer-hub-link a:hover,
html[data-site="pa"] .footer-hub-link a:focus-visible {
    color: var(--pa-accent-muted);
}

/* Unterseiten ohne Vollbild-Hero: etwas krÃ¤ftigerer Kopf-Verlauf wie auf klassik.html */
html[data-site="klassik"] body:not(.home) #header:not(.scrolled) {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.45) 52%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* =============================================================================
   PA-Bereich (html[data-site="pa"]): dunkles, kÃ¼hles Live/FOH-Design â€”
   klar getrennt vom hellen Klassik-/Gold-Auftritt.
   ============================================================================= */

html[data-site="pa"] body {
    background-color: var(--pa-bg-page);
    background-image:
        radial-gradient(ellipse 100% 70% at 50% -25%, rgba(56, 189, 248, 0.14), transparent 52%),
        radial-gradient(ellipse 60% 45% at 100% 30%, rgba(14, 165, 233, 0.08), transparent 45%),
        radial-gradient(ellipse 50% 40% at 0% 70%, rgba(8, 145, 178, 0.06), transparent 42%),
        linear-gradient(185deg, #020617 0%, #0f172a 42%, #020617 100%);
    color: var(--pa-text);
}

/*
 * PA One-Page (/pa-beschallung/): heller Seitengrund hinter den Kacheln â€”
 * helle Section-Kacheln auf hellem Grund â€” Karten springen raus.
 */
html[data-site="pa"] body.home {
    background-color: hsl(210, 18%, 91%);
    background-image: none;
}

html[data-site="pa"] .main-content {
    background: transparent;
    color: var(--pa-text);
}

html[data-site="pa"] .main-content h1 {
    /* Corporate: gleiche Display-Serif wie Klassik fuer Seitentitel; Inhalt bleibt technisch (Sans in h2) */
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--pa-text-heading);
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.35);
    padding-bottom: 0.65rem;
}

html[data-site="pa"] .main-content h1::after {
    content: "";
    display: block;
    width: 3.25rem;
    height: 4px;
    margin: 0.85rem auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--pa-accent-strong), var(--pa-accent));
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
}

html[data-site="pa"] .section.section--standard {
    border-radius: var(--radius-md);
    background: var(--pa-bg-elevated);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(56, 189, 248, 0.18);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.45),
        0 18px 48px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

html[data-site="pa"] body.home .section.section--standard {
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.55),
        0 14px 40px rgba(2, 6, 23, 0.38),
        0 28px 80px rgba(2, 6, 23, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

html[data-site="pa"] .section.section--standard h2 {
    font-family: var(--font-body);
    font-weight: 700;
    text-align: left;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--pa-text-heading);
    margin-bottom: var(--spacing-md);
    padding-bottom: 0.65rem;
    border-bottom: 2px solid rgba(56, 189, 248, 0.32);
}

html[data-site="pa"] .section.section--standard h2::after {
    display: none;
}

html[data-site="pa"] nav a:focus-visible {
    outline-color: var(--pa-accent);
}

html[data-site="pa"] .site-footer a:focus-visible {
    outline-color: var(--pa-accent);
}

html[data-site="pa"] .section.section--standard.section--centered h2 {
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
}

html[data-site="pa"] .section.section--standard.section--centered h2::after {
    display: block;
    width: 3rem;
    height: 3px;
    margin: var(--spacing-sm) auto 0 auto;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--pa-accent-strong), var(--pa-accent));
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

html[data-site="pa"] .section.section--standard p,
html[data-site="pa"] .section.section--standard li {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.75;
}

html[data-site="pa"] .section.section--standard strong {
    color: var(--pa-text-heading);
}

html[data-site="pa"] .section.section--standard a:not(.btn) {
    color: var(--pa-accent-muted);
    text-underline-offset: 3px;
}

html[data-site="pa"] .section.section--standard a:not(.btn):hover,
html[data-site="pa"] .section.section--standard a:not(.btn):focus-visible {
    color: #e0f2fe;
}

html[data-site="pa"] .pa-list li::marker {
    color: var(--pa-accent);
}

/* Kontaktformular: innerer .kontakt-form ist sonst weiss â€” ins PA-Dark-UI einbetten */
html[data-site="pa"] .kontakt-form,
html[data-site="pa"] .kontakt-infos {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    max-width: 640px;
}

html[data-site="pa"] .kontakt-section {
    gap: var(--spacing-sm);
}

html[data-site="pa"] .pa-kontakt-section.section {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

html[data-site="pa"] .pa-kontakt-section .kontakt-section {
    align-items: stretch;
}

html[data-site="pa"] .form-label {
    color: #e2e8f0;
}

html[data-site="pa"] .form-input {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(56, 189, 248, 0.22);
    color: var(--pa-text-heading);
}

html[data-site="pa"] .form-input::placeholder {
    color: #64748b;
}

html[data-site="pa"] .datenschutz-hinweis,
html[data-site="pa"] .kontakt-hinweis-klein {
    color: var(--pa-text-muted);
}

html[data-site="pa"] .datenschutz-hinweis a {
    color: var(--pa-accent-muted);
}

html[data-site="pa"] .btn {
    background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 42%, #38bdf8 100%);
    background-size: 200% auto;
    box-shadow:
        0 4px 22px rgba(14, 165, 233, 0.42),
        0 0 24px rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #020617;
}

html[data-site="pa"] .btn:hover {
    box-shadow:
        0 8px 32px rgba(14, 165, 233, 0.55),
        0 0 28px rgba(56, 189, 248, 0.2);
}

html[data-site="pa"] .btn:focus-visible {
    outline: 2px solid var(--pa-accent);
    outline-offset: 3px;
}

html[data-site="pa"] .btn--outline {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(56, 189, 248, 0.45);
    color: #e0f2fe;
    backdrop-filter: blur(8px);
}

html[data-site="pa"] .btn--outline:hover {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    border-color: var(--pa-accent);
    color: #020617;
    box-shadow: 0 0 26px rgba(14, 165, 233, 0.4);
}

html[data-site="pa"] .pa-cross-link a {
    color: var(--pa-accent-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

html[data-site="pa"] .pa-cross-link a:hover,
html[data-site="pa"] .pa-cross-link a:focus-visible {
    color: #f0f9ff;
}

html[data-site="pa"] .form-input:focus,
html[data-site="pa"] .form-input:focus-visible {
    border: 1.5px solid var(--pa-accent-strong);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.28);
    outline: 2px solid var(--pa-accent);
    outline-offset: 2px;
}

html[data-site="pa"] .form-input.error {
    border-color: #f87171;
    background-color: rgba(127, 29, 29, 0.28);
}

html[data-site="pa"] .form-input.valid {
    border-color: #34d399;
    background-color: rgba(6, 78, 59, 0.22);
}

html[data-site="pa"] .field-error {
    color: #fca5a5;
}

/* Header / Nav: Gold-Hover durch Cyan ersetzen */
html[data-site="pa"] #header:not(.scrolled) {
    background: linear-gradient(
        to bottom,
        rgba(2, 6, 23, 0.94) 0%,
        rgba(15, 23, 42, 0.72) 55%,
        rgba(15, 23, 42, 0) 100%
    );
}

html[data-site="pa"] #header.scrolled {
    background: rgba(2, 6, 23, 0.92);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.5),
        inset 0 -1px 0 rgba(56, 189, 248, 0.25);
    backdrop-filter: blur(14px);
}

html[data-site="pa"] #header nav a:hover,
html[data-site="pa"] #header nav a.active {
    color: var(--pa-accent);
}

html[data-site="pa"] #header nav a::after {
    background-color: var(--pa-accent);
}

/* Footer: gleiche dunkle DNA */
html[data-site="pa"] footer {
    border-top: 1px solid rgba(56, 189, 248, 0.12);
    background: linear-gradient(180deg, #020617 0%, #0f172a 100%);
}

html[data-site="pa"] .site-footer .footer-heading,
html[data-site="pa"] .site-footer .footer-heading strong {
    color: var(--pa-accent);
}

html[data-site="pa"] .site-footer a:hover {
    color: var(--pa-accent-muted);
}

html[data-site="pa"] .footer-meta {
    border-top-color: rgba(56, 189, 248, 0.1);
    background: rgba(2, 6, 23, 0.65);
}

html[data-site="pa"] .meta-right a:hover {
    color: var(--pa-accent);
}

html[data-site="pa"] .footer-brand-big {
    color: rgba(56, 189, 248, 0.06);
}

/* layout.css setzt auf schmalen Viewports hellen Main-Hintergrund â€” hier zurÃ¼ck auf dunkel */
@media (max-width: 900px) {
    html[data-site="pa"] .main-content {
        background: transparent;
    }
}

html[data-site="pa"] #scrollToTop:focus-visible {
    outline-color: var(--pa-accent);
}

/* =============================================================================
   PA One-Page (/pa-beschallung/): dunkles Theme (Kontrast zu Klassik), Hero 100vh,
   zweispaltige Leistungen, Kontakt-Sektion unten. Kein body.pa-marketing mehr.
   ============================================================================= */

html[data-site="pa"] body.home .main-content {
    margin-top: var(--spacing-lg);
}

.pa-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    color: var(--text-light);
}

/* Ende Hero / Start Hauptinhalt â€” gleiche Scroll-Logik wie klassik.html (.hero-end-trigger) */
.pa-hero .hero-end-trigger {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    pointer-events: none;
    visibility: hidden;
}

.pa-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    padding: 0;
}

.pa-hero-bg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.pa-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(8, 12, 28, 0.4) 0%,
        rgba(6, 10, 22, 0.65) 55%,
        rgba(4, 8, 18, 0.82) 100%
    );
}

.pa-hero-inner {
    position: relative;
    z-index: 2;
    padding: calc(var(--nav-height) + var(--spacing-md)) 1.25rem var(--spacing-xl);
    text-align: center;
    max-width: 40rem;
}

.pa-hero-inner h1 {
    font-family: var(--font-body);
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: clamp(1.65rem, 4.8vw, 2.65rem);
    line-height: 1.15;
    margin: 0 0 var(--spacing-sm);
    color: #fff;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.pa-hero-lead {
    font-size: clamp(1rem, 2.4vw, 1.15rem);
    line-height: 1.55;
    margin: 0 0 var(--spacing-md);
    color: rgba(255, 255, 255, 0.92);
}

html[data-site="pa"] .pa-hero .btn {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
    border-radius: var(--radius-pill);
}

html[data-site="pa"] .pa-leistungen-group__intro.section-inner.narrow {
    text-align: center;
}

html[data-site="pa"] .pa-leistungen-group__intro.section-inner.narrow p {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Nur Intro zentriert â€” nicht die Unterleistungen (kein section--centered am ganzen Block) */
html[data-site="pa"] .pa-leistungen-group__intro h2 {
    text-align: center;
    border-bottom: none;
    padding-bottom: 0;
}

html[data-site="pa"] .pa-leistungen-group__intro h2::after {
    content: "";
    display: block;
    width: 3rem;
    height: 3px;
    margin: var(--spacing-sm) auto 0 auto;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--pa-accent-strong), var(--pa-accent));
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
}

/* Ein Block â€žLeistungenâ€œ: Intro abgesetzt, Unterpunkte nur durch Trenner */
html[data-site="pa"] .pa-leistungen-group__intro {
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border-bottom: 1px solid rgba(56, 189, 248, 0.14);
}

html[data-site="pa"] .pa-leistungen-group__services .pa-service-split + .pa-service-split {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(56, 189, 248, 0.12);
}

html[data-site="pa"] .pa-service-split__body h3 {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--pa-text-heading);
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
    font-size: clamp(1.15rem, 2.8vw, 1.45rem);
}

html[data-site="pa"] .pa-service-split h3 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: var(--spacing-sm);
}

/* Kontakt: Ueberschrift = Kapitel; darunter gleichwertige Spalten (Desktop), mobil gestapelt */
html[data-site="pa"] .pa-kontakt-section#kontakt > .pa-kontakt-section__inner > h2 {
    width: 100%;
    border-bottom: none;
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    box-shadow: 0 1px 0 rgba(56, 189, 248, 0.22);
}

html[data-site="pa"] .pa-kontakt-section__inner {
    width: 100%;
    padding-left: var(--spacing-xs);
    padding-right: var(--spacing-xs);
}

html[data-site="pa"] .pa-kontakt-section__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
    gap: clamp(1rem, 2.5vw, 1.75rem);
    align-items: start;
    margin-top: 0;
}

@media (max-width: 800px) {
    html[data-site="pa"] .pa-kontakt-section__layout {
        grid-template-columns: 1fr;
    }
}

html[data-site="pa"] .pa-kontakt-section__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    margin: 0 0 0.35rem;
}

html[data-site="pa"] .pa-kontakt-section__meta {
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-md);
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.14);
}

html[data-site="pa"] .pa-kontakt-section__meta p {
    margin-bottom: 0;
}

html[data-site="pa"] .pa-kontakt-section__lead {
    margin-bottom: 0;
    color: #cbd5e1;
}

html[data-site="pa"] .pa-kontakt-form-heading {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(203, 213, 225, 0.95);
    margin: 0 0 var(--spacing-sm);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(56, 189, 248, 0.18);
}

html[data-site="pa"] .pa-kontakt-section__form-wrap.kontakt-form {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: var(--spacing-md) var(--spacing-sm);
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-site="pa"] .pa-kontakt-section .form-label {
    margin-bottom: 0.15rem;
}

html[data-site="pa"] .pa-kontakt-section .form-input {
    margin-top: 0.2rem;
    margin-bottom: 0.45rem;
    padding: 0.55rem 0.85rem;
}

html[data-site="pa"] .pa-kontakt-section textarea.form-input {
    min-height: 110px;
}

html[data-site="pa"] .pa-kontakt-section .kontakt-hinweis-klein {
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
}

html[data-site="pa"] .pa-kontakt-section .datenschutz-hinweis {
    margin-top: 0.35rem;
    margin-bottom: 0;
}

html[data-site="pa"] .pa-heading-accent {
    display: inline-block;
}

html[data-site="pa"] .pa-heading-accent::after {
    content: "";
    display: block;
    width: 2.75rem;
    height: 5px;
    margin-top: 0.4rem;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--pa-accent-strong), var(--pa-accent));
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

html[data-site="pa"] .pa-service-split__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 4vw, 3rem);
    align-items: start;
}

/* Kompakte Bilder: weniger Scroll fuer wenig Text nebendran */
html[data-site="pa"] .pa-service-split__media {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

html[data-site="pa"] .pa-service-split__media img {
    display: block;
    width: min(100%, 380px);
    height: clamp(160px, 22vh, 220px);
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
    html[data-site="pa"] .pa-service-split__grid {
        grid-template-columns: 1fr;
    }

    html[data-site="pa"] .pa-service-split__media img {
        width: 100%;
        max-width: none;
        height: clamp(140px, 42vw, 200px);
    }
}

/* Anker-Ziele unter fixed Header */
html[data-site="pa"] #leistungen,
html[data-site="pa"] #kontakt {
    scroll-margin-top: calc(var(--nav-height) + 1rem);
}
/* styles.css
   Zweck: zentrale Import-Datei. LÃ¤dt Basis-Variablen und die modulare CSS-Struktur.
   Reihenfolge: base -> layout -> components -> pages
*/
@import url('base.css');
@import url('layout.css');
@import url('sections.css');
@import url('components.css');
@import url('pages.css');
@import url('components/magnetic.css');
@import url('components/mesh-gradient.css');
@import url('components/svs-simple.css');

.team-flex {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-top: var(--spacing-sm);
}

.team-flex img {
  flex-shrink: 0;
}

.team-text {
  flex: 1;
}

.team-photo {
  max-width: 320px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 800px) {
  .team-flex {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
  }

  .team-photo {
    max-width: 280px;
  }
}

@media (max-width: 700px) {
  .team-flex {
    flex-direction: column;
    gap: var(--spacing-sm);
  }

  .team-photo {
    max-width: 100%;
  }
}

/* Ende von styles.css */
