/* ============================================================
   B&B La Tgamona – Custom Styles
   Aufbau:
   1. Design-Tokens (Variablen)
   2. Basis / Typografie
   3. Sticker-Illustrationen
   4. Navigation
   5. Hero
   6. Sektionen / organische Formen
   7. Über uns
   8. Erlebnis / Feature-Karten
   9. Galerie
   10. Preise
   11. Kontaktformular
   12. Footer & To-Top
   13. Scroll-Reveal-Animationen
   14. Responsive Feinschliff
   ============================================================ */

/* 1. Design-Tokens ---------------------------------------- */
:root {
    --red: #a12425;
    /* Primärfarbe (Logo) */
    --red-deep: #7c1718;
    --red-soft: #c9605f;
    --teal: #1f9e8f;
    /* Komplementär: frisches Grün-Türkis */
    --teal-deep: #14756a;
    --yellow: #ffc233;
    /* Akzent / Sticker */
    --coral: #ff7a6b;
    /* warmer Jugend-Akzent */
    --cream: #fdf6ee;
    /* Hintergrund */
    --cream-2: #fbeede;
    --ink: #2a1a18;
    /* Text */
    --ink-soft: #5d4b48;
    --white: #fffdfa;

    --font-display: "Bricolage Grotesque", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;

    --radius-blob: 62% 38% 46% 54% / 58% 50% 50% 42%;
    --shadow-soft: 0 18px 50px -20px rgba(124, 23, 24, .35);
    --shadow-pop: 0 10px 0 0 rgba(42, 26, 24, .12);

    --nav-h: 84px;
}

/* 2. Basis / Typografie ----------------------------------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--cream);
    /*
    background-image:
        radial-gradient(circle at 12% 8%, rgba(31, 158, 143, .07), transparent 40%),
        radial-gradient(circle at 88% 22%, rgba(255, 194, 51, .10), transparent 38%),
        radial-gradient(circle at 78% 88%, rgba(161, 36, 37, .06), transparent 42%);
    */
    /* clip statt hidden: kein Scroll-Container -> backdrop-filter
       der fixierten Navbar funktioniert beim Scrollen */
    overflow-x: clip;
    line-height: 1.65;
}

h1,
h2,
h3,
h4,
.display-font {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.02em;
    color: var(--ink);
}

a {
    color: var(--red);
    text-decoration-thickness: .08em;
    text-underline-offset: .18em;
}

a:hover {
    color: var(--red-deep);
}

::selection {
    background: var(--yellow);
    color: var(--ink);
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 2000;
    background: var(--ink);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: 12px;
}

/* wiederkehrende Bausteine */
.kicker {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--teal-deep);
    background: rgba(31, 158, 143, .12);
    padding: .35rem .9rem;
    border-radius: 999px;
    transform: rotate(-2deg);
    margin-bottom: 1rem;
}

.section {
    position: relative;
    padding: clamp(4.5rem, 10vw, 8.5rem) 0;
}

.section-title {
    font-size: clamp(2.1rem, 5.5vw, 4rem);
    margin-bottom: 1.2rem;
}

.lead-text {
    font-size: clamp(1.05rem, 2.2vw, 1.35rem);
    color: var(--ink-soft);
}

.text-red {
    color: var(--red) !important;
}

.text-teal {
    color: var(--teal-deep) !important;
}

/* Hand-gezeichnete Unterstreichung */
.squiggle {
    position: relative;
    white-space: nowrap;
}

.squiggle::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.12em;
    height: .35em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='12' viewBox='0 0 120 12'%3E%3Cpath d='M2 8 C30 2 60 12 90 5 C104 2 114 6 118 7' fill='none' stroke='%23ffc233' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* Buttons im Sticker/Pop-Stil */
