/* Horizontal/Vertical--------------------------*/
#horizontal-section {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

#horizontal-scroll {
    display: flex;
    height: 100%;
    width: max-content;
}

@media (hover: hover) {
    .spacer-slide {
        display: none !important;
        width: 0 !important;
        flex: 0 0 0 !important;
    }
}

@media (pointer: coarse) and (hover: none) {
    #horizontal-section {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    #horizontal-scroll {
        display: flex;
        width: max-content; /* oder calc(3 * 100vw) wenn du willst */
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .slide {
        flex: 0 0 100vw;
        scroll-snap-align: start;
    }

    .big-text-slide {
        flex: 0 0 100vw;
        position: relative;
    }

    .big-text {
        position: absolute;
        left: 0;
        transform: none;
        padding-left: 5vw;
        padding-right: 5vw;
        white-space: nowrap;
        font-size: 14vw;
    }

    .spacer-slide {
        flex: 0 0 100vw;
    }

    .video-slide {
        flex: 0 0 100vw;
    }

    .video-wrapper {
        width: 100vw;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        position: relative;
    }
}

/* Scroll-Lock nur für "größere" Touch-Geräte (Tablets quer) */
@media (pointer: coarse) and (hover: none) and (min-width: 768px) {
  html.scroll-lock,
  body.scroll-lock {
    position: fixed;
    overflow: hidden !important;
    width: 100vw;
    height: 100vh;
    touch-action: pan-x; /* nur horizontales Scrollen erlauben */
  }
}

/* Kleines Touch / Phone: Lock nur über scroll-lock-mobile steuern */
@media (pointer: coarse) and (hover: none) {
  html.scroll-lock-mobile,
  body.scroll-lock-mobile {
    position: fixed;
    overflow: hidden !important;
    width: 100vw;
    height: 100vh;
    touch-action: pan-x;
  }
}


.slide {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .slide.big-text-slide {
        width: auto; /* passt sich Inhalt an */
        min-width: calc(100vw + 40vw); /* z. B. extra Puffer, je nach Schriftbreite */
    }

    .slide.video-slide {
        width: 100vw;
        height: 100vh;
    }

.big-text {
    font-size: clamp(120px, 32vw, 620pt);
    font-weight: bold;
    white-space: nowrap;
    color: white;
    transform: translateX(0);
    padding: 0 10vw 0 2vw;
}

#vertical-section {
    min-height: auto;
    width: 100vw;
    padding: 2rem 2rem 0 2rem;
}

#vertical-lock-container.locked {
    display: none;
}

#vertical-lock-container {
    display: block;
}


/* Image row -------------------------------------*/
.image-row-wrapper {
    margin-top: 5rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.image-row {
    display: flex;
    gap: 45px;
    width: min(90vw, 1800px);
    box-sizing: border-box;
}

.image-box {
    flex: 1 1 calc((100% - 2 * 45px) / 3);
    min-width: 200px;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
}

.middle-image {
    display: block;
    transform-origin: center center;
    transition: all 0.5s ease;
    z-index: 10;
}

.middle-image--fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    transform-origin: center center;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 999;
    border-radius: 0;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.scroll-spacer {
    width: 100%;
    height: 0;
    transition: height 0.3s ease;
}

.image-row .image-box {
    cursor: zoom-in;
}

/* tile-section -----------------------------------------*/
.tile-intro {
    max-width: var(--measure, 72ch);
    margin: 12rem auto 0 auto;
}

.tile-intro p {
    margin: 0;
}

.tile-section-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 10rem;
}

.tile-section {
    display: flex;
    justify-content: center;
}

    .tile-section .row {
        display: flex;
        flex-wrap: nowrap;
        gap: 3rem;
        width: min(75vw, 1300px);
        min-width: 720px;
        margin: 0 auto;
        box-sizing: border-box;
    }

