/* Globals & Mobile First */
:root {
    --white: #ffffff;
    --black: #000000;
    --dark-grey: #1a1a1a;
    --gold: #c4a169;
    --ivory: #fffff0;
    --text-color: var(--black);
    --font-primary: 'Inter', sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100vw;
    min-height: 100vh;
    font-family: var(--font-primary);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
    padding-top: 5.5rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white);
    padding: clamp(1rem, 3vw, 1.5rem) 5vw;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1000;
    box-shadow: 0 0.2rem 1rem rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.header.hidden {
    transform: translate3d(0, -100%, 0);
}

.logo img {
    height: 2.5rem;
    width: auto;
}

/* Mobile Nav */
.nav,
.header-actions {
    display: none;
}

.nav.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background-color: var(--white);
    flex-direction: column;
    padding: clamp(2rem, 6vw, 4rem) 5vw;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
    animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-1rem) translateZ(0);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateZ(0);
    }
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0;
    margin: 0;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateZ(0);
}

.nav-list a:hover {
    color: var(--gold);
}

.mobile-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 2rem;
    height: 1.5rem;
    cursor: pointer;
    z-index: 101;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 0.15rem;
    background-color: var(--black);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateZ(0);
    will-change: transform;
}

/* Language and Icons */
.language-selector {
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-color);
}

.icons {
    display: flex;
    gap: 1.5rem;
    margin-left: 2rem;
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--black);
    cursor: pointer;
    transition: fill 0.3s ease;
}

.icon:hover {
    fill: var(--gold);
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 5.5rem);
    height: calc(100dvh - 5.5rem);
    width: 100vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--dark-grey);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform, filter;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide:nth-child(1) {
    animation: slide1Full 19.5s infinite;
}

.hero-slide:nth-child(2) {
    animation: slide2Full 19.5s infinite;
}

.hero-slide:nth-child(3) {
    animation: slide3Full 19.5s infinite;
}

@keyframes slide1Full {
    0%, 25.64% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        filter: blur(0);
        animation-timing-function: cubic-bezier(0.65, 0, 0.15, 1);
    }
    33.33% {
        transform: translate3d(-100%, 0, 0);
        opacity: 1;
        filter: blur(8px);
    }
    33.34%, 92.31% {
        transform: translate3d(100%, 0, 0);
        opacity: 0;
        filter: blur(12px);
    }
    92.32% {
        opacity: 1;
        animation-timing-function: cubic-bezier(0.65, 0, 0.15, 1);
    }
    100% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        filter: blur(0);
    }
}

@keyframes slide2Full {
    0%, 25.64% {
        transform: translate3d(100%, 0, 0);
        opacity: 0;
        filter: blur(12px);
    }
    25.65% {
        opacity: 1;
        animation-timing-function: cubic-bezier(0.65, 0, 0.15, 1);
    }
    33.33%, 58.97% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        filter: blur(0);
        animation-timing-function: cubic-bezier(0.65, 0, 0.15, 1);
    }
    66.66% {
        transform: translate3d(-100%, 0, 0);
        opacity: 1;
        filter: blur(8px);
    }
    66.67%, 100% {
        transform: translate3d(100%, 0, 0);
        opacity: 0;
        filter: blur(12px);
    }
}

