﻿.main{
    background: #eeeeee;
}

.home-intro-section {
    padding-bottom: 1.5rem;
}

.home-visual-section {
    position: relative;
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    background-color: #ece9e2;
    aspect-ratio: 1600 / 933;
    min-height: 420px;
}

.home-visual-section__bg {
    position: absolute;
    inset: 0;
    background-image: var(--bg-desktop);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

    .home-visual-section__bg:after {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.14);
    }

.home-visual-section__container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100% !important;
    padding-left: 40px;
    padding-right: 40px;
}

.home-visual-section__content {
    width: 100%;
    max-width: 620px;
    padding: 0;
}

.home-visual-section__content--overlay {
    position: relative;
    z-index: 3;
}

/* Desktop: Grundpositionen sauber halten */
.home-section--text-left .home-visual-section__content {
    margin-top: 10%;
    margin-left: 6%;
    margin-right: 0;
    text-align: left;
}

.home-section--text-right .home-visual-section__content {
    margin-top: 10%;
    margin-left: auto;
    margin-right: 6%;
    text-align: left;
}

.home-section--text-center .home-visual-section__content {
    margin-top: 10%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.home-visual-section__title {
    font-size: clamp(2.2rem, 4vw, 5.2rem);
    line-height: 1.02;
    font-weight: 700;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    color: #5f656b;
}

.home-visual-section__subtitle {
    font-family: 'EB Garamond', serif;
    font-size: clamp(1.6rem, 2.2vw, 3.4rem);
    line-height: 1.15;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 1.4rem;
    color: #77746f;
}

.home-visual-section__text {
    font-size: clamp(1rem, 1.15vw, 2rem);
    line-height: 1.45;
    color: #676d73;
}

    .home-visual-section__text p:last-child {
        margin-bottom: 0;
    }

.home-section--theme-dark .home-visual-section__title,
.home-section--theme-dark .home-visual-section__subtitle,
.home-section--theme-dark .home-visual-section__text,
.home-section--theme-overlay-dark .home-visual-section__title,
.home-section--theme-overlay-dark .home-visual-section__subtitle,
.home-section--theme-overlay-dark .home-visual-section__text {
    color: #ffffff;
}

.home-section--theme-overlay-dark .home-visual-section__bg:after {
    background: rgba(0, 0, 0, 0.35);
}

.home-section--theme-overlay-light .home-visual-section__bg:after {
    background: rgba(255, 255, 255, 0.3);
}

.home-bestseller-section {
    background: #ffffff;
    padding: 3.5rem 0 2.75rem;
}

    .home-bestseller-section .lead {
        margin-bottom: 0;
    }

.home-bestseller-section__grid {
    justify-content: center;
}

.home-bestseller-section__item {
    display: block;
    color: inherit;
}

    .home-bestseller-section__item:hover {
        text-decoration: none;
    }

.home-bestseller-section__image {
    height: 230px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

    .home-bestseller-section__image img {
        max-height: 210px;
        width: auto;
        object-fit: contain;
    }

.home-bestseller-section__product-title {
    font-size: 1.05rem;
    line-height: 1.25;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
    color: #5f656b;
}

.home-bestseller-section__product-subtitle {
    font-size: 0.95rem;
    line-height: 1.45;
    color: #747474;
    max-width: 220px;
    margin: 0 auto;
}

/* Button in Hero-Sektionen sauber fixieren */
.home-visual-section .custom-button,
.home-visual-section .btn.custom-button {
    display: inline-block;
    font-size: clamp(0.9rem, 0.95vw, 1.25rem);
    padding: 1rem 2.4rem;
    line-height: 1.2;
    letter-spacing: 0.03em;
    margin-top: 1.8rem !important;
    border: 2px solid #5f656b !important;
    background: #ffffff;
    color: #2f3e4d !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    font-weight: 700;
}

    .home-visual-section .custom-button:hover,
    .home-visual-section .btn.custom-button:hover {
        background: transparent !important;
        color: #2f3e4d !important;
        border-color: #5f656b !important;
        text-decoration: none;
    }


/* Button in Hero-Sektionen sauber fixieren */
.home-bestseller-section .custom-button,
.home-bestseller-section .btn.custom-button {
    display: inline-block;
    font-size: clamp(0.9rem, 0.95vw, 1.25rem);
    padding: 1rem 2.4rem;
    line-height: 1.2;
    letter-spacing: 0.03em;
    margin-top: 1.8rem !important;
    border: 2px solid #5f656b !important;
    background: transparent !important;
    color: #2f3e4d !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    font-weight: 700;
}

    .home-bestseller-section .custom-button:hover,
    .home-bestseller-section .btn.custom-button:hover {
        background: transparent !important;
        color: #2f3e4d !important;
        border-color: #5f656b !important;
        text-decoration: none;
    }

/* Sichtbarkeit */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Sehr große Displays */
@media (min-width: 1600px) {
    .home-visual-section__content {
        max-width: 760px;
    }

    .home-section--text-left .home-visual-section__content {
        margin-left: 6%;
    }

    .home-section--text-right .home-visual-section__content {
        margin-right: 6%;
    }
}

/* Große Desktop-Displays */
@media (min-width: 1400px) and (max-width: 1599.98px) {
    .home-visual-section__content {
        max-width: 680px;
    }
}

/* Normale Desktop-Breiten */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .home-visual-section__content {
        max-width: 560px;
    }

    .home-section--text-left .home-visual-section__content,
    .home-section--text-right .home-visual-section__content,
    .home-section--text-center .home-visual-section__content {
        margin-top: 8%;
    }

    .home-section--text-left .home-visual-section__content {
        margin-left: 5%;
    }

    .home-section--text-right .home-visual-section__content {
        margin-right: 5%;
    }
}

/* Tablet / schmaler Desktop */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .home-visual-section {
        min-height: 540px;
    }

    .home-visual-section__container {
        padding-left: 28px;
        padding-right: 28px;
    }

    .home-visual-section__content {
        max-width: 430px;
    }

    .home-section--text-left .home-visual-section__content,
    .home-section--text-right .home-visual-section__content,
    .home-section--text-center .home-visual-section__content {
        margin-top: 12%;
    }

    .home-section--text-left .home-visual-section__content {
        margin-left: 4%;
    }

    .home-section--text-right .home-visual-section__content {
        margin-right: 4%;
    }

    .home-visual-section__title {
        font-size: 3.2rem;
    }

    .home-visual-section__subtitle {
        font-size: 1.95rem;
    }

    .home-visual-section__text {
        font-size: 1.02rem;
        line-height: 1.4;
    }

    .home-visual-section .custom-button,
    .home-visual-section .btn.custom-button {
        padding: 0.95rem 2rem;
    }
}

