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

/* Root Variables */
:root {
    --bg-color: #F4F2EE;
    --accent-color: #E30072;
    --text-color: #1C1C1C;
    --star-color: #FFD700;
    --white: #FFFFFF;
}

/* Base Styles */
html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

main {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Hero Section - Mobile First */
.hero-section {
    min-height: 100vh;
    width: 100vw;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hero Image - formatfüllend über ganze vw */
.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    transform: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.1) translateY(20px);
    transform-origin: top center;
    opacity: 1;
    margin-top: -40px;
    animation: slideUpImageDesktop 0.96s ease-out forwards;
    animation-delay: 0s;
}

@keyframes slideUpImageDesktop {
    from {
        transform: scale(1.1) translateY(20px);
    }
    to {
        transform: scale(1.1) translateY(0);
    }
}

/* Logo Container - über ganze VW mit Padding */
.logo-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    width: 100%;
    padding: 20px;
    padding-top: max(20px, env(safe-area-inset-top));
    z-index: 10;
    display: flex;
    flex-direction: column;
    margin: 0;
    line-height: 0;
    box-sizing: border-box;
}


.logo-wrapper {
    position: relative;
    display: inline-block;
    width: auto;
    height: auto;
}

.logo-image {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
    vertical-align: top;
    line-height: 0;
    max-width: none;
}

.logo-base {
    position: relative;
    z-index: 1;
    display: block;
    width: auto;
    height: auto;
    visibility: visible;
    opacity: 1;
}

.logo-overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.logo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    max-width: none;
    z-index: 2;
    display: block;
    object-fit: contain;
    object-position: left top;
    clip-path: inset(0 50% 0 0);
    animation: revealLogo 1.2s ease-out forwards;
    animation-delay: 0s;
    pointer-events: none;
}

@keyframes revealLogo {
    from {
        clip-path: inset(0 50% 0 0);
    }
    to {
        clip-path: inset(0 0% 0 0);
    }
}

.logo-image svg {
    display: block;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
}

svg.logo-image {
    border: none;
    outline: none;
    vertical-align: top;
    overflow: visible;
}

.byline {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.2;
    margin-top: -5%;
}

/* Mobile: 3 Zeilen */
.byline-line {
    display: block;
}

/* Headline Container - dezenter, unten links im Viewport */
.headline-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    width: 100%;
    padding: 20px;
    padding-bottom: 20px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.headline {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 24px;
    margin-bottom: 24px;
    text-align: left;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    transition: transform 0.2s, opacity 0.2s;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.btn:active {
    transform: scale(0.98);
    opacity: 0.9;
}

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

.btn-primary:hover {
    color: var(--white);
    background-color: #1c1c1c;
}

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

.btn-secondary:hover {
    color: var(--white);
    background-color: var(--accent-color);
}

/* Trust Elements - außerhalb des ersten Viewports auf Mobile */
.trust-elements {
    display: none; /* Auf Mobile versteckt, wird in separater Section angezeigt */
}

/* Trust Slider */
.trust-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.trust-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.trust-slide.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
    position: relative;
}

.trust-slide.slide-out {
    opacity: 0;
    transform: translateX(-100%);
}

/* Separate Trust Section für Mobile - wird in Media Query überschrieben */
.trust-section-mobile {
    display: none;
}

/* Mobile Buttons Section - standardmäßig versteckt */
.cta-section-mobile {
    display: none;
}

.rating-container {
    text-align: right;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    width: auto;
    margin-left: auto;
}

/* Bildelement-Container für einheitliche Höhe */
.rating-image-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    margin-bottom: 9px;
}

.rating-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1;
    margin-bottom: 4px;
    text-align: right;
    width: 100%;
}

.stars {
    font-size: 18px;
    color: var(--star-color);
    line-height: 1;
    letter-spacing: 2px;
    text-align: right;
    width: 100%;
}

.rating-text {
    font-size: 10px;
    color: var(--text-color);
    font-weight: 400;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    width: 100%;
}

.rating-line {
    line-height: 1.4;
    text-align: right;
    width: 100%;
}

/* Award Icons - gleiche Höhe wie rating-image-container */
.award-icon {
    width: 80px;
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 9px auto;
}

.award-gold {
    background-color: #E1BB4C;
}

.award-rose {
    background-color: #C29F8D;
}

.award-star {
    font-size: 40px;
    color: #FCF4CF;
    line-height: 1;
}

.award-rose .award-star {
    color: #E7D0C6;
}

/* Mobile Trust Section Grid - nur auf Mobile sichtbar */
.trust-elements-grid {
    display: none;
}

