:root {
    color-scheme: light;
    /* HiMama Corporate Design – Farbpalette (Mini CD Manual, Stand 04.11.2026) */
    --green: #425e54;
    --violet: #81689b;
    --red: #7a004b;
    --mint: #b5c7c0;
    --lilac: #e1ccf7;
    --beige: #f5ece5;
    --white: #fff;

    --green-dark: #33493f;
    --violet-dark: #6a5283;
    --red-dark: #5c0039;
    --mint-pale: #e9f0ed;
    --lilac-pale: #f6effd;
    --ink: var(--green);
    --muted: #5b6e66;
    --line: #e6dcd2;
    --error: #a32032;

    --font-headline: "Alice", Georgia, "Times New Roman", serif;
    --font-text: "Akatab", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --radius: 1.1rem;
    --shadow: 0 10px 30px rgb(66 94 84 / 8%);

    font-family: var(--font-text);
    font-size: 17px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--beige); color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }

/* Typografie: Alice für Headlines, Akatab für Fließtext und kleinere Zwischenüberschriften */
h1, h2, h3 { font-family: var(--font-headline); font-weight: 400; line-height: 1.15; letter-spacing: 0; color: var(--green); overflow-wrap: break-word; }
h1 { margin: .35rem 0 1.1rem; font-size: clamp(2.5rem, 5vw, 4.4rem); }
h2 { margin: .3rem 0 1rem; font-size: clamp(1.9rem, 3vw, 2.7rem); }
h3 { font-size: 1.35rem; }
h4, h5, h6, strong, b { font-family: var(--font-text); font-weight: 700; }
.lead { max-width: 700px; font-size: 1.18rem; color: var(--ink); }
.eyebrow { margin: 0 0 .35rem; font-size: .9rem; font-weight: 700; letter-spacing: .06em; }
.eyebrow, :is(.card, .section-heading, .prose, .feature) .eyebrow { color: var(--red); }

/* Header */
.site-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: .8rem max(5vw, calc((100vw - 1180px) / 2)); background: var(--white); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
/* Kreis-Variante: das innere Logo (~75 % des Kreises) bleibt über der CD-Mindestbreite von 80 px */
.brand img { display: block; width: 116px; height: auto; }
.site-header nav, .site-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 1.6rem; }
.site-header nav a { padding-block: .6rem; color: var(--green); text-decoration: none; font-size: 1rem; font-weight: 600; text-underline-offset: .45em; text-decoration-thickness: 2px; }
.site-header nav a:hover { color: var(--violet-dark); text-decoration-line: underline; text-decoration-color: var(--lilac); }
.site-header nav a[aria-current="page"] { color: var(--violet-dark); text-decoration-line: underline; text-decoration-color: var(--violet); }
.menu-toggle { display: none; align-items: center; gap: .7rem; padding: .65rem 0 .65rem .65rem; border: 0; background: transparent; color: var(--green); font: inherit; font-weight: 700; cursor: pointer; }
.menu-toggle-icon, .menu-toggle-icon::before, .menu-toggle-icon::after { display: block; width: 1.1rem; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, top .2s ease, background-color .2s ease; }
.menu-toggle-icon { position: relative; }
.menu-toggle-icon::before, .menu-toggle-icon::after { position: absolute; left: 0; content: ""; }
.menu-toggle-icon::before { top: -.35rem; }
.menu-toggle-icon::after { top: .35rem; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { top: 0; transform: rotate(45deg); background: currentColor; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after { top: 0; transform: rotate(-45deg); background: currentColor; }
.site-header nav[hidden] { display: none; }
:where(a, button, summary, input, textarea):focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

/* Buttons / CTAs */
/* CTAs im CD-Rot mit Alice, wie in der Layoutvorlage („Jetzt anmelden!“) */
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; margin-top: 1rem; padding: .8rem 1.85rem; border: 2px solid var(--red); border-radius: 999px; background: var(--red); box-shadow: 0 6px 18px rgb(122 0 75 / 20%); color: var(--white); font-family: var(--font-headline); font-size: 1.08rem; font-weight: 400; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease; }
.button:hover { border-color: var(--red-dark); background: var(--red-dark); box-shadow: 0 9px 22px rgb(122 0 75 / 26%); transform: translateY(-1px); }
.button-outline { border-color: var(--red); background: transparent; box-shadow: none; color: var(--red); }
.button-outline:hover { border-color: var(--red); background: var(--red); box-shadow: 0 6px 18px rgb(122 0 75 / 20%); color: var(--white); }
.button-full { width: 100%; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; margin-top: 1.6rem; }
.hero-actions .button { margin-top: 0; }
.text-link { display: inline-block; margin-block: -.65rem; padding-block: .65rem; color: var(--red); font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--green); text-decoration: underline; text-underline-offset: .3em; }

