/* BERÒ: Schriften und Farben laut Markenhandbuch v2 (04.11.2026), nach der Taste-Skill-Systemdatei geladen */

@font-face {
  font-family: 'Source Sans 3';
  src: url('/fonts/source-sans-3.woff2') format('woff2');
  font-weight: 300 600;
  font-display: swap;
}
@font-face {
  font-family: 'Tenor Sans';
  src: url('/fonts/tenor-sans.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

/* start.mjs brand: Weiß, Nebel, Text, Mittelgrau, Graphit. Dunkle Flächen in Graphit (Markenhandbuch). */
:root {
  --p-bg: #ffffff; --p-surface: #f1f1f2; --p-ink: #4e5054; --p-muted: #64676b;
  --p-accent: #33312f; --p-accent-ink: #ffffff; --p-action: #33312f; --p-action-ink: #ffffff;
  --p-inv-bg: #33312f; --p-inv-surface: #3f3d3b; --p-inv-ink: #ffffff; --p-inv-muted: #c9c9ca;
  --p-inv-accent: #ffffff; --p-inv-accent-ink: #33312f; --p-inv-action: #ffffff; --p-inv-action-ink: #33312f;
  --font-display: "Source Sans 3", system-ui, sans-serif;
  --font-text: "Source Sans 3", system-ui, sans-serif;
  --display-weight: 400;
  --display-tracking: -0.02em;
  --display-tracking-xl: -0.03em;
}

/* Überschriften in Graphit */
h1, h2, h3 { color: #33312f; }
.ground-inverse :is(h1, h2, h3) { color: var(--p-inv-ink); }

/* Wortmarke: Original-SVG, nicht verändert */
.nav__logo img { height: 24px; width: auto; display: block; }
.footer .nav__logo img { height: 28px; }
@media (max-width: 639px) { .nav__logo img { height: 20px; } }

/* Tenor Sans laut Markenhandbuch: Versalien, gesperrt 0,12–0,3 em, für Navigation, Labels, Eyebrows und kurze Zwischenzeilen.
   Fließtext, Buttons, Formularfelder und Zahlen bleiben in Source Sans 3. */
.nav__links .nav__link,
.hero__kicker,
.t-label,
.footer .closing__links .footer__col h3,
.ly-float__row,
.compare [role="columnheader"],
.lockup__sub {
  font-family: 'Tenor Sans', var(--font-text);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  line-height: 1.5;
}
.nav__links .nav__link { font-size: 12px; letter-spacing: 0.18em; }
.lockup__sub { letter-spacing: 0.2em; font-size: 13px; color: var(--p-muted); }
.hero__kicker, .t-label, .footer__col h3 { color: var(--p-muted); }
.ground-inverse .t-label { color: var(--p-inv-muted); }
.compare [role="columnheader"] { color: var(--p-muted); }
/* Handy-Menü: größere Zeilen, gleiche Schrift */
@media (max-width: 1023px) { .nav.is-open .nav__links .nav__link { font-size: 15px; letter-spacing: 0.16em; } }

/* picture-develops: das eine Foto der Team-Sektion */
.develop { margin: 0; border-radius: var(--r-lg); overflow: hidden; height: min(620px, var(--ly-fit, 620px)); }
.develop > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
@media (max-width: 1023px) { .develop { height: auto; aspect-ratio: 4 / 3; margin-top: var(--s-7); } }

/* Ablauf: Fotos in den Schritt-Karten */
#ablauf .panel { --p-h: 300px; }
#ablauf .panel .frame__img { object-position: 50% 30%; }
@media (max-width: 639px) { #ablauf .panel { --p-h: 200px; } }

/* Anfrage: das Foto unter dem Text; auf dem Handy füllt es die zwei Bildschirme des Abschnitts */
#anfrage .panel { --p-h: 320px; }
#anfrage .panel .frame__img { object-position: 50% 40%; }
@media (max-width: 639px) { #anfrage .panel { --p-h: 660px; } }

/* Vergleichstabelle */
.compare { display: grid; }
.compare [role="row"] { padding-block: var(--s-4); border-bottom: 1px solid var(--line); align-items: start; }
.compare [role="row"]:first-child { padding-top: 0; }
.compare [role="rowheader"] { font-weight: 500; }
/* Einwilligung: Text zuerst, das Kästchen darunter auf derselben Linie */
.field--check { gap: var(--s-2); }
.field--check input[type="checkbox"] { width: 24px; height: 24px; margin: 0; accent-color: #33312f; }

@media (max-width: 639px) {
  .compare [role="row"] { display: block; }
  .compare [role="row"] > * { display: block; margin: 0; padding: 0; }
  .compare [role="row"]:first-child { display: none; }
  .compare [role="cell"]::before { content: attr(data-label); display: block; color: var(--p-muted); font-size: var(--t-small); }
}

/* Schnell-Check im Hero */
.check { margin-top: var(--s-6); padding: var(--s-5); background: #ffffff; border: 1px solid #d9dadb; border-radius: var(--r-md); max-width: 519px; }
.check__step { margin: 0 0 var(--s-3); }
.check__q { border: 0; margin: 0; padding: 0; min-width: 0; }
.check__q[hidden] { display: none; }
.check__q legend { padding: 0; margin-bottom: var(--s-3); font-size: var(--t-lead); color: #33312f; font-weight: 500; }
.check__opts { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.check__opt {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-4);
  font: 500 16px/1 var(--font-text); color: #33312f; text-decoration: none;
  background: #f1f1f2; border: 1px solid #f1f1f2; border-radius: var(--r-btn, 4px); cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
}
.check__opt:hover { border-color: #33312f; }
.check__opt:active { transform: translateY(1px); }
.check__opts--ort { flex-wrap: nowrap; }
.check__opts--ort input {
  flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 var(--s-3);
  font: 400 16px var(--font-text); color: #33312f; background: #fff; border: 1px solid #d9dadb; border-radius: var(--r-sm, 4px);
}
@media (max-width: 639px) {
  .check { padding: var(--s-4); }
  .check__opts { gap: var(--s-2); }
  .check__opt { padding: 0 var(--s-3); }
  .check__opts--ort { display: grid; }
  .check__opts--ort .btn { width: 100%; justify-content: center; }
}

/* ---------- Einstieg: vollflächiges Foto mit dem Ò ---------- */

/* Das Signet allein, groß und ganz, neben der Namensgeschichte */
.statement--signet .signet { width: 100%; max-width: 360px; height: auto; justify-self: end; align-self: center; }
@media (max-width: 1023px) {
  .statement--signet .signet { max-width: 160px; justify-self: start; margin-top: var(--s-7); }
}

/* ---------- Titan: die digitale Übersetzung der Titan-Veredelung ----------
   Nur für feine Details: Punkt vor dem Claim, Trennlinien in Listen, Tabelle und FAQ,
   Schrittnummern, Unterstreichungen bei Hover. Nie für Text (zu wenig Kontrast). */
:root { --titan: #94908a; }

.hero__kicker .dot { background: var(--titan); }
.step-num { border-color: var(--titan); }
.rows > li,
.faq > :is(.faq__item, details),
.compare [role="row"] { border-bottom-color: var(--titan); }
.nav__link::before { background: var(--titan); height: 1px; }
.link { text-decoration-color: var(--titan); }
.link:hover { text-decoration-color: var(--titan); }
.check { border-color: var(--titan); }
.check__opt:hover { border-color: var(--titan); }
.footer .closing__links .footer__col h3 { color: var(--p-muted); }
.footer__legal { border-top-color: var(--titan); }
.ground-inverse .rows > li { border-bottom-color: color-mix(in oklab, var(--titan) 70%, transparent); }

/* Kapitalanleger: ein Querformat über die ganze Breite */
.anleger__foto { --ratio: 42%; margin-top: var(--s-7); }
@media (max-width: 639px) { .anleger__foto { --ratio: 75%; } }

/* Überschriften in Tenor Sans (Groß- und Kleinschreibung), passend zur Wortmarke.
   Tenor hat nur einen Schnitt (400); kleine Zwischentitel (h3) bleiben in Source Sans 3. */
h1, h2, .mo-wh__text, .close__word {
  font-family: 'Tenor Sans', var(--font-text);
  font-weight: 400;
  letter-spacing: -0.01em;
}
h1, h2 { line-height: 1.12; }
#name .mo-wh__text { font-family: 'Tenor Sans', var(--font-text); font-weight: 400; letter-spacing: -0.01em; }

/* Das Ò groß und links angeschnitten auf dem Foto. Der Textblock steht frei auf der Wand,
   das Ò liegt so um ihn herum, dass seine Innenfläche den Text einrahmt. Keine Fläche hinter dem Text. */
.hero--voll .hero__text { position: relative; background: none; padding: 0; }
.hero--voll .hero__text::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background: url('/logo/bero-o-dunkel.svg') center / contain no-repeat;
  width: var(--o-w); aspect-ratio: 95 / 102;
  /* Innenfläche des Ò (Ellipse, links bei 19,8 %, 59,9 % breit, Mitte senkrecht bei 59,8 %) mittig um den Textblock */
  left: calc(var(--o-w) * -0.198 - (var(--o-w) * 0.599 - 100%) / 2);
  top: calc(50% - var(--o-w) * 102 / 95 * 0.598);
}
.hero--voll .hero__text > * { position: relative; z-index: 1; }
.hero--voll #hero-h { color: #33312f; margin: 0; }
.voll__namen {
  margin: var(--s-4) 0 0; font-family: 'Tenor Sans', var(--font-text); text-transform: uppercase;
  letter-spacing: .16em; font-size: 12px; color: #33312f;
}
.hero--voll .check { background: none; border: 0; padding: 0; margin-top: var(--s-6); }
.hero--voll .check__step, .hero--voll .check__q legend { color: #33312f; }
.hero--voll .check__opt { background: rgb(255 255 255 / .8); border-color: transparent; }
.hero--voll .check__opt:hover { background: #fff; border-color: var(--titan); }
@media (min-width: 1024px) {
  /* Ò so groß, dass der ganze Textblock (Überschrift, Namen, Schnell-Check) mit Abstand in seiner Innenfläche liegt */
  .hero--voll .hero__text { --o-w: 1080px; width: 360px; transform: translateY(120px); }
  .hero--voll #hero-h { font-size: 36px; line-height: 1.12; }
}
@media (max-width: 1023px) {
  /* Handy und Tablet: nur Überschrift und Namen im Ò, der Schnell-Check darunter */
  .hero--voll .hero__text { width: 100%; margin: 230px 0 48px; }
  .hero--voll .hero__text::before { display: none; }
  .voll__kopf { position: relative; --o-w: 560px; width: 270px; margin: 0 auto; text-align: center; }
  .voll__kopf::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    background: url('/logo/bero-o-dunkel.svg') center / contain no-repeat;
    width: var(--o-w); aspect-ratio: 95 / 102;
    left: calc(var(--o-w) * -0.198 - (var(--o-w) * 0.599 - 100%) / 2);
    top: calc(50% - var(--o-w) * 102 / 95 * 0.598);
  }
  .hero--voll #hero-h { font-size: 27px; line-height: 1.15; }
  .hero--voll .check { margin-top: 190px; }
  .hero--voll .check__opt { background: #f1f1f2; }
}

/* Foto leicht vergrößert, links verankert: Sie beide rücken nach rechts, die Wand links wird breiter */
@media (min-width: 1024px) {
  .hero--voll > .hero__bg { width: 140%; left: 0; right: auto; object-position: 0% 40%; }
}
.nobr { white-space: nowrap; }

/* Referenz: ein großes Bild, zwei kleine gestapelt, gleiche Gesamthöhe */
.ref__grid { align-items: stretch; }
.ref__gross { --ratio: 60%; }
.ref__stapel { display: grid; grid-template-rows: 1fr 1fr; gap: var(--gutter, 24px); }
.ref__stapel .frame { height: 100%; }
@media (max-width: 1023px) {
  .ref__grid { grid-template-columns: minmax(0, 1fr); }
  .ref__grid > * { grid-column: 1 / -1; }
  .ref__stapel { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .ref__stapel .frame { --ratio: 75%; }
}

/* Handy: Einstieg kompakt, damit Foto, Ò mit Überschrift und Schnell-Check in den ersten Bildschirm passen */
@media (max-width: 639px) {
  .hero--voll { --photo: 26svh; }
  .hero--voll .hero__text { margin: 128px 0 0; }
  .voll__kopf { --o-w: 410px; width: 220px; }
  .hero--voll #hero-h { font-size: 22px; line-height: 1.18; }
  .voll__namen { margin-top: var(--s-2); font-size: 11px; }
  .hero--voll .check { margin-top: 118px; }
  .hero--voll .check__step { display: none; }
  .hero--voll .check__q legend { font-size: 17px; margin-bottom: var(--s-2); }
  .hero--voll .check__opt { min-height: 44px; padding: 0 var(--s-3); font-size: 15px; }
}

/* Das vergrößerte Hero-Foto bleibt im Abschnitt: kein seitliches Scrollen */
.hero--voll { overflow: clip; }
/* Sehr kleine Handys: der Button oben rechts passt in die Breite */
@media (max-width: 359px) { .nav__actions .btn { padding: 0 var(--s-3); font-size: 14px; } }

/* Vorstellung: das Foto läuft bis an den rechten Bildschirmrand und die Unterkante des Abschnitts */
#team { overflow: clip; }
@media (min-width: 1024px) {
  #team .develop {
    height: calc(100svh - var(--padt));
    margin-right: calc((100vw - min(100vw - 2 * var(--gut), 1280px)) / -2);
    border-radius: var(--r-lg) 0 0 0;
  }
}
@media (max-width: 1023px) {
  #team .develop {
    margin-inline: calc(-1 * var(--gut));
    margin-bottom: calc(-1 * (var(--padb) + var(--bar, 0px)));
    border-radius: 0;
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  #team { position: relative; }
  #team .develop { position: absolute; left: calc(-1 * var(--gut)); right: calc(-1 * var(--gut)); bottom: calc(-1 * var(--padb)); height: 46svh; margin: 0; aspect-ratio: auto; }
}

/* Impressum-Angaben in der Fußzeile, WhatsApp am Formular und als Handy-Leiste */
.footer__impressum { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); font-style: normal; }
.footer__impressum a:hover { color: var(--action); }
.anfrage__wa { margin-bottom: var(--s-6); }
.wa-leiste { display: none; }
@media (max-width: 639px) {
  .wa-leiste {
    display: flex; align-items: center; justify-content: center;
    position: fixed; inset: auto 0 0 0; z-index: 50;
    min-height: 52px; padding-bottom: env(safe-area-inset-bottom);
    background: var(--p-action); color: var(--p-action-ink);
    font-weight: 600;
  }
  body { padding-bottom: calc(52px + env(safe-area-inset-bottom)); }
}

/* Header-Text in Graphit */
.nav .nav__link { color: #33312f; }

/* Instagram-Hinweis mit Handlungsaufforderung */
.instagram { margin-top: var(--s-6); display: grid; gap: var(--s-4); justify-items: start; }
.instagram .btn svg { width: 18px; height: 18px; margin-right: var(--s-2); }

/* Impressum und Datenschutz */
.rechtstext > * { max-width: 72ch; }
.rechtstext h1 { margin-bottom: var(--s-7); max-width: none; hyphens: manual; }
.rechtstext h2 { font-size: var(--t-h3); margin: var(--s-7) 0 var(--s-3); }
.rechtstext h3 { font-size: 1.05rem; margin: var(--s-5) 0 var(--s-2); }
.rechtstext p, .rechtstext ul { margin: 0 0 var(--s-3); }
.rechtstext ul { padding-left: 1.2em; list-style: disc; }
.rechtstext a { text-decoration: underline; }
.profil-link { margin-top: var(--s-6); align-self: flex-start; }

/* 404-Seite */
.fehler__aktionen { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

/* Spam-Falle im Anfrageformular: für Menschen unsichtbar */
.feld-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
