/* tragwerkstatt — Version 2: kompakt, schlicht, mit tragwerkstatt-Blau */

:root {
  --blue: #1e83ca;          /* Blau der bestehenden tragwerkstatt-Website */
  --blue-dark: #166aa6;
  --blue-tint: #e8f2fa;
  --bg: #ffffff;
  --bg-2: #f4f5f6;
  --ink: #1b1d1f;
  --ink-2: #474b4f;
  --muted: #80858a;
  --line: #dfe2e5;
  --dark: #15181b;

  --f: "Source Sans 3", "Frutiger", "Segoe UI", Arial, sans-serif;

  --max: 1440px;
  --gutter: clamp(16px, 3vw, 40px);
  --gap: clamp(12px, 1.4vw, 20px);
  --header-h: 60px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f); font-size: 16px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 .9em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: #fff; }

.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }

.link { color: var(--blue); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.link span { transition: transform .3s var(--ease); }
.link:hover span { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header::before { content: ""; display: block; height: 3px; background: var(--blue); }
.site-header .container { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.wordmark { font-size: 21px; font-weight: 300; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.wordmark b { font-weight: 700; font-style: italic; color: var(--blue); }
.wordmark small { display: block; font-size: 10.5px; letter-spacing: .04em; color: var(--muted); font-weight: 400; margin-top: 3px; }
.site-nav { display: flex; gap: clamp(18px, 2.5vw, 36px); }
.site-nav a { font-size: 15px; font-weight: 600; padding-block: 19px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.site-nav a:hover { color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }
.nav-toggle { display: none; font-weight: 600; font-size: 15px; color: var(--blue); }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav a { display: block; padding: 14px var(--gutter); border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.mobile-nav a[aria-current="page"] { color: var(--blue); }
.mobile-nav.is-open { display: block; }
@media (max-width: 760px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .wordmark small { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: min(74vh, 760px); min-height: 420px; background: var(--dark); overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0)); color: #fff; padding-block: 60px 20px;
}
.hero-cap .container { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.hero-cap a { font-size: 15px; }
.hero-cap a b { font-weight: 600; }
.hero-dots { display: flex; gap: 6px; }
.hero-dots button { width: 28px; height: 3px; background: rgba(255,255,255,.4); transition: background .3s; }
.hero-dots button.is-active { background: var(--blue); }

.intro { padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.intro h1 { grid-column: 1 / span 5; font-size: clamp(30px, 3.4vw, 48px); font-weight: 300; letter-spacing: -.02em; line-height: 1.08; }
.intro h1 b { font-weight: 600; }
.intro .txt { grid-column: 7 / -1; font-size: clamp(17px, 1.3vw, 19px); color: var(--ink-2); }
.intro .txt p:first-child { color: var(--ink); }
.keys { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: clamp(28px, 3vw, 44px); }
.keys div { border-top: 2px solid var(--blue); padding-top: 10px; }
.keys b { display: block; font-size: 22px; font-weight: 600; line-height: 1.2; }
.keys span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) {
  .intro h1, .intro .txt { grid-column: 1 / -1; }
  .keys { grid-template-columns: 1fr 1fr; row-gap: 20px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(44px, 5.5vw, 80px); }
.section + .section { padding-top: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: clamp(20px, 2.4vw, 32px); padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.sec-head h2 { font-size: clamp(24px, 2.2vw, 32px); }
.bg-2 { background: var(--bg-2); }

/* ---------- Project cards ---------- */
.cards { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) var(--gap); }
.card { grid-column: span 4; display: block; }
.card.w6 { grid-column: span 6; }
.card.w8 { grid-column: span 8; }
.card.w12 { grid-column: 1 / -1; }
.card .img { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-2); }
.card.w12 .img { aspect-ratio: 21 / 8; }
.card.tall .img { aspect-ratio: auto; height: 100%; }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card .img::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover .img img { transform: scale(1.03); }
.card:hover .img::after { transform: scaleX(1); }
.card .meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; align-items: baseline; }
.card h3 { font-size: 18px; transition: color .2s; }
.card.w12 h3, .card.w8 h3 { font-size: 22px; }
.card:hover h3 { color: var(--blue); }
.card .sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
.card .yr { font-size: 14px; color: var(--muted); white-space: nowrap; }
@media (max-width: 900px) { .card, .card.w6, .card.w8 { grid-column: span 6; } .card.w12 .img { aspect-ratio: 16 / 9; } }
@media (max-width: 560px) { .card, .card.w6, .card.w8 { grid-column: 1 / -1; } }

.more-row { margin-top: clamp(28px, 3vw, 44px); display: flex; justify-content: flex-end; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: #fff; font-weight: 600; padding: 12px 20px; transition: background .2s; }
.btn:hover { background: var(--blue-dark); }
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }

/* ---------- Services (home) ---------- */
.svc-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap) clamp(20px, 3vw, 48px); }
.svc-cols a { display: block; border-top: 2px solid var(--blue); padding-top: 14px; }
.svc-cols .no { color: var(--blue); font-weight: 600; font-size: 14px; }
.svc-cols h3 { font-size: 20px; margin: 4px 0 8px; }
.svc-cols p { color: var(--ink-2); font-size: 15px; margin: 0; }
.svc-cols a:hover h3 { color: var(--blue); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags span, .tags a { font-size: 13px; padding: 5px 10px; background: var(--blue-tint); color: var(--blue-dark); font-weight: 600; }
@media (max-width: 760px) { .svc-cols { grid-template-columns: 1fr; } }

/* ---------- Studio strip ---------- */
.studio-strip { align-items: center; }
.studio-strip .ph { grid-column: 1 / span 4; }
.studio-strip .tx { grid-column: 6 / -1; }
.studio-strip blockquote { margin: 0 0 16px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; line-height: 1.25; }
.studio-strip blockquote b { font-weight: 600; }
.studio-strip cite { font-style: normal; font-size: 14px; color: var(--muted); display: block; margin-bottom: 20px; }
@media (max-width: 760px) { .studio-strip .ph, .studio-strip .tx { grid-column: 1 / -1; } .studio-strip .ph { max-width: 280px; } }

/* ---------- Tables / lists ---------- */
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 90px 1fr auto; gap: var(--gap); padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rows li .y { color: var(--blue); font-weight: 600; }
.rows li .p { color: var(--muted); text-align: right; }
@media (max-width: 600px) { .rows li { grid-template-columns: 70px 1fr; } .rows li .p { grid-column: 2; text-align: left; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #d8dbde; font-size: 15px; }
.site-footer::before { content: ""; display: block; height: 3px; background: var(--blue); }
.site-footer .top { padding-block: clamp(36px, 4vw, 56px); }
.site-footer .col { grid-column: span 3; }
.site-footer .col h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-footer .wordmark b { color: #5fb0e8; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 16px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8c9197; }
.site-footer .bottom nav { display: flex; gap: 20px; }
@media (max-width: 900px) { .site-footer .col { grid-column: span 6; } }
@media (max-width: 520px) { .site-footer .col { grid-column: 1 / -1; } }

/* ---------- Page head ---------- */
.page-head { padding-block: clamp(32px, 4vw, 56px) clamp(20px, 2.4vw, 32px); border-bottom: 1px solid var(--line); }
.page-head .grid { align-items: end; }
.page-head h1 { grid-column: 1 / span 5; font-size: clamp(34px, 4vw, 56px); font-weight: 300; letter-spacing: -.02em; }
.page-head p { grid-column: 7 / -1; margin: 0; color: var(--ink-2); font-size: 17px; }
@media (max-width: 760px) { .page-head h1, .page-head p { grid-column: 1 / -1; } }

/* ---------- Portfolio ---------- */
.toolbar { position: sticky; top: calc(var(--header-h) + 3px); z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.toolbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 12px; }
.filters, .views { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button, .views button { font-size: 14px; font-weight: 600; padding: 6px 12px; border: 1px solid var(--line); color: var(--ink-2); transition: all .2s; }
.filters button:hover, .views button:hover { border-color: var(--blue); color: var(--blue); }
.filters button[aria-pressed="true"], .views button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.filters sup { font-size: 10px; margin-left: 3px; opacity: .8; }
.pf-grid { padding-block: clamp(28px, 3vw, 44px) clamp(48px, 6vw, 88px); transition: opacity .25s; }
.pf-grid.is-switching { opacity: 0; }
.pf-index { padding-block: 16px clamp(48px, 6vw, 88px); }
.pf-index[hidden], .pf-grid[hidden] { display: none; }
.idx { width: 100%; border-collapse: collapse; font-size: 15px; }
.idx th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--ink); }
.idx td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.idx td.t { font-weight: 600; }
.idx td.y { white-space: nowrap; color: var(--muted); text-align: right; }
.idx th:last-child { text-align: right; }
.idx td .th { width: 88px; aspect-ratio: 3/2; object-fit: cover; }
.idx tr { cursor: pointer; transition: background .15s; }
.idx tbody tr:hover { background: var(--blue-tint); }
.idx tbody tr:hover td.t { color: var(--blue); }
@media (max-width: 760px) { .idx .hide-s { display: none; } }

/* ---------- Project detail ---------- */
.pd-top { padding-block: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 28px); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--blue); }
.pd-top .grid { align-items: end; }
.pd-top h1 { grid-column: 1 / span 7; font-size: clamp(34px, 4.2vw, 60px); font-weight: 300; letter-spacing: -.02em; }
.pd-top .facts-mini { grid-column: 8 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); font-size: 14px; }
.pd-top .facts-mini div { border-top: 2px solid var(--blue); padding-top: 8px; }
.pd-top .facts-mini span { display: block; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.pd-top .facts-mini b { font-weight: 600; }
@media (max-width: 900px) { .pd-top h1, .pd-top .facts-mini { grid-column: 1 / -1; } .pd-top .facts-mini { margin-top: 16px; } }

.pd-hero { aspect-ratio: 16 / 8; overflow: hidden; background: var(--bg-2); cursor: zoom-in; }
.pd-hero img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .pd-hero { aspect-ratio: 4 / 3; } }

.pd-body { padding-block: clamp(32px, 4vw, 56px); }
.pd-body .text { grid-column: 1 / span 7; }
.pd-body .lead { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.35; margin-bottom: 18px; }
.pd-body .text p:not(.lead) { color: var(--ink-2); }
.pd-body .figs { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 24px; }
.pd-body .figs div b { display: block; font-size: 30px; font-weight: 300; color: var(--blue); line-height: 1.1; }
.pd-body .figs div span { font-size: 13px; color: var(--muted); }
.pd-body aside { grid-column: 9 / -1; }
.pd-body dl { margin: 0; font-size: 14.5px; border-top: 2px solid var(--blue); }
.pd-body dl div { padding: 9px 0; border-bottom: 1px solid var(--line); }
.pd-body dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.pd-body dd { margin: 0; white-space: pre-line; }
@media (max-width: 900px) { .pd-body .text, .pd-body aside { grid-column: 1 / -1; } .pd-body aside { margin-top: 28px; } }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); padding-bottom: clamp(40px, 5vw, 72px); }
.gallery figure { margin: 0; overflow: hidden; background: var(--bg-2); cursor: zoom-in; aspect-ratio: 3 / 2; }
.gallery figure.full { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.02); }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } .gallery figure.full { aspect-ratio: 3 / 2; } }

