/* ==========================================================
   Kapital-Struktur.de · Funnel A · stil.css
   Stand 22.10.2026
   Marke: „Marke/Markenlogo - verbindlich" und Referenzprofil 5a (Die Grundlinie).
   Farben nur über die Variablen auf :root. Betongrau nur als Fläche, nie als Schrift.
   Verkehrsrot nur als Linie oder Akzent, nie als Fläche.
   ========================================================== */

@font-face {
  font-family: "Archivo Black";
  src: url("schriften/ArchivoBlack-Regular.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --anthrazit: #191A1C;
  --weiss: #FFFFFF;
  --verkehrsrot: #CC0605;
  --dunkelgrau: #4D4D4D;
  --betongrau: #C9C4BA;

  --grundlinie: 4px;
  --schrift-titel: "Archivo Black", "Arial Black", Arial, sans-serif;
  --schrift-text: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --seitenbreite: 1120px;
  --lesebreite: 42rem;
  --rand: 16px;
}

/* ---------- Grundlagen ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--anthrazit);
  font-family: var(--schrift-text);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img,
svg,
iframe { max-width: 100%; }

img {
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--verkehrsrot);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  font-family: var(--schrift-titel);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

/* Obergrenze 30.10.2026 von 3.75rem auf 3.5rem: die Headline mit „morgen" bleibt so am Desktop bei 4 Zeilen (gemessen bei 1280 und 1440 px) */
h1 { font-size: clamp(2.125rem, 1.35rem + 3.3vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.unsichtbar {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Rahmen der Seite ---------- */

.innen {
  max-width: var(--seitenbreite);
  margin: 0 auto;
  padding: 0 var(--rand);
}

.lesebreite { max-width: var(--lesebreite); }

.kopf { padding: 20px 0 8px; }

.wortmarke {
  width: auto;
  height: 24px;
}

/* Die Grundlinie: durchgezogene rote Linie in fester Stärke an der Unterkante jeder Sektion */
.sektion {
  padding: 56px 0;
  border-bottom: var(--grundlinie) solid var(--verkehrsrot);
}

.sektion--flaeche { background: var(--betongrau); }

.sektion--dunkel {
  background: var(--anthrazit);
  color: var(--weiss);
}

.dachzeile {
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 1rem;
}

.etikett {
  margin: 0 0 10px;
  color: var(--dunkelgrau);
  font-weight: 700;
  font-size: 1rem;
}

.sektion--dunkel .etikett { color: var(--weiss); }

.unterzeile {
  margin: 0 0 16px;
  font-family: var(--schrift-titel);
  font-weight: 900;
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem);
  line-height: 1.25;
}

.gross {
  font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  line-height: 1.5;
}

/* senkrechter roter Faden, nur als Linie */
.faden {
  padding-left: 20px;
  border-left: var(--grundlinie) solid var(--verkehrsrot);
}

/* ---------- Kopfbereich (Held) ---------- */

.held { padding: 16px 0 48px; }

.held__raster {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .held { padding: 32px 0 72px; }
  .held__raster {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 56px;
    align-items: start;
  }
  .wortmarke { height: 30px; }
}

/* ---------- Auftragskalkulation (das eine Bild der Anmeldeseite) ---------- */

.kalkulation {
  margin: 0;
  padding: 24px;
  background: var(--betongrau);
}

.kalkulation__titel {
  margin: 0 0 12px;
  font-family: var(--schrift-titel);
  font-weight: 900;
  font-size: 1.25rem;
}

.kalkulation table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.0625rem;
}

.kalkulation th,
.kalkulation td {
  padding: 10px 0;
  border-bottom: 1px solid var(--dunkelgrau);
  text-align: left;
  vertical-align: top;
}

.kalkulation th { font-weight: 400; }

.kalkulation td {
  padding-left: 16px;
  color: var(--dunkelgrau);
  text-align: right;
  white-space: nowrap;
}

.kalkulation .fehlt th { font-weight: 700; }

.kalkulation .fehlt td {
  color: var(--verkehrsrot);
  font-weight: 700;
}

/* Grundlinie als Summenstrich */
.kalkulation .fehlt th,
.kalkulation .fehlt td { border-bottom: var(--grundlinie) solid var(--verkehrsrot); }

.kalkulation__fuss {
  margin: 14px 0 0;
  font-family: var(--schrift-titel);
  font-weight: 900;
  font-size: 1.0625rem;
}

/* ---------- Spalten, Karten, Listen ---------- */

.zwei {
  display: grid;
  gap: 24px;
}

@media (min-width: 800px) {
  .zwei { grid-template-columns: 1fr 1fr; }
}

.karte {
  padding: 24px;
  background: var(--weiss);
  border: 1px solid var(--dunkelgrau);
}

.karte--flaeche {
  background: var(--betongrau);
  border-color: var(--betongrau);
}

.karte h2,
.karte h3 { margin-bottom: 0.4em; }

.schritte {
  display: grid;
  gap: 28px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: schritt;
}

@media (min-width: 900px) {
  .schritte--drei { grid-template-columns: repeat(3, 1fr); }
}

.schritte > li {
  position: relative;
  padding-left: 56px;
  counter-increment: schritt;
}

.schritte > li::before {
  content: counter(schritt);
  position: absolute;
  top: -2px;
  left: 0;
  font-family: var(--schrift-titel);
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 1;
}

.schritte strong { display: block; }

@media (min-width: 900px) {
  .schritte--vier { grid-template-columns: repeat(4, 1fr); }
}

.werte {
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}

.werte > li {
  padding: 10px 0 10px 20px;
  border-left: var(--grundlinie) solid var(--verkehrsrot);
  font-weight: 700;
}

.werte > li + li { margin-top: 8px; }

.preisraster {
  display: grid;
  gap: 24px;
}

@media (min-width: 860px) {
  .preisraster { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}

.stapel {
  display: grid;
  gap: 24px;
  align-content: start;
}

.preis {
  margin: 0 0 16px;
  font-family: var(--schrift-titel);
  font-weight: 900;
  font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  line-height: 1.15;
}

/* Nettopreis klein neben dem Gesamtpreis, rutscht am Handy darunter (Preisangabe brutto, Entscheidung Johann 28.10.2026) */
.preis__netto {
  display: inline-block;
  font-family: var(--schrift-text);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--dunkelgrau);
}

.bezahlen { margin: 28px 0 0; }

.unterschrift {
  margin-top: 16px;
  font-family: var(--schrift-titel);
  font-weight: 900;
}

.lesetipp {
  margin-bottom: 16px;
  color: var(--anthrazit);
}

.ablauf {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ablauf > li {
  padding: 14px 0;
  border-bottom: 1px solid var(--dunkelgrau);
}

.ablauf > li:last-child { border-bottom: 0; }

.ablauf strong { margin-right: 4px; }

.zeilen > p { margin-bottom: 0.4em; }

/* ---------- Knöpfe (Anthrazit mit roter Linie an der Unterkante) ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  background: var(--anthrazit);
  color: var(--weiss);
  border: 0;
  border-bottom: var(--grundlinie) solid var(--verkehrsrot);
  border-radius: 2px;
  font: 700 1.0625rem/1.25 var(--schrift-text);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.knopf:hover { text-decoration: underline; }

.knopf--hell {
  background: var(--weiss);
  color: var(--anthrazit);
  border: 1px solid var(--anthrazit);
  border-bottom: var(--grundlinie) solid var(--verkehrsrot);
}

.knopf[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  text-decoration: none;
}

.knopfreihe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 0;
}

.knopfreihe .knopf {
  flex: 1 1 80px;
  padding-right: 12px;
  padding-left: 12px;
}

@media (min-width: 600px) {
  .knopfreihe .knopf { flex: 0 1 auto; }
}

/* ---------- Formulare ---------- */

.feld { margin: 0 0 24px; }

.feld label,
.feld legend {
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
}

.feld fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.feld input[type="text"],
.feld input[type="email"],
.feld select,
.feld textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  margin: 0 0 10px;
  padding: 12px 14px;
  background: var(--weiss);
  color: var(--anthrazit);
  border: 1px solid var(--dunkelgrau);
  border-radius: 2px;
  font: inherit;
  font-size: 1.0625rem;
}

.feld textarea {
  min-height: 120px;
  resize: vertical;
}

.feld select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--anthrazit) 50%), linear-gradient(135deg, var(--anthrazit) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.nummer {
  font-family: var(--schrift-titel);
  font-weight: 900;
  margin-right: 6px;
}

/* ---------- Einbettungen (WebinarJam, Calendly) ---------- */

.anmeldung {
  max-width: 500px;
  margin: 20px 0 24px;
}

.anmeldung .wj-embed-wrapper { min-height: 220px; }

.calendly-rahmen { margin: 24px 0 0; }

.calendly-rahmen[hidden] { display: none; }

.calendly-rahmen iframe {
  display: block;
  width: 100%;
  height: 1060px;
  border: 0;
  background: var(--weiss);
}

@media (min-width: 900px) {
  .calendly-rahmen iframe { height: 720px; }
}

/* Leicht runde Ecken seit 03.11.2026 (Wunsch Johann: „wirklich nur ein bisschen“), gilt auf /webinar und /ist-zustand */
.portrait {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--betongrau);
  border-radius: 8px;
}

