/* Niclas Wich – Biografie-Onepager. Mobil zuerst (Basis = Handy, Erweiterungen ab 640 und 960 px).
   Wich-CI: Montserrat, Dunkel #0d0f14, Blau #028ccc, Gold/Beige als Akzent. */

@font-face {
	font-family: "Montserrat";
	src: url("fonts/montserrat.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--dunkel: #0d0f14;
	--tief: #003650;
	--blau: #028ccc;
	--blau-dk: #09577d;
	--hellblau: #05b0ff;
	--gold: #c49a6c;
	--beige: #e9dfd1;
	--braun: #6b5a44;
	--hell: #f4f5f6;
	--grau: #e2e3e4;
	--text: #444444;
	--text-hell: #b9c2cc;
	--weiss: #ffffff;
	--radius: 16px;
	--kopf: 0px; /* Handy: keine Kopfzeile */
	--rand: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--weiss);
	color: var(--text);
	font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	overflow-x: clip; /* nicht hidden: sonst greift position:sticky im Kopf nicht */
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); text-underline-offset: 3px; }
a:hover { color: var(--blau-dk); }
h1, h2, h3 { color: var(--dunkel); line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; overflow-wrap: break-word; hyphens: manual; }
h2 { font-size: clamp(1.75rem, 1.3rem + 2.2vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--hellblau); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--rand); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--weiss); color: var(--dunkel); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blau); margin-bottom: .8em; }
.lead { font-size: 1.06rem; line-height: 1.7; }

/* Buttons: große Tippflächen */
.btn { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 24px; border-radius: 12px; font-weight: 700; font-size: 1rem; line-height: 1.25; text-align: center; text-decoration: none; border: 2px solid transparent; transition: background-color .2s, border-color .2s, color .2s; }
.btn-hell { background: var(--weiss); color: var(--dunkel); }
.btn-hell:hover { background: var(--beige); color: var(--dunkel); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--weiss); }
.btn-ghost:hover { border-color: var(--weiss); color: var(--weiss); }
.btn-row { display: grid; gap: 10px; margin-top: 1.6em; }

/* Kopf */
.kopf { display: none; position: sticky; top: 0; z-index: 50; background: rgba(13, 15, 20, .9); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.kopf-row { display: flex; align-items: center; gap: 12px; height: var(--kopf); }
.marke { display: flex; align-items: center; gap: 10px; color: var(--weiss); text-decoration: none; margin-right: auto; min-width: 0; }
.marke:hover { color: var(--weiss); }
.marke-zeichen { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--blau); color: var(--weiss); font-weight: 800; font-size: .88rem; }
.marke-text { font-weight: 800; font-size: 1.02rem; white-space: nowrap; }
.nav { display: none; }
.nav a { color: #dfe5eb; text-decoration: none; font-weight: 600; font-size: .9rem; padding: 8px 2px; }
.nav a:hover { color: var(--weiss); }
.kopf-cta { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 999px; background: var(--weiss); color: var(--dunkel); font-weight: 700; font-size: .88rem; text-decoration: none; }
.kopf-cta:hover { background: var(--beige); color: var(--dunkel); }

/* Hero – Handy: Foto randlos oben, Name überlappt das Foto */
.hero { background: var(--dunkel); color: var(--text-hell); padding-bottom: 36px; }
.hero-foto { margin: 0; position: relative; }
.hero-foto img { width: 100%; height: min(76svh, 122vw); object-fit: cover; object-position: 50% 22%; }
.hero-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(13, 15, 20, 0) 45%, rgba(13, 15, 20, .75) 78%, var(--dunkel) 100%); pointer-events: none; }
.hero-inhalt { position: relative; z-index: 1; margin-top: -128px; padding-inline: var(--rand); }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: var(--weiss); font-size: clamp(3rem, 1.6rem + 7vw, 6.2rem); letter-spacing: -.04em; line-height: .95; margin-bottom: .2em; }
.rolle { color: #d3dae1; font-weight: 600; font-size: .95rem; margin-bottom: 1.8em; }
.statement { color: var(--weiss); font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; font-size: clamp(1.45rem, 1.1rem + 2vw, 2.4rem); line-height: 1.12; margin-bottom: .7em; }
.statement::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--gold); margin-bottom: 18px; }
.bio { color: #d3dae1; font-size: 1.02rem; line-height: 1.7; max-width: 38em; }
.zahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 32px var(--rand) 0; }
.zahlen div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 14px; }
.zahlen dt { color: var(--weiss); font-weight: 800; font-size: 1.5rem; line-height: 1.1; margin-bottom: 4px; white-space: nowrap; }
.zahlen dd { margin: 0; font-size: .8rem; line-height: 1.45; }