.pd-nav { border-top: 1px solid var(--line); }
.pd-nav .container { display: grid; grid-template-columns: 1fr 1fr; }
.pd-nav a { display: block; padding-block: 20px; }
.pd-nav a:last-child { text-align: right; }
.pd-nav small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.pd-nav b { font-size: 18px; font-weight: 600; }
.pd-nav a:hover b { color: var(--blue); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(15,17,19,.96); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: calc(100vw - 2 * var(--gutter)); max-height: calc(100vh - 120px); object-fit: contain; }
.lightbox .lb-bar, .lightbox .lb-nav { position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; padding: 18px var(--gutter); font-size: 14px; font-weight: 600; }
.lightbox .lb-bar { top: 0; } .lightbox .lb-nav { bottom: 0; }
.lightbox button:hover { color: #5fb0e8; }

/* ---------- Leistungen ---------- */
.svc-block { padding-block: clamp(36px, 4.5vw, 64px); border-bottom: 1px solid var(--line); }
.svc-block .h { grid-column: 1 / span 4; }
.svc-block .h .no { display: block; font-size: 40px; font-weight: 300; color: var(--blue); line-height: 1; margin-bottom: 8px; }
.svc-block .h h2 { font-size: clamp(24px, 2.2vw, 32px); }
.svc-block .h .img { margin-top: 20px; aspect-ratio: 3 / 2; overflow: hidden; }
.svc-block .h .img img { width: 100%; height: 100%; object-fit: cover; }
.svc-block .tx { grid-column: 6 / -1; }
.svc-block .tx p { color: var(--ink-2); }
.svc-block .tx p:first-child { color: var(--ink); font-size: 18px; }
.svc-block ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); }
.svc-block ul li { padding: 8px 0 8px 16px; border-bottom: 1px solid var(--line); position: relative; font-size: 15px; }
.svc-block ul li::before { content: ""; position: absolute; left: 0; top: 16px; width: 6px; height: 6px; background: var(--blue); }
.svc-block .refs { margin-top: 18px; font-size: 14px; }
.svc-block .refs a { color: var(--blue); font-weight: 600; margin-right: 14px; }
.svc-block .refs a:hover { text-decoration: underline; }
@media (max-width: 900px) { .svc-block .h, .svc-block .tx { grid-column: 1 / -1; } .svc-block .tx { margin-top: 20px; } .svc-block ul { grid-template-columns: 1fr; } }

