/*
 * TWIOO SPORTS Startseite
 * Alle Regeln sind unter #twioo-start gekapselt und verändern das übrige CMS nicht.
 */

#twioo-start {
    --ts-dark: #101114;
    --ts-dark-soft: #1b1d21;
    --ts-light: #f4f2ed;
    --ts-white: #ffffff;
    --ts-text: #17181b;
    --ts-muted: #686b70;
    --ts-line: rgba(17, 18, 21, 0.14);
    --ts-lime: #afd135;
    --ts-pink: #f00078;
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    overflow: hidden;
    background: var(--ts-light);
    color: var(--ts-text);
    font-family: Montserrat, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

#twioo-start,
#twioo-start * {
    box-sizing: border-box;
}

#twioo-start img {
    display: block;
    max-width: 100%;
}

#twioo-start a {
    color: inherit;
    text-decoration: none;
}

#twioo-start h1,
#twioo-start h2,
#twioo-start h3,
#twioo-start p,
#twioo-start ul {
    margin-top: 0;
}

#twioo-start h1,
#twioo-start h2,
#twioo-start h3,
#twioo-start strong {
    letter-spacing: -0.025em;
}

#twioo-start h1 {
    max-width: 950px;
    margin-bottom: 24px;
    color: var(--ts-white);
    font-size: clamp(2.75rem, 6.6vw, 6.8rem);
    font-weight: 800;
    line-height: 0.94;
    text-transform: uppercase;
}

#twioo-start h2 {
    margin-bottom: 24px;
    font-size: clamp(2.2rem, 4.7vw, 4.8rem);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

#twioo-start h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
    font-weight: 750;
    line-height: 1.15;
    text-transform: uppercase;
}

#twioo-start :focus-visible {
    outline: 3px solid var(--ts-lime);
    outline-offset: 4px;
}

#twioo-start .ts-shell {
    width: min(1400px, calc(100% - 64px));
    margin: 0 auto;
}

#twioo-start .ts-kicker {
    margin-bottom: 18px;
    color: var(--ts-lime);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.3;
    text-transform: uppercase;
}

#twioo-start .ts-kicker--dark {
    color: #7d9820;
}

#twioo-start .ts-section {
    padding: clamp(80px, 10vw, 150px) 0;
}

#twioo-start .ts-section--light {
    background: var(--ts-light);
}

#twioo-start .ts-section--dark {
    background: var(--ts-dark);
    color: var(--ts-white);
}

/* Hero */
#twioo-start .ts-hero {
    position: relative;
    min-height: min(860px, 92vh);
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    background: var(--ts-dark);
}

#twioo-start .ts-hero__image,
#twioo-start .ts-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#twioo-start .ts-hero__image {
    z-index: -3;
    object-fit: cover;
    object-position: center center;
}

#twioo-start .ts-hero__shade {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(8, 9, 11, 0.88) 0%, rgba(8, 9, 11, 0.56) 47%, rgba(8, 9, 11, 0.08) 82%),
        linear-gradient(0deg, rgba(8, 9, 11, 0.88) 0%, transparent 48%);
}

#twioo-start .ts-hero__content {
    padding-top: 150px;
    padding-bottom: 125px;
}

#twioo-start .ts-hero__lead {
    max-width: 750px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1.06rem, 1.55vw, 1.35rem);
    line-height: 1.55;
}

#twioo-start .ts-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

#twioo-start .ts-button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 1px solid transparent;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

#twioo-start .ts-button:hover {
    transform: translateY(-2px);
}

#twioo-start .ts-button--light {
    background: var(--ts-white);
    color: var(--ts-dark);
}

#twioo-start .ts-button--light:hover {
    background: var(--ts-lime);
}

#twioo-start .ts-button--ghost {
    border-color: rgba(255, 255, 255, 0.58);
    color: var(--ts-white);
    background: rgba(13, 14, 16, 0.16);
    backdrop-filter: blur(6px);
}

#twioo-start .ts-button--ghost:hover {
    border-color: var(--ts-white);
    background: rgba(255, 255, 255, 0.11);
}

