/*
Theme Name: The Disruptor (Divi Child)
Theme URI: https://the-disruptor.com/
Description: Child-Theme fuer the-disruptor.com – dunkles, kantiges Layout in Anthrazit mit Signalorange. Das gesamte Aussehen der Seite steckt hier; die Inhalte kommen aus td-data/ ueber td-provision.
Author: PANART Marketing OUE
Template: Divi
Version: 0.1.0
Text Domain: the-disruptor-child
*/

/* ==========================================================================
   Gestaltungsmerkmale (Tokens)

   Ein dunkler Grund mit genau EINER Akzentfarbe. Orange traegt alles, was
   Handlung ausloest oder Kernaussage ist – nichts sonst. Sobald eine zweite
   Akzentfarbe dazukaeme, verloere die erste ihre Signalwirkung.
   ========================================================================== */

:root {
	--td-black: #08090B;
	--td-ink: #0F1116;
	--td-surface: #171A21;
	--td-surface-2: #1D212A;
	--td-line: rgba(255, 255, 255, .10);
	--td-line-strong: rgba(255, 255, 255, .20);

	--td-text: #E9EAEE;
	--td-muted: #99A0AC;
	--td-dim: #6E7684;

	--td-orange: #FF5B14;
	--td-orange-hot: #FF7A3C;
	--td-orange-deep: #D8430A;
	--td-orange-glow: rgba(255, 91, 20, .16);

	/* Heller Abschnitt: setzt Kapitel voneinander ab, ohne eine zweite
	   Akzentfarbe einzufuehren. */
	--td-paper: #F2F0EC;
	--td-paper-ink: #12141A;
	--td-paper-muted: #59606E;
	--td-paper-line: rgba(18, 20, 26, .12);

	--td-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--td-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

	--td-radius: 4px;
	--td-radius-lg: 8px;
	--td-maxw: 1180px;
	--td-gap: clamp(48px, 7vw, 104px);
}

/* ==========================================================================
   Grundlagen
   ========================================================================== */

body,
body.et-db #et-boc .et-l {
	background: var(--td-ink);
	color: var(--td-text);
	font-family: var(--td-font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
	font-size: 17px;
	line-height: 1.65;
	letter-spacing: -.005em;
}

#page-container,
#et-main-area {
	background: var(--td-ink);
}

h1, h2, h3, h4, h5, h6,
.et_pb_text h1, .et_pb_text h2, .et_pb_text h3, .et_pb_text h4 {
	font-family: var(--td-font);
	color: var(--td-text);
	font-weight: 700;
	letter-spacing: -.028em;
	line-height: 1.08;
	text-wrap: balance;
}

h2 { font-size: clamp(30px, 4.2vw, 50px); padding-bottom: 0; }
h3 { font-size: clamp(20px, 2.2vw, 25px); letter-spacing: -.02em; padding-bottom: 0; }

p { color: var(--td-text); }

a { color: var(--td-orange); text-decoration: none; }
a:hover { color: var(--td-orange-hot); }

::selection { background: var(--td-orange); color: #fff; }

:focus-visible {
	outline: 2px solid var(--td-orange);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Divi-Grundgeruest zaehmen: wir setzen Abstaende selbst. */
.et_pb_section { padding: 0; background: transparent; }
.et_pb_row {
	width: 92%;
	max-width: var(--td-maxw);
	padding: 0;
	margin: 0 auto;
}
.et_pb_column { margin-bottom: 0 !important; }
.et_pb_text { line-height: inherit; }
.et_pb_text_inner > *:last-child { margin-bottom: 0; }

/* Jeder Abschnitt bekommt seinen Rhythmus ueber die td-*-Klassen. */
.et_pb_section[class*="td-"] > .et_pb_row { padding: var(--td-gap) 0; }

/* ==========================================================================
   Kopfbereich
   ========================================================================== */

#main-header,
#main-header.et-fixed-header {
	background: rgba(15, 17, 22, .82) !important;
	backdrop-filter: saturate(140%) blur(14px);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	box-shadow: none !important;
	border-bottom: 1px solid var(--td-line);
	transition: background .25s ease, border-color .25s ease;
}

#main-header .container { width: 92%; max-width: var(--td-maxw); }

#logo { max-height: 46px !important; }

#top-menu li a,
#main-header .et-fixed-header #top-menu li a {
	color: var(--td-text) !important;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -.01em;
	opacity: .82;
	padding-bottom: 20px;
	transition: opacity .18s ease, color .18s ease;
}

