/* Font Imports */
@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-v29-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Alice';
    src: url('fonts/Alice-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-v29-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat-v29-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
	font-family: 'Montserrat', sans-serif;
	line-height: 1.6;
	color: #112736;
	overflow-x: hidden;
	/* Wichtiger: immer ein helles Seiten-Background, damit beim Swup-Übergang
	   nie der dunkelblaue HTML-Hintergrund "vollflächig" durchblitzt */
	background-color: #fff8ef;
}

/* Global Scrollbar Styling */
html {
	scrollbar-width: thin; /* Firefox */
	scrollbar-color: rgba(75, 135, 154, 0.7) transparent; /* thumb, track */
	/* Dunkelblau bleibt für die Scroll-Leiste im Hintergrund aktiv,
	   ist aber durch das helle Body-Background im Inhalt nicht mehr sichtbar */
	background-color: #112736;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(75, 135, 154, 0.7); /* petrol */
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(75, 135, 154, 0.9);
}

/* Header styles are now handled by header-and-footer.js */

/* Hero Section */
.hero {
	min-height: 100vh;
	position: relative;
	display: flex;
	align-items: center;
	padding-top: 0;
	/* Verhindert, dass das dunkelblaue HTML-Background bei Pixelrundungs-Gaps durchscheint */
	background-color: #fff8ef;
}

/* Mobile-First: Flex column als Standard */
.hero-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
}

/* Desktop: Grid-Layout nur ab 769px */
@media (min-width: 769px) {
    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text {
    background: #fff8ef;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 60px; /* Normales Padding, da kein Logo auf Startseite */
    position: relative;
}

/* Index-Page Hero Text - zentriert wie Beziehungsseite */
.index-page .hero-text {
    padding: 80px 120px 60px 120px;
    align-items: center;
    text-align: center;
}

.main-title {
    font-size: clamp(2.7rem, 5.5vw, 4.5rem);
    font-weight: 700;
    color: #4b879a; /* Petrol-Blau für Startseite */
    margin-bottom: 20px;
    letter-spacing: 3px;
    line-height: 1.1;
}

/* Index-Page Main Title - größer als Beziehungsseite, Alice Schriftart */
.index-page .main-title {
    font-family: 'Alice', serif;
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: 5px;
}

.subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 400;
    color: #112736;
    letter-spacing: 0.5px;
    line-height: 1.35;
    margin-top: clamp(1rem, 1.2vw, 1.5rem);
}

/* Index-Page Subtitle - gleiche Größe wie Beziehungsseite */
.index-page .subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-top: 0;
}

/* Nowrap-Klasse um Zeilenumbruch zu verhindern */
.nowrap {
    white-space: nowrap;
}

/* Mobile-only br Tags - nur auf Mobil sichtbar */
br.mobile-only {
    display: none;
}

/* Desktop-only br Tags - nur auf Desktop sichtbar */
br.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    br.mobile-only {
        display: block;
    }

    br.desktop-only {
        display: none;
    }
}

/* Vision Statement Section - zwischen Hero und Angebote */
.vision-statement {
    background: #ffffff;
    padding: 60px 40px 35px 40px; /* oben 60px, unten 35px weil combined-preview auch padding-top hat */
    text-align: center;
}

.vision-text-wrapper {
    position: relative;
    display: inline-block;
    padding: 35px 50px;
}

.vision-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    color: #112736;
    letter-spacing: 0.3px;
    line-height: 1.8;
    margin: 0;
    position: relative;
}

/* Doppelte Ecken-Einrahmung - äußere Linien */
.vision-text-wrapper::before,
.vision-text-wrapper::after {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    border-color: #4b879a;
    border-style: solid;
    opacity: 0.5;
}

.vision-text-wrapper::before {
    top: 0;
    left: 0;
    border-width: 2px 0 0 2px;
}

.vision-text-wrapper::after {
    bottom: 0;
    right: 0;
    border-width: 0 2px 2px 0;
}

/* Doppelte Ecken-Einrahmung - innere Linien (nah beieinander, 4px versetzt) */
.vision-text::before,
.vision-text::after {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    border-color: #4b879a;
    border-style: solid;
    opacity: 0.5;
}

.vision-text::before {
    top: -30px;
    left: -46px;
    border-width: 2px 0 0 2px;
}

.vision-text::after {
    bottom: -30px;
    right: -46px;
    border-width: 0 2px 2px 0;
}

@media (max-width: 768px) {
    .vision-statement {
        padding: 40px 20px 15px 20px; /* unten weniger weil combined-preview padding-top hat */
        overflow: hidden;
    }

    .vision-text-wrapper {
        padding: 35px 30px;
        max-width: 100%;
    }

    .vision-text {
        font-size: clamp(0.9rem, 4vw, 1.05rem);
        line-height: 1.6;
    }

    .vision-text-wrapper::before,
    .vision-text-wrapper::after {
        width: 28px;
        height: 28px;
    }

    .vision-text::before,
    .vision-text::after {
        width: 28px;
        height: 28px;
    }

    .vision-text::before {
        top: -31px;
        left: -26px;
    }

    .vision-text::after {
        bottom: -31px;
        right: -26px;
    }
}

.subtitle .subtitle-top {
    display: block;
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 2px;
    color: #112736;
}

.subtitle .subtitle-bottom {
    display: block;
    margin-top: 8px;
    font-size: 0.88em;
    color: rgba(17, 39, 54, 0.85);
    font-weight: 400;
}

.subtitle .sep {
    display: inline-block;
    font-size: 1.6em !important;
    line-height: 1;
    margin: 0 0.4ch;
    position: relative;
    top: 0.06em;
}


.circle {
    color: #112736;
    font-size: 0.8em;
    font-weight: bold;
}

