/* =========================================================
   Reiterhof am Berg — Stylesheet
   Klar, ruhig, elegant. Inspiriert von Apple's Designsprache.
   ========================================================= */

:root {
    --color-bg: #ffffff;
    --color-bg-alt: #f5f5f7;
    --color-bg-dark: #1d1d1f;
    --color-text: #1d1d1f;
    --color-text-muted: #6e6e73;
    --color-text-light: #86868b;
    --color-text-inverse: #f5f5f7;
    --color-accent: #5a7d52;
    --color-accent-dark: #425e3c;
    --color-line: #d2d2d7;

    --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;

    --max-width: 1200px;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 28px;

    --transition-fast: 0.2s ease;
    --transition: 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}

ul {
    list-style: none;
}

/* =========================================================
   Typography
   ========================================================= */

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.08;
    color: var(--color-text);
}

.hero-title {
    font-size: clamp(34px, 8vw, 80px);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: clamp(17px, 2.4vw, 28px);
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: -0.01em;
    line-height: 1.45;
    margin-top: 20px;
}

.section-eyebrow {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-bottom: 24px;
}

.section-lead {
    font-size: clamp(16px, 2vw, 22px);
    color: var(--color-text-muted);
    line-height: 1.5;
    max-width: 720px;
}

/* =========================================================
   Layout helpers
   ========================================================= */

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
}

.section-tight {
    padding: 80px 0;
}

@media (max-width: 760px) {
    .container,
    .container-wide {
        padding: 0 20px;
    }
    .section {
        padding: 72px 0;
    }
    .section-tight {
        padding: 48px 0;
    }
}