#top-menu li a:hover { opacity: 1; color: var(--td-text) !important; }

#top-menu li.current-menu-item > a {
	color: var(--td-text) !important;
	opacity: 1;
}

#top-menu li.current-menu-item > a::after {
	content: "";
	display: block;
	height: 2px;
	margin-top: 4px;
	background: var(--td-orange);
}

/* Handlungsknopf in der Navigation */
#top-menu li.td-nav-cta > a {
	background: var(--td-orange);
	color: #fff !important;
	opacity: 1;
	padding: 9px 18px !important;
	border-radius: var(--td-radius);
	font-weight: 600;
	transition: background .18s ease, transform .18s ease;
}
#top-menu li.td-nav-cta > a:hover { background: var(--td-orange-hot); transform: translateY(-1px); }
#top-menu li.td-nav-cta > a::after { display: none; }

.et_mobile_menu {
	background: var(--td-surface) !important;
	border-top: 3px solid var(--td-orange) !important;
}
.et_mobile_menu li a { color: var(--td-text) !important; border-bottom: 1px solid var(--td-line); }
.mobile_menu_bar::before { color: var(--td-text) !important; }

/* ==========================================================================
   Sprachumschalter
   ========================================================================== */

.td-langswitch { position: relative; }

.td-langswitch-dd { position: relative; display: inline-block; }

.td-langswitch-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: transparent;
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius);
	color: var(--td-text);
	font: inherit;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	padding: 6px 10px;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease;
}
.td-langswitch-btn:hover { border-color: var(--td-line-strong); background: rgba(255, 255, 255, .04); }

.td-flag {
	display: inline-block;
	width: 18px;
	height: 12px;
	overflow: hidden;
	border-radius: 1px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .18);
}
.td-flag svg { display: block; width: 100%; height: 100%; }

.td-langswitch-caret { opacity: .6; }

.td-langswitch-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 168px;
	background: var(--td-surface);
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius-lg);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
	padding: 6px;
	display: none;
	z-index: 9999;
}
.td-langswitch-dd.is-open .td-langswitch-menu { display: block; }

.td-langswitch-opt {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: var(--td-radius);
	color: var(--td-text) !important;
	font-size: 14px;
	line-height: 1.2;
}
.td-langswitch-opt:hover { background: rgba(255, 255, 255, .06); }
.td-langswitch-opt.is-active { color: var(--td-orange) !important; font-weight: 600; }

/* ==========================================================================
   Bausteine
   ========================================================================== */

.td-eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--td-orange);
	margin-bottom: 14px;
}

.td-sub {
	color: var(--td-muted);
	font-size: clamp(17px, 1.6vw, 19px);
	max-width: 62ch;
	margin-top: 14px;
}

.td-center { text-align: center; }

/* Knoepfe */
.td-btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: -.01em;
	padding: 15px 26px;
	border-radius: var(--td-radius);
	border: 1px solid transparent;
	transition: transform .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
	line-height: 1.2;
}