.hero-image {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Falls das Bild durch Objekt-Skalierung minimale Ränder l e4sst, sieht man hier das sanfte Gelb statt Dunkelblau */
	background-color: #fff8ef;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 3px;
    animation: bounce 2s infinite;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    z-index: 10;
}

.scroll-indicator:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.scroll-arrow {
    width: 16px;
    height: 16px;
    border: none;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover .scroll-arrow {
    opacity: 1;
}

.scroll-arrow:nth-child(1) {
    animation-delay: 0s;
}

.scroll-arrow:nth-child(2) {
    animation-delay: 0.2s;
    margin-top: -8px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    40% {
        transform: translateY(-8px);
        opacity: 1;
    }
    60% {
        transform: translateY(-4px);
        opacity: 0.9;
    }
}

/* Combined Preview Section */
.combined-preview-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
	padding: 1.5rem 0 60px !important; /* unten 60px für gleichen Abstand wie oben */
	/* Winzige pixelrunden-L1c4cken zwischen Hero und dieser Section vermeiden */
	margin-top: -1px;
}

.combined-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    width: 100%;
    align-items: stretch;
}

@media (min-width: 1024px) {
    .combined-preview-content {
        max-width: 1000px; /* etwas schmaler auf dem Desktop */
    }

    .preview-image {
        height: 300px; /* dafür höher auf dem Desktop */
    }
}

.preview-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    display: flex;
    flex-direction: column;
    text-decoration: none; /* falls als Link verwendet */
    color: inherit;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
}

.preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18), 0 8px 20px rgba(0, 0, 0, 0.1);
}

.preview-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.preview-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.preview-image .preview-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
    z-index: 1;
}



/* PDF preview spacing + sizing */
.pdf-preview-container {
    width: 100%;
}

.pdf-preview-embed {
    display: block;
    width: 100%;
    border-radius: 10px;
}

/* Modal: PDF-Embed soll den Tab gut ausfüllen */
#modal-lyrics-content .pdf-preview-embed {
    width: 100%;
}

/* Abstände im PDF-Tab (Überschrift, Text, Button) */
.tab-content-title {
    margin-bottom: 8px;
}

.info-download-btn {
    margin-top: 8px;
    margin-bottom: 12px;
}


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

.preview-text {
    padding: 1.5rem;
    color: #112736;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.preview-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: rgba(17, 39, 54, 0.8);
    flex-grow: 1;
}

.preview-button {
    display: inline-block;
    color: #d4a855;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
    align-self: flex-start;
}

.preview-button::after {
    content: ' →';
    font-size: 1.15em;
}

.preview-button:hover {
    color: #e6bc6a;
    text-decoration: underline;
}










.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #112736; /* Dunkelblau für Startseite */
    margin-bottom: 1.5rem;
    line-height: 1.2;
}



.section-description {
    font-size: 1.2rem;
    color: #112736;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}








/* Responsive Design for Combined Preview */
@media (max-width: 768px) {
    .combined-preview-section {
        padding: 1.5rem 0 50px;
    }

    .combined-preview-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .preview-image {
        height: 200px;
    }

    .preview-image .preview-title {
        font-size: 1.3rem;
    }

    .preview-text {
        padding: 1.2rem;
    }

    .preview-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .combined-preview-section {
        padding: 1rem 0 50px;
    }

    .combined-preview-content {
        gap: 2rem;
    }

    .preview-image {
        height: 180px;
    }

    .preview-image .preview-title {
        font-size: 1.15rem;
    }

    .preview-text {
        padding: 1rem;
    }

    .preview-description {
        font-size: 0.85rem;
    }

    .preview-button {
        font-size: 0.9rem;
    }
}

/* Mobile and Tablet Responsive */
@media (max-width: 768px) {
    /* Allgemeine Hero-Regeln für alle Seiten */
    .hero-content,
    .index-page .hero-content {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: unset !important;
        min-height: 100vh;
    }

    .hero-text,
    .index-page .hero-text {
        padding: 60px 30px 40px 30px; /* Normales Padding für Hamburger-Menü, kein Logo auf Startseite */
        text-align: center;
        align-items: center;
        flex: 0 0 auto; /* Nimmt nur den benötigten Platz */
        min-height: 45vh; /* Mindesthöhe für den Textbereich */
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: #fff8ef !important; /* Sicherstellen, dass Background da ist */
        width: 100% !important;
    }

    .main-title {
        font-size: clamp(2.2rem, 7vw, 3rem);
        margin-bottom: 15px;
    }

    .index-page .main-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
        margin-bottom: 25px;
    }

    .subtitle,
    .index-page .subtitle {
        font-size: clamp(1.1rem, 3.5vw, 1.5rem);
        text-align: center;
    }

    .hero-image,
    .index-page .hero-image {
        flex: 1; /* Nimmt den restlichen Platz */
        min-height: 60vh; /* Höher für bessere Abdeckung */
        width: 100% !important;
        overflow: hidden;
    }

    .hero-image img,
    .index-page .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        min-height: 60vh; /* Mindesthöhe für vollständige Abdeckung */
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-text,
    .index-page .hero-text {
        padding: 60px 20px 20px 20px; /* Normales Padding für Hamburger-Menü, kein Logo auf Startseite */
        min-height: 40vh; /* Kompakter für kleine Bildschirme */
    }

    .hero-image,
    .index-page .hero-image {
        min-height: 65vh; /* Höher für bessere Abdeckung auf kleinen Bildschirmen */
        overflow: hidden;
    }

    .hero-image img,
    .index-page .hero-image img {
        min-height: 65vh;
    }

}

