/* NFK Ventures – Website. Bewusst nur helles Farbschema (Geschäftsauftritt). Schriften selbst gehostet (DSGVO). */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/manrope-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/manrope-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/manrope-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/manrope-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/manrope-latin-ext-400-normal.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-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/manrope-latin-ext-600-normal.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-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --brand: #2e1a3d; --secondary: #173a2c; --accent: #5b3478; --lilac: #b9a3d1; --mint: #7fb59c;
  --surface: #f6f5f8; --raised: #ffffff; --tint: #ebe6f1; --ink: #17141c; --muted: #5c5866; --line: #dcd8e2; --on-deep: #f6f5f8;
  --font: "Manrope", "Helvetica Neue", Arial, sans-serif; --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--brand); color: var(--on-deep); padding: 8px 14px; z-index: 20; }
.skip:focus { left: 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; color: var(--brand); }
h3 { font-size: 22px; line-height: 1.25; }
p { margin: 0; }
.arrow { width: 22px; height: 12px; flex: none; transition: transform .2s; }
a:hover .arrow { transform: translateX(4px); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--surface); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(246,245,248,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 12px; }
.site-header .brand img { height: 50px; width: auto; display: block; }
.site-nav { display: flex; gap: 26px; font-size: 14px; font-weight: 600; }
.site-nav a { text-decoration: none; color: var(--muted); padding-block: 6px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--secondary); }
@media (max-width: 680px) { .site-header .brand img { height: 38px; } .site-nav { gap: 14px; font-size: 13px; } .site-nav .opt { display: none; } }

/* Breadcrumb */
.crumbs { font-size: 13px; color: var(--muted); padding-top: 28px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "→"; margin-right: 8px; color: var(--secondary); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--brand); }

/* Hero */
.hero { overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding-block: 80px 96px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.03; letter-spacing: -0.03em; color: var(--brand); margin-top: 18px; }
.hero h1 span { color: var(--secondary); }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 34em; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 22px; background: var(--brand); color: var(--on-deep); text-decoration: none; font-weight: 600; font-size: 15px; border-radius: 2px; }
.btn.alt { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-art { position: relative; justify-self: end; width: min(100%, 360px); }
.hero-art img { width: 100%; display: block; }
.hero-art .run { position: absolute; left: -48px; width: calc(100% + 72px); top: -28px; height: 24px; }
.hero-art .run path { fill: none; stroke: var(--secondary); stroke-width: 3; }
.page-hero .wrap { padding-block: 40px 72px; max-width: var(--wrap); }
.page-hero h1 { font-size: clamp(36px, 4.8vw, 56px); line-height: 1.05; letter-spacing: -0.02em; color: var(--brand); margin-top: 16px; max-width: 18em; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 48px 64px; gap: 48px; }
  .hero-art { justify-self: start; width: min(70%, 240px); }
  .hero-art .run { left: 0; width: 100%; }
}

/* Dunkle Bänder */
.band { background: var(--brand); color: var(--on-deep); }
.band.green { background: var(--secondary); }
.band .wrap { padding-block: 80px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; }
.band .eyebrow { color: var(--lilac); }
.band.green .eyebrow { color: var(--mint); }
.band h2 { color: var(--on-deep); margin-top: 14px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding-block: 20px; border-top: 1px solid rgba(185,163,209,.3); }
.rows li:last-child { border-bottom: 1px solid rgba(185,163,209,.3); }
.rows b { font-weight: 600; color: var(--lilac); font-size: 14px; letter-spacing: .04em; }
.band.green .rows b { color: var(--mint); }
.rows span { color: #e2dcea; }
@media (max-width: 820px) { .band .wrap { grid-template-columns: 1fr; gap: 28px; padding-block: 64px; } .rows li { grid-template-columns: 1fr; gap: 4px; } }

/* Sektionen */
.sec .wrap { padding-block: 96px; }
.sec.tint { background: var(--tint); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head h2 { margin-top: 12px; }
.sec-head p { color: var(--muted); max-width: 30em; }
@media (max-width: 820px) { .sec .wrap { padding-block: 64px; } }

/* Bereiche (Startseite) */
.areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.area { display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; padding: 36px; background: var(--raised); border: 1px solid var(--line); border-radius: 4px; text-decoration: none; min-width: 0; position: relative; overflow: hidden; }
.area::after { content: ""; position: absolute; right: 0; top: 0; width: 64px; height: 64px; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.area.re::after { background: var(--secondary); }
.area.dg::after { background: var(--brand); }
.area h3 { font-size: 28px; color: var(--brand); }
.area p { color: var(--muted); }
.area ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.area li { font-size: 13px; font-weight: 600; padding: 5px 11px; background: var(--tint); border-radius: 2px; color: var(--ink); }
.area .go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--brand); border-top: 1px solid var(--line); padding-top: 18px; }
.area:hover { border-color: var(--secondary); }
.area:hover .arrow { transform: translateX(4px); }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } .area { padding: 28px; } }

