/* Hermann Prozessagentur – Startseite
   Handy/Tablet (< 1024 px): Aufbau 1:1 nach dem Entwurf (941 px breit), skaliert über --u.
   Desktop (>= 1024 px): 1:1 nach dem Desktop-Entwurf, gedeckelt auf Fenstergröße. */

@font-face {
  font-family: "Open Sans";
  src: url("fonts/open-sans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Unterschrift";
  src: url("fonts/mrs-saint-delafield-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --schwarz: #0d0d0d;
  --weiss: #ffffff;
  --text: #ececec;
  --grau: #c4c4c4;
  --gold: #d4a656;
  --gold-hell: #e6c487;
  --gold-text: #dcb46c;
  --gold-dunkel: #b8882e;
  --linie: #2e2e2e;
  /* einheitliche Ecken aller Buttons: ganz rund (Pillenform) */
  --knopf-radius: 999px;
  /* ein Pixel des Entwurfs */
  --u: calc(100vw / 941);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--schwarz);
  color: var(--text);
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }
img, svg { display: block; }

/* ---------- Kopfzeile ---------- */

.kopf {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  height: calc(117 * var(--u));
  padding: 0 calc(38 * var(--u)) 0 calc(37 * var(--u));
  background: var(--schwarz);
  border-bottom: 1px solid #333;
}

.logo {
  --logo-h: 34px;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none;
  flex: none;
}
/* Dennis' Logo als ein Bauteil: Kreis + HERMANN + PROZESSAGENTUR (exakt wortbreit), Gold, Vektor */
.logo-bild {
  display: block;
  width: auto;
  height: var(--logo-h);
}
.menue {
  display: flex;
  gap: calc(43 * var(--u));
  margin-left: calc(72 * var(--u));
}
.menue a {
  position: relative;
  font-size: calc(16 * var(--u));
  font-weight: 400;
  color: var(--grau);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.menue a[aria-current="page"] {
  font-weight: 600;
  color: var(--weiss);
}
.menue a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-12 * var(--u));
  height: 2px;
  background: var(--gold);
}
.menue a:hover { color: var(--weiss); }

.knopf {
  margin-left: auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: calc(220 * var(--u));
  height: calc(62 * var(--u));
  padding: 0 calc(10 * var(--u));
  border-radius: var(--knopf-radius);
  background: linear-gradient(135deg, #e3b85f 0%, #d6a64d 45%, #ba8a30 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 240, 200, 0.35);
  color: #141109;
  font-size: calc(14.5 * var(--u));
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
  text-align: center;
  text-decoration: none;
  transition: filter 0.2s ease;
}
button.knopf { border: 0; font-family: inherit; cursor: pointer; }
.knopf:hover { filter: brightness(1.07); }
.knopf:focus-visible,
.menue a:focus-visible,
.logo:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 4px; }
.pfeil { font-weight: 600; }

/* ---------- Hero (Entwurf, < 1024 px) ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--schwarz);
}

.hero-hintergrund {
  position: absolute;
  top: 0;
  right: 0;
  width: 78%;
  height: calc(1180 * var(--u));
  background: url("bilder/halle-hintergrund.webp") 70% 20% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 55%, transparent 100%);
  mask-composite: intersect;
  opacity: 0.95;
}

.bogen { display: none; }

.person {
  position: absolute;
  z-index: 1;
  top: calc(148 * var(--u));
  right: -8.2vw;
  width: 70vw;
  height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 34%), linear-gradient(180deg, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 14%, #000 34%), linear-gradient(180deg, #000 72%, transparent 100%);
  mask-composite: intersect;
}

.hero-text {
  position: relative;
  z-index: 3;
  padding: max(40px, calc(150 * var(--u))) 18px 0 max(18px, calc(36 * var(--u)));
}

/* Nr. 1: die einzige große Überschrift */
.hero-titel {
  max-width: max(61vw, 228px);
  margin: 0;
  font-size: max(28px, calc(54 * var(--u)));
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--weiss);
  text-wrap: balance;
}
.hero-titel .gold { color: var(--gold-text); }

/* Nr. 2: Unterzeile in Lesegröße */
.hero-unterzeile {
  max-width: max(58vw, 228px);
  margin: max(16px, calc(26 * var(--u))) 0 0;
  font-size: max(16px, calc(18 * var(--u)));
  font-weight: 400;
  line-height: 1.55;
  color: #e8e8e8;
  text-wrap: pretty;
}

/* der nächste Schritt */
.knopf.hero-knopf {
  display: inline-block;
  text-align: center;
  width: auto;
  height: auto;
  max-width: 100%;
  margin-top: max(24px, calc(38 * var(--u)));
  padding: 14px 28px;
  border-radius: var(--knopf-radius);
  font-size: max(16px, calc(18 * var(--u)));
  line-height: 1.35;
  white-space: normal;
}



.gold { color: var(--gold-text); }



.unterschrift {
  position: relative;
  display: inline-block;
  margin: calc(46 * var(--u)) 0 0 calc(12 * var(--u));
  padding-bottom: calc(24 * var(--u));
  color: var(--weiss);
  line-height: 1;
}
.unterschrift-name {
  display: block;
  font-family: "Unterschrift", cursive;
  font-size: calc(74 * var(--u));
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}
.unterschrift-schwung {
  position: absolute;
  left: 35%;
  top: 48%;
  width: 71%;
  height: 52%;
  overflow: visible;
}

.kurve {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(130 * var(--u));
  margin-top: calc(-6 * var(--u));
}

.punkte {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: 0;
  padding: calc(84 * var(--u)) calc(30 * var(--u)) calc(190 * var(--u));
  list-style: none;
  background: var(--schwarz);
}
.punkte li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(28 * var(--u));
  min-height: calc(68 * var(--u));
  padding: 0 calc(10 * var(--u));
  font-size: calc(21 * var(--u));
  line-height: 1.38;
  color: var(--weiss);
}
.punkte li + li { border-left: 1px solid rgba(201, 160, 74, 0.6); }
.punkte svg {
  flex: none;
  width: calc(50 * var(--u));
  height: calc(50 * var(--u));
  color: #d9ad5e;
}

/* ---------- Brief ---------- */

.brief {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px 120px;
  font-size: 18px;
  line-height: 1.72;
  color: #d8d8d8;
}
.brief h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--weiss);
}
.brief .absender {
  margin: 20px 0 44px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.brief p { margin: 0 0 1.25em; }
.brief h3 {
  margin: 2.2em 0 0.6em;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--weiss);
}
.brief ul,
.brief ol {
  margin: 0 0 1.4em;
  padding: 0;
  list-style: none;
}
.brief li {
  position: relative;
  margin: 0 0 0.7em;
  padding-left: 1.6em;
}
.brief ul li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.8em;
  width: 0.7em;
  height: 2px;
  background: var(--gold);
}
.brief ol { counter-reset: schritt; }
.brief ol li { counter-increment: schritt; }
.brief ol li::before {
  content: counter(schritt) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--gold-text);
}
.brief .schluss {
  margin-top: 2.4em;
  font-weight: 600;
  color: var(--weiss);
  scroll-margin-top: 40px;
}
.brief .unterschrift-brief {
  margin: 8px 0 0 4px;
  padding-bottom: 22px;
}
.unterschrift-brief .unterschrift-name { font-size: 76px; }

