/* ==========================================================================
   BeLiFa – The Beauty of Life & Family
   Coming-soon-Website · vanilla CSS · keine externen Ressourcen
   ========================================================================== */

/* ---------------------------------------------------------------- Fonts --- */
/* Selbst gehostet (SIL Open Font License, siehe /assets/fonts/OFL-*.txt) */
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Cormorant Garamond";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
}
@font-face {
    font-family: "Cormorant Garamond";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
}
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Source Sans 3";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2");
}
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}

/* --------------------------------------------------------------- Tokens --- */
:root {
    --bg: #f8f4ef;
    --bg-soft: #f2eae2;
    --bg-blush: #eddcd3;
    --bg-sage: #e7e6d6;
    --surface: #fffdfa;
    --line: #e4d9cf;

    --ink: #3d3330;          /* Überschriften */
    --text: #4a3f3b;         /* Fließtext */
    --muted: #5f534e;        /* sekundärer Text (≥ 6:1 auf --bg) */

    --rose: #b97b78;         /* dekorativ: Linien, Herz, Rahmen */
    --rose-strong: #a8615e;  /* Buttons (weiß darauf ≥ 4.6:1) */
    --rose-deep: #8f5754;    /* Hover */
    --rose-text: #985754;    /* Text-Akzente & Links (≥ 4.5:1 auf allen Hintergründen) */

    --olive: #77825a;
    --olive-deep: #5f6a45;

    --font-serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", Georgia, serif;
    --font-sans: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --wrap: 1180px;
    --wrap-narrow: 760px;
    --gutter: clamp(1rem, 4vw, 2.5rem);
    --space-section: clamp(3.5rem, 8vw, 6rem);
    --radius: 4px;
    --focus: 0 0 0 3px var(--bg), 0 0 0 5px var(--ink);
}

/* ----------------------------------------------------------------- Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

img {
    display: block;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 .6em;
    color: var(--ink);
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.005em;
    text-wrap: balance;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--rose-text);
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
}

a:hover {
    color: var(--rose-deep);
    text-decoration-thickness: 2px;
}

:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
    border-radius: 2px;
}

main:focus {
    outline: none;
}

strong {
    font-weight: 600;
    color: var(--ink);
}

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

/* ------------------------------------------------------------ Utilities --- */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.nowrap {
    white-space: nowrap;
}

.js-only {
    display: none !important;
}

.js .js-only {
    display: revert !important;
}