.container {
    flex: 1 1 calc((100% - 2 * 40px) / 3);
    min-width: 200px;
    max-width: none;
    height: auto;
    border: 3px solid white;
    border-radius: 10px;
    overflow: hidden;
    background: var(--theim-black);
    position: relative;
    margin: 0;
}

.tile-section svg {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    overflow: visible;
}

.tile-svg text {
    fill: white;
    opacity: 1;
    font-size: 2rem;
}

text {
    font-family: 'Roobert', sans-serif;
    font-size: 60px;
    font-weight: 700;
    fill: white;
    opacity: 0;
}

.container object {
    display: block;
    width: 100%;
    height: auto;
}

.container--snap-start {
    scroll-snap-align: start;
}

.container--snap-end {
    scroll-snap-align: end;
}

.tile-nav-dots {
    display: none;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.tile-dot {
    all: unset;
    width: 12px;
    height: 12px;
    aspect-ratio: 1;
    display: inline-block;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

    .tile-dot.active,
    .tile-dot:hover {
        background-color: white;
    }

.tile-dot:focus-visible {
    outline: 2px solid var(--theim-red);
    outline-offset: 5px;
}


/* Home Tiles: Illustration/Text Swap -----------------------------------------*/

.home-tile__visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    transform: scale(1.005);
    transform-origin: 50% 50%;
    will-change: transform, opacity;
}

.home-tile svg,
.home-tile svg * {
    transform-box: fill-box;
}

.home-tile {
    display: block;
    aspect-ratio: 569 / 712;
    cursor: default;
    container-type: inline-size;
    overflow: hidden;
    background: var(--theim-black);
    border: 3px solid white;
}

@media (hover: hover) and (pointer: fine) {
    .tile-section .home-tile {
        opacity: 0;
        transform: translateY(100px);
    }
}

.home-tile__label {
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 50%);
    z-index: 2;
    margin: 0;
    width: max-content;
    max-width: 78%;
    transform: translate(-50%, -50%);
    color: white;
    opacity: 1;
    pointer-events: none;
    transition: opacity .3s ease;

    font-family: 'Roobert', sans-serif;
    font-size: clamp(1.6rem, 2.1vw, 3.75rem);
    font-size: 10.5cqw;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: normal;
}

#workTileLabel {
    --x: 48%;
    --y: 82%;
    text-align: left;
}

#skillsTileLabel {
    --x: 48%;
    --y: 20%;
    text-align: left;
}

#teamTileLabel {
    --x: 53%;
    --y: 22%;
    text-align: right;
}

.home-tile__description {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: calc(100% - 40px);
    max-width: 80%;
    margin: 0;
    transform: translate(-50%, -50%);
    color: white;
    opacity: 0;
    pointer-events: none;
    line-height: 1.35;
    transition: opacity .3s ease;
}


.home-tile:hover .home-tile__description,
.home-tile:focus .home-tile__description,
.home-tile:focus-within .home-tile__description {
    opacity: 1;
}

.home-tile:hover .home-tile__label,
.home-tile:focus .home-tile__label,
.home-tile:focus-within .home-tile__label {
    opacity: 0;
}

.home-tile:focus-visible {
    outline: 2px solid var(--theim-red);
    outline-offset: 6px;
}

.home-tile text {
    opacity: 1;
}

/* BrainTHEIM Teaser -----------------------------------------*/

.brain-theim-section {
    width: calc(min(75vw, 1300px) - 6rem);
    margin: 5rem 0 0 50%;
    transform: translateX(-50%);
}

.brain-theim-card {
    --brain-theim-blue: #2d00ff;

    position: relative;
    overflow: hidden;
    min-height: clamp(150px, 14vw, 240px);
    padding: clamp(1.5rem, 3vw, 3.5rem);
    border: 3px solid white;
    border-radius: 10px;
    background: var(--brain-theim-blue);
    color: white;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "content logo"
        "content button";
    gap: clamp(1rem, 2.5vw, 3rem);
    align-items: center;
}