.ueber {
  display: grid;
  gap: 28px;
  align-items: start;
}

@media (min-width: 800px) {
  .ueber { grid-template-columns: 280px minmax(0, 1fr); gap: 48px; }
}

/* ---------- Fuß mit Pflichtblock ---------- */

.fuss {
  padding: 40px 0 48px;
  color: var(--dunkelgrau);
  font-size: 0.875rem;
  line-height: 1.55;
}

.pflichtblock { max-width: 52rem; }

.fuss__links { margin-top: 20px; }

.fuss__links a { color: var(--anthrazit); }

/* ---------- Rechtsseiten ---------- */

.rechtstext h2 {
  margin-top: 1.6em;
  font-size: 1.375rem;
}

.rechtstext h3 {
  margin-top: 1.4em;
  font-size: 1.125rem;
}

.rechtstext ul { padding-left: 1.2em; }

.rechtstext h2:first-child,
.rechtstext .legal > h2:first-child { margin-top: 0; }

.rechtstext .num { margin-right: 10px; }

.rechtstext .contact-block,
.rechtstext .highlight-caps {
  margin: 18px 0 24px;
  padding: 20px;
  background: var(--betongrau);
  border-left: var(--grundlinie) solid var(--verkehrsrot);
}

.rechtstext .highlight-caps {
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
}

