/*
Theme Name: Don Dahlmann
Theme URI: https://www.dondahlmann.de/
Author: Don Dahlmann
Description: Block-Theme für dondahlmann.de – Keynotes, Moderation und Analysen zur Autoindustrie. Graphit, Signalorange, Archivo, Inter und JetBrains Mono (lokal eingebunden, ohne Google-Server).
Version: 1.0.1
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dondahlmann
*/

/* ---------- Grundlagen ---------- */

.wp-site-blocks > * { margin-block-start: 0; }
.wp-block-post-content > .alignfull { margin-block: 0 !important; }

h1, h2, h3, h4, h5, h6 { font-stretch: 80%; }

.dd-section { padding-block: clamp(64px, 8vw, 96px); }
.dd-page-head { padding-top: clamp(48px, 6vw, 80px); }
.dd-page-body { padding-bottom: clamp(64px, 8vw, 96px); }
.dd-page-body > .alignfull:first-child { margin-top: 32px !important; }
.dd-dark { background: var(--wp--preset--color--ink); color: var(--wp--preset--color--paper); }
.dd-dark a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--paper); }
.dd-white { background: var(--wp--preset--color--white); border-block: 1px solid var(--wp--preset--color--line); }
.dd-stone { background: var(--wp--preset--color--stone); }

/* ---------- Typografie ---------- */