/* Impressum Page Styles */
.impressum-page {
    background: linear-gradient(135deg, #fff8ef 0%, #4b879a 100%);
    min-height: 100vh;
    padding-top: 80px;
}

.impressum-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff8ef;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(4,7,15,0.1);
    margin-top: 40px;
    margin-bottom: 40px;
}

.impressum-content h2 {
    color: #112736;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 30px;
    margin-top: 40px;
}

.impressum-content h2:first-child {
    margin-top: 0;
}

.impressum-content h4 {
    color: #112736;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 15px;
    margin-top: 30px;
}

.impressum-content p {
    color: #04070f;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.contact-info {
    background: #4b879a;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #112736;
    margin-bottom: 20px;
}

.contact-info p {
    margin: 0;
    color: #fff8ef;
    font-weight: 500;
}

@media (max-width: 768px) {
    .impressum-page {
        padding-top: 60px;
    }

    .impressum-content {
        margin: 20px;
        padding: 30px 20px;
    }

    .impressum-content h2 {
        font-size: 1.5rem;
    }

    .impressum-content h4 {
        font-size: 1.1rem;
    }
}


/* Footer Styles (moved here so it works without JS) */
.footer {
    background-color: #112736;
    padding: 20px 0;
    text-align: center;
    margin-top: 0;
    position: relative;
    z-index: 1001;
}

.footer p {
    font-family: 'Montserrat', sans-serif;
    color: #fff8ef;
    font-size: 14px;
    margin: 0;
}

.footer a {
    color: #fff8ef;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    text-decoration: underline;
    color: #4b879a;
}


/* Ensure desktop/main-title retains original size */
@media (min-width: 769px) {
  .main-title {
    font-size: clamp(2.7rem, 5.5vw, 4.5rem);
  }
}


/* Profil / Login Page */
.profil-page {
    background: linear-gradient(135deg, #fff8ef 0%, #4b879a 100%);
    min-height: 100vh;
    padding-top: 80px;
}

.profil-main {
    padding: 40px 20px 80px;
}

.profil-main .container {
    max-width: 980px;
    margin: 0 auto;
}

.profil-header {
    margin-bottom: 24px;
}

.profil-header .musik-title {
    font-size: clamp(2.1rem, 3.2vw, 2.8rem);
    color: #fff8ef;
}

.profil-intro {
    margin-top: 8px;
    color: #fff8ef;
    max-width: 620px;
}

.community-auth-section {
    margin-top: 24px;
    margin-bottom: 80px;
    background: #fff8ef;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(4, 7, 15, 0.22);
    padding: 32px 28px 40px;
    border: 1px solid rgba(75, 135, 154, 0.16);
    color: #112736;
}

.community-auth-heading {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: #112736;
}

#community-auth-logged-out {
    text-align: center;
}

#community-auth-logged-out h3,
#community-auth-logged-in h3 {
    margin-top: 40px;
    margin-bottom: 14px;
    color: #112736;
    text-align: center;
}

#community-auth-logged-out h3:first-child {
    margin-top: 0;
}

#community-auth-logged-out form {
    margin: 0 auto 18px;
}

#community-auth-logged-in form {
    margin-bottom: 18px;
}

#community-auth-logged-out input,
#community-auth-logged-in input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(17, 39, 54, 0.2);
    background: #fff;
    color: #112736;
    font-size: 0.95rem;
    margin-bottom: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#community-auth-logged-out input::placeholder,
#community-auth-logged-in input::placeholder {
    color: rgba(17, 39, 54, 0.45);
}

#community-auth-logged-out input:focus,
#community-auth-logged-in input:focus {
    outline: none;
    border-color: #4b879a;
    box-shadow: 0 0 0 3px rgba(75, 135, 154, 0.15);
}

/* Einheitliche Buttons */
.community-auth-section button[type="submit"],
.community-profile-box button[type="submit"],
.profil-form-btn {
    width: 100%;
    padding: 12px 20px;
    margin-top: 8px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #4b879a 0%, #357a8d 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.community-auth-section button[type="submit"]:hover,
.community-profile-box button[type="submit"]:hover,
.profil-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 135, 154, 0.35);
}

.community-auth-section button[type="submit"]:active,
.community-profile-box button[type="submit"]:active,
.profil-form-btn:active {
    transform: translateY(0);
}

/* Profil-Hub Tab Content */
.profil-tab-content {
    display: none;
    margin-top: 2px;
}

.profil-tab-content.active {
    display: block;
}

.profil-tab-kicker {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #4b879a;
    margin-bottom: 4px;
}

.profil-welcome-heading {
    margin: 6px 0 8px;
    font-size: 1.5rem;
    color: #112736;
}

.admin-notice {
    background: linear-gradient(135deg, #4b879a 0%, #357a8d 100%);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.admin-notice p {
    margin: 0;
}

.profil-tab-text {
    margin-bottom: 16px;
    color: rgba(17, 39, 54, 0.75);
}

.profil-tab-hint {
    font-size: 0.9rem;
    color: rgba(17, 39, 54, 0.6);
    margin-top: 8px;
}

.profil-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0 24px;
}

.profil-overview-card {
    text-align: left;
    border-radius: 16px;
    padding: 20px 20px 22px;
    border: 1px solid rgba(17, 39, 54, 0.1);
    background: #fff8ef;
    box-shadow: 0 4px 16px rgba(4, 7, 15, 0.08);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.profil-overview-card h3 {
    margin: 0 0 6px;
    color: #112736;
    font-size: 1.05rem;
}

.profil-overview-card p {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(17, 39, 54, 0.65);
}

.profil-overview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(4, 7, 15, 0.15);
}

/* Zentrierte Formulare */
.profil-form-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.profil-form-narrow {
    max-width: 360px;
    width: 100%;
}

.profil-form-narrow input,
.profil-form-narrow textarea,
.profil-form-narrow button {
    width: 100%;
    box-sizing: border-box;
}

