@font-face {
    font-family: 'VCR OSD Mono';
    src: url('font/VCR_MONO.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --background-color: #FF7C33;
    --text-color-main: #000000;
    --text-color-header: #000000;
    --text-color-cards: #000000;
    --card-background-color: rgba(230, 230, 230, 0.85); /* Leicht transparentes Hellgrau für Karten */
    --font-header: 'VCR OSD Mono', monospace;
    --font-main-text: 'Montserrat', sans-serif;
}

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

html, body {
    width: 100%;
    height: 100%; /* Changed from 100% to ensure 100vh is effective */
    background-color: var(--background-color);
    color: var(--text-color-main);
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

.fullscreen-section {
    width: 100vw;
    height: 100vh;
    position: relative;
    /* display: flex; align-items: center; justify-content: center; */ /* Overridden by specific sections */
    /* background-size: cover; background-position: center; */ /* Overridden by specific sections */
    /* padding: 2rem; */ /* Overridden by specific sections or their children */
}

/* === SECTION ONE STYLES === */
#section-one {
    background-color: var(--background-color); /* Orange background */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0; /* Override general padding */
    overflow: hidden; /* Prevent scrollbars if content is too large for 100vh */
}

#section-one::before { /* Remove generic semi-transparent background image for section one */
    content: none;
}

.section-one-header-bar {
    height: 50px;
    background-color: #D9D9D9;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 3rem;
    flex-shrink: 0;
    z-index: 3;
}

.header-text {
    font-family: var(--font-header);
    font-size: 45px;
    color: var(--text-color-header);
    text-transform: uppercase;
    line-height: 1.1;
    
    margin-left: -2rem;
    
}

.section-one-content-area {
    display: flex;
    flex-grow: 1;
    height: calc(100vh - 111px);
    position: relative;
}

.left-column-s1 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    height: 100%;
    position: relative;
    
}

.claim-block-s2 {
    width: 5px;
    height: 2px;
    background-color:  #FF7C33;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    text-align: left;
    flex-shrink: 0;
   
}

.claim-block-s1 {
    width: 455px;
    height: 421px;
    background-color: #D9D9D9;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem;
    text-align: left;
    flex-shrink: 0;
   
}

.claim-block-s1 p {
    font-family: var(--font-main-text);
    font-weight: 900;
    font-size: 65px;
    line-height: 1.2;
    margin-left: -2.1rem;
    margin-top: -2rem;
    z-index: 1;
    position: relative;
}


.arrow-image-s1 {
    display: block;
    margin-top: auto; 
    margin-bottom: 1rem; 
    align-self: center; 
    max-width: 125px;
    max-height: 125px;
    width: 100%;
    height: auto;
}


.image-block-s1 {
    width: 815px;
    height: 100%;
    flex-shrink: 0;
    background-image: url('assets/frontPic1.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 2;
}

/* === SECTION TWO STYLES === */
#section-two {
    display: flex;
    flex-direction: column; /* Stellt sicher, dass Header und Inhalt untereinander angeordnet werden */
    justify-content: flex-start; /* Ordnet Elemente am Anfang an */
    align-items: stretch; /* Streckt Elemente auf volle Breite */
    padding: 0; /* Entfernt das alte Padding der Sektion */
    background-color: var(--background-color);
    /* position: relative; ist bereits von .fullscreen-section geerbt und wichtig für ::before */
}

#section-two::before { /* This is the semi-transparent background image */
    content: ""; /* Ensure content is set for pseudo-elements */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/theWaypic1.png');
    background-size: cover;
    background-position: center;
    opacity: 0.99;
    z-index: 1;
}

#section-two .section-content {
    position: relative; 
    z-index: 2; 
    width: 100%;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    align-items: center;  
    padding: 3rem; 
    overflow-y: auto; 
}

/* Versteckt die alte Header-Definition für Sektion Zwei, falls sie noch irgendwo im HTML wäre */
#section-two .section-header {
    display: none;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    height: 600px; /* Passe ggf. an */
    display: flex; /* Hinzugefügt für die Ausrichtung der Pfeile */
    align-items: center; /* Hinzugefügt für die vertikale Zentrierung der Pfeile */
    justify-content: center; /* Zentriert den cards-container, falls schmaler als carousel-container */
}

