/*
 Theme Name:   Bricks Child – Dames GmbH
 Description:  Dames GmbH: lokale Schriften, Struktur-CSS und Motion-Layer. Inhalte, Typografie und Farben liegen in Bricks (globale Klassen d-*, Palette, Variablen).
 Author:       fm-creations
 Template:     bricks
 Version:      1.0.0
 Text Domain:  bricks
*/

/* Schriften: nur lokal */
@font-face { font-family: "Barlow"; src: url("assets/fonts/barlow-400-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; 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: "Barlow"; src: url("assets/fonts/barlow-400-latin-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("assets/fonts/bsc-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; 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: "Barlow Semi Condensed"; src: url("assets/fonts/bsc-600-latin-ext.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* metrisch angepasste Fallbacks */
@font-face { font-family: "Dames Display Fallback"; font-weight: 600; src: local("Arial Narrow Bold"), local("ArialNarrow-Bold"), local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Roboto Bold"); size-adjust: 88%; ascent-override: 100%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Dames Text Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Roboto"); size-adjust: 97%; ascent-override: 98%; descent-override: 22%; line-gap-override: 0%; }

:root {
	--d-font-h: "Barlow Semi Condensed", "Dames Display Fallback", "Arial Narrow", Arial, sans-serif;
	--d-font-t: "Barlow", "Dames Text Fallback", Arial, sans-serif;
	--d-ez: cubic-bezier(.2, .7, .2, 1);
	--d-head-h: 84px;
}
@media (max-width: 800px) { :root { --d-head-h: 72px; } }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--d-head-h) + 16px); }
body { background: var(--d-wht); color: var(--d-ink); font-family: var(--d-font-t); font-size: 17px; line-height: 1.6; overflow-x: clip; }
.d-h0, .d-h1, .d-h2, .d-h3, .d-num, .d-fw { font-family: var(--d-font-h); }
h1, h2, h3, h4 { text-wrap: balance; overflow-wrap: normal; hyphens: manual; }
p, li { text-wrap: pretty; }
.brxe-text p { margin: 0 0 1em; }
.brxe-text p:last-child { margin-bottom: 0; }
a { color: inherit; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--d-foc, var(--d-b6)); outline-offset: 3px; }
.d-head, .d-dark, .d-film, .d-ref, .d-ph, .d-cut, .d-con-l, .d-foot { --d-foc: var(--d-b2); }
mark.d-draft { background: var(--d-wrn); color: var(--d-ink); padding: 0 .25em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.d-num { font-variant-numeric: tabular-nums; }

/* Header (Bricks-Template) */
#brx-header { position: fixed; inset: 0 0 auto 0; z-index: 90; }
.admin-bar #brx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #brx-header { top: 46px; } }
.d-head { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: nowrap; width: 100%; transition: background-color .3s, box-shadow .3s; }
.d-head.on, body:not(.home) .d-head { background-color: color-mix(in srgb, var(--d-n9) 97%, transparent); box-shadow: 0 1px 0 rgba(255, 255, 255, .1); }
/* Glas nur über dem dunklen Hero */
.d-head.on.d-over-hero { background-color: color-mix(in srgb, var(--d-n9) 55%, transparent); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 rgba(255, 255, 255, .14); }
.d-logo { display: block; width: 133px; height: 64px; flex: none; }
.d-logo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left center; }
@media (max-width: 800px) { .d-logo { width: 108px; height: 52px; } }
.d-nav .bricks-nav-menu { gap: 0; }
.d-nav .bricks-nav-menu > li { margin: 0; }
.d-nav .bricks-nav-menu > li > a { position: relative; display: block; padding: 10px 20px; color: var(--d-wht); text-decoration: none; font-size: 18px; transition: color .2s; }
.d-nav .bricks-nav-menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--d-b2); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--d-ez); }
.d-nav .bricks-nav-menu > li > a:hover, .d-nav .bricks-nav-menu > li > a[aria-current="page"] { color: var(--d-b2); }
.d-nav .bricks-nav-menu > li > a:hover::after, .d-nav .bricks-nav-menu > li > a[aria-current="page"]::after { transform: scaleX(1); }
.d-nav .bricks-mobile-menu-toggle { width: 44px; height: 44px; color: var(--d-wht); }
@media (max-width: 767px) {
	.d-nav .bricks-mobile-menu-wrapper { position: fixed; top: var(--d-head-h); left: 0; right: 0; width: 100%; height: auto; }
	.admin-bar .d-nav .bricks-mobile-menu-wrapper { top: calc(var(--d-head-h) + 46px); }
	.d-nav .bricks-mobile-menu-wrapper::before { background: var(--d-n8); }
	.d-nav .bricks-mobile-menu { padding: 8px 0 16px; }
	.d-nav .bricks-mobile-menu > li > a { display: block; padding: 14px 24px; color: var(--d-wht); font-size: 19px; text-decoration: none; }
	.d-nav .bricks-mobile-menu > li > a[aria-current="page"] { color: var(--d-b2); }
}