@media (hover: hover) and (pointer: fine) {
    .brain-theim-card {
        opacity: 0;
        transform: translateY(100px);
    }
}

.brain-theim-card__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.brain-theim-card__content,
.brain-theim-card__logo,
.brain-theim-card__button {
    position: relative;
    z-index: 1;
}

.brain-theim-card__content {
    grid-area: content;
    max-width: 48ch;
}

.brain-theim-card__headline {
    margin: 0 0 1rem 0;
    color: white;
}

.brain-theim-card__text {
    margin: 0;
    color: white;
}

.brain-theim-card__logo {
    grid-area: logo;
    justify-self: end;
    width: clamp(150px, 15vw, 280px);
    height: auto;
}

.brain-theim-card__button {
    grid-area: button;
    justify-self: end;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    appearance: none;
    border: 2px solid white;
    border-radius: 999px;
    background: transparent;
    color: white;
    padding: 0.65em 2em;

    font-family: 'Roobert', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 1.1vw, 1.2rem);
    line-height: 1;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

/* Aktiver Link */
a.brain-theim-card__button {
    cursor: pointer;
}

/* Deaktivierter Coming-soon-Button */
button.brain-theim-card__button:disabled,
button.brain-theim-card__button[aria-disabled="true"] {
    cursor: default;
}

/* Hover nur, wenn es wirklich ein Link oder ein aktiver Button ist */
a.brain-theim-card__button:hover,
a.brain-theim-card__button:focus-visible,
button.brain-theim-card__button:not(:disabled):hover,
button.brain-theim-card__button:not(:disabled):focus-visible {
    background: white;
    color: var(--brain-theim-blue);
}

.brain-theim-card__button:focus-visible {
    outline: 2px solid var(--theim-red);
    outline-offset: 5px;
}


/* gleiche Breitenlogik wie Tile-Section */
@media (max-width: 1400px) {
    .brain-theim-section {
        width: calc(min(80vw, 1300px) - 5.6rem);
    }
}

@media (max-width: 1200px) {
    .brain-theim-section {
        width: calc(min(82vw, 1100px) - 50px);
    }
}


/* ab hier nicht mehr an Tile-Breite, sondern an Fließtext-Breite orientieren */
@media (max-width: 992px) {
    .brain-theim-section {
        width: 100%;
        margin: 3.5rem 0 0 0;
        transform: none;
    }
}

@media (orientation: portrait) {
    .brain-theim-card__bg {
        display: none;
    }
}

@media (max-width: 768px) {
    .brain-theim-card {
        min-height: 0;
        padding: 2rem;
        grid-template-columns: 1fr;
        grid-template-areas:
            "logo"
            "content"
            "button";
        gap: 1.5rem;
    }

    .brain-theim-card__logo,
    .brain-theim-card__button {
        justify-self: start;
    }

    .brain-theim-card__logo {
        width: min(70%, 240px);
    }
}

@media (max-width: 420px) {
    .brain-theim-card {
        padding: 1.5rem;
    }
}

@media (pointer: coarse) and (hover: none) {
    .brain-theim-card {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* White Line -----------------------------------------*/
.white-line-wrapper {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
    position: relative;
    height: auto;
    min-height: 200px; /* Optionaler Startwert */
    display: flex;
    justify-content: center;
    align-items: center; /* Zentriert vertikal */
    flex-direction: column;
    overflow: visible;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: 2rem;
}

.white-line-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: white;
    z-index: 0;
    transform-origin: top center;
    transform: scaleY(0);
}

.white-section-content {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    max-width: 75ch;
    padding: 0 2rem;
    color: black;
    text-align: left;
}

.white-headline {
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    opacity: 0;
}

.white-subcontent {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

    .white-subcontent p {
        margin-bottom: 1.5rem;
        color: black;
    }

.white-arrow {
    display: inline-block;
    cursor: pointer;
    font-size: 3.5rem;
    text-decoration: none;
    color: var(--theim-red);
    transition: transform 0.2s ease;
}

    .white-arrow:hover {
        transform: translateX(8px);
    }

.white-line-trigger-anchor {
    height: 1px;
    margin-top: 10vh;
}

/* Unterer schwarzer Bereich: FAQ + Awards ------------------------- */

.home-lower-black {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-top: -20px;
    background: var(--theim-black);
    padding: 2px 2rem clamp(5rem, 9vw, 9rem);
    box-sizing: border-box;
}

/* Home FAQ / GEO -----------------------------------------*/

.home-faq-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 5vw, 2rem);
}