.td-btn--primary {
	background: var(--td-orange);
	color: #fff !important;
	box-shadow: 0 10px 26px -12px var(--td-orange-deep);
}
.td-btn--primary:hover { background: var(--td-orange-hot); color: #fff !important; transform: translateY(-2px); }

.td-btn--ghost {
	background: transparent;
	color: var(--td-text) !important;
	border-color: var(--td-line-strong);
}
.td-btn--ghost:hover { border-color: var(--td-text); color: var(--td-text) !important; transform: translateY(-2px); }

.td-btn--sm { font-size: 14px; padding: 10px 18px; }

/* Marker im Fliesstext: der einzige Ort, an dem Orange als Flaeche im Text
   auftaucht. */
.td-mark {
	font-style: normal;
	color: var(--td-orange);
	position: relative;
	white-space: nowrap;
}
.td-mark::after {
	content: "";
	position: absolute;
	left: -.06em;
	right: -.06em;
	bottom: .06em;
	height: .30em;
	background: var(--td-orange-glow);
	z-index: -1;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.td-hero > .et_pb_row {
	padding: clamp(96px, 13vw, 168px) 0 clamp(64px, 8vw, 104px) !important;
	position: relative;
}

.td-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(900px 480px at 78% -8%, rgba(255, 91, 20, .18), transparent 62%),
		radial-gradient(700px 420px at 8% 4%, rgba(255, 91, 20, .07), transparent 58%),
		var(--td-black);
	border-bottom: 1px solid var(--td-line);
}

/* Raster im Hintergrund – ein Prozessblatt, das durchscheint. */
.td-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: radial-gradient(circle at 60% 30%, #000 12%, transparent 74%);
	-webkit-mask-image: radial-gradient(circle at 60% 30%, #000 12%, transparent 74%);
	pointer-events: none;
}

.td-hero-inner { position: relative; max-width: 900px; }

.td-pill {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--td-orange);
	background: rgba(255, 91, 20, .10);
	border: 1px solid rgba(255, 91, 20, .34);
	border-radius: 100px;
	padding: 7px 15px;
	margin-bottom: 26px;
}
.td-pill::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--td-orange);
	box-shadow: 0 0 0 4px rgba(255, 91, 20, .22);
}

.td-hero-headline {
	font-size: clamp(40px, 7.2vw, 82px);
	line-height: .99;
	letter-spacing: -.038em;
	font-weight: 800;
	margin: 0 0 22px;
	padding: 0;
}

.td-hero-text p {
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.55;
	color: var(--td-muted);
	max-width: 60ch;
	margin-bottom: 16px;
}
.td-hero-text strong { color: var(--td-text); font-weight: 600; }

.td-hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.td-hero-note {
	margin-top: 18px;
	font-size: 14px;
	color: var(--td-dim);
}

.td-swiss {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 26px;
	font-size: 14px;
	color: var(--td-muted);
}
.td-flag-ch { width: 16px; height: 16px; flex: none; }

/* Kennzahlenzeile unter dem Hero */
.td-hero-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 40px;
	margin-top: 46px;
	padding-top: 26px;
	border-top: 1px solid var(--td-line);
	list-style: none;
}
.td-hero-facts li {
	font-size: 14px;
	color: var(--td-muted);
	display: flex;
	align-items: center;
	gap: 9px;
}
.td-hero-facts li::before {
	content: "";
	width: 5px;
	height: 5px;
	background: var(--td-orange);
	transform: rotate(45deg);
	flex: none;
}

/* ==========================================================================
   Abschnittsvarianten
   ========================================================================== */

.td-paper {
	background: var(--td-paper);
	color: var(--td-paper-ink);
}
.td-paper h2, .td-paper h3, .td-paper p, .td-paper li { color: var(--td-paper-ink); }
.td-paper .td-sub, .td-paper .td-note { color: var(--td-paper-muted); }
.td-paper .td-card {
	background: #fff;
	border-color: var(--td-paper-line);
	box-shadow: 0 1px 2px rgba(18, 20, 26, .05);
}
.td-paper .td-card p { color: var(--td-paper-muted); }
.td-paper .td-btn--ghost { color: var(--td-paper-ink) !important; border-color: rgba(18, 20, 26, .28); }
.td-paper .td-btn--ghost:hover { border-color: var(--td-paper-ink); }

.td-tint {
	background:
		linear-gradient(180deg, rgba(255, 91, 20, .05), transparent 60%),
		var(--td-surface);
	border-top: 1px solid var(--td-line);
	border-bottom: 1px solid var(--td-line);
}

/* ==========================================================================
   Aussage-Abschnitt (die harte Kante)
   ========================================================================== */

.td-statement { background: var(--td-black); border-block: 1px solid var(--td-line); }

.td-statement-inner { max-width: 940px; }

.td-statement-quote {
	font-size: clamp(28px, 4.4vw, 46px);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -.032em;
	margin: 0 0 22px;
	border-left: 3px solid var(--td-orange);
	padding-left: clamp(18px, 3vw, 34px);
}

