/* =========================================================
   FOLD FOLDING VIDEO — HOME + SUPPORT
========================================================= */

.fold-folding-home,
.fold-folding-support{
    --ff-black:#111111;
    --ff-text:#2F3135;
    --ff-muted:#73767B;
    --ff-line:#E7E7E1;
    --ff-beige:#F7F7F4;
    --ff-yellow:#FACA30;
    --ff-yellow-hover:#FFD743;
    --ff-white:#FFFFFF;
    color:var(--ff-black);
    font-family:"Inter",Arial,sans-serif;
    box-sizing:border-box;
}

.fold-folding-home *,
.fold-folding-support *{
    box-sizing:border-box;
}

.fold-folding-eyebrow{
    display:flex;
    align-items:center;
    gap:10px;
    margin:0 0 16px;
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
    line-height:1.2;
    text-transform:uppercase;
}

.fold-folding-eyebrow::before{
    content:"";
    display:block;
    width:30px;
    height:3px;
    flex:0 0 30px;
    border-radius:999px;
    background:var(--ff-yellow);
}

.fold-folding-line{
    width:54px;
    height:4px;
    margin:20px 0 24px;
    border-radius:999px;
    background:var(--ff-yellow);
}

.fold-folding-button{
    display:inline-flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    min-height:50px;
    padding:5px 5px 5px 20px;
    border:1px solid transparent;
    border-radius:999px;
    color:var(--ff-black) !important;
    font-size:13px;
    font-weight:800;
    line-height:1;
    text-decoration:none !important;
    transition:background-color .18s ease,border-color .18s ease,transform .18s ease;
}

.fold-folding-button i{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    flex:0 0 40px;
    border-radius:999px;
    color:var(--ff-white);
    background:var(--ff-black);
    font-style:normal;
    font-size:18px;
}

.fold-folding-button--primary{
    background:var(--ff-yellow);
}

.fold-folding-button--primary:hover{
    color:var(--ff-black) !important;
    background:var(--ff-yellow-hover);
}

.fold-folding-button--secondary{
    border-color:var(--ff-line);
    background:var(--ff-white);
}

.fold-folding-button--secondary:hover{
    color:var(--ff-black) !important;
    border-color:var(--ff-black);
    background:var(--ff-white);
}

/* =========================================================
   HOME TEASER
========================================================= */

.fold-folding-home{
    display:grid;
    grid-template-columns:minmax(0,1.18fr) minmax(340px,.82fr);
    gap:clamp(22px,3vw,46px);
    width:min(100% - 40px,1440px);
    margin:clamp(50px,7vw,110px) auto;
}

.fold-folding-home__media{
    position:relative;
    min-width:0;
    aspect-ratio:16/9;
    overflow:hidden;
    border:1px solid var(--ff-line);
    border-radius:clamp(20px,2.4vw,34px);
    background:var(--ff-beige);
}

.fold-folding-home__video,
.fold-folding-home__media noscript,
.fold-folding-home__media noscript img{
    display:block;
    width:100%;
    height:100%;
}

.fold-folding-home__video,
.fold-folding-home__media noscript img{
    object-fit:cover;
}

.fold-folding-home__play{
    position:absolute;
    inset:50% auto auto 50%;
    z-index:2;
    display:inline-flex;
    align-items:center;
    gap:10px;
    min-height:48px;
    padding:5px 16px 5px 5px;
    transform:translate(-50%,-50%);
    border:0;
    border-radius:999px;
    color:var(--ff-black);
    background:rgba(255,255,255,.94);
    box-shadow:0 12px 34px rgba(17,17,17,.13);
    cursor:pointer;
    transition:opacity .18s ease,transform .18s ease;
}

.fold-folding-home__play span{
    display:flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border-radius:50%;
    color:#fff;
    background:var(--ff-black);
    font-size:13px;
    padding-left:2px;
}

.fold-folding-home__play em{
    font-style:normal;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
}

.fold-folding-home__play.is-hidden{
    opacity:0;
    pointer-events:none;
    transform:translate(-50%,-50%) scale(.96);
}

.fold-folding-home__content{
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
    padding:clamp(28px,4vw,64px);
    border:1px solid var(--ff-line);
    border-radius:clamp(20px,2.4vw,34px);
    background:var(--ff-beige);
}

