/* LUMI – gemeinsames Stylesheet für alle Seiten (Build Brief Runde 5).
   Reihenfolge: Tokens, Basis, Layout, Typografie, Navigation und Menü, Buttons,
   Seitenkopf, Medien, Listen und Zeilen, Statements, FAQ, Sticky-Steps, Personen,
   Kontaktkarte, App-Nachbau, Formulare, Footer-Zone, Breakpoints, Bewegung.
   Seitenspezifisches steht inline auf der jeweiligen Seite (Präfix .home-, .story-, .lv-, .sch-, .lk- …). */

/* ------------------------------------------------------------------ Tokens */
:root {
  color-scheme: light;

  --paper: #FFFFFF;
  --tint: #F4F7F8;
  --mist: #EEF3F6;
  --stage: #F5F7FA;
  --ink: #0F172A;
  --ink-hover: #1E293B;
  --body-strong: #334155;
  --body: #475569;
  --muted: #5B6B7F;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --field-border: #7F8EA3;
  --device: #E7ECF1;
  --bubble: #F7F8FA;
  --avatar: #F1F5F9;
  --primary: #0891B2;
  --link: #0E7490;
  --accent: #F59E0B;
  --app-teal: #1690A7;
  --error: #B91C1C;
  --ok: #047857;

  --nav-h: 68px;
  --step-dim: .3;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(2.75rem, 1.6rem + 3.6vw, 4.5rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.2vw, 3.25rem);
  --fs-h3: clamp(1.375rem, 1.2rem + .6vw, 1.75rem);
  --fs-statement: clamp(2.25rem, 1.4rem + 3.2vw, 4rem);
  --fs-lead: clamp(1.125rem, 1.05rem + .3vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;
  --fs-caption: .8125rem;

  --grid-gap: 24px;
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;
  --s-8: 144px;
  --s-section: clamp(64px, 8vw, 120px);

  --r-media: 28px;
  --r-media-sm: 20px;
  --r-ui: 20px;
  --r-field: 12px;
  --r-portrait: 24px;

  --shadow-object: 0 1px 2px rgba(15, 23, 42, .05), 0 24px 60px rgba(15, 23, 42, .10);

  /* Höhe einer Bild-Caption (13px × 1.45 + 10px Abstand), für Überlappungen */
  --caption-h: 29px;
}

/* ------------------------------------------------------------------ Basis */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html:has(dialog.menu[open]) { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { display: block; }
main:focus { outline: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); }
h1, h2, h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  text-wrap: balance;
  hyphens: auto;
  overflow-wrap: break-word;
}
h4 { font-family: var(--sans); font-size: var(--fs-body); font-weight: 600; line-height: 1.4; }

p { margin: 0; text-wrap: pretty; hyphens: auto; }

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s, background-color .2s, text-decoration-thickness .2s;
}
a:hover { text-decoration-thickness: 2px; }

img { max-width: 100%; height: auto; }
ul, ol { margin: 0; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(8, 145, 178, .16); }