/* Kritischer Bereich 768 - 991 */
@media (min-width: 768px) and (max-width: 991.98px) {
    .home-visual-section {
        min-height: 0;
        aspect-ratio: 1600 / 935;
    }

    .home-visual-section__container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-visual-section__content {
        max-width: 340px;
    }

    .home-section--text-left .home-visual-section__content {
        margin-top: 5%;
        margin-left: 3%;
        margin-right: 0;
        text-align: left;
    }

    .home-section--text-right .home-visual-section__content {
        margin-top: 5%;
        margin-left: auto;
        margin-right: 3%;
        text-align: left;
    }

    .home-section--text-center .home-visual-section__content {
        margin-top: 5%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .home-visual-section__title {
        font-size: 2.6rem;
        line-height: 1.04;
    }

    .home-visual-section__subtitle {
        font-size: 1.35rem;
        line-height: 1.12;
        margin-bottom: 1rem;
    }

    .home-visual-section__text {
        font-size: 0.95rem;
        line-height: 1.35;
    }

    .home-visual-section .custom-button,
    .home-visual-section .btn.custom-button {
        padding: 0.85rem 1.7rem;
        margin-top: 1rem !important;
        font-size: 0.92rem;
        background:#ffffff;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

    .home-visual-section {
        min-height: unset;
        aspect-ratio: 780 / 560;
    }

    .home-visual-section__bg {
        background-image: var(--bg-mobile);
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
    }

    .home-visual-section__container {
        position: absolute;
        inset: 0;
        z-index: 3;
        padding-left: 14px;
        padding-right: 14px;
        max-width: 100% !important;
    }

    /* Mobile Overlay-Inhalt */
    .home-visual-section__content--overlay {
        position: absolute;
        z-index: 4;
        width: 52%;
        max-width: 52%;
        margin: 0;
    }

    /* Horizontale Position bleibt wie bisher */
    .home-section--text-left .home-visual-section__content--overlay {
        left: 7%;
        right: auto;
        text-align: left;
    }

    .home-section--text-right .home-visual-section__content--overlay {
        right: 7%;
        left: auto;
        text-align: left;
    }

    .home-section--text-center .home-visual-section__content--overlay {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        text-align: center;
    }

    /* Neue vertikale Steuerung */
    .home-mobile-text--top .home-visual-section__content--overlay {
        top: -3%;
        bottom: auto;
    }

    .home-mobile-text--bottom .home-visual-section__content--overlay {
        top: 40%;
        bottom: auto;
    }

    .home-visual-section__title {
        font-size: 2.35rem;
        line-height: 1.02;
        margin-bottom: 0.3rem;
    }

    .home-visual-section__subtitle {
        font-size: 1.35rem;
        line-height: 1.15;
        margin-bottom: 0.85rem;
    }

    .home-visual-section__text {
        font-size: 1.08rem;
        line-height: 1.42;
    }

    .home-visual-section .custom-button,
    .home-visual-section .btn.custom-button {
        font-size: 0.95rem;
        padding: 0.8rem 1.35rem;
        margin-top: 1rem !important;
        background: #ffffff !important;
        color: #2f3e4d !important;
        border: 2px solid #ffffff !important;
        display: inline-block !important;
        transition: all 0.35s ease;
        transform: translateY(0);
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    }

        .home-visual-section .custom-button:hover,
        .home-visual-section .btn.custom-button:hover {
            background: #ffffff !important;
            color: #2f3e4d !important;
            border-color: #d6c7a3 !important;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.10), 0 0 12px rgba(214,199,163,0.25);
            text-decoration: none;
        }

        .home-visual-section .custom-button:active,
        .home-visual-section .btn.custom-button:active {
            transform: translateY(-1px);
        }
}

/* Kleine Mobile */
@media (max-width: 575.98px) {

    .home-visual-section {
        aspect-ratio: 509 / 650;
    }

    .home-visual-section__content--overlay {
        width: 60%;
        max-width: 60%;
    }

    .home-section--text-right .home-visual-section__content--overlay {
        right: 2%;
        left: auto;
        text-align: left;
    }

    .home-mobile-text--top .home-visual-section__content--overlay {
        top: 5%;
    }

    .home-mobile-text--bottom .home-visual-section__content--overlay {
        top: 60%;
    }

    .home-visual-section__title {
        font-size: 2rem;
        line-height: 1.03;
    }

    .home-visual-section__subtitle {
        font-size: 1.15rem;
        line-height: 1.14;
    }

    .home-visual-section__text {
        font-size: 0.98rem;
        line-height: 1.38;
    }

    .home-visual-section .custom-button,
    .home-visual-section .btn.custom-button {
        font-size: 0.9rem;
        padding: 0.72rem 1.1rem;
    }
}

.home-visual-section__container {
    max-width: 100% !important;
}

.home-section--white-text .home-visual-section__title,
.home-section--white-text .home-visual-section__subtitle,
.home-section--white-text .home-visual-section__text {
    color: #ffffff !important;
}

.home-section--white-text .custom-button,
.home-section--white-text .btn.custom-button {
    background: #ffffff !important;
    color: #2f3e4d !important;
    border-color: #ffffff !important;
}

    .home-section--white-text .custom-button:hover,
    .home-section--white-text .btn.custom-button:hover {
        background: transparent !important;
        color: #ffffff !important;
        border-color: #ffffff !important;
    }

.home-section--white-text .home-visual-section__bg:after {
    background: rgba(0, 0, 0, 0.15);
}

/* HEADER TICKER */
.top-ticker {
    --ticker-duration: 28s;
    --ticker-distance: 0px;
    --ticker-bg: #5f6063;
    --ticker-text: #e7dfcf;
    --ticker-accent: #c8b68a;
    --ticker-divider: rgba(231, 223, 207, 0.35);
    position: relative;
    width: 100%;
    height: 34px;
    background: var(--ticker-bg);
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    z-index: 30;
}

.top-ticker__viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.top-ticker__track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
    animation: topTickerMarquee var(--ticker-duration) linear infinite;
}

.top-ticker__group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
}


.top-ticker__item {
    display: inline-flex;
    align-items: center;
    height: 34px;
    line-height: 1;
    padding: 0 14px;
    white-space: nowrap;
    flex-shrink: 0;
}

.top-ticker__item--italic {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0.2px;
    color: #e2d7c4;
}

.top-ticker__item--caps {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #efe7d6;
}

.top-ticker__item--caps-accent {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--ticker-accent);
}

.top-ticker__separator {
    width: 1px;
    height: 18px;
    margin: 0 2px;
    background: var(--ticker-divider);
    flex: 0 0 auto;
}

@keyframes topTickerMarquee {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(calc(-1 * var(--ticker-distance)), 0, 0);
    }
}

.top-ticker:hover .top-ticker__track {
    animation-play-state: paused;
}

@media (max-width: 767px) {
    .top-ticker {
        height: 30px;
    }

    .top-ticker__item {
        height: 30px;
        padding: 0 10px;
    }

    .top-ticker__item--italic {
        font-size: 12px;
    }

    .top-ticker__item--caps,
    .top-ticker__item--caps-accent {
        font-size: 11px;
        letter-spacing: 0.6px;
    }

    .top-ticker__separator {
        height: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .top-ticker__track {
        animation: none !important;
        transform: none !important;
    }
}
