/*
Theme Name: Teucher Steuerberatung
Description: Schlankes, eigenständiges Theme für die Kanzlei Sören Teucher. Ohne Plugins, ohne externe Schriften oder Tracker.
Version: 2.0.2
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: teucher
*/

/* Schrift: Geist (SIL Open Font License), lokal eingebunden */
@font-face {
	font-family: "Geist";
	src: url("assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	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: "Geist";
	src: url("assets/fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
	--ink: #0e1433;        /* Nachtblau: dunkle Flächen */
	--brand: #2340b8;      /* Kanzleiblau: Links und Akzente auf hell */
	--glow: #8fb0ff;       /* Gletscherblau: Akzente auf dunkel */
	--paper: #ffffff;
	--tint: #f3f5fa;       /* kühles Hellblau-Grau */

	--text: #121833;
	--muted: #5a6280;
	--line: #e2e6ef;
	--heading: #0e1433;
	--focus: #2340b8;
	--btn-bg: #0e1433;
	--btn-fg: #ffffff;
	--btn-hover: #2340b8;

	--font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1200px;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--ease: cubic-bezier(.22, .61, .36, 1);
	--ease-io: cubic-bezier(.65, 0, .35, 1);
	--header-h: 80px;
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--paper: #0b1026;
		--tint: #10173a;
		--text: #e6e9f5;
		--muted: #9ea7c6;
		--line: #222b55;
		--heading: #f3f5fc;
		--brand: #a9bfff;
		--focus: #a9bfff;
		--btn-bg: #e9eeff;
		--btn-fg: #0e1433;
		--btn-hover: #ffffff;
	}
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
	line-height: 1.65;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
html.nav-open body { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .2s var(--ease); }
a:hover { color: var(--heading); }
h1, h2, h3, h4 { color: var(--heading); font-weight: 500; line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.6rem + 4.4vw, 5.25rem); letter-spacing: -.04em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
strong { font-weight: 600; }
::selection { background: var(--glow); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible, .main-nav.is-open :focus-visible { outline-color: var(--glow); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: #fff; color: var(--ink); padding: .7rem 1rem; border-radius: 10px; font-weight: 600; transition: top .2s var(--ease); }
.skip-link:focus { top: 1rem; color: var(--ink); }

/* ---------- Buttons & Links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 3.1rem; padding: .8rem 1.5rem;
	border-radius: 999px; border: 1px solid transparent;
	font: inherit; font-weight: 500; font-size: 1rem;
	text-decoration: none; cursor: pointer;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary, .entry-content a.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover, .entry-content a.btn-primary:hover { background: var(--btn-hover); color: var(--btn-fg); }
@media (prefers-color-scheme: light) { .btn-primary:hover, .entry-content a.btn-primary:hover { color: #fff; } }
.btn-outline, .entry-content a.btn-outline { border-color: var(--line); color: var(--heading); }
.btn-outline:hover, .entry-content a.btn-outline:hover { border-color: var(--heading); color: var(--heading); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--glow); color: var(--ink); }
.btn-quiet { color: #fff; border-color: rgba(255,255,255,.24); }
.btn-quiet:hover { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.text-link {
	display: inline-flex; align-items: center; gap: .5rem;
	font-weight: 500; color: var(--heading); text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	padding-bottom: .15rem;
	transition: background-size .45s var(--ease), color .2s var(--ease);
}
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--brand); }

/* ---------- Kopfzeile ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	color: #fff;
	transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled {
	background: color-mix(in srgb, var(--paper) 84%, transparent);
	-webkit-backdrop-filter: saturate(1.6) blur(16px);
	backdrop-filter: saturate(1.6) blur(16px);
	color: var(--heading);
	box-shadow: 0 1px 0 var(--line);
}
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .8rem; color: inherit; text-decoration: none; margin-right: auto; position: relative; z-index: 2; }
.brand:hover { color: inherit; }
.brand-mark { width: 30px; height: 30px; fill: currentColor; flex: none; }
.brand-mark rect:nth-child(1) { opacity: .4; }
.brand-mark rect:nth-child(2) { opacity: .7; }
.brand-text { display: grid; line-height: 1.15; }
.brand-name { font-weight: 600; font-size: 1.08rem; letter-spacing: -.02em; }
.brand-title { font-size: .82rem; opacity: .68; }

.main-nav { display: flex; align-items: center; }
.main-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.main-nav a {
	position: relative; display: block; padding: .5rem .85rem;
	color: inherit; text-decoration: none; font-weight: 450; font-size: .97rem;
	opacity: .8; transition: opacity .2s var(--ease);
}
.main-nav a::after {
	content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem; height: 1px;
	background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.main-nav a:hover { opacity: 1; color: inherit; }
.main-nav a:hover::after, .main-nav .current-menu-item > a::after, .main-nav .current_page_item > a::after { transform: scaleX(1); transform-origin: left; }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav .current-page-ancestor > a { opacity: 1; }
.main-nav .nav-phone { display: none; }

.header-cta {
	display: inline-flex; align-items: center; gap: .55rem;
	padding: .55rem 1.05rem; border-radius: 999px;
	border: 1px solid color-mix(in srgb, currentColor 30%, transparent);
	color: inherit; text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap;
	font-variant-numeric: tabular-nums;
	transition: border-color .25s var(--ease);
}
.header-cta:hover { color: inherit; border-color: currentColor; }
.header-cta svg { width: 1rem; height: 1rem; }

.nav-toggle { display: none; position: relative; z-index: 2; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; color: inherit; cursor: pointer; border-radius: 50%; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.header-cta { display: none; }
	html.nav-open .site-header { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.main-nav {
		position: fixed; inset: 0; z-index: 1;
		flex-direction: column; align-items: flex-start; justify-content: center;
		padding: calc(var(--header-h) + 1rem) var(--gutter) 3rem;
		background: var(--ink); color: #fff;
		opacity: 0; visibility: hidden;
		transition: opacity .45s var(--ease), visibility 0s linear .45s;
	}
	.main-nav.is-open { opacity: 1; visibility: visible; transition: opacity .45s var(--ease), visibility 0s; }
	.main-nav ul { flex-direction: column; gap: 0; }
	.main-nav li { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
	.main-nav.is-open li { opacity: 1; transform: none; }
	.main-nav.is-open li:nth-child(2) { transition-delay: .05s; }
	.main-nav.is-open li:nth-child(3) { transition-delay: .1s; }
	.main-nav.is-open li:nth-child(4) { transition-delay: .15s; }
	.main-nav.is-open li:nth-child(5) { transition-delay: .2s; }
	.main-nav.is-open li:nth-child(6) { transition-delay: .25s; }
	.main-nav a { font-size: clamp(1.9rem, 8vw, 2.6rem); letter-spacing: -.035em; padding: .4rem 0; opacity: .92; }
	.main-nav a::after { left: 0; right: auto; width: 2.5rem; bottom: .2rem; }
	.main-nav .nav-phone { display: inline-flex; align-items: center; gap: .6rem; margin-top: 2.5rem; color: var(--glow); font-size: 1.15rem; letter-spacing: 0; }
	.main-nav .nav-phone svg { width: 1.1rem; height: 1.1rem; }
	.main-nav .nav-phone::after { display: none; }
}

/* ---------- Dunkle Kopfbereiche ---------- */
.hero, .page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: rgba(255,255,255,.76); }
.hero::before, .page-hero::before {
	content: ""; position: absolute; z-index: -2; top: -30%; right: -15%; width: 75vw; height: 75vw; max-width: 1100px; max-height: 1100px;
	background: radial-gradient(closest-side, rgba(58, 92, 230, .34), transparent 72%);
	animation: drift 26s var(--ease-io) infinite alternate;
}
@keyframes drift { to { transform: translate3d(-10vw, 8vw, 0) scale(1.1); } }
.hero-title { color: #fff; }
.hero-lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); line-height: 1.55; max-width: 34em; color: rgba(255,255,255,.74); }

.lines { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.lines-grid { fill: none; stroke: rgba(255,255,255,.06); stroke-width: 1; }
.lines-prev { fill: none; stroke: rgba(143,176,255,.3); stroke-width: 1.25; stroke-dasharray: .003 .006; }
.lines-main { fill: none; stroke-width: 1.75; stroke-linecap: round; }

.hero { min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 3rem); }
.hero-inner { padding-bottom: clamp(3rem, 8vh, 6rem); }
.hero-title { max-width: 13em; margin-bottom: .45em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero-facts {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 0;
	padding: 1.6rem 0 2.2rem; border-top: 1px solid rgba(255,255,255,.12);
}
.hero-facts div { display: grid; gap: .15rem; }
.hero-facts dt { color: #fff; font-weight: 500; }
.hero-facts dd { margin: 0; font-size: .94rem; color: rgba(255,255,255,.6); }
@media (max-width: 720px) {
	.hero-facts { grid-template-columns: 1fr; gap: .7rem; }
	.hero-facts div { grid-template-columns: 8.5rem 1fr; gap: 1rem; align-items: baseline; }
}

/* Seitenkopf */
.page-hero { padding: calc(var(--header-h) + clamp(3.5rem, 9vw, 7rem)) 0 clamp(3rem, 7vw, 5.5rem); }
.page-hero .lines { opacity: .65; }
.page-hero .hero-title { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.5rem); margin-bottom: .35em; }
.page-hero .hero-lead { margin: 0; }
.crumb { display: inline-block; margin-bottom: 1.2rem; color: var(--glow); text-decoration: none; font-weight: 500; font-size: .95rem; }
.crumb:hover { color: #fff; }

/* ---------- Animationen (nur wenn Bewegung erwünscht) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .hero-title .line > span { transform: translateY(110%); animation: rise 1.1s var(--ease) .1s forwards; }
	.js .hero-title .line:nth-child(2) > span { animation-delay: .2s; }
	.js .hero-title .line:nth-child(3) > span { animation-delay: .3s; }
	.js .page-hero .crumb, .js .page-hero .hero-title { animation: fadeup 1s var(--ease) both; }
	.js .page-hero .hero-lead { animation: fadeup 1s var(--ease) .12s both; }
	.js .intro-4 { animation: fadeup 1s var(--ease) .55s both; }
	.js .intro-5 { animation: fadeup 1s var(--ease) .7s both; }
	.js .intro-6 { animation: fadeup 1s var(--ease) .9s both; }

	.js .lines-main { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.4s var(--ease-io) .3s forwards; }
	.js .lines-area { opacity: 0; animation: fade 2.4s var(--ease) 1.8s forwards; }
	.js .lines-prev { opacity: 0; animation: fade 2s var(--ease) 1.2s forwards; }

	.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
	.js .reveal.is-in { opacity: 1; transform: none; }
	.js .steps.reveal { transform: none; }
	.js .steps.reveal .step { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
	.js .steps.reveal .step::before { transform: scaleX(0); transition: transform 1.6s var(--ease-io) .15s; }
	.js .steps.reveal.is-in .step, .js .steps.reveal.is-in .step::before { opacity: 1; transform: none; }
	.js .steps.reveal.is-in .step::before { opacity: .25; }
	.js .steps.reveal.is-in .step:nth-child(2) { transition-delay: .14s; }
	.js .steps.reveal.is-in .step:nth-child(3) { transition-delay: .28s; }
}
@keyframes rise { to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section-tint { background: var(--tint); }
.section h2 { max-width: 16em; }

/* Leistungen auf der Startseite */
.services-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.services-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.services-intro p { color: var(--muted); font-size: 1.1rem; max-width: 26em; margin-bottom: 1.8rem; }
.service-group + .service-group { margin-top: 3.5rem; }
.group-label { font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin: 0 0 .6rem; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1.5rem; align-items: center; padding: 1.6rem 0; color: inherit; text-decoration: none; }
.service-name { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 500; letter-spacing: -.025em; color: var(--heading); transition: transform .55s var(--ease), color .3s var(--ease); }
.service-text { grid-column: 1; color: var(--muted); max-width: 36em; font-size: .98rem; transition: transform .55s var(--ease); }
.service-go {
	grid-column: 2; grid-row: 1 / span 2;
	display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
	border: 1px solid var(--line); color: var(--heading);
	transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .55s var(--ease);
}
.service-go svg { width: 1.1rem; height: 1.1rem; }
.service-row:hover { color: inherit; }
.service-row:hover .service-name { color: var(--brand); transform: translateX(.4rem); }
.service-row:hover .service-text { transform: translateX(.4rem); }
.service-row:hover .service-go { background: var(--heading); border-color: var(--heading); color: var(--paper); transform: rotate(-45deg); }
@media (max-width: 900px) {
	.services-layout { grid-template-columns: 1fr; }
	.services-intro { position: static; }
}

/* Ablauf */
.steps { list-style: none; margin: 3.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.step { position: relative; padding-top: 2rem; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--heading); opacity: .25; transform-origin: left; }
.step-num { display: block; font-size: .95rem; font-weight: 500; color: var(--brand); margin-bottom: 1.4rem; font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: .5rem; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Persönliches Zitat */
.person { display: grid; gap: 2.5rem; justify-items: start; }
.person-quote { margin: 0; max-width: 58rem; }
.person-quote blockquote { margin: 0 0 2.5rem; }
.person-quote blockquote p { font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.9rem); line-height: 1.2; letter-spacing: -.035em; font-weight: 450; color: var(--heading); margin: 0; text-indent: -.4em; }
.person-quote figcaption { display: flex; align-items: center; gap: 1rem; color: var(--muted); font-size: .98rem; }
.person-quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.person-quote figcaption strong { display: block; color: var(--heading); font-weight: 600; }

/* ---------- Fußbereich ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--glow); }
.contact-cta { padding-block: clamp(4.5rem, 10vw, 8rem) clamp(3.5rem, 7vw, 5.5rem); }
.contact-cta h2 { color: #fff; margin-bottom: 2.5rem; }
.contact-cta-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem 4rem; align-items: end; padding-bottom: 1rem; }
.site-footer .big-phone {
	justify-self: start;
	font-size: clamp(1.9rem, .9rem + 4.6vw, 5.25rem); font-weight: 400; white-space: nowrap; letter-spacing: -.045em; line-height: 1.05; font-variant-numeric: tabular-nums;
	color: #fff; background: linear-gradient(var(--glow), var(--glow)) 0 100% / 0 2px no-repeat; padding-bottom: .1em;
	transition: background-size .7s var(--ease);
}
.site-footer .big-phone:hover { background-size: 100% 2px; color: #fff; }
.contact-cta-meta p { margin: 0 0 .35rem; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.footer-bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.6rem; }
.footer-bar ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.site-footer .footer-bar a { color: rgba(255,255,255,.7); }
.site-footer .footer-bar a:hover { color: #fff; }
@media (max-width: 760px) { .contact-cta-grid { grid-template-columns: 1fr; } }

/* ---------- Inhaltsseiten ---------- */
.entry { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.entry-content { max-width: 46rem; }
.entry-content.wide { max-width: none; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); margin: 2.4em 0 .7em; }
.entry-content h3 { margin: 2em 0 .7em; }
.entry-content ul:not(.toc):not(.timeline) { list-style: none; padding: 0; margin: 0 0 1.5em; border-top: 1px solid var(--line); }
.entry-content ul:not(.toc):not(.timeline) > li { position: relative; padding: .8rem 0 .8rem 1.75rem; border-bottom: 1px solid var(--line); }
.entry-content ul:not(.toc):not(.timeline) > li::before { content: ""; position: absolute; left: .15rem; top: 1.5rem; width: .7rem; height: 1px; background: var(--brand); }
.entry-content .btn { margin-top: 1rem; }
.small-note { font-size: .9rem; color: var(--muted); }

/* Leistungen: Inhaltsverzeichnis, auf großen Bildschirmen als feste Seitenleiste */
.toc { list-style: none; margin: 0 0 3rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.entry-content .toc a {
	display: block; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line);
	color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 450;
	transition: color .25s var(--ease), border-color .25s var(--ease);
}
.entry-content .toc a:hover, .entry-content .toc a.is-active { color: var(--heading); border-color: var(--heading); }
@media (min-width: 1024px) {
	.entry-content:has(> .toc) { max-width: none; display: grid; grid-template-columns: 15rem minmax(0, 46rem); column-gap: clamp(3rem, 8vw, 8rem); }
	.entry-content:has(> .toc) > * { grid-column: 2; }
	.entry-content > .toc {
		grid-column: 1; grid-row: 1 / span 200; align-self: start;
		position: sticky; top: calc(var(--header-h) + 2.5rem);
		display: grid; gap: 0; margin: 0; border-left: 1px solid var(--line);
	}
	.entry-content > .toc a { border: 0; border-radius: 0; padding: .55rem 0 .55rem 1.25rem; margin-left: -1px; border-left: 1px solid transparent; }
	.entry-content > .toc a:hover, .entry-content > .toc a.is-active { border-left-color: var(--heading); }
	.entry-content:has(> .toc) > h2:nth-child(2) { margin-top: 0; }
}

/* Über uns */
.profile { display: grid; grid-template-columns: 9rem 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; margin-bottom: 1rem; }
.profile img { width: 9rem; border-radius: 14px; }
.profile h2 { margin-top: 0; }
@media (max-width: 560px) { .profile { grid-template-columns: 1fr; } .profile img { width: 7rem; } }
.timeline { list-style: none; margin: 1.5rem 0 1rem; padding: 0; }
.timeline li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline strong { font-weight: 500; color: var(--heading); font-variant-numeric: tabular-nums; }

/* Kontakt */
.contact-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 2rem 0 1.5rem; border-top: 1px solid var(--line); }
.entry-content .contact-item {
	display: grid; align-content: start; gap: .35rem; padding: 1.75rem 1.5rem 1.75rem 0;
	border-bottom: 1px solid var(--line); color: inherit; text-decoration: none;
}
.contact-item:nth-child(odd) { border-right: 1px solid var(--line); }
.entry-content .contact-item:nth-child(even) { padding-left: 1.75rem; }
a.contact-item:hover .contact-value { color: var(--brand); }
.contact-label { font-size: .92rem; color: var(--muted); }
.contact-value { font-size: 1.2rem; font-weight: 500; letter-spacing: -.015em; color: var(--heading); transition: color .25s var(--ease); }
.entry-content .contact-value a { color: inherit; text-decoration: none; }
.entry-content .contact-value a:hover { color: var(--brand); }
.contact-value-lg { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.contact-hint { font-size: .9rem; color: var(--brand); }
@media (max-width: 640px) {
	.contact-list { grid-template-columns: 1fr; }
	.contact-item:nth-child(odd) { border-right: 0; }
	.entry-content .contact-item:nth-child(even) { padding-left: 0; }
}

.notice { background: var(--tint); border-radius: 14px; padding: 1.2rem 1.4rem; color: var(--heading); }