/* Sektionen */
.d-sec, .d-dark, .d-light, .d-hero, .d-film, .d-split, .d-ref, .d-panel, .d-ph, .d-cut, .d-steps, .d-con, .d-foot, .d-legal { width: 100%; align-items: stretch; }

/* Hero Startseite */
.d-hero { position: relative; height: 100vh; height: 100svh; background: var(--d-nx); color: var(--d-wht); }
html.d-motion .d-hero { height: 190vh; height: 190svh; }
@media (max-width: 800px) { html.d-motion .d-hero { height: 165vh; height: 165svh; } }
.d-hero-pin { position: relative; height: 100vh; height: 100svh; width: 100%; overflow: hidden; background: var(--d-nx); }
html.d-motion .d-hero-pin { position: sticky; top: 0; }
.d-hero-poster, .d-hero-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.d-hero-stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.d-hero-stage canvas { display: block; opacity: 0; transition: opacity .5s ease; }
.d-hero.is-ready .d-hero-stage canvas { opacity: 1; }
/* Übergang in die weiße Folgesektion: weicher Lichtverlauf von unten statt Vollbild-Weiß.
   Statisch (reduced motion, no-JS, ohne WebGL) nur ein kurzer Verlauf am unteren Rand; im Motion-Modus steigt er mit dem Scrollen auf
   und ist exakt beim Lösen des Sticky-Bereichs unten deckend weiß (hero.js setzt --d-k aus der ungeglätteten Scrollposition). */
.d-hero-flash { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1;
	background: linear-gradient(180deg, transparent calc(100% - 26vh), color-mix(in srgb, var(--d-b3) 12%, transparent) calc(100% - 19vh), color-mix(in srgb, var(--d-b2) 42%, transparent) calc(100% - 12vh), color-mix(in srgb, var(--d-b1) 82%, transparent) calc(100% - 5vh), var(--d-wht) 100%); }
html.d-motion .d-hero-flash { --d-k: 0; opacity: min(1, calc(var(--d-k) * 1.6)); transform: translate3d(0, calc((1 - var(--d-k)) * 34%), 0); will-change: transform, opacity;
	background: linear-gradient(180deg, transparent 24%, color-mix(in srgb, var(--d-b4) 7%, transparent) 38%, color-mix(in srgb, var(--d-b3) 22%, transparent) 50%, color-mix(in srgb, var(--d-b2) 50%, transparent) 61%, color-mix(in srgb, var(--d-b1) 80%, transparent) 72%, color-mix(in srgb, var(--d-wht) 96%, transparent) 82%, var(--d-wht) 89%); }