/* Songs-Box mit Petrol-Hintergrund */
.community-songs-box.community-profile-box {
    background: linear-gradient(135deg, #4b879a 0%, #357a8d 100%) !important;
    color: #fff;
    padding: 24px;
    border-radius: 16px;
    margin-bottom: 24px;
}

.community-songs-box h4 {
    color: #fff;
    margin: 0 0 12px;
}

.community-songs-box .profil-tab-text {
    color: rgba(255, 255, 255, 0.9);
}

.community-songs-box .profil-tab-hint {
    color: rgba(255, 255, 255, 0.8);
}

.community-songs-box .community-user-songs-list {
    margin-top: 16px;
}

/* Avatar-Section zentriert */
.profil-avatar-section {
    text-align: center;
}

.profil-avatar-section .profil-avatar {
    margin: 0 auto 16px;
}

.profil-logout-button {
    display: inline-block;
    margin-top: 28px;
    background: transparent;
    border: 2px solid rgba(17, 39, 54, 0.25);
    color: #112736;
    padding: 12px 32px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profil-logout-button:hover {
    background: rgba(17, 39, 54, 0.08);
    border-color: rgba(17, 39, 54, 0.4);
    transform: translateY(-2px);
}

.profil-back-btn {
    display: inline-block;
    background: transparent;
    border: none;
    color: #4b879a;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.profil-back-btn:hover {
    color: #357a8d;
}

.profil-section-title {
    margin: 0 0 12px;
    font-size: 1.4rem;
    color: #112736;
    text-align: center;
}

.community-profile-box {
    margin: 0 0 20px;
    padding: 0;
    background: transparent;
    border: none;
    color: #112736;
}

.community-profile-box h3,
.community-profile-box h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #112736;
    font-size: 1.05rem;
}

.community-profile-box p {
    color: rgba(17, 39, 54, 0.75);
    margin-bottom: 12px;
}

.community-profile-box input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(17, 39, 54, 0.2);
    background: #fff;
    color: #112736;
    font-size: 0.95rem;
    margin-bottom: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.community-profile-box input::placeholder {
    color: rgba(17, 39, 54, 0.45);
}

.community-profile-box input:focus {
    outline: none;
    border-color: #4b879a;
    box-shadow: 0 0 0 3px rgba(75, 135, 154, 0.15);
}

.community-profile-danger {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(200, 80, 80, 0.3);
}

.community-profile-danger h3 {
    color: #c45050;
}

.community-profile-danger-text {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(17, 39, 54, 0.7);
}

.profil-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4b879a, #112736);
    color: #fff8ef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
}

.profil-avatar-placeholder {
    opacity: 0.9;
}

#community-avatar-file {
    display: block;
    margin-bottom: 6px;
}

.community-user-songs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    max-height: 480px; /* ca. 8 Songs */
    overflow-y: auto;
    padding-right: 8px;
}

.community-songs-box .community-user-song-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.community-songs-box .community-user-song-cover {
    width: 46px;
    height: 46px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.3);
}

.community-songs-box .community-user-song-meta {
    flex: 1;
    min-width: 0;
}

.community-songs-box .community-user-song-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.community-songs-box .community-user-song-artist {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
    color: #fff;
}

.community-songs-box .community-user-song-actions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.community-songs-box .community-user-song-button {
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.community-songs-box .community-user-song-button.secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
}

.community-songs-box .community-user-song-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.community-songs-box .community-user-song-button.danger {
    background: transparent;
    border: 2px solid rgba(255, 150, 150, 0.8);
    color: #ffcccc;
}

.community-songs-box .community-user-song-button.danger:hover {
    background: rgba(255, 100, 100, 0.2);
    border-color: #ffaaaa;
}

@media (max-width: 640px) {
    .profil-picture-row {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Mobile-Optimierung für Song-Liste */
    .community-user-songs-list {
        max-height: 400px;
    }

    .community-songs-box .community-user-song-item {
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 8px;
    }

    .community-songs-box .community-user-song-cover {
        width: 40px;
        height: 40px;
    }

    .community-songs-box .community-user-song-meta {
        flex: 1;
        min-width: calc(100% - 100px);
    }

    .community-songs-box .community-user-song-title {
        font-size: 0.9rem;
    }

    .community-songs-box .community-user-song-artist {
        font-size: 0.8rem;
    }

    .community-songs-box .community-user-song-actions {
        flex-direction: row;
        width: 100%;
        justify-content: flex-end;
        gap: 8px;
        margin-top: 4px;
    }

    .community-songs-box .community-user-song-button {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}


@media (max-width: 880px) {
    .profil-overview-grid {
        grid-template-columns: 1fr;
    }
}

/* Google OAuth Button */
.community-oauth-button {
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    color: #112736;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.community-oauth-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
    background: #f5f7fb;
}

.community-oauth-button:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.community-oauth-button .google-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #4285f4;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .profil-page {
        padding-top: 70px;
    }

    .profil-main {
        padding: 32px 16px 60px;
    }

    .community-auth-section {
        padding: 22px 18px 26px;
    }
}


/* ===== Feedback Button & Modal ===== */
.feedback-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 998;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feedback-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2), 0 3px 10px rgba(0, 0, 0, 0.12);
}

.feedback-button:active {
    transform: scale(0.98);
}

.feedback-button svg {
    width: 26px;
    height: 26px;
    color: #4b879a;
}

/* Bottom-Position wird dynamisch per JavaScript gesetzt (observeMiniPlayerForFeedback) */
/* um sowohl Mini-Player als auch Footer zu berücksichtigen */