.home-faq {
    width: min(100%, 720px);
    margin: 0 auto;
}

.home-faq__headline {
    margin: 0 0 1.5rem 0;
    color: white;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.1;
}

.home-faq__list {
    border-top: 2px solid rgba(255, 255, 255, 0.85);
}

.home-faq__item {
    border-bottom: 2px solid rgba(255, 255, 255, 0.85);
}

.home-faq__question-heading {
    margin: 0;
}

.home-faq__question {
    appearance: none;
    width: 100%;
    display: block;
    padding: 1.1rem 0;
    border: 0;
    background: transparent;
    color: white;
    font: inherit;
    font-weight: 700;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.home-faq__question:hover,
.home-faq__question:focus-visible {
    color: var(--theim-red);
}

.home-faq__question:focus-visible {
    outline: 2px solid var(--theim-red);
    outline-offset: 5px;
}

.home-faq__answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    color: white;
    transition:
        max-height 0.35s ease,
        opacity 0.25s ease;
}

.home-faq__item.is-open .home-faq__answer {
    opacity: 1;
}

html.is-safari .home-faq__answer {
    opacity: 1;
    transition: none !important;
}

.home-faq__answer p {
    margin: 0 0 1.25rem 0;
    color: white;
}

.home-faq__answer p:last-child {
    margin-bottom: 1.5rem;
}

.home-faq__answer a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
    transition: color 0.3s ease;
}

.home-faq__answer a:hover,
.home-faq__answer a:focus-visible {
    color: var(--theim-red);
}

.home-faq__answer a:focus-visible {
    outline: 2px solid var(--theim-red);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .home-faq__answer {
        transition: none;
    }
}

/* Home Awards -----------------------------------------*/

.home-awards-section {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 5vw, 2rem) 0;
}

.home-awards {
    width: min(100%, 720px);
    margin: 0 auto;
}

.home-awards__headline {
    margin: 0 0 1.5rem 0;
    color: white;
}

.home-awards__text {
    margin: 0;
}

.home-awards__text p {
    margin: 0 0 1.5rem 0;
    color: white;
}

.home-awards__text a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
    transition: color 0.3s ease;
}

.home-awards__text a:hover,
.home-awards__text a:focus-visible {
    color: var(--theim-red);
}

.home-awards__text a:focus-visible {
    outline: 2px solid var(--theim-red);
    outline-offset: 4px;
}

.home-awards__logos {
    list-style: none;
    margin: clamp(3rem, 6vw, 5rem) 0 0 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(2rem, 6vw, 5rem);
}

.home-awards__logo-item {
    margin: 0;
    flex: 1 1 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-awards__logo-item img {
    display: block;
    max-width: 100%;
    max-height: clamp(70px, 7vw, 120px);
    width: auto;
    height: auto;
    object-fit: contain;
}

.home-awards__logo-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.home-awards__logo-link:hover {
    opacity: 0.75;
}

.home-awards__logo-link:focus-visible {
    outline: 2px solid var(--theim-red);
    outline-offset: 8px;
}

@media (max-width: 768px) {
    .home-awards__logos {
        align-items: flex-start;
        flex-direction: column;
        gap: 2.5rem;
    }

    .home-awards__logo-item {
        justify-content: flex-start;
        width: 100%;
    }

    .home-awards__logo-item img {
        max-width: min(70vw, 260px);
        max-height: none;
    }
}

/* Video -----------------------------------------*/
.video-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
}

    .video-wrapper video {
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 0.5s ease;
        object-fit: cover;
        display: block;
    }

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.play-button-custom {
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    transition: transform 0.2s ease;
}

    .play-button-custom:hover {
        transform: scale(1.1);
        color: var(--theim-red);
    }

    .play-button-custom svg {
        width: 130px;
        height: 130px;
    }