.skip {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 40;
  transform: translateY(-200%);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.skip:focus, .skip:focus-visible { transform: none; border-radius: 999px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: clip;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------------ Layout */
.wrap { max-width: 1200px; margin-inline: auto; }
.gutter {
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.section { padding-block: var(--s-section); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: var(--s-5);
  align-items: start;
}
.split > .split__a { grid-column: 1 / span 5; grid-row: 1; min-width: 0; }
.split > .split__b { grid-column: 7 / -1; grid-row: 1; min-width: 0; }
.split--even > .split__a { grid-column: 1 / span 6; }
.split--even > .split__b { grid-column: 7 / -1; }
.split--rev > .split__b { grid-column: 1 / span 6; }
.split--rev > .split__a { grid-column: 8 / -1; }
.split--hero > .split__a { grid-column: 1 / span 6; }
.split--hero > .split__b { grid-column: 8 / -1; }
.split--form > .split__a { grid-column: 1 / span 7; }
.split--form > .split__b { grid-column: 9 / -1; }
.split--center { align-items: center; }

.hero05 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: 20px;
}
.hero05__tag { grid-column: 1 / span 4; grid-row: 1; align-self: end; padding-bottom: 14px; }
.hero05__main { grid-column: 5 / -1; grid-row: 1; min-width: 0; }
/* Ab 900px wie auf der Startseite: Tagline oben neben dem Titel, Lead und Buttons darunter in den Spalten 5–12 */
@media (min-width: 900px) {
  .hero05 { row-gap: 0; }
  .hero05__main { display: contents; }
  .hero05__main > * { grid-column: 5 / -1; min-width: 0; }
  .hero05__main > .h1 { grid-row: 1; }
  .hero05__tag { grid-row: 1; align-self: start; padding-top: .9em; padding-bottom: 0; }
}

.section-head--center { max-width: 40rem; margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* ------------------------------------------------------------------ Typografie */
.display, .h1, .h2, .h3, .statement, .statement-list__line {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 400;
  color: var(--ink);
}
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.02em; }
.h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.018em; }
.h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.015em; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }
.statement {
  font-size: var(--fs-statement);
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -.015em;
  max-width: 22ch;
  text-wrap: balance;
}
.lead {
  font-family: var(--sans);
  font-size: var(--fs-lead);
  line-height: 1.55;
  font-weight: 400;
  color: var(--body-strong);
  max-width: 36rem;
}
.small { font-size: var(--fs-small); line-height: 1.55; color: var(--body); }
.caption { font-size: var(--fs-caption); line-height: 1.45; color: var(--muted); }
.prose { max-width: 38rem; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1em; }
.tagline { font-size: 15px; line-height: 1.5; color: var(--body); max-width: 18rem; }
.mail { color: var(--link); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Abstände im Textfluss */
.display + .lead, .h1 + .lead { margin-top: 24px; }
.h2 + .lead, .h2 + p, .h2 + .prose { margin-top: 20px; }
.h3 + p, .h3 + .small, .h3 + .prose, .h3 + .plain-list { margin-top: 12px; }
.lead + p, .lead + .prose { margin-top: 16px; }
* + .actions { margin-top: 32px; }

/* ------------------------------------------------------------------ Logo, Navigation, Menü */
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}
.logo svg { display: block; flex: none; }
.logo:hover { color: var(--ink); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .96);
  transition: box-shadow .2s;
}
.site-nav.scrolled { box-shadow: inset 0 -1px 0 var(--line); }
.site-nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-nav__links { display: flex; align-items: center; gap: 28px; }
.site-nav__links a {
  font-size: 15px;
  line-height: 1.4;
  color: var(--body);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__links a:hover { color: var(--ink); }
.site-nav__links a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
}
.site-nav__actions { display: flex; align-items: center; gap: 8px; }

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s;
}
.menu-btn:hover { background: var(--mist); }
.menu-btn:focus-visible { border-radius: 999px; }

dialog.menu {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}
dialog.menu::backdrop { background: transparent; }
.menu__inner {
  max-width: 1200px;
  margin-inline: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 48px;
}
.menu__top {
  align-self: stretch;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.menu__inner nav { align-self: stretch; }
.menu__list {
  list-style: none;
  padding: 0;
  margin: 32px 0 40px;
  display: grid;
  gap: 12px;
}
.menu__list a {
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.25;
  color: var(--ink);
  text-decoration: none;
}
.menu__list a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.menu__list a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.menu__mail { margin-top: 24px; }

/* ------------------------------------------------------------------ Buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s, background-color .2s, box-shadow .2s;
}
.btn:focus-visible { border-radius: 999px; }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-hover); color: var(--paper); }
.btn-outline { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn-outline:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* ------------------------------------------------------------------ Seitenkopf Unterseiten */
.page-hero { padding-block: clamp(48px, 7vw, 112px) clamp(48px, 6vw, 88px); }
.page-hero .tagline { margin-bottom: 20px; }
.page-hero .hero05__tag { margin-bottom: 0; }
.page-hero .lead { margin-top: 24px; }
.page-hero .actions { margin-top: 32px; }

/* ------------------------------------------------------------------ Medien */
.media { margin: 0; min-width: 0; }
.media > img, .media > picture > img { display: block; width: 100%; height: auto; }
.media > .caption, .media > figcaption { margin-top: 10px; }

/* A Band: ohne Radius, Oberkante läuft ins Weiß aus */
.media--band > img, .media--band > picture > img {
  aspect-ratio: var(--media-ar, auto);
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(15, 23, 42, 1) var(--band-fade, 30%));
  mask-image: linear-gradient(to bottom, transparent 0, rgba(15, 23, 42, 1) var(--band-fade, 30%));
}