@media (max-width: 480px) {
    .feedback-button {
        right: 16px;
        width: 50px;
        height: 50px;
    }

    .feedback-button svg {
        width: 22px;
        height: 22px;
    }
}

/* Feedback Modal */
.feedback-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 7, 15, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.feedback-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.feedback-modal {
    background: #fff8ef;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.25s ease;
}

.feedback-modal-overlay.active .feedback-modal {
    transform: scale(1) translateY(0);
}

.feedback-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(17, 39, 54, 0.08);
}

.feedback-modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #112736;
    margin: 0;
}

.feedback-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    color: #112736;
    opacity: 0.6;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.feedback-modal-close:hover {
    opacity: 1;
    background: rgba(17, 39, 54, 0.08);
}

.feedback-modal-close svg {
    width: 20px;
    height: 20px;
    display: block;
}

.feedback-modal-body {
    padding: 20px 24px 24px;
}

.feedback-textarea {
    width: 100%;
    min-height: 180px;
    padding: 16px;
    border: 1px solid rgba(17, 39, 54, 0.15);
    border-radius: 12px;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #112736;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.feedback-textarea::placeholder {
    color: rgba(17, 39, 54, 0.45);
    line-height: 1.5;
}

.feedback-textarea:focus {
    outline: none;
    border-color: #4b879a;
    box-shadow: 0 0 0 3px rgba(75, 135, 154, 0.15);
}

/* E-Mail Zeile mit Anonym-Checkbox */
.feedback-email-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.feedback-email {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid rgba(17, 39, 54, 0.15);
    border-radius: 10px;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: #112736;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.feedback-email::placeholder {
    color: rgba(17, 39, 54, 0.45);
}

.feedback-email:focus {
    outline: none;
    border-color: #4b879a;
    box-shadow: 0 0 0 3px rgba(75, 135, 154, 0.15);
}

.feedback-email:disabled {
    background: rgba(17, 39, 54, 0.05);
    opacity: 0.6;
    cursor: not-allowed;
}

.feedback-anonym-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    color: #112736;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(17, 39, 54, 0.05);
    transition: background 0.2s ease;
}

.feedback-anonym-label:hover {
    background: rgba(17, 39, 54, 0.1);
}

.feedback-anonym-checkbox {
    width: 16px;
    height: 16px;
    accent-color: #4b879a;
    cursor: pointer;
}

/* Honeypot - unsichtbar für User */
.feedback-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    pointer-events: none;
}

.feedback-submit-btn {
    display: block;
    width: 100%;
    margin-top: 16px;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #4b879a 0%, #357a8d 100%);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.feedback-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(75, 135, 154, 0.35);
}

.feedback-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.feedback-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.feedback-message {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
}

.feedback-message.success {
    background: rgba(75, 135, 154, 0.15);
    color: #357a8d;
}

.feedback-message.error {
    background: rgba(200, 80, 80, 0.15);
    color: #c45050;
}

/* ===== Über mich Page - Instagram-style Carousel Feed ===== */
/* Diese Styles gelten NUR für body.uebermich-page */
body.uebermich-page {
    background: linear-gradient(135deg, #fff8ef 0%, #e8d5c4 50%, #4b879a 100%) !important;
    min-height: 100vh;
    padding-top: 0;
}

body.uebermich-page .uebermich-main {
    padding: 40px 20px 80px;
}

body.uebermich-page .uebermich-container {
    max-width: 520px;
    margin: 0 auto;
}

body.uebermich-page .uebermich-header {
    text-align: center;
    margin-bottom: 40px;
}

body.uebermich-page .uebermich-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    color: #112736;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

body.uebermich-page .uebermich-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    color: #4b879a;
    margin: 0;
}

/* Carousel Feed Container - NUR auf uebermich-page */
body.uebermich-page .carousel-feed {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Individual Carousel Post */
body.uebermich-page .carousel-post {
    background: transparent;
    border-radius: 12px;
    overflow: visible;
    box-shadow: none;
    border: none;
}

body.uebermich-page .carousel-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: transparent;
    overflow: visible;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Carousel Slides - Slide Animation */
body.uebermich-page .carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    border-radius: 12px;
}

body.uebermich-page .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease;
    pointer-events: none;
    flex-shrink: 0;
    /* Skeleton loading: Bild ist unsichtbar bis es geladen ist */
    opacity: 0;
}

body.uebermich-page .carousel-slide.loaded {
    opacity: 1;
}

body.uebermich-page .carousel-slide.active {
    pointer-events: auto;
}

/* Skeleton Loading Animation für Carousel */
body.uebermich-page .carousel-slides {
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
}

body.uebermich-page .carousel-slides.loaded {
    background: none;
    animation: none;
}

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

/* Carousel Controls Container (arrows + dots) - unterhalb des Bildes */
body.uebermich-page .carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 8px;
    overflow: visible;
}

/* Carousel Navigation Arrows - NUR auf uebermich-page */
body.uebermich-page .carousel-nav {
    position: relative;
    top: auto;
    transform: none;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 300;
    color: #112736;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
    line-height: 1;
    flex-shrink: 0;
}

body.uebermich-page .carousel-nav:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
    background: #fff;
}

body.uebermich-page .carousel-nav:active {
    transform: scale(0.95);
}

/* Linker Pfeil immer sichtbar, aber dezenter */
body.uebermich-page .carousel-prev {
    left: auto;
    opacity: 0.4;
    transition: opacity 0.3s ease, transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

body.uebermich-page .carousel-prev:hover {
    opacity: 1;
}

body.uebermich-page .carousel-next {
    right: auto;
}

/* Carousel Indicators (dots) - NUR auf uebermich-page */
body.uebermich-page .carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
}

body.uebermich-page .carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

body.uebermich-page .carousel-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.15);
}

body.uebermich-page .carousel-dot.active {
    background: #4b879a;
}