.dd-eyebrow {
	margin: 0 0 16px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.dd-dark .dd-eyebrow, .dd-stat .dd-eyebrow { color: var(--wp--preset--color--mist); }

.dd-display {
	margin: 0;
	font-stretch: 75%;
	font-weight: 800;
	font-size: clamp(52px, 8vw, 112px);
	line-height: 0.92;
	letter-spacing: -0.01em;
}
.dd-display--s { font-size: clamp(48px, 7vw, 96px); line-height: 0.94; }

.dd-h2 {
	margin: 0;
	max-width: 820px;
	font-size: var(--wp--preset--font-size--xx-large);
	line-height: 1;
}
.dd-h2--s { font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }

.dd-h3 { margin: 10px 0; font-stretch: 85%; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; }

.dd-lead { max-width: 600px; font-size: 20px; line-height: 1.55; }
.dd-dark .dd-lead { color: #DCDFD8; }
.dd-muted { color: var(--wp--preset--color--muted); }
.dd-dark .dd-muted { color: #DCDFD8; }

.dd-label {
	margin: 0;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

/* ---------- Kopf- und Fußbereich ---------- */

.dd-header { padding-block: 24px; }
.dd-wordmark { margin: 0; line-height: 1; }
.dd-wordmark a {
	font-family: var(--wp--preset--font-family--archivo);
	font-stretch: 80%;
	font-weight: 800;
	font-size: 26px;
	letter-spacing: 0.04em;
	text-decoration: none;
}
.dd-tagline {
	margin: 4px 0 0 !important;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	color: var(--wp--preset--color--mist);
}
.dd-nav { font-size: 15px; }
.dd-nav a { text-decoration: none; }
.dd-nav a:hover, .dd-nav .current-menu-item a { text-decoration: underline; text-underline-offset: 6px; }
.dd-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
}
.dd-header .wp-block-button__link { padding: 12px 20px; }

.dd-footer { padding-block: 56px 40px; }
.dd-footer-links { gap: 4px 28px; }
.dd-footer-links p { margin: 0; }
.dd-footer-bottom {
	margin-top: 40px !important;
	padding-top: 20px;
	border-top: 1px solid #3A4048;
	font-size: 14px;
	gap: 8px 24px;
}
.dd-footer-bottom p { margin: 0; }
.dd-footer-bottom a { color: var(--wp--preset--color--mist) !important; }

/* ---------- Buttons ---------- */

.dd-btn-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--paper);
	border: 1px solid #5A6068;
}
.dd-btn-outline .wp-block-button__link:hover { background: #1C2127; color: var(--wp--preset--color--paper); }
.dd-btn-dark .wp-block-button__link { background: var(--wp--preset--color--ink); }
.dd-btn-dark .wp-block-button__link:hover { background: #2A2F35; }
.dd-btn-wide, .dd-btn-wide .wp-block-button__link { width: 100%; text-align: left; }
.wp-block-button__link { min-height: 44px; }

/* ---------- Startseite: Hero ---------- */

.dd-hero-cols { padding-block: 40px 56px; }
.dd-portrait img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 35%;
	border-radius: 4px;
}
.dd-creds { margin-top: 0 !important; border-top: 1px solid #3A4048; padding-top: 22px; padding-bottom: 26px; }
.dd-cred-title { margin: 0; font-family: var(--wp--preset--font-family--archivo); font-stretch: 85%; font-weight: 700; font-size: 20px; line-height: 1.25; }
.dd-cred-label { margin: 4px 0 0 !important; font-family: var(--wp--preset--font-family--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--wp--preset--color--mist); }

/* ---------- Kunden-Leiste ---------- */

.dd-strip { border-bottom: 1px solid var(--wp--preset--color--line); padding-block: 26px; }
.dd-strip-row { gap: 10px 40px; align-items: center; }
.dd-strip-row p { margin: 0; font-family: var(--wp--preset--font-family--archivo); font-stretch: 85%; font-weight: 700; font-size: 19px; color: var(--wp--preset--color--muted); }
.dd-strip-row p.dd-eyebrow { margin: 0; font-family: var(--wp--preset--font-family--mono); font-size: 12px; font-weight: 400; font-stretch: 100%; }

/* ---------- Karten ---------- */

.dd-cards { gap: 20px !important; margin-top: 48px !important; }
.dd-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 4px;
	padding: 28px;
}
.dd-card > *:first-child { margin-top: 0; }
.dd-card--soft {
	background: var(--wp--preset--color--paper);
	border: 0;
	border-top: 4px solid var(--wp--preset--color--accent);
	padding: 32px;
}
.dd-num { margin: 0; font-family: var(--wp--preset--font-family--mono); font-size: 13px; font-weight: 500; color: var(--wp--preset--color--accent); }
.dd-card a.dd-more, .dd-more a { font-weight: 600; }

/* ---------- Zitate ---------- */

.wp-block-quote.dd-quote {
	margin: 40px 0 0;
	padding: 28px 0 0;
	border: 0;
	border-top: 1px solid var(--wp--preset--color--line);
}
.wp-block-quote.dd-quote p {
	font-family: var(--wp--preset--font-family--archivo);
	font-stretch: 85%;
	font-weight: 700;
	font-size: clamp(22px, 2.2vw, 26px);
	line-height: 1.25;
}
.wp-block-quote.dd-quote cite {
	display: block;
	margin-top: 14px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	font-style: normal;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.dd-dark .wp-block-quote.dd-quote { margin-top: 0; border-top: 4px solid var(--wp--preset--color--accent); }
.dd-dark .wp-block-quote.dd-quote cite { color: var(--wp--preset--color--mist); }
.dd-stone .wp-block-quote.dd-quote { background: var(--wp--preset--color--white); border: 0; border-radius: 4px; padding: 32px; margin: 0; }

/* ---------- Analysen ---------- */

.dd-stat {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
	border-radius: 4px;
	padding: 32px;
}
.dd-stat-num {
	margin: 24px 0 !important;
	font-family: var(--wp--preset--font-family--archivo);
	font-stretch: 75%;
	font-weight: 900;
	font-size: clamp(64px, 7vw, 96px);
	line-height: 0.9;
	color: var(--wp--preset--color--accent);
}
.dd-stat-text { margin: 0; font-size: 18px; font-weight: 600; }
.dd-stat .dd-label { margin-top: 6px; color: var(--wp--preset--color--mist); }

.dd-row {
	background: var(--wp--preset--color--white);
	border-radius: 4px;
	padding: 26px 28px;
}
.dd-row + .dd-row { margin-top: 20px !important; }
.dd-row-title { margin: 6px 0 0 !important; font-family: var(--wp--preset--font-family--archivo); font-stretch: 85%; font-weight: 800; font-size: 23px; line-height: 1.2; }
.dd-row-title a { text-decoration: none; }
.dd-row-title a:hover { text-decoration: underline; }
.dd-row-meta { margin: 6px 0 0 !important; font-size: 15px; color: var(--wp--preset--color--muted); }

/* ---------- Newsletter-Band ---------- */

.dd-accent-band { background: var(--wp--preset--color--accent); color: #FFFFFF; padding-block: 64px; }
.dd-accent-band h2 { color: #FFFFFF; }

/* ---------- Listen ---------- */

.dd-facts { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--wp--preset--color--line); }
.dd-facts li { padding: 14px 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.dd-facts strong {
	display: inline-block;
	min-width: 84px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 13px;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
}

/* ---------- Bilder und Videos ---------- */

.dd-img-3-2 img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 30%; border-radius: 4px; }
.dd-img-16-9 img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 25%; border-radius: 4px; }
.dd-poster img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.wp-block-image figcaption.wp-element-caption,
.wp-block-embed figcaption.wp-element-caption { margin-top: 10px; text-align: left; letter-spacing: 0.04em; text-transform: uppercase; }
.wp-block-embed iframe { border-radius: 4px; }

.dd-band-img { margin: 0 !important; background: var(--wp--preset--color--ink); }
.dd-band-img img {
	display: block;
	width: 100%;
	height: clamp(280px, 38vw, 560px);
	object-fit: cover;
	object-position: 62% 35%;
}
.dd-band-img figcaption.wp-element-caption {
	max-width: 1200px;
	margin: 0 auto !important;
	padding: 14px 28px;
	color: var(--wp--preset--color--mist);
}

/* ---------- Speaker-Seite ---------- */

.dd-keynote {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 4px;
	padding: 36px;
	gap: 24px 48px !important;
}
.dd-keynote + .dd-keynote { margin-top: 20px !important; }
.dd-big-num { margin: 0; font-family: var(--wp--preset--font-family--archivo); font-stretch: 75%; font-weight: 900; font-size: 56px; line-height: 1; color: var(--wp--preset--color--accent); }
.dd-for { border-left: 1px solid var(--wp--preset--color--line); padding-left: 24px; }

.dd-chips { gap: 10px 14px; margin-top: 32px !important; align-items: baseline; }
.dd-chips p { margin: 0; }
.dd-chip { background: var(--wp--preset--color--stone); border-radius: 999px; padding: 6px 14px; font-size: 15px; }

.dd-names { gap: 10px 36px; }
.dd-names p { margin: 0; font-family: var(--wp--preset--font-family--archivo); font-stretch: 85%; font-weight: 700; font-size: 24px; }

.dd-step { border-top: 4px solid var(--wp--preset--color--ink); padding-top: 20px; }
.dd-step .dd-h3 { font-size: 22px; margin: 8px 0 6px; }

.dd-contact-box { background: #1C2127; border-radius: 4px; padding: 32px; }

/* ---------- Mobil ---------- */

@media (max-width: 781px) {
	.dd-for { border-left: 0; padding-left: 0; border-top: 1px solid var(--wp--preset--color--line); padding-top: 16px; }
	.dd-keynote { padding: 28px; }
	.dd-hero-cols { padding-block: 24px 40px; }
}
