/*
 * Dental Women – Gestaltung (Entwurf B „Weite“, Stand 02.12.2026).
 * Werte aus quelle/Dental Women Entwurf B 2027.dc.html (Inline-Stile).
 * Fluide Größen in cqi: der Seitenrahmen .dw-rahmen ist der Container.
 * Lila #CB62F6 nur für Flächen, Linien und Akzentwörter in großen Überschriften.
 */

@font-face { font-family: "Jost"; font-style: normal; font-weight: 200; font-display: swap; src: url("../fonts/jost-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/jost-latin-300-italic.woff2") format("woff2"); }

:root {
	--dw-ink: #1c1c1b;
	--dw-ink-2: #232322;
	--dw-ink-fuss: #141413;
	--dw-weiss: #ffffff;
	--dw-text: rgba(255, 255, 255, 0.86);
	--dw-text-leise: rgba(255, 255, 255, 0.8);
	--dw-text-rolle: rgba(255, 255, 255, 0.78);
	--dw-text-kicker-fuss: rgba(255, 255, 255, 0.7);
	--dw-lila: #CB62F6;
	--dw-lila-tint: rgba(203, 98, 246, 0.08);
	--dw-lila-linie: rgba(203, 98, 246, 0.7);
	--dw-lila-fuss: rgba(203, 98, 246, 0.5);
	--dw-linie: rgba(255, 255, 255, 0.18);
	--dw-linie-karte: rgba(255, 255, 255, 0.2);
	--dw-linie-knopf: rgba(255, 255, 255, 0.6);
	--dw-linie-feld: rgba(255, 255, 255, 0.5);
	--dw-feld-flaeche: rgba(255, 255, 255, 0.06);
	--dw-link-hover: #E7C4FA;
	--dw-hero-flaeche: #DCE3EE;
	--dw-bild-flaeche: #2a2a29;
	--dw-verlauf: linear-gradient(150deg, #8E2BC4 0%, #6B1E95 60%, #4A1668 100%);
	--dw-schrift: "Jost", system-ui, sans-serif;

	--dw-rand: clamp(20px, 4.4cqi, 64px);
	--dw-abschnitt: clamp(88px, 10cqi, 140px);
	--dw-abschnitt-150: clamp(88px, 10cqi, 150px);
	--dw-unterseite-oben: clamp(150px, 16cqi, 220px);

	--dw-h1-start: clamp(44px, 5.4cqi, 80px);
	--dw-h1: clamp(52px, 8cqi, 120px);
	--dw-h1-detail: clamp(48px, 7cqi, 104px);
	--dw-h2: clamp(44px, 6.6cqi, 96px);
	--dw-h2-statement: clamp(38px, 4.6cqi, 68px);
	--dw-h2-klein: clamp(34px, 4cqi, 56px);
	--dw-h3-wert: clamp(26px, 2.8cqi, 40px);
	--dw-h3-format: clamp(28px, 2.4cqi, 36px);
	--dw-datum: clamp(28px, 2.3cqi, 34px);
	--dw-vorspann: clamp(19px, 1.6cqi, 22px);
	--dw-fliesstext: clamp(18px, 1.4cqi, 20px);

	/* Schriftrollen vereinheitlicht (02.12.2026): je Rolle ein Wert, Entwurfswerte als Basis */
	--dw-kicker: 15px;            /* Kicker/Label in Versalien (vorher 14 oder 15 px) */
	--dw-kartentext: 18px;        /* Text in Termin- und Formatkarten (vorher 17 oder 18 px) */
	--dw-zeile-karte: 1.55;
	--dw-zeile-text: 1.65;        /* Fließtext (vorher 1,65 oder 1,7) */
	--dw-zeile-vorspann: 1.55;    /* Vorspann/Lead (vorher 1,45 bis 1,6) */

	/* Kopfzeile ab 1000 px: beim Scrollen kompakt (Höhe für Sprungziele) */
	--dw-kopf-kompakt: 94px;
	/* unter 1000 px: kompakter Kopf beim Mitscrollen (10 + 6 + 40 + 6 + 10 + 1 px Linie) */
	--dw-kopf-mobil: 73px;

	/* Rechtstexte: gleiche Fließtextgröße wie der Rest der Seite */
	--dw-recht-h1: clamp(40px, 5.2cqi, 76px);
	--dw-recht-h2: clamp(22px, 1.9cqi, 28px);
	--dw-recht-text: var(--dw-fliesstext);
	--dw-recht-breite: 70ch;
	--dw-recht-zeile: var(--dw-zeile-text);
}

/* ------------------------------------------------------------ Grundlage */
html { margin: 0; background: var(--dw-ink); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--dw-ink);
	color: var(--dw-weiss);
	font-family: var(--dw-schrift);
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}
*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
a { color: var(--dw-weiss); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--dw-link-hover); }
:focus-visible { outline: 2px solid var(--dw-weiss); outline-offset: 3px; }
[id] { scroll-margin-top: 8px; }

