/* Startseite — modernes Layout (nur mit .home-hero geladen) */

/* Scroll: eine Leiste am body, keine innere .site-wrap-Scrollbar */
html:has(.home-hero) {
    /* base.css setzt html auf height:100vh — sonst wächst die Seite nicht zuverlässig mit dem Inhalt */
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html:has(.home-hero)::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

body:has(.home-hero) {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body:has(.home-hero)::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.site-wrap:has(.home-hero) {
    overflow-y: visible;
    padding-block: clamp(1.25rem, 4vw, 2rem);
    max-width: var(--content-max);
}

/* Alle Inhalts-Sektionen unter dem Hero schmaler als die Hero-Breite */
.home-content-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: 1020px;
    margin-inline: auto;
}

/* ——— Hero ——— */
.home-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 7vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
    overflow: hidden;
    border-radius: clamp(1.25rem, 3vw, 1.75rem);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 24px 56px -12px rgba(45, 28, 18, 0.22),
        0 12px 24px -8px rgba(45, 28, 18, 0.12);
}

@media (min-width: 900px) {
    .home-hero {
        aspect-ratio: 2 / 1;
        min-height: 0;
    }
}

.home-hero__media {
    position: absolute;
    inset: 0;
    background-color: var(--cta-2);
    background-image: url("https://images.unsplash.com/photo-1445116572660-236099ec97a0?auto=format&fit=crop&w=2000&q=80");
    background-size: cover;
    background-position: center 38%;
    transform: scale(1.03);
}

.home-hero__scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(22, 14, 10, 0.15) 0%, transparent 42%),
        linear-gradient(
            125deg,
            rgba(28, 18, 12, 0.82) 0%,
            rgba(55, 36, 24, 0.5) 48%,
            rgba(32, 20, 14, 0.78) 100%
        );
}

.home-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.1rem, 3.2vw, 1.65rem);
    padding: clamp(1.35rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2rem);
    border-radius: clamp(1rem, 2.5vw, 1.35rem);
}

.home-hero__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    background: rgba(255, 252, 248, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.home-hero__title {
    margin: 0;
    font-size: clamp(2.1rem, 6vw, 3.5rem);
    font-weight: 700;
    color: #fffefb;
    text-wrap: balance;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.home-hero__lead {
    margin: 0;
    font-size: clamp(1.05rem, 2.4vw, 1.22rem);
    line-height: 1.6;
    color: rgba(255, 252, 248, 0.94);
    text-wrap: pretty;
    max-width: 32em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.22);
}

.home-hero__cta {
    width: auto;
    max-width: 100%;
    margin-top: 0.15rem;
}

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

    .home-hero__inner::before {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(35, 22, 14, 0.35);
    }

}

/* ——— Sektionen: Intro-Zeilen ——— */
.home-features,
.home-key-features,
.home-testimonials {
    margin-top: clamp(2.75rem, 7vw, 4.5rem);
}

.home-features__intro,
.home-key-features__intro,
.home-testimonials__intro {
    max-width: 38rem;
    margin-inline: auto;
    margin-bottom: clamp(1.75rem, 4.5vw, 2.75rem);
}

/* Spalte mit h2 + Lead optisch in der Seite zentrieren; Lead wie h2 auf Desktop zentriert */
@media (min-width: 900px) {
    .home-features__intro,
    .home-key-features__intro,
    .home-testimonials__intro {
        text-align: center;
    }
}

.home-features__heading,
.home-key-features__heading,
.home-testimonials__heading {
    margin: 0 0 0.6rem;
    font-size: clamp(1.65rem, 3.8vw, 2.15rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
    text-wrap: balance;
}

.home-features__lead,
.home-key-features__lead,
.home-testimonials__lead {
    margin: 0;
    font-size: clamp(1.02rem, 2.1vw, 1.14rem);
    line-height: 1.65;
    color: var(--muted);
    text-wrap: pretty;
}

/* ——— Feature-Karten mit Bild ——— */
.home-features__grid {
    display: grid;
    gap: clamp(1.15rem, 3vw, 1.65rem);
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    .home-features__grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-feature--span {
        grid-column: 1 / -1;
    }
}

.home-feature {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: clamp(1rem, 3vw, 1.5rem);
    min-width: 0;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(65, 44, 29, 0.08);
    border-radius: clamp(1rem, 2.2vw, 1.25rem);
    padding: clamp(1.15rem, 3.2vw, 1.5rem);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
}

@media (hover: hover) {
    .home-feature:hover {
        transform: translateY(-3px);
        border-color: rgba(111, 78, 55, 0.14);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.9) inset,
            0 20px 40px -16px rgba(61, 40, 24, 0.18);
    }
}

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

    .home-feature:hover {
        transform: none;
    }
}

