@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --marine: #0a1b57;
  --blau: #00314f;
  --blau-hell: #dbe6ef;
  --rot: #bd0301;
  --gelb: #ffb82e;
  --gelb-hell: #fff3d0;
  --flaeche: #f2f5f8;
  --linie: #cfd7e1;
  --text: #27313d;
  --text-leise: #4f5b6a;
  --weiss: #ffffff;
  --fehler: #a4160c;

  --breite: 1180px;
  --rand: clamp(16px, 4vw, 40px);
  --abschnitt: clamp(64px, 9vw, 120px);
  --radius: 10px;

  /* Werte für die Feinjustierung */
  --einstieg-oben: clamp(40px, 6vw, 84px);
  --einstieg-h1: clamp(2.5rem, 5.2vw, 4.25rem);
  --foto-breite: 360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
  font-variant-numeric: tabular-nums;
  caret-color: var(--marine);
  scrollbar-color: var(--marine) var(--flaeche);
}
::selection { background: var(--gelb); color: var(--marine); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--marine); text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--blau); text-decoration-thickness: 2.5px; }
:focus-visible { outline: 3px solid var(--marine); outline-offset: 3px; border-radius: 3px; }
.teilung :focus-visible, .fuss :focus-visible, .visitenkarte :focus-visible, .seitenleiste .ruf :focus-visible { outline-color: var(--gelb); }
h1, h2, h3 { font-stretch: 84%; color: var(--marine); line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: var(--einstieg-h1); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 750; letter-spacing: -0.015em; }
h1::before, .abschnitt h2::before { content: ""; display: block; width: 56px; height: 4px; background: var(--rot); margin-bottom: 0.45em; }
.person h2::before, .fliesstext h2::before { content: none; }
h3 { font-size: 1.4rem; font-weight: 700; }
p { margin: 0; max-width: 68ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt { padding: var(--abschnitt) 0; }
.abschnitt > .huelle > h2 { margin-bottom: 0.9em; }
.sprung { position: absolute; left: -9999px; }
.sprung:focus { left: 16px; top: 16px; background: var(--weiss); padding: 10px 16px; z-index: 50; }

/* Buttons */
.knopf {
  display: inline-block; background: var(--marine); color: var(--weiss);
  font-weight: 700; font-size: 1.0625rem; text-decoration: none;
  padding: 0.9em 1.6em; border-radius: 6px; border: 2px solid var(--marine);
  transition: background 0.18s ease-out, transform 0.18s ease-out;
  cursor: pointer; font-family: inherit;
}
.knopf:hover { background: var(--blau); border-color: var(--blau); color: var(--weiss); transform: translateY(-1px); }
.knopf:active { transform: translateY(0); }
.knopf.hell { background: transparent; color: var(--marine); }
.knopf.hell:hover { background: var(--blau-hell); color: var(--marine); border-color: var(--marine); }
.pfeil { font-weight: 700; text-decoration: none; white-space: nowrap; }
.pfeil::after { content: " \2192"; transition: margin 0.18s ease-out; }
.pfeil:hover::after { margin-left: 4px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--weiss); border-bottom: 1px solid var(--linie); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.marke { display: block; flex: none; }
.marke .logo { display: block; width: 236px; aspect-ratio: 310 / 65; background: var(--blau); -webkit-mask: url("../img/logo-weiss.png") center / contain no-repeat; mask: url("../img/logo-weiss.png") center / contain no-repeat; }
.marke:hover .logo { background: var(--rot); }
.navi ul { display: flex; gap: clamp(16px, 2.4vw, 34px); }
.navi a { text-decoration: none; font-weight: 600; font-size: 1rem; color: var(--blau); padding: 8px 0; border-bottom: 2px solid transparent; }
.navi a:hover, .navi a[aria-current="page"] { border-bottom-color: var(--rot); color: var(--marine); }
.kopf .anruf { padding: 0.6em 1.1em; font-size: 1rem; white-space: nowrap; }
.menue-knopf { display: none; }
.kopf .anruf .kurz { display: none; }

/* Einstieg */
.einstieg { padding: var(--einstieg-oben) 0 0; }
.einstieg .huelle:not(.breit) { display: grid; grid-template-columns: minmax(0, 1fr) var(--foto-breite); gap: clamp(32px, 6vw, 88px); align-items: center; }
.einstieg .anriss { font-size: 1.3rem; line-height: 1.5; margin: 1.1em 0 1.6em; max-width: 34em; }
.einstieg .aktionen { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.einstieg .sternhinweis { margin-top: 1.8em; font-size: 1rem; line-height: 1.5; color: var(--text); max-width: 40em; padding-left: 14px; border-left: 3px solid var(--gelb); }
.visitenkarte { background: var(--blau); color: var(--weiss); border-radius: var(--radius); overflow: hidden; }
.visitenkarte img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.visitenkarte div { padding: 18px 22px 22px; font-size: 0.98rem; line-height: 1.5; }
.visitenkarte strong { display: block; font-size: 1.15rem; }
.visitenkarte a { color: var(--weiss); font-weight: 700; font-size: 1.3rem; text-decoration: none; display: inline-block; margin-top: 10px; }
.visitenkarte a:hover { color: var(--gelb); }
.fakten { margin-top: clamp(40px, 6vw, 72px); border-top: 2px solid var(--marine); border-bottom: 1px solid var(--linie); }
.fakten ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fakten li { padding: 22px 28px 24px 0; font-size: 1rem; line-height: 1.45; color: var(--text-leise); }
.fakten li + li { padding-left: 28px; border-left: 1px solid var(--linie); }
.fakten b { display: block; font-size: 2.1rem; font-weight: 800; font-stretch: 84%; color: var(--marine); line-height: 1.1; margin-bottom: 4px; }
.fakten .pfeil { white-space: normal; }
.fakten mark { background: linear-gradient(transparent 58%, var(--gelb) 58%); color: inherit; padding: 0 2px; }

/* Leistungen */
.haupt-leistungen { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.haupt-leistungen article { border-top: 3px solid var(--marine); padding-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.haupt-leistungen .preis { font-size: 1.05rem; color: var(--text-leise); }
.haupt-leistungen .preis b { font-size: 1.7rem; font-stretch: 84%; color: var(--marine); background: var(--gelb); padding: 1px 8px; border-radius: 4px; margin-right: 4px; }
.weitere { margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--linie); }
.weitere li { border-bottom: 1px solid var(--linie); }
.weitere a { display: grid; grid-template-columns: 17em 1fr auto; gap: 24px; align-items: baseline; padding: 18px 4px; text-decoration: none; color: var(--text); transition: background 0.18s ease-out, padding 0.18s ease-out; }
.weitere a strong { color: var(--marine); font-size: 1.15rem; font-stretch: 88%; }
.weitere a::after { content: "\2192"; color: var(--marine); font-weight: 700; }
.weitere a:hover { background: var(--flaeche); padding-left: 14px; padding-right: 14px; }

/* Honorar */
.honorar { background: var(--gelb-hell); }
.honorar .huelle { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.honorar h2, .anfrage h2, .auslagern h2 { margin-bottom: 0.7em; }
.honorar p + p { margin-top: 1em; }
.honorar .knopf { margin-top: 1.8em; }
.rechnung { background: var(--weiss); border-radius: var(--radius); border: 1px solid #ecd9a0; padding: clamp(22px, 3vw, 36px); }
.rechnung dl { margin: 0; }
.rechnung div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.rechnung dt { color: var(--text-leise); }
.rechnung dd { margin: 0; font-weight: 700; font-size: 1.25rem; color: var(--marine); white-space: nowrap; }
.rechnung .summe { border-bottom: 3px double var(--marine); padding: 20px 0; align-items: center; }
.rechnung .dazu { border-bottom: 0; padding-bottom: 0; }
.rechnung .summe dt { color: var(--marine); font-weight: 700; }
.rechnung .summe dd { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; font-stretch: 84%; line-height: 1; background: var(--gelb); padding: 4px 12px; border-radius: 6px; }
.rechnung small { display: block; margin-top: 14px; color: var(--text-leise); font-size: 0.92rem; }

.rechner { display: grid; gap: 16px; }
.rechner-eingabe { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: end; }
.rechner-eingabe label { display: block; font-weight: 600; font-size: 0.98rem; margin-bottom: 6px; color: var(--marine); }
.rechner-eingabe input { width: 100%; font: inherit; font-weight: 700; font-size: 1.25rem; color: var(--marine); background: var(--weiss); border: 1.5px solid #8492a3; border-radius: 6px; padding: 0.55em 0.7em; text-align: right; }
.rechner-eingabe input:hover { border-color: var(--marine); }

/* Arbeitsteilung */
.teilung { background: var(--blau); color: var(--weiss); }
.teilung h2, .teilung h3 { color: var(--weiss); }
.teilung .spalten { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
.teilung h3 { padding-bottom: 14px; border-bottom: 2px solid var(--gelb); margin-bottom: 6px; }
.teilung li { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.teilung .uebergabe { align-self: center; text-align: center; font-size: 0.95rem; color: #c9dbe8; max-width: 9em; line-height: 1.35; }
.teilung .uebergabe::before { content: "\2192"; display: block; font-size: 2.6rem; color: var(--gelb); line-height: 1; }
.teilung .hinweis { margin-top: 2.2em; color: #dce8f1; }

/* Kundenstimmen */
.stimmen { background: var(--flaeche); }
.stimme-gross { margin: 0 0 clamp(36px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: clamp(24px, 5vw, 64px); align-items: end; }
.stimme-gross blockquote { margin: 0; font-size: clamp(1.5rem, 2.9vw, 2.2rem); line-height: 1.3; font-weight: 600; font-stretch: 90%; color: var(--marine); max-width: 24em; text-wrap: balance; }
.stimmen figcaption { font-size: 0.98rem; line-height: 1.45; color: var(--text-leise); }
.stimmen figcaption strong { display: block; color: var(--marine); }
.stimmen figcaption img { height: 44px; width: auto; margin-bottom: 12px; mix-blend-mode: multiply; }
.stimmen-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin-bottom: 2.4em; }
.stimmen-liste figure { margin: 0; border-top: 1px solid var(--linie); padding-top: 20px; display: flex; flex-direction: column; gap: 18px; }
.stimmen-liste blockquote { margin: 0; font-size: 1rem; line-height: 1.6; }
.stimmen-liste figcaption { margin-top: auto; }

/* Team */
.team-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin-bottom: 2.4em; }
.team-liste img, .person img, .visitenkarte img { max-width: 384px; }
.team-liste img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 18px; }
.team-liste h3 { margin-bottom: 2px; }
.team-liste .rolle { color: var(--text-leise); font-weight: 600; margin-bottom: 10px; }

/* Auslagern */
.auslagern .huelle { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.auslagern p { font-size: 1.15rem; }

/* Fragen */
.fragen { background: var(--flaeche); }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen details:first-of-type { border-top: 2px solid var(--marine); }
.fragen summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-weight: 700; font-size: 1.2rem; font-stretch: 90%; color: var(--marine); position: relative; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.9rem; font-weight: 400; transition: transform 0.2s ease-out; }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen summary:hover { color: var(--blau); }
.fragen details p { padding: 0 0 24px; }

/* Anfrage */
.anfrage .huelle { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.anfrage .einleitung { font-size: 1.15rem; margin-bottom: 1.6em; }
.ablauf { counter-reset: schritt; margin-bottom: 2em; }
.ablauf li { counter-increment: schritt; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--linie); }
.ablauf li::before { content: counter(schritt); font-weight: 800; font-size: 1.7rem; font-stretch: 84%; color: var(--marine); line-height: 1.1; }
.formular { background: var(--flaeche); border-radius: var(--radius); padding: clamp(20px, 3.4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.formular .breit { grid-column: 1 / -1; }
.formular label { display: block; font-weight: 600; font-size: 0.98rem; margin-bottom: 6px; color: var(--marine); }
.formular input, .formular select, .formular textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--weiss);
  border: 1.5px solid #8492a3; border-radius: 6px; padding: 0.7em 0.8em;
}
.formular textarea { min-height: 8.5em; resize: vertical; }
.formular input:hover, .formular select:hover, .formular textarea:hover { border-color: var(--marine); }
.formular input:focus-visible, .formular select:focus-visible, .formular textarea:focus-visible { outline: 3px solid var(--marine); outline-offset: 1px; border-color: var(--marine); }
.formular [aria-invalid="true"] { border-color: var(--fehler); border-width: 2px; }
.formular .fehler { color: var(--fehler); font-size: 0.92rem; font-weight: 600; margin-top: 6px; min-height: 0; }
.formular .fehler:empty { display: none; }
.formular .zustimmung { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 0.95rem; }
.formular .zustimmung input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--marine); }
.formular .zustimmung label { font-weight: 400; color: var(--text); margin: 0; }
.formular .falle { position: absolute; left: -9999px; }
.formular .meldung { font-weight: 700; color: var(--marine); background: var(--gelb-hell); border-radius: 6px; padding: 14px 16px; }
.formular .meldung:empty { display: none; }
.formular button[disabled] { opacity: 0.6; cursor: progress; }

/* Unterseiten */
.seitenkopf { background: var(--flaeche); padding: clamp(40px, 6vw, 76px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--linie); }
.seitenkopf h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); hyphens: auto; overflow-wrap: anywhere; }
.seitenkopf .pfad { font-size: 0.95rem; margin-bottom: 14px; color: var(--text-leise); }
.inhalt { padding: clamp(40px, 6vw, 72px) 0 var(--abschnitt); }
.inhalt .huelle { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.inhalt.schmal .huelle { grid-template-columns: minmax(0, 46rem); }
.fliesstext { overflow-wrap: break-word; }
.fliesstext > * + * { margin-top: 1.05em; }
.fliesstext h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.9em; }
.fliesstext h3 { margin-top: 1.7em; }
.fliesstext h4 { margin-top: 1.6em; font-size: 1.1rem; }
.fliesstext ul { display: grid; gap: 0; border-top: 1px solid var(--linie); }
.fliesstext ul { max-width: 68ch; }
.fliesstext ul li { padding: 12px 0 12px 30px; border-bottom: 1px solid var(--linie); position: relative; }
.fliesstext ul li::before { content: ""; position: absolute; left: 4px; top: 1.25em; width: 12px; height: 3px; background: var(--gelb); }
.preisschild { background: var(--gelb-hell); border: 1px solid #ecd9a0; border-radius: var(--radius); padding: 20px 24px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; max-width: 34rem; }
.preisschild b { font-size: 2.3rem; font-weight: 800; font-stretch: 84%; color: var(--marine); line-height: 1; background: var(--gelb); padding: 3px 10px; border-radius: 5px; }
.seitenleiste { position: sticky; top: 104px; display: grid; gap: 24px; }
.seitenleiste nav { border-top: 2px solid var(--marine); }
.seitenleiste nav a { display: block; padding: 12px 2px; border-bottom: 1px solid var(--linie); text-decoration: none; font-weight: 600; }
.seitenleiste nav a:hover, .seitenleiste nav a[aria-current="page"] { background: var(--flaeche); padding-left: 10px; }
.seitenleiste .ruf { background: var(--blau); color: var(--weiss); border-radius: var(--radius); padding: 22px; line-height: 1.5; }
.seitenleiste .ruf a { color: var(--weiss); font-size: 1.35rem; font-weight: 700; text-decoration: none; display: block; margin: 4px 0 14px; }
.seitenleiste .ruf .knopf { background: var(--gelb); border-color: var(--gelb); color: var(--marine); font-size: 1rem; margin: 0; text-align: center; }
.seitenleiste .ruf .knopf:hover { background: var(--weiss); border-color: var(--weiss); }
.uebersicht { display: grid; gap: 0; border-top: 2px solid var(--marine); }
.uebersicht article { padding: 26px 0; border-bottom: 1px solid var(--linie); display: grid; gap: 10px; }
.person { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); padding: 34px 0; border-bottom: 1px solid var(--linie); }
.person:first-of-type { border-top: 2px solid var(--marine); }
.person img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.person p + p { margin-top: 0.9em; }
.person h2 { font-size: 1.6rem; margin-bottom: 12px; }
.referenz { margin: 0; padding: 34px 0; border-bottom: 1px solid var(--linie); display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: clamp(20px, 4vw, 56px); align-items: start; }
.referenz:first-of-type { border-top: 2px solid var(--marine); }
.referenz blockquote { margin: 0; font-size: 1.12rem; }
.referenz figcaption { font-size: 0.98rem; line-height: 1.45; color: var(--text-leise); }
.referenz figcaption strong { display: block; color: var(--marine); }
.referenz figcaption img { height: 46px; width: auto; margin-bottom: 12px; }

/* Leistungsseiten */
.seitenkopf.mit-preis .huelle { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 72px); align-items: start; }
.seitenkopf .unterzeile { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 650; font-stretch: 90%; color: var(--marine); line-height: 1.3; margin: 0.7em 0 0.2em; max-width: 30em; }
.seitenkopf.mit-preis p + p { margin-top: 0.8em; }
.kopf-preis { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; }
.kopf-preis .preisschild { background: none; border: 0; padding: 0; display: block; font-size: 1rem; color: var(--text-leise); }
.kopf-preis .preisschild b { display: table; font-size: 2.9rem; margin: 6px 0; }
.kopf-preis .knopf { text-align: center; }
.kopf-preis .tel { text-align: center; font-weight: 600; text-decoration: none; }
.inhalt.voll .huelle { display: block; }
.fliesstext ul.vorteile { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 32px; border-top: 0; max-width: none; }
.fliesstext ul.vorteile li { border-top: 3px solid var(--marine); border-bottom: 0; padding: 16px 0 0; font-weight: 600; font-size: 1.08rem; line-height: 1.4; color: var(--marine); }
.fliesstext ul.vorteile li::before { content: none; }
.fliesstext ul.zweispaltig { display: block; columns: 2; column-gap: 64px; max-width: none; border-top: 0; }
.fliesstext ul.zweispaltig li { break-inside: avoid; border-top: 1px solid var(--linie); border-bottom: 0; }
.zitatband .stimme-gross { margin: 0; }
.zitatband blockquote { font-size: clamp(1.15rem, 1.9vw, 1.45rem); font-weight: 500; max-width: none; }
.weitere-seiten { padding-top: clamp(40px, 6vw, 72px); }
.weitere-seiten .weitere { margin-top: 0; }
.weitere-seiten .weitere a { grid-template-columns: 1fr auto; }
.weitere-seiten .weitere a span { display: none; }
.haupt-leistungen.gross h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.haupt-leistungen h2::before { content: none; }
.honorar .huelle > div:last-child:not(.rechner) { text-align: right; }
.abschluss { background: var(--gelb-hell); padding: clamp(40px, 6vw, 68px) 0; }
.abschluss .huelle { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; }
.abschluss h2 { margin-bottom: 0.3em; }
.abschluss h2::before { content: ""; display: block; width: 56px; height: 4px; background: var(--rot); margin-bottom: 0.45em; }
.abschluss .aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.abschluss .tel { font-weight: 800; font-stretch: 84%; font-size: 1.6rem; text-decoration: none; }

/* Unterseiten, zweite Fassung */
.seitenkopf .aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 1.6em; }
.seitenkopf.mit-preis .huelle { align-items: center; }
.seitenkopf .visitenkarte { max-width: 340px; justify-self: end; }
.seitenkopf.mit-preis p { font-size: 1.12rem; }
.seitenkopf.mit-preis .pfad { font-size: 0.95rem; }
.seitenkopf.mit-preis .unterzeile { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.einordnung { padding-bottom: 0; }
.einordnung .huelle.zwei { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: start; }
.einordnung .leit { font-size: clamp(1.3rem, 2.1vw, 1.7rem); line-height: 1.38; font-weight: 600; font-stretch: 90%; color: var(--marine); max-width: 30em; text-wrap: pretty; }
.einordnung .fliesstext p { font-size: 1.1rem; }

.vorteile-band { background: var(--flaeche); }
.einordnung + .vorteile-band { margin-top: var(--abschnitt); }
.vorteile-band ul.vorteile { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); counter-reset: vorteil; }
.vorteile-band ul.vorteile.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vorteile-band ul.vorteile li { counter-increment: vorteil; background: var(--weiss); border-top: 4px solid var(--marine); border-radius: 0 0 var(--radius) var(--radius); padding: 24px 24px 28px; font-weight: 600; font-size: 1.15rem; line-height: 1.42; color: var(--marine); overflow-wrap: break-word; }
.vorteile-band ul.vorteile.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.zeilen { padding: clamp(48px, 7vw, 96px) 0; }
.zeile { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 72px); padding: clamp(30px, 4vw, 48px) 0; border-top: 1px solid var(--linie); align-items: start; }
.zeile:first-child { border-top: 2px solid var(--marine); }
.zeile:last-child { padding-bottom: 0; }
.zeile h2 { font-size: clamp(1.5rem, 2.5vw, 2.05rem); position: sticky; top: 104px; }
.abschnitt .zeile h2::before { content: none; }
.zeile .fliesstext > :first-child { margin-top: 0; }
.zeile .fliesstext p { font-size: 1.1rem; max-width: 40em; }
.zeile .fliesstext ul { max-width: none; border-top: 0; }
.zeile .fliesstext ul li { padding: 14px 0 14px 34px; font-size: 1.08rem; }
.zeile .fliesstext ul li:first-child { padding-top: 0; }
.zeile .fliesstext ul li:first-child::before { top: 0.72em; }
.zeile .fliesstext ul li::before { width: 16px; }

.honorar .huelle { align-items: start; }
.honorar h2.lang { font-size: clamp(1.6rem, 2.7vw, 2.15rem); }
.honorar .huelle > div:first-child p { font-size: 1.1rem; }
.rechner-eingabe.einzeln { grid-template-columns: minmax(0, 1fr); }
.honorar + .teilung, .teilung + .honorar { margin-top: 0; }

.weitere-seiten .weitere a { grid-template-columns: 17em 1fr auto; }
.weitere-seiten .weitere a span { display: block; }
.haupt-leistungen.einzeln { grid-template-columns: minmax(0, 46rem); }
.haupt-leistungen.einzeln p { font-size: 1.12rem; }

.personen { padding-bottom: clamp(24px, 4vw, 48px); }
.person { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 88px); padding: clamp(36px, 5vw, 64px) 0; align-items: start; }
.person:first-of-type { border-top: 2px solid var(--marine); }
.person:last-of-type { border-bottom: 0; }
.person img { max-width: none; aspect-ratio: 4 / 3; }
.person h3 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.person .rolle { color: var(--text-leise); font-weight: 600; font-size: 1.1rem; margin-top: 4px; }
.person .merk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin: 22px 0 24px; padding: 18px 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); max-width: none; color: var(--text-leise); line-height: 1.4; }
.person .merk b { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; font-stretch: 84%; color: var(--marine); line-height: 1.1; }
.person div > p:not(.rolle):not(.merk) { font-size: 1.08rem; max-width: 40em; }
.person .merk + p { margin-top: 0; }