#twioo-start .ts-button--dark {
    background: var(--ts-dark);
    color: var(--ts-white);
}

#twioo-start .ts-button--dark:hover {
    background: #292c31;
}

#twioo-start .ts-hero__facts {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(10, 11, 13, 0.72);
    backdrop-filter: blur(12px);
}

#twioo-start .ts-factbar {
    min-height: 68px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

#twioo-start .ts-factbar span {
    padding: 7px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-align: center;
    text-transform: uppercase;
}

#twioo-start .ts-factbar span:first-child {
    padding-left: 0;
}

#twioo-start .ts-factbar span:last-child {
    padding-right: 0;
    border-right: 0;
}

/* Herstellerkompetenz */
#twioo-start .ts-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.25fr);
    gap: clamp(50px, 8vw, 120px);
    align-items: center;
}

#twioo-start .ts-intro-copy h2 {
    max-width: 720px;
}

#twioo-start .ts-large-copy {
    max-width: 760px;
    margin-bottom: 30px;
    color: #44474c;
    font-size: clamp(1.08rem, 1.5vw, 1.32rem);
    line-height: 1.65;
}

#twioo-start .ts-textlink {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--ts-text);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

#twioo-start .ts-textlink::after {
    content: "+";
    font-size: 1rem;
}

#twioo-start .ts-production-card {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: #d8d8d8;
}

#twioo-start .ts-production-card img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

#twioo-start .ts-production-card__label {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 245px;
    display: flex;
    flex-direction: column;
    padding: 21px 24px;
    background: var(--ts-white);
    color: var(--ts-dark);
    line-height: 1.25;
}

#twioo-start .ts-production-card__label strong {
    font-size: 0.8rem;
    letter-spacing: 0.07em;
}

#twioo-start .ts-production-card__label span {
    color: #72757a;
    font-size: 0.71rem;
    letter-spacing: 0.1em;
}

#twioo-start .ts-competence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: clamp(65px, 8vw, 110px);
    border-top: 1px solid var(--ts-line);
    border-bottom: 1px solid var(--ts-line);
}

#twioo-start .ts-competence {
    position: relative;
    min-height: 260px;
    padding: 42px 46px 36px;
    border-right: 1px solid var(--ts-line);
}

#twioo-start .ts-competence:first-child {
    padding-left: 0;
}

#twioo-start .ts-competence:last-child {
    padding-right: 0;
    border-right: 0;
}

#twioo-start .ts-number {
    display: block;
    margin-bottom: 38px;
    color: #8d8f93;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

#twioo-start .ts-competence p {
    margin-bottom: 0;
    color: var(--ts-muted);
    line-height: 1.65;
}

/* Sportwelten */
#twioo-start .ts-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 60px;
}

#twioo-start .ts-section-heading h2 {
    margin-bottom: 0;
}

#twioo-start .ts-section-heading > p {
    max-width: 560px;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 1.05rem;
}

#twioo-start .ts-world-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 330px;
    gap: 14px;
}

#twioo-start .ts-world {
    position: relative;
    min-width: 0;
    overflow: hidden;
    background: #292b30;
    isolation: isolate;
}

#twioo-start .ts-world--running {
    grid-column: span 5;
    grid-row: span 2;
}

#twioo-start .ts-world--aqua {
    grid-column: span 7;
}

#twioo-start .ts-world--vaulting,
#twioo-start .ts-world--gymnastics,
#twioo-start .ts-world--show {
    grid-column: span 4;
}

#twioo-start .ts-world img,
#twioo-start .ts-world__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

#twioo-start .ts-world img {
    z-index: -2;
    object-fit: cover;
    transition: transform 650ms cubic-bezier(.2, .8, .2, 1), filter 300ms ease;
}

#twioo-start .ts-world--running img {
    object-position: center 38%;
}

#twioo-start .ts-world--aqua img {
    object-position: center 42%;
}

#twioo-start .ts-world--show img {
    object-position: 64% center;
}