.container {
    width: 100%;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.container--narrow {
    max-width: calc(var(--wrap-narrow) + 2 * var(--gutter));
}

.muted {
    color: var(--muted);
    font-size: .95rem;
}

.skip-link {
    position: absolute;
    top: .75rem;
    left: .75rem;
    z-index: 1000;
    padding: .7rem 1.1rem;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transform: translateY(-200%);
}

.skip-link:focus,
.skip-link:focus-visible {
    transform: none;
    color: #fff;
    outline: 2px solid var(--rose-strong);
    outline-offset: 2px;
}

/* --------------------------------------------------------------- Kicker --- */
.kicker {
    margin: 0 0 1rem;
    color: var(--rose-text);
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.kicker--small {
    font-size: .72rem;
    margin-bottom: .55rem;
}

.section-title {
    font-size: clamp(2.1rem, 4.4vw, 3rem);
}

.page-title {
    font-size: clamp(2.4rem, 6vw, 3.6rem);
    margin-bottom: 0;
}

.lead {
    font-size: 1.15rem;
}

/* -------------------------------------------------------------- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    min-height: 2.9rem;
    padding: .7rem 1.6rem;
    border: 1px solid transparent;
    border-radius: 2px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .01em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.btn:hover {
    text-decoration: none;
}

.btn--primary {
    background: var(--rose-strong);
    border-color: var(--rose-strong);
    color: #fff;
}

.btn--primary:hover {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: #fff;
}

.btn--ghost {
    background: transparent;
    border-color: var(--rose-text);
    color: var(--rose-text);
}

.btn--ghost:hover {
    background: var(--rose-strong);
    border-color: var(--rose-strong);
    color: #fff;
}

.link-button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .2em;
    cursor: pointer;
}

.link-button:hover {
    color: var(--rose-deep);
}

.text-link {
    color: var(--rose-text);
    overflow-wrap: anywhere;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: .45em;
    padding: .3rem .8rem;
    border: 1px solid var(--rose);
    border-radius: 999px;
    color: var(--rose-text);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.pill::before {
    content: "";
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: var(--rose);
}

/* --------------------------------------------------------------- Header --- */
.site-header {
    position: relative;
    background: var(--bg);
}

.site-header__inner {
    position: relative;
    display: flex;
    justify-content: center;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin-inline: auto;
    padding: clamp(1.4rem, 3vw, 2rem) var(--gutter) .6rem;
}

.site-logo {
    display: block;
    border-radius: 4px;
}

.site-logo__svg {
    display: block;
    width: clamp(210px, 30vw, 270px);
    height: auto;
}

.social {
    position: absolute;
    top: 50%;
    right: var(--gutter);
    display: flex;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
    transform: translateY(-50%);
}

.social a {
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--ink);
    border-radius: 50%;
}

.social a:hover {
    color: var(--rose-text);
    background: var(--bg-soft);
}

.main-nav {
    border-bottom: 1px solid var(--line);
}

.main-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .1rem clamp(1rem, 3.4vw, 2.6rem);
    max-width: var(--wrap);
    margin: 0 auto;
    padding: .4rem var(--gutter) .5rem;
    list-style: none;
}

.main-nav a,
.main-nav__soon {
    display: inline-block;
    padding: .55rem 0 .45rem;
    border-bottom: 2px solid transparent;
    color: var(--ink);
    font-size: .98rem;
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--rose-text);
    border-bottom-color: var(--line);
}

.main-nav a[aria-current="page"] {
    color: var(--rose-text);
    border-bottom-color: var(--rose);
}

.main-nav__soon {
    color: var(--muted);
    cursor: default;
}