/* Karten allgemein */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards.three { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--raised); border: 1px solid var(--line); border-radius: 4px; padding: 28px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; min-width: 0; }
.card p { color: var(--muted); }
.card .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--muted); white-space: nowrap; }
.pill.ok { background: #dfe9e3; color: var(--secondary); }
.card .more { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--brand); text-decoration: none; border-top: 1px solid var(--line); padding-top: 16px; }
.card .more.off { color: var(--muted); }

/* Objekte */
.listing { padding: 0; overflow: hidden; grid-template-rows: auto 1fr; }
.listing .photo { aspect-ratio: 3 / 2; max-width: 100%; background: linear-gradient(135deg, var(--brand) 0 50%, var(--secondary) 50% 100%); display: grid; place-items: center; color: var(--on-deep); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; position: relative; }
.listing .photo .demo { position: absolute; top: 12px; left: 12px; background: var(--surface); color: var(--accent); padding: 4px 10px; border-radius: 2px; font-size: 11px; }
.listing .body { padding: 24px; display: grid; gap: 12px; }
.listing .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0 0; }
.listing .facts div { border-top: 1px solid var(--line); padding-top: 8px; }
.listing dt { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.listing dd { margin: 2px 0 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.listing .energy { font-size: 12px; color: var(--muted); }
.price { font-size: 22px; font-weight: 700; color: var(--brand); font-variant-numeric: tabular-nums; }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px 24px 24px 0; border-top: 3px solid var(--secondary); min-width: 0; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-weight: 700; color: var(--secondary); margin-bottom: 10px; }
.steps b { display: block; margin-bottom: 6px; }
.steps span { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; gap: 0 20px; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Über mich */
.about { display: grid; grid-template-columns: 280px 1fr; gap: 64px; align-items: start; }
.portrait { aspect-ratio: 4 / 5; max-width: 100%; background: var(--raised); border: 1px solid var(--line); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 13px; padding: 24px; border-radius: 4px; }
.about .text { display: grid; gap: 18px; max-width: 38em; }
.about .text p { font-size: 17px; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 32px; } .portrait { max-width: 220px; } }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding-block: 20px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--secondary); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 12px; max-width: 46em; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.mail { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 22px 24px; border: 1px solid var(--line); background: var(--raised); border-radius: 4px; }
.mail a { font-size: 20px; font-weight: 600; color: var(--brand); text-decoration: none; overflow-wrap: anywhere; }
.mail button { margin-left: auto; font: 600 13px var(--font); padding: 8px 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 2px; cursor: pointer; }
.contact small { display: block; color: var(--muted); font-size: 13px; margin-top: 12px; }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; gap: 28px; } }

/* Rechtstexte */
.legal { max-width: 760px; }
.legal h2 { font-size: 22px; margin-top: 40px; color: var(--brand); }
.legal p, .legal li { color: var(--ink); margin-top: 10px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 16px 0 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; min-width: 0; }
@media (max-width: 600px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } }
.todo { background: #efe2a8; color: #3b2f00; padding: 0 6px; border-radius: 2px; }
.note { border: 1px solid var(--line); background: var(--raised); padding: 18px 20px; border-radius: 4px; color: var(--muted); font-size: 14px; }

/* Footer */
.site-footer { background: var(--secondary); color: #d3e5db; font-size: 14px; }
.site-footer .wrap { padding-block: 56px 32px; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 56px; width: auto; display: block; }
.site-footer h2 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); margin: 0 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; margin-top: 18px; line-height: 1.7; }
.site-footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(127,181,156,.3); padding-top: 18px; color: var(--mint); font-size: 13px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; gap: 28px; } }