.cards-container {
    position: relative;
    width: 100%; /* Nimmt die Breite ein, die ihm vom Flex-Container gegeben wird */
    max-width: 550px; /* Maximale Breite der zentralen Karte, um Platz für Pfeile zu lassen */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Behält die ursprüngliche Ausrichtung der Karten bei */
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(90deg); /* Drehe um 90 Grad */
    width: 60px;
    height: auto;
    cursor: pointer;
    z-index: 10;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-arrow:hover {
    opacity: 1;
}

.prev-arrow {
    left: 20px;
    transform: translateY(-50%) rotate(90deg) scaleX(-1); /* Drehe um 90 Grad und spiegele */
}

.next-arrow {
    right: 20px;
    transform: translateY(-50%) rotate(-90deg) scaleX(-1); /* Drehe um 90 Grad und spiegele auch hier */
}

.card-block {
    width: 100%;
    height: 450px; /* Passe die Höhe nach Wunsch an */
    background: #D9D9D9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    margin-bottom: 0.5rem;
    display: block;
}

.card {
    position: absolute;
    width: 550px; /* Passe an deine card max-width an */
    left: 0; right: 0; margin: auto;
    transition: transform .4s cubic-bezier(.25,.8,.25,1), opacity .4s cubic-bezier(.25,.8,.25,1), z-index .4s;
    cursor: pointer;
    opacity: 0.4;
    z-index: 0;
    transform: scale(0.8) translateX(0);
}

#card-1:checked ~ .cards-container #carousel-card-1,
#card-2:checked ~ .cards-container #carousel-card-2,
#card-3:checked ~ .cards-container #carousel-card-3 {
    opacity: 1;
    z-index: 2;
    transform: scale(1) translateX(0);
}

#card-1:checked ~ .cards-container #carousel-card-2,
#card-2:checked ~ .cards-container #carousel-card-3,
#card-3:checked ~ .cards-container #carousel-card-1 {
    transform: scale(0.8) translateX(40%);
    opacity: 0.4;
    z-index: 1;
}

#card-1:checked ~ .cards-container #carousel-card-3,
#card-2:checked ~ .cards-container #carousel-card-1,
#card-3:checked ~ .cards-container #carousel-card-2 {
    transform: scale(0.8) translateX(-40%);
    opacity: 0.4;
    z-index: 1;
}

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

.card-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
}


.card p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.2;
    color: var(--text-color-cards);
    margin-top: 0rem;
}

/* Behalten Sie nur die Anpassungen für sehr kleine Bildschirme bei, 
   falls die Seite auf mobilen Geräten noch zugänglich sein soll */
@media (max-width: 480px) {
    /* Minimale Anpassungen für die Lesbarkeit */
    .section-one-header-bar {
        font-size: 24px;
    }
    
    #section-two .section-header {
        font-size: 28px;
    }
    
    .card p {
        font-size: 14px;
    }
}

#section-three {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    background-color: var(--background-color);
    position: relative;
}

#section-three .section-one-header-bar {
    margin-bottom: 2rem;
}

.app-presentation-content {
    flex-grow: 1;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 3rem;
    padding: 3rem;
    z-index: 2;
}

.app-presentation-image img {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    background: #fff;
}

.app-presentation-text {
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    max-width: 860px;
}

.app-presentation-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #000;
}

.app-presentation-text ol {
    padding-left: 1.2em;
}

.app-presentation-text li {
    margin-bottom: 1.2em;
    line-height: 1.5;
}

.app-presentation-text strong {
    font-weight: 700;
}

@media (max-width: 900px) {
    .app-presentation-content {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 1.5rem;
    }
    .app-presentation-image img {
        max-width: 90vw;
    }
    .app-presentation-text {
        max-width: 95vw;
    }
}

.impressum-block,
.kontakt-block,
.datenschutz-block {
    background: #D9D9D9;
    border-radius: 20px;
    padding: 2rem 2.5rem;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    font-family: var(--font-main-text);
    font-size: 1.1rem;
}

#section-three h2 {
    font-family: var(--font-header);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color-header);
    text-transform: uppercase;
}

#section-three a {
    color: #333;
    text-decoration: underline;
}

@media (max-width: 900px) {
    .section-three-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    .impressum-block,
    .kontakt-block,
    .datenschutz-block {
        max-width: 95vw;
        width: 100%;
    }
}

.app-presentation-images {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2.5rem;
  padding: 3rem 0;
}

.app-presentation-images img {
  max-width: 920px;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.10);
  background: #fff;
  transition: transform 0.2s;
}

.app-presentation-images img:hover {
  transform: translateY(-10px) scale(1.40);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.12);
}

@media (max-width: 1100px) {
  .app-presentation-images {
    gap: 1.2rem;
  }
  .app-presentation-images img {
    max-width: 140px;
  }
}

@media (max-width: 700px) {
  .app-presentation-images {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }
  .app-presentation-images img {
    max-width: 45vw;
    margin-bottom: 1rem;
  }
}

