/* UPGRADE-1611 (Vorschau, NICHT live; live = v78). Neue Stile für die 12 Punkte von Konstantin. Nur hinzugefügt, nichts aus seite.css entfernt.
   Hero randlos (Foto 53) kommt aus foto-1211/variante-randlos (randlos-1311.css, unverändert übernommen) und steht unten in diesem Block. */

/* ---- 01 Hero: lange Überschrift (Standard und Team) etwas ruhiger gesetzt, damit sie mobil nicht die Seite sprengt */
.hero h1.h1-lang { font-size: clamp(29px, 22.2px + 1.8vw, 48px); line-height: 1.08; text-wrap: balance; }
@media (max-width: 359px) { .hero h1.h1-lang { font-size: 26px; } }

/* ---- 02 Beweisleiste: vierte Zeile ist der ProvenExpert-Link, kein Banner, nicht fest */
.beweis-pe a { color: inherit; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .38); text-underline-offset: 3px; }
.beweis-pe a:hover { text-decoration-color: currentColor; }
.beweis-liste li.beweis-pe, .beweis-liste li.beweis-pe:nth-child(even) { padding-block: 0; }
.beweis-pe a { display: flex; align-items: center; min-height: 44px; }
.beweis-pe a:focus-visible { outline: 2px solid var(--hellblau); outline-offset: 3px; border-radius: 3px; }
@media (min-width: 960px) {
  .beweis-liste:has(.beweis-pe) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---- 02 Beweisleiste mobil: eine Zeile je Punkt, kein Einzelwort in der zweiten Zeile */
@media (max-width: 430px) {
  .beweis-liste li, .beweis-liste li:nth-child(even) { padding: 11px 14px; font-size: 14px; gap: 10px; text-wrap: balance; }
}

/* ---- 03 Fall: lange Überschrift */
.referenz h2 { font-size: clamp(22px, 18.4px + 1vw, 30px); line-height: 1.16; text-wrap: balance; }

/* ---- 04+05 Benefits-Modul: fünf Reiter, ein Feld. Ohne Skript stehen alle fünf Felder untereinander. */
.benefit { padding: 30px 0 34px; background: var(--hell); }
.benefit h2 { font-size: clamp(24px, 21px + .8vw, 36px); line-height: 1.12; }
.ben { display: grid; gap: 14px; margin-top: 22px; }
.ben-tabs { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.ben:not(.ben-js) .ben-tabs { display: none; }
.ben-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--linie); border-radius: 999px; background: var(--weiss); color: var(--text); font: 700 14px/1.2 var(--schrift); cursor: pointer; transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease); }
.ben-tab svg { display: none; flex: none; width: 20px; height: 20px; color: var(--blau-text); }
@media (min-width: 600px) { .ben-tab svg { display: block; } }
.ben-tab[aria-selected="true"] { border-color: var(--marine); background: var(--marine); color: var(--weiss); }
.ben-tab[aria-selected="true"] svg { color: var(--hellblau); }
.ben-tab:active { transform: scale(.97); }
.ben-tab:focus-visible { outline: 2px solid var(--blau); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .ben-tab[aria-selected="false"]:hover { border-color: #b9c6d0; background: var(--blau-zart); } }
.ben-panels { display: grid; gap: 10px; }
.ben-panel { padding: 16px 16px 18px; border: 1px solid var(--linie); border-radius: var(--r); background: var(--weiss); box-shadow: var(--schatten); }
.ben-js .ben-panel { grid-area: 1 / 1; }
.ben-js .ben-panel:not(.ben-an) { visibility: hidden; opacity: 0; pointer-events: none; }
html.bw .ben-js .ben-panel { transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s linear 220ms; }
html.bw .ben-js .ben-panel:not(.ben-an) { transform: translateY(6px); }
html.bw .ben-js .ben-panel.ben-an { transition: opacity 220ms var(--ease), transform 220ms var(--ease), visibility 0s; }
.ben-kern { font-size: clamp(20px, 17.5px + .9vw, 28px); font-weight: 800; line-height: 1.2; letter-spacing: -.015em; font-variant-numeric: lining-nums; text-wrap: balance; }
.ben-text { margin-top: 10px; color: var(--text-2); }
.ben-klein { margin-top: 10px; color: var(--text-2); font-size: 13px; line-height: 1.45; }
@media (min-width: 960px) {
  .ben { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 32px; }
  .ben-tabs { flex-direction: column; align-items: stretch; gap: 8px; }
  .ben-tab { justify-content: flex-start; padding: 10px 16px; border-radius: 14px; }
  .ben-panel { padding: 32px 36px 34px; }
  .ben-text { max-width: 36em; font-size: 18px; }
}

/* ---- 06 Stellenanzeige: Modellhinweis direkt am Betrag, grau und klein, kein Sternchen */
.sa-modell { margin-top: 10px; color: var(--text-2); font-size: 12px; line-height: 1.4; }

/* ---- 07 Zahlblock: Zahl zählt ruhig hoch (js/bewegung.js, nur unter html.bw), Breite und Höhe des Endwerts bleiben stehen */
.eine-zahl .ez-zahl .zahl[data-bw-zaehlen] { font-variant-numeric: lining-nums tabular-nums; }
.ez-modell { max-width: 34em; color: var(--marine-text-2); font-size: 12px; line-height: 1.4; }

/* ---- 08 Überleitung zum Check im Zahlblock */
.band-uebergang { padding-top: 16px; border-top: 1px solid var(--marine-linie); }
.bu-satz { max-width: 26em; font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; text-wrap: balance; }
.bu-text { margin-top: 8px; max-width: 30em; color: var(--marine-text-2); }
@media (min-width: 960px) { .band-uebergang { grid-column: 1 / span 6; } .bu-satz { font-size: 22px; } }

/* ---- 09 Report: fünf echte Seiten aus dem neuen PDF. Mobil wischbar mit Einrasten, ab 960 alle fünf nebeneinander */
.report-raster { gap: 22px; }
.report-seiten { display: flex; gap: 12px; margin: 0 calc(-1 * var(--rand)); padding: 6px var(--rand) 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rand); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.report-seiten figure { flex: 0 0 58%; margin: 0; scroll-snap-align: start; }
.report-seiten img { display: block; width: 100%; height: auto; border-radius: 6px; background: var(--weiss); box-shadow: 0 1px 2px rgb(1 38 65 / .14), 0 16px 30px -16px rgb(1 38 65 / .5); }
.report-seiten:focus-visible { outline: 2px solid var(--blau); outline-offset: -2px; }
.report-liste-neu { margin-top: 0; }
@media (min-width: 640px) { .report-seiten figure { flex-basis: 34%; } }
@media (min-width: 960px) {
  .report-raster { row-gap: 36px; align-items: start; }
  .report-text { grid-column: 1 / span 6; grid-row: 1; }
  .report-liste-neu { grid-column: 7 / span 6; grid-row: 1; }
  .report-seiten { grid-column: 1 / -1; grid-row: 2; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 6px 0 4px; overflow: visible; }
  .report-seiten figure { flex: none; }
}

/* ---- 10 + 11 Über mich: Qualifikationen als Liste, Büro klein mit Bildzeile */
.ueber-quali { grid-column: 1 / -1; display: grid; gap: 6px; margin-top: 14px; }
.ueber-quali li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--text); font-size: var(--t5); font-weight: 700; line-height: 1.35; }
.quali-ic { width: 20px; height: 20px; margin-top: 1px; color: var(--blau); }
.ueber-buero { grid-column: 1 / -1; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; margin: 18px 0 0; }
.ueber-buero img { width: 112px; height: 84px; border-radius: 12px; object-fit: cover; }
.ueber-buero figcaption { color: var(--text-2); font-size: var(--t5); }
@media (min-width: 960px) {
  .ueber-quali { margin-top: 18px; }
  .ueber-buero { grid-template-columns: 168px minmax(0, 1fr); margin-top: 24px; }
  .ueber-buero img { width: 168px; height: 126px; }
}