/* Ratgeber-Artikel */
.prose { max-width: 780px; }
.prose h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; color: var(--brand); margin-top: 14px; }
.prose .meta { color: var(--muted); font-size: 14px; margin-top: 14px; }
.prose .meta a { color: var(--secondary); }
.prose h2 { font-size: 26px; margin-top: 48px; margin-bottom: 14px; }
.prose p, .prose li { font-size: 17px; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; margin: 0; }
.prose .faq summary { font-size: 17px; }
.prose a { color: var(--brand); }
.prose .btn { color: var(--on-deep); }
.tablewrap { overflow-x: auto; margin: 8px 0 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--raised); }
.tablewrap table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
.tablewrap th, .tablewrap td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tablewrap th { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--tint); }
.tablewrap tr:last-child td { border-bottom: 0; }
.tablewrap .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tablewrap tr.sum td { font-weight: 700; color: var(--brand); background: var(--tint); }
.sources { font-size: 14px; }
.card h3 a { color: inherit; }

/* ---------- Kontaktformular ---------- */
.contact-sec { background: var(--tint); }
.contact { align-items: center; }
.promise { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.promise li { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--ink); }
.promise li::before { content: ""; width: 18px; height: 18px; flex: none; background: linear-gradient(135deg, var(--brand) 0 50%, var(--secondary) 50% 100%); }
.cform { background: var(--raised); border: 1px solid var(--line); border-radius: 4px; padding: 32px; display: grid; gap: 18px; min-width: 0; position: relative; overflow: hidden; }
.cform::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--brand) 0 50%, var(--secondary) 50% 100%); }
.cform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--ink); min-width: 0; }
.cform label em { font-style: normal; font-weight: 500; color: var(--muted); }
.cform input, .cform select, .cform textarea { font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 12px 14px; width: 100%; min-width: 0; transition: border-color .2s, box-shadow .2s, background .2s; }
.cform textarea { resize: vertical; min-height: 130px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--secondary); background: var(--raised); box-shadow: 0 0 0 3px rgba(23,58,44,.14); }
.cform .btn { justify-self: start; border: 0; cursor: pointer; font-family: var(--font); }
.cform .btn:disabled { opacity: .6; cursor: progress; }
.cform .fine { font-size: 12.5px; color: var(--muted); }
.cform .fine a { color: var(--brand); }
.cf-status { font-size: 14px; font-weight: 600; min-height: 1em; }
.cf-status.ok { color: var(--secondary); }
.cf-status.err { color: #9b1c2c; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .cform { padding: 22px; } .cform .row2 { grid-template-columns: 1fr; } }

/* ---------- Abschnitte als „Seiten“ (ohne hartes Einrasten) ---------- */
@media (min-width: 900px) and (min-height: 640px) {
  /* nur der Einstieg bekommt Bühne, alle weiteren Abschnitte richten sich nach ihrem Inhalt */
  main.snap > section.hero, main.snap > .crumbs + section.page-hero { min-height: min(78svh, 820px); display: flex; flex-direction: column; justify-content: center; }
  main.snap > section > .wrap { width: 100%; }
}
html.smooth { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }

/* ---------- Bewegung ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* Startbereich: Pfeil zeichnet sich, Zeichen dreht sich ein */
  .hero-art .run path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: nfk-draw 1.4s .3s cubic-bezier(.6,0,.2,1) forwards; }
  .hero-art img { animation: nfk-in 1.2s .1s cubic-bezier(.2,.7,.2,1) both; }
  .hero h1, .hero .eyebrow, .hero .lead, .hero .btns { animation: nfk-up .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero .eyebrow { animation-delay: .05s; } .hero h1 { animation-delay: .15s; } .hero .lead { animation-delay: .3s; } .hero .btns { animation-delay: .45s; }
  @keyframes nfk-draw { to { stroke-dashoffset: 0; } }
  @keyframes nfk-in { from { opacity: 0; transform: rotate(-8deg) scale(.86); } to { opacity: 1; transform: none; } }
  @keyframes nfk-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

  .area, .card { transition: translate .35s cubic-bezier(.2,.7,.2,1), border-color .2s, box-shadow .35s; }
  .area:hover, .card:hover { translate: 0 -4px; box-shadow: 0 18px 40px -24px rgba(46,26,61,.35); }
}