@media (max-width: 767px) {
    /* Mobile Trust Section sichtbar machen */
    .trust-section-mobile {
        display: flex !important;
    }
    
    .trust-elements-grid {
        display: flex;
    }
    
    /* Mobile Buttons Section versteckt in Portrait */
    .cta-section-mobile {
        display: none;
    }
    /* Mobile Hero Section */
    .hero-section {
        min-height: 100vh;
        min-height: 100dvh;
        min-height: -webkit-fill-available;
        min-height: calc(var(--vh, 1vh) * 100);
        background-color: var(--bg-color);
        padding: 0;
        margin: 0;
        position: relative;
    }
    
    /* Mobile Logo Container - zentriert, 25px Abstand oben */
    .logo-container {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
        padding-top: 25px;
        padding-top: max(25px, env(safe-area-inset-top));
        top: 0 !important;
        left: 0 !important;
        position: absolute !important;
        width: 100% !important;
        margin: 0 !important;
        z-index: 100 !important;
        line-height: 0;
        gap: 0;
        justify-content: flex-start;
        box-sizing: border-box;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .logo-wrapper {
        position: relative;
        display: block !important;
        width: 100%;
        height: auto;
        margin: 0 auto;
    }
    
    .logo-image {
        width: 100% !important;
        height: auto !important;
        margin: 0;
        padding: 0;
        border: none;
        display: block !important;
        vertical-align: top;
        line-height: 0;
    }
    
    .logo-base {
        position: relative !important;
        z-index: 1 !important;
        display: block !important;
        width: 100% !important;
        height: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .logo-overlay-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        overflow: hidden;
    }
    
    .logo-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: auto !important;
        max-width: none !important;
        z-index: 2;
        display: block !important;
        object-fit: contain;
        object-position: left top;
        clip-path: inset(0 50% 0 0);
        animation: revealLogo 1.2s ease-out forwards;
        animation-delay: 0s;
        pointer-events: none;
    }
    
    @keyframes revealLogo {
        from {
            clip-path: inset(0 50% 0 0);
        }
        to {
            clip-path: inset(0 0% 0 0);
        }
    }
    
    /* Desktop: Animation auch aktivieren */
    @media (min-width: 768px) {
        .logo-overlay {
            animation: revealLogo 1.2s ease-out forwards;
            animation-delay: 0s;
        }
    }
    
    /* Mobile Byline - 3 Zeilen, direkt unter Logo */
    .byline {
        font-size: 14px;
        line-height: 0.7;
        text-align: left;
        width: auto;
        margin: 0;
        padding: 0;
        margin-top: -2px;
        align-self: flex-start;
        position: relative;
    }
    
    .byline-line {
        display: block;
    }
    
    /* Mobile Hero Image */
    .hero-image {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        margin-top: -60px;
        display: block;
        object-fit: cover;
        object-position: center top;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        opacity: 1;
        transform: translateY(50px);
        animation: slideUpImage 0.96s ease-out forwards;
        animation-delay: 0s;
    }
    
    @keyframes slideUpImage {
        from {
            transform: translateY(50px);
        }
        to {
            transform: translateY(0);
        }
    }
    
    /* Mobile Headline Container */
    .headline-container {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
        margin-bottom: 0;
    }
    
    .headline {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 20px;
        margin-top: 100px;
    }
    
    /* Mobile Buttons */
    .btn {
        width: 100%;
        -webkit-tap-highlight-color: transparent;
        opacity: 0;
        transform: translateY(30px);
        animation: slideUpFadeIn 0.6s ease-out forwards;
    }
    
    .btn:nth-child(1) {
        animation-delay: 0.5s;
    }
    
    .btn:nth-child(2) {
        animation-delay: 0.5s;
    }
    
    /* Animation für Buttons - von unten nach oben */
    @keyframes slideUpFadeIn {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Mobile Trust Section - Grid Layout */
    .trust-section-mobile {
        min-height: auto;
        padding: 20px;
        padding-top: 15px;
        margin-top: 0;
        padding-bottom: max(40px, calc(20px + env(safe-area-inset-bottom)));
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }
    
    .trust-elements-grid {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 12px;
        justify-content: center;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .trust-item {
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        display: flex;
        justify-content: center;
        align-items: stretch;
    }
    
    /* Mobile Rating Container */
    .trust-section-mobile .rating-container {
        text-align: center;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        height: 100%;
        min-height: 100%;
        position: relative;
        margin-left: 0;
    }
    
    .trust-section-mobile .rating-container > .rating-image-container,
    .trust-section-mobile .rating-container > .award-icon {
        margin-top: 0;
    }
    
    /* Mobile Rating Image Container */
    .trust-section-mobile .rating-image-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
        margin-bottom: 9px;
        margin-top: 0;
        height: 45px;
        box-sizing: border-box;
        width: 100%;
        flex-shrink: 0;
    }
    
    /* Mobile Award Icons */
    .trust-section-mobile .award-icon {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        margin: 0 auto 9px auto;
        margin-top: 0;
        flex-shrink: 0;
        box-sizing: border-box;
    }
    
    /* Mobile Rating Number */
    .trust-section-mobile .rating-number {
        font-size: 20px;
        text-align: center;
        margin-bottom: 4px;
    }
    
    /* Mobile Stars */
    .trust-section-mobile .stars {
        font-size: 14px;
        letter-spacing: 1px;
        text-align: center;
    }
    
    /* Mobile Rating Text */
    .trust-section-mobile .rating-text {
        font-size: 9px;
        text-align: center;
        align-items: center;
        margin-top: 9px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .trust-section-mobile .rating-line {
        text-align: center;
    }
    
    /* Mobile Award Star */
    .trust-section-mobile .award-star {
        font-size: 28px;
    }
    
    /* Sehr kleine Screens */
    @media (max-width: 600px) {
        .trust-elements-grid {
            gap: 10px;
            flex-wrap: nowrap;
            padding: 0 8px;
        }
        
        .trust-section-mobile .rating-number {
            font-size: 18px;
        }
        
        .trust-section-mobile .stars {
            font-size: 12px;
            letter-spacing: 0.5px;
        }
        
        .trust-section-mobile .rating-text {
            font-size: 8px;
        }
        
        .trust-section-mobile .award-icon {
            width: 45px;
            height: 45px;
        }
        
        .trust-section-mobile .award-star {
            font-size: 24px;
        }
    }
    
    @media (max-width: 375px) {
        .byline {
            font-size: 12px;
        }
        
        .headline {
            font-size: 14px;
        }
        
        .btn {
            padding: 14px 20px;
            font-size: 11px;
        }
        
        .trust-elements-grid {
            gap: 8px;
            padding: 0 5px;
        }
        
        .trust-section-mobile .rating-number {
            font-size: 18px;
        }
        
        .trust-section-mobile .stars {
            font-size: 12px;
            letter-spacing: 0.5px;
        }
        
        .trust-section-mobile .rating-text {
            font-size: 8px;
        }
        
        .trust-section-mobile .award-icon {
            width: 45px;
            height: 45px;
        }
        
        .trust-section-mobile .award-star {
            font-size: 24px;
        }
    }
    
    /* Landscape Mobile Optimierungen */
    @media (max-height: 500px) and (orientation: landscape) {
        .hero-section {
            min-height: 100vh;
            min-height: 100dvh;
        }
        
        .logo-container {
            padding: 15px 20px;
            padding-top: max(15px, env(safe-area-inset-top));
        }
        
        .logo-image {
            margin-bottom: 4px;
        }
        
        .byline {
            font-size: 12px;
            margin-top: -20px;
        }
        
        .byline br {
            display: none;
        }
        
        .byline-line {
            display: inline;
        }
        
        .byline-line:not(:last-child)::after {
            content: " ";
        }
        
        .hero-image {
            height: 100%;
            margin-top: 0;
        }
        
        .headline-container {
            padding: 15px 20px;
            padding-bottom: max(15px, env(safe-area-inset-bottom));
        }
        
        .headline {
            margin-bottom: 0;
            font-size: 14px;
            line-height: 1.2;
        }
        
        /* Buttons aus dem ersten Viewport entfernen */
        .headline-container .cta-buttons {
            display: none;
        }
        
        /* Buttons Section für Landscape */
        .cta-section-mobile {
            display: block;
            padding: 20px;
            background-color: var(--bg-color);
        }
        
        .cta-section-mobile .cta-buttons {
            display: flex;
            flex-direction: column;
            gap: 8px;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .cta-buttons {
            gap: 8px;
        }
        
        .btn {
            padding: 12px 20px;
            font-size: 11px;
        }
        
        .trust-section-mobile {
            padding: 30px 20px;
            padding-top: 10px;
            padding-bottom: max(30px, calc(15px + env(safe-area-inset-bottom)));
        }
        
        .trust-elements-grid {
            gap: 10px;
            padding: 0 8px;
        }
        
        .trust-section-mobile .rating-image-container {
            height: 40px;
            margin-bottom: 6px;
        }
        
        .trust-section-mobile .award-icon {
            width: 40px;
            height: 40px;
            margin-bottom: 6px;
        }
        
        .trust-section-mobile .rating-number {
            font-size: 18px;
        }
        
        .trust-section-mobile .stars {
            font-size: 12px;
        }
        
        .trust-section-mobile .rating-text {
            font-size: 8px;
            margin-top: 6px;
        }
        
        .trust-section-mobile .award-star {
            font-size: 24px;
        }
    }
}

/* Desktop Styles */
@media (min-width: 768px) {
    .hero-section {
        min-height: 100vh;
        width: 100vw;
    }
    
    .hero-image-container {
        width: 100vw;
        height: 100vh;
        transform: none;
        position: absolute;
        top: 0;
        left: 0;
        overflow: hidden;
    }
    
    .hero-image {
        transform: scale(1.1) translateY(20px);
        transform-origin: top center;
        margin-top: -40px;
        animation: slideUpImageDesktop 0.96s ease-out forwards;
        animation-delay: 0s;
    }
    
    .logo-container {
        width: 100vw;
        padding: 40px 60px;
    }
    
    .logo-image {
        /* height removed */
    }
    
    .byline {
        font-size: 16px;
        line-height: 1.2;
        margin-top: -5%;
        text-align: left;
        width: auto;
        margin-left: 0;
        margin-right: auto;
        align-self: flex-start;
    }
    
    .byline br {
        display: none;
    }
    
    .byline-line {
        display: inline;
    }
    
    .byline-line:not(:last-child)::after {
        content: " ";
    }
    
    .headline-container {
        width: 100vw;
        padding: 40px 60px 40px 60px;
        max-width: 600px;
        padding-bottom: 40px;
    }
    
    .headline {
        font-size: 20px;
        margin-bottom: 32px;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 16px;
        margin-bottom: 0;
    }
    
    .btn {
        flex: 1;
        padding: 18px 32px;
        font-size: 12px;
        margin-bottom: 0;
        opacity: 0;
        transform: translateY(30px);
        animation: slideUpFadeInDesktop 0.6s ease-out forwards;
    }
    
    .btn:nth-child(1) {
        animation-delay: 0.5s;
    }
    
    .btn:nth-child(2) {
        animation-delay: 0.5s;
    }
    
    @keyframes slideUpFadeInDesktop {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .btn-primary:hover {
    color: var(--white);
        background-color: #1c1c1c;
    }
    
    .btn-secondary:hover {
    color: var(--white);
        background-color: var(--accent-color);
    }
    
    .trust-elements {
        display: block !important;
        position: absolute;
        bottom: 40px;
        right: 60px;
        z-index: 20;
        width: auto;
        min-width: 280px;
        max-width: 380px;
        padding-bottom: 0;
        margin-bottom: 0;
        visibility: visible;
        opacity: 1;
    }
    
    .trust-elements .trust-slider {
        width: 100%;
        height: auto;
    }
    
    .trust-elements .rating-container {
        align-items: flex-end;
        text-align: right;
        margin-left: auto;
    }
    
    .trust-elements .trust-slider {
        width: 100%;
        height: auto;
    }
    
    .trust-slide.active {
        position: relative;
    }
    
    .rating-container {
        text-align: right;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        width: auto;
        margin-left: auto;
    }
    
    .rating-image-container {
        margin-bottom: 9px;
        align-items: flex-end;
    }
    
    .award-icon {
        width: 60px;
        height: auto;
        aspect-ratio: 1;
        margin-bottom: 9px;
        margin: 0 0 9px auto;
    }
    
    .award-star {
        font-size: 30px;
    }
    
    .rating-number {
        font-size: 28px;
        text-align: right;
        width: 100%;
    }
    
    .stars {
        font-size: 20px;
        letter-spacing: 2px;
        margin-bottom: 9px;
        text-align: right;
        width: 100%;
    }
    
    .rating-text {
        font-size: 11px;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        text-align: right;
        width: 100%;
    }
    
    .rating-line {
        text-align: right;
        width: 100%;
    }
    
    .trust-section-mobile {
        display: none !important;
    }
    
    .trust-elements-grid {
        display: none;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .logo-container {
        padding: 60px 80px;
    }
    
    .logo-image {
        /* height removed */
    }
    
    .headline-container {
        padding: 60px 80px 60px 80px;
        max-width: 700px;
        padding-bottom: 60px;
    }
    
    .headline {
        font-size: 24px;
    }
    
    .trust-elements {
        bottom: 60px;
        right: 80px;
        padding-bottom: 0;
        margin-bottom: 0;
        min-width: 300px;
        max-width: 380px;
    }
    
    .trust-elements .rating-container {
        align-items: flex-end;
        text-align: right;
        margin-left: auto;
    }
}

/* ========== Footer ========== */
.site-footer {
    width: 100%;
    padding: 24px 20px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    background-color: var(--text-color);
    color: var(--white);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: center;
    align-items: center;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

.footer-nav a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .site-footer {
        padding: 28px 40px;
        padding-bottom: max(28px, env(safe-area-inset-bottom));
    }
    .footer-nav {
        justify-content: center;
        gap: 24px;
    }
    .footer-nav a {