.erreichbar { background: var(--flaeche); }
.erreichbar .drei { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.erreichbar .drei > div { border-top: 3px solid var(--marine); padding-top: 18px; }
.erreichbar h3 { margin-bottom: 10px; }
.erreichbar .gross { font-size: 1.6rem; font-weight: 800; font-stretch: 84%; text-decoration: none; }

.referenz-karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 32px); }
.referenz-karten .referenz { background: var(--weiss); border: 1px solid var(--linie); border-top: 4px solid var(--marine); border-radius: 0 0 var(--radius) var(--radius); padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 24px; }
.referenz-karten .referenz blockquote { font-size: 1.1rem; }
.referenz-karten .referenz figcaption { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--linie); }
.referenz-karten .referenz figcaption img { mix-blend-mode: normal; }

.anfrage .visitenkarte { margin-top: 2.2em; max-width: 340px; }
.anfrage .zeiten { margin-bottom: 1.2em; }
.anfrage .zeiten strong { display: block; color: var(--marine); }

/* Fuß */
.fuss { background: var(--marine); color: #d7deee; padding: clamp(44px, 6vw, 72px) 0 28px; font-size: 0.98rem; }
.fuss a { color: var(--weiss); }
.fuss a:hover { color: var(--gelb); }
.fuss .huelle > div { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(24px, 5vw, 64px); }
.fuss img { width: 232px; margin-bottom: 18px; }
.fuss strong { color: var(--weiss); display: block; margin-bottom: 6px; }
.fuss .unterschriften { font-style: italic; color: var(--weiss); }
.fuss .fussnote { margin-top: 32px; padding: 16px 20px; border-left: 3px solid var(--gelb); background: rgba(255, 255, 255, 0.08); max-width: none; font-size: 1.0625rem; line-height: 1.5; color: var(--weiss); }
.fuss .rechtliches { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.28); max-width: none; }

