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

body {
    font-family: 'Poppins', 'Open Sans', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* Top Bar */
.top-bar {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 8px 0;
    font-size: 14px;
}

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

.social-login {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Header */
.site-header {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 80px;
    height: 80px;
}

.logo-text h1 {
    color: #4ECDC4;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
}

.logo-text p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.logo-text .subtitle {
    font-size: 14px;
    color: #888;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: #4ECDC4;
}

/* Hamburger Toggle (mobile only) */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 10px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: #4ECDC4;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    width: 100%;
    margin: 0;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

/* Title Section */
.title-section {
    text-align: center;
    padding: 60px 0 40px;
    background: white;
}

.main-title {
    font-size: 4rem;
    color: #4ECDC4;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.main-subtitle {
    font-size: 1.5rem;
    color: #333;
    font-weight: 400;
}

/* Turquoise Content Block */
.content-block {
    background: #4ECDC4;
    color: white;
    padding: 60px 0 10px;
}

.content-block h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: white;
}

.content-block p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: none;
}

/* Info-Card auf Startseite (gleicher Stil wie .song-card) */
.info-card {
    background: white;
    color: #333;
    max-width: 760px;
    margin: 0 auto;
    border-radius: 14px;
    padding: 36px 40px 32px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #4ECDC4;
}