.d-hero-t { position: relative; z-index: 2; width: auto; align-self: flex-start; pointer-events: none; will-change: transform, opacity; }
.d-h0 { white-space: nowrap; }
html.d-motion .d-h0 { -webkit-mask-image: linear-gradient(100deg, #000 46%, transparent 54%); mask-image: linear-gradient(100deg, #000 46%, transparent 54%); -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 100% 0; mask-position: 100% 0; animation: d-wipe 1.15s var(--d-ez) .05s forwards; }
html.d-motion .d-sub { opacity: 0; transform: translateY(14px); animation: d-rise .8s var(--d-ez) .75s forwards; }
@keyframes d-wipe { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes d-rise { to { opacity: 1; transform: none; } }
/* Scroll-Hinweis (Hero und Haus-Animation): Glas-Pille, Maus-Icon; auf Touch ein Wisch-Icon. Nur im Motion-Modus, blendet beim Scrollen aus (JS setzt opacity am Element, die Animationen laufen nur an den Kindern). */
.d-cue { position: absolute; left: 50%; bottom: clamp(20px, 4vh, 40px); z-index: 3; display: none; flex-direction: row; align-items: center; gap: 12px; width: auto; padding: 10px 18px 10px 12px; border-radius: 999px; color: var(--d-wht); pointer-events: none; transform: translateX(-50%);
	background-color: color-mix(in srgb, var(--d-n9) 62%, transparent); border: 1px solid color-mix(in srgb, var(--d-b2) 48%, transparent); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%); }
html.d-motion .d-cue { display: flex; }
.d-cue > * { animation: d-cue-in .7s var(--d-ez) 1.3s both; }
.d-cue-i { position: relative; flex: none; width: 22px; height: 34px; border: 2px solid var(--d-b2); border-radius: 12px; }
.d-cue-i::before { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--d-wht); animation: d-wheel 1.9s var(--d-ez) infinite; }
.d-cue-t { font-family: var(--d-font-h); font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: .12em; text-transform: uppercase; color: var(--d-b1); }
@keyframes d-wheel { 0% { transform: translateY(0); opacity: .4; } 20% { opacity: 1; } 70% { transform: translateY(11px); opacity: .15; } 100% { transform: translateY(0); opacity: .4; } }
@keyframes d-cue-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (pointer: coarse) {
	/* Wischen: Fingerkuppe gleitet nach oben */
	.d-cue-i { width: 22px; height: 36px; border: 0; border-radius: 0; }
	.d-cue-i::after { content: ""; position: absolute; left: 50%; top: 2px; bottom: 2px; width: 2px; margin-left: -1px; border-radius: 1px; background: linear-gradient(0deg, color-mix(in srgb, var(--d-b2) 10%, transparent), color-mix(in srgb, var(--d-b2) 60%, transparent)); }
	.d-cue-i::before { top: auto; bottom: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--d-wht); box-shadow: 0 0 0 4px color-mix(in srgb, var(--d-b2) 35%, transparent); z-index: 1; animation: d-swipe 1.9s var(--d-ez) infinite; }
}
@keyframes d-swipe { 0% { transform: translateY(0); opacity: .45; } 15% { opacity: 1; } 70% { transform: translateY(-22px); opacity: .25; } 100% { transform: translateY(0); opacity: .45; } }
.d-haus-cue { bottom: auto; top: 0; }

/* Intro */
.d-ab { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: clamp(40px, 6vw, 96px); }
.d-ab > .d-h2 { grid-column: 1 / 11; }
.d-ab-a { grid-column: 1 / 6; }
.d-ab-a img { aspect-ratio: 4 / 5; width: 100%; height: auto; object-fit: cover; }
.d-ab-b { grid-column: 7 / 13; justify-content: space-between; gap: clamp(40px, 5vw, 80px); }
.d-ab-b img { aspect-ratio: 7 / 5; width: 100%; height: auto; object-fit: cover; }

/* Film (horizontaler Streifen) */
.d-film { position: relative; }
.d-pin { position: relative; overflow: hidden; padding: var(--d-s) 0 72px; background: var(--d-n9); width: 100%; align-items: stretch; }
.d-film-h { padding: 0 var(--d-e) clamp(32px, 4vw, 56px); width: 100%; }
.d-track { flex-direction: row; flex-wrap: nowrap; gap: clamp(14px, 1.8vw, 28px); padding: 0 var(--d-e); width: max-content; will-change: transform; align-items: flex-start; }
.d-fi { --w: 37vh; width: var(--w); flex: none; gap: 0; }
.d-fi.d-wide { --w: 68vh; }
.d-fi img { height: 50vh; width: 100%; object-fit: cover; margin-bottom: 18px; }
.d-fi .brxe-text { font-size: 16px; line-height: 1.45; color: var(--d-on); margin-top: 4px; }
.d-bar { position: absolute; left: var(--d-e); right: var(--d-e); bottom: 32px; height: 2px; background: rgba(255, 255, 255, .14); }
.d-bar b { display: block; height: 100%; background: var(--d-b2); box-shadow: 0 0 14px 1px var(--d-b3); transform-origin: 0 50%; transform: scaleX(0); }
.d-free .d-track { width: 100%; max-width: 100%; overflow-x: auto; scroll-snap-type: x proximity; }