/* Bewegung: Inhalte sind ohne JavaScript sichtbar */
.js .einblenden { opacity: 0; transform: translateY(14px); transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.js .einblenden.sichtbar { opacity: 1; transform: none; }
.js .rechnung div { opacity: 0; transform: translateX(-10px); transition: opacity 0.45s ease-out, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.js .rechnung.sichtbar div { opacity: 1; transform: none; }
.js .rechnung.sichtbar div:nth-child(2) { transition-delay: 0.14s; }
.js .rechnung.sichtbar div:nth-child(3) { transition-delay: 0.28s; }
.js .rechnung.sichtbar div:nth-child(4) { transition-delay: 0.42s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .einblenden, .js .rechnung div { opacity: 1; transform: none; transition: none; }
  .knopf, .weitere a, .pfeil::after { transition: none; }
}

@media (max-width: 980px) {
  .navi { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--weiss); border-bottom: 1px solid var(--linie); padding: 8px var(--rand) 18px; }
  .navi.offen { display: block; }
  .navi ul { flex-direction: column; gap: 0; }
  .navi a { display: block; padding: 13px 0; border-bottom: 1px solid var(--linie); font-size: 1.08rem; }
  .menue-knopf { display: inline-block; background: none; border: 1.5px solid var(--marine); border-radius: 6px; color: var(--marine); font: inherit; font-weight: 700; padding: 0.5em 0.9em; cursor: pointer; }
  .kopf .huelle { gap: 10px; }
  .marke { flex: 0 1 236px; min-width: 0; }
  .marke .logo { width: 100%; }
  .kopf .anruf { order: 2; margin-left: auto; padding: 0.5em 0.85em; font-size: 1rem; border-width: 1.5px; }
  .kopf .anruf .nummer { display: none; }
  .kopf .anruf .kurz { display: inline; }
  .menue-knopf { order: 3; flex: none; }
  .einstieg .huelle:not(.breit), .honorar .huelle, .auslagern .huelle, .anfrage .huelle, .inhalt .huelle { grid-template-columns: minmax(0, 1fr); }
  .visitenkarte { display: grid; grid-template-columns: 150px 1fr; max-width: 520px; }
  .visitenkarte img { height: 100%; aspect-ratio: auto; }
  .haupt-leistungen, .stimmen-liste, .team-liste { grid-template-columns: minmax(0, 1fr); }
  .team-liste article { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; align-items: start; }
  .team-liste img { margin: 0; }
  .weitere a { grid-template-columns: 1fr auto; }
  .weitere a span { grid-column: 1; grid-row: 2; }
  .weitere a::after { grid-row: 1 / 3; grid-column: 2; align-self: center; }
  .teilung .spalten { grid-template-columns: 1fr; }
  .teilung .uebergabe { max-width: none; text-align: left; display: flex; gap: 14px; align-items: center; }
  .teilung .uebergabe::before { transform: rotate(90deg); }
  .stimme-gross, .referenz { grid-template-columns: 1fr; }
  .seitenleiste { position: static; }
  .seitenkopf.mit-preis .huelle { grid-template-columns: minmax(0, 1fr); }
  .kopf-preis { max-width: 420px; }
  .fliesstext ul.vorteile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fliesstext ul.zweispaltig { columns: 1; }
  .honorar .huelle > div:last-child:not(.rechner) { text-align: left; }
  .fuss .huelle > div { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .fakten ul { grid-template-columns: minmax(0, 1fr); }
  .fakten li, .fakten li + li { padding: 16px 0; border-left: 0; border-top: 1px solid var(--linie); }
  .fakten li:first-child { border-top: 0; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .pfeil { white-space: normal; }
  .formular { grid-template-columns: 1fr; }
  .rechner-eingabe { grid-template-columns: minmax(0, 1fr); }
  .fliesstext ul.vorteile { grid-template-columns: minmax(0, 1fr); }
  .person { grid-template-columns: 1fr; }
  .person img { max-width: 260px; }
  .team-liste article { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .team-liste .rolle { hyphens: auto; overflow-wrap: anywhere; }
  .rechnung div { flex-direction: column; gap: 2px; }
  .einstieg .anriss { font-size: 1.15rem; }
  .marke { flex-basis: 190px; }
  h1, .seitenkopf h1 { font-size: clamp(1.9rem, 8.6vw, 2.5rem); hyphens: auto; overflow-wrap: anywhere; }
}
@media (max-width: 980px) {
  .einordnung .huelle.zwei, .zeile, .person { grid-template-columns: minmax(0, 1fr); }
  .zeile h2 { position: static; }
  .zeile { gap: 18px; }
  .vorteile-band ul.vorteile, .vorteile-band ul.vorteile.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seitenkopf .visitenkarte { justify-self: start; max-width: 520px; }
  .person img { max-width: 520px; }
  .anfrage .visitenkarte { max-width: 520px; }
  .weitere-seiten .weitere a { grid-template-columns: 1fr auto; }
}
@media (max-width: 620px) {
  .vorteile-band ul.vorteile, .vorteile-band ul.vorteile.n3, .erreichbar .drei, .referenz-karten { grid-template-columns: minmax(0, 1fr); }
  .weitere-seiten .weitere a { grid-template-columns: 1fr auto; }
  .person .merk { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .person .merk b { white-space: normal; }
  .visitenkarte { grid-template-columns: 110px 1fr; }
}

/* Liste der Cookies und Dienste in der Datenschutzerklärung. Das Zustimmungsbanner schreibt sie in dieses Element,
   die Klassennamen gibt es vor. */
.ccm-cookie-declaration { max-width: 46rem; }
.ccm-cookie-declaration p { margin: 0; max-width: none; }
.ccm-cookie-declaration a { overflow-wrap: anywhere; }
.ccm-cookie-declaration--change-consent { margin-top: 20px; padding: 18px 22px; background: var(--flaeche); border-left: 3px solid var(--marine); border-radius: 0 var(--radius) var(--radius) 0; }
.ccm-cookie-declaration--change-consent p:first-child { line-height: 1.9; color: var(--text-leise); }
.ccm-cookie-declaration--change-consent p:first-child span span, .ccm-cookie-declaration--change-consent time { font-weight: 600; color: var(--text); }
.ccm-cookie-declaration--change-consent p + p { margin-top: 14px; }
.ccm-cookie-declaration--change-consent a { display: inline-block; padding: 10px 18px; border-radius: 6px; background: var(--marine); color: var(--weiss); font-weight: 600; text-decoration: none; }
.ccm-cookie-declaration--change-consent a:hover, .ccm-cookie-declaration--change-consent a:focus-visible { background: var(--blau); }
.ccm-cookie-declaration--purpose { margin-top: 44px; }
.ccm-cookie-declaration--purpose--title { margin: 0; padding-bottom: 10px; border-bottom: 3px solid var(--marine); }
.ccm-cookie-declaration--embedding { margin-top: 18px; padding: 6px 24px 20px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--weiss); }
.ccm-cookie-declaration--embedding--title { margin: 0; padding: 16px 0 14px; font-size: 1.2rem; color: var(--marine); }
.ccm-cookie-declaration--embedding > p { padding: 12px 0; border-top: 1px solid var(--linie); }
.ccm-cookie-declaration--embedding p > strong:first-child { display: block; margin-bottom: 2px; font-size: 0.85rem; font-weight: 600; color: var(--text-leise); }
.ccm-cookie-declaration--embedding p > strong:first-child + br { display: none; }
.ccm-cookie-declaration--table-wrapper { margin: 0 0 6px; overflow-x: auto; }
.ccm-cookie-declaration--table-cookie { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.ccm-cookie-declaration--table-cookie th { padding: 9px 12px; background: var(--flaeche); text-align: left; font-size: 0.85rem; font-weight: 600; color: var(--text-leise); }
.ccm-cookie-declaration--table-cookie td { padding: 10px 12px; border-bottom: 1px solid var(--linie); vertical-align: top; }
.ccm-cookie-declaration--embedding-assets-table td:first-child { font-weight: 600; overflow-wrap: anywhere; }
.ccm-cookie-declaration--embedding-asset--title { font-weight: 600; margin-bottom: 6px; overflow-wrap: anywhere; }
.ccm-cookie-declaration--embedding-assets-list td p + p { margin-top: 8px; }
@media (max-width: 560px) {
  .ccm-cookie-declaration--embedding { padding: 4px 16px 16px; }
}

/* Auswahlfeld im Formular: eigener, deutlicher Pfeil auf abgesetzter Fläche, damit es als Auswahl erkennbar ist. */
.formular select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 64px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1.5 1.5 8 8l6.5-6.5' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(var(--marine), var(--marine));
  background-repeat: no-repeat;
  background-position: right 17px center, right center;
  background-size: 16px 10px, 50px 100%;
}
.formular select:hover { background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1.5 1.5 8 8l6.5-6.5' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    linear-gradient(var(--blau), var(--blau)); }

/* Telefonnummern brechen nie am Bindestrich um. */
a[href^="tel:"] { white-space: nowrap; }


/* Weiterführende Knöpfe am Ende eines Fließtexts, etwa auf der Dankeseite. */
.fliesstext .aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 1.8em; }

/* Rechtliche Links der Fußzeile: auf schmalen Bildschirmen untereinander, damit keiner allein in eine zweite Zeile rutscht. */
@media (max-width: 480px) {
  .fuss .rechtliches { flex-direction: column; gap: 10px; }
}

/* Sternchen-Hinweis im Seitenkopf und Spaltenaufteilung ab Tablet-Breite (Rückmeldung von Lothar Wiegand, 2026-10-11) */
.seitenkopf .sternhinweis, .seitenkopf.mit-preis p.sternhinweis { margin-top: 1.6em; font-size: 1rem; line-height: 1.5; color: var(--text); max-width: 40em; padding-left: 14px; border-left: 3px solid var(--gelb); }
@media (min-width: 981px) {
  .teilung .spalten.zwei { grid-template-columns: 1fr 1fr; }
  .haupt-leistungen.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
}
