/**
 * Website-Umsetzung: Niklas Florian.
 * Copyright (c) 2026 Niklas Florian – individueller Website-Code.
 * Rechte und Lizenzen eingebundener Drittkomponenten bleiben unberührt.
 */

@font-face {
    font-family: "Atkinson Next";
    src: url("../fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

:root {
    --ink: #17373d;
    --ink-deep: #10292e;
    --teal: #2c6769;
    --teal-light: #dcebea;
    --amber: #e0aa3e;
    --amber-soft: #f7e7bd;
    --paper: #ffffff;
    --soft: #f2f6f5;
    --line: #cbd9d7;
    --text: #253f44;
    --muted: #587176;
    --danger: #a52a2a;
    --success: #1f6b4f;
    --shadow: 0 24px 60px rgba(16, 41, 46, .14);
    --radius: 1.25rem;
    --wrap: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }
/* Lange Fachbegriffe dürfen schmale Rasterspalten nicht verbreitern. */
.wrap > *, .page-hero-grid > *, .content-grid > *, .process-grid > *, .term-grid > *, .topic-grid > *, .principle-grid > *, .service-grid > *, .credentials-grid > *, .steps li > *, .contact-band-inner > * { min-width: 0; }
main, .site-footer { overflow-wrap: anywhere; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: "Atkinson Next", "Segoe UI", Arial, sans-serif; font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: .2rem solid var(--ink); outline-offset: .2rem; box-shadow: 0 0 0 .2rem white; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 7rem; }
main:focus { outline: none; }
.error-summary:focus, .form-success:focus { outline: .2rem solid var(--ink); outline-offset: .3rem; }
.wrap { width: min(calc(100% - 2rem), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 52rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: 1rem; padding: .75rem 1rem; background: var(--ink); color: white; transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(203,217,215,.85); backdrop-filter: blur(12px); }
.header-inner { width: min(calc(100% - 2rem), var(--wrap)); min-height: 5.25rem; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; }
.brand-mark { display: block; flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 1.16rem; font-weight: 750; letter-spacing: -.02em; }
.brand-copy small { margin-top: .28rem; color: var(--muted); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; }
.primary-nav { display: flex; align-items: center; gap: 1.15rem; }
.primary-nav a { color: var(--ink); font-size: .96rem; font-weight: 650; text-decoration: none; }
.primary-nav > a:not(.nav-cta), .nav-parent-link { padding-block: .5rem; border-bottom: 2px solid transparent; }
.primary-nav > a[aria-current="page"]:not(.nav-cta), .primary-nav > a:not(.nav-cta):hover, .nav-group.has-current .nav-parent-link, .nav-parent-link:hover { border-color: var(--amber); }
.nav-group { position: relative; }
.nav-parent-row { display: flex; align-items: center; }
.submenu-toggle { display: none; width: 2.5rem; height: 2.75rem; place-items: center; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.submenu-toggle > span:last-child { font-size: 1.15rem; line-height: 1; transition: transform .18s ease; }
.submenu-toggle[aria-expanded="true"] > span:last-child { transform: rotate(180deg); }
.subnav { position: absolute; z-index: 20; top: 100%; left: -.85rem; display: none; width: max-content; min-width: 19rem; padding: .65rem; border: 1px solid var(--line); border-radius: .85rem; background: white; box-shadow: 0 18px 42px rgba(16,41,46,.14); }
html:not(.navigation-ready) .nav-group:hover .subnav, html:not(.navigation-ready) .nav-group:focus-within .subnav { display: grid; }
.navigation-ready .submenu-toggle { display: grid; }
.navigation-ready .subnav:not([hidden]) { display: grid; }
.subnav a { padding: .62rem .75rem; border: 0 !important; border-radius: .5rem; }
.subnav a:hover, .subnav a[aria-current="page"] { background: var(--soft); color: var(--teal); }
.nav-cta { padding: .75rem 1rem; border-radius: 999px; background: var(--ink); color: white !important; }
.nav-cta:hover, .nav-cta.is-current { background: var(--teal); }
.nav-toggle { display: none; width: 2.9rem; height: 2.9rem; border: 1px solid var(--line); border-radius: .75rem; background: white; align-content: center; justify-items: center; gap: .28rem; cursor: pointer; }
.nav-toggle > span:not(.sr-only) { display: block; width: 1.25rem; height: 2px; background: var(--ink); }

.hero { padding: clamp(2.75rem, 5vw, 4.5rem) 0 clamp(3.5rem, 7vw, 6rem); background: var(--soft); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(20rem, .72fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 .85rem; color: var(--teal); font-size: .82rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--ink); line-height: 1.08; text-wrap: balance; overflow-wrap: break-word; hyphens: auto; }
h1 { max-width: 16ch; margin-bottom: 1.5rem; font-size: clamp(2.65rem, 5vw, 4.5rem); letter-spacing: -.045em; }
h2 { margin-bottom: 1.1rem; font-size: clamp(2rem, 3.5vw, 3.25rem); letter-spacing: -.035em; }
h3 { margin-bottom: .65rem; font-size: 1.35rem; }
.hero-lead { max-width: 43rem; margin: 0 0 2rem; color: #36545a; font-size: clamp(1.12rem, 1.8vw, 1.35rem); line-height: 1.6; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; gap: .8rem; padding: .75rem 1.2rem; border: 2px solid transparent; border-radius: 999px; font-weight: 750; text-decoration: none; transition: transform .18s ease, background-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; }
.button-primary:hover { background: var(--teal); }
.button-secondary { border-color: var(--line); background: white; color: var(--ink); }
.trust-list { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; margin: 2rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .96rem; }
.trust-list li::before { content: ""; display: inline-block; width: .55rem; height: .55rem; margin-right: .55rem; border-radius: 50%; background: var(--amber); }
.hero-visual { position: relative; min-height: 36rem; }
.hero-visual picture { position: absolute; inset: 0 1.5rem 1.6rem 1.5rem; overflow: hidden; border-radius: 10rem 10rem var(--radius) var(--radius); box-shadow: var(--shadow); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.visual-grid { position: absolute; right: -5rem; top: -3rem; display: grid; grid-template-columns: repeat(2, 5.5rem); gap: .65rem; transform: rotate(7deg); }
.visual-grid span { height: 5.5rem; background: var(--amber-soft); border-radius: 1rem; }
.visual-grid span:nth-child(2), .visual-grid span:nth-child(3) { background: var(--teal-light); }
.portrait-note { position: absolute; z-index: 3; right: 0; bottom: 0; display: grid; width: min(20rem, calc(100% - 1rem)); min-width: 0; padding: 1rem 1.2rem; border-left: .35rem solid var(--amber); background: white; border-radius: .7rem; box-shadow: 0 12px 32px rgba(16,41,46,.13); }
.portrait-note strong { color: var(--ink); }.portrait-note span { color: var(--muted); font-size: .9rem; }

.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section-heading { max-width: 46rem; margin-bottom: 2.5rem; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.12rem; }
.split-heading { display: grid; grid-template-columns: 1.1fr .9fr; max-width: none; gap: 4rem; align-items: end; }
.split-heading p:last-child { margin-bottom: .45rem; }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.audience-card { min-height: 20rem; padding: 1.6rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-card:nth-child(even) { background: var(--soft); }
.card-number { display: block; margin-bottom: 3.6rem; color: var(--teal); font-size: .85rem; font-weight: 800; }
.audience-card p { color: var(--muted); }
.audience-card a, .service-card a, .text-link { color: var(--teal); font-weight: 750; text-decoration-thickness: .1rem; }

.section-petrol { background: var(--ink); color: #e9f2f1; }
.section-heading.light h2, .section-petrol h3 { color: white; }
.section-heading.light .eyebrow { color: var(--amber); }
.section-heading.light > p:last-child { color: #c4d7d5; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.service-card { display: flex; flex-direction: column; min-height: 23rem; padding: 2rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.service-card.featured { background: var(--paper); color: var(--text); transform: translateY(-1.25rem); }
.service-card.featured h3 { color: var(--ink); }.service-card.featured a { color: var(--teal); }
.service-card p { margin-bottom: 1.6rem; }.service-card a { margin-top: auto; color: var(--amber-soft); font-weight: 750; }
.service-icon { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; margin-bottom: 3rem; border-radius: .6rem; background: var(--amber); color: var(--ink); font-weight: 850; }

.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.2rem; padding: 1.65rem 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { border-top: 1px solid var(--line); }
.steps li > span { display: grid; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: 50%; background: var(--amber-soft); color: var(--ink); font-weight: 850; }
.steps h3 { margin-bottom: .3rem; }.steps p { margin: 0; color: var(--muted); }
.section-soft { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); }
.profile-showcase { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.profile-portrait { position: relative; max-width: 27rem; margin: 0; }
.profile-portrait picture { display: block; overflow: hidden; border-radius: 8rem 8rem var(--radius) var(--radius); box-shadow: var(--shadow); }
.profile-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 28%; }
.profile-badge { position: absolute; right: -1.25rem; bottom: 1.5rem; display: grid; max-width: 15rem; padding: 1rem 1.15rem; border-left: .35rem solid var(--amber); border-radius: .7rem; background: white; box-shadow: 0 12px 32px rgba(16,41,46,.15); }
.profile-badge strong { color: var(--ink); font-size: 1.08rem; }.profile-badge span { color: var(--muted); font-size: .9rem; }
.profile-copy { max-width: 40rem; }.profile-copy .large-copy { margin-bottom: 1.25rem; }
.profile-facts { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.5rem 0 1.8rem; padding: 0; list-style: none; }
.profile-facts li { padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); font-size: .9rem; font-weight: 700; }
.large-copy { margin-top: 0; color: var(--ink); font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 650; line-height: 1.35; }

.accordion-list { border-top: 1px solid var(--line); }
.accordion-list details { border-bottom: 1px solid var(--line); }
.accordion-list summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; color: var(--ink); font-size: 1.15rem; font-weight: 750; cursor: pointer; list-style: none; }
.accordion-list summary::-webkit-details-marker { display: none; }
.accordion-list summary span { color: var(--teal); font-size: 1.5rem; }
.accordion-list details p { max-width: 44rem; margin: -.2rem 0 1.4rem; color: var(--muted); }

.contact-band { padding: 4rem 0; background: var(--teal); color: white; }
.contact-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.contact-band .eyebrow { color: var(--amber-soft); }.contact-band h2 { max-width: 20ch; margin: 0; color: white; font-size: clamp(1.9rem, 3vw, 2.8rem); }
.button-light { background: white; color: var(--ink); }.button-outline-light { border-color: rgba(255,255,255,.65); color: white; }

.site-footer { padding: 4.5rem 0 1.5rem; background: var(--ink-deep); color: #d5e3e1; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr .7fr; gap: 4rem; }
.brand-footer { margin-bottom: 1.4rem; color: white; }.brand-footer .brand-copy small { color: #b7ccca; }
.brand-footer .brand-mark { padding: .18rem; border-radius: .65rem; background: var(--amber-soft); }
.footer-grid > div:first-child p { max-width: 30rem; }
.site-footer h2 { color: white; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.site-footer address { font-style: normal; }.site-footer a:hover { color: white; }
.footer-links { margin: 0; padding: 0; list-style: none; }.footer-links li + li { margin-top: .45rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.14); color: #adc3c0; font-size: .9rem; }

.breadcrumbs { padding-top: 1rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .88rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .4rem; color: #91a5a8; }

.page-hero { padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(4rem, 8vw, 7.5rem); background: var(--soft); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr .65fr; align-items: end; gap: clamp(3rem, 9vw, 8rem); }
.page-hero h1 { max-width: 14ch; margin-bottom: 0; font-size: clamp(2.7rem, 5.5vw, 5rem); }
.page-hero-aside { padding-left: 1.5rem; border-left: .35rem solid var(--amber); }
.page-hero-aside p { margin-top: 0; color: var(--muted); font-size: 1.2rem; }
.service-hero { background: linear-gradient(90deg, var(--soft) 0 72%, var(--amber-soft) 72%); }
.teacch-hero { background: linear-gradient(90deg, var(--soft) 0 72%, var(--teal-light) 72%); }
.topics-hero { background: var(--ink); border: 0; }.topics-hero h1 { color: white; }.topics-hero .eyebrow { color: var(--amber); }.topics-hero .page-hero-aside { border-color: var(--amber); }.topics-hero .page-hero-aside p { color: #c4d7d5; }
.contact-hero { padding-bottom: 5rem; }.contact-hero h1 { max-width: 12ch; }

.feature-list { display: grid; }
.feature-row { display: grid; grid-template-columns: .38fr 1fr; gap: 4rem; padding: 4rem 0; border-top: 1px solid var(--line); }
.feature-row:last-child { border-bottom: 1px solid var(--line); }
.feature-row > div:last-child { max-width: 48rem; }
.feature-kicker { color: var(--teal); font-size: .9rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.check-list { margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.8rem; }.check-list li + li { margin-top: .6rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .65rem; height: .38rem; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.check-list.large li { padding: .9rem 0 .9rem 2.25rem; border-bottom: 1px solid var(--line); }
.check-list.large li::before { left: .2rem; top: 1.55rem; }
.tag-panel { display: flex; flex-wrap: wrap; gap: .75rem; align-content: start; }
.tag-panel span { padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); font-weight: 700; }

.content-grid { display: grid; grid-template-columns: .34fr 1fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.sticky-label { position: sticky; top: 7rem; }
.prose { max-width: 49rem; }.prose h2:not(:first-child) { margin-top: 3rem; }.prose p { margin-block: 0 1.2rem; }.prose > p:first-of-type:not(.large-copy) { font-size: 1.18rem; }
.topic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.topic-grid article { padding: 1.5rem; border: 1px solid var(--line); border-radius: 1rem; background: white; }.topic-grid article p { margin: 0; color: var(--muted); }
.principle-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.principle-grid article { min-height: 14rem; padding: 1.5rem; background: var(--soft); border-radius: 1rem; }
.principle-grid article > span { display: inline-block; margin-bottom: 2.5rem; color: var(--teal); font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.principle-grid p { color: var(--muted); }
.term-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.term-grid article { min-height: 20rem; padding: 2rem; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.term { display: inline-flex; min-width: 4rem; min-height: 2.4rem; align-items: center; justify-content: center; margin: 0 0 3.2rem; padding: .35rem .7rem; border-radius: 999px; background: var(--amber-soft); color: var(--ink); font-weight: 850; }
.term-grid article:nth-child(2) .term, .term-grid article:nth-child(3) .term { background: var(--teal-light); }
.term-grid p:last-child { color: var(--muted); }
.callout { max-width: 50rem; padding: clamp(2rem, 5vw, 4rem); background: var(--ink); color: #dbe9e7; border-radius: var(--radius); }
.callout h2 { color: white; }.callout p { margin-bottom: 2rem; }

.about-hero { padding-bottom: 0; }
.about-intro { display: grid; grid-template-columns: 1fr .58fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.about-intro > div { padding-bottom: 4rem; }
.about-portrait { align-self: end; max-height: 37rem; overflow: hidden; border-radius: 9rem 9rem 0 0; box-shadow: var(--shadow); }
.about-portrait img { width: 100%; height: 37rem; object-fit: cover; object-position: center 28%; }
.credentials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 8rem); }
.credential-list, .plain-list { margin: 0; padding: 0; list-style: none; }
.credential-list li { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.credential-list strong { color: var(--teal); }
.plain-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); }

.contact-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(3rem, 8vw, 7rem); align-items: start; }
.contact-details { position: sticky; top: 7rem; }
.contact-details dl { margin: 2.5rem 0; }.contact-details dl > div { padding: 1rem 0; border-top: 1px solid var(--line); }.contact-details dl > div:last-child { border-bottom: 1px solid var(--line); }
.contact-details dt { margin-bottom: .25rem; color: var(--muted); font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }.contact-details dd { margin: 0; color: var(--ink); }
.role-list { display: grid; gap: .3rem; margin: -.25rem 0 2rem; padding: 0; color: var(--muted); list-style: none; }
.role-list li { position: relative; padding-left: 1rem; }.role-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: .38rem; height: .38rem; border-radius: 50%; background: var(--amber); }
.route-card { margin-top: 2rem; padding: 1.35rem; border: 1px solid var(--line); border-radius: 1rem; background: var(--soft); }
.route-card-heading { display: flex; gap: .9rem; align-items: center; }
.route-card-icon { display: grid; flex: 0 0 3rem; width: 3rem; height: 3rem; place-items: center; border-radius: 50%; background: var(--amber-soft); color: var(--ink); }
.route-card-kicker { margin: 0 0 .1rem; color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.route-card h3 { margin: 0; font-size: 1.3rem; }
.route-card > p:not(.route-card-note) { margin: 1rem 0 1.15rem; color: var(--muted); line-height: 1.5; }
.route-card-button { width: 100%; }
.route-card-alternative { display: inline-block; margin-top: 1rem; font-size: .94rem; font-weight: 650; }
.route-card-note { margin: .75rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.form-panel { padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); background: var(--soft); }
.form-heading { margin-bottom: 2rem; }.form-heading p:last-child { color: var(--muted); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .4rem; color: var(--ink); font-weight: 750; }.optional { color: var(--muted); font-size: .85rem; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 3.2rem; padding: .72rem .85rem; border: 1px solid #748c8f; border-radius: .6rem; background: white; color: var(--text); }
.field textarea { min-height: 11rem; resize: vertical; }.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal); }
.field [aria-invalid="true"] { border: 2px solid var(--danger); }
.field-help, .field-error { margin: .35rem 0 0; font-size: .88rem; }.field-help { color: var(--muted); }.field-error { color: var(--danger); font-weight: 650; }
.check-field { display: grid; grid-template-columns: 1.3rem 1fr; gap: .7rem; align-items: start; margin: 1.5rem 0; }.check-field input { width: 1.2rem; height: 1.2rem; margin-top: .25rem; accent-color: var(--teal); }.check-field label { font-size: .95rem; }
.submit-button { border: 0; cursor: pointer; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.error-summary { margin-bottom: 1.5rem; padding: 1.2rem 1.4rem; border-left: .35rem solid var(--danger); background: #fff0f0; }.error-summary h3 { margin-bottom: .5rem; font-size: 1.1rem; }.error-summary ul { margin: 0; padding-left: 1.2rem; }
.form-success { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; align-items: start; padding: 2rem; background: #e5f4ed; border-radius: 1rem; }.form-success > span { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--success); color: white; font-size: 1.5rem; font-weight: 800; }.form-success h2 { margin-bottom: .4rem; }.form-success p { margin: 0; }

.legal-hero { padding: 4rem 0; background: var(--soft); }.legal-hero h1 { margin: 0; font-size: clamp(2.8rem, 6vw, 5rem); }.legal-content h2 { margin-top: 3rem; font-size: 1.7rem; }.legal-content h2:first-child { margin-top: 0; }.legal-note { margin-top: 3rem; padding: 1.2rem 1.4rem; border-left: .35rem solid var(--amber); background: var(--amber-soft); }
.error-page { min-height: 65vh; padding: clamp(5rem, 10vw, 9rem) 0; display: grid; align-items: center; }.error-page h1 { max-width: 12ch; }.error-code { margin: 0 0 .5rem; color: var(--amber); font-size: 5rem; font-weight: 850; line-height: 1; }

@media (max-width: 64rem) {
    .primary-nav { gap: .65rem; }.primary-nav a { font-size: .87rem; }
    .hero-grid { grid-template-columns: 1fr .72fr; gap: 2.5rem; }.hero-visual { min-height: 31rem; }
    .audience-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 48rem) {
    .header-inner { min-height: 4.6rem; flex-wrap: wrap; }.navigation-ready .nav-toggle { display: grid; }
    .primary-nav { position: static; width: 100%; display: grid; max-height: calc(100vh - 4.6rem); overflow-y: auto; align-items: stretch; padding: .8rem 1rem 1rem; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(16,41,46,.1); }
    .navigation-ready .primary-nav { position: absolute; inset: 100% 0 auto; display: none; }.navigation-ready .primary-nav.is-open { display: grid; }.primary-nav > a { padding: .75rem !important; border: 0 !important; border-radius: .6rem; }.primary-nav > a[aria-current="page"]:not(.nav-cta) { background: var(--soft); }
    .nav-group { display: grid; }.nav-parent-row { border-radius: .6rem; }.nav-group.has-current .nav-parent-row { background: var(--soft); }
    .nav-parent-link { flex: 1; padding: .75rem; border: 0; }.submenu-toggle { width: 3rem; height: 3rem; }
    .subnav { position: static; display: grid; width: auto; min-width: 0; margin: 0 0 .35rem 1rem; padding: .2rem 0 .4rem .55rem; border: 0; border-left: 2px solid var(--amber); border-radius: 0; box-shadow: none; }
    .subnav a { padding: .58rem .75rem !important; font-size: .9rem; }
    .nav-cta { text-align: center; }
    .hero { padding-top: 2.5rem; }.hero-grid { grid-template-columns: 1fr; }.hero-visual { min-height: min(112vw, 34rem); }.hero-visual picture { inset: 0 1.2rem 1rem 1.2rem; }
    .portrait-note { right: .2rem; }.visual-grid { right: -1.5rem; }
    .split-heading, .process-grid, .about-grid, .profile-showcase, .page-hero-grid, .content-grid, .about-intro, .credentials-grid, .contact-layout { grid-template-columns: 1fr; gap: 1.5rem; }
    .profile-portrait { margin: 0 auto 1.5rem; }.profile-badge { right: -.5rem; }
    .page-hero { padding-block: 3rem 4rem; }.page-hero-aside { margin-top: .8rem; }.service-hero, .teacch-hero { background: var(--soft); }
    .sticky-label, .contact-details { position: static; }
    .about-intro > div { padding-bottom: 1rem; }.about-portrait { max-width: 25rem; margin-inline: auto; }.about-portrait img { height: 32rem; }
    .feature-row { grid-template-columns: 1fr; gap: 1.2rem; padding: 3rem 0; }.feature-kicker { margin-bottom: .5rem; }
    .contact-band p { max-width: 40rem; }
    .service-grid { grid-template-columns: 1fr; }.service-card { min-height: auto; }.service-card.featured { transform: none; }
    .contact-band-inner { display: grid; }.footer-grid { grid-template-columns: 1fr 1fr; }.footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 34rem) {
    .wrap, .header-inner { width: min(calc(100% - 1.25rem), var(--wrap)); }
    .brand-copy small { display: none; }
    h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); }
    .hero-visual { min-height: 25rem; }.hero-visual picture { inset-inline: .6rem; border-radius: 6rem 6rem 1rem 1rem; }.portrait-note { left: 1.2rem; right: auto; width: calc(100% - 2.4rem); }
    .button-row { display: grid; }.button { width: 100%; }
    .trust-list { display: grid; gap: .55rem; }
    .audience-grid { grid-template-columns: 1fr; }.audience-card { min-height: auto; }.card-number { margin-bottom: 2rem; }
    .topic-grid, .principle-grid, .term-grid, .field-grid { grid-template-columns: 1fr; }
    .term-grid article, .principle-grid article { min-height: auto; }.term, .principle-grid article > span { margin-bottom: 1.5rem; }
    .credential-list li { grid-template-columns: 1fr; gap: .2rem; }
    .footer-grid { grid-template-columns: 1fr; }.footer-grid > div:first-child { grid-column: auto; }.footer-bottom { display: grid; gap: 0; }
}

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

@media print {
    .site-header, .contact-band, .site-footer, .button-row { display: none !important; }
    body { color: #000; font-family: Arial, sans-serif; }
    a { text-decoration: underline; }
}

/* Compact service cards, shared across the two entry pages. */
.situation-section { background: var(--amber-soft); border-block: 1px solid #ead39f; }
.situation-section .prose { padding-left: 1.5rem; border-left: .25rem solid var(--teal); }
.service-grid-compact { align-items: stretch; }
.service-grid-compact .service-card { min-height: 0; }
.service-grid-compact .service-card:last-child { grid-column: 1 / -1; }
.service-grid-compact .service-icon { margin-bottom: 1.4rem; flex-shrink: 0; }
.service-icon svg { display: block; width: 1.65rem; height: 1.65rem; }
.service-subtopic { padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.25); font-size: .97rem; }
.service-subtopic a { display: inline-block; margin-bottom: .35rem; }
.service-subtopic span { display: block; }
.service-card .service-more { align-self: flex-start; padding-block: .3rem; }
.services-overview .service-card { border-color: var(--line); background: var(--soft); }
.services-overview .service-card a { color: var(--teal); }
.services-overview .service-subtopic { border-color: var(--line); }
#beruf-arbeitsleben .topic-grid { margin-bottom: 1.5rem; }
@media (max-width: 34rem) {
    .service-grid-compact .service-card { padding: 1.5rem; }
}