.td-statement-body p {
	color: var(--td-muted);
	font-size: 18px;
	max-width: 66ch;
	padding-left: clamp(21px, 3vw, 37px);
}

/* ==========================================================================
   Problemliste
   ========================================================================== */

.td-pains { display: grid; gap: 1px; background: var(--td-line); border: 1px solid var(--td-line); border-radius: var(--td-radius-lg); overflow: hidden; margin-top: 42px; }

.td-pain {
	background: var(--td-ink);
	padding: 26px 28px;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 18px;
	align-items: start;
	transition: background .2s ease;
}
.td-pain:hover { background: var(--td-surface); }

.td-pain-mark {
	font-family: var(--td-mono);
	font-size: 13px;
	font-weight: 600;
	color: var(--td-orange);
	padding-top: 3px;
	letter-spacing: .04em;
}

.td-pain h3 { font-size: 19px; margin: 0 0 6px; }
.td-pain p { color: var(--td-muted); font-size: 16px; margin: 0; }

.td-paper .td-pains { background: var(--td-paper-line); border-color: var(--td-paper-line); }
.td-paper .td-pain { background: #fff; }
.td-paper .td-pain:hover { background: #FAF9F7; }
.td-paper .td-pain p { color: var(--td-paper-muted); }

/* ==========================================================================
   Karten-Raster
   ========================================================================== */

.td-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 46px;
}

.td-card {
	background: var(--td-surface);
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius-lg);
	padding: 30px 28px;
	position: relative;
	transition: border-color .22s ease, transform .22s ease, background .22s ease;
}
.td-card:hover { border-color: rgba(255, 91, 20, .48); transform: translateY(-3px); }

.td-card-no {
	font-family: var(--td-mono);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .1em;
	color: var(--td-orange);
	display: block;
	margin-bottom: 16px;
}

.td-card h3 { margin: 0 0 10px; }
.td-card p { color: var(--td-muted); font-size: 16px; margin: 0; }

.td-ic {
	width: 26px;
	height: 26px;
	color: var(--td-orange);
	margin-bottom: 14px;
	display: block;
}

/* ==========================================================================
   Ablauf (Schritte)
   ========================================================================== */

.td-steps {
	display: grid;
	gap: 0;
	margin-top: 50px;
	counter-reset: td-step;
}

.td-step {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: clamp(18px, 3vw, 38px);
	padding: 32px 0;
	border-top: 1px solid var(--td-line);
	align-items: start;
}
.td-step:last-child { border-bottom: 1px solid var(--td-line); }

.td-step-no {
	font-family: var(--td-mono);
	font-size: clamp(34px, 5vw, 46px);
	font-weight: 700;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 1px var(--td-orange);
	letter-spacing: -.04em;
}

.td-step h3 { margin: 0 0 10px; font-size: clamp(21px, 2.4vw, 26px); }
.td-step p { color: var(--td-muted); max-width: 68ch; margin: 0 0 10px; }
.td-step p:last-child { margin-bottom: 0; }

.td-step-meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--td-orange);
	border: 1px solid rgba(255, 91, 20, .34);
	border-radius: 100px;
	padding: 5px 13px;
}

.td-paper .td-step { border-color: var(--td-paper-line); }
.td-paper .td-step p { color: var(--td-paper-muted); }

/* ==========================================================================
   Branchen
   ========================================================================== */

.td-sectors {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 20px;
	margin-top: 46px;
}

.td-sector {
	display: flex;
	flex-direction: column;
	background: var(--td-surface);
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius-lg);
	padding: 32px 28px;
	transition: border-color .22s ease, transform .22s ease;
}
.td-sector:hover { border-color: rgba(255, 91, 20, .48); transform: translateY(-3px); }

.td-sector .td-ic { width: 30px; height: 30px; }

.td-sector h3 { margin: 0 0 10px; }
.td-sector p { color: var(--td-muted); font-size: 16px; margin: 0 0 18px; }

