/*
   Urdorfnord Haustechnik — Stylesheet

   File structure:
     index.html
     css/styles.css
     js/main.js
     assets/images/
       logo.jpeg
       hero-placeholder.svg
       about-placeholder.svg
*/
/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: Inter, sans-serif;
    color: var(--text-1);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    font-feature-settings: 'liga' 1, 'calt' 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@supports (font-variation-settings: normal) {
    body {
        font-family: InterVariable, sans-serif;
    }
}

img { display: block; max-width: 100%; }
ul[role="list"] { list-style: none; }
a { color: inherit; }


/* Design Tokens */
:root {
    /* Brand */
    --accent:         #1E5EF3;
    --accent-light:   #EBF1FE;
    --accent-dark:    #1347D4;
    --accent-subtle:  #F0F5FF;

    /* Navy (dark sections) */
    --navy:           #080F1E;
    --navy-2:         #0D1929;

    /* Text */
    --text-1:  #111118;
    --text-2:  #52525C;
    --text-3:  #9090A0;

    /* Surfaces */
    --bg:      #FFFFFF;
    --bg-2:    #F5F5F3;
    --border:  #E5E5E8;

    /* Layout */
    --r:       14px;
    --r-sm:    10px;
    --max-w:   1180px;

    /* Shadows */
    --shadow-sm: 0 1px 4px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,.07), 0 12px 40px rgba(0,0,0,.09);
}


/*  TYPOGRAPHY HELPERS */
.sec-label {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1rem;
}
.sec-label::before {
    content: '';
    width: 20px; height: 2px;
    background: currentColor;
    border-radius: 2px;
    flex-shrink: 0;
}
.sec-label-inv { color: rgba(255,255,255,.55); }
.sec-label-inv::before { background: rgba(255,255,255,.55); }

.sec-title {
    font-size: clamp(1.9rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -.02em;
    margin-bottom: 1.1rem;
}
.sec-title-inv { color: #fff; }

.sec-sub {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.78;
    max-width: 560px;
}
.sec-sub-inv { color: rgba(255,255,255,.72); }

.section-header {
    text-align: center;
    max-width: 580px;
    margin: 0 auto 3.5rem;
}
.section-header .sec-sub { margin: 0 auto; }


/*  BUTTONS  */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--accent);
    color: #fff;
    padding: .875rem 1.75rem;
    border-radius: var(--r-sm);
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 2px 12px rgba(30,94,243,.35);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(30,94,243,.45);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    color: var(--text-1);
    padding: .875rem 1.75rem;
    border-radius: var(--r-sm);
    border: 1.5px solid var(--border);
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s, color .2s, background .2s;
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-subtle);
}


/*  NAVIGATION  */
nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 200;
    height: 66px;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .3s;
}
nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-logo {
    display: flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    flex-shrink: 0;
}
.nav-logo-img {
    height: 36px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    background: var(--accent-light);
}
.nav-logo-wordmark {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-1);
    letter-spacing: -.02em;
}
.nav-logo-wordmark .dot { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: .25rem;
    list-style: none;
}
.nav-links a {
    display: block;
    padding: .45rem .85rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-2);
    text-decoration: none;
    border-radius: 8px;
    transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--accent); background: var(--accent-subtle); }
.nav-links a.is-active { color: var(--accent); }

.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: .45rem 1.1rem !important;
    box-shadow: 0 2px 10px rgba(30,94,243,.3);
}
.nav-cta:hover {
    background: var(--accent-dark) !important;
    color: #fff !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px; height: 38px;
    padding: .5rem;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color .2s;
}
.hamburger:hover { border-color: var(--accent); }
.bar {
    width: 18px; height: 2px;
    background: var(--text-1);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}
.hamburger[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* Hero */
.hero {
    position: relative;
    min-height: 100svh;
    padding: 9rem 2.5rem 5rem;
    display: flex;
    align-items: center;
    background: #fff;
    overflow: hidden;
}

/* dot-grid background texture */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #CBD5E8 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: .35;
    pointer-events: none;
}