.home-feature__text {
    flex: 1 1 0;
    min-width: 0;
    align-self: center;
}

.home-feature__title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

.home-feature__copy {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--muted);
    text-wrap: pretty;
}

.home-feature__figure {
    margin: 0;
    flex: 0 0 clamp(5.5rem, 24vw, 9rem);
    align-self: stretch;
    min-height: 6.75rem;
    border-radius: clamp(0.65rem, 1.5vw, 0.85rem);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(45, 28, 18, 0.12);
}

.home-feature__img {
    width: 100%;
    height: 100%;
    min-height: 6.75rem;
    object-fit: cover;
    display: block;
    transition: transform 240ms ease-out;
}

@media (hover: hover) {
    .home-feature:hover .home-feature__img {
        transform: scale(1.04);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-feature:hover .home-feature__img {
        transform: none;
    }
}

/* ——— Kernfunktionen ——— */
.home-key-features__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: clamp(1rem, 2.5vw, 1.35rem);
    grid-template-columns: 1fr;
}

@media (min-width: 560px) {
    .home-key-features__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .home-key-features__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.home-key-features__item {
    margin: 0;
    padding: clamp(1.25rem, 3vw, 1.5rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(65, 44, 29, 0.07);
    border-radius: clamp(1rem, 2.2vw, 1.2rem);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    transition: transform 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
}

@media (hover: hover) {
    .home-key-features__item:hover {
        transform: translateY(-2px);
        border-color: rgba(111, 78, 55, 0.12);
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.85) inset,
            0 16px 36px -14px rgba(61, 40, 24, 0.14);
    }
}

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

    .home-key-features__item:hover {
        transform: none;
    }
}

.home-key-features__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(111, 78, 55, 0.14), rgba(111, 78, 55, 0.06));
    color: var(--cta);
    font-size: 1.3rem;
    line-height: 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.home-key-features__item-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.28;
    color: var(--text);
}

.home-key-features__item-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.58;
    color: var(--muted);
    text-wrap: pretty;
}

/* ——— Kundenstimmen ——— */
.home-testimonials {
    padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.home-testimonials__carousel {
    max-width: 44rem;
    margin-inline: auto;
}

.home-testimonials__row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.65rem;
}

.home-testimonials__nav {
    flex: 0 0 auto;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: var(--cta);
    font-size: 1.2rem;
    line-height: 0;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(61, 40, 24, 0.1);
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, background 180ms ease-out;
}

.home-testimonials__nav:hover {
    background: #fff;
    box-shadow: 0 4px 18px rgba(61, 40, 24, 0.14);
    transform: scale(1.05);
}

.home-testimonials__nav:focus-visible {
    outline: none;
    box-shadow: var(--ring), 0 2px 12px rgba(61, 40, 24, 0.1);
}

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

    .home-testimonials__nav:hover {
        transform: none;
    }
}

.home-testimonials__viewport {
    flex: 1 1 0;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    /* kein scroll-behavior: smooth hier — kollidiert in WebKit mit scrollTo(smooth) */
    border-radius: clamp(1rem, 2.2vw, 1.25rem);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.home-testimonials__viewport::-webkit-scrollbar {
    display: none;
    height: 0;
}

@media (prefers-reduced-motion: reduce) {
    .home-testimonials__viewport {
        scroll-behavior: auto;
    }

    .home-testimonials__dot {
        transition: none;
    }
}

.home-testimonials__viewport:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}

.home-testimonials__track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 0;
    min-height: 100%;
}

.home-testimonials__slide {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    box-sizing: border-box;
    padding: 0 0.2rem;
}