/* Zitat */
.zitat-sek { background: var(--beige); padding: 48px 0; }
.zitat { margin: 0; max-width: 980px; }
.zitat p { color: var(--dunkel); font-size: clamp(1.35rem, 1.05rem + 1.7vw, 2.3rem); font-weight: 700; line-height: 1.3; letter-spacing: -.015em; margin-bottom: .8em; }
.zitat footer { display: grid; gap: 2px; font-size: .9rem; }
.zitat footer strong { color: var(--dunkel); }
.zitat footer span { color: var(--braun); }

/* Sektionen */
.sec { padding: 64px 0; }
.sec-hell { background: var(--hell); }
.sec-beige { background: var(--beige); }
.sec-dunkel { background: var(--dunkel); color: var(--text-hell); }
.sec-dunkel h2, .sec-dunkel h3 { color: var(--weiss); }
.sec-dunkel .eyebrow { color: var(--gold); }

/* Mein Weg */
.weg-grid { display: grid; gap: 28px; }
.weg-foto { margin: 8px 0 0; width: 72%; max-width: 360px; }
.weg-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.zeitleiste { list-style: none; margin: 0; padding: 0; position: relative; }
.zeitleiste::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(var(--gold), var(--grau)); }
.zeitleiste li { position: relative; padding: 0 0 30px 36px; }
.zeitleiste li:last-child { padding-bottom: 0; }
.zeitleiste li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--weiss); border: 4px solid var(--gold); }
.zl-jahr { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--dunkel); margin-bottom: .25em; }
.zeitleiste h3 { color: var(--blau-dk); font-size: 1.05rem; margin-bottom: .4em; }
.zeitleiste p:last-child { margin-bottom: 0; }


/* Ausgezeichnet und ausgebildet */
.cred-grid { display: grid; gap: 32px; }
.urkunde { margin: 0; width: 78%; max-width: 420px; justify-self: center; }
.urkunde img { width: 100%; border-radius: 8px; box-shadow: 0 2px 4px rgba(13, 15, 20, .08), 0 18px 40px rgba(13, 15, 20, .16); transform: rotate(-1.5deg); }
.urkunde figcaption { font-size: .8rem; color: var(--braun); text-align: center; margin-top: 14px; }
.cred-h { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--braun); margin: 28px 0 10px; }
.cred-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cred-liste li { display: flex; gap: 14px; align-items: baseline; background: var(--weiss); border-radius: 12px; padding: 14px 16px; }
.cred-jahr { flex: none; font-weight: 800; color: var(--gold); font-size: .95rem; min-width: 2.6em; }
.cred-liste strong { display: block; color: var(--dunkel); font-size: .98rem; line-height: 1.35; }
.cred-liste li > span:last-child { font-size: .88rem; line-height: 1.45; }

/* Drei Dinge */
.drei { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: dr; }
.drei li { counter-increment: dr; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 22px 20px; }
.drei li::before { content: "0" counter(dr); display: block; font-weight: 800; font-size: 2.4rem; line-height: 1; letter-spacing: -.03em; color: var(--gold); margin-bottom: 14px; }
.drei h3 { font-size: 1.2rem; }
.drei p { margin: 0; font-size: .96rem; }