.typo { width: 100%; border-collapse: collapse; font-size: 15px; }
.typo th { text-align: left; font-weight: 600; font-size: 17px; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; width: 28%; }
.typo td { padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.typo td a { color: var(--blue); font-weight: 600; margin-right: 12px; white-space: nowrap; }
@media (max-width: 760px) { .typo tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 0; } .typo th, .typo td { display: block; border: 0; padding: 2px 0; width: auto; } }

.tools { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.tools li { background: var(--bg-2); padding: 14px 16px; font-size: 14px; color: var(--ink-2); }
.tools b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
@media (max-width: 900px) { .tools { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tools { grid-template-columns: 1fr; } }

/* ---------- Studio ---------- */
.about .tx { grid-column: 1 / span 7; }
.about .tx .lead { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.35; }
.about .tx p { color: var(--ink-2); }
.about aside { grid-column: 9 / -1; }
.about blockquote { margin: 0; padding: 18px 20px; background: var(--blue-tint); border-left: 3px solid var(--blue); font-size: 19px; line-height: 1.35; }
.about blockquote cite { display: block; font-style: normal; font-size: 14px; color: var(--muted); margin-top: 8px; }
@media (max-width: 900px) { .about .tx, .about aside { grid-column: 1 / -1; } .about aside { margin-top: 24px; } }
.person { padding-block: 28px; border-bottom: 1px solid var(--line); }
.person .ph { grid-column: 1 / span 3; }
.person .ph .img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-2); }
.person .ph .img img { width: 100%; height: 100%; object-fit: cover; }
.person .bio { grid-column: 4 / -1; }
.person.no-ph .bio { grid-column: 4 / -1; }
.person h3 { font-size: 24px; }
.person .role { color: var(--blue); font-weight: 600; font-size: 15px; margin: 2px 0 18px; }
.cv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px var(--gap); }
.cv h4 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.cv ul { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.cv li { padding: 4px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .person .ph, .person .bio, .person.no-ph .bio { grid-column: 1 / -1; } .person .ph { max-width: 240px; margin-bottom: 16px; } .cv { grid-template-columns: 1fr; } }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
@media (max-width: 900px) { .two-cols { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact .ad { grid-column: 1 / span 5; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; }
.contact .ad a { color: var(--blue); }
.contact .ad a:hover { text-decoration: underline; }
.contact dl { grid-column: 7 / -1; margin: 0; font-size: 15px; border-top: 2px solid var(--blue); }
.contact dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact dt { color: var(--muted); }
.contact dd { margin: 0; }
.map { margin-top: clamp(28px, 3vw, 44px); height: min(56vh, 480px); background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85); }
@media (max-width: 900px) { .contact .ad, .contact dl { grid-column: 1 / -1; } }

.legal { max-width: 72ch; }
.legal h2 { font-size: 20px; margin: 28px 0 8px; }

/* reveal: dezent */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* long German compounds */
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