@media (max-width: 480px) {
    .container,
    .container-wide {
        padding: 0 18px;
    }
    .section {
        padding: 56px 0;
    }
    .section-tight {
        padding: 40px 0;
    }
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-dark {
    background: var(--color-bg-dark);
    color: var(--color-text-inverse);
}

.section-dark .section-title,
.section-dark h1,
.section-dark h2,
.section-dark h3 {
    color: var(--color-text-inverse);
}

.section-dark .section-lead,
.section-dark .text-muted {
    color: rgba(245, 245, 247, 0.7);
}

.text-center {
    text-align: center;
}

.text-center .section-lead {
    margin-left: auto;
    margin-right: auto;
}

/* =========================================================
   Navigation
   ========================================================= */

.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.nav-brand-mark {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-brand-text {
    line-height: 1.1;
}

.nav-brand-tag {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu a {
    font-size: 14px;
    color: var(--color-text-muted);
    font-weight: 400;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--color-text);
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    width: 36px;
    height: 36px;
    cursor: pointer;
    color: var(--color-text);
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 760px) {
    .nav-menu {
        position: fixed;
        inset: 64px 0 auto 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        gap: 0;
        padding: 8px 0 max(16px, env(safe-area-inset-bottom));
        border-bottom: 1px solid var(--color-line);
        transform: translateY(calc(-100% - 64px));
        visibility: hidden;
        transition: transform var(--transition), visibility var(--transition);
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }

    .nav-menu.is-open {
        transform: translateY(0);
        visibility: visible;
    }

    /* Kein Animations-Flash beim Breakpoint-/Resize-Wechsel */
    .nav-menu.no-anim {
        transition: none;
    }

    .nav-menu a {
        width: 100%;
        padding: 18px 24px;
        font-size: 17px;
        color: var(--color-text);
        border-bottom: 1px solid var(--color-line);
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    .nav-menu a:last-child {
        border-bottom: 0;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .nav-brand-tag {
        display: none;
    }
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    border-radius: 980px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
}

.btn-primary {
    background: var(--color-text);
    color: var(--color-text-inverse);
}

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

@media (hover: hover) {
    .btn-primary:hover {
        background: var(--color-accent);
        color: #fff;
    }
    .btn-ghost:hover {
        background: var(--color-text);
        color: var(--color-text-inverse);
        border-color: var(--color-text);
    }
}

.btn-primary:active,
.btn-ghost:active {
    transform: scale(0.97);
}

.btn-link {
    color: var(--color-accent);
    font-size: 17px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-link::after {
    content: "›";
    font-size: 22px;
    line-height: 1;
    transition: transform var(--transition-fast);
}

.btn-link:hover::after {
    transform: translateX(4px);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
}

@media (max-width: 480px) {
    .btn-row .btn {
        flex: 1 1 100%;
    }
}

/* =========================================================
   Hero (Landing)
   ========================================================= */

.hero {
    position: relative;
    min-height: 92vh;
    min-height: 88svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--color-bg-alt);
    padding: 120px 24px 80px;
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
}

@media (max-width: 760px) {
    .hero {
        min-height: 78svh;
        padding: 96px 20px 64px;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 38%;
    background-image: url('../assets/images/image3.jpeg');
    z-index: 0;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.15) 35%,
        rgba(0, 0, 0, 0.55) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
    color: #fff;
    animation: rise 1.2s cubic-bezier(0.32, 0.72, 0, 1) both;
}

.hero-content .hero-title,
.hero-content .hero-subtitle {
    color: #fff;
}

.hero-content .hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 980px;
    color: #fff;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero .btn-row {
    justify-content: center;
    margin-top: 48px;
}

.hero .btn-primary {
    background: #fff;
    color: var(--color-text);
}

.hero .btn-primary:hover {
    background: var(--color-accent);
    color: #fff;
}

.hero .btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn-ghost:hover {
    background: #fff;
    color: var(--color-text);
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   Page hero (Subpages)
   ========================================================= */

.page-hero {
    padding: 140px 0 80px;
    background: var(--color-bg-alt);
    text-align: center;
}

@media (max-width: 760px) {
    .page-hero {
        padding: 104px 0 56px;
    }
}

.page-hero .section-eyebrow {
    margin-bottom: 12px;
}

.page-hero .hero-title {
    font-size: clamp(40px, 6vw, 68px);
    margin: 0 auto;
    max-width: 900px;
}

.page-hero .hero-subtitle {
    margin: 24px auto 0;
    max-width: 720px;
}

/* =========================================================
   Cards / Feature blocks
   ========================================================= */

.grid {
    display: grid;
    gap: 24px;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

@media (hover: hover) {
    .feature-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 24px 48px rgba(0, 0, 0, 0.08);
    }
}

.feature-card-image {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
}

.feature-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

@media (max-width: 640px) {
    .feature-card-body {
        padding: 24px;
    }
}

.feature-card h3 {
    font-size: 24px;
    letter-spacing: -0.015em;
}

.feature-card p {
    color: var(--color-text-muted);
    line-height: 1.55;
    flex: 1;
}

.feature-card-meta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-line);
    font-size: 14px;
    color: var(--color-text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

/* =========================================================
   Showcase row (Image + text alternating)
   ========================================================= */

.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.showcase + .showcase {
    margin-top: 120px;
}

@media (max-width: 760px) {
    .showcase + .showcase {
        margin-top: 64px;
    }
}

.showcase-reverse .showcase-media {
    order: 2;
}

.showcase-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.showcase-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--transition);
}

@media (hover: hover) {
    .showcase-media:hover img {
        transform: scale(1.04);
    }
}

.showcase-text .section-eyebrow {
    margin-bottom: 12px;
}

.showcase-text h2 {
    font-size: clamp(28px, 3.5vw, 44px);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.showcase-text p {
    color: var(--color-text-muted);
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: 16px;
}

@media (max-width: 880px) {
    .showcase {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .showcase-reverse .showcase-media {
        order: 0;
    }
    .showcase-media {
        aspect-ratio: 4 / 3;
    }
}

/* =========================================================
   Pillar (Three values)
   ========================================================= */

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
    margin-top: 64px;
}

.pillar h3 {
    font-size: 22px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.pillar p {
    color: var(--color-text-muted);
    line-height: 1.55;
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent);
    color: #fff;
    margin-bottom: 24px;
    font-size: 20px;
}

@media (max-width: 880px) {
    .pillars {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* =========================================================
   Horse profile (Pferde-Seite)
   ========================================================= */

.profile {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: center;
    padding: 64px 0;
    border-bottom: 1px solid var(--color-line);
}

@media (max-width: 760px) {
    .profile {
        padding: 40px 0;
    }
}

.profile:last-child {
    border-bottom: 0;
}

.profile-reverse .profile-media {
    order: 2;
}

.profile-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
}

.profile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Strichzeichnung / Karikatur vollständig auf weißem Grund zeigen */
.profile-media--cartoon {
    aspect-ratio: auto;
    background: #fff;
    border: 1px solid var(--color-line);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.profile-media--cartoon img {
    height: auto;
    object-fit: contain;
}

/* Kindergeburtstage – Karikaturen-Collage */
.birthday-stage {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    column-gap: 48px;
    align-items: center;
}

.birthday-art-main {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    align-self: start;
}

.birthday-text {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    padding: 8px 0 16px;
}

.birthday-text p {
    color: var(--color-text-muted);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 18px;
}

.birthday-text .offer-price {
    display: inline-block;
    margin-top: 4px;
}

.birthday-art-gallop {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    width: 115%;
    margin: 0;
    transform: rotate(6deg) translate(8px, -16px);
}

.birthday-art-main img,
.birthday-art-gallop img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.13);
}

@media (max-width: 760px) {
    .birthday-stage {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }
    .birthday-art-main,
    .birthday-text,
    .birthday-art-gallop {
        grid-column: 1;
        grid-row: auto;
    }
    .birthday-art-main {
        max-width: 360px;
        margin: 0 auto;
    }
    .birthday-art-gallop {
        width: 100%;
        max-width: 460px;
        justify-self: center;
        margin: 0 auto;
        transform: rotate(3deg);
    }
}

.profile-text .profile-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.profile-text h2 {
    font-size: clamp(36px, 5vw, 56px);
    letter-spacing: -0.025em;
    margin-bottom: 16px;
}

.profile-text p {
    color: var(--color-text-muted);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.profile-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--color-line);
}

.profile-meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-meta-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
}

.profile-meta-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
}