.main-nav__soon small,
.footer-nav__soon small {
    color: var(--rose-text);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* ----------------------------------------------------------------- Hero --- */
.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
    min-height: clamp(480px, 62vh, 620px);
    padding: clamp(2.5rem, 6vw, 4.5rem) max(var(--gutter), calc((100% - var(--wrap)) / 2));
    background: linear-gradient(100deg, var(--bg-soft) 0%, #f5eee7 48%, var(--bg) 100%);
    overflow: hidden;
    isolation: isolate;
}

.hero__art {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero__arch {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: min(100%, 360px);
    aspect-ratio: 3 / 4;
    padding: 2rem 1.5rem 2.2rem;
    border-radius: 999px 999px 18px 18px;
    background: linear-gradient(180deg, #f0e3da 0%, var(--bg-blush) 100%);
    overflow: hidden;
}

.hero__arch-branch {
    position: absolute;
    top: 8%;
    left: 50%;
    width: 62%;
    transform: translateX(-46%) rotate(-6deg);
}

.hero__arch-note {
    position: relative;
    margin: 0;
    color: var(--rose-text);
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-style: italic;
    line-height: 1;
    text-align: center;
}

.hero__dot {
    position: absolute;
    right: max(4%, calc(50% - 230px));
    bottom: -18px;
    z-index: -1;
    width: clamp(90px, 12vw, 140px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #ead6cf;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 34rem;
}

.hero__title {
    margin-bottom: 1.4rem;
    font-size: clamp(2.9rem, 7vw, 4.75rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: -.01em;
}

.heart {
    display: inline-block;
    width: .52em;
    height: auto;
    margin-left: .12em;
    color: var(--rose);
    vertical-align: top;
    transform: translateY(.06em) rotate(10deg);
}

.hero__lead {
    max-width: 31rem;
    font-size: 1.1rem;
}

.hero__actions,
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 1.9rem;
}

.hero__branch {
    position: absolute;
    right: -24px;
    bottom: -28px;
    z-index: -1;
    width: clamp(120px, 15vw, 200px);
    opacity: .9;
    pointer-events: none;
}

/* ----------------------------------------------------------- Coming soon --- */
.soon {
    padding-block: var(--space-section);
    text-align: center;
}

.soon__sprig {
    width: 96px;
    margin: 0 auto 1.4rem;
}

.soon p {
    font-size: 1.12rem;
}

.soon .kicker {
    font-size: .78rem;
}

.soon__note {
    max-width: 36rem;
    margin: 1.8rem auto 0;
    padding-top: 1.4rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 1rem !important;
    font-style: italic;
}

/* --------------------------------------------------------------- Topics --- */
.topics {
    padding-bottom: var(--space-section);
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .5rem 2rem;
    margin-bottom: 2rem;
}

.section-head .section-title {
    margin: 0;
}

.section-head__aside {
    margin: 0;
    color: var(--muted);
}

.section-head__aside em {
    font-family: var(--font-serif);
    font-size: 1.2em;
    color: var(--ink);
}

.cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

@media (min-width: 760px) {
    .cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 759px) {
    .cards .card__media {
        aspect-ratio: 16 / 8;
    }

    .cards .card__media::before {
        width: 28%;
    }
}

.card {
    display: flex;
    flex-direction: column;
    scroll-margin-top: 1.5rem;
}

.card__media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    margin-bottom: 1.3rem;
    background: var(--bg-blush);
    overflow: hidden;
}

.card--2 .card__media {
    background: var(--bg-sage);
}

.card--3 .card__media {
    background: #f0e2d8;
}

.card__media::before {
    content: "";
    position: absolute;
    width: 44%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(255, 253, 250, .65);
}

.card__icon {
    position: relative;
    width: 64px;
    color: var(--rose-text);
}

.card--2 .card__icon {
    color: var(--olive-deep);
}

.card__leaf {
    position: absolute;
    right: -10px;
    bottom: 12px;
    width: 42%;
    transform: rotate(-14deg);
    opacity: .9;
}

.card--2 .card__leaf {
    right: auto;
    left: -14px;
    transform: scaleX(-1) rotate(-14deg);
}

.card:target .card__media {
    outline: 2px solid var(--rose);
    outline-offset: 4px;
}

.card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.card__title {
    margin-bottom: .5rem;
    font-size: 1.65rem;
}

.card__text {
    flex: 1;
    color: var(--text);
}

.card__soon {
    margin: .4rem 0 0;
}

/* ---------------------------------------------------------- Contact CTA --- */
.contact-cta {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    background: var(--bg-soft);
    overflow: hidden;
    scroll-margin-top: 1rem;
}

.contact-cta__art {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 320px;
    padding: 3rem 2rem;
    background: linear-gradient(160deg, #efe1d8 0%, var(--bg-blush) 100%);
}

.contact-cta__script {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--rose-text);
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 4.8rem);
    font-style: italic;
    line-height: .95;
    text-align: center;
}

.contact-cta__branch {
    position: absolute;
    left: -30px;
    bottom: -20px;
    width: min(60%, 260px);
    transform: scaleX(-1);
    opacity: .9;
}

.contact-cta__content {
    position: relative;
    z-index: 1;
    max-width: 38rem;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
}

.contact-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 1.8rem;
}

.contact-cta__address {
    color: var(--muted);
}

.contact-cta__corner {
    position: absolute;
    right: -20px;
    bottom: -24px;
    width: clamp(130px, 18vw, 230px);
    opacity: .85;
    pointer-events: none;
}

/* ----------------------------------------------------- Page head / legal --- */
.page-head {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
    background: linear-gradient(100deg, var(--bg-soft) 0%, var(--bg) 100%);
    overflow: hidden;
}

.page-head__branch {
    position: absolute;
    right: -10px;
    bottom: -40px;
    width: clamp(120px, 20vw, 240px);
    opacity: .8;
    pointer-events: none;
}

.prose {
    padding-block: clamp(2rem, 5vw, 3.5rem) var(--space-section);
    overflow-wrap: break-word;
}

.prose--intro {
    padding-top: clamp(2rem, 5vw, 3rem);
}

.prose h2 {
    margin-top: 2.6rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
}

.prose > h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.prose h3 {
    margin-top: 2rem;
    font-size: clamp(1.4rem, 2.8vw, 1.6rem);
    font-weight: 600;
    scroll-margin-top: 1.5rem;
}

.prose h4 {
    margin-top: 1.6rem;
    font-family: var(--font-sans);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.prose ul {
    margin: 0 0 1.2rem;
    padding-left: 1.3rem;
}

.prose li {
    margin-bottom: .5rem;
    padding-left: .2rem;
}

.prose li::marker {
    color: var(--rose);
}

.prose a {
    overflow-wrap: anywhere;
}

.prose .actions {
    margin-block: 1.6rem 2rem;
}

/* ------------------------------------------------------------------ 404 --- */
.error {
    position: relative;
    padding-block: clamp(3.5rem, 10vw, 7rem);
    text-align: center;
    overflow: hidden;
}

.error__sprig {
    width: 96px;
    margin: 0 auto 1.4rem;
}

.error .page-title {
    margin-bottom: 1.2rem;
}

.error .actions {
    justify-content: center;
}

.error__branch {
    position: absolute;
    right: -30px;
    bottom: -40px;
    z-index: -1;
    width: clamp(110px, 14vw, 180px);
    opacity: .7;
    pointer-events: none;
}

/* --------------------------------------------------------------- Footer --- */
.site-footer {
    padding: 0 var(--gutter) 2rem;
    color: var(--muted);
    font-size: .9rem;
}

.site-footer__inner {
    max-width: var(--wrap);
    margin-inline: auto;
    padding-top: 2.2rem;
    border-top: 1px solid var(--line);
    text-align: center;
}

.home .site-footer__inner,
.contact .site-footer__inner {
    border-top: 0;
}

.site-footer__logo {
    display: inline-block;
    border-radius: 4px;
}

.site-footer__svg {
    display: block;
    width: 170px;
    height: auto;
}

.footer-nav ul,
.legal-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .3rem 1.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-nav {
    margin: 1.1rem 0 1.6rem;
}

.footer-nav a,
.legal-nav a,
.legal-nav .link-button {
    display: inline-block;
    padding-block: .3rem;
    color: var(--ink);
    text-decoration: none;
}

.footer-nav a:hover,
.legal-nav a:hover,
.legal-nav .link-button:hover {
    color: var(--rose-text);
    text-decoration: underline;
}

.legal-nav a[aria-current="page"] {
    color: var(--rose-text);
    text-decoration: underline;
}

.footer-nav__soon {
    display: inline-block;
    padding-block: .3rem;
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .6rem 2rem;
    font-size: .84rem;
}

.site-footer__copy {
    margin: 0;
}

.legal-nav {
    gap: .2rem 1.4rem;
}

/* -------------------------------------------------------------- Consent --- */
.consent {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 900;
    width: min(35rem, calc(100% - 2rem));
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 22px 60px rgba(61, 51, 48, .2), 0 2px 8px rgba(61, 51, 48, .08);
}

.consent[hidden] {
    display: none;
}

@media (prefers-reduced-motion: no-preference) {
    .consent.is-entering {
        animation: consent-in .35s ease-out both;
    }
}

@keyframes consent-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.consent__panel {
    position: relative;
    padding: 1.5rem 1.5rem 1.4rem;
}

.consent__sprig {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 64px;
    opacity: .9;
}

.consent__title {
    margin: 0 4.5rem .5rem 0;
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.15;
}

.consent__text {
    margin-bottom: 1.1rem;
    font-size: .93rem;
    line-height: 1.6;
}

.consent__settings fieldset {
    margin: 0 0 1.1rem;
    padding: 0;
    border: 0;
}

.consent__option {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: .2rem .85rem;
    padding: .85rem 0;
    border-top: 1px solid var(--line);
}

.consent__option label {
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
}

.consent__option p {
    grid-column: 2;
    margin: 0;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.5;
}

.consent__badge {
    margin-left: .4rem;
    color: var(--olive-deep);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.consent input[role="switch"] {
    position: relative;
    width: 2.75rem;
    height: 1.55rem;
    margin: 0;
    border: 1px solid #b9aca3;
    border-radius: 999px;
    background: #e3d9d0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: background-color .2s ease, border-color .2s ease;
}

.consent input[role="switch"]::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(1.55rem - 6px);
    height: calc(1.55rem - 6px);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(61, 51, 48, .3);
    transition: transform .2s ease;
}

.consent input[role="switch"]:checked {
    border-color: var(--olive-deep);
    background: var(--olive-deep);
}

.consent input[role="switch"]:checked::before {
    transform: translateX(1.2rem);
}

.consent input[role="switch"]:disabled {
    cursor: not-allowed;
    opacity: .65;
}

.consent input[role="switch"]:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}

.consent__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .6rem;
}