.btn-la {
    --bg: var(--red);
    font-family: var(--font-display);
    font-weight: 600;
    background: var(--bg);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: .85rem 1.8rem;
    box-shadow: var(--shadow-pop);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-la:hover,
.btn-la:focus-visible {
    color: #fff;
    background: var(--red-deep);
    transform: translateY(-3px) rotate(-1deg);
    box-shadow: 0 16px 0 -2px rgba(42, 26, 24, .14);
}

.btn-la--teal {
    --bg: var(--teal);
}

.btn-la--teal:hover,
.btn-la--teal:active,
.btn-la--teal:focus,
.btn-la--teal:disabled {
    background-color: var(--teal-deep) !important;
}

.btn-la--ghost {
    background: transparent;
    color: var(--ink);
    box-shadow: inset 0 0 0 2px rgba(42, 26, 24, .2);
}

.btn-la--ghost:hover {
    background: var(--ink);
    color: #fff;
    box-shadow: none;
}

/* 3. Sticker-Illustrationen ------------------------------- */
.sticker {
    width: 96px;
    height: 96px;
    filter: drop-shadow(0 8px 10px rgba(42, 26, 24, .18));
    overflow: visible;
}

.sticker>g {
    paint-order: stroke;
}

.sticker-float {
    animation: floaty 6s ease-in-out infinite;
}

.sticker-spin {
    animation: spin 22s linear infinite;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0) rotate(-4deg);
    }

    50% {
        transform: translateY(-12px) rotate(4deg);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 4. Navigation ------------------------------------------- */
.la-nav {
    padding: .55rem 0;
    transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
    background: transparent;
}

.la-nav.is-scrolled {

}

.la-logo {
    height: 100px;
    width: auto;
    transition: height .3s ease;
}

.la-nav.is-scrolled .la-logo {
    height: 46px;
}

.la-nav .nav-link {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--ink);
    border-radius: 999px;
    padding: .5rem 1rem !important;
    transition: color .2s ease, background .2s ease;
}

.la-nav .nav-link:hover,
.la-nav .nav-link.active {
    color: var(--red);
}

.la-nav .btn-book {
    background: var(--red);
    color: #fff !important;
    box-shadow: var(--shadow-pop);
}

.la-nav .btn-book:hover {
    background: var(--red-deep);
    transform: translateY(-2px);
}

/* Burger */
.navbar-toggler {
    border: none;
    padding: .4rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.la-burger {
    display: block;
    width: 28px;
}

.la-burger span {
    display: block;
    height: 3px;
    border-radius: 3px;
    background: var(--red);
    margin: 5px 0;
    transition: transform .3s ease, opacity .3s ease;
    transform-origin: center;
}

/* Burger -> X, wenn das Menü offen ist (Bootstrap setzt aria-expanded="true") */
.navbar-toggler[aria-expanded="true"] .la-burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .la-burger span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .la-burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* sanftes Einblenden des Mobile-Overlays */
@keyframes navOverlayIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 5. Hero -------------------------------------------------- */
.hero {
    position: relative;
    /* solider Cream-Hintergrund: untere Kante passt exakt zur about-Welle */
    background: var(--cream);
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 4rem;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Wrapper trägt Position + Neigung -> Sticker bleibt fest am Bild */
.hero__photo-wrap {
    position: relative;
    top: 8%;
    right: -6%;
    transform: rotate(3deg);
}

/* organische Bildmaske statt vollflächigem Foto -> dezent */
.hero__photo {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-blob);
    box-shadow: var(--shadow-soft);
    border: 10px solid var(--white);
}

.hero__blob {
    position: absolute;
    top: -10%;
    right: -10%;
    width: min(70vw, 820px);
    height: min(70vw, 820px);
    background: radial-gradient(circle at 30% 30%, var(--red-soft), var(--red) 70%);
    border-radius: var(--radius-blob);
    opacity: .12;
    z-index: 0;
    animation: morph 16s ease-in-out infinite;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 62% 38% 46% 54% / 58% 50% 50% 42%;
    }

    50% {
        border-radius: 40% 60% 63% 37% / 41% 54% 46% 59%;
    }
}

.hero__inner {
    position: relative;
    z-index: 2;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font-display);
    font-weight: 600;
    background: var(--white);
    color: var(--red);
    padding: .5rem 1.1rem;
    border-radius: 999px;
    box-shadow: var(--shadow-pop);
    transform: rotate(-2deg);
    margin-bottom: 1.5rem;
}

