/* Landingpage -- Gestaltung der Vorlage template-store_seite.
   Quelle, Herkunft und Anpassungen: documentation/Landingpage-Duesseldorf-Konzept.md.
   Jeder Selektor beginnt mit .sto; geladen wird die Datei nur von template-store_seite. */
.sto {
    --sto-ink: #1a1a1a;
    --sto-paper: #FFFFFF;
    --sto-shell: #F4F2F0;
    --sto-line: #DDD9D5;
    --sto-muted: #666666;
    --sto-pad: clamp(1.25rem, 5vw, 4rem);
    --sto-max: 1180px;

    display: block;
    background: var(--sto-paper);
    color: var(--sto-ink);
    font-family: "Overpass", sans-serif;
    font-weight: 300;
    font-size: 1.0625rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;

    padding-top: 100px;
}

:where(.sto) h1,
:where(.sto) h2,
:where(.sto) h3,
:where(.sto) p,
:where(.sto) ul,
:where(.sto) dl,
:where(.sto) dd,
:where(.sto) figure {
    margin: 0;
    padding: 0;
}

.sto ul {
    list-style: none;
}

:where(.sto) a {
    color: inherit;
    text-decoration: none;
}

.sto img {
    display: block;
    max-width: 100%;
    height: auto;
}

.sto button {
    font: inherit;
    cursor: pointer;
}

.sto-wrap {
    max-width: var(--sto-max);
    margin: 0 auto;
    padding-left: var(--sto-pad);
    padding-right: var(--sto-pad);
}

.sto-schmal {
    max-width: 800px;
}

.sto-wrap.sto-weit {
    max-width: 1400px;
}

.sto section {
    padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.sto .sto-band {
    background: var(--sto-shell);
}

.sto-kopf {
    margin-bottom: clamp(2rem, 5vw, 3.2rem);
}

.sto h1 {
    font-family: "Overpass", sans-serif;
    font-weight: 300;
    font-size: clamp(2.25rem, 6.5vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: -0.015em;
}

.sto h2 {
    font-family: "Overpass", sans-serif;
    font-weight: 300;
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 1.6rem;
}

.sto h3 {
    font-family: "Overpass", sans-serif;
    font-weight: 400;
    font-size: 1.0625rem;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
}

.sto-eyebrow {
    display: block;
    font-family: "Overpass", sans-serif;
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--sto-muted);
    margin-bottom: 1.4rem;
}

.sto .sto-lead {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    line-height: 1.55;
    margin-top: 2rem;
}

.sto-text {
    margin-top: 1.8rem;
    color: var(--sto-muted);
}

.sto-text p + p {
    margin-top: 1.1rem;
}

.sto .sto-aussage {
    border-left: 2px solid var(--sto-ink);
    padding: 0.2rem 0 0.2rem 1.6rem;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    line-height: 1.5;
}

.sto .sto-aussage-nach {
    margin-top: 3rem;
}

.sto-crumb {
    padding: 1.6rem 0 0;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sto-muted);
}

.sto-crumb a:hover {
    color: var(--sto-ink);
    text-decoration: underline;
}

.sto-hero {
    padding-top: clamp(2rem, 5vw, 4rem);
}

.sto-hero-grid {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: 1fr;
}

.sto .sto-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.85rem 1.8rem;
    background: var(--sto-ink);
    color: var(--sto-paper);
    border: 1px solid var(--sto-ink);
    font-family: "Overpass", sans-serif;
    font-weight: 400;
    font-size: 0.74rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: background 0.25s, color 0.25s;
}

.sto .sto-btn:hover {
    background: transparent;
    color: var(--sto-ink);
}

.sto .sto-btn-offen {
    background: transparent;
    color: var(--sto-ink);
}

.sto .sto-btn-offen:hover {
    background: var(--sto-ink);
    color: var(--sto-paper);
}

.sto .sto-btn-reihe {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.6rem;
}

.sto .sto-btn-reihe .sto-btn:not(:only-child) {
    flex: 1 1 100%;
}