/* ---- 12 Formular: Foto 56 klein neben der Überschrift, verschwindet mit ihr nach dem Absenden */
.form-foto { float: left; width: 72px; height: 90px; margin: 0 14px 6px 0; overflow: hidden; border-radius: 12px; background: var(--blau-zart); }
.form-foto img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.form-karte .lead-form { clear: both; }
@media (min-width: 960px) { .form-foto { width: 104px; height: 130px; margin-right: 18px; } }

/* ---- Nachbesserung 1 (16.11.): Foto 56 statt Foto 53 am Check, keine doppelte Porträtverwendung.
   Ab 960 zeigt die rechte Seitenfläche des geöffneten Checks Foto 56 (am Laptop); seite.css:857 trug dort noch Foto 53 (= Hero).
   Das Check-Blatt liegt als Vollbild über der Seite, das Formular erscheint erst nach dem Check: beide sind nie zusammen sichtbar. Ab 960 sieht man
   Foto 56 deshalb einmal (Check) und das kleine Bild am Formular entfällt; mobil gibt es keine Seitenfläche, dort bleibt das kleine Bild am Formular. */
@media (min-width: 960px) {
  html[data-nf-check="offen"] .blatt-seite {
    background-image: url("../img/u1611/check-56-720.webp");
    background-image: image-set(url("../img/u1611/check-56-480.webp") 1x, url("../img/u1611/check-56-720.webp") 2x);
    background-position: 50% 14%;
  }
  .form-foto { display: none; }
}