.td-sector-list {
	list-style: none;
	margin: 0 0 22px;
	padding: 0;
	display: grid;
	gap: 9px;
}
.td-sector-list li {
	position: relative;
	padding-left: 20px;
	font-size: 15px;
	color: var(--td-muted);
}
.td-sector-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 8px;
	height: 1px;
	background: var(--td-orange);
}

.td-sector-link {
	margin-top: auto;
	font-weight: 600;
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.td-sector-link span { transition: transform .18s ease; display: inline-block; }
.td-sector-link:hover span { transform: translateX(4px); }

.td-paper .td-sector { background: #fff; border-color: var(--td-paper-line); }
.td-paper .td-sector p, .td-paper .td-sector-list li { color: var(--td-paper-muted); }

/* ==========================================================================
   Szenarien (ausdruecklich als Beispiel gekennzeichnet)
   ========================================================================== */

.td-scenarios {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
	gap: 20px;
	margin-top: 46px;
}

.td-scenario {
	background: var(--td-surface);
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius-lg);
	padding: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.td-scenario-head {
	padding: 20px 26px;
	border-bottom: 1px solid var(--td-line);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: rgba(255, 255, 255, .02);
}

.td-scenario-tag {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--td-dim);
	border: 1px solid var(--td-line-strong);
	border-radius: 3px;
	padding: 3px 8px;
	flex: none;
}

.td-scenario-head h3 { font-size: 18px; margin: 0; }

.td-scenario-body { padding: 24px 26px; display: grid; gap: 18px; }

.td-scenario-row { display: grid; gap: 5px; }

.td-scenario-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--td-dim);
}

.td-scenario-row p { margin: 0; font-size: 16px; color: var(--td-muted); }

.td-scenario-row--result p { color: var(--td-text); font-weight: 500; }
.td-scenario-row--result .td-scenario-label { color: var(--td-orange); }

.td-scenario-foot {
	margin-top: auto;
	padding: 14px 26px 20px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--td-dim);
	border-top: 1px solid var(--td-line);
}

/* ==========================================================================
   Kennzahlen
   ========================================================================== */

.td-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 1px;
	background: var(--td-line);
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius-lg);
	overflow: hidden;
	margin-top: 46px;
}

.td-stat { background: var(--td-ink); padding: 30px 26px; }

.td-stat-value {
	display: block;
	font-size: clamp(32px, 4.4vw, 44px);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1;
	color: var(--td-orange);
	margin-bottom: 10px;
}

.td-stat-label { display: block; font-size: 15px; color: var(--td-muted); line-height: 1.45; }

/* ==========================================================================
   Person
   ========================================================================== */

.td-about {
	display: grid;
	grid-template-columns: minmax(220px, 320px) 1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}

.td-portrait {
	position: relative;
	border-radius: var(--td-radius-lg);
	overflow: hidden;
	border: 1px solid var(--td-line);
	background: var(--td-surface-2);
	aspect-ratio: 4 / 5;
}
.td-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Platzhalter, solange kein Portraitfoto hinterlegt ist. */
.td-portrait-empty {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	color: var(--td-dim);
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
	background-image:
		linear-gradient(135deg, rgba(255, 255, 255, .03) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .03) 50%, rgba(255, 255, 255, .03) 75%, transparent 75%);
	background-size: 14px 14px;
}

.td-about-body p { color: var(--td-muted); max-width: 66ch; margin-bottom: 16px; }
.td-about-body p:first-of-type { color: var(--td-text); font-size: 19px; }

.td-about-facts {
	list-style: none;
	margin: 26px 0 0;
	padding: 22px 0 0;
	border-top: 1px solid var(--td-line);
	display: grid;
	gap: 12px;
}
.td-about-facts li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; font-size: 15px; color: var(--td-muted); }
.td-about-facts b { color: var(--td-text); font-weight: 600; }

/* ==========================================================================
   Bilder
   ========================================================================== */

/* Einzelnes Bild mit Legende. */
.td-photo {
	margin: 0;
	border-radius: var(--td-radius-lg);
	overflow: hidden;
	border: 1px solid var(--td-line);
	background: var(--td-surface-2);
}

.td-photo img {
	display: block;
	width: 100%;
	height: auto;
}