/* ---------- Abschnitts-Punkte rechts ---------- */
.dots { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); z-index: 6; display: none; flex-direction: column; gap: 14px; }
@media (min-width: 900px) and (min-height: 640px) { .dots { display: flex; } }
.dots a { position: relative; display: block; width: 12px; height: 12px; border: 1.5px solid var(--brand); background: transparent; transform: rotate(45deg); transition: background .25s, transform .25s; }
.dots a.on { background: var(--brand); transform: rotate(45deg) scale(1.15); }
.dots a span { position: absolute; right: 22px; top: 50%; transform: rotate(-45deg) translate(0, -50%); transform-origin: right center; white-space: nowrap; font-size: 12px; font-weight: 600; color: var(--brand); background: var(--raised); border: 1px solid var(--line); padding: 3px 8px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.dots a:hover span, .dots a:focus-visible span { opacity: 1; }

/* Finanzierung */
.fin-teaser { display: grid; grid-template-columns: 1.6fr auto; gap: 40px; align-items: center; padding: 48px; background: var(--raised); border: 1px solid var(--line); border-radius: 4px; position: relative; overflow: hidden; }
.fin-teaser::after { content: ""; position: absolute; right: 0; top: 0; width: 90px; height: 90px; background: var(--secondary); clip-path: polygon(100% 0, 0 0, 100% 100%); }
@media (max-width: 760px) { .fin-teaser { grid-template-columns: 1fr; padding: 28px; } }
.cf-note { font-size: 13.5px; color: var(--secondary); background: #e3ede8; border-radius: 2px; padding: 10px 14px; margin: 0; }
.area.fi::after { background: var(--accent); }
.area.next { background: transparent; border-style: dashed; }
.area.next::after { background: var(--line); }
.area.next h3 { color: var(--muted); }

/* ---------- Navigation: Kontakt-Button + Handy-Menü ---------- */
.site-nav a.cta { color: var(--on-deep); background: var(--brand); padding: 8px 16px; border-radius: 2px; box-shadow: none; }
.site-nav a.cta:hover, .site-nav a.cta[aria-current="page"] { color: var(--on-deep); background: var(--secondary); box-shadow: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--raised); border-radius: 2px; cursor: pointer; position: relative; flex: none; }
.menu-btn span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--brand); transition: transform .3s, top .3s; }
.menu-btn span:nth-child(1) { top: 16px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 980px) {
  .menu-btn { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px max(24px, env(safe-area-inset-right, 0px)) 20px max(24px, env(safe-area-inset-left, 0px)); font-size: 17px; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .4s cubic-bezier(.2,.7,.2,1), visibility 0s .4s; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a.cta { margin-top: 14px; text-align: center; padding: 14px; border-bottom: 0; }
  .site-nav a[aria-current="page"] { box-shadow: none; color: var(--secondary); }
  .menu-open .site-nav { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .4s cubic-bezier(.2,.7,.2,1); }
}
.site-header .wrap { position: relative; }

/* ---------- Porträt ---------- */
.portrait-img { display: block; max-width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px; position: relative; background: var(--brand); }
.portrait-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait-img::after { content: ""; position: absolute; right: 0; bottom: 0; width: 26%; aspect-ratio: 1; background: linear-gradient(135deg, transparent 0 50%, var(--secondary) 50% 100%); }
.portrait-img.small { width: 180px; }
.direkt { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; }
.kdata { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 20px 0 0; }
.kdata dt { color: var(--muted); } .kdata dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) { .direkt { grid-template-columns: 1fr; gap: 24px; } .kdata { grid-template-columns: 1fr; gap: 2px; } .kdata dd { margin-bottom: 8px; } }