/* Breakpoint 0: mittlere Desktops */
@media (max-width: 1400px) {
    .tile-section .row {
        gap: 2.8rem;
        width: min(80vw, 1300px);
    }
    .tile-section-wrapper {
        margin-top: 9rem;
    }
}


/* Breakpoint 1: kleinere Desktops / große Tablets (≤1200px) */
@media (max-width: 1200px) {
    #vertical-section {
        padding-top: 1rem;
    }

    .big-text {
        padding: 0 10vw 0 15vw;
    }

    .play-button-custom svg {
        width: 110px;
        height: 110px;
    }

    .image-row {
        display: flex;
        gap: 25px;
        width: min(90vw, 1800px);
        box-sizing: border-box;
    }

    .tile-section-wrapper {
        margin-top: 8rem;
    }

    .tile-section .row {
        width: min(82vw, 1100px);
        gap: 25px;
    }
}

@media (min-width: 992px) and (max-width: 1366px) {
    .slide.big-text-slide {
        min-width: 100vw;
    }
}

/* Breakpoint 2: Tablets quer (≤992px) */
@media (max-width: 992px) {
    #vertical-section {
        padding-top: 0;
    }

    .tile-section-wrapper {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(-50vw + 50%);
        overflow: visible;
    }

    .tile-section {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(-50vw + 50%);
        overflow: visible;
    }

    .tile-section .row {
        --home-mobile-tile-w: min(44vw, 380px);

        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;

        scroll-snap-type: x mandatory;
        scroll-snap-stop: always;
        scroll-behavior: smooth;

        gap: 2.5rem;
        width: 100vw;
        max-width: 100vw;
        min-width: 0;

        padding-inline: calc((100vw - var(--home-mobile-tile-w)) / 2);
        box-sizing: border-box;

        scrollbar-width: none;
        margin: 0;
    }

    .tile-section .row::-webkit-scrollbar {
        display: none;
    }

    .spacer-tile,
    .tile-section .row::before,
    .tile-section .row::after {
        display: none;
    }

    .tile-section .home-tile {
        flex: 0 0 var(--home-mobile-tile-w);
        width: var(--home-mobile-tile-w);
        scroll-snap-align: center;
        scroll-snap-stop: always;
        background: var(--theim-black) !important;
        border: 3px solid white !important;
        border-radius: 10px !important;
        overflow: hidden;
    }

    .home-tile__description {
        width: calc(100% - 48px);
        max-width: 82%;
        font-size: clamp(0.85rem, 2vw, 1rem);
        line-height: 1.3;
    }

    .home-tile:hover .home-tile__description,
    .home-tile:focus .home-tile__description,
    .home-tile:focus-within .home-tile__description {
        opacity: 1;
    }

    .home-tile:hover .home-tile__label,
    .home-tile:focus .home-tile__label,
    .home-tile:focus-within .home-tile__label {
        opacity: 0;
    }

    .tile-nav-dots {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .white-arrow {
        font-size: 3rem;
    }

    .white-subcontent p {
        margin-bottom: 0.5rem;
    }
}


