/* designundcode.at – Übergangsseite (neue Website in Arbeit)
   Style aus dem Prototyp (Theme duc): Inter Regular, Größe statt Fettung, Schwarz/Weiß/Grau, eckig,
   keine Karten, Schatten oder Verläufe. Ausnahmen wie im Prototyp: Farbflächen je Bereich
   (01 Design Gelb · 02 Code Schwarz · 03 Betreuung Blau · 04 Beratung Hellgrau), Kontakt als rote Fläche,
   bildschirmbreite Bereichswörter, deren Strichstärke auf Scrollen und Maus reagiert.
   Breakpoints: Mobile < 600, Tablet ≥ 600, Desktop ≥ 1040.
   Autor: Michael Marlovics */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-opsz-normal.woff2") format("woff2");
}

:root {
	--m: 16px;
	--g: 12px;
	--ink: #000;
	--muted: #6e6e6e;
	--rule: #e4e4e4;
	--rule-strong: #8a8a8a;
	--tint: #f2f2f2;
	--signal: #e01f26;
	--signal-text: #c8161d;
	--focus: #1d3fd8;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--ease-soft: cubic-bezier(.65, 0, .35, 1);
	--fs-l: 18px;
	--fs-h: 26px;
	--fs-dl: 32px;
	--fs-xl: 44px;
	--fs-xxl: 52px;
	--max: 1728px;
	--ink-soft: #3a3a38;
	--label: #6b6a66;
	--fs-st: 32px;
	--space: 112px;
	--hd: 60px;
}
@media (min-width: 600px) { :root { --m: 32px; --fs-h: 28px; --fs-dl: 40px; --fs-xl: 64px; --fs-xxl: 88px; --fs-st: 44px; --space: 160px; } }
@media (min-width: 1040px) { :root { --m: 48px; --fs-l: 20px; --fs-xxl: 128px; --fs-st: 56px; --space: 224px; --hd: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: var(--hd); }
body {
	margin: 0; background: #fff; color: var(--ink); overflow-x: clip;
	font-family: Inter, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.5; font-weight: 400;
	font-optical-sizing: auto;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3, h4 { font-weight: 400; margin: 0; }
p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--m); }

/* Zum Inhalt springen */
.skip { position: absolute; left: var(--m); top: 8px; z-index: 100; padding: 12px 16px; background: var(--ink); color: #fff; transform: translateY(-200%); }
.skip:focus { transform: none; color: #fff; }

/* Kopf -------------------------------------------------------------------- */
.hd { position: sticky; top: 0; z-index: 50; background: #fff; }
.hd__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--hd); }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-l); font-weight: 500; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand:hover span { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.brand img { width: 22px; height: 22px; }
.hd__right { display: flex; align-items: center; gap: 24px; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--muted); position: relative; display: inline-flex; align-items: center; min-height: 44px; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform 300ms var(--ease); }
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav .nav__hide, .nav .nav__sm { display: none; }
@media (min-width: 600px) { .nav .nav__sm { display: inline-flex; } }
@media (min-width: 1040px) { .nav .nav__hide { display: inline-flex; } }
@media (max-width: 599px) { .hd__right { gap: 16px; } .hd .lang { padding-left: 16px; } }
@media (max-width: 379px) { .nav { display: none; } .hd .lang { border-left: 0; padding-left: 0; } }

