/* ==========================================================================
   GECUM GmbH – Modern Editorial Light Theme (Style A: Hell & Gastfreundlich)
   Zero external dependencies · 100% locally served · WCAG AA compliant
   ========================================================================== */

:root {
    --bg: #F7F8F5;
    --surface: #FFFFFF;
    --surface-soft: #EFF2EA;
    --ink: #1B1E23;
    --ink-muted: #505762;
    --ink-subtle: #6D7582;
    --border: #E0E5DA;
    --border-strong: #CBD3C2;

    --brand: #8CBF1F;
    --brand-hover: #7DAE17;
    --brand-ink: #151C06;
    --brand-text: #4F7208;
    --brand-soft: rgba(140, 191, 31, 0.13);
    --brand-ring: rgba(140, 191, 31, 0.35);

    --dark-bg: #1D2128;
    --dark-surface: #252A33;
    --dark-ink: #F5F7F2;
    --dark-muted: #B8C0CC;
    --dark-border: rgba(255, 255, 255, 0.12);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;

    --shadow-sm: 0 2px 8px rgba(20, 26, 15, 0.05);
    --shadow-md: 0 14px 32px -14px rgba(20, 26, 15, 0.14);
    --shadow-lg: 0 24px 60px -20px rgba(15, 20, 12, 0.28);

    --container: 1120px;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
select {
    font-family: inherit;
    font-size: inherit;
}

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

[hidden] {
    display: none !important;
}

/* Skip Link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 1000;
    background: var(--dark-bg);
    color: var(--dark-ink);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.skip-link:focus {
    left: 12px;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
    text-align: center;
}

.btn:active {
    transform: translateY(1px);
}

.btn-sm {
    padding: 9px 16px;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--brand);
    color: var(--brand-ink);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--brand-hover);
    box-shadow: 0 8px 20px -10px rgba(108, 152, 16, 0.55);
}

.btn-secondary {
    background-color: var(--surface);
    color: var(--ink);
    border-color: var(--border-strong);
}

.btn-secondary:hover {
    border-color: var(--brand);
    background-color: var(--surface-soft);
}

.btn-ghost {
    background-color: transparent;
    color: var(--ink-muted);
    border-color: var(--border);
}

.btn-ghost:hover {
    color: var(--ink);
    border-color: var(--border-strong);
    background-color: var(--surface-soft);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 74px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-logo {
    height: 36px;
    width: auto;
}

.main-nav {
    display: none;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ink-muted);
    position: relative;
    padding-block: 4px;
    transition: color 0.15s ease;
}

.main-nav a:hover {
    color: var(--ink);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-actions .btn-primary {
    display: none;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
}

.nav-toggle:hover {
    border-color: var(--brand);
}

.mobile-nav {
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-block: 16px 20px;
}

.mobile-nav-inner a:not(.btn) {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--ink);
}

.mobile-nav-inner a:not(.btn):hover {
    background: var(--surface-soft);
}

.mobile-nav-inner .btn {
    margin-top: 8px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding-block: 56px 64px;
    background:
        radial-gradient(circle at 88% 12%, rgba(140, 191, 31, 0.17), transparent 48%),
        radial-gradient(circle at 8% 92%, rgba(140, 191, 31, 0.08), transparent 45%),
        var(--bg);
    border-bottom: 1px solid var(--border);
}

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

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-text);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    flex-shrink: 0;
}

.hero h1 {
    margin: 18px 0 16px;
    font-size: clamp(2rem, 4.4vw, 3.25rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
    font-weight: 800;
    color: var(--ink);
}

.hero h1 .accent {
    color: var(--brand-text);
    display: block;
    margin-top: 4px;
}

.hero-lead {
    margin: 0 0 26px;
    font-size: 1.0625rem;
    color: var(--ink-muted);
    max-width: 58ch;
}

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

.acronym u {
    text-decoration-color: var(--brand);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-quick-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.hero-quick-contact a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 500;
    transition: color 0.15s ease;
}

.hero-quick-contact a:hover {
    color: var(--brand-text);
}

.hero-quick-contact svg {
    color: var(--brand-text);
    flex-shrink: 0;
}

/* Right Corporate Pillar Overview Card */
.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #54575F 0%, var(--brand) 100%);
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.hero-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-text);
}

.hero-card-sub {
    font-size: 0.8125rem;
    color: var(--ink-subtle);
}

.pillar-list {
    display: grid;
    gap: 12px;
}

.pillar-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 15px;
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    border: 1px solid var(--border);
}

.pillar-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: var(--brand-text);
    font-weight: 800;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pillar-box h2 {
    margin: 0 0 4px;
    font-size: 0.975rem;
    font-weight: 700;
}

.pillar-box p {
    margin: 0;
    font-size: 0.84rem;
    color: var(--ink-muted);
    line-height: 1.5;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.stat-item {
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
}

.stat-value {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--ink-muted);
    margin-top: 2px;
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */
.section {
    padding-block: 68px;
}

.section-alt {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 36px;
}

.section-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--brand-text);
    margin-bottom: 8px;
}