/* Unternehmen – nur Verlinkungen, ganze Karte ist Tippfläche */
.firmen { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.firmen a { display: grid; gap: 6px; align-content: start; background: var(--weiss); border-radius: var(--radius); padding: 22px 20px; text-decoration: none; border: 1px solid var(--grau); transition: border-color .2s, transform .2s; height: 100%; }
.firmen a:hover { border-color: var(--blau); transform: translateY(-2px); }
.firma-tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--braun); }
.firma-name { color: var(--dunkel); font-weight: 800; font-size: 1.15rem; }
.firma-text { color: var(--text); font-size: .94rem; line-height: 1.55; }
.firma-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--blau); font-weight: 700; font-size: .92rem; }
.firma-link svg { width: 18px; height: 18px; fill: currentColor; }

/* Mission, Vision, Werte */
.haltung { display: grid; gap: 14px; margin-top: 28px; }
.haltung article { border-top: 4px solid var(--blau); background: var(--hell); border-radius: 0 0 var(--radius) var(--radius); padding: 22px 20px; }
.haltung article:nth-child(2) { border-top-color: var(--gold); }
.haltung article:nth-child(3) { border-top-color: var(--dunkel); }
.haltung p { margin: 0; }

/* Stimmen – Handy: seitlich wischen */
.stimmen { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand); padding: 24px var(--rand) 8px; scrollbar-width: none; }
.stimmen::-webkit-scrollbar { display: none; }
.stimmen blockquote { flex: 0 0 84%; scroll-snap-align: start; margin: 0; background: var(--weiss); border-radius: var(--radius); padding: 48px 22px 22px; position: relative; }
.stimmen blockquote::before { content: "“"; position: absolute; left: 20px; top: 8px; font-size: 3.6rem; line-height: 1; font-weight: 800; color: var(--gold); }
.stimmen p { color: var(--dunkel); font-weight: 600; font-size: 1.05rem; line-height: 1.5; }
.stimmen blockquote { display: flex; flex-direction: column; }
.stimmen p { flex: 1; }
.stimmen footer { font-size: .92rem; font-weight: 700; color: var(--dunkel); }
.stimmen footer span { display: block; font-size: .78rem; font-weight: 600; color: var(--braun); margin-top: 2px; }
.quelle { font-size: .8rem; color: var(--braun); margin: 14px 0 0; }
.quelle a { color: var(--dunkel); font-weight: 600; }
.wisch { font-size: .8rem; color: var(--braun); margin: 10px 0 0; }

/* Fragen */
.faq { display: grid; gap: 10px; margin-top: 24px; }
.faq details { background: var(--hell); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--dunkel); position: relative; line-height: 1.4; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2.5px solid var(--blau); border-bottom: 2.5px solid var(--blau); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .a { padding: 0 20px 18px; }
.faq .a p { margin: 0; }

