/* ==========================================================================
   Dr. Jochen Wallisch — One-Pager relaunch
   Maritime premium: deep navy, warm off-white, muted grey, sand/gold accent.
   Newsreader (serif, editorial authority) for headings, Inter for body.
   Calm, generous whitespace, no gradients/blobs/glassmorphism — that was
   the previous "Liquid Glass" speaker-site direction; this is deliberately
   quieter and more editorial (Adam Grant / Brené Brown pattern).
   ========================================================================== */

@font-face {
	font-family: 'Newsreader';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/newsreader-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Newsreader';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/newsreader-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}
@font-face {
	font-family: 'Newsreader';
	font-style: italic;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/newsreader-italic-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122;
}
@font-face {
	font-family: 'Newsreader';
	font-style: italic;
	font-weight: 400 700;
	font-display: swap;
	src: url('../fonts/newsreader-italic-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/inter-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url('../fonts/inter-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF;
}

:root {
	--color-navy: #14304D;
	--color-navy-deep: #0B2036;
	--color-berry: #A31753;
	--color-sand: #B08D57;
	--color-sand-dark: #846941;
	--color-sand-light: #D9C6A0;
	--color-essay-blue: #6E9BC7;
	--color-offwhite: #F8F4EC;
	--color-white: #FFFFFF;
	--color-grey: #6B6459;
	--color-text: #1B2430;
	--color-border: rgba(20, 48, 77, 0.14);

	--space-xs: 0.25rem;
	--space-sm: 0.5rem;
	--space-md: 1rem;
	--space-lg: 1.5rem;
	--space-xl: 2rem;
	--space-2xl: 3rem;
	--space-3xl: 4rem;
	--space-4xl: 6rem;

	--shadow-sm: 0 1px 3px rgba(11, 32, 54, 0.08);
	--shadow-md: 0 8px 24px rgba(11, 32, 54, 0.12);
	--shadow-lg: 0 20px 48px rgba(11, 32, 54, 0.18);

	--font-heading: 'Newsreader', Georgia, 'Times New Roman', serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

	--radius: 6px;
	--radius-lg: 4px;
	--container-width: 1160px;

	--ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	/* This site has no dark-mode variant. Without this, some browsers apply
	   native dark-mode form-control styling (white text) to unstyled parts
	   of <input>/<textarea> when the OS is in dark mode, regardless of the
	   background color the theme sets explicitly -- makes text unreadable. */
	color-scheme: light;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--color-text);
	background: var(--color-offwhite);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-navy); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
	font-family: var(--font-heading);
	color: var(--color-navy);
	line-height: 1.15;
	letter-spacing: -0.01em;
	font-weight: 600;
	margin: 0 0 var(--space-md);
}

p { margin: 0 0 var(--space-md); max-width: 68ch; }

.container {
	width: 100%;
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 var(--space-lg);
}

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed;
	top: var(--space-md);
	left: var(--space-md);
	width: auto; height: auto;
	clip: auto;
	background: var(--color-navy);
	color: var(--color-white);
	padding: var(--space-sm) var(--space-md);
	border-radius: var(--radius);
	z-index: 200;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
	outline: 2px solid var(--color-sand-dark);
	outline-offset: 3px;
}

/* Reveal-on-scroll --------------------------------------------------- */

[data-reveal] {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* Header ------------------------------------------------------------------ */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--color-offwhite);
	border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-lg);
	padding: 0.85rem 0;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: var(--space-sm);
	white-space: nowrap;
}
.site-brand__mark { width: 32px; height: 32px; border-radius: 50%; }
.site-brand__name {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1.1rem;
	color: var(--color-navy);
	letter-spacing: -0.01em;
}
.site-brand:hover { text-decoration: none; opacity: 0.8; }

.site-nav {
	display: flex;
	gap: var(--space-xl);
	flex: 1;
	justify-content: center;
}
.site-nav a {
	color: var(--color-navy);
	font-weight: 500;
	font-size: 0.92rem;
	white-space: nowrap;
	position: relative;
	padding-bottom: 2px;
}
.site-nav a::after {
	content: '';
	position: absolute;
	left: 0; right: 0; bottom: -2px;
	height: 1px;
	background: var(--color-sand);
	transform: scaleX(0);
	transition: transform 200ms ease;
}
.site-nav a:hover { text-decoration: none; }
.site-nav a:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: var(--space-lg); }