/* Ambient colour blobs */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(72px);
}
.hero-glow-1 {
    width: 600px; height: 600px;
    top: -180px; right: -80px;
    background: radial-gradient(circle, #DBEAFE 0%, transparent 65%);
    opacity: .8;
}
.hero-glow-2 {
    width: 400px; height: 400px;
    bottom: -100px; left: -80px;
    background: radial-gradient(circle, #EEF3FF 0%, transparent 65%);
    opacity: .6;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Hero left */
.hero-title {
    font-size: clamp(2.6rem, 5.5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.03em;
    margin-bottom: 1.4rem;
}
.hero-title em { color: var(--accent); font-style: normal; }

.hero-sub {
    font-size: 1.05rem;
    color: var(--text-2);
    line-height: 1.78;
    max-width: 460px;
    margin-bottom: 2.25rem;
}

.hero-actions {
    display: flex;
    gap: .875rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.75rem;
}
.stat-box {
    flex: 1 1 100px;
    min-width: 100px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 1rem 1.1rem;
    text-align: center;
    transition: border-color .2s, box-shadow .2s;
}
.stat-box:hover {
    border-color: #B8CBFE;
    box-shadow: 0 2px 16px rgba(30,94,243,.1);
}
.stat-n {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -.02em;
}
.stat-l { font-size: .72rem; color: var(--text-3); margin-top: .15rem; font-weight: 500; }

/* Hero right — feature cards */
.hero-cards { display: flex; flex-direction: column; gap: .875rem; }

.hero-img-wrap {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.hero-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: var(--accent-light);
}
.hero-img-badge {
    position: absolute;
    bottom: .875rem; left: .875rem;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 100px;
    padding: .4rem .9rem;
    font-size: .75rem;
    font-weight: 600;
    color: var(--accent);
    box-shadow: var(--shadow-sm);
}
.hero-img-badge svg { flex-shrink: 0; color: var(--accent); }

/* Floating info card */
.hcard {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.25rem 1.4rem;
    box-shadow: var(--shadow-sm);
}
.hcard-row {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: .875rem;
}
.hcard-icon {
    width: 44px; height: 44px;
    background: var(--accent-light);
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hcard-icon svg { width: 20px; height: 20px; stroke: var(--accent); }
.hcard-title { font-weight: 700; font-size: .9rem; color: var(--text-1); }
.hcard-sub { font-size: .78rem; color: var(--text-3); margin-top: .1rem; }
.hcard-note {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: var(--accent-light);
    border-radius: 8px;
    padding: .75rem 1rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--accent);
}

/* Mini stat cards */
.hcard-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .875rem; }
.hcard-mini {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 1.1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .2s, transform .2s;
}
.hcard-mini:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.hcard-big {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -.02em;
}
.hcard-mini-label { font-size: .74rem; color: var(--text-3); margin-top: .3rem; line-height: 1.5; font-weight: 500; }


/* Section Base */
.section-light  { background: var(--bg); }
.section-tinted { background: var(--bg-2); }
.section-dark   { background: var(--navy); }

section { padding: 6.5rem 2.5rem; }
.container { max-width: var(--max-w); margin: 0 auto; }


/* Über uns */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5.5rem;
    align-items: start;
}

.features { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.feat { display: flex; align-items: flex-start; gap: 1rem; }
.feat-icon {
    width: 42px; height: 42px;
    background: var(--accent-light);
    border-radius: 11px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background .2s;
}
.feat:hover .feat-icon { background: var(--accent); }
.feat-icon svg { width: 19px; height: 19px; stroke: var(--accent); transition: stroke .2s; }
.feat:hover .feat-icon svg { stroke: #fff; }
.feat h4 { font-size: .93rem; font-weight: 700; color: var(--text-1); margin-bottom: .25rem; }
.feat p { font-size: .85rem; color: var(--text-2); line-height: 1.65; }

.about-right { display: flex; flex-direction: column; gap: 1rem; }

.about-img-wrap {
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.about-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: var(--accent-light);
}

.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.astat {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 1.5rem;
    text-align: center;
}
.astat-accent {
    grid-column: span 2;
    background: var(--accent);
    border-color: var(--accent);
}
.astat-n {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.03em;
}
.astat-accent .astat-n { color: #fff; }
.astat:not(.astat-accent) .astat-n { color: var(--accent); }
.astat-d { font-size: .8rem; margin-top: .45rem; line-height: 1.4; font-weight: 500; }
.astat-accent .astat-d { color: rgba(255,255,255,.75); }
.astat:not(.astat-accent) .astat-d { color: var(--text-3); }


/* Dienstleistungen */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.svc-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 2rem;
    transition: border-color .25s, box-shadow .25s, transform .25s;
    position: relative;
    overflow: hidden;
}
.svc-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #5B8EF8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
    border-radius: var(--r) var(--r) 0 0;
}
.svc-card:hover {
    border-color: #B8CBFE;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
    width: 52px; height: 52px;
    background: var(--accent-light);
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.4rem;
    transition: background .25s;
}
.svc-icon svg { width: 24px; height: 24px; stroke: var(--accent); transition: stroke .25s; }
.svc-card:hover .svc-icon { background: var(--accent); }
.svc-card:hover .svc-icon svg { stroke: #fff; }

.svc-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-1); margin-bottom: .6rem; letter-spacing: -.01em; }
.svc-card p { font-size: .855rem; color: var(--text-2); line-height: 1.7; }

/* Featured card (Notdienst) */
.svc-featured {
    border: 1.5px solid var(--accent);
    background: var(--accent-subtle);
}
.svc-featured .svc-icon { background: var(--accent); }
.svc-featured .svc-icon svg { stroke: #fff; }
.svc-featured h3 { color: var(--accent); }
.svc-featured::before { display: none; }
.svc-featured:hover { border-color: var(--accent-dark); box-shadow: 0 8px 32px rgba(30,94,243,.18); }
.svc-featured:hover .svc-icon { background: var(--accent-dark); }


/* Rezensionen (ausgeblendet) */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.rating-block { text-align: right; }
.rating-num {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -.04em;
}
.stars { color: #F59E0B; font-size: 1.05rem; letter-spacing: 3px; margin-top: .15rem; }
.rating-note { font-size: .75rem; color: var(--text-3); margin-top: .2rem; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.rev-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.75rem;
    transition: box-shadow .25s, transform .25s;
}
.rev-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.rev-stars { color: #F59E0B; font-size: .9rem; letter-spacing: 3px; margin-bottom: 1rem; }
.rev-text { font-size: .87rem; color: var(--text-2); line-height: 1.74; margin-bottom: 1.3rem; font-style: italic; }
.rev-author { display: flex; align-items: center; gap: .75rem; }
.avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: .76rem;
    font-weight: 700;
    color: #fff;
}
.rev-name { font-weight: 700; font-size: .87rem; }
.rev-date { font-size: .74rem; color: var(--text-3); }


/* Kontakt */
#kontakt { background: var(--navy); }

.kontakt-inner {
    max-width: 860px;
    margin: 0 auto;
}
.kontakt-text {
    text-align: center;
    margin-bottom: 3rem;
}
.kontakt-text .sec-sub { margin: 0 auto; }

.kontakt-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.k-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--r);
    padding: 2.25rem 2rem;
    text-align: center;
    transition: background .25s, border-color .25s;
}
.k-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.2);
}
.k-icon {
    width: 56px; height: 56px;
    background: rgba(255,255,255,.1);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem;
    transition: background .25s;
}
.k-card:hover .k-icon { background: rgba(30,94,243,.5); }
.k-icon svg { width: 26px; height: 26px; stroke: #fff; }
.k-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.45);
    margin-bottom: .45rem;
}
.k-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: block;
    transition: color .2s;
}
a.k-val:hover { color: #90AFFF; }
.k-val-plain { cursor: default; }
.k-note {
    font-size: .82rem;
    color: rgba(255,255,255,.5);
    margin-top: .4rem;
    line-height: 1.65;
}


/* Footer */
footer {
    background: #03070F;
    color: rgba(255,255,255,.35);
    text-align: center;
    padding: 1.75rem 2rem;
    font-size: .8rem;
    margin-top: auto;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem .1rem;
}
footer strong { color: rgba(255,255,255,.65); }
.footer-sep { margin: 0 .5rem; opacity: .35; }


/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }


/*  RESPONSIVE — 1024px  */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

/*  RESPONSIVE — 900px  */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .hero-cards { display: none; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-right { order: -1; }
    .about-stats-grid { grid-template-columns: 1fr 1fr; }
    .astat-accent { grid-column: span 1; }

    .reviews-grid { grid-template-columns: 1fr; }
    .reviews-header { flex-direction: column; align-items: flex-start; }
    .rating-block { text-align: left; }

    .kontakt-cards { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
}

/*  RESPONSIVE — 768px  */
@media (max-width: 768px) {
    nav { padding: 0 1.25rem; }
    .nav-links { display: none; position: absolute; top: 66px; left: 0; right: 0; z-index: 199;
        flex-direction: column; gap: .25rem; padding: .75rem 1rem 1.25rem;
        background: rgba(255,255,255,.97); backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
    .nav-links.is-open { display: flex; }
    .nav-links a { border-radius: 8px; padding: .65rem .9rem; }
    .hamburger { display: flex; }

    section { padding: 5rem 1.25rem; }
    .hero { padding: 8rem 1.25rem 4rem; min-height: 100svh; }
    .hero-title { font-size: clamp(2.4rem, 10vw, 3.2rem); }

    .services-grid { grid-template-columns: 1fr; gap: 1rem; }

    .about-stats-grid { grid-template-columns: 1fr; }
    .astat-accent { grid-column: span 1; }

    .kontakt-cards { max-width: 100%; }

    .footer-inner { flex-direction: column; gap: .3rem; }
    .footer-sep { display: none; }
}

/*  RESPONSIVE — 480px  */
@media (max-width: 480px) {
    .hero-stats { gap: .75rem; }
    .stat-box { flex: 1 1 80px; padding: .85rem .75rem; }
    .stat-n { font-size: 1.5rem; }
    .hero-actions { flex-direction: column; }
    .btn-primary, .btn-secondary { justify-content: center; }
}

/* 
   LEGAL / IMPRESSUM PAGE
 */

.legal-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.legal-main {
    flex: 1;
    padding: 9rem 2.5rem 6rem;
    background: var(--bg);
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    width: fit-content;
    margin-bottom: 3rem;
    color: var(--text-2);
    font-size: .875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color .2s, transform .2s;
}

.legal-back:hover {
    color: var(--accent);
    transform: translateX(-2px);
}

.legal-header {
    max-width: 640px;
    margin-bottom: 2.5rem;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 860px;
}

.legal-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.legal-card h2 {
    margin-bottom: .9rem;
    color: var(--text-3);
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.legal-card p {
    color: var(--text-1);
    font-size: .95rem;
    line-height: 1.9;
}

.legal-card a {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}

.legal-card a:hover {
    text-decoration: underline;
}

.footer-link {
    color: rgba(255,255,255,.35);
    text-decoration: none;
    transition: color .2s;
}

.footer-link:hover {
    color: rgba(255,255,255,.7);
}

@media (max-width: 900px) {
    .legal-grid {
        grid-template-columns: 1fr;
        max-width: 640px;
    }
}

@media (max-width: 768px) {
    .legal-main {
        padding: 7.5rem 1.25rem 4.5rem;
    }

    .legal-back {
        margin-bottom: 2.25rem;
    }

    .legal-card {
        padding: 1.5rem;
    }
}