/* Grafikelement Herz aus dem CD-Paket, per Maske einfärbbar */
.brand-heart { display: inline-block; width: 1.6rem; height: 1.6rem; background: currentColor; -webkit-mask: url("../images/himama-element-heart.svg") center / contain no-repeat; mask: url("../images/himama-element-heart.svg") center / contain no-repeat; vertical-align: middle; }

/* Seitenköpfe */
.page-hero { position: relative; overflow: hidden; padding: 4.5rem max(6vw, calc((100vw - 1120px) / 2)); background: var(--lilac); }
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.4rem, 5vw, 4rem); }
.page-hero .lead { max-width: 750px; }
.hero-copy { max-width: 650px; }
.home-hero { padding-block: 5.5rem; }
/* Große weiße Bildmarke auf Flieder wie auf den CD-Kapitelseiten; nur dort, wo sie den Text nicht berührt */
@media (min-width: 1280px) {
    .page-hero::after { position: absolute; top: 50%; right: max(3vw, calc((100vw - 1240px) / 2)); height: min(80%, 22rem); aspect-ratio: 1; background: var(--white); content: ""; transform: translateY(-50%); -webkit-mask: url("../images/himama-bildmarke-green.svg") center / contain no-repeat; mask: url("../images/himama-bildmarke-green.svg") center / contain no-repeat; pointer-events: none; }
    .page-hero > *, .page-hero h1, .page-hero .lead { max-width: 42rem; }
}
.home-hero .hero-copy { max-width: 760px; }
/* Headerbilder aus dem CD-Bildpaket ersetzen die Bildmarke auf Seiten, für die es ein Motiv gibt */
.page-hero.has-image { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, clamp(15rem, 34vw, 25rem)); gap: 1.5rem clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding-block: 3.5rem; }
.page-hero.has-image::after { content: none; }
.hero-image { display: block; width: 100%; height: auto; }
.page-hero.has-image .hero-image { grid-column: 2; grid-row: 1; }
/* Mobil sitzt das Motiv klein neben der Überschrift; der Text umfließt die echte Bildkontur statt eines Rechtecks */
@media (max-width: 760px) {
    .page-hero h1 { font-size: clamp(2.05rem, 9vw, 2.4rem); }
    .page-hero.has-image { display: block; padding-block: 2rem 3rem; }
    .page-hero.has-image .hero-image { float: right; width: min(38%, 10rem); margin: -.4rem -.6rem .4rem .4rem; shape-outside: var(--hero-shape); shape-image-threshold: .25; shape-margin: .45rem; }
    .hero-image-wide-only { display: none; }
}

/* Sektionen */
.section { padding: 4.5rem max(6vw, calc((100vw - 1120px) / 2)); }
.section.narrow > * { max-width: 48rem; }
.section.narrow + .section.narrow { padding-top: 0; }
.section.narrow .section-heading { margin-inline: 0; text-align: left; }
.section-heading { max-width: 700px; margin: 0 auto 2.2rem; text-align: center; }
.section-heading p { color: var(--muted); }
.row-heading { display: flex; align-items: end; justify-content: space-between; max-width: none; text-align: left; }
.soft-section { background: var(--green); color: var(--white); text-align: center; }
.soft-section .section-heading { margin-bottom: 0; }
.soft-section .section-heading p { margin: 0 0 1.4rem; color: var(--white); font-family: var(--font-headline); font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.25; }

