/* prebau GmbH – Stylesheet */

/* ---------- Schriften (lokal eingebunden, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }

/* ---------- Farben & Grundwerte ---------- */
:root {
  --green: #8dbe22;          /* Markengrün aus dem Logo */
  --green-dark: #557a0c;     /* für Text/Links auf hellem Grund (kontraststark) */
  --green-soft: #f2f7e6;
  --ink: #1f2420;
  --anthrazit: #2b2b2b;
  --text: #3d433f;
  --muted: #6b726d;
  --line: #e3e7df;
  --bg: #ffffff;
  --bg-alt: #f6f8f3;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 30, 10, .05), 0 8px 28px rgba(20, 30, 10, .07);
  --header-h: 76px;
  --wrap: 1180px;
  --font: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Barlow Condensed", "Barlow", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.1; margin: 0 0 .6em; font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); text-transform: uppercase; letter-spacing: .01em; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green-dark); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--green); border-radius: 2px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 1000; border-radius: 6px; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .9rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn--primary { background: var(--green); color: var(--ink); }
.btn--primary:hover { background: #9fd12f; color: var(--ink); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav ul { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav a { display: block; padding: .5rem .8rem; font-weight: 600; font-size: .95rem; color: var(--anthrazit); text-decoration: none; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--green-dark); }
.nav .btn { margin-left: 10px; padding: .6rem 1.2rem; }
.nav .btn:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 16px 24px 32px; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; overflow-y: auto; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 1rem 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 24px 0 0; justify-content: center; border-bottom: 0; border-radius: 999px; padding: 1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,20,12,.15) 0%, rgba(15,20,12,.35) 45%, rgba(15,20,12,.85) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: clamp(48px, 8vw, 88px); }
.hero .eyebrow { color: #fff; }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 7.5vw, 5.6rem); font-weight: 800; text-transform: uppercase; max-width: 12ch; margin-bottom: .35em; line-height: .98; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-lead { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 560px; color: rgba(255,255,255,.9); margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-caption { position: absolute; right: 24px; bottom: 16px; z-index: 1; font-size: .78rem; color: rgba(255,255,255,.7); }

/* ---------- Kennzahlen ---------- */
.facts { background: var(--ink); color: #fff; }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.facts li { padding: 28px 24px; border-left: 1px solid rgba(255,255,255,.12); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-family: var(--font-head); font-size: 2.4rem; line-height: 1; color: var(--green); font-weight: 800; }
.facts span { font-size: .95rem; color: rgba(255,255,255,.78); }
@media (max-width: 760px) {
  .facts ul { grid-template-columns: repeat(2, 1fr); }
  .facts li { padding: 22px 16px; }
  .facts li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
}

/* ---------- Aktuelles Projekt ---------- */
.project { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.project-gallery { display: grid; gap: 14px; }
.project-gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; display: block; width: 100%; }
.project-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s; }
.project-gallery .is-small img { aspect-ratio: 16 / 9; }
.project-gallery button:hover img { transform: scale(1.03); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 1rem; }
.badge { display: inline-block; padding: .3rem .8rem; border-radius: 999px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; background: var(--green-soft); color: var(--green-dark); }
.badge--dark { background: var(--ink); color: #fff; }
.badge--accent { background: var(--green); color: var(--ink); }
.keyfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 1.6rem 0; }
.keyfacts div { background: #fff; padding: 14px 16px; }
.keyfacts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.keyfacts dd { margin: 2px 0 0; font-weight: 600; color: var(--ink); line-height: 1.4; }
.checklist { list-style: none; display: grid; gap: .55rem; margin-bottom: 1.8rem; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2420' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
details.more { border-top: 1px solid var(--line); margin-bottom: 1.8rem; }
details.more summary { cursor: pointer; padding: 1rem 0; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--green-dark); }
details.more[open] summary::after { content: "–"; }
@media (max-width: 900px) { .project { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .keyfacts { grid-template-columns: 1fr; } }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-lead { font-size: 1.25rem; color: var(--ink); }
.values { list-style: none; display: grid; gap: 14px; }
.values li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.values svg { flex: none; width: 28px; height: 28px; color: var(--green-dark); }
.values strong { display: block; color: var(--ink); }
.values span { color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- Leistungen ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.service:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); }
.service .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 18px; }
.service .icon svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.3rem; margin-bottom: .4em; }
.service p { font-size: .97rem; color: var(--muted); margin: 0; }
@media (max-width: 1060px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ---------- Referenzen ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font: inherit; font-weight: 600; font-size: .95rem; padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--anthrazit); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.ref { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.ref[hidden] { display: none; }
.ref-media { position: relative; aspect-ratio: 3 / 2; background: var(--bg-alt); overflow: hidden; }
.ref-media button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.ref-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ref-media button:hover img { transform: scale(1.04); }
.ref-media button:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.ref-media--empty { display: grid; place-items: center; background: linear-gradient(135deg, #eef3e4, #f7f9f3); }
.ref-media--empty svg { width: 30%; max-width: 120px; color: #c9d8ae; }
.ref-tag { position: absolute; left: 12px; top: 12px; z-index: 1; pointer-events: none; }
.ref-body { padding: 18px 20px 22px; }
.ref-body h3 { font-size: 1.3rem; margin-bottom: .25em; }
.ref-place { font-size: .88rem; font-weight: 600; color: var(--green-dark); margin-bottom: .5em; display: flex; gap: 6px; align-items: center; }
.ref-place svg { width: 15px; height: 15px; }
.ref-body p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 980px) { .refs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .refs { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; list-style: none; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: var(--green); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; margin-bottom: 14px; }
.person h3 { font-size: 1.3rem; margin-bottom: .1em; }
.role { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.person a { display: flex; gap: 8px; align-items: flex-start; font-size: .93rem; text-decoration: none; color: var(--anthrazit); padding: 3px 0; }
.person a svg { margin-top: .25em; }
.person a:hover { color: var(--green-dark); }
.person a svg { width: 16px; height: 16px; flex: none; color: var(--green-dark); }

/* ---------- Wissenswertes ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
.news li { border-top: 3px solid var(--green); padding-top: 18px; }
.news h3 { font-size: 1.35rem; }
.news p { color: var(--muted); font-size: .98rem; margin: 0; }
@media (max-width: 860px) { .news { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.contact-list { list-style: none; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list .icon { flex: none; width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--green); display: grid; place-items: center; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; color: var(--ink); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { font-size: 1.15rem; font-weight: 600; text-decoration: none; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); align-self: start; }
.contact-form h3 { font-size: 2rem; text-transform: uppercase; margin-bottom: .2em; }
.form-intro { color: var(--muted); margin-bottom: 1.4rem; }
.field { margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #cfd6c8; border-radius: 8px; padding: .75rem .9rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f2420' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .8rem center / 18px no-repeat; padding-right: 2.6rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-dark); box-shadow: 0 0 0 3px rgba(141, 190, 34, .3); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { color: #b3261e; font-size: .88rem; margin: 6px 0 0; }
.field-error:empty { display: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--muted); margin: 4px 0 18px; }
.contact-form button[disabled] { opacity: .6; cursor: progress; }
.form-status { margin-top: 16px; }
.form-status:empty { display: none; }
.form-status p { margin: 0; padding: 14px 16px; border-radius: 8px; font-weight: 600; }
.form-status .ok { background: var(--green-soft); color: #2f4a06; border: 1px solid #cfe3a5; }
.form-status .err { background: #fdecea; color: #8c1d18; border: 1px solid #f4c7c3; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #161a14; color: rgba(255,255,255,.7); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer img { height: 54px; width: auto; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Projektseite ---------- */
.hero--project h1 { max-width: none; }
.hero--project .badges { margin-bottom: 1.6rem; }
.gallery-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gallery-pair img { aspect-ratio: 4 / 3; }
.units { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; list-style: none; }
.unit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.unit-plan { all: unset; display: block; cursor: zoom-in; background: #fff; border-bottom: 1px solid var(--line); }
.unit-plan img { width: 100%; height: 340px; object-fit: contain; padding: 16px; transition: transform .4s; }
.unit-plan:hover img { transform: scale(1.03); }
.unit-plan:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.unit-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.unit-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.unit-head h3 { font-size: 1.9rem; margin: 0; white-space: nowrap; }
.unit-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.unit-type { font-weight: 600; color: var(--green-dark); margin: .3rem 0 1rem; }
.unit .checklist { margin-bottom: 1.4rem; }
.unit .btn { margin-top: auto; align-self: flex-start; }
.fineprint { font-size: .85rem; color: var(--muted); margin-top: 20px; }
.spec-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spec { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.spec .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green-soft); color: var(--green-dark); display: grid; place-items: center; margin-bottom: 16px; }
.spec .icon svg { width: 26px; height: 26px; }
.spec h3 { font-size: 1.35rem; }
.spec .checklist { margin: 0; font-size: .97rem; }
.person--wide { max-width: 420px; margin: 1.6rem 0; }
@media (max-width: 980px) { .spec-groups { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .units, .spec-groups { grid-template-columns: 1fr; } .unit-plan img { height: 280px; } }

/* ---------- Bildbetrachter ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 12, 8, .88); }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox p { color: #fff; text-align: center; margin: 12px 0 0; }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.25); }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(48px, 7vw, 88px) 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); text-transform: uppercase; }
.legal h2 { font-size: 1.5rem; text-transform: none; margin-top: 2em; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0; }
.legal ul { padding-left: 1.2em; margin-bottom: 1em; }
.legal .meta { color: var(--muted); }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 8px; } }