/* Bildausschnitt festlegen, wo das Seitenverhaeltnis sonst springt. */
.td-photo--wide img { aspect-ratio: 21 / 9; object-fit: cover; }
.td-photo--film img { aspect-ratio: 16 / 9; object-fit: cover; }

.td-photo figcaption {
	padding: 14px 20px 16px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--td-dim);
	border-top: 1px solid var(--td-line);
	background: var(--td-surface);
}

.td-paper .td-photo { border-color: var(--td-paper-line); background: #fff; }
.td-paper .td-photo figcaption { color: var(--td-paper-muted); border-color: var(--td-paper-line); background: #fff; }

/* Bild und Text nebeneinander. */
.td-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.td-split--flip .td-split-media { order: 2; }

.td-split-media {
	border-radius: var(--td-radius-lg);
	overflow: hidden;
	border: 1px solid var(--td-line);
	background: var(--td-surface-2);
	margin: 0;
}
.td-split-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.td-split-media figcaption {
	padding: 12px 18px 14px;
	font-size: 13px;
	color: var(--td-dim);
	border-top: 1px solid var(--td-line);
}

.td-split-body h2 { margin-bottom: 16px; }
.td-split-body p { color: var(--td-muted); margin-bottom: 14px; max-width: 56ch; }
.td-split-body p:last-child { margin-bottom: 0; }

.td-split-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 11px; }
.td-split-list li { position: relative; padding-left: 22px; color: var(--td-muted); font-size: 16px; }
.td-split-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .6em;
	width: 9px;
	height: 1px;
	background: var(--td-orange);
}

.td-paper .td-split-media { border-color: var(--td-paper-line); background: #fff; }
.td-paper .td-split-body p, .td-paper .td-split-list li { color: var(--td-paper-muted); }
.td-paper .td-split-media figcaption { color: var(--td-paper-muted); border-color: var(--td-paper-line); }

/* Bild im Hero: rechts neben dem Text, auf schmalen Bildschirmen darunter. */
.td-hero--media .td-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.td-hero-media {
	position: relative;
	margin: 0;
	border-radius: var(--td-radius-lg);
	overflow: hidden;
	border: 1px solid var(--td-line-strong);
	background: var(--td-surface-2);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.td-hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

@media (max-width: 900px) {
	.td-split { grid-template-columns: 1fr; }
	.td-split--flip .td-split-media { order: 0; }
	.td-hero--media .td-hero-grid { grid-template-columns: 1fr; }
	.td-hero-media { max-width: 380px; }
}

/* ==========================================================================
   Terminbuchung
   ========================================================================== */

.td-booking {
	background: var(--td-surface);
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius-lg);
	overflow: hidden;
	margin-top: 40px;
}

.td-booking-head { padding: 28px 30px 0; }
.td-booking-head h3 { margin: 0 0 8px; }
.td-booking-head p { color: var(--td-muted); margin: 0; max-width: 60ch; }

.td-booking-frame { padding: 22px 18px 26px; min-height: 200px; }
.td-booking-frame iframe { width: 100%; min-height: 660px; border: 0; display: block; border-radius: var(--td-radius); }

/* Einwilligungs-Schranke: erst nach Klick wird von cal.com geladen. */
.td-consent {
	border: 1px dashed var(--td-line-strong);
	border-radius: var(--td-radius);
	padding: 34px 28px;
	text-align: center;
	display: grid;
	gap: 14px;
	justify-items: center;
}
.td-consent p { color: var(--td-muted); font-size: 15px; max-width: 52ch; margin: 0; }
.td-consent-alt { font-size: 14px; color: var(--td-dim); }

/* ==========================================================================
   Haeufige Fragen
   ========================================================================== */

.td-faq { margin-top: 46px; border-top: 1px solid var(--td-line); }

.td-faq-item { border-bottom: 1px solid var(--td-line); }

.td-faq-item summary {
	cursor: pointer;
	list-style: none;
	padding: 22px 44px 22px 0;
	font-size: clamp(17px, 1.9vw, 20px);
	font-weight: 600;
	letter-spacing: -.015em;
	position: relative;
	transition: color .18s ease;
}
.td-faq-item summary::-webkit-details-marker { display: none; }
.td-faq-item summary:hover { color: var(--td-orange); }

.td-faq-item summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	width: 12px;
	height: 12px;
	margin-top: -6px;
	border-right: 2px solid var(--td-orange);
	border-bottom: 2px solid var(--td-orange);
	transform: rotate(45deg);
	transition: transform .22s ease;
}
.td-faq-item[open] summary::after { transform: rotate(-135deg); }

