/* CSS Variables for Theme */
:root {
    --color-primary: #2c3e50;
    --color-secondary: #e74c3c; /* Rot */
    --color-accent: #1e7e34; /* Gr\u00fcn aus alter Seite */
    --color-light: #ecf0f1;
    --color-dark: #1a1a1a;
    --color-white: #ffffff;
    --color-gray: #7f8c8d;
    --font-primary: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --radius: 8px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

/* Skip Navigation */
.skip-nav {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-nav:focus {
    top: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header & Navigation */
.header {
    background: var(--color-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Dark Mode Support für Header */
@media (prefers-color-scheme: dark) {
    .header {
        background: #1a1a1a;
        box-shadow: 0 2px 10px rgba(255,255,255,0.1);
    }
    
    .navbar-menu {
        background: #1a1a1a;
    }
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem; /* Größerer Touch-Bereich */
    border-radius: 4px;
    transition: background-color 0.2s;
    position: relative;
    z-index: 1001; /* Sicherstellen, dass der Button über anderen Elementen liegt */
    -webkit-tap-highlight-color: transparent; /* iOS tap highlight entfernen */
    touch-action: manipulation; /* Bessere Touch-Unterstützung */
    min-width: 44px; /* iOS minimum touch target */
    min-height: 44px; /* iOS minimum touch target */
    -webkit-user-select: none;
    user-select: none;
    -webkit-appearance: none; /* iOS Button-Styling entfernen */
    appearance: none;
}

.navbar-toggler:hover {
    background-color: rgba(0,0,0,0.05);
}

@media (prefers-color-scheme: dark) {
    .navbar-toggler:hover {
        background-color: rgba(255,255,255,0.1);
    }
}

.navbar-toggler-icon {
    display: block;
    width: 25px;
    height: 3px;
    background: #333333; /* Explizite dunkle Farbe statt var() */
    background-color: #333333 !important; /* Force für Brave */
    position: relative;
    transition: var(--transition);
    pointer-events: none; /* Wichtig: Icon soll keine Events abfangen */
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: #333333; /* Explizite dunkle Farbe statt var() */
    background-color: #333333 !important; /* Force für Brave */
    transition: var(--transition);
    pointer-events: none; /* Pseudo-Elemente sollen keine Events abfangen */
}

/* Dark Mode Support für Burger-Menü */
@media (prefers-color-scheme: dark) {
    .navbar-toggler-icon,
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        background: #ffffff !important; /* Weiß mit !important für Brave */
        background-color: #ffffff !important;
        box-shadow: 0 0 2px rgba(255,255,255,0.5);
    }
    
    /* Auch im aktiven Zustand hell */
    .navbar-toggler.is-active .navbar-toggler-icon::before,
    .navbar-toggler.is-active .navbar-toggler-icon::after {
        background: #ffffff !important;
        background-color: #ffffff !important;
    }
}

/* Zusätzliche Regel für Force-Dark-Mode Browser wie Brave */
@media (prefers-color-scheme: dark) {
    /* Filter-basierte Lösung als Fallback */
    .navbar-toggler-icon,
    .navbar-toggler-icon::before,
    .navbar-toggler-icon::after {
        filter: invert(1) !important;
    }
}

.navbar-toggler-icon::before { top: -8px; }
.navbar-toggler-icon::after { top: 8px; }

/* SVG Burger Menu Styles */
.navbar-toggler-svg {
    display: block;
    color: #333333;
}

.navbar-toggler-line {
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Dark Mode für SVG */
@media (prefers-color-scheme: dark) {
    .navbar-toggler-svg {
        color: #ffffff !important;
    }
}

/* Brave Force Dark Mode Fix */
.navbar-toggler {
    color: #333333; /* Fallback Farbe */
}

@media (prefers-color-scheme: dark) {
    .navbar-toggler {
        color: #ffffff !important; /* Weiß im Dark Mode */
    }
}

/* Burger Animation wenn aktiv */
.navbar-toggler.is-active .navbar-toggler-line-top {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler.is-active .navbar-toggler-line-middle {
    opacity: 0;
}

.navbar-toggler.is-active .navbar-toggler-line-bottom {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Legacy Support für alte Icon-Struktur */
.navbar-toggler.is-active .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler.is-active .navbar-toggler-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggler.is-active .navbar-toggler-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-secondary);
}

/* Dark Mode für Navigation Links */
@media (prefers-color-scheme: dark) {
    .nav-link {
        color: #ffffff !important;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: #ff6b6b !important; /* Helleres Rot für Dark Mode */
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
}

/* Dark Mode für Dropdown Menu */
@media (prefers-color-scheme: dark) {
    .dropdown-menu {
        background: #1a1a1a !important;
        box-shadow: 0 4px 10px rgba(255,255,255,0.1) !important;
    }
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--color-dark);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--color-light);
    color: var(--color-secondary);
}

/* Dark Mode für Dropdown Items */
@media (prefers-color-scheme: dark) {
    .dropdown-item {
        color: #ffffff !important;
    }
    
    .dropdown-item:hover {
        background: rgba(255,255,255,0.1) !important;
        color: #ff6b6b !important;
    }
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-white) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 1s ease;
}

.hero-title {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 2rem;
}

.hero-quote {
    background: var(--color-white);
    padding: 2rem;
    border-left: 4px solid var(--color-secondary);
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.hero-quote p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.hero-quote cite {
    display: block;
    text-align: right;
    color: var(--color-gray);
    font-size: 0.9rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    animation: fadeInRight 1s ease;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-secondary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #c0392b; /* Dunkleres Rot */
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

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

.btn-outline:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

/* Upcoming Events Section */
.upcoming-events {
    padding: 5rem 0;
    background: var(--color-white);
}

.upcoming-events h2 {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 3rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-card {
    background: var(--color-light);
    padding: 2rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.event-card time {
    display: block;
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.event-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.event-link {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.event-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 2rem 0;
    margin-top: 5rem;
}

.footer .container {
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-nav a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--color-secondary);
}

.copyright {
    color: var(--color-light);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
        cursor: pointer !important; /* iOS Safari Fix */
    }
    
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling auf iOS */
    }
    
    /* Dark Mode für Mobile Menu */
    @media (prefers-color-scheme: dark) {
        .navbar-menu {
            background: #1a1a1a;
            box-shadow: 0 4px 10px rgba(255,255,255,0.1);
        }
    }
    
    .navbar-menu.active {
        max-height: 500px;
        overflow: visible; /* Für bessere Kompatibilität */
    }
    
    .navbar-nav {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    
    .dropdown-menu {
        display: none !important; /* Submenüs auf Mobile ausblenden */
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility */
:focus {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header, .footer, .hero-cta {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Termine Page Styles */
.main-termine {
    padding: 5rem 0;
    min-height: calc(100vh - 300px);
}

.main-termine h1 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.termine-list h2 {
    color: var(--color-secondary);
    margin: 3rem 0 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-light);
}

.termin-item {
    background: var(--color-light);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.termin-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.termin-item time {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.termin-item h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.termin-item ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.termine-archiv {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-light);
    text-align: center;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Form Error Styles */
.error {
    border-color: var(--color-secondary) !important;
}

.error-message {
    color: var(--color-secondary);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Vita Page Styles */
.main-vita {
    padding: 5rem 0;
    min-height: calc(100vh - 300px);
}

.main-vita h1 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.vita-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.vita-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.vita-sidebar img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.vita-highlights {
    background: var(--color-light);
    padding: 2rem;
    border-radius: var(--radius);
}

.vita-highlights h2 {
    color: var(--color-secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.vita-highlights ul {
    list-style: none;
    padding: 0;
}

.vita-highlights li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.vita-highlights li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .vita-content {
        grid-template-columns: 1fr;
    }
    
    .vita-sidebar {
        order: -1;
    }
}

/* Repertoire Page Styles */
.main-repertoire {
    padding: 5rem 0;
    min-height: calc(100vh - 300px);
}

.main-repertoire h1 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.repertoire-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.repertoire-intro .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-gray);
}

.repertoire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.repertoire-card {
    background: var(--color-light);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.repertoire-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.repertoire-card h2 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.repertoire-card p {
    margin-bottom: 2rem;
}

/* Kontakt Page Styles */
.main-kontakt {
    padding: 0;
    min-height: calc(100vh - 200px);
}

.kontakt-hero {
    background: var(--color-light);
    padding: 8rem 0;
    text-align: center;
    color: var(--color-dark);
}

.kontakt-hero h1 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 3rem;
}

.kontakt-subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.kontakt-form-minimal {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: block; /* Alle Felder untereinander */
}

.math-captcha {
    margin-bottom: 1.5rem;
}

.math-captcha label {
    display: none; /* Label ausblenden, da Platzhalter vorhanden */
}

.captcha-note {
    font-size: 0.8rem;
    color: var(--color-dark);
    margin-top: 0.5rem;
    font-weight: 500;
}

.btn-submit {
    background: var(--color-secondary);
    color: var(--color-white);
    border: 2px solid var(--color-secondary);
    padding: 1rem 3rem;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #c0392b;
    border-color: #c0392b;
    transform: translateY(-2px);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-light);
    border-radius: var(--radius);
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* Legal Pages Styles */
.main-legal {
    padding: 5rem 0;
    min-height: calc(100vh - 300px);
}

.main-legal h1 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--color-secondary);
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .kontakt-content {
        grid-template-columns: 1fr;
    }
}

/* Generic Page Styles */
.main-page {
    padding: 5rem 0;
    min-height: calc(100vh - 300px);
}

.main-page h1 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
}

/* Repertoire Detail Pages */
.main-repertoire-detail {
    padding: 5rem 0;
    min-height: calc(100vh - 300px);
}

.main-repertoire-detail h1 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.repertoire-list {
    max-width: 800px;
    margin: 0 auto;
}

.repertoire-list h2 {
    color: var(--color-secondary);
    margin: 2rem 0 1rem;
}

.repertoire-list ul {
    list-style: none;
    padding: 0;
}

.repertoire-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-light);
}

/* Repertoire Entry Styles */
.repertoire-entry {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--color-light);
    border-radius: var(--radius);
}

.repertoire-entry h3 {
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
}

.repertoire-entry p {
    margin: 0;
    font-size: 1.1rem;
}

.repertoire-note {
    margin-top: 2rem;
    font-style: italic;
    color: var(--color-gray);
}

/* Lied Page Specific */
.lied-intro {
    max-width: 800px;
    margin: 0 auto;
}

.lied-intro > p:first-child {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.repertoire-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--color-light);
    border-radius: var(--radius);
}

.repertoire-category h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.repertoire-category ul {
    list-style: disc;
    margin-left: 2rem;
}

.repertoire-category li {
    padding: 0.3rem 0;
    border: none;
}

.contact-note {
    margin: 3rem 0 1rem;
    font-style: italic;
    text-align: center;
    color: var(--color-gray);
}

.back-link {
    text-align: center;
    margin-top: 3rem;
}

/* Duo Page Styles */
.main-duo {
    padding: 5rem 0;
    min-height: calc(100vh - 300px);
}

.main-duo h1 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.duo-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.duo-text h2 {
    color: var(--color-secondary);
    margin: 2rem 0 1rem;
}

.duo-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.duo-sidebar img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.duo-highlights {
    background: var(--color-light);
    padding: 2rem;
    border-radius: var(--radius);
}

.duo-highlights h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
}

.duo-highlights ul {
    list-style: none;
    padding: 0;
}

.duo-highlights li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.duo-highlights li:last-child {
    border-bottom: none;
}

/* Media Page Styles */
.main-media {
    padding: 5rem 0;
    min-height: calc(100vh - 300px);
}

.main-media h1 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.video-item h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    background: #000;
}

.video-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-wrapper .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.video-wrapper:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-wrapper .play-button svg {
    width: 100%;
    height: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Galerie Page Styles */
.main-galerie {
    padding: 5rem 0;
    min-height: calc(100vh - 300px);
}

.main-galerie h1 {
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center top; /* Fokus auf oberen Bereich für Gesichter */
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .duo-content {
        grid-template-columns: 1fr;
    }
    
    .duo-sidebar {
        order: -1;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 250px;
    }
}