.lang-switch {
	display: flex;
	align-items: center;
	gap: var(--space-xs);
	font-weight: 600;
	font-size: 0.8rem;
	color: var(--color-grey);
}
.lang-switch__link {
	color: var(--color-grey);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	padding: 4px 8px;
	border-radius: var(--radius);
}
.lang-switch__link:hover { text-decoration: none; color: var(--color-navy); }
.lang-switch__link.is-active { color: var(--color-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	background: none;
	border: none;
	cursor: pointer;
}
.menu-toggle span {
	display: block;
	width: 20px;
	height: 1.5px;
	background: var(--color-navy);
	margin: 4px 0;
}

@media (max-width: 860px) {
	.site-nav {
		display: flex;
		position: absolute;
		top: 100%;
		left: 0; right: 0;
		flex-direction: column;
		background: var(--color-offwhite);
		border-bottom: 1px solid var(--color-border);
		padding: var(--space-md) var(--space-lg);
		gap: var(--space-xs);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-6px);
		transition: opacity 180ms ease, transform 180ms ease, visibility 0s 180ms;
	}
	.site-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		transition: opacity 180ms ease, transform 180ms ease, visibility 0s;
	}
	.site-nav a { display: block; padding: 10px 0; }
	.site-header__actions .btn-primary { display: none; }
	.menu-toggle { display: flex; }
}

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

.btn-primary, .btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 28px;
	border-radius: var(--radius);
	font-weight: 600;
	font-family: var(--font-body);
	font-size: 0.95rem;
	cursor: pointer;
	transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease), color 200ms var(--ease);
	border: 1px solid transparent;
}
.btn-primary {
	background: var(--color-sand);
	color: var(--color-navy-deep);
	box-shadow: 0 4px 18px rgba(176, 141, 87, 0.25);
	gap: 10px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(176, 141, 87, 0.38); text-decoration: none; }
.btn-primary.is-pending { opacity: 0.85; }
.btn-primary__arrow { display: inline-block; transition: transform 220ms var(--ease); }
.btn-primary:hover .btn-primary__arrow { transform: translateX(4px); }

.btn-outline {
	background: transparent;
	color: inherit;
	border-color: currentColor;
	border-width: 1.5px;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); text-decoration: none; }
.btn-outline--dark { color: var(--color-navy); }
.btn-outline--dark:hover { background: rgba(20, 48, 77, 0.06); }

.btn-small { padding: 9px 18px; font-size: 0.85rem; }

/* Hero ------------------------------------------------------------------ */

.hero {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: clamp(560px, 88vh, 980px);
	padding: var(--space-4xl) 0;
	background: var(--color-navy-deep);
	color: var(--color-white);
	text-align: center;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__sea-photo,
.hero__sea-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero__sea-video { background: transparent; }
.hero__scrim {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(65% 55% at 50% 46%, rgba(11, 32, 54, 0.5) 0%, rgba(11, 32, 54, 0.22) 60%, rgba(11, 32, 54, 0) 100%),
		linear-gradient(180deg, rgba(11, 32, 54, 0.55) 0%, rgba(11, 32, 54, 0.32) 35%, rgba(11, 32, 54, 0.4) 65%, rgba(11, 32, 54, 0.78) 100%);
}

@media (prefers-reduced-motion: reduce), (max-width: 480px) {
	.hero__sea-video { display: none; }
}

.hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
}

.hero__headline {
	font-size: clamp(2.2rem, 4.6vw, 3.5rem);
	line-height: 1.22;
	margin: 0 auto var(--space-2xl);
	color: var(--color-white);
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.55);
}
.hero__actions { display: flex; gap: var(--space-lg); flex-wrap: wrap; justify-content: center; }
.hero__actions .btn-outline { color: var(--color-white); }

@media (max-width: 600px) {
	.hero { min-height: clamp(480px, 76vh, 720px); padding: var(--space-3xl) 0; }
	.hero__actions { flex-direction: column; align-items: stretch; }
}

/* Sections ------------------------------------------------------------------ */