/* Zweispaltig mit Bild */
.d-split { flex-direction: row; align-items: flex-start; }
.d-split-m { width: 50%; height: 100vh; position: sticky; top: 0; overflow: hidden; }
.d-split-m img { height: 100%; width: 100%; object-fit: cover; }
.d-split-t { width: 50%; }
.d-rows { width: 100%; }
.d-row { padding: clamp(24px, 2.6vw, 40px) 0; border-top: 1px solid var(--d-lin); gap: 10px; width: 100%; }
.d-row:last-child { border-bottom: 1px solid var(--d-lin); }

/* Referenz */
.d-ref { position: relative; overflow: hidden; min-height: 100vh; justify-content: flex-end; padding: var(--d-s) var(--d-e) clamp(48px, 6vw, 88px); }
.d-map { position: absolute; inset: 0 0 0 31%; width: auto; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%); mask-image: linear-gradient(90deg, transparent, #000 10%); }
.d-map img { display: block; height: 100%; width: 100%; object-fit: contain; object-position: 100% 50%; transition: opacity 1s ease; }
.d-map.dim img { opacity: .3; }
.d-mapc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity .8s; }
.d-ref-t { position: relative; z-index: 2; width: auto; max-width: 560px; gap: 12px; }

/* Panel */
.d-panel { flex-direction: row; }
.d-panel-t { width: 62%; gap: clamp(24px, 3vw, 44px); }
.d-panel-m { width: 38%; align-self: stretch; min-height: 420px; overflow: hidden; }
.d-panel-m img { height: 100%; width: 100%; object-fit: cover; }

/* Unterseiten-Hero */
.d-ph { flex-direction: row; min-height: 82vh; }
@media (min-width: 801px) { .d-ph { height: 86vh; min-height: 560px; } }
.d-ph-t { width: 44%; justify-content: flex-end; gap: 20px; }
.d-ph-m { width: 56%; overflow: hidden; align-self: stretch; position: relative; }
.d-ph-m img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; }

/* Leistungen: Haus-Animation (Canvas nur mit html.d-motion, sonst Poster und statische Liste) */
.d-cut { overflow: clip; }
.d-cut-h { padding: var(--d-s) var(--d-e) clamp(32px, 4vw, 64px); width: 100%; }
.d-haus { position: relative; width: 100%; }
html.d-motion .d-haus { height: 270vh; height: 270svh; }
.d-haus-pin { position: relative; width: 100%; align-items: stretch; }
html.d-motion .d-haus-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--d-nx); }
.d-haus-poster, .d-haus-poster img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; }
html.d-motion .d-haus-poster { display: none; }
.d-haus-stage { display: none; }
html.d-motion .d-haus-stage { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.d-haus-stage canvas { display: block; opacity: 0; transition: opacity .5s ease; }
.d-haus.is-ready .d-haus-stage canvas { opacity: 1; }
.d-labs { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px 40px; width: 100%; padding: clamp(18px, 2vw, 28px) var(--d-e) 0; }
.d-lab { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.3; color: var(--d-on); }
html.d-motion .d-labs { display: block; position: absolute; inset: 0; height: 100%; padding: 0; z-index: 1; pointer-events: none; }
html.d-motion .d-lab { position: absolute; left: 0; top: 0; padding: 4px 10px 5px; color: var(--d-wht); background-color: color-mix(in srgb, var(--d-n9) 84%, transparent); border-left: 2px solid var(--d-b4); opacity: 0; visibility: hidden; transition: opacity .35s var(--d-ez), visibility .35s; will-change: transform; }
html.d-motion .d-lab.on { opacity: 1; visibility: visible; }
.d-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); padding: clamp(32px, 3.4vw, 48px) var(--d-e) clamp(40px, 4.4vw, 64px); width: 100%; }
html.d-motion .d-steps { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding-top: clamp(64px, 7vw, 96px); background: linear-gradient(180deg, transparent, var(--d-n8) 42%); }
.d-step { position: relative; gap: 8px; padding-top: 18px; }
.d-step::before, .d-step::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; }
.d-step::before { background: color-mix(in srgb, var(--d-b4) 32%, transparent); }
.d-step::after { background: var(--d-b2); transform: scaleX(var(--f, 1)); transform-origin: 0 50%; }
.d-step .brxe-text { font-size: 17px; color: var(--d-on); }
html.d-motion .d-step .brxe-text { font-size: 16px; line-height: 1.45; }