.hero__badge::before {
    content: "📍";
}

.hero__title {
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: .92;
    margin-bottom: 1.4rem;
}

.hero__title span {
    display: block;
}

.hero__title .l2 {
    color: var(--red);
    margin-left: clamp(0px, 6vw, 2.5rem);
}

.hero__title .l3 {
    color: var(--teal);
    margin-left: clamp(0px, 12vw, 5rem);
}

.hero__subtitle {
    font-size: clamp(1.1rem, 2.4vw, 1.5rem);
    max-width: 30ch;
    color: var(--ink-soft);
    margin-bottom: 2rem;
}

.hero__sticker--1 {
    position: absolute;
    top: 14%;
    left: 0%;
    width: 110px;
    z-index: 3;
}

.hero__sticker--2 {
    position: absolute;
    bottom: 16%;
    left: 38%;
    width: 88px;
    z-index: 3;
}

/* an das Bild geheftet: Position relativ zum .hero__photo-wrap */
.hero__sticker--3 {
    position: absolute;
    top: 0%;
    right: 3%;
    width: 80px;
    z-index: 3;
}

.hero__scroll {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .4rem;
    font-family: var(--font-display);
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.hero__scroll .dot {
    width: 26px;
    height: 42px;
    border: 2px solid var(--ink-soft);
    border-radius: 999px;
    position: relative;
}

.hero__scroll .dot::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    animation: scrolldot 1.6s ease-in-out infinite;
}

@keyframes scrolldot {
    0% {
        opacity: 0;
        top: 7px;
    }

    40% {
        opacity: 1;
    }

    80% {
        opacity: 0;
        top: 24px;
    }

    100% {
        opacity: 0;
    }
}

/* 6. Organische Sektions-Trenner -------------------------- */
.wave-top,
.wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.wave-top {
    top: -1px;
}

.wave-bottom {
    bottom: -1px;
}

.wave-top svg,
.wave-bottom svg {
    width: 100%;
    height: clamp(40px, 7vw, 90px);
    display: block;
}

/* Kontakt-Welle: um 180° gedreht, damit die helle Fläche oben am Übergang sitzt */
.contact .wave-top svg {
    transform: rotate(180deg);
}

.bg-cream {
    background: var(--cream);
}

.bg-tint {
    background: linear-gradient(180deg, #fbeede, #fdf6ee);
}

.bg-ink {
    background: var(--ink);
    color: var(--cream);
}

.bg-ink h2,
.bg-ink h3 {
    color: var(--white);
}

/* 7. Über uns --------------------------------------------- */
.about__media {
    position: relative;
}

.about__img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 56% 44% 58% 42% / 50% 58% 42% 50%;
    border: 10px solid var(--white);
    box-shadow: var(--shadow-soft);
    transform: rotate(-3deg);
}

.about__stamp {
    position: absolute;
    bottom: -22px;
    right: 45px;
    background: var(--yellow);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 800;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    line-height: 1.05;
    padding: .5rem;
    transform: rotate(8deg);
    box-shadow: var(--shadow-pop);
    border: 4px solid var(--white);
}

.about p {
    margin-bottom: 1.1rem;
    color: var(--ink-soft);
}

.about .lead-text {
    color: var(--ink);
}

/* 8. Erlebnis / Feature-Karten (versetzt, organisch) ------ */
.feature-grid {
    position: relative;
}

.feature-card {
    position: relative;
    background: var(--white);
    border-radius: 28px;
    padding: 2.2rem 1.8rem 2rem;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: transform .25s ease;
    border: 2px solid rgba(42, 26, 24, .05);
}

.feature-card:hover {
    transform: translateY(-8px) rotate(-1deg);
}

.feature-card .sticker {
    width: 84px;
    height: 84px;
    margin-bottom: .6rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: .6rem;
}

.feature-card p {
    color: var(--ink-soft);
    margin: 0;
}

/* versetzte Anordnung -> bricht das Raster */
.feature-col:nth-child(odd) {
    transform: translateY(28px) rotate(-1.2deg);
}

.feature-col:nth-child(even) {
    transform: translateY(-10px) rotate(1deg);
}