.section { padding: var(--space-4xl) 0; }
.section__heading { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.section__intro, .section__text { color: var(--color-grey); font-size: 1.05rem; }
.section__intro, .section__text { margin-bottom: var(--space-2xl); }

.page-header { padding: var(--space-3xl) 0 var(--space-lg); }
.page-header__title { font-size: clamp(2.1rem, 4vw, 2.75rem); margin-bottom: 0; }

.eyebrow {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	color: var(--color-sand-dark);
	text-transform: uppercase;
	margin-bottom: var(--space-md);
}

/* Book ------------------------------------------------------------------ */

.section--book { background: var(--color-white); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

.book__inner {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: var(--space-3xl);
	align-items: start;
	margin-bottom: var(--space-3xl);
}
.book__cover img { border-radius: 2px; box-shadow: var(--shadow-lg); }

.book__title { margin-bottom: var(--space-xs); }
.book__subtitle { font-family: var(--font-heading); font-style: italic; font-size: 1.2rem; color: var(--color-navy); margin-bottom: var(--space-lg); }

.book__badge {
	display: inline-block;
	background: var(--color-berry);
	color: var(--color-white);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: var(--space-lg);
}

.book__thesis { font-size: 1.05rem; color: var(--color-text); }

.book__highlights { list-style: none; margin: var(--space-lg) 0; padding: 0; display: grid; gap: var(--space-sm); max-width: none; }
.book__highlights li { display: flex; gap: var(--space-sm); align-items: flex-start; color: var(--color-text); }
.book__highlights svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--color-berry); }

.book__meta { color: var(--color-grey); font-size: 0.9rem; margin-bottom: var(--space-lg); }
.book__cta-row { display: flex; gap: var(--space-md); flex-wrap: wrap; }

.book__testimonial {
	margin: 0 auto;
	max-width: 760px;
	text-align: center;
	padding: var(--space-2xl) 0 0;
	border-top: 1px solid var(--color-border);
}
.book__testimonial-icon { width: 32px; height: 32px; color: var(--color-sand); margin-bottom: var(--space-md); }
.book__testimonial-quote {
	font-family: var(--font-heading);
	font-style: italic;
	font-size: 1.3rem;
	color: var(--color-navy);
	max-width: none;
	margin-bottom: var(--space-md);
}
.book__testimonial-cite { display: block; font-size: 0.9rem; color: var(--color-grey); }
.book__testimonial-name { font-weight: 700; color: var(--color-navy); margin-right: 6px; }

@media (max-width: 860px) {
	.book__inner { grid-template-columns: 1fr; gap: var(--space-xl); text-align: center; }
	.book__cover { max-width: 260px; margin: 0 auto; }
	.book__highlights li { text-align: left; }
}

/* Statement ------------------------------------------------------------------ */

.section--statement { background: var(--color-navy-deep); }
.statement__layout {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: var(--space-4xl);
	align-items: center;
}
.statement { text-align: left; }
.statement__line {
	font-family: var(--font-heading);
	font-size: clamp(1.3rem, 2.6vw, 1.9rem);
	color: var(--color-white);
	line-height: 1.4;
	max-width: none;
	margin-bottom: var(--space-md);
}
.statement__line--0 { font-style: italic; color: var(--color-sand-light); }
.statement__line:last-child { margin-bottom: 0; }

.statement__portrait img {
	width: 100%;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	object-fit: cover;
	aspect-ratio: 4/5;
}

@media (max-width: 860px) {
	.statement__layout { grid-template-columns: 1fr; gap: var(--space-xl); text-align: center; }
	.statement { text-align: center; }
	.statement__portrait { max-width: 320px; margin: var(--space-lg) auto 0; }
}

/* About ------------------------------------------------------------------ */

.section--about { background: var(--color-offwhite); }
.about__layout { display: grid; grid-template-columns: 380px 1fr; gap: var(--space-3xl); align-items: center; }
.about__portrait img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.about__para { font-size: 1.05rem; color: var(--color-text); }
.about__para--question {
	font-family: var(--font-heading);
	font-style: italic;
	font-size: 1.3rem;
	color: var(--color-navy);
	margin: var(--space-lg) 0;
}
.about__para--quote {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1.15rem;
	color: var(--color-navy);
	margin-top: var(--space-xl);
	padding-top: var(--space-lg);
	border-top: 1px solid var(--color-border);
}

@media (max-width: 860px) {
	.about__layout { grid-template-columns: 1fr; gap: var(--space-xl); text-align: center; }
	.about__portrait { max-width: 320px; margin: 0 auto var(--space-sm); }
}

/* Themen tiles ------------------------------------------------------------------ */