/* B Rahmen: großer Radius, flach, Bildgrund --mist. Der Rahmen sitzt auf dem Bild,
   damit die Caption als Text darunter steht. */
.media--frame > img, .media--frame > picture > img, .media--frame > .media__box {
  aspect-ratio: var(--media-ar, auto);
  object-fit: cover;
  border-radius: var(--r-media);
  background: var(--mist);
  overflow: clip;
}
.media--16x9 { --media-ar: 16 / 9; }
.media--3x2 { --media-ar: 3 / 2; }
.media--4x3 { --media-ar: 4 / 3; }
.media--4x5 { --media-ar: 4 / 5; }
.media--21x9 { --media-ar: 21 / 9; }

/* C Gerät: echter Screenshot im neutralen Rahmen (einzige Bildbehandlung mit Schatten).
   Markup: figure.device > .device__frame > img, darunter figcaption.caption */
.device { margin: 0; width: fit-content; max-width: 100%; }
.device__frame {
  padding: 10px;
  background: var(--device);
  border-radius: 28px;
  box-shadow: var(--shadow-object);
}
.device__frame img { display: block; max-width: 100%; height: auto; border-radius: 18px; }
.device > .caption, .device > figcaption { margin-top: 14px; }

/* D Überlappung */
.media-stack { position: relative; }
.media-stack__main { margin: 0; }
.media-stack:has(> .media-stack__inset:not(.media-stack__inset--ui)) { margin-bottom: 9%; }
.media-stack:has(> .media-stack__inset--ui) { margin-bottom: 32px; }
.media-stack__inset {
  position: absolute;
  right: -4%;
  bottom: -12%;
  width: 42%;
  margin: 0;
  border-radius: var(--r-media-sm);
  outline: 6px solid var(--paper);
  background: var(--mist);
  overflow: clip;
}
.media-stack__inset img { display: block; width: 100%; height: auto; }
.media-stack__inset--ui {
  right: 24px;
  bottom: calc(var(--caption-h) - 48px);
  width: min(340px, 30%);
  outline: 0;
  border-radius: var(--r-ui);
  background: transparent;
  overflow: visible;
}
.media-stack__inset--ui > .app-chat, .media-stack__inset--ui.app-chat { max-width: 340px; }

/* ------------------------------------------------------------------ Werte-Zeile */
.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  container-type: inline-size;
}
.values > div { min-width: 0; }
.values__num {
  margin: 0;
  font-family: var(--serif);
  font-optical-sizing: auto;
  /* Größe nach Brief; in schmalen Spalten zusätzlich an die Containerbreite gebunden, damit nichts überläuft */
  font-size: max(1.75rem, min(clamp(2rem, 1.5rem + 2vw, 3rem), 7.5cqi));
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink);
}
.values__label { margin: 8px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.values--stack { grid-template-columns: minmax(0, 1fr); }
.values--stack .values__num { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }

/* ------------------------------------------------------------------ Zeilen (E) */
.rows { margin: 0; padding: 0; list-style: none; }
.rows__item {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  padding-block: 40px;
  border-top: 1px solid var(--line);
}
.rows__item > * { grid-column: 6 / -1; min-width: 0; }
.rows__item > .rows__title { grid-column: 1 / span 5; grid-row: 1 / span 3; }
.rows__title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: var(--fs-h3);
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ink);
}
.rows__body { min-width: 0; }
.rows__item p { max-width: 38rem; }
.rows__link { display: inline-block; margin-top: 16px; justify-self: start; }

/* Ruhige Liste */
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li {
  font-size: 17px;
  line-height: 1.55;
  color: var(--body);
  padding-block: 14px;
  border-top: 1px solid var(--line);
}
.plain-list li:last-child { border-bottom: 1px solid var(--line); }

/* Frage-Antwort */
.qa { margin: 0; padding: 0; }
.qa__item {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  padding-block: 48px;
}
.qa__item > * { grid-column: 6 / -1; min-width: 0; }
.qa__item > :first-child { grid-column: 1 / span 5; grid-row: 1 / span 4; }
.qa__item .prose + * { margin-top: 16px; }