.feature-card::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 22px;
    width: 38px;
    height: 14px;
    border-radius: 999px;
    background: var(--yellow);
    transform: rotate(-8deg);
    box-shadow: 0 2px 6px rgba(42, 26, 24, .18);
}

/* 9. Galerie (Swipe-Karten-Stapel) ------------------------ */
.swipe-deck {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(.5rem, 3vw, 2rem);
    max-width: 760px;
    margin-inline: auto;
}

.swipe-cards {
    position: relative;
    flex: 0 0 auto;
    width: min(80vw, 600px);
    aspect-ratio: 4 / 3;
    touch-action: pan-y;
}

.swipe-card {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border: 8px solid var(--white);
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
    background: var(--cream);
    cursor: grab;
    will-change: transform;
    transition: transform .45s cubic-bezier(.22, .61, .36, 1), opacity .45s ease;
}

.swipe-card:active {
    cursor: grabbing;
}

.swipe-card.is-dragging {
    transition: none;
}

.swipe-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.swipe-card__count {
    position: absolute;
    bottom: 12px;
    right: 14px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .8rem;
    color: #fff;
    background: rgba(42, 26, 24, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: .25rem .7rem;
    border-radius: 999px;
}

.swipe-arrow {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border: none;
    border-radius: 50%;
    background: var(--white);
    color: var(--red);
    box-shadow: var(--shadow-pop);
    cursor: pointer;
    z-index: 20;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.swipe-arrow svg {
    width: 26px;
    height: 26px;
}

.swipe-arrow:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
}

.swipe-arrow:active {
    transform: scale(.94);
}

.swipe-arrow--next:hover {
    background: var(--teal);
}

.swipe-hint {
    position: absolute;
    bottom: -3.6rem;
    left: 0;
    right: 0;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .04em;
    color: var(--ink-soft);
    margin: 0;
}

/* 10. Preise ---------------------------------------------- */
.price-toggle {
    display: inline-flex;
    background: var(--white);
    border-radius: 999px;
    padding: .35rem;
    box-shadow: var(--shadow-pop);
    margin-bottom: 2.5rem;
}

.price-toggle button {
    font-family: var(--font-display);
    font-weight: 600;
    border: none;
    background: transparent;
    color: var(--ink-soft);
    padding: .6rem 1.7rem;
    border-radius: 999px;
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

.price-toggle button.active {
    background: var(--red);
    color: #fff;
}

.price-toggle button[data-season="winter"].active {
    background: var(--teal);
}

.price-card {
    background: var(--white);
    border-radius: 32px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.price-card::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 194, 51, .18);
}

.price-panel {
    display: none;
}

.price-panel.active {
    display: block;
    animation: fadeUp .4s ease;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 2px dashed rgba(42, 26, 24, .12);
}

.price-row:last-child {
    border-bottom: none;
}

.price-row .room {
    font-weight: 500;
}

.price-row .amount {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    white-space: nowrap;
}

.price-row .amount small {
    font-size: .8rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.price-note {
    margin-top: 1.5rem;
    color: var(--ink-soft);
    font-size: .95rem;
}

/* 11. Kontaktformular ------------------------------------- */
.contact {
    position: relative;
}

.contact__sticker {
    position: absolute;
    top: 12%;
    right: 6%;
    width: 110px;
    z-index: 2;
}

.contact-card {
    background: var(--white);
    border-radius: 36px;
    padding: clamp(1.8rem, 5vw, 3.5rem);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.form-label, label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: .35rem;
    color: #2a1a18;
}

.form-control,
.form-select {
    border: 2px solid rgba(42, 26, 24, .12);
    border-radius: 16px;
    padding: .8rem 1rem;
    background: var(--cream);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 .25rem rgba(31, 158, 143, .18);
    background: #fff;
}

.form-check-input:checked {
    background-color: var(--red);
    border-color: var(--red);
}

.form-check-input:focus {
    box-shadow: 0 0 0 .25rem rgba(161, 36, 37, .18);
}

.alert-la {
    border-radius: 18px;
    border: none;
    font-weight: 500;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.alert-la--ok {
    background: rgba(31, 158, 143, .15);
    color: var(--teal-deep);
}

.alert-la--err {
    background: rgba(161, 36, 37, .12);
    color: var(--red-deep);
}

/* 12. Footer & To-Top ------------------------------------- */
.la-footer {
    position: relative;
    background: var(--ink);
    color: var(--cream);
    padding: clamp(5rem, 9vw, 8rem) 0 2.5rem;
}

.la-footer__logo {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: .95;
    margin-bottom: 1.2rem;
}

.la-footer__tagline {
    color: rgba(253, 246, 238, .7);
    max-width: 30ch;
}

.la-footer__title {
    font-size: 1.1rem;
    color: var(--yellow);
    margin-bottom: 1rem;
}

.la-footer__nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.la-footer__nav li {
    margin-bottom: .0rem;
}

.la-footer__nav a,
.la-footer__contact a {
    color: rgba(253, 246, 238, .8);
    text-decoration: none;
}

.la-footer__nav a:hover,
.la-footer__contact a:hover {
    color: var(--yellow);
}

.la-footer__contact {
    font-style: normal;
    color: rgba(253, 246, 238, .8);
    line-height: 1.5;
}

.la-footer__rule {
    border-color: rgba(253, 246, 238, .15);
    margin: 2.5rem 0 1.5rem;
}

.la-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    font-size: .9rem;
    color: rgba(253, 246, 238, .6);
}

.la-footer__legal {
    list-style: none;
    display: flex;
    gap: 1.4rem;
    padding: 0;
    margin: 0;
}

.la-footer__legal a {
    color: rgba(253, 246, 238, .8);
    text-decoration: none;
}

.la-footer__legal a:hover {
    color: var(--yellow);
}

.la-footer__made {
    color: var(--coral);
}

.la-totop {
    position: fixed;
    right: 1.3rem;
    bottom: 1.3rem;
    z-index: 900;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    box-shadow: var(--shadow-pop);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity .3s ease, transform .3s ease, background .2s ease;
}

.la-totop.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.la-totop:hover {
    background: var(--red-deep);
    transform: translateY(-3px);
}

/* 13. Scroll-Reveal --------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 {
    transition-delay: .1s;
}

.reveal-delay-2 {
    transition-delay: .2s;
}

.reveal-delay-3 {
    transition-delay: .3s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* Subpages (Impressum / Datenschutz) ---------------------- */
.legal-page {
    padding-top: calc(var(--nav-h) + 3rem);
    padding-bottom: 5rem;
}

.legal-page h1 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    margin-bottom: .5rem;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-top: 2.2rem;
    margin-bottom: .6rem;
    color: var(--red);
}

.legal-page .legal-card {
    background: var(--white);
    border-radius: 28px;
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--shadow-soft);
}