.td-faq-a { padding: 0 44px 24px 0; }
.td-faq-a p { color: var(--td-muted); max-width: 74ch; margin: 0 0 12px; }
.td-faq-a p:last-child { margin-bottom: 0; }

.td-paper .td-faq, .td-paper .td-faq-item { border-color: var(--td-paper-line); }
.td-paper .td-faq-a p { color: var(--td-paper-muted); }

/* ==========================================================================
   Insights (Beitragsliste + Einzelbeitrag)
   ========================================================================== */

.td-posts { display: grid; gap: 1px; background: var(--td-line); border-block: 1px solid var(--td-line); margin-top: 42px; }

.td-post-card {
	background: var(--td-ink);
	padding: 26px 24px;
	display: grid;
	gap: 8px;
	transition: background .2s ease;
}
.td-post-card:hover { background: var(--td-surface); }

.td-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	color: var(--td-dim);
	font-family: var(--td-mono);
	letter-spacing: .03em;
}

.td-post-topic {
	color: var(--td-orange);
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: .1em;
}

.td-post-card h3 { margin: 0; font-size: clamp(19px, 2.1vw, 23px); }
.td-post-card h3 a { color: var(--td-text); }
.td-post-card:hover h3 a { color: var(--td-orange); }

.td-post-card p { color: var(--td-muted); font-size: 16px; margin: 4px 0 0; max-width: 78ch; }

.td-pagination {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 34px;
	align-items: center;
}
.td-pagination .page-numbers {
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius);
	padding: 8px 14px;
	color: var(--td-muted);
	font-size: 14px;
}
.td-pagination .page-numbers.current { border-color: var(--td-orange); color: var(--td-orange); }
.td-pagination .page-numbers:hover { border-color: var(--td-line-strong); color: var(--td-text); }

/* Einzelbeitrag */
.td-single { padding: clamp(96px, 12vw, 150px) 0 var(--td-gap); }
.td-single-inner { width: 92%; max-width: 760px; margin: 0 auto; }

.td-single h1 {
	font-size: clamp(31px, 4.6vw, 50px);
	line-height: 1.06;
	margin: 14px 0 20px;
}

.td-single-lead { font-size: 20px; color: var(--td-muted); margin-bottom: 30px; line-height: 1.55; }

.td-single-body h2 { font-size: clamp(23px, 2.8vw, 30px); margin: 42px 0 14px; }
.td-single-body p { margin: 0 0 18px; }
.td-single-body ul, .td-single-body ol { margin: 0 0 20px; padding-left: 22px; }
.td-single-body li { margin-bottom: 8px; color: var(--td-text); }

.td-sources {
	margin-top: 44px;
	padding-top: 22px;
	border-top: 1px solid var(--td-line);
}
.td-sources h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .12em; color: var(--td-dim); margin: 0 0 12px; }
.td-sources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.td-sources li { font-size: 14.5px; color: var(--td-muted); }
.td-sources a { word-break: break-word; }

/* Hinweis auf die maschinelle Erstellung – gehoert sichtbar an den Beitrag. */
.td-ai-note {
	margin-top: 30px;
	padding: 16px 18px;
	border: 1px solid var(--td-line);
	border-left: 3px solid var(--td-orange);
	border-radius: var(--td-radius);
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--td-dim);
	background: rgba(255, 255, 255, .02);
}

.td-single-cta {
	margin-top: 44px;
	padding: 30px 28px;
	background: var(--td-surface);
	border: 1px solid var(--td-line);
	border-radius: var(--td-radius-lg);
}
.td-single-cta h2 { font-size: 24px; margin: 0 0 10px; }
.td-single-cta p { color: var(--td-muted); margin: 0 0 20px; }