.home-testimonials__card {
    position: relative;
    height: 100%;
    min-height: 15rem;
    padding: clamp(1.5rem, 4vw, 2rem);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(65, 44, 29, 0.07);
    border-radius: clamp(1rem, 2.2vw, 1.25rem);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
    overflow: hidden;
}

.home-testimonials__card::before {
    content: "“";
    position: absolute;
    top: 0.85rem;
    left: 1.1rem;
    font-size: 3.5rem;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    color: rgba(111, 78, 55, 0.12);
    pointer-events: none;
}

.home-testimonials__quote {
    margin: 0;
    flex: 1 1 auto;
    position: relative;
    z-index: 1;
    padding-top: 0.35rem;
}

.home-testimonials__quote p {
    margin: 0;
    font-size: clamp(1.05rem, 2.3vw, 1.18rem);
    line-height: 1.62;
    color: var(--text);
    font-style: normal;
    font-weight: 400;
    text-wrap: pretty;
}

.home-testimonials__attribution {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0.85rem 0 0;
    border: 0;
    border-top: 1px solid rgba(65, 44, 29, 0.08);
}

.home-testimonials__avatar {
    flex-shrink: 0;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(61, 40, 24, 0.12);
}

.home-testimonials__meta {
    min-width: 0;
}

.home-testimonials__name {
    margin: 0 0 0.15rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text);
}

.home-testimonials__role {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--muted);
}

.home-testimonials__dots {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.15rem;
}

.home-testimonials__dot {
    width: 0.45rem;
    height: 0.45rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(35, 24, 16, 0.18);
    cursor: pointer;
    transition: width 180ms ease-out, background 180ms ease-out, opacity 180ms ease-out;
}

.home-testimonials__dot:hover {
    background: rgba(35, 24, 16, 0.35);
}

.home-testimonials__dot.is-active {
    width: 1.4rem;
    background: var(--cta);
    opacity: 1;
}

.home-testimonials__dot:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}

@media (max-width: 420px) {
    .home-testimonials__row {
        gap: 0.35rem;
    }

    .home-testimonials__nav {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1.05rem;
    }
}

/* ——— FAQ Accordion (Block zentriert, Fragen/Antworten links, Chevron rechts) ——— */
.home-faq {
    margin-top: clamp(2.75rem, 7vw, 4.5rem);
    margin-inline: auto;
    padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
    max-width: 38rem;
    width: 100%;
    text-align: left;
}

.home-faq__heading {
    margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
    font-size: clamp(1.65rem, 3.8vw, 2.15rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--text);
    text-wrap: balance;
}

.home-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.home-faq__item {
    border-bottom: 1px solid rgba(65, 44, 29, 0.12);
}

.home-faq__item:last-child {
    border-bottom: none;
}

.home-faq__item-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.home-faq__trigger {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.05rem 0.25rem;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 160ms ease-out;
}

.home-faq__trigger:hover {
    color: var(--cta);
}

.home-faq__trigger:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: var(--radius-sm);
}

.home-faq__question {
    flex: 1 1 auto;
    min-width: 0;
    line-height: 1.45;
    text-wrap: balance;
    text-align: left;
}

.home-faq__chevron {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--cta);
    font-size: 1.05rem;
    line-height: 0;
    opacity: 0.85;
    transition: transform 180ms ease-out, opacity 160ms ease-out;
}

.home-faq__trigger:hover .home-faq__chevron {
    opacity: 1;
}

.home-faq__trigger[aria-expanded="true"] .home-faq__chevron {
    transform: rotate(180deg);
}

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

    .home-faq__panel {
        transition: none;
    }
}

.home-faq__panel {
    border: 0;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 200ms ease-out;
}

.home-faq__panel--open {
    grid-template-rows: 1fr;
}

.home-faq__panel-inner {
    min-height: 0;
    overflow: hidden;
}

.home-faq__panel[hidden] {
    display: none;
}

.home-faq__answer {
    padding: 0 2rem 1.15rem 0.25rem;
    text-align: left;
}

.home-faq__answer p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.58;
    color: var(--muted);
    text-wrap: pretty;
    text-align: left;
}