.dw-unsichtbar, .dw-falle {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.dw-sprunglink {
	position: absolute; left: 12px; top: -100px; z-index: 100;
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
	background: var(--dw-weiss); color: var(--dw-ink); font-size: 17px; font-weight: 400; text-decoration: none;
}
.dw-sprunglink:focus { top: 12px; color: var(--dw-ink); outline: 2px solid var(--dw-ink); }
.dw-inhalt:focus { outline: none; }

/* overflow: clip statt hidden – schneidet genauso ab, macht aber keinen Scrollbereich auf,
   sonst klebt die Kopfzeile (position: sticky) nicht. hidden bleibt Rückfall für alte Browser. */
.dw-rahmen { position: relative; container-type: inline-size; background: var(--dw-ink); color: var(--dw-weiss); overflow: hidden; overflow: clip; }

/* Hinweise nur für angemeldete Redakteure */
.dw-redaktion {
	margin: 16px var(--dw-rand); padding: 10px 14px;
	border: 1px dashed var(--dw-text-leise); color: var(--dw-weiss);
	font-size: 15px; line-height: 1.5; background: rgba(255, 255, 255, 0.04);
}

/* ------------------------------------------------------------ Bausteine */
.dw-kicker { margin: 0 0 18px; font-size: var(--dw-kicker); line-height: 1.445; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.dw-kicker-klein { margin: 0; font-size: var(--dw-kicker); line-height: 1.445; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dw-text-leise); }
.dw-akzent { color: var(--dw-lila); font-weight: 300; }
.dw-vorspann { margin: 0; max-width: 34ch; font-size: var(--dw-vorspann); line-height: var(--dw-zeile-vorspann); color: var(--dw-text); }

.dw-h1 { margin: 0; font-size: var(--dw-h1); line-height: 0.92; font-weight: 200; letter-spacing: -0.05em; }
.dw-h1-detail { margin: 0; font-size: var(--dw-h1-detail); line-height: 0.95; font-weight: 200; letter-spacing: -0.045em; }
.dw-h2 { margin: 0; font-size: var(--dw-h2); line-height: 0.95; font-weight: 200; letter-spacing: -0.045em; }
.dw-h2-klein { margin: 0 0 28px; font-size: var(--dw-h2-klein); line-height: 1.05; font-weight: 300; letter-spacing: -0.03em; }

/* Schaltflächen: Pillen, 17 px / 400 (Entwurf), Hover invertiert */
.dw-knopf {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 0 28px;
	border: 0; border-radius: 999px;
	font-family: inherit; font-size: 17px; font-weight: 400; line-height: 1.2; text-align: center;
	text-decoration: none; cursor: pointer;
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.dw-knopf .dw-symbol { flex: 0 0 auto; }
.dw-knopf--verlauf { background: var(--dw-verlauf); color: var(--dw-weiss); }
.dw-knopf--verlauf:hover { background: var(--dw-weiss); color: var(--dw-ink); }
.dw-knopf--verlauf-dunkel { background: var(--dw-verlauf); color: var(--dw-weiss); padding: 15px 28px; }
.dw-knopf--verlauf-dunkel:hover { background: var(--dw-ink); color: var(--dw-weiss); }
.dw-knopf--weiss { background: var(--dw-weiss); color: var(--dw-ink); }
.dw-knopf--weiss:hover { background: var(--dw-ink); color: var(--dw-weiss); }
.dw-knopf--linie { min-height: 52px; padding: 0 24px; background: none; color: var(--dw-weiss); border: 1px solid var(--dw-linie-knopf); }
.dw-knopf--linie:hover { background: var(--dw-weiss); color: var(--dw-ink); border-color: var(--dw-weiss); }
.dw-knopf--hero-linie { padding: 15px 28px; background: rgba(255, 255, 255, 0.6); color: var(--dw-ink); border: 2px solid var(--dw-ink); }
.dw-knopf--hero-linie:hover { background: var(--dw-ink); color: var(--dw-weiss); }
.dw-knopf--klein { min-height: 48px; padding: 0 22px; font-size: 16px; }
.dw-knopf:focus-visible { outline-offset: 3px; }
.dw-knopfreihe { display: flex; flex-wrap: wrap; gap: 10px; }

.dw-textlink {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
	color: var(--dw-weiss); font-size: 17px; font-weight: 400;
	text-decoration: underline; text-underline-offset: 5px;
}

/* Platzhalter-Chip (gestrichelt) */
.dw-chips { display: flex; flex-wrap: wrap; align-content: start; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dw-chip {
	display: inline-flex; align-items: center; justify-self: start;
	border: 1px dashed var(--dw-lila); border-radius: 3px; padding: 6px 12px;
	font-size: 16px; font-weight: 400; line-height: 1.4; color: var(--dw-weiss); background: var(--dw-lila-tint);
}
.dw-chip--hell { border-color: var(--dw-weiss); background: rgba(28, 28, 27, 0.18); }

/* Zitat mit lila Linksstrich */
.dw-zitat { margin: 6px 0 0; padding-left: 16px; border-left: 2px solid var(--dw-lila); font-size: 20px; line-height: 1.4; font-weight: 300; color: var(--dw-weiss); }
.dw-zitat--gross { margin: 0; padding-left: 18px; font-size: clamp(24px, 2.4cqi, 34px); line-height: 1.25; }

/* Auf Verlaufsflächen bleibt Linktext weiß (Hellila hätte dort zu wenig Kontrast). */
.dw-verlaufsflaeche a:not(.dw-knopf):hover { color: var(--dw-weiss); text-decoration-thickness: 2px; }

/* Abschnittskopf: Überschrift links, Hinweis rechts */
.dw-kopfzeile { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(40px, 5cqi, 72px); }
.dw-kopfzeile__rechts { display: grid; gap: 12px; max-width: 520px; }
.dw-kopfzeile--formate { gap: 20px 48px; margin-bottom: clamp(36px, 4cqi, 64px); }

/* ------------------------------------------------------------ Kopf */
.dw-kopf {
	position: absolute; top: 0; left: 0; right: 0; z-index: 20;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: clamp(16px, 2.2cqi, 28px) var(--dw-rand);
}
.dw-kopf__logo { display: flex; }
.dw-kopf__logoblock { display: flex; background: var(--dw-weiss); padding: clamp(12px, 1.5cqi, 21px) clamp(18px, 2.1cqi, 30px); }
.dw-kopf__logoblock img { display: block; height: clamp(60px, 6.6cqi, 96px); width: auto; }
.dw-kopf__logo:focus-visible { outline-color: var(--dw-lila); }

.dw-nav__liste { display: flex; align-items: center; gap: clamp(16px, 2cqi, 30px); margin: 0; padding: 0; list-style: none; font-size: 17px; font-weight: 400; }
.dw-nav__liste a {
	position: relative; display: inline-flex; align-items: center; min-height: 44px;
	border-bottom: 2px solid transparent; color: var(--dw-weiss); text-decoration: none;
}
.dw-nav__liste a:hover { color: var(--dw-weiss); }
/* Hover/Fokus: lila Linie läuft von links ein (Farbe des Textes bleibt) */
.dw-nav__liste a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
	background: var(--dw-lila); transform: scaleX(0); transform-origin: left center;
	transition: transform 180ms ease;
}
.dw-nav__liste a:hover::after, .dw-nav__liste a:focus-visible::after { transform: scaleX(1); }
.dw-nav__liste .dw-aktiv > a { border-bottom-color: var(--dw-lila); }
/* Startseite: Menü in weißer Pille, Text dunkel 500 */
.dw-ist-start .dw-nav__liste { background: rgba(255, 255, 255, 0.86); padding: 6px 28px; border-radius: 999px; }
.dw-ist-start .dw-nav__liste a { color: var(--dw-ink); font-weight: 500; }
.dw-ist-start .dw-nav__liste a:hover { color: var(--dw-ink); }
.dw-ist-start .dw-nav__liste a:focus-visible { outline-color: var(--dw-ink); }
.dw-kopf__cta { min-height: 52px; padding: 14px 26px; }
/* Termin- und Formatseiten: Kopf liegt auf dem lila Verlauf – Knopf weiß mit lila Schrift
   (#6B1E95 auf Weiß 9,35 : 1), Hover hell-lila (#4A1668 auf #E7C4FA 8,5 : 1), Fokusring weiß. */
.single-dw_termin .dw-kopf__cta, .single-dw_format .dw-kopf__cta { background: var(--dw-weiss); color: #6B1E95; }
.single-dw_termin .dw-kopf__cta:hover, .single-dw_format .dw-kopf__cta:hover { background: var(--dw-link-hover); color: #4A1668; }
.single-dw_termin .dw-kopf__cta:focus-visible, .single-dw_format .dw-kopf__cta:focus-visible { outline: 2px solid var(--dw-weiss); outline-offset: 3px; }

.dw-menueknopf {
	display: none; align-items: center; gap: 10px;
	min-height: 48px; padding: 12px 20px; touch-action: manipulation;
	border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 999px;
	background: rgba(28, 28, 27, 0.6); color: var(--dw-weiss);
	font-size: 17px; font-weight: 400;
}
/* Panel deckt den ganzen Bildschirm (Hausvorgabe 3.2), eigener Scrollbereich; der Abstand oben
   rechnet die Kopfhöhe (gleiche Formeln wie .dw-kopf) plus 24 px, damit „Über uns“ nicht am Logo klebt. */
.dw-menue-panel {
	display: none;
	position: absolute; top: 0; left: 0; right: 0; z-index: 15;
	height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
	align-content: start;
	background: var(--dw-ink);
	padding: calc(2 * clamp(16px, 2.2cqi, 28px) + 2 * clamp(12px, 1.5cqi, 21px) + clamp(60px, 6.6cqi, 96px) + 24px) 20px 32px;
}
html.dw-menue-offen { overflow: hidden; }
.dw-menue-panel nav { display: grid; }
.dw-panel__liste { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.dw-panel__liste a {
	display: flex; align-items: center; min-height: 56px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
	color: var(--dw-weiss); font-size: 26px; font-weight: 300; text-decoration: none;
}
.dw-panel__liste a { transition: border-color 180ms ease; }
.dw-panel__liste a:hover, .dw-panel__liste a:focus-visible { color: var(--dw-weiss); border-bottom-color: var(--dw-lila); }
.dw-panel__liste .dw-aktiv > a { border-bottom-color: var(--dw-lila); }
.dw-panel__cta { width: 100%; margin-top: 20px; }

/* Ab 1000 px läuft die Kopfzeile mit: ein Halter ohne Höhe klebt oben (sticky), der Kopf liegt
   darin absolut – kein Layoutsprung. Beim Scrollen kompakt mit dunkler Fläche und lila Unterkante
   (Hausvorgabe 3.3 „gescrollt“; Fläche dunkel statt weiß und ohne Schatten, weil der Entwurf
   dunkel ist und keine Schatten kennt). Mobil bleibt alles wie bisher. */
@container (min-width: 1000px) {
	.dw-kopf-halter { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 20; height: 0; }
	.dw-kopf { border-bottom: 1px solid transparent; transition: padding 300ms ease, background-color 300ms ease, border-color 300ms ease; }
	.dw-kopf__logoblock { transition: padding 300ms ease; }
	.dw-kopf__logoblock img { transition: height 300ms ease; }
	.dw-kopf.ist-kompakt { padding-top: 12px; padding-bottom: 12px; background: rgba(28, 28, 27, 0.94); border-bottom-color: var(--dw-lila-fuss); }
	.dw-kopf.ist-kompakt .dw-kopf__logoblock { padding: 8px 14px; }
	.dw-kopf.ist-kompakt .dw-kopf__logoblock img { height: 52px; }
	[id] { scroll-margin-top: calc(var(--dw-kopf-kompakt) + 8px); }
}

/* Unter 1000 px (02.12.2026): Sobald das erste Element des Inhalts (Startbild, Seitenkopf; höchstens
   eine Bildschirmhöhe) vorbei ist, setzt site.js „ist-fest“ am Halter – dann klebt der kompakte Kopf
   (Logo + Menü-Knopf) oben und gleitet einmal herein. Davor scrollt er mit der Seite weg wie bisher.
   Kein position: fixed – .dw-rahmen ist Container (layout containment) und wäre dessen Bezugsrahmen. */
@container (max-width: 999px) {
	.dw-kopf-halter.ist-fest { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 20; height: 0; }
	.dw-kopf-halter.ist-fest .dw-kopf {
		padding-top: 10px; padding-bottom: 10px;
		background: rgba(28, 28, 27, 0.94); border-bottom: 1px solid var(--dw-lila-fuss);
		animation: dw-kopf-ein 300ms ease-out;
	}
	.dw-kopf-halter.ist-fest .dw-kopf__logoblock { padding: 6px 10px; }
	.dw-kopf-halter.ist-fest .dw-kopf__logoblock img { height: 40px; }
	[id] { scroll-margin-top: calc(var(--dw-kopf-mobil) + 8px); }
}
@keyframes dw-kopf-ein { from { transform: translate3d(0, -100%, 0); } to { transform: none; } }
/* WordPress-Leiste (nur angemeldet) scrollt unter 600 px mit weg */
@media (max-width: 600px) { .dw-kopf-halter.ist-fest { top: 0; } }

@container (max-width: 999px) {
	.dw-nav, .dw-kopf__cta { display: none; }
	.dw-menueknopf { display: inline-flex; }
	.dw-js .dw-menue-panel.ist-offen { display: grid; }
	/* Ohne JavaScript: Menü sichtbar unter dem Kopf */
	html:not(.dw-js) .dw-menue-panel { display: grid; position: relative; }
	html:not(.dw-js) .dw-menueknopf { display: none; }
}

/* ------------------------------------------------------------ Startseite: Kopfbild */
.dw-hero {
	position: relative; min-height: clamp(640px, 96vh, 980px);
	display: flex; justify-content: center; align-items: flex-start;
	overflow: hidden; background: var(--dw-hero-flaeche);
}
.dw-hero__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 82%; display: block; }
.dw-hero__schleier { position: absolute; inset: 0; background: radial-gradient(ellipse 48% 46% at 50% 32%, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.45) 58%, rgba(255, 255, 255, 0) 100%); }
.dw-hero__inhalt { position: relative; width: 100%; max-width: 820px; padding: clamp(140px, 10cqi, 150px) 20px 120px; text-align: center; color: var(--dw-ink); }
.dw-hero__titel { margin: 0 auto; max-width: 11ch; font-size: var(--dw-h1-start); line-height: 0.98; font-weight: 300; letter-spacing: -0.035em; text-wrap: balance; }
.dw-hero__unter { margin: 18px 0 0; font-size: clamp(20px, 1.9cqi, 28px); line-height: 1.3; font-weight: 400; }
.dw-hero__knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }
.dw-hero :focus-visible { outline-color: var(--dw-ink); }

/* ------------------------------------------------------------ Warum es uns gibt */
.dw-warum { padding: var(--dw-abschnitt-150) var(--dw-rand); }
.dw-warum__kicker { margin: 0 0 clamp(32px, 4cqi, 56px); }
.dw-warum__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(40px, 6cqi, 96px); align-items: start; }
.dw-warum__titel, .dw-warum__akzent { margin: 0; font-size: var(--dw-h2-statement); line-height: 1.08; letter-spacing: -0.03em; }
.dw-warum__titel { font-weight: 200; text-wrap: pretty; }
.dw-warum__akzent { margin-top: 20px; font-weight: 300; color: var(--dw-lila); }
.dw-warum__text { display: grid; gap: 22px; max-width: 62ch; font-size: var(--dw-fliesstext); line-height: var(--dw-zeile-text); color: var(--dw-text); }
.dw-warum__text p { margin: 0; }
.dw-hervor { color: var(--dw-weiss); font-weight: 400; }
.dw-warum__text .dw-warum__abschluss { margin: 12px 0 0; padding-top: 28px; border-top: 1px solid var(--dw-lila); font-size: clamp(24px, 2.2cqi, 32px); line-height: 1.3; font-weight: 300; color: var(--dw-weiss); }

/* ------------------------------------------------------------ Termine */
.dw-termine { padding: var(--dw-abschnitt) var(--dw-rand); background: var(--dw-ink-2); }
.dw-termine--seite { padding-top: var(--dw-unterseite-oben); }
.dw-termine__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 20px; }
.dw-termin {
	display: grid; grid-template-rows: auto auto 1fr auto; gap: 22px;
	padding: 30px 28px 28px; background: var(--dw-ink);
	border: 1px solid var(--dw-linie); border-top: 3px solid var(--dw-lila);
}
.dw-termin__tag { margin: 0 0 10px; font-size: var(--dw-kicker); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dw-text-leise); }
.dw-termin__datum { margin: 0; font-size: var(--dw-datum); line-height: 1.1; font-weight: 300; letter-spacing: -0.02em; white-space: nowrap; }
.dw-termin__text { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--dw-linie); font-size: var(--dw-kartentext); line-height: var(--dw-zeile-karte); color: var(--dw-text); }
.dw-termin .dw-knopf { width: 100%; padding-left: 14px; padding-right: 14px; white-space: nowrap; }
.dw-termin--std { background: var(--dw-verlauf); border: 0; color: var(--dw-weiss); }
.dw-termin--std .dw-termin__tag { color: var(--dw-weiss); }
.dw-termin--std .dw-termin__text { gap: 10px; border-top-color: rgba(255, 255, 255, 0.4); color: var(--dw-weiss); }
.dw-termin__std-titel { font-size: 20px; line-height: 1.4; font-weight: 400; }
.dw-termin--std .dw-chip { border-color: var(--dw-weiss); background: rgba(28, 28, 27, 0.18); }