/* ------------------------------------------------------------------ Statements */
.statement-block { text-align: center; }
.statement-block .statement { margin-inline: auto; }
.statement-block .small { max-width: 34rem; margin: 24px auto 0; }

.statement-list {
  list-style: none;
  padding: 0;
  margin-inline: auto;
  max-width: 40rem;
  text-align: center;
  display: grid;
  gap: 40px;
}
.statement-list__line {
  font-size: var(--fs-h3);
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.statement-list .small { max-width: 30rem; margin: 8px auto 0; }

/* ------------------------------------------------------------------ FAQ */
.faq { margin: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-block: 22px;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 1.375rem;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: pretty;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: .4em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5v13M1.5 8h13' fill='none' stroke='%230F172A' stroke-width='1.25' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  transition: transform .2s;
}
.faq details[open] > summary::after { transform: rotate(45deg); }
.faq .prose { padding-bottom: 24px; }
.faq__subhead { margin-top: 64px; margin-bottom: 8px; }

/* ------------------------------------------------------------------ Sticky-Steps (B) */
.sticky-steps {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  align-items: start;
}
.sticky-steps__media {
  grid-column: 1 / span 6;
  grid-row: 1;
  position: sticky;
  top: calc(var(--nav-h) + 36px);
  align-self: start;
  min-width: 0;
}
.sticky-steps__phase {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 1.375rem;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 16px;
}
.sticky-steps__phase:empty { display: none; }
.sticky-steps__list { grid-column: 8 / -1; grid-row: 1; min-width: 0; counter-reset: ss-step; }
.sticky-steps__list, .sticky-steps__list ol, .sticky-steps__list ul { list-style: none; margin: 0; padding: 0; }
.sticky-steps__group + .sticky-steps__group { margin-top: 40px; }
.sticky-steps__group > .h3 { padding-top: 4px; margin-bottom: 4px; }
.sticky-steps__item {
  counter-increment: ss-step;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 20px;
  padding-block: 28px;
  transition: opacity .35s;
}
.sticky-steps__item::before {
  content: counter(ss-step);
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.sticky-steps__item > * { grid-column: 2; min-width: 0; }
.sticky-steps__item :is(h3, h4) {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ink);
  padding-top: 4px;
}
.sticky-steps__item p { margin-top: 6px; color: var(--body); max-width: 34rem; }
.sticky-steps--plain .sticky-steps__item { grid-template-columns: minmax(0, 1fr); }
.sticky-steps--plain .sticky-steps__item::before { content: none; }
.sticky-steps--plain .sticky-steps__item > * { grid-column: 1; }
.sticky-steps--plain .sticky-steps__item :is(h3, h4) { padding-top: 0; }
html.ss-on .sticky-steps__item:not(.is-active) { opacity: var(--step-dim); }
html.ss-on .sticky-steps__item:focus-within { opacity: 1; }

/* ------------------------------------------------------------------ Personen */
.person-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--grid-gap);
  list-style: none;
  margin: 0;
  padding: 0;
}
.person { margin: 0; min-width: 0; }
.portrait {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-portrait);
  background: var(--mist);
  overflow: clip;
}
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.portrait--placeholder { display: grid; place-items: center; }
.portrait__initials {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--link);
}
.portrait__note { position: absolute; left: 14px; bottom: 14px; font-size: 13px; line-height: 1.3; color: var(--muted); }
.person__name {
  margin-top: 16px;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}
.person__role { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.portrait--sm { flex: none; width: 96px; height: 120px; aspect-ratio: auto; border-radius: 20px; }
.portrait--sm .portrait__initials { font-size: 1.75rem; }
.portrait--md { flex: none; width: 240px; max-width: 100%; }

/* ------------------------------------------------------------------ Kontaktkarte */
.contact-card { display: flex; align-items: flex-start; gap: 24px; margin: 0; }
.contact-card__body { min-width: 0; flex: 1; }
.contact-card__label { font-size: 15px; line-height: 1.45; color: var(--muted); }
.contact-card__name {
  margin-top: 6px;
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--ink);
}
.contact-card__role { margin-top: 2px; font-size: 15px; line-height: 1.45; color: var(--body); }
.contact-card__text { margin-top: 14px; color: var(--body); }
.contact-card__mail { margin-top: 14px; line-height: 2.4; }
.contact-card__mail .mail { margin-right: 4px; }
.contact-card__body > .caption { margin-top: 6px; }
.copy-btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--field-border);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  vertical-align: middle;
  cursor: pointer;
  transition: box-shadow .2s, background-color .2s;
}
.copy-btn:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.copy-btn:focus-visible { border-radius: 999px; }
.copy-status { margin-left: 4px; color: var(--muted); }

