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

body, html {
    font-family: Helvetica, Arial, sans-serif;
}

a {
    color: #38b6ff;
}

/* TOP SECITON */
.top-section {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #ffffff;
    color: #000000;
    position: sticky;
    top: 0;
    z-index: 10;
    height: 170px; /* initial */
}

.top-section .logo img {
    height: 140px; /* initial */
    transition: height 0.1s linear; /* sehr kurze Transition für sanftes Update */
}



/* MAIN CONTENT */
.main-content { display: flex; flex-direction: column; }

/* Parallax */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 3rem;
    transition: opacity 0.1s;
    padding-left: 2rem;
    box-shadow: inset 5px 0 0 #38b6ff;
}

.parallax-1 { background-image: url('img/parallax1.jpg'); min-height: 70vh; text-shadow: 2px 2px 8px rgba(0,0,0,0.7);}
.parallax-2 { background-color: #ffffff; color: black; min-height: 40vh;}
.parallax-3 { background-image: url('img/parallax3.jpg'); }
.parallax-4 { background-color: #0b1e3f; color: white; min-height: 60vh;}
.parallax-5 { background-image: url('img/parallax2.jpg'); min-height: 40vh;}

.parallax-4 .main-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem; /* Abstand zwischen Bild und Text */
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    flex-wrap: wrap; /* Für mobile Ansicht */
}

.parallax-4 .left-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    flex-shrink: 0;
}

.parallax-4 .text-content {
    color: white;
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: left;
    flex: 1;
}

.parallax-4 h2 {
    margin-top: 1rem;
    font-size: 2rem;
}

/* Claim & Master Text */
.claim {
    text-align: left;
    font-size: 2.0rem;
    line-height: 1.6;
    padding: 1rem 2rem;
}

.intro-text {
    text-align: left;
    font-size: 2.0rem;
    line-height: 1.6;
}

.main-text {
    text-align: left;
    font-size: 1.5rem;
    padding: 1rem 2rem;
    line-height: 1.6;
}

/* Bluebox Text */
.bluebox {
    background-color: #38b6ff;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    display: inline-block;
    text-align: left;
    font-size: 1.5rem;
    line-height: 1.6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.darkbluebox {
    background-color: #0b1e3f;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    display: inline-block;
    text-align: left;
    font-size: 1.5rem;
    line-height: 1.6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* Subscription Boxen */
.subscription-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.subscription-box {
    background-color: #38b6ff;
    color: white;
    flex: 1;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscription-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
}

.subscription-box h2 { font-size: 2rem; margin-bottom: 1rem; }
.subscription-box p { font-size: 1.2rem; line-height: 1.6; }

/* Overlay innerhalb mittlerer Sektion */
.overlay-section {
    display: none;
    padding: 2rem;
    background-color: #ffffff;
}

.overlay-content {
    max-width: 900px;
    margin: 0 auto;
}

.back-button {
    display: inline-flex;
    align-items: center;
    background-color: #38b6ff;
    font-size: 2rem;
    color: #ffffff;
}

/* BOTTOM SECTION */
.bottom-section {
    background-color: #1e1e1e;
    color: white;
    text-align: center;
    font-size: 1.3rem;
    padding: 2rem;
    position: relative;
    box-shadow: inset 5px 0 0 #38b6ff; /* linke Farbkante */
}

.bottom-section a {
    color: #38b6ff;
    text-decoration: none;
    margin: 0 0.5rem;
}

.bottom-section a:hover {
    text-decoration: underline;
}