@media (min-width: 768px) {
    .sto .sto-btn-reihe .sto-btn:not(:only-child) {
        flex: 0 1 auto;
    }
}

.sto-bild {
    background: var(--sto-shell);
    overflow: hidden;
}

.sto-bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sto-bild-hoch {
    aspect-ratio: 3 / 4;
}

.sto-bild-breit {
    aspect-ratio: 16 / 9;
}

.sto-bild-quadrat {
    aspect-ratio: 1;
}

.sto-bild-vier-drei {
    aspect-ratio: 4 / 3;
}

.sto-platzhalter {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--sto-line);
    background: repeating-linear-gradient(45deg, #EAE7E3 0 12px, #F1EEEA 12px 24px);
}

.sto-platzhalter span {
    max-width: 34ch;
    font-family: "Overpass", sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    line-height: 2;
    color: var(--sto-muted);
}

.sto-zahlen {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--sto-line);
}

.sto-zahl {
    padding: 2.2rem 1.4rem;
    border-bottom: 1px solid var(--sto-line);
    border-right: 1px solid var(--sto-line);
}

.sto-zahl:nth-child(2n) {
    border-right: 0;
}

.sto-zahl b {
    display: block;
    font-family: "Overpass", sans-serif;
    font-weight: 300;
    font-size: clamp(2.25rem, 5vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

.sto-zahl span {
    display: block;
    margin-top: 0.8rem;
    font-family: "Overpass", sans-serif;
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sto-muted);
    line-height: 1.7;
}

.sto-ablauf {
    display: grid;
    grid-template-columns: 1fr;
    counter-reset: sto-schritt;
}

.sto-schritt {
    position: relative;
    padding: 2.6rem 1.6rem 2rem;
    border-top: 1px solid var(--sto-line);
}

.sto-schritt::before {
    counter-increment: sto-schritt;
    content: counter(sto-schritt, decimal-leading-zero);
    position: absolute;
    top: -0.85rem;
    left: 1.6rem;
    padding: 0 0.6rem;
    background: var(--sto-paper);
    font-family: "Overpass", sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--sto-muted);
}

.sto-band .sto-schritt::before {
    background: var(--sto-shell);
}

.sto-schritt svg {
    display: block;
    margin-bottom: 1.3rem;
    stroke: var(--sto-ink);
    fill: none;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sto-schritt p {
    font-size: 0.95rem;
    color: var(--sto-muted);
    line-height: 1.7;
}

.sto-kasten {
    border: 1px solid var(--sto-ink);
    padding: clamp(1.6rem, 4vw, 2.4rem);
}

.sto-kasten ul {
    display: grid;
    gap: 0.9rem;
}

.sto-kasten li {
    position: relative;
    padding-left: 1.6rem;
    font-size: 1rem;
}

.sto-kasten li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 0.6rem;
    height: 1px;
    background: var(--sto-ink);
}

.sto-duo {
    display: grid;
    gap: clamp(2rem, 5vw, 4rem);
    grid-template-columns: 1fr;
    align-items: center;
}

.sto-preis {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 4vw, 3rem);
    align-items: baseline;
    margin-bottom: 1.4rem;
}

.sto-preis b {
    font-family: "Overpass", sans-serif;
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.02em;
}

.sto-preis span {
    font-family: "Overpass", sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sto-muted);
    line-height: 1.8;

}

.sto-kacheln {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(2, 1fr);
}

.sto-kachel img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: var(--sto-shell);
}

.sto-kachel figcaption {
    margin-top: 0.9rem;
    font-family: "Overpass", sans-serif;
    font-weight: 400;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sto-muted);
}

.sto-kachel a:hover figcaption {
    color: var(--sto-ink);
}

.sto-adresse {
    display: block;
    font-size: 1.15rem;
    line-height: 1.9;
}

a.sto-adresse:hover {
    text-decoration: underline;
}

.sto .sto-telefon {
    margin-top: 1rem;
    font-size: 1.15rem;
}

.sto-telefon a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.sto .sto-mail {
    margin-top: 1rem;
    font-size: 1.15rem;
}