/* WhatsApp-Zeilen */
.dw-whatsapp { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.dw-whatsapp p { margin: 0; font-size: 18px; line-height: 1.5; color: var(--dw-text); }
.dw-whatsapp--kasten { margin-top: 28px; padding: 24px 28px; border: 1px solid var(--dw-linie); }
.dw-whatsapp--linie { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--dw-linie); }

/* ------------------------------------------------------------ Bild mit Zeile */
.dw-bildzeile { padding: 0 var(--dw-rand) var(--dw-abschnitt-150); }
.dw-bildzeile__bild { position: relative; width: 100%; min-width: 0; margin: 0; aspect-ratio: 16 / 7; min-height: 260px; overflow: hidden; overflow: clip; background: var(--dw-bild-flaeche); }
/* Das Bild ist 60 px höher als der Rahmen (30 px Reserve oben und unten) – Platz für den
   Versatz beim Scrollen (±30 px), ohne dass eine Kante sichtbar wird. Ausschnitt wie vorher.
   width: 100% am Rahmen ist Pflicht: sonst überträgt aspect-ratio die min-height (260 px) auf die
   Breite (594 px bei 375 px Fenster, gemessen 02.12.2026). */
.dw-bildzeile__bild img { position: absolute; left: 0; top: -30px; display: block; width: 100%; height: calc(100% + 60px); max-width: none; object-fit: cover; object-position: center 58%; }
.dw-bildzeile__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28, 28, 27, 0.6) 0%, rgba(28, 28, 27, 0) 55%); pointer-events: none; }
.dw-bildzeile__text {
	position: absolute; z-index: 1; left: clamp(20px, 3cqi, 48px); right: clamp(20px, 3cqi, 48px); bottom: clamp(18px, 2.6cqi, 40px);
	margin: 0; font-size: clamp(30px, 4.6cqi, 72px); line-height: 1; font-weight: 200; letter-spacing: -0.035em; color: var(--dw-weiss); text-wrap: balance;
}
.dw-bildzeile__text span { font-weight: 300; }