/* ---------- Fotos & Video ---------- */
.photo-band { position: relative; min-height: 72vh; min-height: 72svh; overflow: hidden; display: flex; align-items: flex-end; background: var(--brand); isolation: isolate; }
.photo-band .pb-img { position: absolute; left: 0; right: 0; top: -9%; height: 118%; width: 100%; display: block; z-index: -2; }
.photo-band .pb-img img, .photo-band video.pb-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(23,20,28,.82) 0%, rgba(46,26,61,.35) 45%, rgba(46,26,61,0) 75%); }
.photo-band .pb-text { position: relative; padding-block: 72px; width: 100%; }
.photo-band .eyebrow { color: var(--lilac); }
.pb-quote { margin-top: 14px; font-size: clamp(28px, 4.2vw, 52px); line-height: 1.08; font-weight: 600; letter-spacing: -0.02em; color: #fff; max-width: 16em; text-wrap: balance; }
@media (max-width: 760px) { .photo-band { min-height: 60svh; } .photo-band .pb-text { padding-block: 44px; } }

.page-hero.media .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.page-hero.media h1 { max-width: none; }
.ph-img { display: block; position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; max-height: 72vh; justify-self: end; width: 100%; }
.ph-img img { width: 100%; height: 118%; margin-top: -9%; object-fit: cover; display: block; }
.ph-img::after { content: ""; position: absolute; left: 0; bottom: 0; width: 22%; aspect-ratio: 1; background: linear-gradient(45deg, var(--brand) 0 50%, transparent 50%); }
.ph-wide { display: block; margin-top: 40px; border-radius: 4px; overflow: hidden; aspect-ratio: 21 / 9; max-width: 100%; position: relative; }
.ph-wide img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; display: block; }
@media (max-width: 900px) { .page-hero.media .wrap { grid-template-columns: 1fr; gap: 36px; } .ph-img { aspect-ratio: 4 / 3; justify-self: stretch; } .ph-wide { aspect-ratio: 16 / 10; } }
main.snap > section.photo-band { justify-content: flex-end; }
.photo-band::after { background: linear-gradient(to top, rgba(18,14,24,.88) 0%, rgba(46,26,61,.55) 32%, rgba(46,26,61,.08) 62%, rgba(46,26,61,0) 80%); }
.photo-band .pb-text { padding-block: 64px 80px; }
.pb-quote { text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.photo-band picture.pb-img img { object-position: 50% 35%; }

/* Foto im Rahmen (für Bilder mit begrenzter Auflösung – bleibt scharf) */
.photo-band.contained { display: block; min-height: 0; background: transparent; }
main.snap > section.photo-band.contained { justify-content: center; }
.photo-band.contained::after { display: none; }
.photo-band.contained > .wrap { padding-block: 48px; }
.pb-frame { position: relative; aspect-ratio: 1240 / 765; max-height: 78vh; max-width: 100%; margin-inline: auto; border-radius: 4px; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.pb-frame .pb-img { position: absolute; left: 0; right: 0; top: -6%; height: 112%; z-index: -2; }
.pb-frame .pb-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.pb-frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(18,14,24,.85) 0%, rgba(46,26,61,.45) 30%, rgba(46,26,61,0) 60%); }
.pb-frame::before { content: ""; position: absolute; right: 0; top: 0; width: 12%; aspect-ratio: 1; z-index: 1; background: linear-gradient(225deg, var(--secondary) 0 50%, transparent 50%); }
.pb-frame .pb-text { padding: 0 48px 44px; }
@media (max-width: 760px) { .pb-frame { aspect-ratio: 4 / 5; } .pb-frame .pb-text { padding: 0 22px 26px; } }