.legal-page address {
    font-style: normal;
    line-height: 1.5;
}

.la-nav.is-scrolled {
        background: rgba(253, 246, 238, 1);
        box-shadow: 0px 10px 20px -4px rgba(0, 0, 0, 0.2);
        -webkit-box-shadow: 0px 10px 20px -4px rgba(0, 0, 0, 0.2);
}

/* 14. Responsive ------------------------------------------ */
/* ============================================================
   Bootstrap 5 Breakpoints – alle Fixes je Grösse gebündelt
   (max-width = "und kleiner", mobile-down)
   xs <576 · sm ≥576 · md ≥768 · lg ≥992 · xl ≥1200 · xxl ≥1400
   ============================================================ */

/* ↓ xxl – unter Extra-Large Desktop (< 1400px) */
@media (max-width: 1399.98px) {

}

/* ↓ xl – unter Large Desktop (< 1200px) */
@media (max-width: 1199.98px) {
    .about__img {
        max-height: 500px;
    }
}

/* ↓ lg – unter Desktop, Tablet quer (< 992px) */
@media (max-width: 991.98px) {
    /* Navbar mobil: transparent – Hintergrund nur beim Scrollen
       (.la-nav.is-scrolled in Sektion 4 greift weiterhin) */
    .la-nav {
        background: transparent;
    }
    .la-nav.is-scrolled {
        background: rgba(253, 246, 238, 1);
        box-shadow: none;
    }

    /* Mobile-Menü = Vollbild-Overlay mit Backdrop-Blur.
       Geschlossen greift Bootstraps .collapse:not(.show){display:none},
       das Overlay liegt also NICHT über der Navbar wenn es zu ist. */
    .navbar-collapse {
        position: fixed;
        inset: 0;
        /* überschreibt die Inline-Height der Bootstrap-Collapse-Animation */
        height: 100dvh !important;
        flex-direction: column;
        justify-content: center;
        padding: calc(var(--nav-h) + 1.5rem) 2rem 2.5rem;
        overflow-y: auto;
        background: rgba(253, 246, 238, .72);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        z-index: 1;
    }

    .hero__inner {
        margin-top: 100px;
    }

    .hero__sticker--1 {
        left: 75%
    }

    .hero__photo {
        aspect-ratio: 5 / 4;
        width: 100%;
    }

    /* Overlay nur einblenden, wenn offen / am Öffnen */
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        display: flex !important;
        animation: navOverlayIn .3s ease;
    }

    /* Logo & Burger über dem Overlay bedienbar halten */
    .navbar-brand,
    .navbar-toggler {
        position: relative;
        z-index: 2;
    }

    /* Menüpunkte im Overlay zentriert & grösser */
    .navbar-collapse .navbar-nav {
        width: 100%;
        margin: 0;
        gap: .25rem;
        text-align: center;
    }

    .navbar-collapse .nav-link {
        font-size: 1.4rem;
        padding: .75rem 1rem !important;
    }

    .hero__photo-wrap {
        top: auto;
        right: auto;
        margin: 2.5rem auto 0;
        transform: rotate(2deg);
    }

    .hero__photo {
        position: relative;
        width: 100%;
        display: block;
    }

    .hero {
        min-height: auto;
        padding-bottom: 5rem;
    }

    /* Scroll-Indikator beim Laden an den unteren Viewport-Rand (100svh)
       statt ans Ende des langen Hero-Inhalts */
    .hero__scroll {
        top: calc(100svh - 4.5rem);
        bottom: auto;
        /* unter den Hero-Inhalt (.hero__inner z-index:2), damit das
           Bild beim Laden über dem Icon liegt */
        z-index: 1;
    }

    .hero__sticker--2,
    .hero__sticker--3 {
        display: none;
    }

    .hero__title .l2,
    .hero__title .l3 {
        margin-left: 0;
    }

    .feature-col:nth-child(odd),
    .feature-col:nth-child(even) {
        transform: none;
    }

    .swipe-arrow {
        width: 48px;
        height: 48px;
    }

    .swipe-arrow svg {
        width: 22px;
        height: 22px;
    }

    .contact__sticker {
        width: 76px;
        right: 4%;
        top: 6%;
    }
    .la-nav .nav-link {
        margin-left: auto;
        margin-right: auto;
        max-width: 500px;
        text-align: center;
    }
}

/* ↓ md – unter Tablet, Tablet hoch (< 768px) */
@media (max-width: 767.98px) {

}

/* ↓ sm / xs – Smartphones (< 576px) */
@media (max-width: 575.98px) {
    .hero__sticker--1 {
        width: 80px;
    }

    .about__stamp {
        width: 96px;
        height: 96px;
        font-size: .85rem;
    }
    .hero__scroll {
        display: none;
    }
    .la-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .swipe-arrow {
        display: none;
    }
    .hero__photo {
        aspect-ratio: 4 / 5;
        width: 100%;
    }
    .contact__sticker {
        top: 2%;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
/* DEBUG: Bootstrap Breakpoint-Anzeige (zum Entfernen) */
/*
.la-bp-debug {
    position: fixed;
    bottom: 10px;
    left: 10px;
    z-index: 9999;
    padding: 4px 10px;
    border-radius: 6px;
    background: #000;
    color: #0f0;
    font: bold 13px/1.2 monospace;
    pointer-events: none;
    opacity: .85;
}
*/
.la-bp-debug {
    display: none;
}