/* ---- Nachbesserung 1: mobil Abstände straffen. Bei 375 px lag die Seite 6 px über 9 Bildschirmen (7.602 px, Grenze 7.596). Kein Inhalt gestrichen:
   Abschnittspolster 40 auf 36 px (ohne Benefits, die haben ihr eigenes), Schluss ebenso, Raster-Abstände Zahlenblock 28 auf 24 und Report 22 auf 18 px. Nur bis 599 px, Tablet bleibt. */
@media (max-width: 599px) {
  .sektion:not(.benefit) { padding-block: 36px; }
  .schluss { padding-block: 36px; }
  .band-raster { gap: 24px; }
  .report-raster { gap: 18px; }
}

/* ---- Nachbesserung 1: Knopf im Schluss ab 960 einzeilig ("Zukunftskanzlei-Report kostenlos sichern" brach bei 360 px Breite um) */
@media (min-width: 960px) {
  .schluss .knopf { width: auto; }
  .schluss .knopf > span { white-space: nowrap; }
}

/* ---- Foto 53 randlos (aus foto-1211/variante-randlos/site/css/randlos-1311.css, Stand 13.11.2026) ---- */
/* VARIANTE "53 randlos" (13.11.2026, NUR VORSCHAU, nicht live): Die Hero-Bühne zeigt statt des Freistellers einen randlosen Ausschnitt des
   Originalfotos 01-d53 (Hotelflur mit warmer Lichtleiste), der weich ins Marine verläuft. Text, Knopf, Höhen und Raster bleiben wie live.
   Das Foto bekommt keinen filter und keine Maske auf dem Gesicht: nur Verlaufsflächen in Marine (#012641) AUF dem Bild, links und unten
   (mobil und Tablet auch oben), das Gesicht liegt immer im klaren Bereich. Die Bildbox ist gleich die Fläche des Verlaufs, damit keine Kante bleibt. */