/* Kontakt */
.kontakt-grid { display: grid; gap: 32px; }
.kontakt .lead { color: #d3dae1; }
.kontakt-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kontakt-liste > li > a, .kontakt-liste > li > div { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 14px 16px; min-height: 64px; color: var(--weiss); text-decoration: none; font-weight: 600; overflow-wrap: anywhere; }
.kontakt-liste > li > a:hover { border-color: rgba(255, 255, 255, .35); color: var(--weiss); }
.kontakt-liste small { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-hell); }
.k-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--blau); }
.k-icon svg { width: 20px; height: 20px; fill: var(--weiss); }
.k-sozial { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.k-sozial a { display: flex; align-items: center; justify-content: center; min-height: 54px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 12px; color: var(--weiss); font-weight: 700; text-decoration: none; }
.k-sozial a:hover { border-color: var(--weiss); color: var(--weiss); }
.k-karriere a { justify-content: space-between; }
.k-karriere svg { width: 20px; height: 20px; fill: var(--gold); flex: none; }

/* Fuß */
.fuss { background: #07080b; color: #9aa4ae; font-size: .92rem; padding: 44px 0 28px; }
.fuss-grid { display: grid; gap: 26px; }
.fuss-name { color: var(--weiss); font-weight: 800; font-size: 1.1rem; margin-bottom: .4em; }
.fuss-h { color: var(--weiss); font-weight: 700; margin-bottom: .5em; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fuss li a { display: inline-block; padding: 6px 0; color: #c8d0d8; text-decoration: none; }
.fuss a:hover { color: var(--weiss); text-decoration: underline; }
.fuss-legal { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 28px; padding-top: 18px; }
.fuss-legal p { margin: 0; font-size: .85rem; }

/* Rechtstexte */
.legal { padding: 28px 0 64px; }
.zurueck { margin: 0 0 20px; font-size: .9rem; }
.zurueck a { font-weight: 700; color: var(--dunkel); text-decoration: none; }
.fuss-name a { color: var(--weiss); text-decoration: none; }
.legal h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4em; }
.legal ul { padding-left: 1.2em; }
.legal a { overflow-wrap: anywhere; }
.legal .btn { display: inline-flex; background: var(--dunkel); color: var(--weiss); }

/* ab 640 px */
@media (min-width: 640px) {
	:root { --rand: 32px; }
	.btn-row { display: flex; flex-wrap: wrap; }
	.btn-row .btn { flex: 0 1 auto; }
	.hero-foto img { height: min(80svh, 90vw); }
	.zahlen { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.firmen, .haltung { grid-template-columns: repeat(2, 1fr); }
	.firmen li:first-child, .haltung article:first-child { grid-column: 1 / -1; }
	.stimmen blockquote { flex-basis: 46%; }
	.fuss-grid { grid-template-columns: repeat(3, 1fr); }
	.fuss-marke { grid-column: 1 / -1; max-width: 520px; }
}

/* ab 960 px: Hero zweispaltig, Foto rechts in voller Höhe */
@media (min-width: 960px) {
	:root { --kopf: 72px; }
	.kopf { display: block; }
	.nav { display: flex; align-items: center; gap: 22px; margin-right: 8px; }
	.sec { padding: 104px 0; }
	.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-rows: 1fr auto; padding-bottom: 0; min-height: calc(100svh - var(--kopf)); }
	.hero-foto { grid-column: 2; grid-row: 1 / span 2; }
	.hero-foto img { height: 100%; min-height: 640px; object-position: 50% 20%; }
	.hero-foto::after { background: linear-gradient(to right, var(--dunkel) 0%, rgba(13, 15, 20, 0) 28%); }
	.hero-inhalt { grid-column: 1; grid-row: 1; margin: 0; padding: 72px 48px 32px max(var(--rand), calc((100vw - 1200px) / 2 + var(--rand))); align-self: center; }
	.zahlen { grid-column: 1; grid-row: 2; margin: 0 48px 56px max(var(--rand), calc((100vw - 1200px) / 2 + var(--rand))); }
	.zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 560px; }
	.zahlen dt { font-size: 1.7rem; }
	.hero h1 { font-size: clamp(3.6rem, 5.2vw, 5.6rem); }
	.hero-inhalt { max-width: none; }
	.zitat-sek { padding: 88px 0; }
	.weg-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: start; }
	.weg-kopf { position: sticky; top: calc(var(--kopf) + 32px); }
	.weg-foto { width: 100%; }
	.zl-jahr { font-size: 2.4rem; }
	.zeitleiste li { padding-bottom: 40px; }
	.cred-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; align-items: center; }
	.urkunde { width: 100%; }
	.drei { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
	.drei li { padding: 30px 26px; }
	.firmen, .haltung { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
	.firmen li:first-child, .haltung article:first-child { grid-column: auto; }
	.firmen a, .haltung article { padding: 28px 26px; }
	.stimmen { max-width: 1200px; margin-inline: auto; overflow: visible; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 40px var(--rand) 0; }
	.wisch { display: none; }
	.kontakt-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 72px; align-items: center; }
	.fuss-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
	.fuss-marke { grid-column: auto; }
}