/* ------------------------------------------------------------ Werte */
.dw-werte { padding: 0 var(--dw-rand) var(--dw-abschnitt-150); }
.dw-werte > .dw-h2 { margin-bottom: clamp(36px, 4cqi, 56px); }
.dw-wert { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 14px 48px; align-items: center; padding: clamp(24px, 2.6cqi, 36px) 0; border-top: 1px solid var(--dw-lila-linie); }
.dw-wert h3 { margin: 0; font-size: var(--dw-h3-wert); line-height: 1.15; font-weight: 300; letter-spacing: -0.02em; }
.dw-wert p { margin: 0; max-width: 58ch; font-size: var(--dw-fliesstext); line-height: var(--dw-zeile-text); color: var(--dw-text); }

/* ------------------------------------------------------------ Formate */
.dw-formate { padding: var(--dw-abschnitt) var(--dw-rand); background: var(--dw-ink-2); }
.dw-formate__raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
/* Feste Spaltenstufen statt auto-fill: sechs Karten gehen immer glatt auf (1 · 2 · 3 · 6 je Reihe),
   nie eine Reihe mit 1 oder 5 Karten (Christian, 03.12.2026). */
@container (min-width: 700px) { .dw-formate__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 1100px) { .dw-formate__raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (min-width: 1800px) { .dw-formate__raster { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.dw-format {
	position: relative; cursor: pointer;
	/* Nummer, Überschrift und Text oben angedockt, „Mehr erfahren“ immer am unteren Rand.
	   Gleiche Höhe je Reihe kommt vom Raster (stretch). */
	display: flex; flex-direction: column; gap: 40px; min-height: 260px; padding: 32px 28px;
	border: 1px solid var(--dw-linie-karte); border-top: 3px solid var(--dw-lila);
}
/* Rahmen unsichtbar statt entfernt: gleiche Rahmenstärke wie die übrigen Karten, damit Überschrift und Link
   in einer Reihe auf derselben Höhe stehen. Verlauf reicht bis unter den Rahmen. */
.dw-format--hell { background: var(--dw-verlauf); background-origin: border-box; border-color: transparent; color: var(--dw-weiss); }
.dw-format__nr { font-size: var(--dw-kicker); font-weight: 500; letter-spacing: 0.2em; color: var(--dw-text-leise); }
.dw-format--hell .dw-format__nr { color: var(--dw-weiss); }
.dw-format__inhalt { display: flex; flex-direction: column; flex: 1 1 auto; gap: 14px; }
.dw-format__titel { margin: 0; font-size: var(--dw-h3-format); line-height: 1.1; font-weight: 300; letter-spacing: -0.02em; }
.dw-format__inhalt p { margin: 0; font-size: var(--dw-kartentext); line-height: var(--dw-zeile-karte); color: rgba(255, 255, 255, 0.9); }
.dw-format__inhalt .dw-chip { padding: 8px 14px; }
.dw-format__link {
	display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 44px; margin-top: auto;
	color: var(--dw-weiss); font-size: 17px; font-weight: 400; text-decoration: underline; text-underline-offset: 5px;
}
/* Ganze Karte klickbar, Fokus am Kartenrand */
.dw-format__link::after { content: ""; position: absolute; inset: 0; }
.dw-format__link:focus-visible { outline: none; }
.dw-format:has(.dw-format__link:focus-visible) { outline: 2px solid var(--dw-weiss); outline-offset: 3px; }
.dw-format:hover .dw-format__link { color: var(--dw-link-hover); }
.dw-format--hell:hover .dw-format__link { color: var(--dw-weiss); text-decoration-thickness: 2px; }

/* ------------------------------------------------------------ Gründerteam */
.dw-team { padding: var(--dw-abschnitt) var(--dw-rand); }
.dw-team > .dw-h2 { margin-bottom: clamp(36px, 4cqi, 56px); }
.dw-team__raster { display: grid; gap: 40px 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
@container (max-width: 999px) { .dw-team__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 599px) { .dw-team__raster { grid-template-columns: minmax(0, 1fr); } }
.dw-person { display: grid; gap: 14px; align-content: start; }
.dw-person img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; background: var(--dw-bild-flaeche); }
.dw-person__name { margin: 8px 0 0; font-size: 24px; line-height: 1.2; font-weight: 400; }
.dw-person__rolle { margin: 0; font-size: 17px; line-height: 1.45; color: var(--dw-text-rolle); }
.dw-person .dw-textlink { justify-self: start; }

/* ------------------------------------------------------------ Newsletter */
.dw-newsletter { padding: var(--dw-abschnitt) var(--dw-rand); }
.dw-newsletter__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(40px, 6cqi, 96px); align-items: end; }
.dw-newsletter__text { margin-top: 24px; line-height: 1.55; }
.dw-newsletter__raster > .dw-redaktion { margin: 0; }

/* Formulare */
.dw-formular { display: grid; gap: 14px; }
.dw-feld { display: grid; gap: 8px; font-size: 15px; font-weight: 500; }
.dw-formular__reihe { display: flex; flex-wrap: wrap; gap: 10px; }
.dw-formular--gross .dw-feld { margin-bottom: -6px; }
.dw-eingabe {
	min-height: 52px; min-width: 0; padding: 0 16px;
	border: 1px solid var(--dw-linie-feld); border-radius: 3px;
	background: var(--dw-feld-flaeche); color: var(--dw-weiss);
	font-family: inherit; font-size: 17px; font-weight: 300;
}
.dw-eingabe:focus-visible { outline: 2px solid var(--dw-weiss); outline-offset: 2px; border-color: var(--dw-weiss); }
.dw-eingabe--pille { flex: 1 1 220px; min-height: 56px; padding: 0 22px; border-radius: 999px; }
.dw-eingabe--klein { min-height: 48px; padding: 0 18px; font-size: 16px; }
.dw-formular--gross .dw-knopf { min-height: 56px; }
.dw-formular__hinweis { margin: 0; font-size: 15px; line-height: 1.55; color: var(--dw-text-leise); }
.dw-formular--karte { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; margin-top: 24px; }
.dw-formular--karte .dw-feld { gap: 6px; }
.dw-formular--karte .dw-formular__hinweis { grid-column: 1 / -1; color: var(--dw-text); }
.dw-formular__senden { grid-column: 1 / -1; justify-self: start; }
.dw-formular--fuss { gap: 10px; align-content: start; }
.dw-formular--fuss .dw-feld { font-weight: 300; }
.dw-formular--fuss .dw-knopf { justify-self: start; }
.dw-formular--fuss .dw-formular__hinweis { font-size: 14px; line-height: 1.5; color: var(--dw-text-rolle); }

/* ------------------------------------------------------------ Unterseiten */
.dw-seitentitel { padding: var(--dw-unterseite-oben) var(--dw-rand) 0; }
.dw-seitentitel:last-child, .dw-seitentitel--allein { min-height: 70vh; padding-bottom: var(--dw-abschnitt); }
.dw-seitentitel__text { margin-top: 28px; max-width: 62ch; font-size: var(--dw-fliesstext); line-height: var(--dw-zeile-text); color: var(--dw-text); }
.dw-seitentitel__text p { margin: 0 0 14px; }
.dw-seitentitel__chip { margin: 28px 0 0; }
.dw-seitentitel__chip .dw-chip { padding: 10px 16px; }

.dw-partner { padding: clamp(56px, 6cqi, 88px) var(--dw-rand) 0; }
.dw-partner__innen { border-top: 1px solid var(--dw-lila); padding-top: 32px; }
.dw-partnerkarte {
	display: grid; gap: 8px; align-content: start; min-height: 180px; padding: 26px 24px;
	border: 1px solid var(--dw-linie-karte); color: var(--dw-weiss); text-decoration: none;
	transition: border-color 180ms ease, background-color 180ms ease;
}
.dw-partnerkarte:hover { color: var(--dw-weiss); border-color: var(--dw-lila); background: var(--dw-lila-tint); }
.dw-partnerkarte__text { display: grid; gap: 8px; align-content: start; }
.dw-partnerkarte__name { margin: 0; font-size: clamp(24px, 2.2cqi, 30px); line-height: 1.15; font-weight: 400; letter-spacing: -0.01em; color: inherit; }
.dw-partnerkarte__firma { font-size: 17px; line-height: 1.45; color: var(--dw-text-rolle); }
/* Mit Foto (Partnerseite): Foto oben randlos, darunter lila Oberkante wie die Gründertexte */
.dw-partnerkarte--foto { gap: 0; padding: 0; min-height: 0; height: 100%; grid-template-rows: auto 1fr; }
.dw-partnerkarte__bild { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; background: var(--dw-bild-flaeche); }
.dw-partnerkarte--foto .dw-partnerkarte__text { padding: 22px 24px 26px; border-top: 3px solid var(--dw-lila); }
.dw-partnerkarte__web { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 16px; font-weight: 400; text-decoration: underline; text-underline-offset: 4px; }

.dw-cta { padding: clamp(64px, 7cqi, 100px) var(--dw-rand) var(--dw-abschnitt); }
.dw-cta__kasten { padding: clamp(32px, 4cqi, 56px); background: var(--dw-verlauf); color: var(--dw-weiss); }
.dw-cta__titel { margin: 0; max-width: 20ch; font-size: clamp(34px, 4.4cqi, 64px); line-height: 1.02; font-weight: 200; letter-spacing: -0.035em; }
.dw-cta__text { margin-top: 22px; max-width: 52ch; font-size: var(--dw-vorspann); line-height: var(--dw-zeile-vorspann); font-weight: 300; }
.dw-cta__text p { margin: 0 0 12px; }
.dw-cta__text p:last-child { margin-bottom: 0; }
.dw-cta .dw-knopfreihe { margin-top: 30px; }
.dw-cta .dw-knopf--linie { min-height: 48px; }

/* Folgeblöcke einer Seite: das letzte Element bekommt den Abschnittsabstand unten */
.dw-bloecke > .dw-partner:last-child { padding-bottom: var(--dw-abschnitt); }

/* Partnerseite: Kasten mit Verlauf direkt vor „Die Gründer“ (Reihenfolge im Inhalt = Lesereihenfolge).
   Schmal: Kasten oben, Personen darunter. Ab 1000 px: Kasten links (2 Teile), rechts die Personen
   2 × 2 (3 Teile), beide Spalten gleich hoch (Ober- und Unterkante bündig, die kürzere streckt sich).
   Fotos haben IMMER ein festes Seitenverhältnis, damit der ganze Kopf sichtbar bleibt (03.12.2026:
   feste Höhe + wachsende Breite schnitt bei 1920 px alles unter den Augen ab):
   1000–1439 px Karte hochkant, Foto 3 : 2 (Ausschnitt geprüft: Stirn bis Kinn/Bart drin);
   ab 1440 px Karte quer, Foto links 4 : 5 = ganzes Originalbild, Text rechts daneben.
   „Die Gründer“ bleibt als H2 für Screenreader. */
.dw-bloecke > .dw-cta:has(+ .dw-partner) { padding-bottom: 0; }
@container (min-width: 1000px) {
	.dw-bloecke:has(> .dw-cta + .dw-partner) {
		display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: stretch;
		column-gap: clamp(32px, 3cqi, 48px); padding: 0 var(--dw-rand) var(--dw-abschnitt);
	}
	.dw-bloecke:has(> .dw-cta + .dw-partner) > * { grid-column: 1 / -1; }
	.dw-bloecke:has(> .dw-cta + .dw-partner) > .dw-seitentitel { margin-left: calc(-1 * var(--dw-rand)); margin-right: calc(-1 * var(--dw-rand)); }
	.dw-bloecke > .dw-cta:has(+ .dw-partner),
	.dw-bloecke > .dw-cta + .dw-partner { grid-row: auto; display: flex; flex-direction: column; padding: clamp(56px, 6cqi, 88px) 0 0; }
	.dw-bloecke > .dw-cta:has(+ .dw-partner) { grid-column: 1; }
	.dw-bloecke > .dw-cta + .dw-partner { grid-column: 2; }
	.dw-bloecke > .dw-cta:has(+ .dw-partner) .dw-cta__kasten { flex: 1 1 auto; display: flex; flex-direction: column; }
	.dw-bloecke > .dw-cta:has(+ .dw-partner) .dw-cta__titel { max-width: 14ch; }
	.dw-bloecke > .dw-cta:has(+ .dw-partner) .dw-knopfreihe { margin-top: auto; padding-top: 30px; }
	.dw-bloecke > .dw-cta + .dw-partner .dw-partner__innen { flex: 1 1 auto; display: flex; flex-direction: column; border-top: 0; padding-top: 0; }
	.dw-bloecke > .dw-cta + .dw-partner .dw-h2-klein {
		position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
		clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
	}
	.dw-bloecke > .dw-cta + .dw-partner .dw-partner__raster { flex: 1 1 auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 16px; }
	.dw-bloecke > .dw-cta + .dw-partner .dw-partnerkarte__bild { height: auto; aspect-ratio: 3 / 2; object-position: 50% 20%; }
	.dw-bloecke > .dw-cta + .dw-partner .dw-partnerkarte--foto .dw-partnerkarte__text { gap: 4px; padding: 16px 20px 18px; }
	.dw-bloecke > .dw-cta + .dw-partner .dw-partnerkarte__name { font-size: clamp(24px, 1.8cqi, 28px); }
	.dw-bloecke > .dw-cta + .dw-partner .dw-partnerkarte__web { margin-top: 8px; }
}
@container (min-width: 1440px) {
	/* Quer: Foto links in fester Breite (4 : 5, nie anders), Text daneben senkrecht mittig.
	   Die Fotospalte darf bis 110 px nachgeben, bevor ein Text über den Kartenrand liefe. */
	.dw-bloecke > .dw-cta + .dw-partner .dw-partnerkarte--foto {
		grid-template-columns: minmax(110px, clamp(130px, 10cqi, 200px)) minmax(min-content, 1fr); grid-template-rows: none;
		align-items: center; align-content: center; column-gap: 18px; padding: 14px; border-left: 3px solid var(--dw-lila);
	}
	.dw-bloecke > .dw-cta + .dw-partner .dw-partnerkarte__bild { aspect-ratio: 4 / 5; object-position: 50% 50%; }
	.dw-bloecke > .dw-cta + .dw-partner .dw-partnerkarte--foto .dw-partnerkarte__text { padding: 0; border-top: 0; }
	.dw-bloecke > .dw-cta + .dw-partner .dw-partnerkarte__web { font-size: 15px; }
}
.dw-bloecke > :where(p, h2, h3, ul, ol) { max-width: 70ch; margin-left: var(--dw-rand); margin-right: var(--dw-rand); font-size: var(--dw-recht-text); line-height: var(--dw-recht-zeile); color: var(--dw-text); }

/* ------------------------------------------------------------ Termin- und Formatseite */
.dw-detailkopf { padding: var(--dw-unterseite-oben) var(--dw-rand) clamp(56px, 6cqi, 88px); background: var(--dw-verlauf); color: var(--dw-weiss); }
.dw-zurueck {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: 28px;
	color: var(--dw-weiss); font-size: 16px; font-weight: 400; text-decoration: underline; text-underline-offset: 4px;
}
.dw-detailkopf__kicker { margin: 0 0 14px; font-size: var(--dw-kicker); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
.dw-detailkopf__titel { max-width: 16ch; text-wrap: balance; }
.dw-detailkopf__text { margin: 28px 0 0; max-width: 46ch; font-size: var(--dw-vorspann); line-height: var(--dw-zeile-vorspann); font-weight: 300; }
.dw-detailkopf__chips { margin-top: 28px; }

.dw-detail { padding: clamp(64px, 8cqi, 120px) var(--dw-rand); background: var(--dw-ink-2); }
.dw-detail__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px clamp(40px, 6cqi, 96px); align-items: start; }
.dw-detail__block { display: grid; gap: 14px; padding: 28px 0; border-top: 1px solid var(--dw-linie); }
.dw-detail__titel { margin: 0; font-size: var(--dw-h3-format); line-height: 1.1; font-weight: 300; letter-spacing: -0.02em; }
.dw-detail__text { font-size: var(--dw-fliesstext); line-height: var(--dw-zeile-text); color: var(--dw-text); }
.dw-detail__text p { margin: 0 0 12px; }
.dw-detail__text p:last-child { margin-bottom: 0; }
.dw-detail__foto img { display: block; width: 100%; height: auto; }
.dw-detail__spalte > .dw-redaktion { margin: 28px 0 0; }

.dw-formkarte { background: var(--dw-ink); border-top: 4px solid var(--dw-lila); padding: clamp(24px, 3cqi, 40px); }
.dw-formkarte__kicker { margin: 0 0 8px; font-size: var(--dw-kicker); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dw-text-leise); }
.dw-formkarte__titel { margin: 0; font-size: clamp(30px, 3cqi, 40px); line-height: 1.05; font-weight: 200; letter-spacing: -0.03em; }
.dw-formkarte__hinweis { margin-top: 24px; font-size: 15px; line-height: 1.55; color: var(--dw-text); }
.dw-formkarte__hinweis p { margin: 0 0 10px; }
.dw-formkarte__anmeldung:not(:empty) { margin-top: 24px; }

/* ------------------------------------------------------------ Gründerseite */
.dw-person-kopf { padding: var(--dw-unterseite-oben) var(--dw-rand) clamp(64px, 8cqi, 110px); }
.dw-person-kopf__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px clamp(40px, 6cqi, 96px); align-items: end; }
.dw-person-kopf__bild img { display: block; width: 100%; max-width: 520px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; background: var(--dw-bild-flaeche); }
.dw-person-kopf__text { display: grid; gap: 22px; }
.dw-person-kopf__rolle { margin: 0; font-size: var(--dw-vorspann); line-height: var(--dw-zeile-vorspann); color: var(--dw-text); }
.dw-person-text { padding: clamp(64px, 8cqi, 120px) var(--dw-rand); background: var(--dw-ink-2); }
.dw-person-text__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px clamp(40px, 6cqi, 96px); }
.dw-person-text__block { display: grid; gap: 18px; align-content: start; border-top: 3px solid var(--dw-lila); padding-top: 28px; }
.dw-person-text__block h2 { margin: 0; font-size: var(--dw-h2-klein); line-height: 1; font-weight: 200; letter-spacing: -0.03em; }
.dw-person-text__block p { margin: 0; font-size: var(--dw-vorspann); line-height: var(--dw-zeile-vorspann); font-weight: 300; }
.dw-person-text__fuss { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(56px, 6cqi, 88px); padding-top: 28px; border-top: 1px solid var(--dw-linie); }
.dw-person-text__fuss span { font-size: 17px; color: var(--dw-text-leise); }