.fold-folding-home__content h2{
    margin:0;
    max-width:620px;
    font-family:"Oswald","Arial Narrow",Arial,sans-serif;
    font-size:clamp(38px,4vw,66px);
    font-weight:700;
    letter-spacing:-.035em;
    line-height:1.02;
}

.fold-folding-home__content p{
    max-width:600px;
    margin:0 0 30px;
    color:var(--ff-text);
    font-size:clamp(14px,1.2vw,17px);
    line-height:1.65;
}

.fold-folding-home__content .fold-folding-button{
    align-self:flex-start;
}

/* =========================================================
   SUPPORT PAGE
========================================================= */

body:has(.fold-folding-support) .site-content > .ast-container,
body:has(.fold-folding-support) .site-content .ast-container,
body:has(.fold-folding-support) .site-main,
body:has(.fold-folding-support) .ast-article-single,
body:has(.fold-folding-support) .entry-content{
    width:100% !important;
    max-width:none !important;
}

body:has(.fold-folding-support) .entry-header{
    display:none !important;
}

.fold-folding-support{
    width:min(100% - 40px,1360px);
    margin:0 auto;
    padding:clamp(40px,6vw,90px) 0 clamp(64px,8vw,120px);
}

.fold-folding-support__hero{
    padding:clamp(32px,5vw,72px);
    border:1px solid var(--ff-line);
    border-radius:clamp(22px,2.5vw,36px);
    background:var(--ff-beige);
}

.fold-folding-support__hero h1{
    margin:0;
    max-width:900px;
    font-family:"Oswald","Arial Narrow",Arial,sans-serif;
    font-size:clamp(48px,6vw,92px);
    font-weight:700;
    letter-spacing:-.04em;
    line-height:.98;
}

.fold-folding-support__hero p{
    max-width:800px;
    margin:0;
    color:var(--ff-text);
    font-size:clamp(15px,1.35vw,19px);
    line-height:1.65;
}

.fold-folding-support__video-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:clamp(18px,2.4vw,30px);
    margin-top:clamp(24px,3vw,42px);
}

.fold-folding-support__video-section{
    min-width:0;
    padding:clamp(16px,2vw,24px);
    border:1px solid var(--ff-line);
    border-radius:clamp(22px,2.5vw,30px);
    background:var(--ff-white);
}

.fold-folding-support__video-head{
    display:flex;
    align-items:flex-start;
    gap:14px;
    min-height:88px;
    padding:2px 2px 16px;
}

.fold-folding-support__video-head > span{
    flex:0 0 auto;
    color:var(--ff-muted);
    font-size:11px;
    font-weight:800;
    line-height:1.4;
}

.fold-folding-support__video-head h2{
    margin:0;
    font-family:"Oswald","Arial Narrow",Arial,sans-serif;
    font-size:clamp(28px,2.4vw,40px);
    font-weight:700;
    letter-spacing:-.03em;
    line-height:1.05;
}

.fold-folding-support__video-head p{
    margin:7px 0 0;
    color:var(--ff-text);
    font-size:13px;
    line-height:1.5;
}

.fold-folding-support__video-frame{
    overflow:hidden;
    aspect-ratio:16/9;
    border:1px solid var(--ff-line);
    border-radius:clamp(16px,1.8vw,22px);
    background:#ECECE8;
}

.fold-folding-support__video{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    background:#ECECE8;
}

.fold-folding-support__caption{
    margin:12px 4px 0;
    color:var(--ff-muted);
    font-size:12px;
    font-weight:700;
    line-height:1.4;
}

.fold-folding-support__notice{
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    gap:20px;
    margin-top:clamp(24px,3vw,42px);
    padding:clamp(24px,3.5vw,44px);
    border:1px solid var(--ff-line);
    border-radius:24px;
    background:var(--ff-white);
}

.fold-folding-support__notice-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:48px;
    height:48px;
    border-radius:14px;
    color:var(--ff-black);
    background:var(--ff-yellow);
    font-family:"Oswald","Arial Narrow",Arial,sans-serif;
    font-size:28px;
    font-weight:700;
}

.fold-folding-support__notice h2{
    margin:0 0 10px;
    font-family:"Oswald","Arial Narrow",Arial,sans-serif;
    font-size:clamp(28px,3vw,42px);
    font-weight:700;
    letter-spacing:-.025em;
    line-height:1.05;
}