/* === SECTION FOUR STYLES (Profile Section) === */
#section-four {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Header oben, Inhalt darunter */
    align-items: stretch;
    padding: 0;
    background-color: var(--background-color); /* Orange background */
    position: relative;
    height: 100vh; /* Ensure section takes full viewport height */
    overflow: hidden; /* Prevent content from causing scrollbars on the section itself */
}

#section-four .profile-section-content {
    flex-grow: 1;
    display: flex;
    flex-direction: row; /* Arrange image and details side-by-side */
    justify-content: flex-start; /* Align content to the start (left) */
    align-items: stretch; /* Stretch children to fill the height */
    padding: 3rem;
    gap: 3rem; /* Space between image and text block */
    z-index: 2; /* Damit der Inhalt über möglichen ::before Pseudoelementen liegt */
    height: calc(100% - 50px); /* Full height minus header bar */
    overflow-y: auto; /* Allow scrolling within content if needed, e.g. on small heights */
}

.profile-image-container-s4 {
    width: 400px;
    height: 600px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    /* Optional: Abstand nach rechts */
    margin-right: 2rem;
}

.profile-image-s4 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px; /* Ecken abrunden wie bei den anderen Cards */
    box-shadow: 0 4px 15px rgba(0,0,0,0.10);
    display: block;
}

/* Remove styles for the old small, circular profile image if no longer used elsewhere */
/* .profile-image { ... } */

.profile-details-s4 { /* Was .profile-card */
    background-color: #D9D9D9;
    border-radius: 20px;
    padding: 2.5rem 3rem;
    flex-grow: 1; /* Takes remaining width */
    min-width: 300px; /* Prevent text block from becoming too narrow */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    text-align: left; /* Changed from center */
    font-family: var(--font-main-text);
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center content within details card */
}

.profile-details-s4 h2 { /* Was .profile-card h2 */
    font-family: var(--font-main-text);
    font-weight: 900;
    font-size: 2.5rem; /* Größer für den Namen */
    margin-bottom: 0.5rem;
    color: var(--text-color-main);
}

.profile-details-s4 .bio { /* Was .profile-card .bio */
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #333;
}

.profile-details-s4 .contact-info p { /* Was .contact-info p (ensure specificity or update if needed) */
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    margin-bottom: 0.5rem;
}

.profile-details-s4 .contact-info a { /* Was .contact-info a */
    color: var(--text-color-main);
    text-decoration: none;
    font-weight: bold;
}

.profile-details-s4 .contact-info a:hover {
    text-decoration: underline;
}

.button-datenschutz { /* This style is global, ensure it still applies as intended */
    display: inline-block;
    background-color: var(--text-color-main);
    color: #fff;
    font-family: var(--font-main-text);
    font-weight: bold;
    font-size: 1rem;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 2rem;
    transition: background-color 0.3s ease;
    align-self: flex-start; /* Align button to the left in the flex column */
}

.button-datenschutz:hover {
    background-color: #333; /* Etwas dunkler beim Hover */
}

/* Responsive Anpassungen für kleinere Bildschirme */
@media (max-width: 1200px) { /* Adjust breakpoint as needed */
    #section-four .profile-section-content {
        flex-direction: column; /* Stack image and text vertically */
        align-items: center; /* Center items when stacked */
        padding: 1.5rem;
        gap: 1.5rem;
    }
    .profile-image-container-s4 {
        width: 180px;
        height: 180px;
        margin-right: 0;
        margin-bottom: 1.5rem;
    }

    .profile-image-s4 {
        aspect-ratio: 1 / 1; /* Maintain an aspect ratio, or adjust as needed */
    }
    .profile-details-s4 {
        width: 100%;
        max-width: 700px; /* Allow text card to be reasonably wide */
        padding: 2rem;
        text-align: center; /* Center text when card is full width */
    }
    .profile-details-s4 h2 {
        font-size: 2rem;
    }
    .profile-details-s4 .bio,
    .profile-details-s4 .contact-info p {
        font-size: 1rem;
    }
    .button-datenschutz {
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
        align-self: center; /* Center button when text is centered */
    }
}

@media (max-width: 768px) {
    /* .profile-card was old, now use .profile-details-s4 */
    .profile-details-s4 {
        padding: 1.5rem; /* Further reduce padding on very small screens */
        /* max-width: 90vw; This is handled by width:100% and parent padding */
    }
    .profile-details-s4 h2 {
        font-size: 1.8rem;
    }
    /* profile-image was the small round one, no specific rule needed here for .profile-image-s4 unless overriding above */

    .profile-details-s4 .bio,
    .profile-details-s4 .contact-info p {
        font-size: 0.9rem;
    }
    .button-datenschutz {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
    }
}