@keyframes slide3Full {
    0%, 58.97% {
        transform: translate3d(100%, 0, 0);
        opacity: 0;
        filter: blur(12px);
    }
    58.98% {
        opacity: 1;
        animation-timing-function: cubic-bezier(0.65, 0, 0.15, 1);
    }
    66.66%, 92.31% {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        filter: blur(0);
        animation-timing-function: cubic-bezier(0.65, 0, 0.15, 1);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
        opacity: 1;
        filter: blur(8px);
    }
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    padding: 0 5vw;
    max-width: 40rem;
    width: 100%;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero-content h2 {
    font-size: clamp(1.1rem, 4vw, 1.8rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-content p {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    padding: clamp(0.8rem, 3vw, 1rem) clamp(1.5rem, 5vw, 2.5rem);
    background-color: rgba(18, 38, 51, 0.8);
    /* dunklere Farbe gemäss Ophyr Button */
    color: var(--gold);
    border: 1px solid transparent;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateZ(0);
    will-change: transform, background-color, border-color, color, box-shadow;
}

.btn-primary:active {
    transform: scale(0.98) translateZ(0);
}

.btn-primary:hover {
    background-color: var(--ivory);
    color: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(196, 161, 105, 0.2);
}

/* Dots */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 0.8rem;
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slide-dot-1 {
    animation: dot1 19.5s infinite;
}

.slide-dot-2 {
    animation: dot2 19.5s infinite;
}

.slide-dot-3 {
    animation: dot3 19.5s infinite;
}

@keyframes dot1 {
    0%, 29% { background-color: var(--white); }
    30%, 95% { background-color: rgba(255, 255, 255, 0.6); }
    96%, 100% { background-color: var(--white); }
}

@keyframes dot2 {
    0%, 28% { background-color: rgba(255, 255, 255, 0.6); }
    29%, 62% { background-color: var(--white); }
    63%, 100% { background-color: rgba(255, 255, 255, 0.6); }
}

@keyframes dot3 {
    0%, 61% { background-color: rgba(255, 255, 255, 0.6); }
    62%, 95% { background-color: var(--white); }
    96%, 100% { background-color: rgba(255, 255, 255, 0.6); }
}

.dot:hover {
    background-color: var(--white);
}

/* Product Intro Section */
.product-intro {
    background-color: var(--white);
    padding: clamp(4rem, 10vw, 6rem) 5vw;
    color: var(--text-color);
}

.product-intro-container {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 5vw, 3rem);
    align-items: center;
}

.product-intro-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-intro-text h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin: 0;
    line-height: 1.3;
}

.product-intro-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefits-list li {
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    padding-left: 1.2rem;
}

.benefits-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--text-color);
    font-size: 1rem;
}

.product-action {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.product-intro-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-intro-image img {
    max-width: 100%;
    height: auto;
    max-height: 25rem;
    object-fit: contain;
}

/* Info Columns Section */
.info-columns {
    background-color: var(--white);
    padding: clamp(4rem, 10vw, 6rem) 5vw;
}

.info-columns-container {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 5vw, 3rem);
}

.info-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-column-image {
    width: 100%;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.info-column-image img {
    width: 100%;
    height: 14rem;
    object-fit: cover;
}

.info-column-content h3 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.info-column-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #4a4a4a;
}

.btn-text {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: clamp(0.6rem, 2vw, 0.8rem) clamp(1.2rem, 4vw, 2rem);
    border: 1px solid transparent;
    border-radius: 50px;
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateZ(0);
    will-change: transform, background-color, border-color, color, box-shadow;
}

.btn-text:active {
    transform: scale(0.98) translateZ(0);
}

.btn-text:hover {
    background-color: var(--ivory);
    color: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(196, 161, 105, 0.2);
}

/* --- Media Queries (Desktop) --- */
@media (min-width: 64rem) {
    .hamburger {
        display: none;
    }

    .mobile-actions {
        display: none;
    }

    .nav {
        display: block;
        position: static;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
        width: auto;
        animation: none;
    }

    .nav-list {
        flex-direction: row;
        gap: 2.5rem;
    }

    .nav-list a {
        font-size: 0.9rem;
    }

    .header-actions {
        display: flex;
        align-items: center;
    }

    .hero-content {
        text-align: left;
        margin-right: auto;
        margin-left: 20vw;
        padding: 0;
    }

    .hero,
    .hero-slide {
        justify-content: flex-start;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .product-intro-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 5rem;
    }

    .benefits-grid {
        flex-direction: row;
        gap: 2rem;
    }

    .benefits-list {
        flex: 1;
    }

    .product-action {
        justify-content: flex-start;
    }

    .product-intro-image {
        flex: 1;
        justify-content: flex-end;
    }

    .info-columns-container {
        flex-direction: row;
        gap: 2rem;
        align-items: flex-start;
    }

    .info-column {
        flex: 1;
    }
}

/* --- Ophyr Hero Section --- */
.ophyr-hero {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 5.5rem);
    min-height: calc(100dvh - 5.5rem);
    background-color: var(--white);
}

.ophyr-hero-image {
    width: 100%;
}

.ophyr-hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.ophyr-hero-content {
    padding: clamp(3rem, 6vw, 5rem) 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--white);
}