/* Mosaik */
.d-mos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); padding: clamp(8px, 1vw, 16px); width: 100%; }
.d-mos .brxe-image { overflow: hidden; aspect-ratio: 4 / 5; grid-column: span 3; width: auto; position: relative; }
.d-mos a.brxe-image { display: block; }
.d-mos a.brxe-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.d-mos img.brxe-image { display: block; width: 100%; height: auto; object-fit: cover; }
.d-mos .brxe-image.d-big { grid-column: span 6; grid-row: span 2; aspect-ratio: auto; }
.d-mos .brxe-image.d-widebox { grid-column: span 6; aspect-ratio: auto; }
.d-mos .d-big img, .d-mos .d-widebox img { position: absolute; inset: 0; }
@media (min-width: 801px) { .d-mos img.d-big, .d-mos img.d-widebox { height: 0; min-height: 100%; } }
@media (hover: hover) { .d-mos img { transition: transform .7s var(--d-ez), opacity .5s ease; } .d-mos a:hover img, .d-mos a:focus-visible img { transform: scale(1.045); } }

/* Über uns: Werte */
.d-val { flex-direction: row; gap: clamp(24px, 4vw, 64px); align-items: baseline; padding: clamp(24px, 3vw, 44px) 0; border-top: 1px solid rgba(255, 255, 255, .2); width: 100%; }
.d-val:last-child { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.d-val > .d-h2 { width: 50%; flex: none; }
.d-val > .brxe-text { flex: 1; }
.d-dark .d-lead { margin-top: 20px; }

/* Kontakt */
.d-con { flex-direction: row; }
.d-con-l { width: 44%; justify-content: space-between; gap: 48px; }
.d-con-r { width: 56%; }
.d-form { margin: 0 -8px; width: calc(100% + 16px); }
.d-form .form-group { padding: 0 8px; margin-bottom: 20px; }
.d-form label { color: var(--d-n8); font-size: 17px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.d-form a { color: var(--d-b6); text-decoration: underline; }
.d-form input:not([type=checkbox]), .d-form textarea { background: var(--d-wht); border: 1px solid var(--d-mut); border-radius: 0; color: var(--d-ink); font-size: 17px; font-family: var(--d-font-t); padding: 8px 12px; }
.d-form input:not([type=checkbox]) { height: 47px; }
.d-form textarea { height: 180px; }
.d-more { border-bottom: 2px solid currentColor; padding-bottom: 3px; width: fit-content; }
.d-more:hover { color: var(--d-b2); }
.d-form button[type=submit] { background: var(--d-b6); color: var(--d-wht); border-radius: 0; border: 0; padding: 12px 40px; font-size: 17px; font-family: var(--d-font-t); transition: background-color .2s, transform .15s; }
.d-form button[type=submit]:hover, .d-form button[type=submit]:active { background: var(--d-b7); }
.d-form button[type=submit]:active { transform: scale(.98); }

/* Rechtstexte */
.d-legal { padding: calc(var(--d-head-h) + 56px) var(--d-e) clamp(64px, 8vw, 120px); max-width: 980px; margin: 0 auto; color: var(--d-ink); }
.d-legal h2 { font-family: var(--d-font-h); font-weight: 600; font-size: clamp(25px, 2.5vw, 38px); line-height: 1.15; margin: 1.4em 0 .4em; }
.d-legal p { margin: 0 0 1em; }
.d-legal a { color: var(--d-b6); }

/* Footer */
.d-foot { position: relative; overflow: hidden; gap: clamp(40px, 5vw, 72px); }
.d-foot-fx { position: absolute; inset: auto 0 0 auto; width: 50%; height: 150px; transform: scaleX(-1); opacity: .75; pointer-events: none; }
.d-foot-fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.d-foot-g { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr); gap: clamp(40px, 4vw, 64px) clamp(24px, 3vw, 48px); width: 100%; align-items: start; }
.d-foot-b { gap: 18px; }
.d-foot-logo { display: block; width: clamp(180px, 15vw, 230px); height: auto; }
.d-foot-logo img { display: block; width: 100%; height: auto; }
.d-foot-tag { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.4; color: var(--d-on); }
.d-foot-c { gap: 12px; }
.d-foot-h { font-family: var(--d-font-h); font-weight: 600; font-size: clamp(22px, 1.7vw, 26px); line-height: 1.15; color: var(--d-wht); }
.d-foot-t { font-size: 16px; line-height: 1.5; }
.d-foot-t p { margin: 0 0 12px; }
.d-foot-t p:last-child { margin-bottom: 0; }
.d-foot a { color: inherit; text-decoration: none; transition: color .2s; }
.d-foot a:hover { color: var(--d-b2); text-decoration: underline; }
.d-foot-t a { display: inline-block; padding: 7px 0; }
.d-foot-nav .bricks-nav-menu { flex-direction: column; align-items: flex-start; gap: 0; }
.d-foot-nav .bricks-nav-menu > li { margin: 0; }
.d-foot-nav .bricks-nav-menu > li > a { display: inline-block; padding: 7px 0; color: inherit; font-size: 16px; line-height: 1.5; }
.d-foot-end { position: relative; z-index: 1; flex-direction: row; justify-content: flex-start; width: 100%; border-top: 1px solid color-mix(in srgb, var(--d-wht) 14%, transparent); padding-top: 22px; font-size: 15px; color: var(--d-on); }
@media (max-width: 1024px) {
	.d-foot-g { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.d-foot-b { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.d-foot-g { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
	.d-foot-b, .d-foot-c { align-items: center; }
	.d-foot-t a, .d-foot-nav .bricks-nav-menu > li > a { padding: 11px 8px; }
	.d-foot-nav .bricks-nav-menu { align-items: center; }
	.d-foot-end { justify-content: center; text-align: center; }
}

/* Einblendungen */
.d-js .d-r { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--d-ez), transform .9s var(--d-ez); }
.d-js .d-r.in { opacity: 1; transform: none; }
.d-js img.d-c, .d-js .d-c img { opacity: 0; transition: opacity .5s ease; }
.d-js img.d-c.in, .d-js .d-c.in img { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.d-js .d-r, .d-js img.d-c, .d-js .d-c img { opacity: 1; transform: none; transition: none; }
	html.d-motion .d-h0, html.d-motion .d-sub { animation: none; opacity: 1; transform: none; -webkit-mask-image: none; mask-image: none; }
}

@media (max-width: 1024px) {
	.d-track { width: 100%; max-width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--d-e); padding-bottom: 6px; overscroll-behavior-x: contain; scrollbar-width: none; }
	.d-track::-webkit-scrollbar { display: none; }
	.d-fi, .d-fi.d-wide { --w: 74vw; scroll-snap-align: start; }
	.d-fi img { height: auto; aspect-ratio: 4 / 5; }
	.d-bar { display: block; position: relative; left: auto; right: auto; bottom: auto; margin: 24px var(--d-e) 0; }
	.d-pin { padding-bottom: var(--d-s); }
	.d-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 601px) and (max-width: 1024px) { .d-fi, .d-fi.d-wide { --w: 44vw; } }
@media (min-width: 1025px) and (min-height: 620px) {
	.d-pin { position: sticky; top: 0; height: 100vh; justify-content: center; padding: 72px 0 64px; }
	.d-film-h { padding-bottom: 28px; }
}
@media (max-width: 800px) {
	.d-ab > .d-h2, .d-ab-a, .d-ab-b { grid-column: 1 / 13; }
	.d-ab-b { gap: 40px; }
	.d-split, .d-panel, .d-ph, .d-con { flex-direction: column; }
	.d-split-m { position: relative; width: 100%; height: 92vw; }
	.d-split-t, .d-panel-t, .d-panel-m, .d-ph-t, .d-ph-m, .d-con-l, .d-con-r { width: 100%; }
	.d-ph { min-height: 0; }
	.d-ph-t { padding-top: 112px !important; padding-bottom: 40px !important; }
	.d-ph-m { height: 80vw; align-self: auto; }
	.d-panel-m { height: 90vw; min-height: 0; align-self: auto; }
	.d-ref { min-height: 0; padding-top: calc(56vw + 88px); }
	.d-map { inset: 72px 0 auto 0; height: 54vw; -webkit-mask-image: none; mask-image: none; }
	.d-map img { object-fit: contain; object-position: 50% 50%; }
	.d-mos { background: var(--d-wht); gap: 8px; padding: 0 var(--d-e) var(--d-s); }
	.d-mos .brxe-image { grid-column: span 6; }
	.d-mos .brxe-image.d-big, .d-mos .brxe-image.d-widebox { grid-column: span 12; grid-row: auto; aspect-ratio: 7 / 5; }
	.d-val { flex-direction: column; gap: 8px; }
	.d-val > .d-h2 { width: 100%; }
	.d-steps { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.d-haus-poster, .d-haus-poster img { aspect-ratio: 92 / 100; }
	.d-labs { justify-content: center; text-align: center; gap: 6px 24px; }
	.d-con-l { padding-top: 112px !important; padding-bottom: 48px !important; }
	.d-con-r { padding-top: 48px !important; padding-bottom: 64px !important; }
	.d-form .form-group { width: 100% !important; }
	.d-form .submit-button-wrapper { width: 100%; }
	.d-form button[type=submit] { width: 100%; min-height: 52px; }
	.d-form input[type=checkbox] { width: 22px; height: 22px; flex: none; margin: 2px 10px 0 0; }
	.d-foot-fx { display: none; }
	.d-more { display: block; width: 100%; text-align: center; }
}
.d-form label.required::after { color: #e00000; }
a[href^="tel:"] { font-variant-numeric: tabular-nums; }
.skip-link { color: var(--d-wht); }
html:not(.d-js) #brx-header { position: absolute; }
html:not(.d-js) .d-head { background-color: color-mix(in srgb, var(--d-n9) 97%, transparent); }
.d-con-r .d-form { width: calc(100% + 16px); max-width: none; }
.d-legal { max-width: 1040px; margin: 0; padding-left: clamp(24px, 8.3vw, 120px); padding-right: var(--d-e); }
.d-legal .d-h1.brxe-heading { font-size: clamp(30px, 2.8vw, 40px); margin-bottom: .5em; }
@media (max-width: 1024px) {
	html.d-motion .d-steps { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 56px; padding-bottom: 24px; }
	html.d-motion .d-step { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s var(--d-ez), transform .3s var(--d-ez), visibility .3s; }
	html.d-motion .d-step.now, html.d-motion .d-steps:not(:has(.now)) .d-step:first-child { opacity: 1; visibility: visible; transform: none; }
	html.d-motion .d-steps { min-height: 190px; }
}
@media (max-width: 800px) { html.d-motion .d-haus { height: 240vh; height: 240svh; } }

/* Stage 1C: Kontakt – dezentes Symbolbild als Fläche hinter der Adresse (native Bricks-Bild, im Builder austauschbar), stark in Navy getönt */
.d-con-l { position: relative; overflow: hidden; isolation: isolate; }
.d-con-l > .d-con-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 60%; z-index: 0; opacity: .2; filter: grayscale(1) contrast(1.05); mix-blend-mode: luminosity; pointer-events: none; }
.d-con-l::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, var(--d-n8) 0%, color-mix(in srgb, var(--d-n8) 30%, transparent) 45%, color-mix(in srgb, var(--d-n8) 55%, transparent) 75%, var(--d-n8) 100%); }
.d-con-l > :not(.d-con-bg) { position: relative; z-index: 1; }
/* Projekte: Hinweis Symbolbilder unter der Galerie-Überschrift */
.d-note { font-size: 15px; line-height: 1.4; color: var(--d-mut); margin-top: 14px; }