/* ------------------------------------------------------------------ App-Nachbau */
.app-chat {
  margin: 0;
  max-width: 440px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-ui);
  box-shadow: var(--shadow-object);
  font-family: var(--sans);
  color: var(--ink);
  overflow: clip;
  text-align: left;
}
.app-chat__head {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ink);
}
.app-chat__head svg { display: block; flex: none; }
.app-chat__body { display: flex; flex-direction: column; gap: 14px; padding: 18px 16px 6px; }
.app-q { display: flex; justify-content: flex-end; align-items: flex-end; gap: 8px; }
.app-q p {
  max-width: 82%;
  padding: 10px 16px;
  border-radius: 18px;
  background: var(--link);
  color: var(--paper);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  hyphens: manual;
}
.app-q__av { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--avatar) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4' fill='%230F172A'/%3E%3Cpath d='M4 20c0-4 3.6-6.5 8-6.5s8 2.5 8 6.5z' fill='%230F172A'/%3E%3C/svg%3E") center / 16px no-repeat; }
.app-a { display: flex; align-items: flex-start; gap: 10px; }
.app-a__av {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--link);
  color: var(--paper);
}
.app-a__av svg { display: block; }
.app-a__bubble {
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bubble);
}
.app-a__label { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--link); }
.app-a__bubble p { font-size: 16px; line-height: 1.45; color: var(--ink); hyphens: manual; }
.app-a__bubble p + p { margin-top: 2px; }
.app-chat__status { padding: 10px 16px 6px; font-size: 13px; line-height: 1.4; color: var(--muted); text-align: center; }
.app-chat__status:last-child { padding-bottom: 16px; }
.app-input { display: flex; align-items: center; gap: 8px; padding: 6px 12px 14px; }
.app-input__plus, .app-input__mic, .app-input__send {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
}
.app-input__plus, .app-input__mic { border: 1px solid var(--line-strong); }
.app-input__plus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 3v12M3 9h12' fill='none' stroke='%230E7490' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.app-input__mic {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%230E7490' stroke-width='1.4' stroke-linecap='round'%3E%3Crect x='6.5' y='2' width='5' height='9' rx='2.5'/%3E%3Cpath d='M4 8.5a5 5 0 0 0 10 0M9 13.5V16'/%3E%3C/svg%3E");
}
.app-input__field {
  flex: 1;
  min-width: 0;
  height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  overflow: clip;
  text-overflow: ellipsis;
}
.app-input__send {
  background-color: var(--link);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M15.5 2.5 2.5 8l5.2 1.8L9.5 15z' fill='none' stroke='%23FFFFFF' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.app-input__send--play {
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 4v10l8-5z' fill='%230F172A'/%3E%3C/svg%3E");
}
.app-chat.is-compact .app-input { display: none; }
.app-chat.is-compact .app-chat__status { padding-bottom: 16px; }
.app-chat--live .app-a__bubble { transition: opacity .15s; }

/* ------------------------------------------------------------------ Formulare */
.form { margin: 0; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}
.field { min-width: 0; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field > label:not(.consent), .choice-pills > legend {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  background-color: var(--paper);
  border: 1px solid var(--field-border);
  border-radius: var(--r-field);
}
.field textarea { min-height: 128px; resize: vertical; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 5.5 7 9.5l4-4' fill='none' stroke='%230F172A' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field :is(input, select, textarea):focus-visible { outline-offset: 2px; border-radius: var(--r-field); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--error); }

.choice-pills { min-width: 0; margin: 0; padding: 0; border: 0; }
.choice-pills > legend { padding: 0; }
.choice-pills__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.choice-pills input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: clip;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
}
.choice-pills label {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--field-border);
  font-size: 15px;
  line-height: 1.2;
  color: var(--ink);
  cursor: pointer;
  transition: color .2s, background-color .2s, box-shadow .2s;
}
.choice-pills label:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.choice-pills input:checked + label { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.choice-pills input:focus-visible + label { outline: 2px solid var(--link); outline-offset: 3px; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--body);
  cursor: pointer;
}
.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--ink);
  cursor: pointer;
}
.consent input:focus-visible { outline-offset: 2px; border-radius: 4px; }
.form-status { font-size: 15px; line-height: 1.55; color: var(--body); }
.form-status:not(:empty) { margin-top: 16px; }
.form-status.ok { color: var(--ok); }