/* ---- Bildmodul (einheitlich für alle Fotos) ---- */
figure.pb-frame { margin: 0; }
.pb-frame { aspect-ratio: 16 / 9; max-height: 74vh; border-radius: 6px; box-shadow: 0 30px 60px -30px rgba(46,26,61,.45); }
.pb-frame .pb-img img { filter: saturate(.96) contrast(1.02); }
.pb-frame::after { background: linear-gradient(to top, rgba(23,14,30,.86) 0%, rgba(46,26,61,.42) 34%, rgba(46,26,61,0) 62%); }
.pb-frame .pb-quote { font-size: clamp(26px, 3.4vw, 44px); max-width: 15em; }
.ph-figure { margin: 40px 0 8px; }
.ph-figure .ph-wide { margin-top: 0; border-radius: 6px; aspect-ratio: 16 / 8; }
.ph-figure .ph-wide img { height: 116%; margin-top: -8%; }
@media (max-width: 760px) { .pb-frame { aspect-ratio: 4 / 5; max-height: none; } .ph-figure .ph-wide { aspect-ratio: 4 / 3; } }
.pb-frame .eyebrow { color: rgba(255,255,255,.88); font-size: 12px; text-shadow: 0 1px 10px rgba(0,0,0,.45); }
.pb-frame .eyebrow::before { background: rgba(255,255,255,.7); }
@media (max-width: 760px) { .pb-frame .pb-img img[data-mpos] { object-position: var(--mpos) !important; } }

/* ---- Wasserzeichen auf hellen Flächen: Linien aus dem Logo, sehr zurückhaltend ---- */
.sec, .page-hero { position: relative; overflow: clip; isolation: isolate; }
.sec::before, .page-hero::before { content: ""; position: absolute; z-index: -1; pointer-events: none; background: no-repeat center / contain; transform: translate3d(0, var(--wm, 0px), 0); will-change: transform; }
/* weiße Abschnitte: der offene Rahmen aus dem Logo umfasst den Inhalt und läuft rechts aus dem Bild */
.sec:not(.tint)::before { background: linear-gradient(var(--brand), var(--brand)) left bottom / 30% 1.5px no-repeat; border: 1.5px solid var(--brand); border-right: 0; border-bottom: 0; left: max(10px, calc((100% - var(--wrap)) / 2 - 56px)); right: -2px; top: 52px; bottom: 52px; opacity: .13; transform: none; }
.sec:not(.tint) + .sec:not(.tint)::before { content: none; }
/* getönte Abschnitte: die Diagonale aus dem Zeichen – ein ruhiges Dreieck in etwas dunklerem Ton */
.sec.tint::before, .sec.contact-sec:not(.tint)::before { content: ""; inset: 0; border: 0; width: auto; height: auto; left: 0; right: 0; top: 0; bottom: 0; margin: 0; transform: none; opacity: 1;
  background: linear-gradient(to top left, rgba(46,26,61,.055) 0%, rgba(46,26,61,.035) 60%, rgba(23,58,44,.02) 100%);
  clip-path: polygon(100% 0, 100% 100%, 30% 100%); }
/* Seitenköpfe: großes „NFK“ als Umriss */
.page-hero::before { background-image: url(wm-nfk.svg); width: min(820px, 92vw); aspect-ratio: 126 / 38; right: max(-120px, -8vw); top: 50%; margin-top: min(-124px, -14vw); opacity: .06; }
.page-hero:has(.legal)::before { opacity: .045; }
/* Startseite: Hero hat bereits eigene Grafik */
.hero::before { content: none; }
/* Rechtstexte und Artikel ruhiger */
article.sec::before { opacity: .05; }
@media (max-width: 760px) { .sec:not(.tint)::before { left: 8px; top: 28px; bottom: 28px; opacity: .11; } .sec.tint::before, .sec.contact-sec:not(.tint)::before { clip-path: polygon(100% 40%, 100% 100%, 0 100%); } .page-hero::before { opacity: .05; top: auto; bottom: 8px; margin-top: 0; } }
@media print { .sec::before, .page-hero::before { display: none; } }

/* ---- Dichte statt Leere ---- */
.sec .wrap { padding-block: 104px; }
.band .wrap { padding-block: 104px; }
@media (max-width: 820px) { .sec .wrap, .band .wrap { padding-block: 72px; } }

/* dunkle Bänder: das Zeichen als feiner Umriss, rechts angeschnitten */
.band { position: relative; overflow: clip; isolation: isolate; }
.band::before { content: ""; position: absolute; z-index: -1; pointer-events: none; width: min(560px, 60vw); aspect-ratio: 1; right: max(-200px, -16vw); top: 50%; margin-top: min(-280px, -30vw);
  border: 1.5px solid rgba(255,255,255,.10); background: linear-gradient(to top left, rgba(255,255,255,.045) 50%, transparent 50.1%); transform: translate3d(0, var(--wm, 0px), 0); }