/* ---------- Beweis: Kennzahlen (ohne Kästen, Trennlinien wie oben) ---------- */

.nur-vorlesen {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.brief .kennzahlen {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  margin: 2em 0 2.2em;
}
.kennzahlen-titel {
  grid-column: 1 / -1;
  margin-bottom: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.kennzahl {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 18px;
  border-left: 1px solid rgba(201, 160, 74, 0.6);
}
.kennzahl:nth-child(2) { padding-left: 0; border-left: 0; }
.kennzahl strong {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--gold-text);
  white-space: nowrap;
}
.kennzahl > span:not(.nur-vorlesen):not(.kennzahl-zusatz) {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.4;
  color: #d8d8d8;
}
.kennzahl-zusatz {
  position: absolute;
  top: -22px;
  left: 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a9915f;
}

@media (max-width: 640px) {
  .brief .kennzahlen { grid-template-columns: 1fr; }
  .kennzahlen-titel { margin-bottom: 6px; }
  .kennzahl,
  .kennzahl:nth-child(2) {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: baseline;
    padding: 14px 0;
    border-left: 0;
    border-bottom: 1px solid rgba(201, 160, 74, 0.3);
  }
  .kennzahl strong { font-size: 32px; }
  .kennzahl > span:not(.nur-vorlesen):not(.kennzahl-zusatz) { margin-top: 0; }
  .kennzahl-zusatz { position: static; grid-column: 1 / -1; font-size: 11px; margin-bottom: 2px; }
}

/* ---------- Footer ---------- */

.fuss {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
  padding: 26px max(24px, calc((100% - 1200px) / 2));
  border-top: 1px solid #262626;
  background: #0a0a0a;
  font-size: 14px;
  color: #9a9a9a;
}
.fuss .logo { --logo-h: 30px; }
.fuss-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; }
.fuss-links a,
.fuss-links button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #c4c4c4;
  text-decoration: none;
  cursor: pointer;
}
.fuss-links a:hover,
.fuss-links button:hover { color: var(--gold-hell); }
.fuss-links a:focus-visible,
.fuss-links button:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 3px; }
.fuss-links a[aria-current="page"] { color: var(--weiss); }
.fuss-copy { margin: 0; }
@media (max-width: 640px) {
  .fuss { flex-direction: column; text-align: center; padding: 30px 20px 92px; }
  .fuss-links { justify-content: center; }
}

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */

.recht {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 110px;
  font-size: 16px;
  line-height: 1.7;
  color: #d2d2d2;
}
.recht h1 {
  margin: 0 0 34px;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--weiss);
}
.recht h2 {
  margin: 2.4em 0 0.7em;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--weiss);
}
.recht h3 {
  margin: 1.8em 0 0.5em;
  font-size: 18px;
  line-height: 1.35;
  color: var(--weiss);
}
.recht h4 {
  margin: 1.4em 0 0.4em;
  font-size: 16px;
  color: #ededed;
}
.recht p { margin: 0 0 1em; }
.recht ul { margin: 0 0 1em; padding-left: 1.2em; }
.recht li { margin: 0 0 0.5em; }
.recht a { color: var(--gold-hell); text-underline-offset: 3px; word-break: break-word; }
.recht .platzhalter {
  padding: 10px 14px;
  border-left: 2px solid var(--gold);
  background: rgba(212, 166, 86, 0.08);
  color: var(--gold-hell);
  font-style: italic;
}
@media (max-width: 480px) {
  .recht { padding-top: 44px; font-size: 15.5px; }
  .recht h1 { font-size: 32px; }
  .recht h2 { font-size: 20px; }
}

/* ---------- Cookie-Einwilligung (Vorlage: dennis-hermann.de, hier dunkel mit Gold) ---------- */