.form-more { min-width: 0; }
.form-more > summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-thickness .2s;
}
.form-more > summary:hover { text-decoration-thickness: 2px; }
.form-more > summary::-webkit-details-marker { display: none; }
.form-more > summary::marker { content: ""; }
.form-more[open] > summary { margin-bottom: 12px; }

/* Hinweis-Box (Rechtsseiten) */
.notice {
  background: var(--mist);
  border-radius: 20px;
  padding: 24px 28px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body-strong);
}

/* ------------------------------------------------------------------ Footer-Zone */
.foot-zone { position: relative; z-index: 3; background: var(--tint); }
.newsletter {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
  row-gap: 32px;
  align-items: start;
  padding-block: 96px 64px;
}
.newsletter__text { grid-column: 1 / span 7; min-width: 0; }
.newsletter__text .lead { margin-top: 20px; }
.nl-form { grid-column: 8 / -1; min-width: 0; margin: 0; padding-top: 8px; }
.nl-label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--ink); }
.nl-row { display: flex; gap: 8px; }
.nl-row input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--field-border);
  border-radius: var(--r-field);
}
.nl-row input::placeholder { color: var(--muted); opacity: 1; }
.nl-row input:focus-visible { outline-offset: 2px; border-radius: var(--r-field); }
.nl-row input[aria-invalid="true"] { border-color: var(--error); }
.nl-form .consent { margin-top: 16px; }

.site-foot { padding-top: 32px; padding-bottom: 48px; }
.site-foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px 32px;
}
.site-foot__grid > * { min-width: 0; }
.site-foot__brand .logo { margin-bottom: 16px; }
.site-foot__brand p { max-width: 24rem; }
.site-foot__brand p + p { margin-top: 10px; }
.site-foot__h {
  margin-bottom: 12px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.site-foot__col ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.site-foot__col li { font-size: var(--fs-small); line-height: 1.5; }
.site-foot__col a { color: var(--body); text-decoration: none; }
.site-foot__col a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; }
.site-foot__col p + p { margin-top: 10px; }
.site-foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: 64px;
}
.site-foot__legal a { color: var(--muted); }
.site-foot__legal a:hover { color: var(--ink); }
.site-foot__legal a + a { margin-left: 20px; }

/* ------------------------------------------------------------------ Breakpoints */
@media (min-width: 1100px) {
  .menu-btn { display: none; }
}
@media (max-width: 1099px) {
  .site-nav__links { display: none; }
}

@media (max-width: 899px) {
  .split, .split--even, .split--rev, .split--hero, .split--form { row-gap: 40px; }
  .split > .split__a, .split > .split__b,
  .split--rev > .split__a, .split--rev > .split__b { grid-column: 1 / -1; grid-row: auto; }

  .hero05 { row-gap: 16px; }
  .hero05__tag, .hero05__main { grid-column: 1 / -1; grid-row: auto; }
  .hero05__tag { align-self: start; padding-bottom: 0; }

  .rows__item, .qa__item { row-gap: 12px; }
  .rows__item > *, .rows__item > .rows__title,
  .qa__item > *, .qa__item > :first-child { grid-column: 1 / -1; grid-row: auto; }
  .rows__item { padding-block: 32px; }
  .qa__item { padding-block: 32px; row-gap: 16px; }

  .sticky-steps__media, .sticky-steps__list { grid-column: 1 / -1; grid-row: auto; position: static; }
  .sticky-steps__media { margin-bottom: 24px; }
  .sticky-steps__phase { display: none; }
  html.ss-on .sticky-steps__item:not(.is-active) { opacity: 1; }

  .media-stack:has(> .media-stack__inset:not(.media-stack__inset--ui)) { margin-bottom: 0; }
  .media-stack:has(> .media-stack__inset--ui) { margin-bottom: 0; }
  .media-stack__inset { right: 12px; bottom: calc(var(--caption-h) + 12px); width: 40%; }
  .media-stack__inset--ui { position: static; width: auto; margin-top: 16px; }

  .person-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .newsletter { padding-block: 72px 48px; }
  .newsletter__text, .nl-form { grid-column: 1 / -1; }
  .nl-form { padding-top: 0; }

  .site-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot__brand { grid-column: 1 / -1; }
  .site-foot__legal { margin-top: 48px; }
}