/* ——— CTA: Karte vorn, Polaroids wie auf dem Tisch dahinter (Halo) ——— */
.home-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: clamp(2rem, 5vw, 3rem);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2rem, 6vw, 3rem);
    overflow: visible;
}

.home-cta__scene {
    position: relative;
    width: min(100%, 72rem);
    min-height: clamp(24rem, 62vw, 38rem);
    padding: clamp(2.25rem, 6vw, 4.5rem) clamp(0.5rem, 2vw, 1.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.home-cta__scatter {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
    overflow: visible;
}

.home-cta__polaroid {
    position: absolute;
    margin: 0;
    width: clamp(9rem, 25.5vw, 12.375rem);
    padding: 0;
    background: transparent;
    border-radius: 0;
    transform-origin: center center;
    box-shadow: none;
    --polaroid-rot: 0deg;
    --polaroid-dx: 0;
    --polaroid-dy: 0;
    transform: translate(0, 0) rotate(var(--polaroid-rot));
}

.home-cta__polaroid img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(45, 28, 18, 0.22);
}

@media (min-width: 900px) {
    .home-cta__scene {
        min-height: clamp(30rem, 64vw, 48rem);
    }

    /* +40 % gegenüber Basis: 9×1.4, 25.5×1.4, 12.375×1.4 */
    .home-cta__polaroid {
        width: clamp(12.6rem, 35.7vw, 17.325rem);
    }

    .home-cta__polaroid img {
        border-radius: 12px;
        box-shadow: 0 14px 36px rgba(45, 28, 18, 0.22);
    }
}

/* Um die Mitte, vertikal enger gebündelt — dx/dy: Startversatz „von außen“ (Scroll-Animation) */
.home-cta__polaroid--1 {
    top: 10%;
    left: -1%;
    --polaroid-rot: -14deg;
    --polaroid-dx: min(-3.25rem, -9vw);
    --polaroid-dy: min(-2.5rem, -7vw);
    z-index: 1;
}

.home-cta__polaroid--2 {
    top: 18%;
    left: 24%;
    --polaroid-rot: 9deg;
    --polaroid-dx: min(-2.75rem, -7vw);
    --polaroid-dy: min(-2.75rem, -8vw);
    z-index: 3;
}

.home-cta__polaroid--3 {
    top: 11%;
    right: -1%;
    left: auto;
    --polaroid-rot: -7deg;
    --polaroid-dx: max(3.25rem, 9vw);
    --polaroid-dy: min(-2.5rem, -7vw);
    z-index: 2;
}

.home-cta__polaroid--4 {
    top: 40%;
    left: -3%;
    --polaroid-rot: 11deg;
    --polaroid-dx: min(-3.5rem, 10vw);
    --polaroid-dy: 0;
    z-index: 4;
}

.home-cta__polaroid--5 {
    top: 44%;
    right: -2%;
    left: auto;
    --polaroid-rot: -11deg;
    --polaroid-dx: max(3.5rem, 10vw);
    --polaroid-dy: 0;
    z-index: 2;
}

.home-cta__polaroid--6 {
    top: 30%;
    left: 8%;
    --polaroid-rot: 6deg;
    --polaroid-dx: min(-3rem, -8vw);
    --polaroid-dy: min(-2rem, -5vw);
    z-index: 1;
}

.home-cta__polaroid--7 {
    top: 22%;
    right: 12%;
    left: auto;
    --polaroid-rot: -9deg;
    --polaroid-dx: max(3rem, 8vw);
    --polaroid-dy: min(-2rem, -6vw);
    z-index: 5;
}

.home-cta__polaroid--8 {
    top: 56%;
    left: -2%;
    --polaroid-rot: 8deg;
    --polaroid-dx: min(-3.25rem, 9vw);
    --polaroid-dy: max(2.5rem, 7vw);
    z-index: 3;
}

.home-cta__polaroid--9 {
    top: 60%;
    left: 38%;
    --polaroid-rot: -5deg;
    --polaroid-dx: 0;
    --polaroid-dy: max(3rem, 9vw);
    z-index: 1;
}

.home-cta__polaroid--10 {
    top: 58%;
    right: -1%;
    left: auto;
    --polaroid-rot: 12deg;
    --polaroid-dx: max(3.25rem, 9vw);
    --polaroid-dy: max(2.5rem, 7vw);
    z-index: 4;
}

/* Lückenfüller: oben Mitte-rechts, Mitte rechts, unten links, unten rechts-innen */
.home-cta__polaroid--11 {
    top: 7%;
    left: 46%;
    --polaroid-rot: -5deg;
    --polaroid-dx: 0;
    --polaroid-dy: min(-3rem, -9vw);
    z-index: 2;
}

.home-cta__polaroid--12 {
    top: 34%;
    right: 4%;
    left: auto;
    --polaroid-rot: 7deg;
    --polaroid-dx: max(3rem, 8vw);
    --polaroid-dy: min(-1.5rem, -4vw);
    z-index: 3;
}

.home-cta__polaroid--13 {
    top: 50%;
    left: 10%;
    --polaroid-rot: 10deg;
    --polaroid-dx: min(-3rem, -8vw);
    --polaroid-dy: max(2rem, 6vw);
    z-index: 2;
}

.home-cta__polaroid--14 {
    top: 62%;
    right: 14%;
    left: auto;
    --polaroid-rot: -11deg;
    --polaroid-dx: max(2.75rem, 7vw);
    --polaroid-dy: max(2.25rem, 6vw);
    z-index: 3;
}

@media (max-width: 639px) {
    .home-cta__scene {
        width: 100%;
        min-height: clamp(19rem, 95vw, 28rem);
        padding: 1.5rem 0.25rem;
    }

    .home-cta__polaroid {
        width: clamp(6.4rem, 39vw, 8.6rem);
    }

    .home-cta__polaroid img {
        border-radius: 8px;
    }

    .home-cta__polaroid--3,
    .home-cta__polaroid--6,
    .home-cta__polaroid--9,
    .home-cta__polaroid--11,
    .home-cta__polaroid--12 {
        display: none;
    }
}

.home-cta__inner {
    position: relative;
    z-index: 10;
    max-width: 34rem;
    margin-inline: auto;
    width: calc(100% - 0.5rem);
    padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
    text-align: center;
    border-radius: clamp(1rem, 2.2vw, 1.25rem);
    border: 1px solid rgba(65, 44, 29, 0.1);
    background: #fffefb;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 4px 6px rgba(45, 28, 18, 0.04),
        0 18px 48px rgba(45, 28, 18, 0.12);
    pointer-events: auto;
}

/* Scroll-progress: JS setzt --cta-progress 0–1 (linear zur Durchfahrt durchs Viewport) */
html.home-cta-polaroid-js .home-cta__scatter {
    --cta-progress: 0;
    /* Start: nach außen (niedriger = weniger Überstand nach oben in den FAQ-Bereich) */
    --cta-spread-start: 1.2;
    --cta-spread-end: -0.18;
    --cta-opacity-start: 0.68;
}

html.home-cta-polaroid-js .home-cta__scatter .home-cta__polaroid {
    transition: none;
    --cta-spread-mul: calc(
        (1 - var(--cta-progress)) * var(--cta-spread-start) + var(--cta-progress) * var(--cta-spread-end)
    );
    transform:
        translate(
            calc(var(--polaroid-dx) * var(--cta-spread-mul)),
            calc(var(--polaroid-dy) * var(--cta-spread-mul))
        )
        rotate(var(--polaroid-rot));
    opacity: calc(
        var(--cta-opacity-start) + (1 - var(--cta-opacity-start)) * var(--cta-progress)
    );
}

@media (prefers-reduced-motion: reduce) {
    html.home-cta-polaroid-js .home-cta__scatter {
        --cta-progress: 1 !important;
    }

    html.home-cta-polaroid-js .home-cta__scatter .home-cta__polaroid {
        opacity: 1 !important;
    }
}

.home-cta__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.35rem, 3.2vw, 1.65rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text);
    text-wrap: balance;
}

.home-cta__lead {
    margin: 0 0 1.15rem;
    font-size: clamp(0.98rem, 2vw, 1.05rem);
    line-height: 1.6;
    color: var(--muted);
    text-wrap: pretty;
}

.home-cta__btn {
    width: auto;
    max-width: 100%;
}