.section--themen { background: var(--color-white); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

.tile-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--space-xl);
}
.tile {
	padding: var(--space-xl) var(--space-lg);
	border: 1px solid var(--color-border);
	border-top: 2px solid var(--color-sand);
	background: var(--color-offwhite);
}
.tile__icon {
	width: 40px; height: 40px;
	display: flex; align-items: center; justify-content: center;
	color: var(--color-navy);
	margin-bottom: var(--space-md);
}
.tile__icon svg { width: 26px; height: 26px; }
.tile__title { font-size: 1.15rem; margin-bottom: var(--space-sm); }
.tile__text { color: var(--color-grey); margin-bottom: 0; }

/* Publications ------------------------------------------------------------------ */

.section--publications { background: var(--color-offwhite); }

.publication-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); }
.publication-list__item {
	display: grid;
	grid-template-columns: 24px 100px 1fr auto;
	gap: var(--space-md);
	align-items: center;
	padding: var(--space-md) var(--space-lg);
	background: var(--color-white);
	border: 1px solid var(--color-border);
}
.publication-list__icon { width: 20px; height: 20px; color: var(--color-navy); flex-shrink: 0; }
.publication-list__type { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-sand-dark); }
.publication-list__title { font-weight: 600; color: var(--color-navy); }
.publication-list__title a { color: inherit; }
.publication-list__title a:hover { color: var(--color-sand-dark); text-decoration: none; }
.publication-list__meta { color: var(--color-grey); font-size: 0.9rem; }

@media (max-width: 640px) {
	.publication-list__item { grid-template-columns: 24px 1fr; }
	.publication-list__type, .publication-list__title, .publication-list__meta { grid-column: 2; }
}

.publication-list__item--group { display: block; padding: 0; }
.publication-list__group { display: block; }
.publication-list__group-summary {
	display: grid;
	grid-template-columns: 24px 100px 1fr auto auto;
	gap: var(--space-md);
	align-items: center;
	padding: var(--space-md) var(--space-lg);
	cursor: pointer;
	list-style: none;
}
.publication-list__group-summary::-webkit-details-marker { display: none; }
.publication-list__group-summary::marker { content: ''; }
.publication-list__chevron { width: 16px; height: 16px; color: var(--color-sand-dark); flex-shrink: 0; justify-self: end; transition: transform 0.2s ease; }
.publication-list__group[open] .publication-list__chevron { transform: rotate(180deg); }

.publication-list__children { list-style: none; margin: 0; padding: 0 var(--space-lg) var(--space-md); display: grid; gap: var(--space-sm); border-top: 1px solid var(--color-border); }
.publication-list__child { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-md); padding-top: var(--space-sm); padding-left: calc(24px + var(--space-md)); }
.publication-list__child a { color: var(--color-navy); font-weight: 600; }
.publication-list__child a:hover { color: var(--color-sand-dark); text-decoration: none; }
.publication-list__child-meta { color: var(--color-grey); font-size: 0.85rem; white-space: nowrap; }

@media (max-width: 640px) {
	.publication-list__group-summary { grid-template-columns: 24px 1fr auto; }
	.publication-list__group-summary .publication-list__type,
	.publication-list__group-summary .publication-list__title,
	.publication-list__group-summary .publication-list__meta { grid-column: 2; }
	.publication-list__chevron { grid-column: 3; grid-row: 1; }
	.publication-list__child { padding-left: 0; flex-direction: column; gap: 2px; }
}

/* Blog ("Beiträge") ------------------------------------------------------------------ */

.section--blog { background: var(--color-white); }

.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
	justify-content: center;
	gap: var(--space-xl);
}
.blog-card {
	display: flex;
	flex-direction: column;
	padding: var(--space-lg);
	border: 1px solid var(--color-border);
	background: var(--color-offwhite);
}
.blog-card__thumb { display: block; margin: calc(var(--space-lg) * -1) calc(var(--space-lg) * -1) var(--space-md); overflow: hidden; }
.blog-card__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 400ms var(--ease); }
.blog-card__thumb:hover img { transform: scale(1.04); }
.blog-card__date { font-size: 0.8rem; color: var(--color-sand-dark); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: var(--space-xs); }
.blog-card__title { font-size: 1.15rem; margin-bottom: var(--space-sm); }
.blog-card__title a { color: var(--color-navy); }
.blog-card__title a:hover { color: var(--color-sand-dark); text-decoration: none; }
.blog-card__excerpt { color: var(--color-grey); margin-bottom: var(--space-md); }
.blog-card__link { font-weight: 600; margin-top: auto; }

