/**
 * Reetdachdecker Junker - Stylesheet
 * Modern, Clean Design 2026
 */

/* ===== CSS Variables ===== */
:root {
    /* Colors */
    --color-primary: #2d5a27;
    --color-primary-dark: #1e3d1a;
    --color-primary-light: #e8f5e9;
    --color-secondary: #8b7355;
    --color-accent: #c4a574;

    --color-bg: #fafafa;
    --color-bg-alt: #f3f4f6;
    --color-bg-light: #f8f9fa;
    --color-card: #ffffff;

    --color-text: #1a1a1a;
    --color-text-light: #6b7280;
    --color-text-muted: #9ca3af;

    --color-border: #e5e7eb;
    --color-border-light: #f3f4f6;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 80px;

    /* Effects */
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --transition: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy Loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"][data-loaded="true"] {
    opacity: 1;
}

/* Placeholder für lazy loading */
.lazy-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

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

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

.text-accent {
    color: var(--color-primary);
}

/* ===== Header / Navigation ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.nav-logo {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    overflow: hidden;
    flex-shrink: 0;
}

.nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
}

.nav-title {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
}

.nav-tagline {
    font-size: 12px;
    color: var(--color-text-light);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-light);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-card) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-text {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-subscribe {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-subscribe-label {
    font-size: 14px;
    color: var(--color-text-light);
}

.subscribe-buttons {
    display: flex;
    gap: 12px;
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    transition: transform var(--transition), box-shadow var(--transition);
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.subscribe-btn.spotify { background: #1DB954; }
.subscribe-btn.apple { background: #A855F7; }
.subscribe-btn.rss { background: #f97316; }

.hero-image {
    position: relative;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

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

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

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

/* ===== Info Banner ===== */
.info-banner {
    background: var(--color-secondary);
    color: white;
    padding: 20px 0;
}

.info-content {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.info-content i {
    font-size: 24px;
    opacity: 0.9;
}

.info-content p {
    flex: 1;
    font-size: 14px;
    min-width: 300px;
}

.info-content .btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.info-content .btn:hover {
    background: rgba(255,255,255,0.3);
    color: white;
}

/* ===== Sections ===== */
.section {
    padding: var(--section-padding) 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 32px;
    font-weight: 600;
}

.section-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
}

.section-link:hover {
    gap: 12px;
}