/* Responsive Adjustments - NUR für uebermich-page */
@media (max-width: 600px) {
    body.uebermich-page {
        padding-top: 70px;
    }

    body.uebermich-page .uebermich-main {
        padding: 30px 16px 60px;
    }

    body.uebermich-page .uebermich-container {
        max-width: 100%;
    }

    body.uebermich-page .carousel-feed {
        gap: 24px;
    }

    body.uebermich-page .carousel-post {
        border-radius: 12px;
    }

    body.uebermich-page .carousel-nav {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }

    body.uebermich-page .carousel-prev {
        left: 8px;
    }

    body.uebermich-page .carousel-next {
        right: 8px;
    }

    body.uebermich-page .carousel-indicators {
        padding: 12px 14px;
        gap: 5px;
    }

    body.uebermich-page .carousel-dot {
        width: 6px;
        height: 6px;
    }
}

@media (min-width: 768px) {
    body.uebermich-page .uebermich-container {
        max-width: 540px;
    }

    body.uebermich-page .carousel-feed {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .feedback-modal {
        max-width: 100%;
        border-radius: 16px;
    }

    .feedback-modal-header {
        padding: 16px 20px 14px;
    }

    .feedback-modal-title {
        font-size: 1.1rem;
    }

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

    .feedback-textarea {
        min-height: 150px;
        font-size: 0.9rem;
        padding: 14px;
    }

    .feedback-email-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .feedback-email {
        font-size: 0.85rem;
        padding: 10px 12px;
    }

    .feedback-anonym-label {
        justify-content: center;
        font-size: 0.8rem;
        padding: 10px;
    }

    .feedback-submit-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}


/* ===== Paradigmenshift Section ===== */
.paradigm-section {
    position: relative;
    background-image: url('/bilder/Puzzle.webp?v=20251224');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.paradigm-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 39, 54, 0.45);
    z-index: 1;
}

.paradigm-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.paradigm-text {
    color: #ffffff;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .paradigm-section {
        padding: 40px 16px;
        min-height: 300px;
    }

    .paradigm-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* ===== Verbundenheit Section (Beziehungen-Seite) ===== */
.verbundenheit-section {
    position: relative;
    background-image: url('/bilder/beziehungen/verbundenheit.webp');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.verbundenheit-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 39, 54, 0.45);
    z-index: 1;
}

.verbundenheit-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.verbundenheit-text {
    color: #ffffff;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .verbundenheit-section {
        padding: 40px 16px;
        min-height: 300px;
    }

    .verbundenheit-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* ===== Zukunft Section (Retreat-Seite) ===== */
.zukunft-section {
    position: relative;
    background-image: url('/bilder/retreat/zukunft.webp');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.zukunft-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 39, 54, 0.45);
    z-index: 1;
}

.zukunft-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.zukunft-text {
    color: #ffffff;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .zukunft-section {
        padding: 40px 16px;
        min-height: 300px;
    }

    .zukunft-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* ===== Entfalten Section (Kindergeschichten-Seite) ===== */