.sto .sto-telefon + .sto-mail {
    margin-top: 0;
}

.sto-mail a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.sto-zeiten {
    margin-top: 2.4rem;
}

.sto-zeiten dl {
    display: grid;
    gap: 0.5rem;
    max-width: 22rem;
    font-size: 1rem;
    color: var(--sto-muted);
}

.sto-zeiten dl > div {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px dotted var(--sto-line);
}

.sto-zeiten dt {
    font-family: "Overpass", sans-serif;
    font-weight: 400;
    color: var(--sto-ink);
}

.sto .sto-zeiten-hinweis {
    margin-top: 0.9rem;
    font-size: 1rem;
    color: var(--sto-muted);
}

.sto-karte {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--sto-shell);
    overflow: hidden;
}

.sto-karte img,
.sto-karte iframe {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.sto-karte iframe {
    filter: grayscale(1);
}

.sto-karte-btn {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
}

.sto-frage {
    border-bottom: 1px solid var(--sto-line);
}

.sto-frage summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 1.35rem 2.5rem 1.35rem 0;
    font-family: "Overpass", sans-serif;
    font-weight: 400;
    font-size: 1.0625rem;
    list-style: none;
    cursor: pointer;
}

.sto-frage summary::-webkit-details-marker {
    display: none;
}

.sto-frage summary::after {
    content: "";
    position: absolute;
    right: 0.4rem;
    top: 50%;
    width: 0.7rem;
    height: 0.7rem;
    border-right: 1px solid var(--sto-ink);
    border-bottom: 1px solid var(--sto-ink);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.25s;
}

.sto-frage[open] summary::after {
    transform: translateY(-30%) rotate(-135deg);
}

.sto-antwort {
    padding-bottom: 1.4rem;
    color: var(--sto-muted);
    max-width: 70ch;
}

.sto-antwort p + p {
    margin-top: 1.1rem;
}

.sto-abschluss {
    background: var(--sto-ink);
    color: var(--sto-paper);
    text-align: center;
}

.sto-abschluss h2 {
    color: var(--sto-paper);
}

.sto-abschluss .sto-eyebrow {
    color: #8F8A85;
}

.sto-abschluss p {
    color: #C9C4BF;
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
}

.sto-abschluss .sto-btn {
    margin-top: 2.2rem;
    background: var(--sto-paper);
    color: var(--sto-ink);
    border-color: var(--sto-paper);
}

.sto-abschluss .sto-btn:hover {
    background: transparent;
    color: var(--sto-paper);
}

.sto a:focus-visible,
.sto button:focus-visible,
.sto summary:focus-visible {
    outline: 2px solid var(--sto-ink);
    outline-offset: 3px;
}

.sto-abschluss a:focus-visible,
.sto-abschluss button:focus-visible {
    outline-color: var(--sto-paper);
}

@media (min-width: 768px) {
    .sto-kacheln {
        grid-template-columns: repeat(4, 1fr);
    }

    .sto-ablauf {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .sto-zahlen {
        grid-template-columns: repeat(4, 1fr);
    }

    .sto-zahl {
        border-bottom: 0;
    }

    .sto-zahl:nth-child(2n) {
        border-right: 1px solid var(--sto-line);
    }

    .sto-zahl:last-child {
        border-right: 0;
    }

    .sto-duo {
        grid-template-columns: 1fr 1fr;
    }

    .sto-duo-getauscht > :last-child {
        order: -1;
    }
}

@media (min-width: 1024px) {
    .sto-hero-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .sto-ablauf {
        grid-template-columns: repeat(4, 1fr);
    }

    .sto-schritt {
        border-top: 1px solid var(--sto-ink);
        padding-right: 2rem;
    }
}

@media (min-width: 1401px) {
    .sto {
        padding-top: 7vw;
    }
}

.sto section[id] {
    scroll-margin-top: 100px;
}

@media (min-width: 1401px) {
    .sto section[id] {
        scroll-margin-top: 7vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sto *,
    .sto *::before,
    .sto *::after {
        transition: none !important;
        animation: none !important;
    }
}