/* ------------------------------------------------------------ Fenster „Informiere mich“ */
.dw-fenster {
	position: relative; width: calc(100% - 32px); max-width: 560px; max-height: calc(100dvh - 32px); overflow-y: auto;
	margin: auto; padding: clamp(24px, 5vw, 40px);
	border: 0; border-top: 4px solid var(--dw-lila); background: var(--dw-ink); color: var(--dw-weiss);
}
.dw-fenster::backdrop { background: rgba(12, 12, 11, 0.72); }
.dw-fenster--vorschau { margin: 40px auto; }
.dw-fenster__zu {
	position: absolute; top: 12px; right: 12px; width: 44px; height: 44px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 0; background: none; color: var(--dw-weiss);
}
.dw-fenster__kicker[data-ausgeblendet="vorerst"] { display: none; margin: 0 0 8px; font-size: var(--dw-kicker); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dw-text-leise); }
.dw-fenster__titel { margin: 0 48px 0 0; font-size: clamp(30px, 4vw, 40px); line-height: 1.05; font-weight: 200; letter-spacing: -0.03em; }
.dw-fenster__zeile { margin: 10px 0 0; font-size: 17px; line-height: 1.5; color: var(--dw-text); }
.dw-fenster .dw-formular--karte { margin-top: 26px; }