/* ---------- Einwilligungsbanner aus /assets/consent.js in Markenfarben ---------- */

body #ks-cookiebanner {
  background: var(--anthrazit);
  color: var(--weiss);
  border-top: 0;
  border-bottom: var(--grundlinie) solid var(--verkehrsrot);
  border-radius: 2px;
  font-family: var(--schrift-text);
}

body #ks-cookiebanner a { color: var(--weiss); }

body #ks-cookiebanner input { accent-color: var(--verkehrsrot); }

body #ks-cookiebanner .ks-opt { background: rgba(255, 255, 255, 0.08); }

body #ks-cookiebanner button {
  background: transparent;
  color: var(--weiss);
  border: 1px solid var(--weiss);
  border-radius: 2px;
}

body #ks-cookiebanner button.ks-voll {
  background: var(--weiss);
  color: var(--anthrazit);
}

body #ks-cookiebanner button:focus-visible { outline-color: var(--verkehrsrot); }

/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 599px) {
  body { font-size: 1.0625rem; }
  .sektion { padding: 44px 0; }
  .schritte > li { padding-left: 44px; }
  .schritte > li::before { font-size: 2rem; }
  .knopfreihe .knopf { font-size: 1rem; }
  .karte,
  .kalkulation { padding: 20px; }
}

/* ---------- Ergänzung 28.10.2026: Ist-Zustand mit Zahlung, Fragebogen, Programm ----------
   Nur neue Klassen, bestehende Regeln bleiben unberührt. Die neuen Seiten laden stil.css?v=20261028. */

/* Grundlinie ganz unten, unter Impressum, Datenschutz und Copyright */
.fuss--grundlinie { border-bottom: var(--grundlinie) solid var(--verkehrsrot); }

.leise {
  color: var(--dunkelgrau);
  font-size: 1rem;
}

/* Drei Zahlungsarten, am Desktop nebeneinander */
.preiskarten {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .preiskarten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.preiskarte {
  display: flex;
  flex-direction: column;
}

.preiskarte .preis {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
}

.preiskarte__knopf {
  margin-top: auto;
  padding-top: 20px;
}

.preiskarte__knopf .knopf { width: 100%; }

/* Auswahl mit Optionsfeldern im Fragebogen */
.auswahl {
  display: grid;
  gap: 8px;
}

.feld .auswahl label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  margin: 0;
  padding: 10px 14px;
  background: var(--weiss);
  border: 1px solid var(--dunkelgrau);
  border-radius: 2px;
  font-weight: 400;
  cursor: pointer;
}

.feld .auswahl label:has(input:checked) { box-shadow: inset 0 0 0 1px var(--anthrazit); }

.auswahl input[type="radio"] {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--verkehrsrot);
}