.blog-empty { text-align: center; color: var(--color-grey); padding: var(--space-2xl) 0; }

.blog-pagination { display: flex; gap: var(--space-sm); justify-content: center; margin-top: var(--space-2xl); flex-wrap: wrap; }
.blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 var(--space-sm);
	border: 1px solid var(--color-border);
	color: var(--color-grey);
	font-weight: 600;
	transition: border-color 150ms ease, color 150ms ease;
}
.blog-pagination .page-numbers:hover { border-color: var(--color-sand-dark); color: var(--color-navy); text-decoration: none; }
.blog-pagination .page-numbers.current { background: var(--color-navy); border-color: var(--color-navy); color: var(--color-white); }

/* Essay ("Beitrag") -- Wallisch Essay System: magazine look, dark ocean-blue
   header, one dominant 16:9 visual, long-form reading typography. -------- */

.essay-header {
	background: var(--color-navy-deep);
	color: var(--color-white);
	text-align: center;
	padding: var(--space-3xl) 0 var(--space-2xl);
}
.essay-kicker {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-essay-blue);
	margin-bottom: var(--space-md);
}
.essay-kicker--light { color: var(--color-sand-dark); margin-bottom: var(--space-md); }
.essay-header__title {
	font-size: clamp(2.1rem, 4.2vw, 3rem);
	color: var(--color-white);
	max-width: 800px;
	margin: 0 auto var(--space-lg);
}
.single-post__meta { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }
.single-post__meta span { margin: 0 var(--space-xs); }

.single-post__thumb { margin-bottom: var(--space-2xl); background: var(--color-navy-deep); }
.single-post__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

.single-post__body { max-width: 700px; font-size: 1.05rem; }
.single-post__body p { max-width: none; margin-bottom: var(--space-xl); }
.single-post__body h2 { margin-top: var(--space-2xl); margin-bottom: var(--space-md); }
.single-post__body ul, .single-post__body ol { margin-bottom: var(--space-xl); padding-left: 1.25rem; }
.single-post__body li { margin-bottom: var(--space-sm); }
.single-post__content { padding-top: var(--space-lg); padding-bottom: var(--space-2xl); }
.single-post__back { padding-top: 0; }

/* Drop cap on the opening paragraph -- quiet editorial-magazine signal that
   an essay is starting, not a blog list item. */
.single-post__body > p:first-of-type::first-letter {
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 3.8em;
	line-height: 0.85;
	float: left;
	margin: 0.03em 0.08em 0 0;
	color: var(--color-navy);
}

/* Pull-quotes -- for the "one memorable sentence" narrative beat. */
.single-post__body blockquote {
	margin: var(--space-2xl) 0;
	padding: 0 0 0 var(--space-lg);
	border-left: 3px solid var(--color-essay-blue);
	font-family: var(--font-heading);
	font-style: italic;
	font-size: 1.4rem;
	line-height: 1.5;
	color: var(--color-navy);
}
.single-post__body blockquote p { margin-bottom: 0; }

/* Section-break dinkus -- for the "quiet epilogue" structural beat, instead
   of a plain horizontal rule. */
.single-post__body hr {
	border: none;
	text-align: center;
	margin: var(--space-2xl) 0;
}
.single-post__body hr::before {
	content: '\2022 \2022 \2022';
	letter-spacing: 0.5em;
	color: var(--color-sand);
	font-size: 0.9rem;
}

@media (max-width: 600px) {
	.single-post__body > p:first-of-type::first-letter { font-size: 3rem; }
}

/* Contact ------------------------------------------------------------------ */

.section--contact { background: var(--color-white); }

.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); align-items: start; }

.contact__linkedin {
	display: inline-flex;
	align-items: center;
	gap: var(--space-sm);
	font-weight: 600;
	color: var(--color-navy);
	margin-top: var(--space-md);
}
.contact__linkedin svg { width: 22px; height: 22px; }
.contact__linkedin:hover { text-decoration: none; color: var(--color-sand-dark); }