/* ------------------------------------------------------------ Rechtstexte */
.dw-rechtstext { padding: var(--dw-unterseite-oben) var(--dw-rand) var(--dw-abschnitt); }
.dw-rechtstext__innen { max-width: var(--dw-recht-breite); font-size: var(--dw-recht-text); line-height: var(--dw-recht-zeile); color: var(--dw-text); }
.dw-rechtstext h1 { margin: 0 0 clamp(32px, 4cqi, 56px); font-size: var(--dw-recht-h1); line-height: 1; font-weight: 200; letter-spacing: -0.04em; color: var(--dw-weiss); }
.dw-rechtstext h2, .dw-unterseite h2 { margin: 48px 0 12px; font-size: var(--dw-recht-h2); line-height: 1.25; font-weight: 400; letter-spacing: -0.01em; color: var(--dw-weiss); }
.dw-rechtstext h1 + h2 { margin-top: 0; }
.dw-rechtstext h3, .dw-unterseite h3 { margin: 32px 0 10px; font-size: 20px; line-height: 1.3; font-weight: 400; color: var(--dw-weiss); }
.dw-rechtstext p, .dw-unterseite__text p { margin: 0 0 14px; }
.dw-rechtstext ul, .dw-rechtstext ol, .dw-unterseite__text ul, .dw-unterseite__text ol { margin: 0 0 14px; padding-left: 1.2em; }
.dw-rechtstext li, .dw-unterseite__text li { margin: 0 0 4px; }
.dw-rechtstext li::marker, .dw-unterseite__text li::marker { color: var(--dw-lila); }
.dw-rechtstext strong, .dw-unterseite__text strong { color: var(--dw-weiss); font-weight: 400; }