/* ===== Episode Cards ===== */
.episodes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.episode-card {
    background: var(--color-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.episode-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.episode-cover {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.episode-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.episode-card:hover .episode-cover img {
    transform: scale(1.05);
}

.episode-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity var(--transition);
}

.episode-card:hover .episode-play {
    opacity: 1;
}

.episode-play i {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    font-size: 28px;
    color: var(--color-primary);
}

.episode-content {
    padding: 24px;
}

.episode-number {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 12px;
}

.episode-title {
    font-size: 18px;
    margin-bottom: 12px;
}

.episode-title a {
    color: inherit;
}

.episode-title a:hover {
    color: var(--color-primary);
}

.episode-excerpt {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.episode-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--color-text-muted);
}

.episode-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== About Teaser ===== */
.about-teaser {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-frame {
    width: 100%;
    aspect-ratio: 1;
    background: var(--color-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.about-title {
    font-family: var(--font-serif);
    font-size: 40px;
    margin-bottom: 8px;
}

.about-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.about-text {
    font-size: 16px;
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.about-highlights {
    list-style: none;
    margin-bottom: 28px;
}

.about-highlights li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
}

.about-highlights i {
    color: var(--color-primary);
    font-size: 18px;
}

/* ===== Blog Posts Grid ===== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.post-card {
    background: var(--color-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.post-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 24px;
}

.post-date {
    font-size: 13px;
    color: var(--color-text-muted);
}

.post-title {
    font-size: 18px;
    margin: 8px 0 12px;
}

.post-title a {
    color: inherit;
}

.post-title a:hover {
    color: var(--color-primary);
}

.post-excerpt {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 16px;
}

.post-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.post-link:hover {
    gap: 12px;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: 36px;
    color: white;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 32px;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-text);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    width: 52px;
    height: 52px;
    background: var(--color-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 16px;
    overflow: hidden;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-brand h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: background var(--transition);
}

.footer-social a:hover {
    background: var(--color-primary);
}

.footer-nav h4 {
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-nav a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 13px;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-family: var(--font-serif);
    font-size: 42px;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--color-text-light);
}

/* ===== Single Episode ===== */
.episode-single {
    padding: 60px 0 80px;
}

.episode-single .container {
    max-width: 900px;
}

.episode-header {
    text-align: center;
    margin-bottom: 40px;
}

.episode-single-cover {
    width: 280px;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0 auto 32px;
    box-shadow: var(--shadow-xl);
}

.episode-single-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.episode-single-title {
    font-family: var(--font-serif);
    font-size: 36px;
    margin-bottom: 16px;
}

.episode-single-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    color: var(--color-text-light);
}

.audio-player {
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 40px;
}

.audio-player audio {
    width: 100%;
}

.episode-description {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.episode-shownotes {
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    padding: 32px;
}

.episode-shownotes h3 {
    margin-bottom: 20px;
}

.episode-shownotes-content {
    font-size: 15px;
    line-height: 1.8;
}

.episode-shownotes-content a {
    color: var(--color-primary);
}

/* ===== Content Styles ===== */
.content-body {
    font-size: 17px;
    line-height: 1.8;
}

.content-body h2 {
    font-size: 28px;
    margin: 40px 0 20px;
}

.content-body h3 {
    font-size: 22px;
    margin: 32px 0 16px;
}

.content-body p {
    margin-bottom: 20px;
}

.content-body ul, .content-body ol {
    margin: 20px 0;
    padding-left: 24px;
}

.content-body li {
    margin-bottom: 8px;
}

.content-body img {
    border-radius: var(--radius);
    margin: 32px 0;
}

.content-body blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: var(--color-text-light);
}

/* ===== Contact Form ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
}

.contact-info {
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    padding: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: var(--color-text-light);
}

/* ===== Press/Articles ===== */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-item {
    display: flex;
    gap: 24px;
    padding: 24px;
    background: var(--color-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition);
}

.article-item:hover {
    transform: translateX(8px);
}

.article-icon {
    width: 56px;
    height: 56px;
    background: var(--color-bg-alt);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.article-content {
    flex: 1;
}

.article-source {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.article-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.article-title a {
    color: inherit;
}

.article-excerpt {
    font-size: 14px;
    color: var(--color-text-light);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .episodes-grid,
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-teaser {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-frame {
        max-width: 300px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .subscribe-buttons {
        flex-wrap: wrap;
    }

    .episodes-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .section-title {
        font-size: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .info-content {
        flex-direction: column;
        text-align: center;
    }

    .info-content p {
        min-width: auto;
    }

    .article-item {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }

    .page-title {
        font-size: 32px;
    }

    .episode-single-title {
        font-size: 28px;
    }

    .episode-single-cover {
        width: 200px;
        height: 200px;
    }
}

/* ===== Video Embed ===== */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--color-bg-alt);
    margin: 24px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--radius);
}

/* Video in content body */
.content-body .video-container {
    margin: 32px 0;
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-card);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.cookie-banner-text p {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-banner .btn-secondary {
    background: var(--color-bg-alt);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.cookie-banner .btn-secondary:hover {
    background: var(--color-border);
}

.cookie-banner .btn-text {
    background: transparent;
    color: var(--color-text-light);
    padding: 10px 16px;
}

.cookie-banner .btn-text:hover {
    color: var(--color-primary);
}

.cookie-settings-panel {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px 24px;
    border-top: 1px solid var(--color-border);
}

.cookie-setting {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.cookie-setting:last-of-type {
    border-bottom: none;
}

.cookie-setting label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.cookie-setting input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-primary);
}

.cookie-setting strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.cookie-setting span {
    font-size: 13px;
    color: var(--color-text-light);
}

.cookie-settings-actions {
    padding-top: 16px;
}

/* ===== Video Placeholder (2-Klick-Lösung) ===== */
.video-placeholder {
    position: absolute;
    inset: 0;
    cursor: pointer;
    overflow: hidden;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-placeholder:hover img {
    transform: scale(1.05);
}

.video-placeholder-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    transition: background 0.3s ease;
}

.video-placeholder:hover .video-placeholder-overlay {
    background: rgba(0,0,0,0.7);
}

.video-placeholder-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.video-placeholder:hover .video-placeholder-icon {
    transform: scale(1.1);
}

.video-placeholder-text {
    color: white;
}

.video-placeholder-text strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
}

.video-placeholder-text span {
    font-size: 12px;
    opacity: 0.8;
    max-width: 280px;
    display: block;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-banner-actions {
        justify-content: center;
    }

    .video-placeholder-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .video-placeholder-text strong {
        font-size: 14px;
    }
}

/* ===== Mobile Touch Optimierungen ===== */
@media (hover: none) and (pointer: coarse) {
    /* Größere Touch-Targets (min. 44px nach Apple Guidelines) */
    .btn, button {
        min-height: 48px;
        padding: 14px 24px;
    }

    .btn-sm {
        min-height: 44px;
        padding: 12px 18px;
    }

    .nav-link {
        min-height: 48px;
        padding: 14px 20px;
        display: flex;
        align-items: center;
    }

    /* Bessere Touch-Bereiche für Links */
    a {
        padding: 4px;
        margin: -4px;
    }

    .card a {
        margin: 0;
        padding: 0;
    }

    /* Größere Checkboxen & Radio-Buttons */
    input[type="checkbox"],
    input[type="radio"] {
        width: 24px;
        height: 24px;
        min-width: 24px;
    }

    /* Größere Select-Boxen */
    select, .form-select {
        min-height: 52px;
        padding: 14px 16px;
    }

    /* Größere Input-Felder */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    input[type="password"],
    input[type="number"],
    textarea,
    .form-input,
    .form-textarea {
        min-height: 52px;
        padding: 14px 16px;
        font-size: 16px; /* Verhindert Zoom auf iOS */
    }

    /* Tap-Highlight entfernen */
    * {
        -webkit-tap-highlight-color: transparent;
    }

    /* Touch-freundliche Audio-Player */
    .audio-player .progress-bar {
        height: 12px;
        cursor: pointer;
    }

    .audio-player button {
        min-width: 48px;
        min-height: 48px;
    }

    /* Social Links größer */
    .social-link {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    /* Footer Links */
    .footer-links a,
    .footer-nav a {
        padding: 8px 4px;
        display: inline-block;
    }

    /* Galerie-Items größere Touch-Bereiche */
    .gallery-item {
        min-height: 200px;
    }

    .gallery-nav-btn {
        width: 52px;
        height: 52px;
        font-size: 28px;
    }

    /* Card Actions */
    .card-action,
    .card .btn {
        min-height: 44px;
    }

    /* Pagination */
    .pagination a,
    .pagination span {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Navigation Toggle größer */
    .nav-toggle {
        width: 48px;
        height: 48px;
    }

    /* Scroll-Indikatoren */
    .scroll-indicator {
        width: 48px;
        height: 48px;
    }
}

/* Swipe-freundliche Galerie */
@media (hover: none) and (pointer: coarse) {
    .gallery-container {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .gallery-container::-webkit-scrollbar {
        display: none;
    }

    .gallery-item {
        scroll-snap-align: center;
        flex-shrink: 0;
    }
}

/* Verbesserte Mobile Navigation */
@media (max-width: 768px) {
    /* Sticky Header etwas kleiner */
    .header {
        height: auto;
    }

    .nav {
        height: 64px;
    }

    /* Mobile Menü verbessert */
    .nav-menu {
        padding: 16px 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 16px 24px;
        border-bottom: 1px solid var(--color-border-light);
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    /* Größere Cards auf Mobile */
    .card {
        border-radius: var(--radius);
    }

    /* Podcast Player mobile-optimiert */
    .podcast-player-fixed {
        padding: 12px 16px;
    }

    .podcast-player-fixed .btn {
        min-width: 48px;
        min-height: 48px;
    }
}

/* Safe Area für moderne Geräte (iPhone X+, etc.) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .footer {
        padding-bottom: calc(40px + env(safe-area-inset-bottom));
    }

    .cookie-banner {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .podcast-player-fixed {
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }
}

/* Reduzierte Bewegung für Barrierefreiheit */
@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;
    }
}

/* Dark Mode Vorbereitung */
@media (prefers-color-scheme: dark) {
    /* Kann später aktiviert werden */
    /* :root {
        --color-bg: #121212;
        --color-card: #1e1e1e;
        --color-text: #e0e0e0;
        --color-text-light: #a0a0a0;
        --color-border: #333333;
    } */
}