.cookie-ui {
  --c-bg: #121212;
  --c-bg-3: #1c1c1c;
  --c-linie: rgba(255, 255, 255, 0.12);
  --c-txt: #f2f2f2;
  --c-txt-2: #b8b8b8;
  --c-txt-3: #6f6f6f;
  color: var(--c-txt);
  font-size: 16px;
  line-height: 1.55;
}
.cookie-ui [hidden] { display: none !important; }
.cookie-banner,
.cookie-dialog {
  background: var(--c-bg);
  color: var(--c-txt);
  border: 1px solid var(--c-linie);
  border-top: 2px solid var(--gold);
  border-radius: 14px;
  padding: 1.65rem;
}
.cookie-banner {
  position: fixed;
  z-index: 90;
  right: max(1.5rem, env(safe-area-inset-right));
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  width: 460px;
  max-width: calc(100% - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  animation: cookie-ankommen 0.3s ease-out both;
}
.cookie-kennung { display: flex; align-items: center; gap: 0.75rem; }
.cookie-kennung .label { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-txt-2); }
.cookie-zeichen { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(212, 166, 86, 0.6); border-radius: 50%; color: var(--gold-hell); }
.cookie-zeichen svg { width: 22px; height: 22px; }
.cookie-banner h2,
.cookie-dialog h2 { font-size: 1.85rem; line-height: 1.13; letter-spacing: -0.035em; font-weight: 600; margin: 1.1rem 0 0.85rem; color: var(--c-txt); }
.cookie-banner h2 span { color: var(--gold-text); font-weight: 400; }
.cookie-text { font-size: 0.84rem; line-height: 1.65; color: var(--c-txt-2); margin: 0 0 1.3rem; }
.cookie-aktionen { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.cookie-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(212, 166, 86, 0.75);
  border-radius: var(--knopf-radius);
  color: var(--c-txt);
  background: transparent;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.cookie-btn:hover { background-color: rgba(212, 166, 86, 0.12); border-color: var(--gold-hell); }
.cookie-btn.gold {
  border-color: transparent;
  background: linear-gradient(135deg, #e3b85f 0%, #d6a64d 45%, #ba8a30 100%);
  color: #141109;
}
.cookie-btn.gold:hover { filter: brightness(1.07); }
.cookie-banner-fuss { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.7rem; }
.cookie-recht-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0.8rem; }
.cookie-recht-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-txt-2); font-size: 0.72rem; text-decoration: underline; text-underline-offset: 4px; }
.cookie-recht-links a:hover { color: var(--c-txt); }
.cookie-dialog > .cookie-recht-links { margin-top: -1rem; }
.cookie-text-btn { border: 0; background: none; padding: 0.5rem 0; min-height: 44px; color: var(--c-txt-2); font: inherit; font-size: 0.76rem; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.cookie-text-btn:hover { color: var(--c-txt); }
.cookie-oeffner {
  position: fixed;
  z-index: 90;
  right: max(1.5rem, env(safe-area-inset-right));
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(212, 166, 86, 0.7);
  border-radius: 50%;
  background: #121212;
  color: var(--gold-hell);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.cookie-oeffner > svg { width: 24px; height: 24px; }
.cookie-tooltip { position: absolute; right: calc(100% + 0.7rem); white-space: nowrap; padding: 0.4rem 0.7rem; border-radius: 8px; border: 1px solid var(--c-linie); background: var(--c-bg); color: var(--c-txt); font-size: 0.72rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.2s; }
.cookie-oeffner:hover .cookie-tooltip,
.cookie-oeffner:focus-visible .cookie-tooltip { opacity: 1; visibility: visible; }
.cookie-dialog { width: 540px; max-width: calc(100% - 2rem); max-height: calc(100dvh - 2rem); margin: auto; overflow-y: auto; overscroll-behavior: contain; font: inherit; font-size: 16px; }
.cookie-dialog::backdrop { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); }
.cookie-dialog[open] { animation: cookie-ankommen 0.2s ease-out both; }
.cookie-dialog-kopf { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cookie-schliessen { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--c-linie); border-radius: 50%; background: none; color: var(--c-txt-2); cursor: pointer; }
.cookie-schliessen svg { width: 22px; height: 22px; }
.cookie-schliessen:hover { color: var(--c-txt); background: var(--c-bg-3); }
.cookie-dialog h2 { font-size: 1.75rem; max-width: 15ch; }
.cookie-dialog h2:focus { outline: none; }
.cookie-kategorien { border-top: 1px solid var(--c-linie); margin: 1.4rem 0; }
.cookie-kategorie { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--c-linie); }
.cookie-kategorie h3 { font-size: 0.92rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; margin: 0 0 0.3rem; color: var(--c-txt); }
.cookie-kategorie p { font-size: 0.78rem; line-height: 1.6; color: var(--c-txt-2); margin: 0; }
.cookie-immer { font-size: 0.68rem; white-space: nowrap; color: var(--gold-text); flex: none; }
.cookie-switch { display: flex; align-items: center; flex: none; width: 48px; height: 44px; padding: 0 4px; border: 0; position: relative; background: none; cursor: pointer; }
.cookie-switch::before { content: ""; position: absolute; inset: 9px 0; border: 1px solid var(--c-txt-3); background: var(--c-bg-3); border-radius: 999px; transition: background-color 0.2s, border-color 0.2s; }
.cookie-switch > span { position: relative; display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--c-txt-2); transition: transform 0.2s, background-color 0.2s; }
.cookie-switch[aria-checked="true"]::before { background: #8a6a2c; border-color: var(--gold); }
.cookie-switch[aria-checked="true"] > span { transform: translateX(22px); background: var(--c-txt); }
.cookie-speichern { width: 100%; font-size: 0.84rem; }
.cookie-dialog-alternativen { margin-top: 0.6rem; }
.cookie-ui button:focus-visible,
.cookie-ui a:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 4px; }
@keyframes cookie-ankommen { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 540px) {
  .cookie-banner { right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); padding: 1.25rem; }
  .cookie-banner h2 { font-size: 1.6rem; }
  .cookie-dialog { padding: 1.25rem; }
  .cookie-dialog h2 { font-size: 1.55rem; }
  .cookie-oeffner { right: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); }
  .cookie-kategorie { gap: 0.8rem; }
  .cookie-btn { font-size: 0.75rem; padding-inline: 0.6rem; }
}
@media (max-width: 350px) { .cookie-aktionen { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .cookie-ui *,
  .cookie-ui *::before { animation: none !important; transition: none !important; }
}

/* ---------- „Ressourcen“ kommt bald: kein Link, gedämpft ---------- */

.menue-bald {
  position: relative;
  color: rgba(196, 196, 196, 0.5);
  cursor: default;
  user-select: none;
}
.menue .menue-bald {
  font-size: calc(16 * var(--u));
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.menue-bald small {
  margin-left: 0.35em;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-text);
  opacity: 0.9;
}

/* Link von der Startseite zur ganzen Fallstudie */
.brief .zur-fallstudie { margin: -0.6em 0 2.2em; }
.zur-fallstudie a {
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 166, 86, 0.35);
  padding-bottom: 2px;
}
.zur-fallstudie a:hover { color: var(--gold-hell); border-bottom-color: var(--gold-hell); }
.zur-fallstudie a:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 4px; }

/* ---------- Fallstudie Morgel (Aufbau wie FallSeite auf dennis-hermann.de) ---------- */