.band::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: min(560px, 60vw); aspect-ratio: 1; right: max(-200px, -16vw); top: 50%; margin-top: min(-280px, -30vw);
  background: linear-gradient(to top left, transparent calc(50% - 1px), rgba(255,255,255,.12) 50%, transparent calc(50% + 1px)); transform: translate3d(0, var(--wm, 0px), 0); }
.band.green::before { border-color: rgba(127,181,156,.16); background: linear-gradient(to top left, rgba(127,181,156,.06) 50%, transparent 50.1%); }

/* feine Körnung auf den hellen Flächen – wirkt wie hochwertiges Papier */
.sec, .page-hero { background-image: url(grain.png); background-size: 180px; }
.sec.tint, .sec.contact-sec { background-color: var(--tint); background-image: url(grain.png); background-size: 180px; }

/* News */
.news-card .top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.news-card .tag { color: var(--accent); }
.news-card time { font-size: 13px; color: var(--muted); }
.news-card h3 a { color: inherit; text-decoration: none; }
.news-card h3 a:hover { color: var(--accent); }
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.news-filter button { font: inherit; font-size: 14px; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--raised); color: var(--ink); cursor: pointer; }
.news-filter button.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.news-card[hidden] { display: none; }
.news-rss { margin-top: 28px; font-size: 14px; }
.news-rss a { color: var(--muted); }

/* ---- Seitenaufbau beim Scrollen ---- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; will-change: transform; transform-origin: 0 100%; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 20; pointer-events: none; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand), var(--accent) 60%, var(--secondary)); }
/* Rahmenlinien zeichnen sich von links oben */
html.motion .sec:not(.tint)::before { clip-path: inset(0 calc((1 - var(--draw, 1)) * 100%) calc((1 - var(--draw, 1)) * 100%) 0); }
/* Diagonal-Flächen schieben sich herein */
html.motion .sec.tint::before, html.motion .sec.contact-sec:not(.tint)::before { transform: translate3d(calc((1 - var(--draw, 1)) * 40%), 0, 0); opacity: var(--draw, 1); }
/* Trennlinien in Listen ziehen sich auf */
html.motion .rows li { border-top-color: transparent; background: linear-gradient(rgba(185,163,209,.3), rgba(185,163,209,.3)) 0 0 / calc(var(--line, 1) * 100%) 1px no-repeat; }
html.motion .steps li { border-top-color: transparent; background: linear-gradient(var(--secondary), var(--secondary)) 0 0 / calc(var(--line, 1) * 100%) 3px no-repeat; }
/* Bildrahmen: Zoom am Foto selbst, Verschiebung am Rahmen */
.pb-frame .pb-img img { transform-origin: 50% 50%; will-change: transform; }

/* ---- Sonderwunschportal: schematische Ansicht (keine echten Daten) ---- */
.sw-mock { background: var(--raised); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 30px 60px -30px rgba(46,26,61,.45); overflow: hidden; font-size: 12px; }
.sw-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--brand); color: #fff; font-weight: 600; letter-spacing: .02em; }
.sw-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.35); }
.sw-bar span { margin-left: 8px; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sw-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px; background: var(--tint); }
.sw-col b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.sw-card { background: var(--raised); border: 1px solid var(--line); border-left: 3px solid var(--line); border-radius: 4px; padding: 8px 9px; margin-bottom: 8px; line-height: 1.35; color: var(--ink); font-weight: 600; }
.sw-card s { display: block; text-decoration: none; font-weight: 500; color: var(--muted); font-size: 10.5px; }
.sw-card em { display: block; font-style: normal; font-weight: 500; color: var(--accent); font-size: 10.5px; margin-top: 4px; }
.sw-card.hot { border-left-color: var(--accent); }
.sw-card.ok { border-left-color: var(--secondary); }
.card.proj.sw { border-top: 3px solid var(--brand); }
@media (max-width: 760px) { .sw-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