.contact-form { display: grid; gap: var(--space-sm); }
.contact-form__label { font-weight: 600; margin-top: var(--space-sm); }
.contact-form__legend { font-size: 0.85rem; color: var(--color-grey); margin: 0; }

.input {
	padding: 13px 16px;
	border: 1px solid var(--color-border);
	background: var(--color-offwhite);
	color: var(--color-text);
	border-radius: var(--radius);
	font-size: 16px;
	font-family: var(--font-body);
	transition: border-color 200ms ease, background 200ms ease;
	width: 100%;
}
.input::placeholder { color: var(--color-grey); opacity: 1; }
.input:focus {
	border-color: var(--color-sand-dark);
	background: var(--color-white);
	outline: none;
	box-shadow: 0 0 0 3px rgba(132, 105, 65, 0.35);
}

.contact-form button { margin-top: var(--space-md); justify-self: start; }

/* Honeypot -- hidden from sighted users; kept off-screen (not display:none)
   so unsophisticated bots that skip hidden fields still fill it in.
   pointer-events:none is defense-in-depth against anything (browser UI,
   an extension) that might otherwise let a real user interact with it. */
.jw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; pointer-events: none; }

.form-notice { padding: var(--space-md); border-radius: var(--radius); font-weight: 600; margin-top: var(--space-lg); }
.form-notice--success { background: #E4F2E9; color: #245C3C; }
.form-notice--error { background: #F7E6E6; color: #7A2626; }

@media (max-width: 860px) {
	.contact__inner { grid-template-columns: 1fr; gap: var(--space-xl); }
}

/* Legal pages ------------------------------------------------------------------ */

.legal-content { max-width: 720px; }
.legal-content h2 {
	font-size: 1.3rem;
	margin-top: var(--space-2xl);
	padding-top: var(--space-xl);
	border-top: 1px solid var(--color-border);
}
.legal-content .lang-content h2:first-child,
.legal-content .lang-content > p:first-child + h2 { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content .lang-content > p:first-child { font-size: 0.9rem; margin-bottom: var(--space-lg); }
.legal-content h3 { font-size: 1.05rem; margin-top: var(--space-lg); }
.legal-content p, .legal-content li { color: var(--color-grey); }
.legal-content ul, .legal-content ol { padding-left: 1.25rem; }
.legal-content li { margin-bottom: var(--space-sm); }
.legal-content strong { color: var(--color-navy); }

/* Bilingual legal pages (Impressum/Datenschutz) -- both languages live in
   the same post_content, wrapped per-language; show only the active one. */
.lang-content { display: none; }
body.lang-de .lang-content[data-lang="de"] { display: block; }
body.lang-en .lang-content[data-lang="en"] { display: block; }

/* Footer ------------------------------------------------------------------ */

.site-footer { background: var(--color-navy-deep); color: rgba(255, 255, 255, 0.6); padding: var(--space-2xl) 0; }
.site-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-lg); }
.site-footer__brand { font-family: var(--font-heading); font-weight: 600; color: var(--color-white); margin-bottom: var(--space-xs); }
.site-footer__tagline { margin: 0 0 var(--space-md); max-width: 400px; line-height: 1.6; }
.site-footer__social { display: flex; gap: var(--space-md); }
.site-footer__social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 50%;
	background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.7);
	transition: background 150ms ease, color 150ms ease;
}
.site-footer__social a:hover { background: rgba(255, 255, 255, 0.16); color: var(--color-white); }
.site-footer__social svg { width: 18px; height: 18px; }
.site-footer__legal { display: flex; gap: var(--space-md); font-size: 0.85rem; align-self: flex-start; }
.site-footer__legal a { color: rgba(255, 255, 255, 0.6); }
.site-footer__legal a:hover { color: var(--color-white); text-decoration: none; }
.site-footer__rights { width: 100%; margin: var(--space-lg) 0 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* Print ------------------------------------------------------------------ */

@media print {
	.hero__sea-video, .menu-toggle, .lang-switch, .btn-primary, .btn-outline,
	.site-header__actions .btn-primary, .contact-form, .hero__scrim { display: none !important; }
	.hero, .section--statement, .site-footer {
		background: none !important;
		color: #000 !important;
	}
	.hero__headline, .statement__line, .site-footer a, .site-footer__brand, .site-footer__tagline {
		color: #000 !important;
		text-shadow: none !important;
	}
	a { text-decoration: underline; }
	.site-header { position: static; }
}