.fs { color: #d6d6d6; font-size: 17px; line-height: 1.7; }
.fs h1, .fs h2 { color: var(--weiss); letter-spacing: -0.02em; text-wrap: balance; }
.fs h2 { margin: 0 0 16px; font-size: 34px; line-height: 1.2; font-weight: 700; }
.fs h2 em { font-style: normal; color: var(--gold-text); }
.fs strong { color: var(--weiss); font-weight: 700; }
.fs .gold { color: var(--gold-text); }
.fs p { margin: 0 0 1em; }
.fs-in { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.fs-abschnitt { padding: 96px 0; border-top: 1px solid #1f1f1f; }
.fs-eyebrow,
.fs-hebel,
.fs-label {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}

/* Kopf mit Bühne */
.fs-hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(70% 80% at 85% 30%, rgba(212, 166, 86, 0.10), rgba(212, 166, 86, 0) 70%),
    var(--schwarz);
}
.fs-hero-in {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
}
.brotkrume { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: 14px; color: #8d8d8d; }
.brotkrume a { color: #bdbdbd; text-decoration: none; }
.brotkrume a:hover { color: var(--gold-hell); }
.brotkrume [aria-current] { color: #d6d6d6; }
.fs-titel { margin: 0 0 22px; font-size: 48px; line-height: 1.12; font-weight: 700; }
.fs-lead { max-width: 560px; font-size: 18px; color: #dcdcdc; }
.fs-kopfzahlen {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.fs-kopfzahlen li { display: flex; flex-direction: column; padding: 0 24px; border-left: 1px solid rgba(201, 160, 74, 0.6); }
.fs-kopfzahlen li:first-child { padding-left: 0; border-left: 0; }
.fs-kopfzahlen b,
.fs-kap-zahlen b,
.fs-erg-raster b { font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; color: var(--gold-text); white-space: nowrap; }
.fs-kopfzahlen span,
.fs-kap-zahlen span,
.fs-erg-raster span { margin-top: 6px; font-size: 14px; line-height: 1.45; color: #bdbdbd; }
.fs-kopfzahlen span { max-width: 160px; }

.fs-buehne { position: relative; padding: 0 0 40px; }
.fs-browser {
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #171717;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
}
.fs-browser-leiste { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #1d1d1d; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.fs-browser-leiste span { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; }
.fs-browser-leiste em { margin-left: 10px; font-style: normal; font-size: 12px; color: #8d8d8d; }
.fs-browser img { display: block; width: 100%; height: auto; }
.fs-handy {
  position: absolute;
  right: -18px;
  bottom: 0;
  width: 26%;
  overflow: hidden;
  border-radius: 18px;
  border: 3px solid #1e1e1e;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.fs-handy img { display: block; width: 100%; height: auto; }
.fs-chip {
  position: absolute;
  left: -22px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(212, 166, 86, 0.6);
  background: rgba(14, 14, 14, 0.94);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}
.fs-chip b { font-size: 24px; line-height: 1.1; color: var(--gold-text); }
.fs-chip span { font-size: 13px; color: #cfcfcf; max-width: 170px; line-height: 1.4; }
.fs .fs-hinweis { max-width: 1200px; margin: 28px auto 0; padding: 0 48px; font-size: 13px; color: #8d8d8d; }

/* Vorher / Nachher */
.fs .fs-sektion-lead { max-width: 640px; font-size: 18px; color: #dcdcdc; }
.fs-wende-raster {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: start;
  margin: 40px 0 32px;
}
.fs-wende-spalte ul { margin: 0; padding: 0; list-style: none; }
.fs-wende-spalte li { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid #222; color: #dcdcdc; }
.fs-wende-spalte i { font-style: normal; flex: none; width: 18px; }
.vorher i { color: #8d8d8d; }
.nachher i { color: var(--gold-text); }
.fs-wende-pfeil { align-self: center; font-size: 28px; color: var(--gold-text); }
.fs-wende-text { max-width: 720px; }

/* Kapitel */
.fs-kap-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: center;
}
.fs-kap.gedreht .fs-kap-txt { order: 2; }
.fs .fs-gedanke { margin: 4px 0 20px; font-size: 22px; line-height: 1.4; color: var(--weiss); font-weight: 600; }
.fs-gedanke small { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 400; color: #8d8d8d; }
.fs-punkte { margin: 0 0 1em; padding: 0; list-style: none; }
.fs-punkte li { position: relative; padding: 6px 0 6px 24px; }
.fs-punkte li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 2px; background: var(--gold); }
.fs .fs-kette { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 30px; margin: 4px 0 22px; }
.fs-kette span { position: relative; padding: 6px 12px; border: 1px solid rgba(212, 166, 86, 0.45); border-radius: 999px; font-size: 14px; color: #e6e6e6; }
.fs-kette span:not(:last-child)::after { content: "→"; position: absolute; right: -23px; top: 50%; transform: translateY(-52%); color: var(--gold-text); }
.fs-kap-zahlen { display: flex; flex-wrap: wrap; gap: 0; margin: 8px 0 24px; padding: 0; list-style: none; }
.fs-kap-zahlen li { display: flex; flex-direction: column; padding: 0 24px; border-left: 1px solid rgba(201, 160, 74, 0.6); max-width: 220px; }
.fs-kap-zahlen li:first-child { padding-left: 0; border-left: 0; }
.fs-wirkung { padding: 2px 0 2px 18px; border-left: 2px solid var(--gold); }
.fs-wirkung small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-text); }
.fs-wirkung p { margin: 4px 0 0; color: #e2e2e2; }

/* Was im Kopf passiert */
.fs-ablauf-liste { counter-reset: station; max-width: 760px; margin: 24px 0 28px; padding: 0; list-style: none; }
.fs-ablauf-liste li {
  counter-increment: station;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid #222;
}
.fs-ablauf-liste li::before { content: counter(station, decimal-leading-zero); grid-row: span 2; font-size: 14px; font-weight: 700; color: var(--gold-text); padding-top: 3px; }
.fs-frage { display: block; color: var(--weiss); font-weight: 600; }
.fs-antwort { display: block; color: #bdbdbd; }
.fs .fs-ablauf-fazit { font-size: 20px; color: var(--weiss); font-weight: 600; }

/* Zitat */
.fs-zitat { margin: 0; text-align: center; }
.fs-sterne { display: block; color: var(--gold-text); font-size: 22px; letter-spacing: 0.18em; }
.fs-zitat blockquote { margin: 14px 0 18px; font-size: 40px; line-height: 1.2; font-weight: 700; color: var(--weiss); letter-spacing: -0.02em; }
.fs-zitat figcaption { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: #bdbdbd; }
.fs-google { width: 20px; height: 20px; }

/* Ergebnisse */
.fs-erg-raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 40px;
  margin: 32px 0 40px;
  padding: 0;
  list-style: none;
}
.fs-erg-raster li { display: flex; flex-direction: column; padding-top: 18px; border-top: 1px solid rgba(201, 160, 74, 0.5); }
.fs-schluss { max-width: 720px; }
.knopf.fs-knopf {
  display: inline-flex;
  flex-direction: row;
  width: auto;
  height: 54px;
  margin-top: 16px;
  padding: 0 26px;
  border-radius: var(--knopf-radius);
  font-size: 16px;
  white-space: nowrap;
}

@media (max-width: 1023.98px) {
  .fs-hero-in,
  .fs-kap-in { grid-template-columns: 1fr; gap: 40px; }
  .fs-kap.gedreht .fs-kap-txt { order: 0; }
  .fs-titel { font-size: 38px; }
  .fs-erg-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .fs { font-size: 16px; }
  .fs-in,
  .fs-hero-in,
  .fs-hinweis { padding-left: 20px; padding-right: 20px; }
  .fs-hero { padding: 36px 0 48px; }
  .fs-abschnitt { padding: 64px 0; }
  .fs-titel { font-size: 30px; }
  .fs h2 { font-size: 26px; }
  .fs-lead,
  .fs-sektion-lead { font-size: 16.5px; }
  .fs-kopfzahlen { grid-template-columns: 1fr 1fr 1fr; }
  .fs-kopfzahlen li { padding: 0 10px; }
  .fs-kopfzahlen b,
  .fs-kap-zahlen b,
  .fs-erg-raster b { font-size: 24px; white-space: normal; }
  .fs-kopfzahlen span,
  .fs-kap-zahlen span,
  .fs-erg-raster span { font-size: 12.5px; }
  .fs-handy { right: -6px; width: 30%; border-radius: 12px; border-width: 2px; }
  .fs-chip { left: -6px; bottom: 6px; padding: 8px 12px; }
  .fs-chip b { font-size: 18px; }
  .fs-chip span { font-size: 11px; max-width: 120px; }
  .fs-wende-raster { grid-template-columns: 1fr; gap: 20px; }
  .fs-wende-pfeil { transform: rotate(90deg); justify-self: start; }
  .fs-gedanke { font-size: 19px; }
  .fs-zitat blockquote { font-size: 28px; }
  .fs-erg-raster { gap: 24px 20px; }
  .knopf.fs-knopf { display: inline-block; height: auto; padding: 14px 28px; white-space: normal; text-align: center; line-height: 1.35; }
}

/* ---------- Fallstudie: Produktions-App im Mittelpunkt ---------- */

.fs-buehne-app { padding: 0; }
.fs-buehne-app .fs-browser { box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.fs .fs-ziel { margin: 8px 0 0; font-size: 20px; font-weight: 600; color: var(--weiss); }
.fs-ziel span { color: var(--gold-text); }

.fs-loesung { background: linear-gradient(180deg, rgba(212, 166, 86, 0.05), rgba(212, 166, 86, 0) 420px), var(--schwarz); }
.fs-loesung h2 { font-size: 40px; }
.fs-kette-gross {
  counter-reset: kette;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 36px 0 56px;
  padding: 0;
  list-style: none;
}
.fs-kette-gross li {
  counter-increment: kette;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(212, 166, 86, 0.45);
  border-radius: 14px;
  background: #141414;
  font-size: 19px;
  font-weight: 700;
  color: var(--weiss);
}
.fs-kette-gross li::before { content: counter(kette); font-size: 13px; font-weight: 700; color: var(--gold-text); }
.fs-kette-gross li + li { margin-left: 34px; }
.fs-kette-gross li + li::after {
  content: "→";
  position: absolute;
  left: -27px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--gold-text);
}

.fs-schritte { display: grid; gap: 72px; }
.fs-schritt {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 48px;
  align-items: start;
}
.fs-schritt-txt { position: sticky; top: 32px; padding-top: 8px; }
.fs-schritt-txt h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.25; color: var(--weiss); }
.fs-schritt-txt p { margin: 0; font-size: 18px; color: #dcdcdc; }
.fs-app-bild { margin: 0; }
.fs-app-bild figcaption { margin-top: 12px; font-size: 14px; line-height: 1.55; color: #a8a8a8; }

.fs-erg .fs-erg-raster { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fs-erg-raster li:nth-child(4) b { font-size: 28px; }
.fs .fs-fazit {
  max-width: 760px;
  margin: 8px 0 18px;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  font-size: 22px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--weiss);
}
.fs .fs-rand { margin: 0 0 28px; font-size: 14px; color: #8d8d8d; }

@media (max-width: 1023.98px) {
  .fs-kette-gross { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 34px; }
  .fs-erg .fs-erg-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fs-kette-gross li + li { margin-left: 0; }
  .fs-kette-gross li:nth-child(3)::after { display: none; }
  .fs-schritt { grid-template-columns: 1fr; gap: 18px; }
  .fs-schritt-txt { position: static; }
}
@media (max-width: 640px) {
  .fs-loesung h2 { font-size: 28px; }
  .fs-kette-gross { grid-template-columns: 1fr; gap: 22px; margin: 28px 0 44px; }
  .fs-kette-gross li { flex-direction: row; align-items: baseline; gap: 12px; padding: 12px 16px; font-size: 17px; }
  .fs-kette-gross li:not(:last-child)::after {
    content: "↓";
    display: block;
    position: absolute;
    left: 50%;
    top: auto;
    bottom: -22px;
    transform: translateX(-50%);
    font-size: 16px;
  }
  .fs-kette-gross li:last-child::after { display: none; }
  .fs-schritte { gap: 48px; }
  .fs-schritt-txt h3 { font-size: 21px; }
  .fs-schritt-txt p { font-size: 16.5px; }
  .fs .fs-fazit { font-size: 19px; }
  .fs .fs-ziel { font-size: 18px; }
}

/* ---------- Erstgespräch: Video, Formular in Schritten, Danke-Video ---------- */

.anfrage { padding: 64px 24px 110px; }
.anfrage-in {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas: "text karte" "nutzen karte";
  grid-template-rows: auto 1fr;
  column-gap: 64px;
  row-gap: 8px;
  align-items: start;
}
.anfrage-text { grid-area: text; }
.anfrage-nutzen { grid-area: nutzen; }
.anfrage-karte { grid-area: karte; }
.anfrage-text,
.anfrage-nutzen { color: #d6d6d6; font-size: 17px; line-height: 1.7; }
.anfrage-nutzen p { margin: 0 0 1em; }
.anfrage-text h1 {
  margin: 0 0 20px;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--weiss);
  text-wrap: balance;
}
.anfrage-text .gold { color: var(--gold-text); }
.anfrage-text p { margin: 0 0 1em; }
.anfrage-liste-titel { margin-top: 4px !important; font-weight: 700; color: var(--weiss); }
.anfrage-liste { margin: 0; padding: 0; list-style: none; }
.anfrage-liste li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; }
.anfrage-liste svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--gold-text); }

.anfrage-karte {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 2px solid var(--gold);
  border-radius: 20px;
  background: #121212;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.bewerbung { color: #e6e6e6; font-size: 16px; line-height: 1.5; }
.bewerbung [hidden] { display: none !important; }
.bewerbung .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-intro-titel,
.f-fertig h2 { margin: 0 0 16px; font-size: 24px; line-height: 1.25; color: var(--weiss); letter-spacing: -0.01em; }

/* Video-Platz */
.f-film {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: #000;
  cursor: pointer;
}
.f-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.v-ton {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(212, 166, 86, 0.7);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.78);
  color: var(--weiss);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.v-ton svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-hell); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f-film.mit-ton .v-ton { display: none; }
.f-film-hinweis {
  position: absolute;
  top: 12px;
  left: 12px;
  display: none;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #cfcfcf;
}
.f-film.kein-video { cursor: default; }
.f-film.kein-video .v-ton { display: none; }
.f-film.kein-video .f-film-hinweis { display: inline-block; }

.knopf.f-los,
.knopf.f-weiter {
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  height: auto;
  min-height: 54px;
  margin-top: 20px;
  padding: 14px 28px;
  font-size: 16px;
  line-height: 1.3;
  white-space: normal;
}
.knopf.f-weiter { width: auto; flex: 1; margin-top: 0; }
.knopf.f-weiter[disabled] { opacity: 0.6; cursor: wait; }
.f-dauer { margin: 12px 0 0; text-align: center; font-size: 14px; color: #9a9a9a; }

/* Vor dem Start nur das Video, nach dem Absenden nur der Dank */
.bewerbung.vor-start .fortschritt,
.bewerbung.vor-start .schritt-f,
.bewerbung.vor-start .f-knoepfe,
.bewerbung.vor-start .f-hinweis { display: none; }
.bewerbung:not(.vor-start) .f-intro { display: none; }
.bewerbung.gesendet .fortschritt,
.bewerbung.gesendet .schritt-f,
.bewerbung.gesendet .f-knoepfe,
.bewerbung.gesendet .f-hinweis { display: none; }

.fortschritt { margin-bottom: 22px; }
.f-zahl { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: #9a9a9a; }
.f-balken { height: 4px; border-radius: 999px; background: #262626; overflow: hidden; }
.f-balken i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #e3b85f, #ba8a30); transition: width 0.25s ease-out; }

.schritt-f { margin: 0; padding: 0; border: 0; min-width: 0; }
.schritt-f legend { margin: 0 0 8px; padding: 0; font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--weiss); letter-spacing: -0.01em; }
.f-unter { margin: 0 0 16px; font-size: 15px; color: #a8a8a8; }
.schritt-f legend + .feld,
.schritt-f legend + .wahl { margin-top: 16px; }

.feld { display: grid; gap: 6px; margin-bottom: 14px; }
.feld label { font-size: 14px; font-weight: 600; color: #bdbdbd; }
.feld small { font-weight: 400; color: #8d8d8d; }
.feld input,
.feld select,
.feld textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #2f2f2f;
  border-radius: 12px;
  background: #0b0b0b;
  color: var(--weiss);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.15s;
}
.feld textarea { resize: vertical; min-height: 130px; }
.feld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #bdbdbd 50%), linear-gradient(135deg, #bdbdbd 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.feld input::placeholder,
.feld textarea::placeholder { color: #5f5f5f; }
.feld input:focus,
.feld select:focus,
.feld textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 166, 86, 0.18); }
.feld .fehlt,
.feld input.fehlt,
.feld select.fehlt,
.feld textarea.fehlt { border-color: #d0665c; }

/* Antworten zum Antippen */
.wahl { display: grid; gap: 10px; margin-bottom: 12px; }
.wahl label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 12px 16px;
  border: 1.5px solid #2c2c2c;
  border-radius: 14px;
  background: #161616;
  font-size: 15.5px;
  line-height: 1.3;
  font-weight: 600;
  color: #e8e8e8;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.wahl label::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border: 1.5px solid #5a5a5a;
  border-radius: 50%;
  background: #0b0b0b;
  transition: border 0.15s, background 0.15s;
}
.wahl.mehrfach label::before { border-radius: 6px; }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
@media (hover: hover) { .wahl label:hover { border-color: #4a4a4a; background: #1b1b1b; } }
.wahl label.an { border-color: var(--gold); background: rgba(212, 166, 86, 0.1); }
.wahl label.an::before { border: 6px solid var(--gold); }
.wahl.mehrfach label.an::before {
  border: 1.5px solid var(--gold);
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5 10 17.5 19.5 7' fill='none' stroke='%23141109' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.wahl label:focus-within { box-shadow: 0 0 0 4px rgba(212, 166, 86, 0.25); }
.wahl.fehlt label { border-color: #8a3a33; }

.einwilligung { position: relative; display: flex; gap: 12px; align-items: flex-start; margin-top: 6px; font-size: 13px; line-height: 1.55; color: #a8a8a8; cursor: pointer; }
.einwilligung input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.einwilligung .kasten { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid #5a5a5a; border-radius: 6px; background: #0b0b0b; color: transparent; }
.einwilligung .kasten svg { width: 15px; height: 15px; }
.einwilligung input:checked + .kasten { border-color: var(--gold); background: var(--gold); color: #141109; }
.einwilligung input:focus-visible + .kasten { box-shadow: 0 0 0 4px rgba(212, 166, 86, 0.3); }
.einwilligung.fehlt .kasten { border-color: #d0665c; }
.einwilligung a { color: var(--gold-hell); }

.f-hinweis { min-height: 0; margin: 0; font-size: 14px; font-weight: 600; color: #ef8a80; }
.f-hinweis:not(:empty) { margin: 6px 0 12px; }
.f-knoepfe { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.f-zurueck { min-height: 48px; padding: 0 6px; border: 0; background: none; color: #bdbdbd; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.f-zurueck:hover { color: var(--weiss); }

.f-fertig .f-film { margin-bottom: 22px; }
.f-weiter-titel { margin: 0 0 8px; font-weight: 700; color: var(--weiss); }
.f-ablauf { margin: 0 0 6px; padding-left: 1.3em; color: #d6d6d6; }
.f-ablauf li { margin-bottom: 6px; }
.f-ablauf li::marker { color: var(--gold-text); font-weight: 700; }

@media (max-width: 1023.98px) {
  .anfrage-in { grid-template-columns: 1fr; grid-template-areas: "text" "karte" "nutzen"; grid-template-rows: auto; row-gap: 28px; }
  .anfrage-text h1 { font-size: 36px; }
}
@media (max-width: 640px) {
  .anfrage { padding: 36px 14px 80px; }
  .anfrage-text,
  .anfrage-nutzen { font-size: 16px; padding: 0 6px; }
  .anfrage-text h1 { font-size: 30px; }
  .anfrage-karte { padding: 20px 16px; border-radius: 18px; }
  .schritt-f legend { font-size: 20px; }
  .wahl label { font-size: 15px; }
  .v-ton { left: 10px; bottom: 10px; padding: 7px 12px; font-size: 13px; }
}

/* ---------- Handy und Tablet (< 1024 px): Logo links, Burger rechts ---------- */

.burger { display: none; }
.handy-menue[hidden] { display: none; }

@media (max-width: 1023.98px) {
  .kopf {
    height: 64px;
    padding: 0 10px 0 18px;
    justify-content: space-between;
  }
  .kopf .menue,
  .kopf > .knopf { display: none; }
  .kopf .logo,
  .handy-menue .logo { --logo-h: 36px; }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    width: 48px;
    height: 48px;
    padding: 0 10px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .burger span {
    display: block;
    width: 26px;
    height: 1.5px;
    border-radius: 1px;
    background: var(--gold);
  }
  .burger span:nth-child(2) { width: 20px; }
  .burger:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 2px; }

  .handy-menue {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    padding: 0 10px 32px 18px;
    background:
      radial-gradient(120% 60% at 100% 0%, rgba(212, 166, 86, 0.10), rgba(212, 166, 86, 0) 60%),
      #0b0b0b;
    overflow-y: auto;
    animation: menue-auf 0.22s ease-out both;
  }
  .handy-menue-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    flex: none;
    border-bottom: 1px solid #2b2b2b;
    margin-right: -10px;
    padding-right: 10px;
  }
  .menue-zu {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--gold);
    cursor: pointer;
  }
  .menue-zu svg { width: 26px; height: 26px; }
  .menue-zu:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 2px; }
  .handy-menue-links {
    display: flex;
    flex-direction: column;
    padding: 28px 8px 0 0;
  }
  .handy-menue-links a {
    position: relative;
    padding: 16px 0;
    border-bottom: 1px solid #222;
    font-size: 22px;
    font-weight: 400;
    color: var(--grau);
    text-decoration: none;
    letter-spacing: -0.01em;
  }
  .handy-menue-links a[aria-current="page"] { color: var(--weiss); font-weight: 600; }
  .handy-menue-links a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 48px;
    height: 2px;
    background: var(--gold);
  }
  .handy-menue-links a:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 4px; }
  .handy-menue-links .menue-bald {
    padding: 16px 0;
    border-bottom: 1px solid #222;
    font-size: 22px;
    letter-spacing: -0.01em;
  }
  .handy-menue-links .menue-bald small { font-size: 13px; vertical-align: 0.35em; }
  .knopf.knopf-menue {
    display: block;
    width: auto;
    height: auto;
    margin: 34px 8px 0 0;
    padding: 16px 28px;
    border-radius: var(--knopf-radius);
    font-size: 15.5px;
    line-height: 1.35;
    white-space: normal;
  }
  body.menue-offen { overflow: hidden; }
}
@keyframes menue-auf { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .handy-menue { animation: none; } }

@media (max-width: 1023.98px) {
  .kurve { height: max(52px, calc(130 * var(--u))); }
  .punkte { padding: max(30px, calc(84 * var(--u))) max(4px, calc(30 * var(--u))) max(56px, calc(190 * var(--u))); }
  .punkte li { font-size: max(11.5px, calc(16 * var(--u))); gap: max(7px, calc(24 * var(--u))); min-height: max(40px, calc(68 * var(--u))); padding: 0 max(3px, calc(10 * var(--u))); white-space: nowrap; }
  .punkte svg { width: max(22px, calc(44 * var(--u))); height: max(22px, calc(44 * var(--u))); }
}



/* Handy: Überschrift über die volle Breite, das Foto beginnt darunter neben der Unterzeile */
@media (max-width: 599.98px) {
  /* Schrift wächst mit der Breite: der Titel bricht überall gleich um (4 Zeilen), das Foto beginnt darunter */
  .hero-titel { max-width: none; font-size: clamp(23px, 6.9vw, 30px); }
  .person { top: min(calc(47vw + 2px), 230px); }
  .hero-unterzeile { max-width: 58vw; }

  /* Knopf unter dem Foto, Text in einer Zeile: der Textblock reicht mindestens bis zum Ende des Fotos (Foto-Oberkante + 89vw), der Knopf sitzt an seinem Ende */
  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: calc(min(calc(47vw + 2px), 230px) + 89vw + 48px);
  }
  .knopf.hero-knopf {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    height: 48px;
    margin: auto 0 0;
    padding: 0 16px;
    font-size: min(16px, calc(4.05vw - 2.8px));
    white-space: nowrap;
  }
}

@media (max-width: 389.98px) {
  .kopf { padding-left: 14px; }
  .kopf .logo,
  .handy-menue .logo { --logo-h: 33px; }
}

@media (max-width: 480px) {
  .brief { font-size: 17px; padding: 8px 20px 96px; }
  .brief h2 { font-size: 22px; }
  .brief .absender { font-size: 12px; letter-spacing: 0.1em; margin-bottom: 34px; }
  .brief h3 { font-size: 21px; }
  .unterschrift-brief .unterschrift-name { font-size: 62px; }
}

/* ---------- Desktop (>= 1024 px): 1:1 nach dem Desktop-Entwurf (1672 x 941) ----------
   Alles hängt an --d (ein Pixel des Entwurfs). --d richtet sich nach Breite UND Höhe des Fensters
   und ist nie größer als 1px: Die Seite wird also nie größer als der Entwurf, und der obere Teil
   samt Foto passt immer in die Fensterhöhe (Foto + Kopfzeile = 972 Entwurfspixel <= Fensterhöhe).
   Die Bühne (1672 x 941) steht mittig; links Schwarz, rechts läuft die Werkstatt weiter. */

@media (min-width: 1024px) {
  :root {
    --d: min(calc(100vw / 1672), calc(100vh / 972), 1px);
    --buehne: calc(1672 * var(--d));
  }

  .kopf {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: var(--buehne);
    max-width: 100%;
    margin: 0 auto;
    height: calc(92 * var(--d));
    padding: calc(7 * var(--d)) calc(62 * var(--d)) 0 calc(65 * var(--d));
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    column-gap: clamp(16px, calc(28 * var(--d)), 28px);
    align-items: center;
    background: transparent;
    border-bottom: 0;
  }
  .kopf .logo { --logo-h: clamp(34px, calc(48 * var(--d)), 48px); justify-self: start; }
  .menue {
    position: relative;
    top: calc(-6 * var(--d));
    margin: 0;
    gap: calc(56 * var(--d));
    justify-self: center;
  }
  .menue a,
  .menue .menue-bald { font-size: clamp(13px, calc(16.3 * var(--d)), 16.3px); }
  .menue a[aria-current="page"]::after {
    height: max(2px, calc(3 * var(--d)));
    bottom: calc(-15 * var(--d));
  }
  .knopf {
    justify-self: end;
    flex-direction: row;
    width: auto;
    height: clamp(40px, calc(50 * var(--d)), 50px);
    padding: 0 clamp(14px, calc(22 * var(--d)), 22px);
    border-radius: var(--knopf-radius);
    font-size: clamp(13px, calc(16.3 * var(--d)), 16.3px);
    font-weight: 700;
    letter-spacing: -0.01em;
    white-space: nowrap;
  }

  /* Unterseiten: Kopfzeile mit eigenem Hintergrund statt über dem Foto */
  .unterseite .kopf {
    position: relative;
    width: auto;
    margin: 0;
    padding-left: calc((100% - var(--buehne)) / 2 + 65 * var(--d));
    padding-right: calc((100% - var(--buehne)) / 2 + 62 * var(--d));
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    background: var(--schwarz);
  }


  .hero {
    height: calc(941 * var(--d));
    min-height: 0;
    padding: 0;
  }
  /* Trennlinie der Kopfzeile: liegt hinter dem Kopf, wie im Entwurf */
  .hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: calc(92 * var(--d));
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.16);
  }

  .hero-hintergrund {
    top: 0;
    left: calc((100% - var(--buehne)) / 2);
    right: auto;
    width: calc(2400 * var(--d));
    height: calc(941 * var(--d));
    background: url("bilder/werkstatt-desktop.webp?v=3") left top / 100% 100% no-repeat;
    -webkit-mask-image: none;
    mask-image: none;
    opacity: 1;
  }

  .bogen {
    display: block;
    position: absolute;
    z-index: 0;
    top: 0;
    right: calc((100% - var(--buehne)) / 2);
    width: var(--buehne);
    height: calc(941 * var(--d));
    overflow: visible;
  }

  .person {
    top: calc(62 * var(--d));
    right: calc((100% - var(--buehne)) / 2 + 201 * var(--d));
    bottom: auto;
    width: calc(650 * var(--d));
    height: auto;
    max-width: none;
    max-height: calc(100vh - 92 * var(--d));
    -webkit-mask-image: linear-gradient(180deg, #000 92%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 92%, transparent 100%);
  }

  .hero-text {
    width: auto;
    padding: calc(250 * var(--d)) 0 0 calc((100% - var(--buehne)) / 2 + 91 * var(--d));
  }

  .hero-titel {
    max-width: calc(730 * var(--d));
    font-size: clamp(28px, calc(52 * var(--d)), 52px);
    line-height: 1.1;
    letter-spacing: -0.02em;
  }
  .hero-unterzeile {
    max-width: calc(580 * var(--d));
    margin-top: calc(28 * var(--d));
    font-size: clamp(16px, calc(20 * var(--d)), 20px);
    line-height: 1.55;
  }
  .knopf.hero-knopf {
    display: inline-flex;
    align-items: center;
    height: clamp(46px, calc(58 * var(--d)), 58px);
    margin-top: calc(40 * var(--d));
    padding: 0 clamp(18px, calc(28 * var(--d)), 28px);
    border-radius: var(--knopf-radius);
    font-size: clamp(13px, calc(16.3 * var(--d)), 16.3px);
    white-space: nowrap;
  }

  .kurve { display: none; }

  /* feine Linie über den drei Punkten */
  .punkte::before {
    content: "";
    position: absolute;
    top: calc(-23 * var(--d));
    left: calc(-91 * var(--d));
    width: calc(1000 * var(--d));
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.2) 15%, rgba(255,255,255,0.2) 80%, rgba(255,255,255,0) 100%);
  }
  .punkte {
    position: absolute;
    top: calc(843 * var(--d));
    left: calc((100% - var(--buehne)) / 2 + 91 * var(--d));
    width: calc(830 * var(--d));
    display: grid;
    grid-template-columns: calc(239 * var(--d)) calc(295 * var(--d)) 1fr;
    margin: 0;
    padding: 0;
    border-top: 0;
    background: transparent;
  }
  .punkte li {
    justify-content: flex-start;
    gap: calc(24 * var(--d));
    min-height: calc(52 * var(--d));
    padding: 0 0 0 calc(52 * var(--d));
    font-size: clamp(12px, calc(16.3 * var(--d)), 16.3px);
    line-height: 1.4;
    white-space: nowrap;
  }
  .punkte li:first-child { padding-left: calc(5 * var(--d)); }
  .punkte li + li { border-left: 1px solid rgba(201, 160, 74, 0.7); }
  .punkte svg { width: calc(47 * var(--d)); height: calc(47 * var(--d)); }

  .brief { padding-top: 110px; }
  .brief h2 { font-size: 34px; }
}

/* ---------- Ressourcen: Übersicht und Artikel (ein Artikel pro Marketing-These) ---------- */

.r-kopf,
.artikel-kopf {
  background:
    radial-gradient(70% 90% at 82% 0%, rgba(212, 166, 86, 0.10), rgba(212, 166, 86, 0) 70%),
    var(--schwarz);
}
.r-kopf { padding: 64px 0 48px; }
.r-kopf-in { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.r-titel {
  margin: 0 0 18px;
  font-size: 52px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--weiss);
  text-wrap: balance;
}
.r-lead { max-width: 640px; margin: 0; font-size: 18px; line-height: 1.7; color: #dcdcdc; }

.r-liste { max-width: 1200px; margin: 0 auto; padding: 16px 48px 112px; }
.r-gross,
.r-karte {
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #121212;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.r-gross {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 24px 40px 24px 24px;
  border-radius: 22px;
}
.r-karte {
  grid-template-rows: auto auto auto 1fr auto;
  align-content: start;
  padding: 16px 16px 22px;
  border-radius: 18px;
}
.r-bild {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #000;
}
.r-bild img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.r-karte .r-bild { margin-bottom: 18px; }
.r-karte > :not(.r-bild) { margin-left: 6px; margin-right: 6px; }
.r-nr {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.r-gross h2 {
  margin: 0 0 14px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--weiss);
  text-wrap: balance;
}
.r-karte h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--weiss);
  text-wrap: balance;
}
.r-gross p,
.r-karte p { margin: 0 0 18px; font-size: 16px; line-height: 1.65; color: #bdbdbd; }
.r-mehr {
  justify-self: start;
  align-self: end;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(212, 166, 86, 0.5);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-text);
}
.r-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
@media (hover: hover) {
  .r-gross:hover,
  .r-karte:hover { border-color: rgba(212, 166, 86, 0.6); }
  .r-gross:hover .r-bild img,
  .r-karte:hover .r-bild img { transform: scale(1.03); }
  .r-gross:hover .r-mehr,
  .r-karte:hover .r-mehr { color: var(--gold-hell); border-bottom-color: var(--gold-hell); }
}
.r-gross:focus-visible,
.r-karte:focus-visible { outline: 2px solid var(--gold-hell); outline-offset: 4px; }

/* Artikel */
.artikel-kopf { padding: 56px 0 36px; }
.artikel-kopf-in { max-width: 768px; margin: 0 auto; padding: 0 24px; }
.artikel-titel {
  margin: 0 0 18px;
  font-size: 40px;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--weiss);
  text-wrap: balance;
}
.artikel-unter { margin: 0; font-size: 19px; line-height: 1.6; color: #cfcfcf; }
.botschaft { display: flex; align-items: center; gap: 16px; margin: 8px 0 36px; }
.botschaft img {
  flex: none;
  width: 60px;
  height: 60px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: #1c1c1c;
  object-fit: cover;
  object-position: 50% 6%;
}
.brief .botschaft p { margin: 0; line-height: 1.4; }
.botschaft b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.botschaft span { display: block; margin-top: 4px; font-size: 14px; color: #9a9a9a; }
.brief.artikel-brief { padding-top: 16px; padding-bottom: 72px; }
.brief.artikel-brief h2 {
  margin: 2.2em 0 0.6em;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.artikel-marke { color: var(--gold-text); }
.brief .folge { font-weight: 600; color: var(--weiss); }
.artikel-cta {
  margin: 2.6em 0 2em;
  padding: 28px 30px 30px;
  border: 1px solid rgba(212, 166, 86, 0.45);
  border-top: 2px solid var(--gold);
  border-radius: 18px;
  background: #121212;
}
.brief .artikel-cta .schluss { margin: 0 0 0.5em; }
.brief .artikel-cta p:not(.schluss) { margin: 0; }
.artikel-cta .knopf.fs-knopf { margin-top: 22px; }

.r-weiter { max-width: 1200px; margin: 0 auto; padding: 56px 48px 112px; border-top: 1px solid #1f1f1f; }
.r-weiter-titel { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.01em; color: var(--weiss); }
.r-raster-vier { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.r-raster-vier .r-karte h3 { font-size: 18px; }
.r-raster-vier .r-karte p { font-size: 15px; }

@media (max-width: 1023.98px) {
  .r-kopf-in { padding: 0 24px; }
  .r-liste { padding: 8px 24px 88px; }
  .r-gross { grid-template-columns: 1fr; gap: 22px; padding: 16px 16px 26px; border-radius: 18px; }
  .r-gross .r-text { padding: 0 6px; }
  .r-titel { font-size: 42px; }
  .r-weiter { padding: 44px 24px 88px; }
  .r-raster-vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .r-kopf { padding: 40px 0 32px; }
  .r-titel { font-size: 34px; }
  .r-lead { font-size: 17px; }
  .r-gross h2 { font-size: 25px; }
  .r-raster,
  .r-raster-vier { grid-template-columns: 1fr; gap: 18px; }
  .artikel-kopf { padding: 36px 0 24px; }
  .artikel-kopf-in { padding: 0 20px; }
  .artikel-titel { font-size: 29px; }
  .artikel-unter { font-size: 17px; }
  .brief.artikel-brief h2 { font-size: 21px; }
  .artikel-cta { padding: 22px 20px 24px; }
}