#twioo-start .ts-world__shade {
    z-index: -1;
    background: linear-gradient(0deg, rgba(8, 9, 11, 0.88) 0%, rgba(8, 9, 11, 0.08) 72%);
    transition: background 250ms ease;
}

#twioo-start .ts-world__content {
    position: absolute;
    right: 28px;
    bottom: 27px;
    left: 28px;
    display: flex;
    flex-direction: column;
    color: var(--ts-white);
}

#twioo-start .ts-world__content small {
    margin-bottom: 2px;
    color: var(--ts-lime);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.17em;
}

#twioo-start .ts-world__content strong {
    font-size: clamp(1.55rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1;
}

#twioo-start .ts-world__content em {
    margin-top: 9px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.86rem;
    font-style: normal;
    line-height: 1.4;
}

#twioo-start .ts-world:hover img {
    transform: scale(1.045);
    filter: saturate(1.08);
}

#twioo-start .ts-world:hover .ts-world__shade {
    background: linear-gradient(0deg, rgba(8, 9, 11, 0.94) 0%, rgba(8, 9, 11, 0.02) 76%);
}

/* Produktdetail */
#twioo-start .ts-section--feature {
    background: var(--ts-white);
}

#twioo-start .ts-feature-grid {
    display: grid;
    grid-template-columns: minmax(340px, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(60px, 10vw, 150px);
    align-items: center;
}

#twioo-start .ts-feature-image {
    position: relative;
    max-height: 780px;
    overflow: hidden;
    background: #ececec;
}

#twioo-start .ts-feature-image::after {
    content: "TWIOO PRODUCT DETAIL";
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 13px 17px;
    background: var(--ts-dark);
    color: var(--ts-white);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

#twioo-start .ts-feature-image img {
    width: 100%;
    height: 100%;
    max-height: 780px;
    object-fit: cover;
}

#twioo-start .ts-feature-copy h2 {
    max-width: 780px;
}

#twioo-start .ts-feature-list {
    display: grid;
    gap: 0;
    max-width: 760px;
    margin: 35px 0 40px;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--ts-line);
}

#twioo-start .ts-feature-list li {
    position: relative;
    padding: 15px 0 15px 32px;
    border-bottom: 1px solid var(--ts-line);
    font-weight: 650;
}

#twioo-start .ts-feature-list li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 2px;
    width: 11px;
    height: 11px;
    transform: translateY(-50%);
    background: var(--ts-lime);
    border-radius: 50%;
}

/* Teams */
#twioo-start .ts-section--teams {
    position: relative;
    background:
        linear-gradient(120deg, rgba(10, 11, 13, 0.96), rgba(10, 11, 13, 0.84)),
        url('/images/start/start_aqua.jpg') center / cover no-repeat;
    color: var(--ts-white);
}

#twioo-start .ts-team-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: clamp(50px, 10vw, 150px);
    align-items: center;
}

#twioo-start .ts-team-panel h2 {
    margin-bottom: 0;
}

#twioo-start .ts-team-panel > div:last-child > p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 1.08rem;
}

/* Abschluss */
#twioo-start .ts-closing {
    padding: 70px 0 76px;
    background: var(--ts-light);
    color: var(--ts-dark);
    text-align: center;
}

#twioo-start .ts-closing span {
    display: block;
    margin-bottom: 8px;
    color: #7b7e82;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

#twioo-start .ts-closing strong {
    display: block;
    font-size: clamp(2.3rem, 6vw, 6.2rem);
    font-weight: 850;
    line-height: 1;
}

#twioo-start .ts-closing p {
    margin: 14px 0 0;
    color: #777a7f;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (max-width: 1050px) {
    #twioo-start .ts-intro-grid,
    #twioo-start .ts-feature-grid,
    #twioo-start .ts-team-panel {
        grid-template-columns: 1fr;
    }

    #twioo-start .ts-production-card {
        min-height: 390px;
    }

    #twioo-start .ts-section-heading {
        grid-template-columns: 1fr;
        gap: 20px;
        align-items: start;
    }

    #twioo-start .ts-world-grid {
        grid-auto-rows: 310px;
    }

    #twioo-start .ts-world--running,
    #twioo-start .ts-world--aqua {
        grid-column: span 6;
        grid-row: span 1;
    }

    #twioo-start .ts-world--vaulting,
    #twioo-start .ts-world--gymnastics,
    #twioo-start .ts-world--show {
        grid-column: span 4;
    }

    #twioo-start .ts-world--running img {
        object-position: center 32%;
    }

    #twioo-start .ts-feature-image {
        max-width: 670px;
        max-height: 650px;
    }
}