.ophyr-hero-content h2 {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.ophyr-hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.ophyr-actions {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: clamp(2rem, 5vw, 3rem);
}

.btn-secondary {
    display: inline-block;
    padding: clamp(0.8rem, 3vw, 1rem) clamp(1.5rem, 5vw, 2.5rem);
    background-color: transparent;
    color: var(--gold);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateZ(0);
    will-change: transform, border-color, color, background-color, box-shadow;
}

.btn-secondary:active {
    transform: scale(0.98) translateZ(0);
}

.btn-secondary:hover {
    background-color: var(--ivory);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 4px 15px rgba(196, 161, 105, 0.2);
}

.ophyr-quote {
    font-size: 1.1rem;
    font-weight: 300;
    color: #4a4a4a;
    margin: 0;
    line-height: 1.5;
}

/* Desktop overrides for Ophyr Hero */
@media (min-width: 64rem) {
    .ophyr-hero {
        flex-direction: row;
        align-items: stretch;
    }

    .ophyr-hero-image {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        overflow: hidden;
    }

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

    .ophyr-hero-content {
        flex: 1;
        padding: 5rem 8vw 5rem 4vw;
        max-width: 50rem;
    }

    .ophyr-hero-content h2 {
        font-size: 2.5rem;
    }

    .ophyr-actions {
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }

    .ophyr-quote {
        margin-top: auto;
        font-size: 1.2rem;
    }
}

/* --- Magazine Section --- */
.magazine-section {
    padding: clamp(4rem, 10vw, 6rem) 5vw;
    background-color: var(--white);
}

.magazine-container {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(3rem, 8vw, 5rem);
}

.magazine-article {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.magazine-image {
    width: 100%;
}

.magazine-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.magazine-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.magazine-category {
    display: inline-block;
    background-color: #52999c;
    color: var(--white);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.3rem 0.8rem;
    margin-bottom: 1.2rem;
}

.magazine-content h3 {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--text-color);
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.magazine-date {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.magazine-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 2rem;
}

.magazine-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: clamp(0.6rem, 2vw, 0.8rem) clamp(1.2rem, 4vw, 2rem);
    border: 1px solid transparent;
    border-radius: 50px;
    background-color: transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateZ(0);
    will-change: transform, background-color, border-color, color, box-shadow;
}

.magazine-link:active {
    transform: scale(0.98) translateZ(0);
}

.magazine-link:hover {
    background-color: var(--ivory);
    color: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(196, 161, 105, 0.2);
}

/* Desktop overrides for Magazine Section */
@media (min-width: 64rem) {
    .magazine-article {
        flex-direction: row;
        align-items: center;
        gap: 6rem;
        text-align: left;
    }

    .magazine-content {
        flex: 1;
        padding: 0;
    }

    .magazine-image {
        flex: 1;
    }

    .magazine-article.reverse {
        flex-direction: row-reverse;
    }
}

/* --- Footer Section --- */
.footer {
    background-color: var(--white);
    padding: clamp(3rem, 8vw, 5rem) 5vw 2rem;
    border-top: 1px solid #eaeaea;
    color: var(--text-color);
}

.footer-container {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 5vw, 3rem);
    margin-bottom: clamp(2rem, 5vw, 4rem);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-centered-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
    padding-bottom: 1rem;
}

.footer-logo-main {
    height: 3.5rem;
    width: auto;
    filter: brightness(0) opacity(0.6);
}

.footer-logo-divider {
    width: 8rem;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.6);
}

.footer-logo-sub {
    height: 1.2rem;
    width: auto;
    filter: brightness(0) opacity(0.6);
}

.contact-title {
    /* Styles removed to match general footer h4 styles */
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: #4a4a4a;
    line-height: 1.5;
}

.contact-info p {
    margin: 0;
}

.icon-text {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-icon {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    stroke: #4a4a4a;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
}

.social-title {
    margin-top: 2.5rem !important;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: #4a4a4a;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 1.5rem;
    height: 1.5rem;
    stroke: var(--text-color);
    transition: stroke 0.3s ease;
}

.social-icon:hover {
    stroke: var(--gold);
}

.footer-bottom {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    border-top: 1px solid #eaeaea;
    padding-top: 2rem;
    font-size: 0.75rem;
    color: #888;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.payment-logo {
    height: 1.5rem;
    width: auto;
    color: #000000;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

img.payment-logo {
    filter: brightness(0);
    /* Weiße Logos der CDN in schwarz umwandeln, damit sie auf weißem Grund sichtbar sind */
}

.payment-logo:hover {
    opacity: 1;
}

/* Desktop overrides for Footer */
@media (min-width: 64rem) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-column {
        flex: 1;
    }

    .brand-column {
        flex: 1;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}