@media (max-width: 559px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .values__num { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
  .nl-row { flex-direction: column; }
  .nl-row .btn { width: 100%; }
  .site-foot__grid { grid-template-columns: minmax(0, 1fr); }
  .contact-card { gap: 18px; }
  .menu__list a { font-size: 1.625rem; }
}

@media (max-width: 419px) {
  .site-nav__cta { display: none; }
}

/* ------------------------------------------------------------------ Bewegung */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.ss-on .sticky-steps__item:not(.is-active) { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ------------------------------------------------------------------ KI-Kennzeichnung
   Kleiner Kreis unten rechts auf jedem mit KI erzeugten Bild (Pflichtkennzeichnung). */
.media, .fan__card, .photo-box { position: relative; }
.ai {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .08);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: auto;
  cursor: default;
}
.media--band .ai { right: 20px; bottom: 20px; }

/* ------------------------------------------------------------------ Foto mit Box davor
   Breites, abgerundetes Foto; eine weiße Box liegt mittig davor. Mobil steht die Box unter dem Bild. */
.photo-box { margin: 0; }
.photo-box__img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r-media); background: var(--mist); }
.photo-box__card {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 32px));
  margin: -64px auto 0;
  padding: 32px;
  background: var(--paper);
  border-radius: var(--r-ui);
  box-shadow: var(--shadow-object);
}
@media (min-width: 900px) {
  .photo-box__img { aspect-ratio: 2.2 / 1; }
  .photo-box__card { position: absolute; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); padding: 40px; }
  .photo-box .ai { right: 20px; bottom: 20px; }
}
.photo-box__card .h3 + p { margin-top: 12px; }
.photo-box__card .actions { margin-top: 24px; }

/* ------------------------------------------------------------------ Seiten-Hero zentriert (Runde 6)
   Kein Tagline-Block mehr links neben dem Titel: kleine Kennzeile als Pille über dem Titel, alles mittig. */
.hero05 { display: block; text-align: center; }
.hero05__main { display: block; }
.hero05__main > .h1 { max-width: 18ch; margin-inline: auto; text-wrap: balance; }
.hero05__main > .lead { max-width: 36rem; margin-inline: auto; text-wrap: balance; }
.hero05__main > .actions { justify-content: center; }
@media (min-width: 900px) { .hero05__main { display: block; } }
.page-hero .tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: none;
  margin: 0 0 20px;
  padding: 6px 14px;
  font-size: 14px;
  line-height: 1.4;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.page-hero .tagline::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.hero05__tag { padding: 6px 14px; align-self: auto; }

/* Bildband: unten abgerundet statt eckig */
.media--band > img, .media--band > picture > img { border-radius: 0 0 var(--r-media) var(--r-media); }

/* Kontaktkarte neben einem Formular: als eigene Karte, Foto oben, damit sie in die schmale Spalte passt */
.split--form .contact-card {
  flex-direction: column;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-ui);
  background: var(--paper);
}
.split--form .contact-card .portrait--sm { width: 88px; height: 110px; }
.split--form .contact-card__body { width: 100%; }
.split--form .contact-card__mail { line-height: 1.5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
@media (min-width: 900px) { .split--form > .split__b { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; } }

/* Unsichtbares Feld gegen Spam-Bots in Formularen */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status.err { color: var(--error); }

/* ------------------------------------------------------------------ Runde 6, Korrekturen nach visueller Prüfung */
/* Kontaktkarte überall gleich: eigene Karte mit kleinem Foto, auf dem Handy untereinander */
.contact-card {
  max-width: 560px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-ui);
  background: var(--paper);
}
.contact-card .portrait--sm { width: 88px; height: 110px; }
.contact-card__cta { margin-top: 20px; }
@media (max-width: 599px) {
  .contact-card { flex-direction: column; gap: 18px; padding: 24px; }
}
.contact-card__mail { line-height: 1.5; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }

/* Newsletter: Einwilligung steht vor dem Button */
.nl-submit { margin-top: 16px; }
@media (max-width: 599px) { .nl-submit .btn { width: 100%; } }


/* Foto mit Box davor: auf dem Handy bleibt das Foto sichtbar */
@media (max-width: 899px) {
  .photo-box__img { aspect-ratio: 4 / 3; }
  .photo-box__card { margin-top: -40px; padding: 24px; }
  .photo-box > .ai { top: 14px; bottom: auto; }
}

/* Absätze in Textspalten, Platzhalter im Chat, Sticky-Schritte lesbarer */
.split__a > p + p { margin-top: 16px; }
.app-input__field { display: block; line-height: 38px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
html.ss-on .sticky-steps__item:not(.is-active) { opacity: .45; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
@media (max-width: 599px) { .faq summary { font-size: 1.2rem; } }

/* ------------------------------------------------------------------ Eingebettetes IONOS-Newsletter-Formular
   Das Formular kommt als fremdes HTML; hier bekommt es Schrift, Felder und Button im LUMI-Stil. */
.nl-embed { font-family: var(--sans); color: var(--body); }
.nl-embed form { margin: 0; }
.nl-embed label { display: block; margin: 12px 0 6px; font-size: 15px; font-weight: 500; color: var(--ink); }
.nl-embed input[type="email"], .nl-embed input[type="text"] {
  width: 100%; min-height: 52px; padding: 0 16px;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--paper);
  border: 1px solid var(--field-border); border-radius: var(--r-field);
}
.nl-embed input[type="checkbox"] { width: 20px; height: 20px; margin-right: 8px; accent-color: var(--ink); vertical-align: -4px; }
.nl-embed button, .nl-embed input[type="submit"] {
  margin-top: 16px; min-height: 52px; padding: 0 28px;
  font: inherit; font-weight: 500; color: var(--paper); background: var(--ink);
  border: 0; border-radius: 999px; cursor: pointer;
}
.nl-embed button:hover, .nl-embed input[type="submit"]:hover { background: var(--ink-hover); }
.nl-embed a { color: var(--link); }
.nl-embed p, .nl-embed small { font-size: 14px; line-height: 1.5; }

/* Rechtstexte aus WordPress (z. B. IT-Recht Kanzlei) */
.legal-wp h1 { display: none; } /* die Seite hat schon ihre Überschrift */
.legal-wp h2, .legal-wp h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin-top: var(--s-5); line-height: 1.25; }
.legal-wp h2 { font-size: var(--fs-h3); }
.legal-wp h3 { font-size: 1.2rem; }
.legal-wp h2 + p, .legal-wp h3 + p { margin-top: 12px; }
.legal-wp p + p, .legal-wp ul, .legal-wp ol { margin-top: 12px; }
.legal-wp ul, .legal-wp ol { padding-left: 1.25em; }
.legal-wp li + li { margin-top: 6px; }
.legal-wp a { color: var(--link); overflow-wrap: anywhere; }
.legal-extra { margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.legal-extra h3 { margin-top: var(--s-4); }
.nl-embed__text { margin-bottom: 20px; max-width: 30rem; }
.nl-embed iframe { display: block; width: 100%; }

/* ------------------------------------------------------------------ Newsletter-Popup (Link aus der Umfrage) */
dialog.nl-popup {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  padding: 36px 32px 28px;
  border: 0;
  border-radius: var(--r-ui);
  background: var(--tint);
  color: var(--body);
  box-shadow: 0 30px 80px rgba(15, 23, 42, .25);
  overflow: auto;
}
dialog.nl-popup::backdrop { background: rgba(15, 23, 42, .35); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
html:has(dialog.nl-popup[open]) { overflow: hidden; }
.nl-popup .h3 { padding-right: 40px; }
.nl-popup__lead { margin-top: 10px; }
.nl-popup__form { margin-top: 20px; }
.nl-popup__form iframe { display: block; width: 100%; }
.nl-popup__done { margin-top: 20px; padding: 16px 18px; border-radius: var(--r-field); background: var(--paper); color: var(--ink); }
.nl-popup__close {
  position: absolute; top: 14px; right: 14px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer;
}
.nl-popup__close:hover { background: var(--mist); }
@media (max-width: 599px) { dialog.nl-popup { padding: 28px 20px 20px; } }