/* Karten & Features */
.feature-grid, .card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature { min-height: 100%; padding: 1.6rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.feature .brand-heart { width: 2.6rem; height: 2.6rem; color: var(--violet); }
.feature:nth-child(4n+2) .brand-heart { color: var(--green); }
.feature:nth-child(4n+3) .brand-heart { color: var(--red); }
.feature:nth-child(4n) .brand-heart { color: var(--green); }
.feature h3 { margin: .7rem 0 .45rem; }
.feature p, .card p, .prose p { color: var(--muted); }
.prose p, .prose ul, .prose ol { max-width: 72ch; }
.card { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.card h3 { margin: .25rem 0 .4rem; }
.card h3 a { text-decoration: none; }
.card .eyebrow { margin: 0; }
.event-card { position: relative; border-top: 6px solid var(--lilac); transition: box-shadow .15s ease, transform .15s ease; }
.event-card:hover, .event-card:focus-within { box-shadow: 0 16px 38px rgb(66 94 84 / 14%); transform: translateY(-2px); }
.card-link::after { position: absolute; inset: 0; border-radius: inherit; content: ""; }
.muted, .small { color: var(--muted); font-size: .92rem; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: 1rem; }

/* Community */
.section.community-directory { width: min(100%, 1600px); max-width: 1600px; margin-inline: auto; padding-inline: clamp(2rem, 5vw, 5rem); }
.community-launch { max-width: 1040px; margin: 0 auto; }
.community-featured { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 4vw, 3rem); border-left: 8px solid var(--violet); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.community-featured h2 { margin: .3rem 0 .75rem; }
.community-featured > p:not(.eyebrow) { color: var(--muted); }
.community-featured-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-top: 1rem; }
.community-featured-bottom strong { font-size: 1.15rem; }
.community-featured-bottom .button { margin-top: 0; }
.community-access-note { margin: .75rem 0 0; padding: .85rem 1rem .85rem 2.5rem; border-radius: .75rem; background: var(--lilac-pale); color: var(--ink); }
.community-access-note li + li { margin-top: .35rem; }
.community-coming-soon { max-width: 1040px; margin: clamp(3rem, 7vw, 5rem) auto 0; }
.community-coming-soon-heading { margin-bottom: 1.25rem; text-align: center; }
.community-coming-soon-heading .brand-heart { width: 2rem; height: 2rem; color: var(--violet); }
.community-coming-soon-heading h2 { margin-top: .3rem; }
.community-coming-soon-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.community-coming-soon-card { display: flex; min-height: 170px; align-items: center; justify-content: center; flex-direction: column; gap: .35rem; padding: 1.2rem; border-radius: var(--radius); background: var(--white); text-align: center; box-shadow: var(--shadow); }
.community-coming-soon-card .brand-heart { color: var(--lilac); }
.community-coming-soon-card h3 { margin: .3rem 0; }
.coming-soon-label { padding: .25rem .8rem; border-radius: 999px; background: var(--mint-pale); color: var(--green); font-size: .88rem; font-weight: 700; }

/* Events */
.empty-state { padding: 1.3rem; border-radius: .8rem; background: var(--lilac-pale); color: var(--muted); }
.events-coming-soon { max-width: 860px; margin: 0 auto; padding: clamp(2rem, 6vw, 4rem); border-radius: var(--radius); background: var(--white); text-align: center; box-shadow: var(--shadow); }
.events-coming-soon .brand-heart { width: 3rem; height: 3rem; color: var(--violet); }
.events-coming-soon .eyebrow { margin: .6rem 0 .3rem; }
.events-coming-soon h2 { margin: .25rem auto 0; }
.event-detail-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr); gap: 3rem; align-items: start; }
.event-copy h2 { margin-top: 0; }
.booking-card { position: sticky; top: 1rem; }
.ticket-price { margin: .4rem 0 .6rem; color: var(--green); font-family: var(--font-headline); font-size: 2.2rem; line-height: 1.1; }
.ticket-price span { display: block; margin-top: .3rem; color: var(--muted); font-family: var(--font-text); font-size: .9rem; }
.booking-card { scroll-margin-top: 1rem; }
.hero-ticket-link { display: none; }

