/* ==========================================================
   NIC Funnels (z. B. Investorenbox)
   Baut auf style.css auf (Farben, Schriften, .btn, .eyebrow, .lead, .field, .textlink).
   Eigene Bausteine mit Präfix fn-. Ruhig, editorial, ohne Navigation.
   ========================================================== */

.fn { --fn-max: 1240px; background: var(--paper); }
.fn main.fn-main { padding-top: 0; }
.fn-wrap { width: 100%; max-width: var(--fn-max); margin: 0 auto; padding: 0 var(--gutter); }
.fn [hidden] { display: none !important; }
.fn em { font-style: italic; }
.fn h1, .fn h2, .fn h3 { overflow-wrap: break-word; }
.fn h1 em, .fn h2 em { color: var(--burgundy); }

/* Produktbilder haben einen weißen Grund: multiply lässt ihn im Cremeton der Seite verschwinden.
   Dafür braucht der Abschnitt selbst eine Hintergrundfarbe (der Body-Hintergrund zählt hier nicht). */
.fn-hero, .fn-section { background: var(--paper); }
/* Die Box im Hero hat den Papierton schon im Bild (investorenbox-box-paper.jpg), Schatten läuft weich aus */
.fn-peek__visual img, .fn-dialog__box { mix-blend-mode: multiply; }

/* ---------- Kopfzeile ---------- */
.fn-header { position: relative; z-index: 5; border-bottom: 1px solid var(--line); background: var(--paper); }
.fn-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.fn-logo img { height: 42px; width: auto; }
.fn-header__cta { color: var(--burgundy); }

/* ---------- Hero ---------- */
/* Desktop: alles Wichtige (Überschrift, Kennzahlen, Button, Box) auf dem ersten Bildschirm */
.fn-hero { padding: clamp(28px, 4vh, 56px) 0 clamp(40px, 5vh, 72px); }
@media (min-width: 961px) { .fn-hero { min-height: calc(100vh - 77px); min-height: calc(100svh - 77px); display: flex; align-items: center; } .fn-hero > .fn-wrap { width: 100%; } }
.fn-hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.fn-hero h1 { font-size: clamp(1.9rem, min(3.2vw, 6.4vh), 3.2rem); line-height: 1.08; margin-bottom: .4em; hyphens: manual; }
.fn-product {
  display: flex; align-items: center; gap: 16px; margin: 0 0 12px;
  font-family: var(--serif); font-size: clamp(1.15rem, 1.4vw, 1.4rem); letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
}
.fn-product::before { content: ""; width: 36px; height: 1px; background: var(--gold); flex-shrink: 0; }
.fn-hero .lead { max-width: 34em; }
.fn-hero__visual { margin: 0; position: relative; }
.fn-hero__visual img { width: 100%; max-width: 480px; margin: 0 auto; }
@media (min-width: 961px) { .fn-hero__visual img { width: auto; max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); } }

.fn-stats { list-style: none; margin: 22px 0 26px; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 8px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fn-stats li {
  font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: baseline; gap: 10px; padding-right: 22px; margin-right: 22px; border-right: 1px solid var(--line);
}
.fn-stats li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.fn-stats strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; letter-spacing: 0; color: var(--burgundy); line-height: 1; }

.fn-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.fn-cta--center { align-items: center; margin-top: clamp(40px, 5vw, 64px); }
.fn-cta__note { margin: 0; font-size: .86rem; color: var(--muted); }
.fn-cta__note::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; transform: rotate(45deg) translateY(-2px); background: var(--gold); }
/* Raute und Text nebeneinander: eine zweite Zeile beginnt bündig unter dem Text, nicht unter der Raute */
.fn-cta__note:has(> span) { display: flex; align-items: baseline; }
.fn-cta__note:has(> span)::before { flex-shrink: 0; }
.fn-cta__note:has(> span) > span { flex: 1 1 auto; min-width: 0; }
.fn-br-m { display: none; }

/* ---------- Abschnitte ---------- */
.fn-section { padding: clamp(72px, 10vw, 140px) 0; }
.fn-section--white { background: var(--warm-white); }
.fn-intro { max-width: 820px; margin-bottom: clamp(40px, 5vw, 72px); }
.fn-intro h2 { font-size: clamp(1.95rem, 3.6vw, 3.2rem); }
.fn-count { margin: 26px 0 0; font-size: .72rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.fn-count__i { white-space: nowrap; }
.fn-count__sep { color: var(--gold); padding: 0 .6em; }
.fn-num { font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--gold-text); }

