/* WEIGELTarchitekten – Website-Stil */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #1f1a17;
  --ink-2: #2a2420;
  --paper: #ffffff;
  --stone: #f5f3f0;
  --line: #dedad5;
  --line-ink: #3a332e;
  --muted: #6b6560;
  --muted-ink: #a8a19a;
  --gutter: clamp(1rem, 3.2vw, 2.5rem);
  --bar: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar) + .75rem); }
/* sanftes Scrollen erst nach dem Laden (Einstieg über #Abschnitt springt sofort) */
@media (prefers-reduced-motion: no-preference) { html.smooth { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: -999px; top: 0; z-index: 100; background: var(--paper); padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* Wortmarke: WEIGELT fett/breit + architekten light */
.wordmark { display: inline-flex; align-items: baseline; white-space: nowrap; line-height: 1; }
.wm-a { font-weight: 800; font-stretch: 125%; letter-spacing: .04em; }
.wm-b { font-weight: 300; letter-spacing: .005em; }
.wordmark-xl { font-size: clamp(1.7rem, 2.7vw, 2.75rem); }

/* ------------------------------------------------ Kopfleiste (fest) */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--bar); color: #fff; transition: background-color .3s, box-shadow .3s; }
.bar::before { content: ""; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(to bottom, rgba(0,0,0,.5), transparent); pointer-events: none; transition: opacity .3s; }
.bar.is-solid { background: var(--ink); box-shadow: 0 1px 0 var(--line-ink); }
.bar.is-solid::before { opacity: 0; }
.bar-in { position: relative; height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.bar-brand { text-decoration: none; font-size: 1.15rem; }
.bar-home-page:not(.is-solid) .bar-brand { visibility: hidden; opacity: 0; }
.bar-brand { transition: opacity .3s; }
.bar-nav ul { display: flex; flex-wrap: wrap; gap: .25rem clamp(1.1rem, 2.2vw, 2.25rem); }
.bar-nav a { display: inline-block; text-decoration: none; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; padding: .45rem 0; border-bottom: 1px solid transparent; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.35); transition: border-color .2s, color .2s; }
.bar-nav a:hover { border-color: rgba(255,255,255,.55); }
.bar-nav a[aria-current] { border-color: #fff; }
.bar-nav .bar-home { color: var(--muted-ink); }
.bar-toggle { display: none; align-items: center; gap: .6rem; background: none; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: .45rem .9rem; cursor: pointer; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.bar-toggle-icon, .bar-toggle-icon::before, .bar-toggle-icon::after { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform .2s; }
.bar-toggle-icon { position: relative; }
.bar-toggle-icon::before, .bar-toggle-icon::after { content: ""; position: absolute; left: 0; }
.bar-toggle-icon::before { top: -5px; } .bar-toggle-icon::after { top: 5px; }
.bar.is-open .bar-toggle-icon { background: transparent; }
.bar.is-open .bar-toggle-icon::before { transform: translateY(5px) rotate(45deg); }
.bar.is-open .bar-toggle-icon::after { transform: translateY(-5px) rotate(-45deg); }
.bar :focus-visible { outline-color: #fff; }
.bar-home-page:not(.is-solid) .bar-brand { pointer-events: none; }
@media (max-width: 720px) {
  .js .bar-toggle { display: inline-flex; }
  .js .bar-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); border-top: 1px solid var(--line-ink); box-shadow: 0 12px 30px rgba(0,0,0,.3); max-height: calc(100dvh - var(--bar)); overflow-y: auto; }
  .js .bar.is-open { background: var(--ink); }
  .js .bar.is-open::before { opacity: 0; }
  .js .bar.is-open .bar-brand { visibility: visible; opacity: 1; pointer-events: auto; }
  .js .bar.is-open .bar-nav { display: block; }
  .js .bar-nav ul { flex-direction: column; gap: 0; padding: .5rem var(--gutter) 1rem; }
  .js .bar-nav a { display: block; padding: .95rem 0; font-size: .9rem; border-bottom: 1px solid var(--line-ink); text-shadow: none; }
  .js .bar-nav li:last-child a { border-bottom: 0; }
  .js .bar-nav a[aria-current] { border-bottom-color: var(--line-ink); color: #fff; }
  .js .bar-nav a[aria-current]::before { content: ""; display: inline-block; width: 18px; height: 1px; background: #fff; vertical-align: middle; margin-right: .75rem; }
  /* ohne JavaScript: Links umbrechen statt Menü-Schalter */
  html:not(.js) .bar { position: absolute; height: auto; min-height: var(--bar); }
  html:not(.js) .bar-in { flex-wrap: wrap; padding-block: .75rem; }
  html:not(.js) .bar-brand { display: none; }
}
.is-locked, .is-locked body { overflow: hidden; }

/* nach oben */
.totop { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; text-decoration: none; font-size: 1.2rem; box-shadow: 0 4px 16px rgba(0,0,0,.18); }
.totop[hidden] { display: none; }

/* ------------------------------------------------ Start: Diashow */
.hero { position: relative; background: #111; color: #fff; }
.hero-media { position: relative; overflow: hidden; height: clamp(460px, 86svh, 940px); background: #111; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to top, rgba(0,0,0,.62), transparent); pointer-events: none; }
.slide-cap { position: absolute; left: clamp(1.25rem, 4.5vw, 4rem); right: clamp(1.25rem, 4.5vw, 4rem); bottom: 5.2rem; z-index: 2; display: flex; flex-direction: column; gap: .85rem; color: #fff; text-decoration: none; max-width: 40rem; }
.slide-count { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.slide-row { display: flex; align-items: flex-end; gap: 1.1rem; }
.slide-num { font-size: clamp(3.2rem, 7vw, 6rem); font-weight: 200; line-height: .8; }
.slide-txt { display: flex; flex-direction: column; gap: .2rem; padding-bottom: .1rem; }
.slide-title { font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 600; }
.slide-meta { font-size: .9rem; color: rgba(255,255,255,.82); }
a.slide-cap .slide-title { text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 6px; text-decoration-thickness: 1px; }
a.slide-cap:hover .slide-title { text-decoration-color: #fff; }
.slide-ctrl { position: absolute; left: clamp(1.25rem, 4.5vw, 4rem); right: clamp(1.25rem, 4.5vw, 4rem); bottom: 1.75rem; z-index: 3; display: flex; align-items: center; gap: .75rem; }
.slide-bars { display: flex; gap: 6px; flex: 1; max-width: 420px; }
.slide-bar { flex: 1; height: 24px; padding: 0; background: none; border: 0; cursor: pointer; display: flex; align-items: center; }
.slide-bar span { display: block; width: 100%; height: 2px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.slide-bar span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.slide-bar.is-done span::after { transform: scaleX(1); }
.slide-bar.is-active span::after { animation: bar var(--dur, 7s) linear forwards; }
.is-paused .slide-bar.is-active span::after { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.slide-step, .slide-pause { flex: none; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.55); background: rgba(0,0,0,.25); border-radius: 50%; cursor: pointer; position: relative; color: #fff; display: grid; place-items: center; padding: 0; font-size: .95rem; line-height: 1; }
.slide-step:hover, .slide-pause:hover { background: rgba(0,0,0,.5); border-color: #fff; }
.slide-pause { margin-left: auto; }
.slide-pause::before, .slide-pause::after { content: ""; position: absolute; top: 12px; width: 3px; height: 11px; background: #fff; }
.slide-pause::before { left: 13px; } .slide-pause::after { right: 13px; }
.slide-pause[aria-pressed="true"]::after { display: none; }
.slide-pause[aria-pressed="true"]::before { left: 14px; top: 11px; width: 0; height: 0; background: none; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
.hero :focus-visible { outline-color: #fff; }
.hero-corner { position: absolute; z-index: 2; width: 20px; height: 20px; border: 0 solid rgba(255,255,255,.75); pointer-events: none; }
.hero-corner-tl { top: calc(var(--bar) + 1rem); left: clamp(1.25rem, 4.5vw, 4rem); border-width: 1px 0 0 1px; }
.hero-corner-br { bottom: 1rem; right: clamp(.6rem, 2vw, 1.5rem); border-width: 0 1px 1px 0; }
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .slide-bar.is-active span::after { animation: none; transform: scaleX(1); }
  .pcard-img img { transition: none; }
}
@media (max-width: 720px) {
  .hero-media { height: clamp(420px, 78svh, 760px); }
  .slide-cap { bottom: 4.4rem; gap: .6rem; }
  .slide-num { font-size: 3rem; }
  .slide-ctrl { bottom: 1rem; gap: .5rem; }
  .slide-step { display: none; }
}

/* ------------------------------------------------ Start: dunkle Fläche */
.intro { background: var(--ink); color: #fff; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); }
.intro-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.intro-id { display: flex; flex-direction: column; gap: 1.6rem; }
.intro h1 { font-weight: inherit; }
.intro .wordmark-xl { font-size: clamp(1.9rem, 4.4vw, 3.6rem); }
.hero-rule { display: block; width: 64px; height: 3px; background: #fff; }
.intro-txt { display: flex; flex-direction: column; gap: 1.75rem; padding-top: .4rem; }
.hero-services { color: var(--muted-ink); font-size: clamp(1rem, 1.35vw, 1.15rem); line-height: 1.7; max-width: 34rem; }
.intro-more { display: inline-flex; align-items: center; gap: 1rem; align-self: flex-start; text-decoration: none; font-size: .85rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; padding: .35rem 0; }
.intro-more span { display: block; width: 40px; height: 1px; background: currentColor; transition: width .25s; }
.intro-more:hover span { width: 64px; }
.hero-addr { grid-column: 1 / -1; font-style: normal; display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-top: clamp(1rem, 3vw, 2.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-ink); font-size: .9rem; line-height: 1.55; color: #e9e5e1; }
.addr-item { display: inline-flex; align-items: flex-start; gap: .7rem; text-decoration: none; }
.addr-item svg { flex: none; width: 18px; height: 18px; margin-top: .1rem; fill: none; stroke: var(--muted-ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
a.addr-item span { border-bottom: 1px solid rgba(255,255,255,.35); }
a.addr-item:hover span { border-color: #fff; }
.intro :focus-visible { outline-color: #fff; }
@media (max-width: 1000px) {
  .intro-in { grid-template-columns: 1fr; }
  .intro .wordmark-xl { font-size: clamp(1.9rem, 7.4vw, 3.4rem); }
  .hero-corner-br { display: none; }
}
@media (max-width: 720px) {
  .hero-addr { flex-direction: column; gap: .9rem; }
}

/* ------------------------------------------------ Abschnitte */
.section { padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.section-stone { background: var(--stone); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; border-bottom: 1px solid var(--ink); padding-bottom: 1rem; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 300; letter-spacing: -.01em; line-height: 1; }
.section-head p { color: var(--muted); font-size: .875rem; }

/* Projekte */
.chips ul { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.chips a { display: inline-block; text-decoration: none; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; transition: background .2s, color .2s, border-color .2s; }
.chips a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.pgroup { padding-top: clamp(2rem, 4vw, 3.25rem); }
.pgroup-head { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; }
.pgroup-head h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 400; }
.pgroup-head span { color: var(--muted); font-size: .8rem; letter-spacing: .04em; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: clamp(1.25rem, 2.2vw, 2rem); }
.pcard-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.pcard-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stone); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.pcard-link:hover .pcard-img img { transform: scale(1.035); }
.pcard-body { display: grid; grid-template-columns: 2.2rem 1fr; gap: .15rem .5rem; padding: .85rem 0 0; border-top: 0; }
.pcard-num { grid-row: span 2; font-size: .75rem; color: var(--muted); padding-top: .2rem; }
.pcard-title { font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.pcard-link:hover .pcard-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pcard-meta { color: var(--muted); font-size: .85rem; }

/* Projekt-Dialog */
.pdialog, .lightbox { border: 0; padding: 0; max-width: none; max-height: none; color: var(--ink); }
.pdialog { width: min(1240px, 100vw - 2rem); height: min(860px, 100dvh - 2rem); background: var(--paper); display: none; flex-direction: column; }
.pdialog[open] { display: flex; }
.pdialog::backdrop, .lightbox::backdrop { background: rgba(20,16,14,.82); }
.pdialog-bar { display: flex; gap: .5rem; justify-content: flex-end; padding: .75rem; border-bottom: 1px solid var(--line); }
.pdialog-bar button, .lb-close, .lb-prev, .lb-next { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; cursor: pointer; font-size: .85rem; }
.pdialog-bar button:hover { border-color: var(--ink); }
.pd-close { margin-left: .75rem; }
.pdialog-body { flex: 1; overflow: auto; overscroll-behavior: contain; }
.pd { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); padding: clamp(1rem, 2.5vw, 2rem); }
.pd-gallery { display: grid; gap: 1rem; align-content: start; }
.pd-fig img { width: 100%; height: auto; background: var(--stone); }
.pd-text { position: sticky; top: 0; align-self: start; }
.pd-num { color: var(--muted); font-size: .8rem; }
.pd-title { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.15; margin: .3rem 0 .6rem; }
.pd-sub { font-weight: 600; margin-bottom: 1.25rem; }
.pd-facts { border-top: 1px solid var(--line); margin-bottom: 1.25rem; }
.pd-facts div { display: grid; grid-template-columns: 8.5rem 1fr; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.pd-facts dt { color: var(--muted); }
.pd-note { color: var(--muted); font-size: .9rem; }
@media (max-width: 820px) {
  .pdialog { width: 100vw; height: 100dvh; }
  .pd { grid-template-columns: 1fr; }
  .pd-text { position: static; order: -1; }
}

/* Lightbox */
.lightbox { background: transparent; width: 100vw; height: 100dvh; display: none; align-items: center; justify-content: center; }
.lightbox[open] { display: flex; }
.lightbox figure { max-width: calc(100vw - 9rem); max-height: calc(100dvh - 4rem); display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 7rem); width: auto; height: auto; object-fit: contain; background: #fff; }
.lightbox figcaption { color: #eee; font-size: .9rem; text-align: center; }
.lb-close { position: fixed; top: 1rem; right: 1rem; }
.lb-prev, .lb-next { position: fixed; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 1rem; } .lb-next { right: 1rem; }
.lightbox[data-single] .lb-prev, .lightbox[data-single] .lb-next { display: none; }
@media (max-width: 640px) {
  .lightbox figure { max-width: 100vw; padding: 0 .5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
}

/* Referenzen */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.tab { text-decoration: none; padding: .7rem 1.4rem; border: 1px solid var(--ink); border-radius: 999px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.js .person[data-hidden] { display: none; }
.person + .person { margin-top: 4rem; }
.js .person + .person { margin-top: 0; }
.person-head { display: flex; align-items: flex-end; gap: 1.5rem; margin-bottom: 2.5rem; }
.person-img { height: 150px; width: auto; filter: grayscale(1); }
.person-name { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1; }
.person-sub { color: var(--muted); margin-top: .35rem; line-height: 1.45; }
.person-mail { display: inline-block; margin-top: .4rem; color: var(--muted); text-underline-offset: 4px; }
.cv { border-top: 1px solid var(--line); }
.cv-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.cv-cont { border-top: 0; padding-top: .25rem; margin-top: -1px; }
.cv-row:has(+ .cv-cont) { border-bottom-color: transparent; }
.cv-period { font-weight: 600; font-variant-numeric: tabular-nums; font-size: .95rem; }
.cv-text { font-size: 1rem; line-height: 1.6; max-width: 46rem; }
.cv-text b { font-weight: 700; }
.cv-pics { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .85rem; }
.cv-pic { display: block; background: #fff; cursor: zoom-in; }
.cv-pic img { height: clamp(120px, 14vw, 170px); width: auto; max-width: 100%; object-fit: cover; transition: opacity .2s; }
.cv-pic:hover img { opacity: .85; }
@media (max-width: 640px) {
  .cv-row { grid-template-columns: 1fr; gap: .35rem; }
  .cv-cont .cv-period { display: none; }
  .person-head { align-items: center; }
  .person-img { height: 110px; }
}

/* Office */
.office { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.office-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.office-col h3 { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding-bottom: .7rem; border-bottom: 1px solid var(--ink); margin-bottom: .75rem; }
.office-col li { line-height: 1.95; }
.office-img img { width: 100%; }
.office-contact { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 1.05rem; }
.office-contact a { text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (max-width: 900px) { .office { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .office-cols { grid-template-columns: 1fr 1fr; } .office-col:last-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .office-cols { grid-template-columns: 1fr; } .office-col:last-child { grid-column: auto; } }

/* Links */
.lgroups { columns: 4 240px; column-gap: clamp(1.5rem, 3vw, 3rem); }
.lgroup { break-inside: avoid; margin-bottom: 2.25rem; }
.lgroup h3 { font-size: 1.25rem; font-weight: 400; letter-spacing: .32em; padding-bottom: .5rem; border-bottom: 1px solid var(--ink); margin-bottom: .5rem; }
.lgroup li { display: flex; flex-direction: column; padding: .35rem 0; }
.lgroup a { text-decoration: none; overflow-wrap: anywhere; }
.lgroup a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lgroup-label { font-size: .72rem; letter-spacing: .1em; color: var(--muted); }
.disclaimer { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); max-width: 52rem; color: var(--muted); font-size: .8rem; }
.disclaimer h3 { font-size: .8rem; font-weight: 600; margin-bottom: .5rem; color: var(--ink); }
.disclaimer p + p { margin-top: .5rem; }

/* Footer */
.footer { background: var(--ink); color: #e9e5e1; padding: 3rem 0 1.5rem; font-size: .9rem; }
.footer-in { display: grid; grid-template-columns: 1fr 1fr auto; gap: 2rem; align-items: start; }
.footer-brand { color: #fff; font-size: 1.3rem; }
.footer address { font-style: normal; }
.footer a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.footer a:hover { border-color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: .35rem; }
.footer-meta { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-ink); color: var(--muted-ink); font-size: .78rem; }
@media (max-width: 640px) { .footer-in { grid-template-columns: 1fr; gap: 1.25rem; } }

/* Impressum / Datenschutz */
.subpage main { padding-top: calc(var(--bar) + clamp(2.5rem, 6vw, 5rem)); }
.legal { max-width: 860px; padding-bottom: clamp(3rem, 7vw, 6rem); }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; padding-bottom: 1rem; border-bottom: 1px solid var(--ink); margin-bottom: 2rem; }
.legal h2 { font-size: 1.1rem; font-weight: 700; margin: 2.5rem 0 .75rem; padding-bottom: .4rem; border-bottom: 1px solid var(--line); }
.legal p, .legal ul, .legal address { margin-bottom: 1rem; line-height: 1.7; }
.legal address { font-style: normal; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal a { text-underline-offset: 3px; }
.legal-lead { font-size: 1.05rem; }
.legal-stand { color: var(--muted); font-size: .85rem; margin-top: -1rem; }
.legal-dl { border-top: 1px solid var(--line); margin: 2rem 0; }
.legal-dl div { display: grid; grid-template-columns: 15rem 1fr; gap: 1.5rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.legal-dl dt { color: var(--muted); }
@media (max-width: 640px) { .legal-dl div { grid-template-columns: 1fr; gap: .2rem; } }