/* Unterseite mit großer H1 (Vorlage „Unterseite“, z. B. Für wen, Presse): Kopfabstand und H1 wie
   „Unterseite: Titel“ (.dw-seitentitel, .dw-h1), darunter der Text im Rechtstext-Satz. */
.dw-unterseite { padding: var(--dw-unterseite-oben) var(--dw-rand) var(--dw-abschnitt); }
.dw-unterseite__text { margin-top: 28px; max-width: var(--dw-recht-breite); font-size: var(--dw-recht-text); line-height: var(--dw-recht-zeile); color: var(--dw-text); }
.dw-unterseite__text > :first-child { margin-top: 0; }

/* ------------------------------------------------------------ Fuß */
.dw-fuss { background: var(--dw-ink-fuss); color: var(--dw-text); padding: clamp(64px, 7cqi, 88px) var(--dw-rand) 32px; border-top: 1px solid var(--dw-lila-fuss); }
.dw-fuss__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; padding-bottom: 56px; }
/* Fußlogo wie im Kopf: dunkles Logo auf weißem Block (02.12.2026, vorher logo-invers.svg 88 px hoch
   direkt auf #141413 – die dünne lila Schrift war dort kaum lesbar) */
.dw-fuss__logoblock { display: flex; justify-self: start; align-self: start; background: var(--dw-weiss); padding: clamp(12px, 1.5cqi, 21px) clamp(18px, 2.1cqi, 30px); }
.dw-fuss__logo { display: block; height: clamp(84px, 7.4cqi, 104px); width: auto; }
.dw-fuss__spalte { display: grid; align-content: start; justify-items: start; }
.dw-fuss__kicker { margin: 0 0 6px; font-size: var(--dw-kicker); font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dw-text-kicker-fuss); }
.dw-fuss__spalte > a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 17px; color: var(--dw-weiss); text-decoration: none; }
.dw-fuss__spalte > a:hover { color: var(--dw-weiss); text-decoration: underline; }
.dw-fuss__whatsapp { font-size: 16px; }
.dw-fuss__spalte nav { justify-self: stretch; }
.dw-fuss__menue { display: grid; margin: 0; padding: 0; list-style: none; }
.dw-fuss__menue a { display: inline-flex; align-items: center; min-height: 44px; color: var(--dw-text); font-size: 17px; font-weight: 300; text-decoration: none; }
.dw-fuss__menue a:hover { color: var(--dw-weiss); text-decoration: underline; }
.dw-fuss__spalte .dw-formular { justify-self: stretch; }
.dw-fuss__unten { border-top: 1px solid var(--dw-linie); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; font-size: 16px; }
.dw-fuss__unten p { margin: 0; }
.dw-fuss__unten p a { color: var(--dw-text); text-decoration: none; }
.dw-fuss__unten p a:hover { color: var(--dw-weiss); text-decoration: underline; }
.dw-fuss__recht { display: flex; flex-wrap: wrap; gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.dw-fuss__recht a { display: inline-flex; align-items: center; min-height: 44px; color: var(--dw-text); text-decoration: none; }
.dw-fuss__recht a:hover { color: var(--dw-weiss); text-decoration: underline; }
/* Borlabs setzt den Link sonst fett in Dialogfarbe – an die Nachbarn angleichen */
.dw-fuss__recht .dw-cookie a { color: var(--dw-text) !important; font: inherit !important; background: none !important; padding: 0 !important; }

/* ------------------------------------------------------------ Umbrüche (02.12.2026) */
/* Überschriften gleichmäßig umbrechen, keine einzelnen Wörter in der letzten Zeile, wo vermeidbar */
.dw-h1, .dw-h1-detail, .dw-h2, .dw-h2-klein, .dw-format__titel, .dw-detail__titel, .dw-wert h3,
.dw-cta__titel, .dw-formkarte__titel, .dw-fenster__titel, .dw-person-text__block h2,
.dw-rechtstext h1, .dw-rechtstext h2, .dw-rechtstext h3, .dw-unterseite h2, .dw-unterseite h3, .dw-bloecke > h2, .dw-bloecke > h3 { text-wrap: balance; }
/* Mehrzeilige Sätze: nur die letzte Zeile schützen */
.dw-zitat, .dw-warum__abschluss, .dw-hero__unter, .dw-vorspann, .dw-detailkopf__text { text-wrap: pretty; }
/* Grundregel für alles Übrige (02.12.2026): Absätze, Listen, Rollenzeilen, Fußzeile „pretty“,
   Überschriften „balance“. :where() hat Spezifität 0 – Regeln mit Klasse (z. B. .dw-warum__titel) gehen vor. */
:where(.dw-rahmen) :where(p, li, dd, figcaption, blockquote) { text-wrap: pretty; }
:where(.dw-rahmen) :where(h1, h2, h3, h4) { text-wrap: balance; }

/* ------------------------------------------------------------ Einblenden und Parallaxe (02.12.2026) */
/* Die Klassen setzt nur site.js (html.dw-js), und nur an Elementen, die beim Laden unterhalb des
   sichtbaren Bereichs liegen – der erste Bildschirm (Hero, LCP) bleibt unberührt. Vorbereiten ohne
   Übergang (sonst blendet alles erst aus), Einblenden mit Übergang, danach entfernt site.js die
   Klassen wieder, damit eigene Übergänge der Karten (Hover) unverändert gelten. */
html.dw-js .dw-ein { opacity: 0; transform: translate3d(0, 24px, 0); }
html.dw-js .dw-ein.ist-ein {
	opacity: 1; transform: none;
	transition: opacity 0.7s ease-out, transform 0.7s ease-out;
	transition-delay: var(--dw-ein-verzug, 0ms);
}
/* Versatz beim Scrollen: nur das Bild bewegt sich, der Rahmen (overflow: clip) bleibt stehen */
html.dw-parallaxe .dw-hero__bild, html.dw-parallaxe .dw-bildzeile__bild img { will-change: transform; }

/* Borlabs-Banner: Logo mit fester Größe (Seitenverhältnis des Logos 1641 × 1232, Höhe 50 px wie von
   Borlabs gesetzt) – Borlabs schreibt kein width/height ans <img>. */
body div.brlbs-cmpnt-container img.brlbs-dialog-logo { width: calc(50px * 1641 / 1232); height: 50px; }

/* ------------------------------------------------------------ Bewegung reduziert */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
	html.dw-js .dw-ein { opacity: 1 !important; transform: none !important; }
	.dw-hero__bild, .dw-bildzeile__bild img { transform: none !important; }
}