@media (max-width: 800px) {
    #twioo-start .ts-shell {
        width: min(100% - 34px, 1400px);
    }

    #twioo-start .ts-hero {
        min-height: 720px;
    }

    #twioo-start .ts-hero__image {
        object-position: 57% center;
    }

    #twioo-start .ts-hero__shade {
        background:
            linear-gradient(90deg, rgba(8, 9, 11, 0.79), rgba(8, 9, 11, 0.25)),
            linear-gradient(0deg, rgba(8, 9, 11, 0.94) 0%, rgba(8, 9, 11, 0.22) 76%);
    }

    #twioo-start .ts-hero__content {
        padding-top: 100px;
        padding-bottom: 190px;
    }

    #twioo-start h1 {
        font-size: clamp(2.55rem, 12vw, 4.5rem);
    }

    #twioo-start .ts-factbar {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px 0;
    }

    #twioo-start .ts-factbar span {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 10px;
        border-right: 1px solid rgba(255, 255, 255, 0.16);
    }

    #twioo-start .ts-factbar span:nth-child(2) {
        border-right: 0;
    }

    #twioo-start .ts-competence-grid {
        grid-template-columns: 1fr;
    }

    #twioo-start .ts-competence,
    #twioo-start .ts-competence:first-child,
    #twioo-start .ts-competence:last-child {
        min-height: 0;
        padding: 32px 0;
        border-right: 0;
        border-bottom: 1px solid var(--ts-line);
    }

    #twioo-start .ts-competence:last-child {
        border-bottom: 0;
    }

    #twioo-start .ts-number {
        margin-bottom: 18px;
    }

    #twioo-start .ts-world-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 300px;
    }

    #twioo-start .ts-world--running,
    #twioo-start .ts-world--aqua,
    #twioo-start .ts-world--vaulting,
    #twioo-start .ts-world--gymnastics {
        grid-column: span 1;
    }

    #twioo-start .ts-world--show {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    #twioo-start .ts-section {
        padding: 74px 0;
    }

    #twioo-start h2 {
        font-size: clamp(2rem, 11vw, 3.25rem);
    }

    #twioo-start .ts-hero {
        min-height: 760px;
    }

    #twioo-start .ts-hero__content {
        padding-bottom: 205px;
    }

    #twioo-start .ts-hero__lead {
        font-size: 1rem;
    }

    #twioo-start .ts-actions,
    #twioo-start .ts-button {
        width: 100%;
    }

    #twioo-start .ts-production-card,
    #twioo-start .ts-production-card img {
        min-height: 310px;
    }

    #twioo-start .ts-production-card__label {
        min-width: 0;
        width: 100%;
    }

    #twioo-start .ts-world-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 345px;
    }

    #twioo-start .ts-world--running,
    #twioo-start .ts-world--aqua,
    #twioo-start .ts-world--vaulting,
    #twioo-start .ts-world--gymnastics,
    #twioo-start .ts-world--show {
        grid-column: 1;
    }

    #twioo-start .ts-world--aqua,
    #twioo-start .ts-world--vaulting,
    #twioo-start .ts-world--show {
        height: 285px;
    }

    #twioo-start .ts-world__content {
        right: 21px;
        bottom: 21px;
        left: 21px;
    }

    #twioo-start .ts-feature-image {
        max-height: 540px;
    }

    #twioo-start .ts-closing p {
        letter-spacing: 0.04em;
    }
}

@media (prefers-reduced-motion: reduce) {
    #twioo-start *,
    #twioo-start *::before,
    #twioo-start *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