.fold-folding-support__notice p{
    max-width:960px;
    margin:0;
    color:var(--ff-text);
    font-size:15px;
    line-height:1.65;
}

.fold-folding-support__notice small{
    display:block;
    max-width:960px;
    margin-top:12px;
    color:var(--ff-muted);
    font-size:12px;
    line-height:1.5;
}

.fold-folding-support__actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:28px;
}


/* =========================================================
   SUPPORT PAGE — FAQ
   Eigenständig, nativ mit <details>; kein zusätzliches JS
========================================================= */

.fold-folding-support__faq{
    margin-top:clamp(24px,3vw,42px);
    padding:clamp(28px,4vw,52px);
    border:1px solid var(--ff-line);
    border-radius:clamp(22px,2.5vw,30px);
    background:var(--ff-beige);
}

.fold-folding-support__faq-head{
    max-width:860px;
    margin-bottom:28px;
}

.fold-folding-support__faq-head h2{
    margin:0;
    font-family:"Oswald","Arial Narrow",Arial,sans-serif;
    font-size:clamp(32px,3.5vw,50px);
    font-weight:700;
    letter-spacing:-.03em;
    line-height:1.04;
}

.fold-folding-support__faq-head > p{
    max-width:760px;
    margin:0;
    color:var(--ff-text);
    font-size:15px;
    line-height:1.65;
}

.fold-folding-faq{
    border-top:1px solid var(--ff-line);
}

.fold-folding-faq__item{
    margin:0;
    border-bottom:1px solid var(--ff-line);
}

.fold-folding-faq__item > summary{
    min-height:74px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:18px 0;
    color:var(--ff-black);
    font-size:15px;
    font-weight:800;
    line-height:1.4;
    list-style:none;
    cursor:pointer;
}

.fold-folding-faq__item > summary::-webkit-details-marker{
    display:none;
}

.fold-folding-faq__item > summary::marker{
    content:"";
}

.fold-folding-faq__item > summary > span{
    min-width:0;
}

.fold-folding-faq__item > summary > i{
    position:relative;
    width:38px;
    height:38px;
    flex:0 0 38px;
    border:1px solid var(--ff-line);
    border-radius:50%;
    background:var(--ff-white);
}

.fold-folding-faq__item > summary > i::before,
.fold-folding-faq__item > summary > i::after{
    content:"";
    position:absolute;
    top:50%;
    left:50%;
    width:14px;
    height:2px;
    border-radius:999px;
    background:var(--ff-black);
    transform:translate(-50%,-50%);
}

.fold-folding-faq__item > summary > i::after{
    transform:translate(-50%,-50%) rotate(90deg);
    transition:opacity .18s ease;
}

.fold-folding-faq__item[open] > summary > i{
    border-color:var(--ff-yellow);
    background:var(--ff-yellow);
}

.fold-folding-faq__item[open] > summary > i::after{
    opacity:0;
}

.fold-folding-faq__answer{
    max-width:960px;
    padding:0 62px 24px 0;
}

.fold-folding-faq__answer p{
    margin:0;
    color:var(--ff-text);
    font-size:15px;
    line-height:1.68;
}

@media (max-width:600px){
    .fold-folding-support__faq{
        padding:24px 20px;
        border-radius:18px;
    }

    .fold-folding-faq__item > summary{
        min-height:68px;
        gap:16px;
        font-size:14px;
    }

    .fold-folding-faq__answer{
        padding-right:0;
    }
}

@media (max-width:900px){
    .fold-folding-support__video-grid{
        grid-template-columns:1fr;
    }

    .fold-folding-support__video-head{
        min-height:0;
    }

    .fold-folding-home{
        grid-template-columns:1fr;
        width:min(100% - 28px,760px);
    }

    .fold-folding-home__content{
        min-height:0;
    }
}