@media (max-width: 600px) {
    /* Basis-Layout-Anpassungen */
    .fullscreen-section {
        min-height: 100vh; /* Statt height: 100vh */
        height: auto; /* Erlaubt dem Container zu wachsen */
    }

    #section-one {
        min-height: 100vh;
        height: auto;
    }

    .section-one-content-area {
        height: auto; /* Statt calc(100vh - 111px) */
        min-height: calc(100vh - 111px);
        padding-bottom: 2rem; /* Zusätzlicher Abstand unten */
    }

    /* Section 2 Anpassungen */
    #section-two {
        min-height: 100vh;
        height: auto;
        padding-bottom: 2rem;
    }

    .carousel-container {
        height: auto;
        min-height: 780px;
        margin-bottom: 2rem;
    }

    /* Section 3 Anpassungen */
    #section-three {
        min-height: 100vh;
        height: auto;
        padding-bottom: 2rem;
    }

    /* Section 4 Anpassungen */
    #section-four {
        min-height: 100vh;
        height: auto;
    }

    #section-four .profile-section-content {
        height: auto;
        min-height: calc(100vh - 50px);
        padding-bottom: 2rem;
    }

    .section-one-content-area {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: flex-start;
    }
    .header-text {
        font-family: var(--font-header);
        font-size: 25px;
        color: var(--text-color-header);
        text-transform: uppercase;
        line-height: 1.1;
        
        margin-left: -2rem;
        
    }

    .image-block-s1 {
        display: block;
        width: 100vw;
        max-width: 100%;
        height: 380px; 
        min-height: 120px;
        border-radius: 0;
        margin-top: 4rem;
        background-size: cover;
        background-position: center;
    }
    .claim-block-s1 {
        
        width: 240px;
        height: 240px;
        padding: 1.2rem 1rem;
        border-radius: 12px;
        margin: 0 auto 1.2rem auto;
        box-sizing: border-box;
        display: block;
    }
    .claim-block-s1 p {
        font-size: 1.9rem;
        margin: 0;
        word-break: break-word;
    }
    .arrow-image-s1 {
        margin: 1.2rem auto 0 auto;
        display: block;
    }

    /* Die Karten-Container */
    .cards-container {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Einzelne Karte */
    .card {
        position: absolute;
        width: 85vw;
        max-width: 320px;
        left: 50%;
        transform: translateX(-50%);
    }

    /* Aktive Karte */
    #card-1:checked ~ .cards-container #carousel-card-1,
    #card-2:checked ~ .cards-container #carousel-card-2,
    #card-3:checked ~ .cards-container #carousel-card-3 {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    /* Nächste Karte (unten) */
    #card-1:checked ~ .cards-container #carousel-card-2,
    #card-2:checked ~ .cards-container #carousel-card-3,
    #card-3:checked ~ .cards-container #carousel-card-1 {
        transform: translateX(-50%) translateY(75%) scale(0.8);
    }

    /* Vorherige Karte (oben) */
    #card-1:checked ~ .cards-container #carousel-card-3,
    #card-2:checked ~ .cards-container #carousel-card-1,
    #card-3:checked ~ .cards-container #carousel-card-2 {
        transform: translateX(-50%) translateY(-75%) scale(0.8);
    }

    /* Karten-Block (grauer Hintergrund) */
    .card-block {
        width: 100%;
        height: auto;
        min-height: 300px;
        background: #D9D9D9;
        border-radius: 16px;
        padding: 1.2rem;
     
    }

    /* Text in den Karten */
    .card-content p {
        font-size: 1rem;
        line-height: 1.4;
        margin: 0;
        padding: 0.8rem;
    }

    /* Pfeil-Navigation */
    .carousel-arrow {
        display: none;
    }

    /* Slider-Indikatoren (Radio Buttons) ausblenden */
    #card-1,
    #card-2,
    #card-3 {
        display: none;
    }

    /* Section 3 Mobile Layout */
    
    /* Header wie in anderen Sektionen */
    #section-three .section-one-header-bar {
        height: 50px;
    }
    #section-three .header-text {
        font-size: 25px;
        margin-left: -2rem;
    }

    /* Container für die App-Screenshots */
    .app-presentation-content {
        padding: 1rem;
        gap: 1.5rem;
    }

    /* Bilder-Container */
    .app-presentation-images {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem 0;
        width: 100%;
        align-items: center;
    }

    /* Einzelne Screenshot-Bilder */
    .app-presentation-images img {
        width: 85vw;
        max-width: 320px;
        height: auto;
        border-radius: 16px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease;
    }

    /* Optional: Hover/Touch-Effekt für die Screenshots */
    .app-presentation-images img:active {
        transform: scale(1.02);
    }
}