.info-card p {
    color: #333;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-card .course-info {
    margin: 28px 0 0;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.info-card .course-info p {
    font-size: 17px;
    margin-bottom: 10px;
}

.info-card .course-info strong {
    color: #2a9e93;
}

@media (max-width: 768px) {
    .info-card {
        padding: 24px 20px 22px;
    }

    .info-card p,
    .info-card .course-info p {
        font-size: 16px;
    }
}

.course-info {
    margin: 40px 0 0;
}

.course-info p {
    font-size: 18px;
    margin-bottom: 15px;
}

.course-info p:last-child {
    margin-bottom: 0;
}

.course-info strong {
    font-weight: 600;
}

.cta-section {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.email-link {
    color: white;
    text-decoration: underline;
    font-size: 18px;
}

.anmelden {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
}

/* Registration Section */
.registration-section {
    background: #4ECDC4;
    padding: 20px 0 80px;
    text-align: center;
}

.registration-section h2 {
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.registration-section h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.registration-section > p {
    color: white;
    font-size: 18px;
    margin-bottom: 50px;
}

/* Form */
.registration-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-fieldset {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    padding: 20px 24px 6px;
    margin: 0 0 24px;
}

.form-fieldset legend {
    color: white;
    font-weight: 600;
    padding: 0 8px;
    font-size: 17px;
}

.form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1 1 180px;
}

.form-hint {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-top: 12px;
    text-align: center;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    color: white;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid white;
    border-radius: 5px;
    font-size: 16px;
    background: white;
    color: #333;
}

.form-group input:focus {
    outline: none;
    border-color: #45B7A8;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
}

.submit-button {
    width: 100%;
    background: #333;
    color: white;
    border: none;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 30px;
}

.submit-button:hover {
    background: #222;
}

.submit-button-alt {
    background: transparent;
    border: 2px solid white;
    margin-top: 12px;
}

.submit-button-alt:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Email-Dialog */
.email-dialog {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

.email-dialog[hidden] { display: none; }

.email-dialog-inner {
    background: white;
    color: #333;
    border-radius: 10px;
    padding: 28px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.email-dialog-inner h3 {
    margin: 0 0 12px;
    color: #333;
}

.email-dialog-field {
    margin-bottom: 14px;
}

.email-dialog-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-bottom: 4px;
}

.email-dialog-field input,
.email-dialog-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    background: #f8f8f8;
    color: #333;
}

.email-dialog-field textarea {
    resize: vertical;
    line-height: 1.45;
    white-space: pre-wrap;
}

.email-dialog-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.email-btn {
    flex: 1 1 140px;
    padding: 12px 16px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    background: #45B7A8;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.email-btn:hover { background: #3aa194; }

.email-btn-alt {
    background: #555;
}
.email-btn-alt:hover { background: #444; }

.email-btn-close {
    background: #e5e5e5;
    color: #333;
}
.email-btn-close:hover { background: #d0d0d0; }

/* Contact Section */
.contact-section {
    background: white;
    padding: 80px 0;
    text-align: center;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-section h2 {
    color: #4ECDC4;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.contact-info p {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.contact-info strong {
    font-weight: 600;
    margin-right: 6px;
}

.contact-info a,
.contact-email {
    color: #2a9e93;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s;
}

.contact-info a:hover {
    border-bottom-color: #2a9e93;
}

/* Location Section (Google Maps) */
.location-section {
    background: #f5fbfa;
    padding: 70px 0 80px;
    text-align: center;
}

.location-title {
    color: #2a9e93;
    font-size: 2rem;
    font-weight: 500;
    margin: 0 0 10px;
}

.location-address {
    color: #555;
    font-size: 1.05rem;
    margin: 0 0 28px;
}

.location-map {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border: 4px solid white;
    aspect-ratio: 16 / 9;
    background: #e5e5e5;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.location-cta {
    margin: 24px 0 0;
}

.location-cta a {
    display: inline-block;
    background: #4ECDC4;
    color: white;
    padding: 12px 26px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.15s, transform 0.15s;
}

.location-cta a:hover {
    background: #3aa194;
    transform: translateY(-2px);
}

/* Legal Pages (Impressum / Datenschutz) */
.legal-section {
    background: linear-gradient(180deg, #4ECDC4 0%, #45B7A8 100%);
    padding: 60px 0 80px;
}

.legal-card {
    max-width: 760px;
    margin: 0 auto 30px;
    background: white;
    border-radius: 14px;
    padding: 40px 44px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-left: 6px solid #4ECDC4;
}

.legal-card h2 {
    color: #2a9e93;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 28px 0 12px;
    padding-top: 20px;
    border-top: 1px dashed rgba(78, 205, 196, 0.45);
}

.legal-card h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-card h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 8px;
}

.legal-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 14px;
}

.legal-card a {
    color: #2a9e93;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.15s;
}

.legal-card a:hover {
    border-bottom-color: #2a9e93;
}

@media (max-width: 600px) {
    .legal-card {
        padding: 26px 20px;
    }
}

/* Footer */
.site-footer {
    background: #f8f9fa;
    padding: 30px 0;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.site-footer p {
    margin-bottom: 5px;
}

.site-footer .version-number {
    margin-top: 10px;
    font-size: 12px;
    color: #aaa;
    letter-spacing: 0.5px;
}

/* Page Styles for Sub-pages */
.page-title-section {
    text-align: center;
    padding: 20px 0;
    background: white;
    margin-top: 0;
}

.page-title {
    font-size: 3rem;
    color: #4ECDC4;
    font-weight: 300;
    margin: 0;
    hyphens: manual;
    -webkit-hyphens: manual;
}

/* Content Section */
.content-section {
    padding: 60px 0 70px;
    background: linear-gradient(180deg, #4ECDC4 0%, #45B7A8 100%);
}

.content-text {
    max-width: 760px;
    margin: 0 auto;
    background: white;
    border-radius: 14px;
    padding: 40px 44px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-left: 6px solid #4ECDC4;
}

.content-text p {
    font-size: 16.5px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 18px;
    text-align: left;
}

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

@media (max-width: 600px) {
    .content-text {
        padding: 28px 22px;
    }
    .content-text p {
        font-size: 15.5px;
    }
}

/* Info Cards */
.info-cards-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: white;
    padding: 36px 28px 32px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border-top: 4px solid #4ECDC4;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.info-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
    line-height: 1;
}

.info-card h3 {
    color: #4ECDC4;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Final Section */
.final-section {
    background: #4ECDC4;
    padding: 80px 0;
}

.final-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.final-text {
    color: white;
    text-align: center;
}

.final-text h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.final-text p {
    font-size: 1.5rem;
    font-weight: 400;
}

.final-image img {
    width: 100%;
    border-radius: 8px;
}

/* Songs Section */
.songs-section {
    padding: 70px 0 90px;
    background: linear-gradient(180deg, #4ECDC4 0%, #45B7A8 100%);
}

.songs-wrapper {
    max-width: 680px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
}

.songs-illustration {
    max-width: 140px;
}

.songs-illustration img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 4px solid rgba(255, 255, 255, 0.8);
}

.song-card {
    background: white;
    color: #333;
    width: 100%;
    border-radius: 14px;
    padding: 36px 40px 32px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
}

.song-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #4ECDC4;
}

.song-card h3 {
    color: #2a9e93;
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 20px;
    letter-spacing: 0.2px;
    text-align: center;
}

.song-note {
    color: #4ECDC4;
    font-size: 1.4em;
    margin-right: 6px;
    vertical-align: -2px;
}

.song-lyrics p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin: 0;
    text-align: center;
    font-weight: 400;
}

.song-outro {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px dashed rgba(78, 205, 196, 0.5);
    font-size: 17px;
    font-weight: 600;
    color: #2a9e93;
    text-align: center;
    font-style: italic;
}

.song-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 420px;
    margin: -16px 0;
}

.song-divider span:first-child,
.song-divider span:last-child {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.55);
}

.song-divider-note {
    color: white;
    font-size: 1.4rem;
    letter-spacing: 0.3em;
    opacity: 0.85;
    flex: 0 0 auto !important;
    height: auto !important;
    background: none !important;
}

@media (max-width: 600px) {
    .song-card {
        padding: 28px 22px 24px;
    }
    .song-card h3 {
        font-size: 1.35rem;
    }
    .song-divider {
        max-width: 300px;
    }
}

/* Terms Section */
.terms-section {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #4ECDC4 0%, #45B7A8 100%);
}

.terms-content {
    max-width: 760px;
    margin: 0 auto 50px;
    background: white;
    border-radius: 14px;
    padding: 44px 48px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-left: 6px solid #4ECDC4;
}

.terms-text p {
    font-size: 17px;
    line-height: 1.75;
    color: #444;
    margin-bottom: 18px;
}

.terms-text p:last-child {
    margin-bottom: 0;
    padding-top: 20px;
    border-top: 1px dashed rgba(78, 205, 196, 0.5);
    color: #2a9e93;
    font-weight: 500;
}

.terms-images {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.terms-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s;
}

.terms-image:hover {
    transform: translateY(-3px);
}

.terms-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #4ECDC4;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-logo {
    width: 25px;
    height: 25px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .nav-toggle {
        display: flex;
        margin-left: auto;
        flex-shrink: 0;
        z-index: 10;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .content-block h2,
    .registration-section h2 {
        font-size: 2rem;
    }

    .content-block p,
    .registration-section > p {
        font-size: 16px;
    }

    .cta-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .logo-section {
        text-align: left;
        flex: 1 1 0;
        min-width: 0;
    }

    .logo {
        width: 56px;
        height: 56px;
        flex-shrink: 0;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .main-nav {
        flex-basis: 100%;
        order: 3;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .main-nav.is-open {
        max-height: 500px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        border-top: 1px solid #e9ecef;
    }

    .main-nav li {
        border-bottom: 1px solid #f1f3f5;
    }

    .main-nav li:last-child {
        border-bottom: 0;
    }

    .main-nav a {
        display: block;
        padding: 14px 4px;
        font-size: 17px;
    }

    .zeit-break-mobile {
        display: block;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .main-nav ul {
        gap: 15px;
    }
    
    .main-nav a {
        font-size: 14px;
    }
    
    .content-block,
    .registration-section,
    .final-section {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .final-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .terms-images {
        grid-template-columns: 1fr;
    }
    
    .final-text h2 {
        font-size: 2.5rem;
    }
    
    .final-text p {
        font-size: 1.3rem;
    }
}