@media (max-width:600px){
    .fold-folding-home,
    .fold-folding-support{
        width:calc(100% - 24px);
    }

    .fold-folding-home{
        margin:42px auto 64px;
    }

    .fold-folding-home__media,
    .fold-folding-support__video-frame{
        border-radius:18px;
    }

    .fold-folding-home__content,
    .fold-folding-support__hero{
        padding:26px 22px;
        border-radius:18px;
    }

    .fold-folding-home__content h2{
        font-size:38px;
    }

    .fold-folding-home__play em{
        display:none;
    }

    .fold-folding-home__play{
        padding:5px;
    }

    .fold-folding-support__notice{
        grid-template-columns:1fr;
        padding:24px 20px;
        border-radius:18px;
    }

    .fold-folding-support__actions{
        display:grid;
    }

    .fold-folding-button{
        width:100%;
    }
}

@media (prefers-reduced-motion:reduce){
    .fold-folding-button,
    .fold-folding-home__play{
        transition:none !important;
    }
}

/* =========================================================
   FOLD FALTEN & ENTFALTEN — FOTOSTUDIO-STAGE FINAL
   Nur für die beiden Videos auf der eigenen Unterseite
========================================================= */

.fold-folding-support__video-grid{
    position:relative;
    isolation:isolate;
    overflow:hidden;

    padding:clamp(18px,2.7vw,38px);

    border:1px solid rgba(17,17,17,.08);
    border-radius:clamp(24px,3vw,38px);

    background:
        radial-gradient(
            ellipse at 50% -8%,
            rgba(255,255,255,1) 0%,
            rgba(255,255,255,.96) 28%,
            rgba(250,249,246,.96) 52%,
            rgba(239,236,228,.98) 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.95),
        inset 0 -1px 0 rgba(17,17,17,.025),
        0 26px 70px rgba(17,17,17,.075);
}

.fold-folding-support__video-grid::before{
    content:"";

    position:absolute;
    z-index:0;
    inset:-8% -5% 28%;

    pointer-events:none;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255,255,255,.18) 11%,
            rgba(255,255,255,.82) 22%,
            rgba(255,255,255,.22) 34%,
            transparent 46%,
            rgba(255,255,255,.20) 58%,
            rgba(255,255,255,.76) 72%,
            rgba(255,255,255,.16) 84%,
            transparent 100%
        );

    filter:blur(14px);
    opacity:.72;
}

.fold-folding-support__video-grid::after{
    content:"";

    position:absolute;
    z-index:0;

    right:6%;
    bottom:-8%;
    left:6%;

    height:28%;

    pointer-events:none;

    border-radius:50%;

    background:
        radial-gradient(
            ellipse at center,
            rgba(17,17,17,.14) 0%,
            rgba(17,17,17,.075) 34%,
            rgba(17,17,17,0) 74%
        );

    filter:blur(22px);
    opacity:.55;
}

.fold-folding-support__video-section{
    position:relative;
    z-index:1;

    background:rgba(255,255,255,.86);

    border-color:rgba(17,17,17,.08);

    box-shadow:
        0 18px 44px rgba(17,17,17,.085),
        inset 0 1px 0 rgba(255,255,255,.96);

    -webkit-backdrop-filter:blur(12px);
    backdrop-filter:blur(12px);
}

.fold-folding-support__video-frame{
    position:relative;
    isolation:isolate;

    background:
        linear-gradient(
            180deg,
            #FBFBFA 0%,
            #F2F0EA 100%
        );

    border-color:rgba(17,17,17,.10);

    box-shadow:
        0 18px 38px rgba(17,17,17,.11),
        0 3px 10px rgba(17,17,17,.045),
        inset 0 1px 0 rgba(255,255,255,.95);
}

.fold-folding-support__video{
    filter:
        brightness(1.035)
        contrast(1.025)
        saturate(.93);
}

.fold-folding-support__caption{
    position:relative;
    z-index:1;
}

/* Etwas leichter auf kleinen Displays */
@media (max-width:900px){
    .fold-folding-support__video-grid{
        padding:18px;
        border-radius:24px;
    }

    .fold-folding-support__video-grid::after{
        right:3%;
        left:3%;
        bottom:-4%;
    }
}

@media (max-width:600px){
    .fold-folding-support__video-grid{
        padding:12px;
        border-radius:20px;
    }

    .fold-folding-support__video-section{
        box-shadow:
            0 12px 28px rgba(17,17,17,.075),
            inset 0 1px 0 rgba(255,255,255,.95);
    }
}

/* =========================================================
   FOTOSTUDIO-STAGE FINAL ENDET
========================================================= */