@media (max-width: 880px) {
    .profile {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .profile-reverse .profile-media {
        order: 0;
    }
}

/* =========================================================
   Times / Schedule
   ========================================================= */

.schedule {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
}

.schedule-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 24px 32px;
    border-bottom: 1px solid var(--color-line);
    align-items: center;
}

.schedule-row:last-child {
    border-bottom: 0;
}

.schedule-row strong {
    font-weight: 600;
}

.schedule-day {
    font-size: 17px;
    color: var(--color-text);
    font-weight: 500;
}

.schedule-time {
    font-size: 17px;
    color: var(--color-text-muted);
    text-align: right;
}

.schedule-note {
    margin-top: 24px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 15px;
}

@media (max-width: 640px) {
    .schedule-row {
        padding: 18px 20px;
    }
    .schedule-day,
    .schedule-time {
        font-size: 15px;
    }
}

/* =========================================================
   Pricing / Offers list
   ========================================================= */

.offer-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.offer-item {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--color-line);
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

@media (hover: hover) {
    .offer-item:hover {
        border-color: var(--color-accent);
        transform: translateY(-2px);
    }
}

@media (max-width: 480px) {
    .offer-item {
        padding: 24px;
    }
}

.offer-item h3 {
    font-size: 20px;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.offer-item p {
    color: var(--color-text-muted);
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.55;
}

.offer-price {
    font-size: 14px;
    color: var(--color-accent);
    font-weight: 500;
}

@media (max-width: 640px) {
    .offer-list {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   CTA banner
   ========================================================= */

.cta-banner {
    background: var(--color-bg-dark);
    color: var(--color-text-inverse);
    border-radius: var(--radius-lg);
    padding: 80px 48px;
    text-align: center;
    margin: 80px 24px 0;
}

@media (max-width: 760px) {
    .cta-banner {
        padding: 56px 28px;
        margin: 40px 16px 0;
        border-radius: var(--radius-md);
    }
}

@media (max-width: 480px) {
    .cta-banner {
        padding: 44px 22px;
        margin: 32px 12px 0;
    }
}

.cta-banner h2 {
    color: var(--color-text-inverse);
    font-size: clamp(28px, 4vw, 44px);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-banner p {
    color: rgba(245, 245, 247, 0.75);
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 18px;
}

.cta-banner .btn-primary {
    background: #fff;
    color: var(--color-text);
}

.cta-banner .btn-primary:hover {
    background: var(--color-accent);
    color: #fff;
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
    background: var(--color-bg-alt);
    padding: 64px 0 32px;
    padding-bottom: max(32px, env(safe-area-inset-bottom));
    color: var(--color-text-muted);
    font-size: 14px;
}

@media (max-width: 760px) {
    .footer {
        padding-top: 48px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    letter-spacing: -0.01em;
}

.footer h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid var(--color-line);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--color-text-light);
}

@media (max-width: 880px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Contact form / details
   ========================================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 760px) {
    .contact-grid {
        gap: 32px;
    }
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 12px;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-value {
    font-size: 19px;
    color: var(--color-text);
    font-weight: 500;
}

.contact-value a:hover {
    color: var(--color-accent);
}

.map-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    border: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 880px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Strip gallery (image marquee row)
   ========================================================= */

.strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    margin-top: 64px;
}

.strip img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@media (max-width: 880px) {
    .strip {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 40px;
    }
}

/* =========================================================
   Legal page
   ========================================================= */

.legal {
    max-width: 760px;
    margin: 0 auto;
}

.legal h2 {
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 16px;
    letter-spacing: -0.015em;
}

.legal h2:first-of-type {
    margin-top: 0;
}

.legal p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.legal address {
    font-style: normal;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* =========================================================
   Reveal-on-scroll animation
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s var(--transition);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   Reduced motion
   ========================================================= */

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