.btn--consent {
    min-height: 2.75rem;
    padding: .6rem .7rem;
    background: var(--rose-strong);
    border-color: var(--rose-strong);
    color: #fff;
    font-size: .92rem;
}

.btn--consent:hover {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: #fff;
}

.btn--consent[hidden] {
    display: none;
}

/* ----------------------------------------------------------- Responsive --- */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
        text-align: left;
    }

    .hero__content {
        order: -1;
        max-width: 40rem;
    }

    .hero__arch {
        width: min(100%, 300px);
        aspect-ratio: 4 / 4.4;
    }

    .hero__dot {
        right: calc(50% - 190px);
    }

    .hero__branch {
        width: 110px;
        opacity: .55;
    }

    .contact-cta {
        grid-template-columns: 1fr;
    }

    .contact-cta__art {
        min-height: 200px;
        padding: 2.2rem 1.5rem;
    }
}

@media (max-width: 720px) {
    .social {
        position: static;
        justify-content: center;
        margin-top: .6rem;
        transform: none;
    }

    .site-header__inner {
        flex-direction: column;
        align-items: center;
    }

    .main-nav ul {
        gap: 0 1.1rem;
    }

    .main-nav a,
    .main-nav__soon {
        font-size: .94rem;
    }

    .site-footer__bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .consent {
        left: .5rem;
        right: .5rem;
        bottom: .5rem;
        width: auto;
        max-height: calc(100vh - 1rem);
        max-height: calc(100dvh - 1rem);
    }

    .consent__panel {
        padding: 1.2rem 1.1rem 1.1rem;
    }
}

@media (max-width: 520px) {
    body {
        font-size: 1rem;
    }

    .hero__arch {
        width: min(100%, 250px);
    }

    .hero__actions .btn,
    .contact-cta__actions .btn {
        width: 100%;
    }

    .error__branch {
        display: none;
    }

    .consent__actions {
        grid-template-columns: 1fr;
    }

    .consent__title {
        margin-bottom: .35rem;
        font-size: 1.4rem;
    }

    .consent__sprig {
        width: 48px;
    }

    .consent__text {
        font-size: .86rem;
        line-height: 1.5;
        margin-bottom: .9rem;
    }

    .consent__actions {
        gap: .45rem;
    }

    .btn--consent {
        min-height: 2.6rem;
        padding-block: .5rem;
    }
}

/* --------------------------------------------------------- Motion & print --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

@media (forced-colors: active) {
    .btn,
    .pill {
        border: 1px solid ButtonText;
    }
}

@media print {
    .skip-link,
    .consent,
    .main-nav,
    .social,
    .hero__art,
    .hero__branch,
    .contact-cta__art,
    .page-head__branch,
    .site-footer nav {
        display: none !important;
    }

    body {
        background: #fff;
        color: #000;
    }
}