.fn-cols { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.fn-cols li { border-top: 1px solid var(--gold); padding-top: 28px; }
.fn-cols h3 { font-size: clamp(1.3rem, 1.7vw, 1.6rem); margin: 18px 0 .55em; }
.fn-cols--plain h3 { margin-top: 0; }
.fn-cols--4 { grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 44px); }
@media (max-width: 1180px) { .fn-cols--4 { grid-template-columns: repeat(2, 1fr); } }

/* Zweispaltig: Überschrift links, Text rechts */
.fn-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.fn-split h2 { font-size: clamp(1.9rem, 3.2vw, 2.9rem); }
.fn-prose p { margin: 0 0 1em; }
.fn-prose p:last-child { margin-bottom: 0; }
.fn-prose__key { font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.35; color: var(--burgundy); padding-left: 22px; border-left: 1px solid var(--gold); margin: 1.4em 0 !important; }
.fn-hero__sub { color: var(--muted); margin: 0 0 4px; max-width: 34em; }
.fn-peek__label { margin: 26px 0 0; font-weight: 500; }
.fn-peek__label + .fn-highlights { margin-top: 14px; }
.fn-cta--spaced { margin-top: 28px; }
.fn-final__product { margin: 30px 0 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.4vw, 1.4rem); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.fn-signoff small { font-size: .86rem; color: var(--muted); }
.fn-cols p { color: var(--muted); margin: 0; }