/* ==========================================================================
   Abschluss-Aufforderung
   ========================================================================== */

.td-final {
	position: relative;
	text-align: center;
	max-width: 780px;
	margin: 0 auto;
}
.td-final h2 { font-size: clamp(32px, 5vw, 54px); }
.td-final .td-sub { margin-left: auto; margin-right: auto; }
.td-final .td-hero-cta { justify-content: center; }

.td-finalsec {
	background:
		radial-gradient(760px 400px at 50% 116%, rgba(255, 91, 20, .20), transparent 66%),
		var(--td-black);
	border-top: 1px solid var(--td-line);
}

.td-reassure { margin-top: 20px; font-size: 14px; color: var(--td-dim); }

/* ==========================================================================
   Kleinkram
   ========================================================================== */

.td-note { font-size: 14px; color: var(--td-dim); margin-top: 24px; max-width: 76ch; }

.td-prose { max-width: 74ch; }
.td-prose h2 { margin-bottom: 18px; }
.td-prose p { color: var(--td-muted); margin-bottom: 16px; }
.td-prose ul { margin: 0 0 20px; padding-left: 20px; }
.td-prose li { color: var(--td-muted); margin-bottom: 8px; }

.td-disclaimer {
	border: 1px solid var(--td-line);
	border-left: 3px solid var(--td-dim);
	border-radius: var(--td-radius);
	padding: 18px 20px;
	background: rgba(255, 255, 255, .02);
}
.td-disclaimer-title { font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.td-disclaimer p { font-size: 13.5px; color: var(--td-dim); margin: 0 0 8px; line-height: 1.55; }
.td-disclaimer p:last-child { margin-bottom: 0; }

/* ==========================================================================
   Fusszeile
   ========================================================================== */

#main-footer { background: var(--td-black); border-top: 1px solid var(--td-line); }
#footer-widgets { display: none; }

#footer-bottom {
	background: transparent !important;
	padding: 26px 0;
	border-top: none;
}
#footer-info, #footer-bottom .container { width: 92%; max-width: var(--td-maxw); float: none; margin: 0 auto; }

.td-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	font-size: 14px;
	color: var(--td-dim);
}
.td-foot a { color: var(--td-muted); }
.td-foot a:hover { color: var(--td-orange); }

.td-foot-links { display: flex; flex-wrap: wrap; gap: 18px; }

#footer-bottom .et-social-icons { display: none; }

/* Fussmenue von Divi */
#main-footer .bottom-nav { padding: 0; }
#main-footer .bottom-nav a { color: var(--td-muted); font-size: 14px; }
#main-footer .bottom-nav a:hover { color: var(--td-orange); opacity: 1; }

/* ==========================================================================
   Einblenden beim Scrollen
   ========================================================================== */

.td-reveal, .td-reveal-item {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .6s cubic-bezier(.16, .84, .44, 1), transform .6s cubic-bezier(.16, .84, .44, 1);
	will-change: opacity, transform;
}
.td-reveal.is-in, .td-reveal-item.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.td-reveal, .td-reveal-item { opacity: 1; transform: none; transition: none; }
	.td-btn, .td-card, .td-sector { transition: none; }
}

/* ==========================================================================
   Schmale Bildschirme
   ========================================================================== */

@media (max-width: 980px) {
	.td-about { grid-template-columns: 1fr; }
	.td-portrait { max-width: 300px; }
}

@media (max-width: 780px) {
	body { font-size: 16px; }
	.td-step { grid-template-columns: 1fr; gap: 12px; }
	.td-step-no { font-size: 30px; }
	.td-about-facts li { grid-template-columns: 1fr; gap: 2px; }
	.td-hero-cta { flex-direction: column; align-items: stretch; }
	.td-hero-cta .td-btn { justify-content: center; }
	.td-scenario-head { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Druck
   ========================================================================== */

@media print {
	body, #page-container { background: #fff; color: #000; }
	#main-header, #main-footer, .td-booking, .td-hero-cta { display: none; }
	.td-single-body p, .td-single-body li { color: #000; }
}