/* Formulare */
label { display: block; margin: .75rem 0 .3rem; font-weight: 600; }
input:not([type="checkbox"]), textarea { width: 100%; min-height: 48px; padding: .65rem .85rem; border: 1px solid #cdbfb3; border-radius: .6rem; background: var(--white); color: var(--ink); font: inherit; }
textarea { min-height: 140px; resize: vertical; }
input:not([type="checkbox"]):focus-visible, textarea:focus-visible { outline: 3px solid rgb(129 104 155 / 30%); outline-offset: 0; border-color: var(--violet); }
.contact-form { margin-top: 2rem; padding: 1.6rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; }
.form-grid-full { grid-column: 1 / -1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.booking-form { margin-top: .75rem; }
.booking-form input { margin-bottom: .35rem; }
.checkbox-label { display: flex; align-items: flex-start; gap: .55rem; margin: 1rem 0; font-size: .92rem; font-weight: 400; }
.checkbox-label input { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin: .2rem 0 0; accent-color: var(--red); }
.checkbox-label a { color: var(--green); }
.form-error { margin: .15rem 0 .5rem; color: var(--error); font-size: .9rem; }

/* FAQ */
.faq-item { padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; cursor: pointer; font-weight: 700; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { flex: 0 0 auto; display: inline-grid; width: 1.9rem; height: 1.9rem; place-items: center; border-radius: 50%; background: var(--lilac); color: var(--green); font-size: 1.2rem; line-height: 1; content: "+"; }
.faq-item[open] summary::after { background: var(--violet); color: var(--white); content: "−"; }
.faq-item p { color: var(--muted); }

/* Fließtext & Rechtstexte */
.prose h2 { margin-top: 2.3rem; font-size: 1.7rem; }
.legal-text h2 { font-size: clamp(1.35rem, 2.4vw, 1.65rem); }
.legal-text ul { padding-left: 1.3rem; color: var(--muted); }
.legal-text li + li { margin-top: .3rem; }
.legal-text a { color: var(--green); overflow-wrap: anywhere; }
.legal-todo { padding: 0 .2rem; border-radius: .2rem; background: #fff2dd; color: #74500b; }
.signature { margin-top: 2.5rem; color: var(--violet-dark); font-family: var(--font-headline); font-size: 1.6rem; }

/* Bestätigungen */
.confirmation { padding: 3.5rem max(5vw, calc((100vw - 1120px) / 2)) 5.5rem; background: linear-gradient(var(--lilac) 0 12rem, var(--beige) 12rem); }
.confirmation-card { max-width: 40rem; margin: 0 auto; padding: 2.75rem 2.5rem 2.5rem; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); text-align: center; }
.confirmation-icon { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; margin: .5rem auto 1.5rem; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 .6rem var(--mint-pale); color: var(--white); }
.confirmation-icon svg { width: 2.2rem; height: 2.2rem; }
.confirmation-pending .confirmation-icon { background: var(--violet); box-shadow: 0 0 0 .6rem var(--lilac-pale); }
.confirmation-failed .confirmation-icon { background: var(--red); box-shadow: 0 0 0 .6rem rgb(122 0 75 / 10%); }
.confirmation h1 { margin: .25rem 0 1rem; font-size: clamp(2.2rem, 4.5vw, 3.1rem); text-wrap: balance; }
.confirmation-card > p { max-width: 32rem; margin-inline: auto; }
.confirmation-details { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.4rem; margin: 1.75rem 0 1rem; padding: 1.2rem 1.4rem; border-radius: .8rem; background: var(--beige); text-align: left; }
.confirmation-details dt { color: var(--muted); font-size: .92rem; line-height: 1.8; }
.confirmation-details dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.confirmation-reference { letter-spacing: .06em; }
.confirmation-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem 1rem; margin-top: 1.75rem; }
.confirmation-actions .button { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) {
    .confirmation-icon { animation: confirmation-pop .45s cubic-bezier(.2, .9, .3, 1.25) both; }
}
@keyframes confirmation-pop { from { opacity: 0; transform: scale(.5); } }
.notice { max-width: 1000px; margin: 1.5rem auto; padding: 1rem 1.2rem; border-radius: .7rem; background: var(--mint-pale); color: var(--green-dark); }
.notice.warning { background: #fff2dd; color: #74500b; }
.pagination { margin-top: 2rem; }

/* Footer: Logo-Variante „auf Grün“ */
.site-footer { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: 3.2rem max(5vw, calc((100vw - 1180px) / 2)); background: var(--green); color: var(--beige); text-align: center; }
.site-footer .brand img { width: 52px; }
.site-footer nav { justify-content: center; gap: 0 1.5rem; }
.site-footer nav a { display: inline-block; padding-block: .7rem; color: var(--white); text-decoration: none; font-size: .95rem; font-weight: 600; }
.site-footer nav a:hover { color: var(--lilac); text-decoration: underline; text-underline-offset: .3em; }
.site-footer .small { margin: 0; color: var(--beige); }

/* Mobiler Schnellzugang zur Community: Reiter am rechten Rand, der ein kleines CTA-Feld aufklappt */
.quick-cta { display: none; }
@media (max-width: 760px) {
    .quick-cta { display: block; position: fixed; right: 0; bottom: calc(6rem + env(safe-area-inset-bottom, 0px)); z-index: 40; transition: transform .25s ease, visibility .25s; }
    /* Am Seitenende weicht der Reiter, damit er die Footer-Links nicht verdeckt */
    .quick-cta.is-tucked { transform: translateX(110%); visibility: hidden; }
    .quick-cta > summary { display: flex; align-items: center; justify-content: center; width: 2.8rem; height: 3rem; padding-left: .2rem; border-radius: 999px 0 0 999px; background: var(--red); box-shadow: 0 6px 18px rgb(122 0 75 / 28%); color: var(--white); list-style: none; cursor: pointer; }
    .quick-cta > summary::-webkit-details-marker { display: none; }
    .quick-cta[open] > summary { background: var(--red-dark); }
    /* Bildmarke („hi“-Sprechblase) als Symbol; 1.75rem liegt über der CD-Mindestgröße von 24 px */
    .quick-cta-mark { width: 1.75rem; height: 1.75rem; background: currentColor; -webkit-mask: url("../images/himama-bildmarke-green.svg") center / contain no-repeat; mask: url("../images/himama-bildmarke-green.svg") center / contain no-repeat; }
    .quick-cta-close { display: none; position: relative; width: 1.2rem; height: 1.2rem; }
    .quick-cta-close::before, .quick-cta-close::after { position: absolute; top: calc(50% - 1px); left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; content: ""; }
    .quick-cta-close::before { transform: rotate(45deg); }
    .quick-cta-close::after { transform: rotate(-45deg); }
    .quick-cta[open] .quick-cta-mark { display: none; }
    .quick-cta[open] .quick-cta-close { display: block; }
    .quick-cta-panel { position: absolute; right: calc(100% + .6rem); bottom: 0; width: min(17.5rem, calc(100vw - 4.6rem)); padding: 1.25rem; border-radius: 18px; background: var(--white); box-shadow: 0 14px 40px rgb(51 73 63 / 24%); }
    .quick-cta[open] .quick-cta-panel { animation: quick-cta-in .2s ease-out; }
    .quick-cta-panel p { margin: 0; font-size: .98rem; }
    .quick-cta-panel .quick-cta-title { margin-bottom: .35rem; font-family: var(--font-headline); font-size: 1.35rem; line-height: 1.2; }
    .quick-cta-panel .button { width: 100%; margin-top: 1rem; }
    /* Beim Tippen in Formulare würde der Reiter über der Tastatur Felder verdecken */
    body:has(:is(input, textarea, select):focus) .quick-cta { display: none; }
}
@keyframes quick-cta-in { from { opacity: 0; transform: translateX(.75rem); } }

@media (prefers-reduced-motion: reduce) {
    .button:hover, .event-card:hover, .event-card:focus-within { transform: none; }
    .button, .event-card, .menu-toggle-icon, .menu-toggle-icon::before, .menu-toggle-icon::after { transition: none; }
    .quick-cta, .quick-cta[open] .quick-cta-panel { transition: none; animation: none; }
}

@media (max-width: 760px) {
    .site-header { flex-wrap: wrap; gap: .6rem 1rem; padding: .7rem 5vw; }
    .site-header.has-mobile-menu .menu-toggle { display: inline-flex; margin-left: auto; }
    .site-header nav { flex-basis: 100%; align-items: stretch; flex-direction: column; gap: .15rem; padding: .35rem 0 .15rem; }
    .site-header nav a { padding: .6rem 0; border-top: 1px solid var(--line); }
    .site-footer nav { gap: 0 1rem; }
    .site-footer nav a { font-size: .9rem; }
    .brand img { width: 108px; }
    .section, .page-hero { padding: 3.2rem 6vw; }
    .home-hero { padding-block: 3.6rem; }
    .hero-ticket-link { display: inline-flex; }
    .feature-grid, .card-grid { grid-template-columns: 1fr; }
    .row-heading { align-items: flex-start; flex-direction: column; }
    .section.community-directory { padding-inline: 6vw; }
    .community-coming-soon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .community-featured { border-left-width: 6px; }
    .community-featured-bottom { align-items: stretch; flex-direction: column; }
    .event-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
    .booking-card { position: static; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid-full { grid-column: auto; }
    .confirmation { padding: 2rem 1rem 3.5rem; background: linear-gradient(var(--lilac) 0 8rem, var(--beige) 8rem); }
    .confirmation-card { padding: 2rem 1.25rem 1.5rem; }
    .confirmation-details { grid-template-columns: 1fr; gap: 0; padding: 1rem 1.1rem; }
    .confirmation-details dd + dt { margin-top: .6rem; }
    .confirmation-actions .button { width: 100%; }
}

@media (min-width: 761px) and (max-width: 1050px) {
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button, .community-featured-bottom .button { width: 100%; }
    .contact-form { padding: 1.1rem; }
    .contact-form .button { width: 100%; }
    .button { padding-inline: 1.15rem; }
}