/* ---------- Ergänzung 30.10.2026: Kundenstimmen (Tresor-Note „Echte Testimonials") ----------
   Nur neue Klassen. Wörtlicher Text, Vorname und Branche, kein Foto, keine Sterne.
   Fassung 2 (30.10.2026 nachmittags, Wunsch Johann): ruhiger Kasten mit kurzem roten Linienstück oben
   (Grundlinie-Motiv), Zitat etwas größer, darunter Vorname in Archivo Black und Branche in Dunkelgrau.
   .stimme auf Betongrau-Sektionen (weißer Kasten), .stimme--flaeche auf weißen Sektionen (grauer Kasten).
   Seiten mit Kundenstimmen laden stil.css?v=20261030b. */

.stimme {
  max-width: var(--lesebreite);
  margin: 0;
  padding: 28px 32px 26px;
  background: var(--weiss);
}

.stimme--flaeche { background: var(--betongrau); }

.stimme::before {
  content: "";
  display: block;
  width: 56px;
  height: var(--grundlinie);
  margin-bottom: 18px;
  background: var(--verkehrsrot);
}

.stimme blockquote {
  margin: 0;
  font-size: 1.1875rem;
  line-height: 1.55;
}

.stimme blockquote p { margin-bottom: 0.75em; }

.stimme blockquote p:last-child { margin-bottom: 0; }

.stimme__wer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 0;
  font-size: 1rem;
  color: var(--dunkelgrau);
}

/* Rundes Foto vor dem Namen, seit 30.10.2026 nur bei Stimmen mit echtem Foto und Freigabe der Person (Note „Echte Testimonials").
   Datei quadratisch 320 x 320, rund macht es border-radius. Seiten laden stil.css?v=20261030c. */
.stimme__bild {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--betongrau);
}

.stimme__name {
  font-family: var(--schrift-titel);
  font-weight: 900;
  color: var(--anthrazit);
}

/* Kundenstimme als Anhang unter einem Text (Über Johann, Bericht): Abstand nach oben */
.lesebreite > .stimme { margin-top: 28px; }

/* Eigene Sektion für eine einzelne Kundenstimme */
.sektion--stimme { padding: 48px 0; }

/* Sprung zum Formular unten, nach den Rechenschritten */
.zwischenruf { margin: 36px 0 0; }

.zwischenruf .knopf { margin-right: 16px; }

.zwischenruf .leise {
  display: inline-block;
  margin: 12px 0 0;
}

@media (max-width: 599px) {
  .stimme { padding: 22px 20px 20px; }
  .stimme blockquote { font-size: 1.0625rem; }
  .zwischenruf .knopf {
    width: 100%;
    margin-right: 0;
  }
}

/* Erster Bildschirm von /webinar seit 02.11.2026: Knopf statt Formular, Foto mit Beleg. /webinar lädt stil.css?v=20261102a. */
.held__knopf { margin: 20px 0 0; }

.held__knopf .leise { margin-top: 10px; }

.held__wer { margin: 20px 0 0; }

.held__wer .stimme__bild { object-position: top; }

.held__spiegel { margin: 20px 0 0; }

/* Kopf von /webinar seit 03.11.2026 (Wunsch Johann: Zielgruppe und Termin gingen über der Headline unter).
   Zielgruppe als eigene Zeile in der Titelschrift mit kurzem roten Linienstück wie bei den Kundenstimmen,
   Termin als Leiste direkt über dem Knopf (Betongrau als Fläche, Rot nur als Linie). /webinar lädt stil.css?v=20261103a. */
.held__fuer {
  margin: 0 0 8px;
  font-family: var(--schrift-titel);
  font-weight: 900;
  font-size: clamp(1rem, 0.9rem + 0.45vw, 1.25rem); /* passt bei 375 px auf 1 Zeile, darunter Umbruch vor „1 bis 10“ */
  line-height: 1.3;
}

.held__fuer::before {
  content: "";
  display: block;
  width: 56px;
  height: var(--grundlinie);
  margin-bottom: 8px;
  background: var(--verkehrsrot);
}

/* Abstände knapp gehalten, damit der erste Knopf am Handy trotz der Terminleiste möglichst weit oben bleibt */
.termin {
  display: inline-block;
  margin: 16px 0 0;
  padding: 7px 16px;
  background: var(--betongrau);
  border-left: var(--grundlinie) solid var(--verkehrsrot);
  font-weight: 700;
  line-height: 1.4;
}

.termin + .held__knopf { margin-top: 10px; }

/* Satz von Johann unter seinem Namen: eingerückt auf die Textkante neben dem Foto (64 px Foto plus 14 px Abstand) */
@media (min-width: 600px) {
  .held__spiegel { padding-left: 78px; }
}