/* Breakpoint 3: Tablets hoch / große Smartphones (≤768px) */
@media (max-width: 768px) {

    .play-button-custom svg {
        width: 100px;
        height: 100px;
    }

    .image-row {
        flex-direction: column;
        width: 70vw;
        align-items: center;
    }

    .image-box {
        width: 90%;
        flex: none;
        min-width: unset;
        border-radius: 15px;
    }

    .tile-section-wrapper {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(-50vw + 50%);
        overflow: visible;
    }

    .tile-section {
        width: 100vw;
        max-width: 100vw;
        margin-left: calc(-50vw + 50%);
        overflow: visible;
    }

        .tile-section .row {
            --home-mobile-tile-w: min(60vw, 320px);

            display: flex;
            flex-wrap: nowrap;
            overflow-x: auto;
            overflow-y: hidden;
            -webkit-overflow-scrolling: touch;

            scroll-snap-type: x mandatory;
            scroll-snap-stop: always;
            scroll-behavior: smooth;

            gap: 2.5rem;
            width: 100vw;
            max-width: 100vw;
            min-width: 0;

            padding-inline: calc((100vw - var(--home-mobile-tile-w)) / 2);
            box-sizing: border-box;

            scrollbar-width: none;
        }

    .tile-section .row::-webkit-scrollbar {
        display: none;
    }

    .spacer-tile,
    .tile-section .row::before,
    .tile-section .row::after {
        display: none;
    }

    .tile-section .home-tile {
        flex: 0 0 var(--home-mobile-tile-w);
        width: var(--home-mobile-tile-w);
        scroll-snap-align: center;
        scroll-snap-stop: always;
        background: var(--theim-black) !important;
        border: 3px solid white !important;
        border-radius: 10px !important;
        overflow: hidden;
    }

    .home-tile__description {
        width: calc(100% - 48px);
        max-width: 82%;
        font-size: clamp(0.85rem, 3vw, 1rem);
        line-height: 1.3;
    }

    .tile-nav-dots {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 1.5rem;
    }
}

/* Breakpoint 4: Smartphones (≤576px) */
@media (max-width: 576px) {

    .play-button-custom svg {
        width: 90px;
        height: 90px;
    }

    .image-row {
        width: 100vw;
    }

    .image-box {
        width: 100%;
        border-radius: 10px;
    }

        .tile-section .row {
        --home-mobile-tile-w: min(60vw, 320px);
        padding-inline: calc((100vw - var(--home-mobile-tile-w)) / 2);
    }

    .home-tile__description {
        width: calc(100% - 40px);
        max-width: 84%;
        font-size: clamp(0.8rem, 3.3vw, 0.95rem);
        line-height: 1.28;
    }
}

/* Breakpoint 5: sehr schmale Smartphones */
@media (max-width: 420px) {

    .play-button-custom svg {
        width: 80px;
        height: 80px;
    }

    .image-row-wrapper {
        width: 100vw;
        margin-left: calc(-1 * (100vw - 100%) / 2);
        display: flex;
        justify-content: center;
    }

    .image-row {
        width: auto;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .image-box {
        width: 85vw;
        max-width: 500px;
    }
}

@media (pointer: coarse) and (hover: none) {
    .tile-section .home-tile {
        opacity: 1 !important;
        transform: none !important;
        background: var(--theim-black) !important;
        border: 3px solid white !important;
        border-radius: 10px !important;
        overflow: hidden;
    }
}

@media (hover: hover) and (pointer: fine) {
    #horizontal-section {
        overflow: hidden;
        scroll-snap-type: none;
        scroll-behavior: auto;
    }

    #horizontal-scroll {
        overflow: visible;
        scroll-snap-type: none;
        scroll-behavior: auto;
    }

    .slide {
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }
}

/* Copy-Breite angleichen: FAQ und Awards wie normaler Content ---------------- */

.home-faq-section,
.home-awards-section {
    width: auto;
    margin-left: 0;
    padding-inline: 0;
}

.home-faq,
.home-awards {
    width: 100%;
    max-width: var(--measure, 72ch);
    margin-inline: auto;
    padding-inline: 0;
    box-sizing: border-box;
}

@media (max-width: 420px) {
    .home-faq,
    .home-awards {
        max-width: var(--measure, 72ch);
        padding-inline: 0;
    }
}