/* ---------- Einblick ---------- */
.fn-peek { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.fn-peek__visual { margin: 0; }
.fn-peek__visual img { width: 100%; max-width: 600px; }
.fn-peek h2 { font-size: clamp(1.85rem, 3.1vw, 2.8rem); }
.fn-highlights { list-style: none; margin: 34px 0 30px; padding: 0; }
.fn-highlights li { border-top: 1px solid var(--line); padding: 20px 0 20px 28px; position: relative; }
.fn-highlights li::before { content: ""; position: absolute; left: 2px; top: 30px; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
.fn-highlights h3 { font-size: 1.3rem; margin: 0 0 .3em; }
.fn-highlights p { margin: 0; color: var(--muted); }

/* ---------- Vertrauen ---------- */
.fn-trust { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.fn-trust__visual { margin: 0; }
.fn-trust__visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.fn-trust__visual figcaption { margin-top: 12px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fn-trust h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.fn-signoff { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--gold); display: flex; flex-direction: column; gap: 6px; }
.fn-signoff span { font-size: .7rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--burgundy); }
.fn-signoff em { font-family: var(--serif); font-size: 1.25rem; }

/* ---------- Abschluss ---------- */
.fn-final { background: var(--burgundy-deep); color: var(--paper); padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.fn-final::before { content: ""; position: absolute; inset: clamp(14px, 2vw, 24px); border: 1px solid rgba(191, 159, 98, .35); pointer-events: none; }
.fn-final__inner { max-width: 880px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.fn-final__inner > div { width: 100%; }
.fn-final h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.fn-final h2 em { color: var(--gold-light); }
.fn-final .lead { color: var(--muted-light); margin: 0 auto; }
.fn-final .fn-cta { align-items: center; margin-top: 34px; }
.fn-final .fn-cta__note { color: var(--muted-light); }
.fn-count--light { color: var(--muted-light); }
.fn-count--light .fn-count__sep { color: var(--gold-light); }
.fn-final__ornament { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.fn-final__ornament::before, .fn-final__ornament::after { content: ""; width: 56px; height: 1px; background: var(--gold-light); opacity: .7; }
.fn-final__ornament span { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-light); }
.btn--light { background: var(--paper); color: var(--burgundy-deep); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }

/* ---------- FAQ ---------- */
.fn-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.fn-faq .fn-intro { margin-bottom: 0; }
.fn-faq__list details { border-top: 1px solid var(--line); }
.fn-faq__list details:last-child { border-bottom: 1px solid var(--line); }
.fn-faq__list summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-family: var(--serif); font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.35; }
.fn-faq__list summary::-webkit-details-marker { display: none; }
.fn-faq__list summary::after { content: "+"; color: var(--burgundy); font-family: var(--sans); font-weight: 300; font-size: 1.5rem; line-height: 1; transition: transform .4s var(--ease); }
.fn-faq__list details[open] summary::after { transform: rotate(45deg); }
.fn-faq__list p { margin: 0; padding: 0 40px 24px 0; color: var(--muted); }

/* ---------- Fußzeile ---------- */
.fn-footer { background: var(--ink); color: var(--muted-light); padding: 44px 0 40px; font-size: .84rem; }
.fn-footer__note { max-width: 46em; margin: 0 0 22px; }
.fn-footer__links { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: 10px 28px; }
.fn-footer a { text-decoration: none; }
.fn-footer a:hover { color: var(--paper); }

/* ---------- Formular im Dialog ---------- */
.fn-dialog {
  width: min(960px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-top: 2px solid var(--burgundy);
  background: var(--warm-white); color: var(--ink); overflow: auto;
}
.fn-dialog::backdrop { background: rgba(18, 16, 16, .62); }
.fn-dialog[open] { animation: fn-in .45s var(--ease-slow) both; }
@keyframes fn-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fn-dialog__grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; }
.fn-dialog__box { width: 100%; padding: 40px 0 40px 40px; }
.fn-dialog__close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  font-size: 1.8rem; line-height: 1; color: var(--ink);
}
.fn-dialog__close:hover { color: var(--burgundy); }
.fn-form { padding: clamp(36px, 5vw, 56px); }
.fn-form h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; }
.fn-form .eyebrow { margin-bottom: 18px; }
.fn-form__text { color: var(--muted); margin-bottom: 26px; }
.fn-form .btn { width: 100%; margin-top: 8px; }
.fn-form .btn[disabled] { opacity: .6; cursor: progress; }
.fn-form__privacy { margin: 18px 0 14px; font-size: .8rem; line-height: 1.6; color: var(--muted); }
.fn-form__privacy a { color: var(--burgundy); }
.fn-phone { display: grid; grid-template-columns: 112px 1fr; gap: 14px; }
.fn-phone select { min-height: 54px; }
.fn-consent + .fn-consent { margin-top: 12px; }
.fn-consent { display: flex; gap: 12px; align-items: flex-start; font-size: .8rem; line-height: 1.6; color: var(--muted); cursor: pointer; }
.fn-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--burgundy); flex-shrink: 0; }
.fn-hint { margin: 8px 0 0; font-size: .8rem; color: var(--muted); }
.fn-hint--key { color: var(--ink, #1f1a17); }
.fn-hint--key strong { color: #7a1428; }
.fn-error { margin: 8px 0 0; font-size: .82rem; color: #9b1c1c; }
.field input[aria-invalid="true"] { border-bottom-color: #9b1c1c; }
.fn-form__status { margin: 18px 0 0; padding: 14px 16px; border-left: 2px solid #9b1c1c; background: var(--paper); font-size: .9rem; }
.fn-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Danke-Seite ---------- */
.fn-thanks .fn-cta__note { margin-top: 18px; }
.fn-thanks .fn-notice { margin-top: 28px; }
.fn-notice p + p { margin-top: 10px; }
.fn-notice a { color: var(--burgundy); }
.fn-phone-show { font-weight: 500; color: var(--ink); white-space: nowrap; }
.fn-linkbtn { padding: 0; border: 0; background: none; font: inherit; color: var(--burgundy); text-decoration: underline; cursor: pointer; }
.fn-linkbtn[disabled] { opacity: .5; cursor: default; }
.fn-resend-status:empty { display: none; }
.fn-notice { padding: 20px 22px; border-left: 2px solid var(--burgundy); background: var(--warm-white); margin-bottom: 20px; }
.fn-notice .btn { margin-top: 16px; }
.fn-mailnote { margin-top: 22px; font-size: .92rem; color: var(--muted); }
.fn-paths { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.fn-path { display: flex; flex-direction: column; gap: 10px; padding: clamp(28px, 3.5vw, 44px); border: 1px solid var(--line); text-decoration: none; transition: border-color .4s var(--ease), background .4s var(--ease); }
.fn-path:hover { border-color: var(--burgundy); background: var(--paper); }
.fn-path__label { font-size: .66rem; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--burgundy); }
.fn-path__title { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.2; }
.fn-path__text { color: var(--muted); }
.fn-path .textlink { align-self: flex-start; margin-top: 6px; color: var(--burgundy); }

/* ---------- Tablet und Smartphone ---------- */
@media (max-width: 960px) {
  .fn-hero__grid, .fn-peek, .fn-trust, .fn-faq, .fn-split { grid-template-columns: 1fr; }
  .fn-cols { grid-template-columns: 1fr; gap: 0; }
  .fn-cols li { padding: 26px 0 30px; }
  .fn-peek__visual { order: 2; }
  .fn-trust__visual { max-width: 420px; }
}
@media (max-width: 720px) {
  .fn-header__inner { min-height: 64px; }
  .fn-logo img { height: 34px; }
  .fn-header__cta { font-size: .64rem; letter-spacing: .18em; }
  .fn-hero { padding-top: 32px; }
  /* Smartphone: Headline und Button zuerst, die Box darunter groß */
  .fn-hero__grid { gap: 8px; }
  .fn-hero__visual img { max-width: 92%; }
  /* Startseite am Handy: Überschrift, Box, Kernsatz und Button auf dem ersten Bildschirm */
  .fn-hero:not(.fn-thanks) { padding-top: 22px; padding-bottom: 48px; }
  .fn-hero:not(.fn-thanks) .fn-hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .fn-hero:not(.fn-thanks) .fn-hero__text { display: contents; }
  .fn-hero:not(.fn-thanks) .eyebrow { order: 1; font-size: .6rem; letter-spacing: .2em; margin-bottom: 12px; }
  .fn-hero:not(.fn-thanks) h1 { order: 2; font-size: clamp(1.7rem, 7.4vw, 2.15rem); line-height: 1.12; margin-bottom: 0; }
  .fn-hero:not(.fn-thanks) .fn-hero__visual { order: 3; margin: 6px 0 4px; text-align: center; }
  .fn-hero:not(.fn-thanks) .fn-hero__visual img { width: auto; max-width: 100%; max-height: 32vh; max-height: 32svh; }
  .fn-hero:not(.fn-thanks) .lead { order: 4; font-size: 1.02rem; line-height: 1.6; margin-bottom: 18px; max-width: none; text-wrap: pretty; }
  .fn-hero:not(.fn-thanks) .fn-hero__sub { max-width: none; text-wrap: pretty; }
  .fn-hero:not(.fn-thanks) h1 { text-wrap: balance; }
  .fn-hero:not(.fn-thanks) .fn-cta { order: 5; }
  .fn-br-m { display: inline; }
  /* Kennzahlen-Zeile am Handy: jede Angabe in eigener Zeile, keine Zeile beginnt mit einem Punkt */
  .fn-count { display: flex; flex-direction: column; gap: 8px; line-height: 1.5; }
  .fn-count__sep { display: none; }
  .fn-final .fn-count { align-items: center; }
  .fn-hero:not(.fn-thanks) .fn-cta__note { width: 100%; font-size: .84rem; }
  .fn-hero:not(.fn-thanks) .fn-stats { order: 6; margin: 30px 0 22px; }
  .fn-hero:not(.fn-thanks) .fn-hero__sub { order: 7; }
  /* Kennzahlen: drei gleich breite Spalten, Zahl über der Beschriftung */
  .fn-stats { margin: 24px 0 28px; display: grid; grid-template-columns: repeat(3, 1fr); }
  .fn-stats li { flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 0 6px; margin: 0; letter-spacing: .12em; font-size: .6rem; line-height: 1.4; }
  .fn-stats strong { font-size: 1.7rem; }
  .fn-cta .btn, .fn-form .btn { width: 100%; padding-left: 16px; padding-right: 16px; letter-spacing: .07em; font-size: .66rem; text-align: left; gap: 12px; white-space: nowrap; justify-content: center; }
  .fn-paths { grid-template-columns: 1fr; }
  .fn-cols--4 { grid-template-columns: 1fr; }
  .fn-dialog { width: 100%; max-width: 100%; max-height: 100%; height: 100%; margin: 0; }
  .fn-dialog__grid { grid-template-columns: 1fr; }
  .fn-dialog__box { display: none; }
  .fn-form { padding: 56px var(--gutter) 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .fn-dialog[open] { animation: none; }
}
/* Sehr schmale Handys: Buttontext darf umbrechen */
@media (max-width: 350px) { .fn-cta .btn, .fn-form .btn { white-space: normal; } }
/* Formular: Vor- und Nachname nebeneinander */
.fn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 340px) { .fn-row { grid-template-columns: 1fr; } }
.fn-consent--optout { font-size: .74rem; }