.section-title {
    margin: 0 0 10px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.section-subtitle {
    margin: 0;
    color: var(--ink-muted);
    max-width: 60ch;
    font-size: 1rem;
}

/* ==========================================================================
   Services Grid & Filter
   ========================================================================== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--ink-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.16s ease;
}

.filter-btn:hover {
    border-color: var(--brand);
    color: var(--ink);
}

.filter-btn.is-active {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--brand-ink);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    text-align: left;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    border-color: var(--brand);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.service-card.is-hidden {
    display: none;
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand-text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink-muted);
    background: var(--surface-soft);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.service-card h3 {
    margin: 0 0 8px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.service-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ink-muted);
    line-height: 1.55;
}

.service-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--surface-soft);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-text);
}

.service-arrow {
    transition: transform 0.18s ease;
}

.service-card:hover .service-arrow {
    transform: translateX(4px);
}

/* ==========================================================================
   Dark Editorial Band ("Aus der Praxis")
   ========================================================================== */
.praxis-band {
    background: var(--dark-bg);
    color: var(--dark-ink);
    padding-block: 72px;
}

.praxis-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.praxis-intro {
    max-width: 68ch;
}

.praxis-band .section-kicker {
    color: #A4DA2B;
}

.praxis-band .section-title {
    color: var(--dark-ink);
}

.praxis-lead {
    margin: 0;
    color: var(--dark-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.praxis-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.praxis-card {
    min-width: 0;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.praxis-card-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #A4DA2B;
    margin-bottom: 6px;
}

.praxis-card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--dark-ink);
}

.praxis-card p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--dark-muted);
    line-height: 1.55;
}

/* ==========================================================================
   Standorte Section
   ========================================================================== */
.locations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.location-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
}

.location-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-text);
    background: var(--brand-soft);
    padding: 4px 10px;
    border-radius: 999px;
    width: fit-content;
}

.location-card h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.location-address {
    margin: 0;
    font-size: 0.95rem;
    color: var(--ink-muted);
}

.location-note {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--ink-subtle);
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.location-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-text);
}

.location-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   FAQ Section (SEO / GEO / AEO)
   ========================================================================== */
.faq-list {
    display: grid;
    gap: 12px;
    max-width: 860px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq-item[open] {
    border-color: var(--brand);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--surface-soft);
    color: var(--brand-text);
    font-size: 1.15rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.faq-item[open] summary::after {
    content: "−";
    background: var(--brand);
    color: var(--brand-ink);
}

.faq-answer {
    padding: 0 22px 20px;
    margin: 0;
    font-size: 0.9375rem;
    color: var(--ink-muted);
    line-height: 1.65;
}

/* ==========================================================================
   Direct Contact Section
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}

.contact-cards {
    display: grid;
    gap: 14px;
}

.contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
}

.contact-card-main {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand-text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink-subtle);
}

.contact-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    word-break: break-word;
}

.contact-value a:hover {
    color: var(--brand-text);
    text-decoration: underline;
}

.contact-assistant {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
}

.contact-assistant h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 700;
}

.contact-assistant > p {
    margin: 0 0 20px;
    font-size: 0.925rem;
    color: var(--ink-muted);
}

.field-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.topic-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--ink);
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.copy-feedback {
    margin-top: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-text);
    min-height: 1.2em;
}

.external-callout {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.external-callout a {
    font-weight: 700;
    color: var(--brand-text);
}

.external-callout a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Accessible Service Modal
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(20, 24, 30, 0.58);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop[hidden] {
    display: none;
}

.modal-dialog {
    background: var(--surface);
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: min(88vh, 720px);
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    padding: 28px;
    position: relative;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.modal-title-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.modal-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--brand-soft);
    color: var(--brand-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-pillar {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-text);
    background: var(--brand-soft);
    padding: 3px 10px;
    border-radius: 999px;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.25;
}

.modal-close {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
}

.modal-close:hover {
    border-color: var(--brand);
    background: var(--surface-soft);
}

.modal-body p {
    margin: 0 0 14px;
    color: var(--ink-muted);
    font-size: 0.975rem;
    line-height: 1.65;
}

.modal-highlights {
    list-style: none;
    padding: 16px 18px;
    margin: 18px 0 0;
    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: grid;
    gap: 8px;
}

.modal-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--ink);
}

.modal-highlights li::before {
    content: "✓";
    color: var(--brand-text);
    font-weight: 800;
    flex-shrink: 0;
}

.modal-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.modal-footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.modal-external-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ==========================================================================
   Legal Pages (Impressum & Datenschutz)
   ========================================================================== */
.legal-hero {
    padding-block: 44px 32px;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
}

.legal-hero h1 {
    margin: 8px 0 8px;
    font-size: clamp(1.75rem, 3.2vw, 2.4rem);
    letter-spacing: -0.02em;
}

.legal-hero p {
    margin: 0;
    color: var(--ink-muted);
}

.legal-content {
    padding-block: 44px 72px;
}

.legal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 44px);
    max-width: 820px;
}

.legal-card h2 {
    margin: 28px 0 10px;
    font-size: 1.2rem;
    color: var(--ink);
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.legal-card h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-card h3 {
    margin: 18px 0 6px;
    font-size: 1rem;
    color: var(--ink);
}

.legal-card p,
.legal-card li {
    color: var(--ink-muted);
    font-size: 0.95rem;
    line-height: 1.68;
}

.legal-card ul {
    padding-left: 20px;
    margin: 8px 0 14px;
}

.legal-card a {
    color: var(--brand-text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-text);
    margin-bottom: 14px;
}

.legal-back:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding-top: 52px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 30px;
    width: auto;
    margin-bottom: 12px;
}

.footer-tagline {
    margin: 0 0 8px;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.footer-address {
    margin: 0;
    font-size: 0.84rem;
    color: var(--ink-subtle);
}

.footer-col h3 {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink);
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--ink-muted);
    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: var(--brand-text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    background: var(--bg);
    padding-block: 18px;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.8125rem;
    color: var(--ink-subtle);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (min-width: 640px) {
    .container {
        padding-inline: 28px;
    }

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

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

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

    .header-actions .btn-primary {
        display: inline-flex;
    }

    .footer-grid {
        grid-template-columns: 1.6fr 1fr 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .main-nav {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }

    .mobile-nav {
        display: none !important;
    }

    .hero {
        padding-block: 76px 84px;
    }

    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 48px;
    }

    .section-header-row {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

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

    .contact-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 36px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