.hero-bild.hero-randlos { position: relative; overflow: hidden; isolation: isolate; background: var(--marine); }
.hero-bild.hero-randlos img.hero-person {
  position: absolute; inset: 0; top: 0; right: 0; bottom: 0; left: 0;
  width: 100%; height: 100%; max-width: none; transform: none;
  object-fit: cover; object-position: 50% 0;
}
.hero-bild.hero-randlos::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, var(--marine) 0, rgb(1 38 65 / .55) 6%, rgb(1 38 65 / 0) 17%),
    linear-gradient(90deg, var(--marine) 0, rgb(1 38 65 / .82) 8%, rgb(1 38 65 / .38) 22%, rgb(1 38 65 / 0) 42%);
}

/* Mobil: gleiche Höhe wie live (248 px, ab 359 px abwärts 224 px). Die Bildbox sitzt rechts angeschnitten, die Mikrozeile bleibt links daneben
   auf dem Marine-Verlauf. Oben läuft das Bild weich unter den Knopf. */
@media (max-width: 767px) {
  .hero-bild.hero-buehne.hero-randlos { justify-self: end; width: min(330px, calc(100% + var(--rand))); margin: 0 calc(-1 * var(--rand)) 0 0; }
  /* y 28 %: Gesicht rückt nach oben, Kinn bleibt auch bei 360 x 780 über der Cookie-Karte, die Lichtleiste liegt nicht hinter der Mikrozeile */
  .hero-bild.hero-randlos img.hero-person { object-position: 46% 28%; }
  .hero-bild.hero-randlos::after {
    background:
      linear-gradient(180deg, var(--marine) 0, rgb(1 38 65 / 0) 11%),
      linear-gradient(0deg, var(--marine) 0, rgb(1 38 65 / .5) 5%, rgb(1 38 65 / 0) 14%),
      linear-gradient(90deg, var(--marine) 0, rgb(1 38 65 / .85) 9%, rgb(1 38 65 / .35) 24%, rgb(1 38 65 / 0) 42%);
  }
  /* Nur oben links: das Ende der Lichtleiste liegt je nach Breite hinter der ersten Mikro-Zeile. Dunkle Marine-Fläche, die nach unten ausmaskiert
     wird (die Maske sitzt auf dieser Fläche, nie auf dem Foto); Gesicht und Haare bleiben unberührt. isolation:isolate hält die Ebene unter der Mikrozeile. */
  .hero-bild.hero-randlos::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgb(1 38 65 / .94) 0, rgb(1 38 65 / .78) 26%, rgb(1 38 65 / 0) 44%);
    -webkit-mask-image: linear-gradient(180deg, #000 0, #000 15%, transparent 34%);
    mask-image: linear-gradient(180deg, #000 0, #000 15%, transparent 34%);
  }
}

/* Tablet: Bild unter dem Text, rechts angeschnitten, gleiche Höhe wie live (440 px) */
@media (min-width: 768px) and (max-width: 959px) {
  .hero-bild.hero-buehne.hero-randlos { justify-self: end; width: min(560px, calc(100% + var(--rand))); max-width: none; margin: 0 calc(-1 * var(--rand)) 0 0; }
  .hero-bild.hero-randlos::after {
    background:
      linear-gradient(180deg, var(--marine) 0, rgb(1 38 65 / 0) 12%),
      linear-gradient(0deg, var(--marine) 0, rgb(1 38 65 / .5) 5%, rgb(1 38 65 / 0) 14%),
      linear-gradient(90deg, var(--marine) 0, rgb(1 38 65 / .82) 8%, rgb(1 38 65 / .38) 22%, rgb(1 38 65 / 0) 42%);
  }
}

/* Desktop: Bild füllt die rechte Spalte über die volle Hero-Höhe, randlos bis an die Panelkante (rechts, oben, unten) */
@media (min-width: 960px) {
  .hero-bild.hero-buehne.hero-randlos { align-self: stretch; justify-self: stretch; width: auto; max-width: none; height: auto; margin: 0; }
}