/* ============================================================ Häufige Fragen (Block dw/faq, inc/block-faq.php) – 02.12.2026
   Akkordeon aus <details>/<summary>: Tastatur (Tab, Enter/Leertaste) und Bildschirmleser ohne Skript.
   Frage = ganze Zeile klickbar, mind. 44 px hoch, Fokusring weiß. Zwei Darstellungen:
   .dw-faq          eigener Abschnitt (Startseite), Fläche wie „Termine“, Überschrift links ab 1000 px
   .dw-faq--im-text Teil einer Textseite („Für wen“), Überschrift wie die übrigen H2 dort */
.dw-faq { padding: var(--dw-abschnitt) var(--dw-rand); background: var(--dw-ink-2); }
.dw-faq__raster { display: grid; gap: clamp(36px, 4cqi, 56px); }
@container (min-width: 1000px) {
	.dw-faq:not(.dw-faq--im-text) .dw-faq__raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6cqi, 96px); align-items: start; }
}
.dw-faq__liste { border-top: 1px solid var(--dw-lila-linie); }
.dw-faq__eintrag { border-bottom: 1px solid var(--dw-linie); }
.dw-faq__frage {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	min-height: 44px; padding: clamp(18px, 1.8cqi, 24px) 0;
	font-size: clamp(19px, 1.5cqi, 22px); line-height: 1.4; font-weight: 400; color: var(--dw-weiss);
	list-style: none; cursor: pointer;
	transition: color 180ms ease;
}
.dw-faq__frage::-webkit-details-marker { display: none; }
.dw-faq__frage::marker { content: ""; }
.dw-faq__frage:hover { color: var(--dw-link-hover); }
.dw-faq__frage:focus-visible { outline: 2px solid var(--dw-weiss); outline-offset: 3px; }
.dw-faq__zeichen { flex: 0 0 auto; color: var(--dw-lila); transition: transform 180ms ease; }
.dw-faq__eintrag[open] > .dw-faq__frage .dw-faq__zeichen { transform: rotate(45deg); }
.dw-faq__antwort { max-width: 64ch; padding: 0 0 clamp(22px, 2cqi, 28px); font-size: var(--dw-fliesstext); line-height: var(--dw-zeile-text); color: var(--dw-text); }
.dw-faq__antwort p { margin: 0 0 12px; text-wrap: pretty; }
.dw-faq__antwort p:last-child { margin-bottom: 0; }
.dw-faq__antwort strong { color: var(--dw-weiss); font-weight: 400; }
/* In der Textseite: ohne eigene Fläche und Polsterung, H2 aus „.dw-unterseite h2“ bzw. „.dw-rechtstext h2“ */
.dw-faq--im-text { padding: 0; background: none; margin-top: 48px; }
.dw-faq--im-text .dw-faq__raster { gap: 0; }
.dw-faq--im-text .dw-faq__titel { margin-top: 0; margin-bottom: 20px; }
.dw-faq--im-text .dw-faq__frage { font-size: var(--dw-fliesstext); }
.dw-faq--im-text .dw-faq__antwort { max-width: none; }
.dw-faq--im-text .dw-faq__antwort p { margin: 0 0 12px; }
/* Terminkarten (02.12.2026): eine Textzeile je Karte (Beschreibung, sonst Format – inc/bloecke.php).
   Der Text nimmt den freien Platz, Hinweise und Knopf sitzen in allen Karten einer Reihe auf gleicher Höhe. */
.dw-termin { grid-template-rows: auto 1fr auto auto; }
