:root {
  color-scheme: light;
  --paper: #f6f5f0;
  --white: #fff;
  --ink: #1d2721;
  --soft: #4b5850;
  --green: #1f4a6b;
  --forest: #021b2f;
  --light-green: #d3e2a8;
  --mist: #eceef0;
  --line: #d3d6da;
  --accent: #8a1c2b;
  --type: Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1.0625rem/1.65 var(--type); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .26em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
figure, p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 680; }
h1, h2 { letter-spacing: -.05em; line-height: 1.02; }
h2 { font-size: clamp(2.3rem, 4.3vw, 4.4rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.14; letter-spacing: -.03em; }
img { display: block; max-width: 100%; }
.wrap { width: min(91%, 81rem); margin-inline: auto; }
.skip { position: absolute; transform: translateY(-160%); padding: .6rem 1rem; background: var(--paper); z-index: 20; }
.skip:focus { transform: translateY(0); }
.label { color: var(--green); font-size: .8125rem; font-weight: 680; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1rem; }
.label::before { content: ""; display: inline-block; width: 1.6rem; height: 2px; margin-right: .7rem; vertical-align: .28em; background: var(--accent); }
.section { padding-block: clamp(3.5rem, 7vw, 7rem); }

/* Buttons and links */
.button { display: inline-flex; align-items: center; gap: .6rem; padding: .9rem 1.4rem; border: 1px solid var(--forest); background: var(--forest); color: var(--paper); font: 650 1rem/1.2 var(--type); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, transform .2s var(--ease); }
.button::after { content: "→"; transition: transform .25s var(--ease); }
.button:hover { background: var(--green); border-color: var(--green); }
.button:hover::after { transform: translateX(.25rem); }
.button:active { transform: translateY(1px); }
.button-ghost { background: transparent; color: var(--forest); }
.button-ghost::after { content: none; }
.button-ghost:hover { background: var(--forest); color: var(--paper); border-color: var(--forest); }
.arrow-link { display: inline-block; width: fit-content; color: var(--green); font-weight: 650; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: .12rem; }
.arrow-link::after { content: " →"; display: inline-block; margin-left: .3rem; transition: transform .25s var(--ease); }
.arrow-link:hover::after { transform: translateX(.3rem); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(246 245 240 / .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(2 27 47 / .45); }
.header { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: .85rem; }
.brand { font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 720; letter-spacing: -.07em; white-space: nowrap; text-decoration: none; line-height: 1.15; }
.brand span { color: var(--green); font-weight: 450; }
.brand b { color: var(--accent); }
.brand small { display: block; margin-top: .2rem; color: var(--soft); font: 520 .8125rem/1.35 var(--type); letter-spacing: 0; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1.7rem; font-size: .95rem; }
nav a { text-decoration: none; }
.site-header nav a:not(.nav-contact) { position: relative; padding-block: .3rem; }
.site-header nav a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-header nav a:not(.nav-contact):hover::after, .site-header nav a.current::after { transform: scaleX(1); }
.nav-contact { padding: .56rem 1rem; background: var(--forest); color: var(--paper); transition: background .2s; }
.nav-contact:hover { background: var(--green); }
.nav-toggle { display: none; align-items: center; gap: .6rem; padding: .5rem .8rem; border: 1px solid var(--line); background: none; color: var(--ink); font: 600 .95rem/1 var(--type); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before { display: block; width: 1.1rem; height: 2px; background: currentColor; }
.nav-toggle-bars { position: relative; top: -3px; }
.nav-toggle-bars::before { content: ""; position: absolute; top: 6px; }

/* Hero */
.hero-band { position: relative; overflow: hidden; }
.hero-band::before { content: ""; position: absolute; inset: 0 0 auto 55%; height: 78%; background: var(--mist); z-index: -1; }
.hero { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); padding-block: clamp(2.5rem, 5.5vw, 5.5rem) clamp(2.5rem, 4.5vw, 4.5rem); }
.hero h1 { font-size: clamp(3rem, 6.6vw, 6.4rem); font-weight: 720; letter-spacing: -.065em; line-height: .92; }
.hero h1 em { display: block; color: var(--brand); font-style: normal; }
.hero-intro { max-width: 36ch; margin-top: 1.6rem; color: var(--soft); font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-phone { margin-top: 1.15rem; color: var(--soft); font-size: .95rem; }
.hero-phone a { color: var(--ink); font-weight: 650; white-space: nowrap; }
.hero-figure { position: relative; margin-bottom: 2.2rem; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 1.2; object-fit: cover; object-position: center 45%; background: #33475a; box-shadow: 0 30px 60px -35px rgb(2 27 47 / .55); }
.hero-figure figcaption { position: absolute; left: clamp(-2rem, -2vw, -.75rem); bottom: -2.2rem; display: grid; gap: .1rem; max-width: 80%; padding: 1rem 1.3rem; background: var(--forest); color: #dde3e9; font-size: .875rem; border-left: 3px solid var(--light-green); }
.hero-figure figcaption strong { color: var(--white); font-size: 1rem; font-weight: 650; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.facts li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.35rem 1.25rem 1.35rem 0; }
.facts li + li { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.facts svg { flex: none; width: 1.75rem; height: 1.75rem; margin-top: .1rem; fill: none; stroke: var(--green); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.facts strong { display: block; font-size: 1rem; line-height: 1.3; }
.facts span { display: block; margin-top: .15rem; color: var(--soft); font-size: .875rem; line-height: 1.4; }

/* Entry paths */
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 2rem); margin-top: clamp(1.6rem, 3vw, 2.75rem); }
.paths article { position: relative; display: flex; flex-direction: column; background: var(--white); box-shadow: 0 0 0 1px #e3e4de; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.paths article:hover, .paths article:focus-within { transform: translateY(-6px); box-shadow: 0 0 0 1px #d9dad3, 0 28px 45px -30px rgb(2 27 47 / .5); }
.path-image { aspect-ratio: 1.94; overflow: hidden; background: var(--mist); }
.path-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.paths article:hover .path-image img { transform: scale(1.05); }
.path-new img { object-position: center 56%; }
.path-copy { display: flex; flex-direction: column; flex: 1; padding: clamp(1.15rem, 2.4vw, 2rem); }
.paths h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.paths p { margin: .65rem 0 1.3rem; color: var(--soft); }
.paths .arrow-link { margin-top: auto; font-size: .95rem; }
.paths .arrow-link::before { content: ""; position: absolute; inset: 0; }
.paths .path-funding { background: #eceef0; box-shadow: none; }
.document-type { position: relative; display: grid; align-content: center; gap: .12em; padding: .45em .7em; background: var(--forest); color: var(--light-green); font: 400 clamp(1.8rem, 4vw, 4rem)/1.02 var(--type); letter-spacing: -.055em; }
.document-type::after { content: ""; position: absolute; inset: 10% 5%; border: 1px solid #5b6f82; pointer-events: none; }
.document-type span + span { padding-left: 1.35em; }
.document-type i { color: #a9b7c4; }

/* Process */
.process-bg { background: var(--white); border-block: 1px solid #e5e6e3; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head > a { flex-shrink: 0; }
.section-aside { max-width: 34ch; color: var(--soft); }
.process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); margin: 0; padding: 0; list-style: none; counter-reset: none; }
.process li { position: relative; padding-top: 1.6rem; border-top: 2px solid var(--forest); }
.process li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--light-green); border: 2px solid var(--forest); }
.step-no { display: block; margin-bottom: .6rem; color: var(--green); font-size: clamp(2.6rem, 4.6vw, 4.2rem); font-weight: 300; line-height: 1; letter-spacing: -.05em; opacity: .55; }
.process p { margin-top: .6rem; color: var(--soft); }

/* Funding */
.funding-bg { background: var(--mist); }
.funding-intro { display: grid; column-gap: 3rem; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: end; }
.funding-intro .label { grid-column: 1 / -1; }
.funding-intro > p:last-child { color: var(--soft); padding-bottom: .12rem; }
.funding-table { overflow-x: auto; margin-top: 2.2rem; background: var(--paper); box-shadow: 0 25px 45px -35px rgb(2 27 47 / .45); }
.funding-table table { width: 100%; min-width: 35rem; border-collapse: collapse; text-align: left; }
.funding-table th, .funding-table td { border-bottom: 1px solid #c5cad0; padding: clamp(.85rem, 2vw, 1.55rem); vertical-align: top; }
.funding-table thead th { background: var(--forest); color: var(--paper); font-weight: 600; }
.phase { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-right: .6rem; border-radius: 50%; background: var(--light-green); color: var(--forest); font-size: .875rem; font-weight: 700; }
.funding-table tbody th { width: 22%; font-size: 1.15rem; }
.funding-table td span, .funding-table tbody th span { color: var(--soft); font-size: .94rem; font-weight: 400; }
.funding-table td strong { font: 400 clamp(1.45rem, 2.85vw, 2.6rem)/1.16 var(--type); color: var(--green); }
.funding-table tbody tr + tr { background: #f1f2f3; }
.funding-table tbody tr:last-child > * { border-bottom: 0; }
.funding-note { max-width: 68ch; margin-top: 1.1rem; color: var(--soft); font-size: .95rem; }
.field-example { margin-top: 2.4rem; padding: clamp(1.4rem, 3vw, 2.5rem); background: #f8f8f3; border-top: 3px solid var(--forest); }
.field-example ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.65rem 2.3rem; padding-left: 1.35rem; margin: 1.2rem 0 0; }
.field-example li::marker { font-weight: 700; color: var(--green); }
.field-example p { color: var(--soft); margin-top: .35rem; }
.official-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.55rem; font-size: .94rem; color: var(--green); }
.official-links span { color: var(--soft); }

/* Good to know */
.know-bg { background: var(--white); border-bottom: 1px solid #e5e6e3; }
.know { padding: clamp(1.4rem, 3vw, 2.4rem); background: var(--paper); border-top: 3px solid var(--forest); scroll-margin-top: 6rem; }
.know > header { display: flex; gap: 1.1rem; align-items: flex-start; }
.know-no { flex: none; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--forest); color: var(--light-green); font-size: 1.2rem; font-weight: 700; }
.know h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.know > header p { margin-top: .5rem; color: var(--soft); max-width: 62ch; }
.know h4 { margin: 0 0 .6rem; font-size: 1rem; }
.know-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); margin-top: clamp(1rem, 2vw, 2rem); }
.know-order { background: var(--forest); color: var(--paper); border-top-color: var(--light-green); }
.know-order .know-no { background: var(--light-green); color: var(--forest); }
.know-order > header p { color: #d3dbe3; }
.order { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: order; }
.order li { position: relative; counter-increment: order; padding: 1.5rem 1rem 0 0; border-top: 2px solid #3a5268; }
.order li::before { content: counter(order); position: absolute; top: -.85rem; left: 0; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--forest); border: 2px solid #8b9fb2; color: #d3dbe3; font-size: .8125rem; font-weight: 700; }
.order strong { display: block; line-height: 1.25; }
.order span { display: block; margin-top: .35rem; color: #c0cbd6; font-size: .875rem; line-height: 1.45; }
.order .order-key { border-top-color: var(--light-green); }
.order .order-key::before { background: var(--light-green); border-color: var(--light-green); color: var(--forest); }
.order .order-key strong { color: var(--light-green); }
.know-warn { margin-top: 1.8rem; padding: 1rem 1.2rem; background: rgb(211 226 168 / .12); border-left: 3px solid var(--light-green); color: #e6ebf0; }
.know-warn strong { color: var(--light-green); }
.money { display: flex; flex-wrap: wrap; align-items: stretch; gap: .6rem; margin-top: 1.5rem; }
.money div { flex: 1 1 8rem; padding: .9rem 1rem; background: var(--white); box-shadow: 0 0 0 1px #e3e4de; }
.money span { display: block; color: var(--soft); font-size: .8125rem; line-height: 1.3; }
.money strong { display: block; margin-top: .3rem; font-size: 1.05rem; font-weight: 650; line-height: 1.3; }
.money i { align-self: center; color: var(--green); font-size: 1.5rem; font-style: normal; font-weight: 300; }
.money .money-result { background: var(--forest); box-shadow: none; }
.money .money-result span { color: #c0cbd6; }
.money .money-result strong { color: var(--light-green); }
.know-small { margin-top: 1rem; color: var(--soft); font-size: .9rem; }
.qa { margin: 1.4rem 0 0; }
.qa dt { font-weight: 650; }
.qa dd { margin: .25rem 0 0; color: var(--soft); }
.qa dd + dt { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.eligible { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.eligible ul { margin: 0; padding: 0; list-style: none; }
.eligible li { position: relative; padding: .4rem 0 .4rem 1.7rem; border-top: 1px solid var(--line); color: var(--soft); line-height: 1.4; }
.eligible li::before { position: absolute; left: 0; top: .35rem; font-weight: 700; }
.list-no li::before { content: "✕"; color: var(--accent); }
.list-yes li::before { content: "✓"; color: var(--green); }
.know-stand { margin-top: 1.5rem; color: var(--soft); font-size: .875rem; }
@media (max-width: 1000px) {
  .order { grid-template-columns: 1fr; margin-left: .85rem; }
  .order li { padding: 0 0 1.4rem 1.8rem; border-top: 0; border-left: 2px solid #3a5268; }
  .order li:last-child { padding-bottom: 0; }
  .order li::before { top: 0; left: -.95rem; }
  .order .order-key { border-left-color: var(--light-green); }
}
@media (max-width: 860px) {
  .know-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .eligible { grid-template-columns: 1fr; }
  .know > header { flex-direction: column; gap: .8rem; }
  .money i { display: none; }
}

/* Guide table */
.guide { margin-top: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: 6rem; }
.guide h3 { margin-bottom: 1.2rem; }
.guide-table { border-top: 2px solid var(--forest); }
.guide-table > div { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, .8fr); gap: .4rem 2rem; align-items: baseline; padding: .95rem 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.guide-table > div:not(.guide-head):hover { background: rgb(211 226 168 / .25); }
.guide-head { color: var(--soft); font-size: .8125rem; font-weight: 680; letter-spacing: .1em; text-transform: uppercase; }
.guide-table .arrow-link { font-size: .95rem; }

/* Durations and roles */
.two-up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); margin-top: clamp(3rem, 6vw, 5rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.two-up > div { scroll-margin-top: 6rem; }
.durations, .roles { margin: 1.3rem 0 0; }
.durations > div, .roles > div { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: .2rem 1.5rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.durations dt, .roles dt { font-weight: 650; }
.durations dd, .roles dd { margin: 0; color: var(--soft); }
.durations dd strong { color: var(--green); }
.roles dt { color: var(--green); }

/* Document checklist */
.section-aside .button { margin-top: 1rem; }
.docs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.docs article { padding: clamp(1.2rem, 2vw, 1.75rem); background: var(--white); box-shadow: 0 0 0 1px #e3e4de; border-top: 3px solid var(--green); }
.docs h3 { font-size: 1.35rem; margin-bottom: .9rem; }
.docs ul { margin: 0; padding: 0; list-style: none; }
.docs li { position: relative; padding: .5rem 0 .5rem 1.7rem; border-top: 1px solid var(--line); color: var(--soft); font-size: .95rem; line-height: 1.4; }
.docs li::before { content: ""; position: absolute; left: 0; top: .62rem; width: .95rem; height: .95rem; border: 1.5px solid var(--green); }

/* About */
.about-bg { background: var(--mist); }
.about-bg .section-intro .arrow-link { margin-top: 1.4rem; }
.quali { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--forest); }
.quali li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid #c5cad0; }
.quali span { color: var(--green); font-size: 1.15rem; font-weight: 300; letter-spacing: -.02em; }
.quali strong { font-size: 1.15rem; line-height: 1.3; }
.quali p { margin-top: .2rem; color: var(--soft); font-size: .95rem; }

/* Glossary */
.glossary-bg { background: var(--white); border-top: 1px solid #e5e6e3; }
.glossary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 3vw, 3rem); margin: 0; }
.glossary > div { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.glossary dt { font-weight: 680; color: var(--green); }
.glossary dd { margin: .25rem 0 0; color: var(--soft); font-size: .95rem; }

@media (max-width: 1000px) {
  .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glossary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-up { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .docs, .glossary { grid-template-columns: 1fr; }
  .guide-table > div { grid-template-columns: 1fr; }
  .guide-head { display: none !important; }
  .durations > div, .roles > div { grid-template-columns: 1fr; }
}
@media print {
  body.print-docs .site-header, body.print-docs .site-footer, body.print-docs main > section:not(#unterlagen), body.print-docs .print-docs { display: none; }
  body.print-docs .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.print-docs .docs article { break-inside: avoid; }
}

/* Services and FAQ */
.split { display: grid; grid-template-columns: minmax(0, .77fr) minmax(0, 1.23fr); align-items: start; gap: 2rem clamp(2rem, 7vw, 7rem); }
.section-intro { position: sticky; top: 7rem; }
.section-intro h2 + p { max-width: 39ch; margin-top: 1.35rem; color: var(--soft); }
.section-intro .button { margin-top: 1.6rem; }
.section-intro p a { color: var(--green); font-weight: 600; }
.rows { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: block; cursor: pointer; position: relative; font-weight: 650; padding: 1.25rem 3.4rem 1.25rem 0; transition: color .2s; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--green); }
summary::after { content: ""; position: absolute; right: 0; top: 1.2rem; width: 2.15rem; height: 2.15rem; border: 1px solid var(--line); border-radius: 50%; background: linear-gradient(var(--green), var(--green)) center / .8rem 2px no-repeat, linear-gradient(var(--green), var(--green)) center / 2px .8rem no-repeat; transition: transform .35s var(--ease), background-color .2s, border-color .2s; }
summary:hover::after { border-color: var(--green); }
details[open] summary::after { transform: rotate(135deg); background-color: var(--light-green); border-color: var(--light-green); }
details::details-content { block-size: 0; overflow: clip; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
.service-title { display: block; font-size: clamp(1.25rem, 2.1vw, 1.75rem); font-weight: 650; line-height: 1.18; letter-spacing: -.03em; }
.service-subtitle { display: block; margin-top: .32rem; font-size: .94rem; font-weight: 400; color: var(--soft); line-height: 1.5; }
.service-body, .faq details > p { padding: 0 2.4rem 1.5rem 0; color: var(--soft); }
.service-body p + p { margin-top: .75rem; }
.service-body .arrow-link { margin-top: .9rem; }
#leistungen .services { background: var(--white); padding-inline: clamp(1rem, 2.5vw, 2.3rem); border: 1px solid #e5e6e3; box-shadow: 0 30px 50px -40px rgb(2 27 47 / .4); }
#leistungen .services details:last-child { border-bottom: 0; }
.faq summary { font-size: 1.15rem; line-height: 1.35; }

/* Projects */
.projects-bg { background: var(--forest); color: var(--paper); }
.projects-bg .label, .projects-bg .arrow-link { color: var(--light-green); }
.projects-bg .label::before { background: var(--light-green); }
.projects { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.projects article + article { margin-top: 2.75rem; }
.project-image { overflow: hidden; margin-bottom: 1.15rem; background: #0d2a42; }
.project-image img { width: 100%; height: auto; aspect-ratio: 1.33; object-fit: cover; transition: transform .9s var(--ease); }
.projects article + article img { aspect-ratio: 1.14; }
.projects article:hover img { transform: scale(1.04); }
.projects .label { margin-bottom: .45rem; }
.projects article > p:not(.label) { margin-top: .45rem; color: #dfe5eb; max-width: 46ch; }

.project-feature { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .45fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); border-bottom: 1px solid #223d55; }
.thermo-pair { display: grid; grid-template-columns: 1.868fr 1.333fr; gap: .5rem; }
.thermo-pair figure { position: relative; background: #0d2a42; }
.thermo-pair img { width: 100%; height: 100%; object-fit: cover; }
.thermo-pair figcaption { position: absolute; left: 0; bottom: 0; padding: .3rem .7rem; background: var(--forest); color: var(--light-green); font-size: .8125rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.project-feature-copy p:not(.label) { margin-top: .6rem; color: #dfe5eb; }
.projects.projects-four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2.5rem); }
.projects-four article + article { margin-top: 0; }
.projects-four .project-image img, .projects-four article + article img { aspect-ratio: 1.3; }
.projects-four h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); }
.projects-four article > p:not(.label) { font-size: .95rem; }
@media (max-width: 1000px) {
  .project-feature { grid-template-columns: 1fr; }
  .projects.projects-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .projects.projects-four, .thermo-pair { grid-template-columns: 1fr; }
}

/* Contact */
.contact-bg { background: #e3e6e9; }
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 2.5rem clamp(2rem, 6vw, 6rem); align-items: start; }
.contact-copy h2 { font-size: clamp(2.1rem, 3.8vw, 3.8rem); }
.contact-copy h2 + p { max-width: 38ch; margin-top: 1.2rem; color: var(--soft); }
address { display: grid; gap: .5rem; margin-top: 2rem; padding-left: 1.4rem; border-left: 2px solid var(--green); font-style: normal; }
address strong { font-size: 1.2rem; }
address span { color: var(--soft); }
address a { width: fit-content; }
.contact-phone { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 680; letter-spacing: -.03em; text-decoration: none; color: var(--forest); }
.contact-phone:hover { text-decoration: underline; }
.hours { font-size: .94rem; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; padding: clamp(1.4rem, 3vw, 2.5rem); background: var(--paper); box-shadow: 0 35px 55px -40px rgb(2 27 47 / .55); }
.field { display: grid; gap: .35rem; }
.field-wide { grid-column: 1 / -1; }
label { font-size: .9rem; font-weight: 650; }
label span { color: var(--soft); font-weight: 400; }
input, select, textarea { width: 100%; padding: .75rem .85rem; border: 1px solid #bcc3ca; border-radius: 0; background: var(--white); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
input:hover, select:hover, textarea:hover { border-color: var(--green); }
textarea { resize: vertical; min-height: 6.5rem; }
.form-actions { display: grid; gap: .9rem; justify-items: start; margin-top: .3rem; }
.form-note { color: var(--soft); font-size: .875rem; line-height: 1.5; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid #e5e6e3; }
.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.2rem 2.5rem; padding-block: 1.6rem; }
.footer-logo img { width: 11rem; height: auto; }
.footer-claim { color: var(--soft); font-size: .9rem; line-height: 1.5; margin-right: auto; }
.footer nav a:hover { text-decoration: underline; }

/* Scroll reveal: only when JavaScript runs and motion is welcome */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  .js .paths .reveal:nth-child(2), .js .process .reveal:nth-child(2), .js .projects .reveal:nth-child(2) { transition-delay: .1s; }
  .js .paths .reveal:nth-child(3), .js .process .reveal:nth-child(3) { transition-delay: .2s; }
  .js .paths article.reveal.in { transition: opacity .7s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

@media (max-width: 1000px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .funding-intro { grid-template-columns: 1fr; }
  .funding-intro > p:last-child { margin-top: 1rem; max-width: 62ch; }
}
@media (max-width: 860px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-header nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 4.5% 1.2rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -22px rgb(2 27 47 / .5); font-size: 1.1rem; }
  .js .site-header nav.open { display: flex; }
  .js .site-header nav a:not(.nav-contact) { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .js .site-header nav a:not(.nav-contact)::after { content: none; }
  .js .site-header .nav-contact { margin-top: 1rem; text-align: center; padding: .85rem; }
  .hero, .split, .contact { grid-template-columns: 1fr; }
  .hero-band::before { inset: auto 0 0 0; height: 45%; }
  .hero-figure figcaption { left: 0; }
  .section-intro { position: static; }
  .section-head { align-items: start; flex-direction: column; }
  .process { grid-template-columns: 1fr; gap: 2rem; }
  .projects article + article { margin-top: 0; }
}
@media (max-width: 650px) {
  .paths, .field-example ol, .projects, .contact-form { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding-left: 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--line); }
  .path-image { aspect-ratio: 2.35; }
  .projects article + article img { aspect-ratio: 1.33; }
  .service-body, .faq details > p { padding-right: .25rem; }
  .hero-actions .button { flex: 1 1 100%; justify-content: center; }
  .document-type { font-size: clamp(1.8rem, 9vw, 3rem); }
  .funding-table table { display: block; min-width: 0; }
  .funding-table thead { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .funding-table tbody { display: block; }
  .funding-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funding-table th, .funding-table td { padding: .8rem .65rem; }
  .funding-table tbody th { width: 100%; grid-column: 1 / -1; background: var(--forest); color: var(--paper); }
  .funding-table tbody th span { color: var(--light-green); }
  .funding-table td::before { content: attr(data-label); display: block; font-size: .875rem; font-weight: 650; color: var(--soft); margin-bottom: .3rem; }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media print {
  .site-header { position: static; }
  .nav-toggle, .contact-form, .hero-actions { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Angleichung an team-ing2.de: Schrift Assistant, Dunkelblau und Weinrot */
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("fonts/assistant-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2113; }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("fonts/assistant-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
:root {
  --navy: #021b2f;
  --brand: #7a0f23;
  --brand-dark: #5c0a1a;
  --accent: #7a0f23;
  --ink: #021b2f;
  --soft: #49525c;
  --paper: #f7f7f4;
  --type: "Assistant", Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
body { font-size: 1.125rem; line-height: 1.6; }
h1, h2 { letter-spacing: -.02em; line-height: 1.05; font-weight: 700; }
h3 { letter-spacing: -.01em; font-weight: 700; }
.hero h1 { font-size: clamp(2.8rem, 5.5vw, 5.3rem); letter-spacing: -.025em; line-height: 1; font-weight: 800; }
.brand { letter-spacing: -.035em; font-weight: 800; }
.brand span { font-weight: 400; }
.service-title, .contact-phone { letter-spacing: -.01em; }
.button { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 700; }
.button:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.button-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.button-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.nav-contact { background: var(--brand); color: #fff; }
.nav-contact:hover { background: var(--brand-dark); }
.site-header nav a:not(.nav-contact)::after { background: var(--brand); }
.arrow-link, .section-intro p a, .official-links { color: var(--brand); }
.projects-bg .arrow-link { color: var(--light-green); }
.contact-phone { color: var(--navy); }
.guide-table, .quali { border-top-color: var(--navy); }
.process li { border-top-color: var(--navy); }
.process li::before { border-color: var(--navy); }
.site-header { background: rgb(247 247 244 / .92); }

/* Einstiegskarten mit Liniensymbolen statt Fotos */
.paths article, .paths .path-funding { background: var(--white); box-shadow: 0 0 0 1px #e3e4de; border-top: 3px solid var(--brand); }
.paths article:hover, .paths article:focus-within { box-shadow: 0 0 0 1px #d9dad3, 0 28px 45px -30px rgb(2 27 47 / .45); }
.path-copy { padding: clamp(1.5rem, 2.6vw, 2.25rem); }
.path-icon { width: 3.4rem; height: 3.4rem; margin-bottom: 1.3rem; fill: none; stroke: var(--brand); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.paths h3 { font-size: clamp(1.45rem, 2.1vw, 1.85rem); }

/* Unterseiten: Seitenkopf, Verweise und Abschluss */
.page-head { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem); background: var(--mist); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.5rem, 5vw, 4.6rem); font-weight: 800; letter-spacing: -.025em; line-height: 1; }
.page-intro { max-width: 58ch; margin-top: 1.3rem; color: var(--soft); font-size: 1.2rem; }
.page-nav { margin-top: 1.8rem; gap: .6rem; font-size: 1rem; }
.page-nav a { padding: .5rem 1rem; border: 1px solid var(--navy); color: var(--navy); font-weight: 600; transition: background .2s, color .2s; }
.page-nav a:hover { background: var(--navy); color: #fff; }
.site-header nav a.current { font-weight: 700; }
.teasers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); margin-top: clamp(1.6rem, 3vw, 2.75rem); }
.teaser { display: flex; flex-direction: column; padding: clamp(1.5rem, 2.6vw, 2.25rem); background: var(--white); box-shadow: 0 0 0 1px #e3e4de; border-top: 3px solid var(--brand); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.teaser:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px #d9dad3, 0 28px 45px -30px rgb(2 27 47 / .45); }
.teaser p { margin: .6rem 0 1.3rem; color: var(--soft); }
.teaser .arrow-link { margin-top: auto; }
.cta-bg { background: var(--navy); color: #fff; }
.cta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem 3rem; padding-block: clamp(2.5rem, 5vw, 4rem); }
.cta h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta p { margin-top: .6rem; color: #cfd6dd; max-width: 48ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.cta-phone { color: #fff; font-size: 1.35rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cta-phone:hover { text-decoration: underline; }
.guide { margin-top: clamp(1.6rem, 3vw, 2.75rem); }
#zeit .two-up { margin-top: 0; padding-top: 0; border-top: 0; }
@media (max-width: 650px) { .teasers { grid-template-columns: 1fr; } }
@media print { body.print-docs .page-head, body.print-docs .cta-bg { display: none; } }