/* Mobiles Menü ------------------------------------------------------------ */
.mbtn { display: none; align-items: center; gap: 12px; min-height: 44px; padding: 0; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; }
.mbtn__i { position: relative; width: 24px; height: 14px; }
.mbtn__i i { position: absolute; right: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transform: translateY(-4px); transition: transform 500ms var(--ease), width 400ms var(--ease); }
.mbtn__i i + i { width: 62%; transform: translateY(4px); }
.mbtn:hover .mbtn__i i + i { width: 100%; }
.mnav-open .mbtn__i i { width: 100%; transform: rotate(45deg); }
.mnav-open .mbtn__i i + i { transform: rotate(-45deg); }
@media (max-width: 1039px) {
	.js .hd .nav { display: none; }
	.js .mbtn { display: inline-flex; }
}
@media (max-width: 599px) { .js .hd__right > .lang { display: none; } }
.mnav-open { overflow: hidden; }
.hd { transition: background-color 500ms var(--ease); }
.mnav-open .hd { background: #0f0f0e; }
.mnav-open .hd .brand, .mnav-open .mbtn { color: #f2f0ea; }
.mnav-open .hd__right > .lang { border-left-color: #2c2c2a; }
.mnav-open .hd__right > .lang a { color: #a4a39c; }
.mnav-open .hd__right > .lang a:hover, .mnav-open .hd__right > .lang a[aria-current] { color: #f2f0ea; }
.mnav-open .hd__right > .lang li + li::before { color: #5d5d58; }
.mnav-open .hd :focus-visible { outline-color: #f2f0ea; }
.mnav { position: fixed; left: 0; right: 0; top: var(--hd); bottom: 0; z-index: 49; overflow-y: auto; overscroll-behavior: contain; background: #0f0f0e; color: #f2f0ea; clip-path: inset(0 0 100% 0); transition: clip-path 650ms var(--ease); }
.mnav.is-open { clip-path: inset(0 0 0 0); }
.mnav :focus-visible { outline-color: #f2f0ea; }
.mnav a { color: #f2f0ea; }
.mnav__in { min-height: 100%; display: flex; flex-direction: column; gap: 48px; padding-top: 24px; padding-bottom: 32px; }
.mnav__list { list-style: none; padding: 0; }
.mnav__list li { overflow: hidden; border-bottom: 1px solid #2c2c2a; }
.mnav__list a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0 16px; font-size: clamp(40px, 11vw, 76px); line-height: 1.02; letter-spacing: -0.035em; transform: translateY(105%); transition: transform 750ms var(--ease); }
.mnav.is-open .mnav__list a { transform: none; transition-delay: calc(140ms + var(--i) * 70ms); }
.mnav__list a:focus-visible { outline-offset: -4px; }
.mnav__n { flex: none; width: 2.2em; font-size: 13px; letter-spacing: .02em; color: #a4a39c; transform: translateY(-1.9em); transition: color 300ms var(--ease); }
.mnav__l { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: 2px; transition: background-size 550ms var(--ease); }
.mnav__list a:hover .mnav__l, .mnav__list a:focus-visible .mnav__l { background-size: 100% 2px; }
.mnav__list a:hover .mnav__n { color: #f2f0ea; }
.mnav__more, .mnav__foot { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease), transform 700ms var(--ease); }
.mnav.is-open .mnav__more { opacity: 1; transform: none; transition-delay: 420ms; }
.mnav.is-open .mnav__foot { opacity: 1; transform: none; transition-delay: 500ms; }
.mnav__h { font-size: 13px; letter-spacing: .02em; color: #a4a39c; margin-bottom: 12px; }
.mnav__areas { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.mnav__areas a { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: var(--fs-l); }
.mnav__areas a:hover { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.mnav__sw { flex: none; width: 14px; height: 14px; }
.mnav__sw--design { background: #ffd500; }
.mnav__sw--code { background: #0f0f0e; box-shadow: inset 0 0 0 1px #8a8a86; }
.mnav__sw--betreuung { background: #1d3fd8; }
.mnav__sw--beratung { background: #f2f2f2; }
.mnav__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; padding-top: 24px; border-top: 1px solid #2c2c2a; }
.mnav__contact { list-style: none; padding: 0; }
.mnav__contact a { display: inline-flex; align-items: center; min-height: 44px; }
.mnav__contact a:hover { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.hd .mnav .mnav__lang { font-size: 15px; border-left: 0; padding-left: 0; }
.mnav .mnav__lang a { color: #a4a39c; }
.mnav .mnav__lang a:hover, .mnav .mnav__lang a[aria-current] { color: #f2f0ea; }
.mnav .mnav__lang li + li::before { color: #5d5d58; }
@media (min-width: 1040px) { .mnav { display: none; } }

.lang { display: flex; align-items: center; font-size: 13px; letter-spacing: .02em; }
.lang li { display: flex; align-items: center; }
.lang li + li::before { content: "/"; color: var(--rule-strong); margin: 0 6px; }
.lang a { color: var(--muted); display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 24px; }
.lang a:hover, .lang a[aria-current] { color: var(--ink); }
.lang a:hover:not([aria-current]) { text-decoration: underline; text-underline-offset: .25em; }
.hd .lang { padding-left: 24px; border-left: 1px solid var(--rule); }

/* Einstieg: volle Höhe, viel Luft (Vorbild mumg.at) ------------------------ */
.hero { min-height: calc(100svh - var(--hd)); display: flex; flex-direction: column; justify-content: space-between; }
.hero__in { padding-block: clamp(56px, 10vh, 128px) clamp(64px, 10vh, 120px); }
.hero > .wrap { width: 100%; }
.hero__foot { display: flex; justify-content: space-between; gap: 24px; font-size: 15px; position: relative; padding-block: 16px; }
.hero__foot::after { content: ""; position: absolute; left: var(--m); right: var(--m); top: 0; height: 1px; background: var(--ink); }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; padding: 6px 14px 6px 12px; border: 1px solid var(--ink); border-radius: 999px; margin-bottom: clamp(32px, 6vh, 64px); }
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); flex: none; }
.status__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ink); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .5; } to { transform: scale(3.2); opacity: 0; } }
.hero__kicker { display: block; font-size: 13px; line-height: 1.6; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--label); margin-bottom: clamp(16px, 2.5vh, 28px); }
h1 .display { display: block; }
.display__b { display: block; color: var(--label); }
.display { font-size: var(--fs-xxl); line-height: .98; letter-spacing: -0.035em; max-width: 12em; text-wrap: balance; }
.lead { font-size: var(--fs-l); line-height: 1.55; max-width: 32em; margin-top: clamp(24px, 4vh, 40px); text-wrap: pretty; color: var(--ink-soft); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(32px, 5vh, 48px); }

/* Knöpfe: Fläche wischt beim Darüberfahren herein (wie im Prototyp) -------- */
.btn {
	--fg: #fff; --bg: var(--ink); --wipe: #fff; --fg-hover: var(--ink); --bd: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px;
	font: inherit; font-size: 15px; font-weight: 500; line-height: 1.2; color: var(--fg); background-color: var(--bg);
	border: 1px solid var(--bd); border-radius: 0; cursor: pointer;
	background-image: linear-gradient(var(--wipe), var(--wipe)); background-repeat: no-repeat; background-size: 0% 100%;
	transition: background-size 550ms var(--ease), color 300ms ease;
}
.btn:hover, .btn:focus-visible { color: var(--fg-hover); background-size: 100% 100%; }
.btn--ghost { --fg: var(--ink); --bg: #fff; --wipe: var(--ink); --fg-hover: #fff; }
.btn .ico { flex: none; transition: transform 550ms var(--ease); }
.btn:hover .ico--arrow { transform: translateX(5px); }
.btn:active { transform: translateY(1px); }
@media (max-width: 599px) { .actions .btn { width: 100%; } }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Abschnitte: kleines Label links, Inhalt rechts, viel Raum dazwischen ------- */
.block { padding-block: var(--space); display: grid; gap: 24px; }
.block--tight { padding-top: calc(var(--space) * .75); }
.label { font-size: 13px; line-height: 1.6; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.statement { font-size: var(--fs-st); line-height: 1.12; letter-spacing: -0.02em; max-width: 16em; text-wrap: balance; }
.text { font-size: var(--fs-l); line-height: 1.6; color: var(--ink-soft); max-width: 30em; text-wrap: pretty; }
.statement + .text, .text + .text { margin-top: 24px; }
.statement + .text { margin-top: clamp(32px, 4vw, 48px); }
.block__body > .actions { margin-top: 40px; }
@media (min-width: 1040px) {
	.block { grid-template-columns: repeat(12, 1fr); column-gap: var(--g); }
	.label { grid-column: 1 / span 4; padding-top: .45em; }
	.block__body { grid-column: 5 / -1; }
}

/* Zeilen: großzügig, nur feine Linien */
.rows { border-bottom: 1px solid var(--rule); display: grid; grid-auto-rows: 1fr; } /* alle Zeilen einer Liste gleich hoch */
.row { border-top: 1px solid var(--rule); padding-block: 28px 36px; }
.row h3 { font-size: var(--fs-h); letter-spacing: -0.015em; line-height: 1.2; }
.row p { color: var(--muted); font-size: var(--fs-l); line-height: 1.6; margin-top: 10px; max-width: 30em; }
.rows--steps { counter-reset: step; }
.rows--steps .row h3::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: inline-block; min-width: 2.6em; font-size: 15px; letter-spacing: .04em; color: var(--label); vertical-align: .35em; font-variant-numeric: tabular-nums; }
.rows--steps .row p { padding-left: calc(15px * 2.6); }
@media (min-width: 1040px) {
	.row { display: grid; grid-template-columns: repeat(8, 1fr); column-gap: var(--g); align-items: baseline; }
	.row h3 { grid-column: 1 / span 4; padding-right: 24px; }
	.row p { grid-column: 5 / -1; margin-top: 0; }
	.rows--steps .row p { padding-left: 0; }
}

/* Verlinkte Zeilen (Branchen): ganze Zeile klickbar; Hover und Tastaturfokus unterstreichen den Titel */
.row--link { display: block; color: var(--ink); }
.row--link:hover { color: var(--ink); }
.row--link h3 { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 1px; text-underline-offset: .18em; transition: text-decoration-color 250ms ease; }
.row--link:hover h3, .row--link:focus-visible h3 { text-decoration-color: currentColor; }
.row--link:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.rows--links li { border-top: 1px solid var(--rule); display: flex; }
.rows--links li > .row--link { flex: 1; }
.rows--links .row { border-top: 0; }
@media (min-width: 1040px) { .row--link { display: grid; } }

/* Menschen: zwei gleich gebaute Spalten, viel Luft, Name groß, Rolle als Label */
.people { display: grid; gap: 72px clamp(48px, 7vw, 120px); margin-top: clamp(64px, 8vw, 128px); }
@media (min-width: 600px) { .people { grid-template-columns: 1fr 1fr; } }
.person { border-top: 1px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; }
.person__role { font-size: 13px; line-height: 1.6; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--label); }
.person__name { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.05; letter-spacing: -0.025em; margin-top: clamp(28px, 4vw, 56px); }
.person__text { font-size: var(--fs-l); line-height: 1.6; color: var(--ink-soft); margin-top: clamp(20px, 2.5vw, 32px); max-width: 24em; text-wrap: pretty; }
.person__contact { list-style: none; padding: 0; margin-top: auto; padding-top: clamp(24px, 3vw, 40px); }
.person__contact a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: var(--fs-l); color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: .25em; text-decoration-thickness: 1px; transition: text-decoration-color 300ms var(--ease); overflow-wrap: anywhere; }
.person__contact a:hover, .person__contact a:focus-visible { text-decoration-color: currentColor; }
.person__contact .ico { flex: none; width: 18px; height: 18px; }
.people + .text { margin-top: clamp(56px, 7vw, 112px); padding-top: 24px; border-top: 1px solid var(--rule); max-width: 34em; }

/* Bereiche als bildschirmbreite Farbflächen, fast bildschirmhoch ----------- */
/* Alle vier Flächen gleich hoch: Raster mit gleich hohen Zeilen (die höchste Fläche gibt das Maß vor) */
.bands { display: grid; grid-template-columns: minmax(0, 1fr); grid-auto-rows: 1fr; }
.band { --bg: #fff; --fg: #000; --mt: #5e5e5e; background: var(--bg); color: var(--fg); padding-block: clamp(48px, 8vw, 96px) clamp(64px, 10vw, 128px); display: flex; }
.band--design { --bg: #ffd500; --fg: #111; --mt: #4a4100; }
.band--code { --bg: #0f0f0e; --fg: #f2f0ea; --mt: #a4a39c; }
.band--betreuung { --bg: #1d3fd8; --fg: #fff; --mt: #d6defc; }
.band--beratung { --bg: #f2f2f2; --fg: #000; --mt: #5e5e5e; }
.band :focus-visible { outline-color: currentColor; }
.band__in { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--m); display: flex; flex-direction: column; justify-content: space-between; }
.band__info { margin-top: clamp(40px, 6vw, 96px); }
.band__nr { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mt); }
.band__nr span { font-variant-numeric: tabular-nums; margin-right: 14px; }
.band__lead { font-size: var(--fs-h); line-height: 1.25; letter-spacing: -0.015em; max-width: 18em; margin-top: 20px; text-wrap: balance; }
.band__list { margin-top: clamp(32px, 4vw, 56px); display: grid; column-gap: var(--g); border-top: 1px solid color-mix(in srgb, currentColor 40%, transparent); }
.band__list li { padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: 17px; }
@media (min-width: 600px) { .band__list { grid-template-columns: repeat(3, 1fr); border-top: 0; } .band__list li { border-top: 1px solid color-mix(in srgb, currentColor 40%, transparent); border-bottom: 0; padding: 14px 16px 22px 0; } }
@media (min-width: 1040px) {
	.band { min-height: 92svh; }
	.band__info { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--g); }
	.band__nr { grid-column: 1 / span 4; padding-top: .7em; }
	.band__lead { grid-column: 5 / -1; margin-top: 0; }
	.band__list { grid-column: 5 / -1; }
}

/* Riesiges Wort: Strichstärke reagiert auf Scrollen und Maus (site.js), in Ruhe Regular */
.giant {
	display: block; font-size: 22vw; line-height: .8; letter-spacing: -0.045em; font-weight: 400;
	white-space: nowrap; margin: 0 0 0 -0.06em; padding-block: .06em .1em;
	-webkit-user-select: none; user-select: none; overflow-x: clip;
}
.giant__c { display: inline-block; font-weight: var(--w, 400); }

/* Kontakt als rote Fläche --------------------------------------------------- */
.cta { background: var(--signal); color: #fff; padding-block: var(--space) clamp(64px, 8vw, 128px); }
.cta :focus-visible { outline-color: #fff; }
.cta h2 { font-size: var(--fs-xxl); line-height: .98; letter-spacing: -0.035em; max-width: 10em; text-wrap: balance; }
.cta .lead { color: #fff; }
.cta .btn { --fg: var(--ink); --bg: #fff; --wipe: var(--ink); --fg-hover: #fff; --bd: #fff; }
.cta .btn--ghost { --fg: #fff; --bg: var(--signal); --wipe: #fff; --fg-hover: var(--ink); --bd: #fff; }
.cta__note { font-size: 15px; margin-top: 16px; }
.cta__meta { display: grid; gap: 24px; margin-top: clamp(64px, 10vw, 160px); border-top: 1px solid rgb(255 255 255 / .55); padding-top: 20px; }
.cta__meta dt { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }
.cta__meta dd { font-size: var(--fs-l); line-height: 1.55; }
.cta__meta a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 600px) { .cta__meta { grid-template-columns: repeat(3, 1fr); column-gap: var(--g); } }

/* Rechtliche Seiten: großer Titel, Inhaltsverzeichnis, Abschnitte wie auf der Startseite (Titel links, Text rechts) */
.legal { padding-bottom: var(--space); }
.legal__head { padding-top: clamp(48px, 8vw, 128px); }
.legal .display { font-size: var(--fs-xl); }
.legal__note { color: var(--muted); margin-top: 16px; max-width: 40em; }
.legal__note a { text-decoration: underline; text-underline-offset: .2em; }
.legal__toc { margin-top: clamp(48px, 7vw, 112px); border-top: 1px solid var(--ink); padding-top: 16px; }
.legal__toc ol { list-style: none; counter-reset: toc; margin-top: 16px; display: grid; gap: 0 var(--g); }
.legal__toc li { counter-increment: toc; border-top: 1px solid var(--rule); }
.legal__toc a { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; font-size: var(--fs-l); }
.legal__toc a::before { content: counter(toc, decimal-leading-zero); font-size: 13px; color: var(--label); font-variant-numeric: tabular-nums; }
.legal__toc a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 600px) { .legal__toc ol { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .legal__toc ol { grid-template-columns: repeat(3, 1fr); } .legal__toc--2 ol { grid-template-columns: 1fr 1fr; } }
.legal__body { margin-top: clamp(64px, 9vw, 160px); }
.lsec { border-top: 1px solid var(--ink); padding-block: 20px clamp(56px, 7vw, 112px); display: grid; gap: 24px; }
.lsec h2 { font-size: var(--fs-h); letter-spacing: -0.015em; line-height: 1.2; }
@media (min-width: 1040px) {
	.lsec { grid-template-columns: repeat(12, 1fr); column-gap: var(--g); }
	.lsec h2 { grid-column: 1 / span 4; padding-right: 24px; }
	.lsec__body { grid-column: 5 / -1; }
}
.lsec__body { max-width: 46em; }
.lsec__body h3 { font-size: var(--fs-l); font-weight: 500; margin-top: 32px; margin-bottom: 8px; }
.lsec__body p, .lsec__body li, .lsec__body dd, .lsec__body dt { font-size: var(--fs-l); line-height: 1.6; }
.lsec__body p { color: var(--ink-soft); }
.lsec__body p + p, .lsec__body dl + p, .lsec__body ul + p { margin-top: 16px; }
.lsec__body ul { margin-top: 12px; }
.lsec__body ul li { border-top: 1px solid var(--rule); padding: 12px 0; }
.lsec__body ul li:last-child { border-bottom: 1px solid var(--rule); }
.lsec__body dl > div { display: grid; gap: 2px 16px; padding: 12px 0; border-top: 1px solid var(--rule); }
.lsec__body dl > div:last-child { border-bottom: 1px solid var(--rule); }
.lsec__body dt, .lsec__body dd { min-width: 0; overflow-wrap: break-word; }
.lsec__body dt { hyphens: auto; }
.lsec__body > :first-child { margin-top: 0; }
.lsec__body > dl:first-child > div:first-child, .lsec__body > ul:first-child > li:first-child { border-top: 0; padding-top: 0; }
.lsec__body dl + p { margin-top: 20px; }
.lsec__body dt { color: var(--label); }
/* Ab 600 px zwei Spalten: Bezeichnungen überall gleich breit (16em, passt für „Unternehmensgegenstand“), alle Zeilen und Tabellen fluchten. */
@media (min-width: 600px) {
	.lsec__body dl { display: grid; grid-template-columns: minmax(0, 16em) minmax(0, 1fr); column-gap: 32px; }
	.lsec__body dl > div { grid-column: 1 / -1; grid-template-columns: subgrid; column-gap: 32px; }
}
.lsec__body a { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.lsec__body a:hover { color: var(--muted); }
.lsec__body .btn { text-decoration: none; margin-top: 24px; }

/* Fuß (schwarz) ------------------------------------------------------------ */
.ft { background: #000; color: #f2f0ea; }
.ft :focus-visible { outline-color: #f2f0ea; }
.ft__in { max-width: var(--max); margin: 0 auto; padding: 48px var(--m) 24px; overflow: hidden; }
.ft a, .ft button.linklike { color: #f2f0ea; }
.ft a:hover, .ft button.linklike:hover { color: #f2f0ea; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.ft .lang a:hover { text-decoration: none; }
.ft__row { border-top: 1px solid #33332f; padding: 16px 0 32px; display: grid; gap: 12px; }
.ft__label { color: #a4a39c; }
.ft__content > * + * { margin-top: 8px; }
.ft__content p { max-width: 36em; }
.ft__inline { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ft__inline > * + * { margin-top: 0; }
.ft .lang { font-size: 15px; }
.ft .lang a { color: #a4a39c; min-height: 0; }
.ft .lang a:hover, .ft .lang a[aria-current] { color: #f2f0ea; }
.ft .lang li + li::before { color: #5d5d58; }
.ft__mark { font-size: clamp(40px, 11.2vw, 196px); line-height: .9; letter-spacing: -0.045em; font-weight: 500; margin-top: 64px; white-space: nowrap; }
@media (min-width: 1040px) {
	.ft__row { grid-template-columns: repeat(12, 1fr); column-gap: var(--g); }
	.ft__label { grid-column: 1 / span 6; }
	.ft__content { grid-column: 7 / -1; }
}
button.linklike { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }

/* Einwilligung --------------------------------------------------------------
   Startseite und 404: Softwall wie noiseappeal.com (Seite unscharf und abgedunkelt, Karte mittig,
   Scrollen gesperrt, Rest der Seite inert). Impressum/Datenschutz: nur Leiste unten.
   Die Klasse .cw setzt ein Inline-Skript im <head>, damit nichts aufblitzt. */
.consent { position: fixed; z-index: 60; }
.consent__in:focus { outline: none; }
/* Beide Knöpfe gleichwertig: Fokus zeigt nur den Rahmen, keine Füllung */
.consent__actions .btn:focus-visible:not(:hover) { color: var(--ink); background-size: 0% 100%; outline: 2px solid var(--focus); outline-offset: 2px; }
.consent__title { font-size: var(--fs-h); line-height: 1.15; letter-spacing: -0.015em; }
.consent__text { color: var(--ink-soft); line-height: 1.55; max-width: 34em; margin-top: 12px; }
.consent__text a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.consent__actions .btn { --fg: var(--ink); --bg: #fff; --wipe: var(--ink); --fg-hover: #fff; min-height: 48px; padding: 0 16px; }

/* Wand */
html.cw body[data-wall="1"] { overflow: hidden; }
html.cw body[data-wall="1"] > :not(.consent) { filter: blur(10px) brightness(.55); }
body[data-wall="1"] > :not(.consent) { transition: filter 500ms var(--ease); }
html.cw body[data-wall="1"] > .consent, html.cw body[data-wall="1"] > .consent[hidden] {
	display: grid; place-items: center; inset: 0; padding: var(--m); background: rgb(0 0 0 / .25);
}
body[data-wall="1"] .consent__in { background: #fff; width: min(560px, 100%); padding: clamp(24px, 5vw, 48px); max-height: calc(100dvh - 2 * var(--m)); overflow: auto; animation: cw-in 700ms var(--ease) both; }
@keyframes cw-in { from { opacity: 0; transform: translateY(16px) scale(.985); } }
html:not(.cw) body[data-wall="1"] .consent { display: none; }

/* Leiste (rechtliche Seiten) */
body[data-wall="0"] .consent { left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--ink); transform: translateY(100%); transition: transform 300ms var(--ease); }
body[data-wall="0"] .consent.is-visible { transform: none; }
body[data-wall="0"] .consent__in { max-width: var(--max); margin: 0 auto; padding: 16px var(--m) 24px; display: grid; gap: 0 var(--g); }
body[data-wall="0"] .consent__title { font-size: var(--fs-l); }
@media (min-width: 1040px) {
	body[data-wall="0"] .consent__in { grid-template-columns: repeat(12, 1fr); align-items: end; }
	body[data-wall="0"] .consent__title, body[data-wall="0"] .consent__text { grid-column: 1 / span 8; }
	body[data-wall="0"] .consent__actions { grid-column: 9 / -1; grid-row: 1 / span 2; margin-top: 0; }
}

/* Sanftes Einblenden (nur opacity/transform, kein Layout-Sprung) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1100ms var(--ease), transform 1300ms var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
	.giant__c { font-weight: 400 !important; }
}
@media print {
	.hd, .consent, .ft__mark, .skip { display: none; }
	.band, .cta { background: none !important; color: #000 !important; }
}

/* Mehr Kontrast (Systemeinstellung): Grautöne dunkler, Linien kräftiger */
@media (prefers-contrast: more) {
	:root { --muted: #3d3d3d; --label: #3d3d3d; --ink-soft: #1a1a1a; --rule: #767676; --rule-strong: #4a4a4a; }
	.band--design { --mt: #2b2600; } .band--code { --mt: #dcdbd4; } .band--betreuung { --mt: #ffffff; } .band--beratung { --mt: #2e2e2e; }
	.ft__label, .ft .lang a { color: #d8d7d0; }
	.hero__kicker, .display__b { color: var(--label); }
}