.entfalten-section {
    position: relative;
    background-image: url('/bilder/kindergeschichten/entfalten.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.entfalten-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 39, 54, 0.45);
    z-index: 1;
}

.entfalten-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.entfalten-text {
    color: #ffffff;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .entfalten-section {
        padding: 40px 16px;
        min-height: 300px;
    }

    .entfalten-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* ===== Hingabe Section (Musik-Seite) ===== */
.hingabe-section {
    position: relative;
    background-image: url('/bilder/hingabe.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hingabe-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 39, 54, 0.45);
    z-index: 1;
}

.hingabe-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.hingabe-text {
    color: #ffffff;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .hingabe-section {
        padding: 40px 16px;
        min-height: 300px;
    }

    .hingabe-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* ===== Global Section (Über mich-Seite) ===== */
.global-section {
    position: relative;
    background-image: url('/bilder/global.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.global-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(17, 39, 54, 0.45);
    z-index: 1;
}

.global-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.global-text {
    color: #ffffff;
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    line-height: 1.8;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .global-section {
        padding: 40px 16px;
        min-height: 300px;
    }

    .global-text {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* ===== Über mich Teaser auf Startseite ===== */
.uebermich-teaser-section {
    padding: 48px 20px;
    background: #112736;
}

.uebermich-teaser {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.uebermich-teaser-content {
    flex: 1;
}

.uebermich-teaser-title {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.uebermich-teaser-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 24px;
    line-height: 1.7;
}

.uebermich-teaser-link {
    display: inline-block;
    color: #d4a855;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease;
    letter-spacing: 0.01em;
}

.uebermich-teaser-link::after {
    content: ' →';
    font-size: 1.15em;
}

.uebermich-teaser-link:hover {
    color: #e6bc6a;
    text-decoration: underline;
}

.uebermich-teaser-image {
    flex-shrink: 0;
}

.uebermich-teaser-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 2px solid #d4a855;
    box-shadow: 0 8px 32px rgba(212, 168, 85, 0.25), 0 4px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 640px) {
    .uebermich-teaser-section {
        padding: 32px 20px;
    }

    .uebermich-teaser {
        flex-direction: column-reverse;
        text-align: center;
        gap: 20px;
    }

    .uebermich-teaser-image img {
        width: 130px;
        height: 130px;
    }

    .uebermich-teaser-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
}

/* Profile Image Modal */
.profile-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(17, 39, 54, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-modal.active {
    display: flex;
    opacity: 1;
}

.profile-modal-content {
    position: relative;
    animation: modalZoomIn 0.3s ease;
}

@keyframes modalZoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.profile-modal-content img {
    width: min(450px, 80vw);
    height: min(450px, 80vw);
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 3px solid #d4a855;
    box-shadow: 0 16px 64px rgba(212, 168, 85, 0.3), 0 8px 32px rgba(0, 0, 0, 0.4);
}

.profile-modal-close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #d4a855;
    border: none;
    color: #112736;
    font-size: 24px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.profile-modal-close:hover {
    transform: scale(1.1);
    background: #e6bc6a;
}


/* ===== Legal Disclaimer Modal für ZIP-Download ===== */
.legal-disclaimer-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(17, 39, 54, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.legal-disclaimer-modal.active {
    display: flex;
    opacity: 1;
}

.legal-disclaimer-content {
    background: linear-gradient(135deg, #1a3a4a 0%, #112736 100%);
    border: 1px solid rgba(212, 168, 85, 0.3);
    border-radius: 16px;
    padding: 28px 32px;
    max-width: 540px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 168, 85, 0.1);
    animation: modalZoomIn 0.3s ease;
}

.legal-disclaimer-title {
    color: #d4a855;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-align: center;
}

.legal-disclaimer-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.legal-disclaimer-list li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 10px 0 10px 24px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-disclaimer-list li:last-child {
    border-bottom: none;
}

.legal-disclaimer-list li::before {
    content: "•";
    color: #d4a855;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.legal-disclaimer-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 24px 0;
    cursor: pointer;
    padding: 16px;
    background: rgba(212, 168, 85, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(212, 168, 85, 0.2);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.legal-disclaimer-checkbox:hover {
    background: rgba(212, 168, 85, 0.12);
    border-color: rgba(212, 168, 85, 0.3);
}

.legal-disclaimer-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: #d4a855;
    cursor: pointer;
    flex-shrink: 0;
}

.legal-disclaimer-checkbox span {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    line-height: 1.5;
}

.legal-disclaimer-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.legal-disclaimer-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.legal-disclaimer-btn.cancel {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-disclaimer-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.legal-disclaimer-btn.confirm {
    background: #d4a855;
    color: #112736;
}

.legal-disclaimer-btn.confirm:hover:not(:disabled) {
    background: #e6bc6a;
    transform: translateY(-1px);
}

.legal-disclaimer-btn.confirm:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .legal-disclaimer-content {
        padding: 20px;
        margin: 16px;
        width: calc(100% - 32px);
    }

    .legal-disclaimer-title {
        font-size: 1.2rem;
    }

    .legal-disclaimer-list li {
        font-size: 0.9rem;
        padding: 8px 0 8px 20px;
    }

    .legal-disclaimer-buttons {
        flex-direction: column-reverse;
    }

    .legal-disclaimer-btn {
        width: 100%;
        text-align: center;
    }
}


/* ===== Angebote Teaser auf Über-mich-Seite ===== */
body.uebermich-page .angebote-teaser {
    margin-top: 48px;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    text-align: center;
}

body.uebermich-page .angebote-teaser-title {
    font-size: 1.5rem;
    color: #112736;
    margin-bottom: 24px;
    font-weight: 600;
}

body.uebermich-page .angebote-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

body.uebermich-page .angebot-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.uebermich-page .angebot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

body.uebermich-page .angebot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.uebermich-page .angebot-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
    transition: background 0.2s ease;
}

body.uebermich-page .angebot-card:hover .angebot-overlay {
    background: rgba(0, 0, 0, 0.45);
}

@media (max-width: 480px) {
    body.uebermich-page .angebote-grid {
        grid-template-columns: 1fr;
    }

    body.uebermich-page .angebot-overlay {
        font-size: 1rem;
    }
}


/* Musik & Kindergeschichten Seiten: weißer Seitenhintergrund, auch wenn html dunkel ist */
body.musik-page,
body.kindergeschichten-page {
    background-color: #ffffff;
}

/* ===== Weitere Angebote Section (für alle Angebotsseiten) ===== */
.weitere-angebote-section {
    padding: 80px 20px;
    background: #fff8ef;
}

.weitere-angebote-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.weitere-angebote-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #112736;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}

.weitere-angebote-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.weitere-angebot-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.weitere-angebot-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.weitere-angebot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.weitere-angebot-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.4);
    transition: background 0.2s ease;
}

.weitere-angebot-card:hover .weitere-angebot-overlay {
    background: rgba(0, 0, 0, 0.45);
}

/* Mobile: untereinander */
@media (max-width: 768px) {
    .weitere-angebote-section {
        padding: 48px 20px;
    }

    .weitere-angebote-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 400px;
        margin: 0 auto;
    }

    .weitere-angebot-overlay {
        font-size: 1rem;
    }
}


/* ===== News Timeline Section (Was gibt's Neues?) ===== */
.news-timeline-section {
    padding: 30px 20px 60px;
    background: #fff8ef;
    margin-top: 0;
}

.news-timeline-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.news-timeline-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #112736;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.02em;
}

.news-timeline {
    position: relative;
    padding-left: 40px;
}

/* Vertikale Linie */
.news-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #4b879a, #d4a855);
    border-radius: 1px;
}

.news-timeline-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    color: #666;
    font-size: 0.95rem;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top-color: #4b879a;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Timeline Entry */
.news-timeline-entry {
    position: relative;
    padding: 0 0 32px 20px;
}

.news-timeline-entry:last-child {
    padding-bottom: 0;
}

/* Punkt auf der Timeline */
.news-timeline-entry::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 2px;
    width: 12px;
    height: 12px;
    background: #fff8ef;
    border: 3px solid #4b879a;
    border-radius: 50%;
    z-index: 1;
}

.news-timeline-entry[data-type="song"]::before {
    border-color: #d4a855;
}

.news-timeline-entry[data-type="story"]::before {
    border-color: #7cb87c;
}

.news-timeline-entry[data-type="feature"]::before {
    border-color: #9b6fb8;
}

.news-timeline-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.news-timeline-content {
    background: #fff;
    border-radius: 10px;
    border: 1px solid rgba(75, 135, 154, 0.15);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    padding: 0;
}

.news-timeline-cover {
    width: 140px;
    min-height: 140px;
    border-radius: 10px 0 0 10px;
    object-fit: cover;
    flex-shrink: 0;
    align-self: stretch;
}

.news-timeline-text {
    flex: 1;
    min-width: 0;
    padding: 16px 20px;
}

.news-timeline-content:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.news-timeline-type {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.news-timeline-type.song {
    background: rgba(212, 168, 85, 0.15);
    color: #b8923a;
}

.news-timeline-type.story {
    background: rgba(124, 184, 124, 0.15);
    color: #5a9a5a;
}

.news-timeline-type.feature {
    background: rgba(155, 111, 184, 0.15);
    color: #7a5a94;
}

.news-timeline-type.announcement {
    background: rgba(75, 135, 154, 0.15);
    color: #3a6d7d;
}

.news-timeline-entry-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #112736;
    margin-bottom: 6px;
}

.news-timeline-entry-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-timeline-entry-title a:hover {
    color: #4b879a;
}

.news-timeline-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.news-timeline-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #4b879a;
    text-decoration: none;
    font-weight: 500;
}

.news-timeline-link::after {
    content: ' →';
    font-size: 1.15em;
}

.news-timeline-link:hover {
    text-decoration: underline;
}

/* Footer mit Button */
.news-timeline-footer {
    text-align: center;
    margin-top: 32px;
}

.news-show-more-btn {
    background: transparent;
    border: 2px solid #112736;
    color: #112736;
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-show-more-btn:hover {
    background: #112736;
    color: #fff;
}

/* News Modal */
.news-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.news-modal-overlay.active {
    display: flex;
}

.news-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    /* Damit das Schließen-X sich relativ zur Box positioniert (nicht zum ganzen Viewport) */
    position: relative;
}

.news-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
    /* Größere Klickfläche für Mobile, ohne die Optik stark zu ändern */
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    /* Sicherstellen, dass das X wirklich über allen Inhalten der Box liegt */
    z-index: 5;
}

.news-modal-close:hover {
    color: #112736;
}

.news-modal-title {
    padding: 24px 24px 16px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #112736;
    border-bottom: 1px solid #eee;
    position: relative;
}

.news-modal-content {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.news-modal-content .news-timeline {
    padding-left: 30px;
}

.news-modal-content .news-timeline::before {
    left: 8px;
}

/* Punkte im Modal an die dortige Timeline-Linie anpassen */
.news-modal-content .news-timeline-entry::before {
    left: -28px;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .news-timeline-section {
        padding: 24px 16px 48px;
    }

    .news-timeline-title {
        font-size: 1.5rem;
        margin-bottom: 32px;
    }

    .news-timeline {
        padding-left: 32px;
    }

    .news-timeline::before {
        left: 5px;
    }

    .news-timeline-entry::before {
        left: -32px;
        width: 10px;
        height: 10px;
        border-width: 2px;
    }

    .news-timeline-entry {
        padding-left: 8px;
    }

    .news-timeline-content {
	        padding: 0;
        flex-direction: column;
    }

    .news-timeline-cover {
        width: 100%;
	        height: auto;
	        aspect-ratio: 1 / 1;
	        border-radius: 10px 10px 0 0;
	    }

	    .news-timeline-text {
	        padding: 14px 16px 16px;
    }

    .news-modal {
        max-height: 90vh;
        border-radius: 12px;
    }

    .news-modal-title {
        padding: 20px 20px 14px;
        font-size: 1.3rem;
    }

    .news-modal-content {
        padding: 20px;
    }
}


/* ===== NoScript Fallback Navigation ===== */
/* Navigation für Nutzer ohne JavaScript */
.noscript-nav {
    background: linear-gradient(135deg, #04070f 0%, #112736 100%);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.noscript-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.noscript-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #d4a574;
    font-size: 20px;
    letter-spacing: 1.5px;
    text-decoration: none;
}

.noscript-logo:hover {
    color: #e6bc6a;
}

.noscript-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.noscript-links a {
    color: #fff8ef;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.noscript-links a:hover {
    background: rgba(75, 135, 154, 0.3);
    color: #4b879a;
}

.noscript-links a.active {
    background: rgba(75, 135, 154, 0.2);
    border-left: 3px solid #d4a574;
}

/* Mobile: Links untereinander */
@media (max-width: 768px) {
    .noscript-nav {
        padding: 12px 16px;
    }

    .noscript-nav-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .noscript-links {
        flex-direction: column;
        width: 100%;
        gap: 4px;
    }

    .noscript-links a {
        display: block;
        padding: 10px 12px;
    }
}

/* Sprachauswahl in Noscript-Nav */
.noscript-lang {
    margin-left: auto;
}

.noscript-lang a {
    color: #fff8ef;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border: 1px solid rgba(255, 248, 239, 0.3);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.noscript-lang a:hover {
    background: rgba(255, 248, 239, 0.1);
    border-color: rgba(255, 248, 239, 0.5);
}

/* ===== NoScript Player Fallback ===== */
.noscript-player-notice {
    background: #e8eaed;
    border: 1px solid #c0c4c9;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    text-align: left;
}

.noscript-player-notice h2 {
    color: #1a2744;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.noscript-player-notice p {
    color: #2d3a52;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.noscript-player-notice p:last-child {
    margin-bottom: 0;
}

.noscript-player-notice a {
    color: #1a5276;
    text-decoration: underline;
}

.noscript-player-notice a:hover {
    color: #0d3a5c;
}