/* Neue Homepage der Viaene & Wittig Steuerberater GmbH (Entwurf)
   Eigene Gestaltung nach dem Monogramm: Marineblau, Gold, Elfenbein; Playfair Display + Hanken Grotesk.
   Unabhängig von /style.css, damit die Seite später 1:1 auf den öffentlichen Webserver kann. */

@font-face { font-family: "Playfair Display"; font-weight: 500; font-display: swap; src: url("/schrift/playfair-display-500.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap; src: url("/schrift/hanken-grotesk-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/schrift/inter-600.woff2") format("woff2"); }

:root {
  --marine: #182D42;
  --marine-tief: #0F1E2E;
  --gold: #C9A77C;
  --gold-dunkel: #8A6A3F;     /* Gold als Schrift auf hellem Grund (Kontrast) */
  --elfenbein: #FAFAF7;
  --sand: #F3EFE7;
  --text: #22303E;
  --gedaempft: #5E6B78;
  --hell-gedaempft: #AEB8C2;  /* Text auf Marine */
  --rand: #E3DDD2;
  --weiss: #FFFFFF;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --fett: "Inter", "Helvetica Neue", Arial, sans-serif;
  --breite: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--elfenbein); }
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--marine); line-height: 1.15; margin: 0; letter-spacing: -0.01em; hyphens: auto; overflow-wrap: break-word; }
.held .innen > *, .zweispaltig > *, .kontakt > *, .leistung, .person .text { min-width: 0; }   /* lange Wörter dürfen Spalten nicht verbreitern */
p { margin: 0; }
.innen { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.oberzeile {
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1rem;
  font-family: var(--fett); font-weight: 600; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dunkel);
}
.oberzeile::before { content: ""; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.dunkel .oberzeile { color: var(--gold); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; gap: .55rem; padding: 14px 26px; border-radius: 2px;
  font-family: var(--fett); font-weight: 600; font-size: .95rem; letter-spacing: .02em; text-decoration: none;
  background: var(--gold); color: var(--marine-tief); border: 1px solid var(--gold); cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.knopf:hover { background: transparent; color: var(--gold); }
.knopf.rahmen { background: transparent; color: var(--elfenbein); border-color: rgba(250, 250, 247, .45); }
.knopf.rahmen:hover { border-color: var(--gold); color: var(--gold); }
.knopf.marine { background: var(--marine); border-color: var(--marine); color: var(--elfenbein); }
.knopf.marine:hover { background: transparent; color: var(--marine); }

/* ---------- Vorschau-Leiste (nur im Kanzleiportal, vor Veröffentlichung entfernen) ---------- */
.vorschau-leiste { background: #FFF4D6; color: #5C3E00; font-family: var(--fett); font-size: .85rem; border-bottom: 1px solid #F0D58C; }
.vorschau-leiste .innen { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.2rem; padding-top: .55rem; padding-bottom: .55rem; }
.vorschau-leiste strong { font-weight: 600; }
.vorschau-leiste a { color: #5C3E00; font-weight: 600; }
.vorschau-leiste details { flex-basis: 100%; }
.vorschau-leiste summary { cursor: pointer; font-weight: 600; }
.vorschau-leiste ul { margin: .4rem 0 .3rem; padding-left: 1.2rem; font-family: var(--sans); font-size: .9rem; }
.vorschau-leiste .zurueck { margin-left: auto; }

/* ---------- Kopf ---------- */
.infozeile { background: var(--marine-tief); color: var(--hell-gedaempft); font-size: .85rem; }
.infozeile .innen { display: flex; flex-wrap: wrap; gap: .3rem 1.8rem; padding-top: .45rem; padding-bottom: .45rem; }
.infozeile a { text-decoration: none; }
.infozeile a:hover { color: var(--gold); }
.infozeile .rechts { margin-left: auto; }

.kopf { position: sticky; top: 0; z-index: 20; background: var(--marine); border-bottom: 1px solid rgba(201, 167, 124, .25); }
.kopf .innen { display: flex; align-items: center; gap: 2rem; min-height: 84px; }
.marke { display: flex; align-items: center; text-decoration: none; }
.marke svg { width: 120px; height: 70px; }
.navi { display: flex; align-items: center; gap: 2rem; margin-left: auto; }
.navi a { color: var(--elfenbein); text-decoration: none; font-family: var(--fett); font-weight: 600; font-size: .92rem; letter-spacing: .02em; position: relative; }
.navi a:not(.knopf)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--gold); transition: right .25s; }
.navi a:not(.knopf):hover::after { right: 0; }
.navi .knopf { padding: 11px 20px; }
.menue { display: none; margin-left: auto; position: relative; }
.menue summary { list-style: none; cursor: pointer; color: var(--elfenbein); padding: .5rem; border: 1px solid rgba(250, 250, 247, .35); border-radius: 2px; }
.menue summary::-webkit-details-marker { display: none; }
.menue nav { position: absolute; right: 0; top: calc(100% + 12px); width: min(300px, calc(100vw - 48px)); background: var(--marine); border: 1px solid rgba(201, 167, 124, .35); padding: 1rem; display: flex; flex-direction: column; gap: .2rem; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.menue nav a { color: var(--elfenbein); text-decoration: none; padding: .6rem .4rem; font-family: var(--fett); font-weight: 600; }
.menue nav .knopf { margin-top: .5rem; justify-content: center; }

/* ---------- Empfangsfoto unter dem Kopf (volle Breite; auf schmalen Bildschirmen Ausschnitt um den Schriftzug) ---------- */
.empfang { position: relative; margin: 0; background: var(--marine-tief); line-height: 0; }
/* Hinweis unten links: Foto und Video sind KI-Visualisierungen der Räume */
.empfang-hinweis { position: absolute; left: 12px; bottom: 10px; z-index: 2; margin: 0; line-height: 1.3; font-size: .7rem; letter-spacing: .02em; color: rgba(255,255,255,.88); background: rgba(15,30,46,.45); padding: .15rem .5rem; border-radius: 3px; pointer-events: none; }
.empfang img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: cover; object-position: 50% 40%; }
@media (max-width: 640px) {
  .empfang img { height: 300px; object-position: 53% 35%; }
}

/* ---------- Titelbereich ---------- */
.held { position: relative; overflow: hidden; background: var(--marine); color: var(--elfenbein); }
.held::before {   /* großes, sehr zartes Monogramm als Hintergrund */
  content: "V W"; position: absolute; right: -2vw; bottom: -9vw; font-family: var(--serif); font-size: 34vw; line-height: 1;
  color: rgba(250, 250, 247, .035); white-space: nowrap; pointer-events: none;
}
.held .innen { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 4rem; align-items: center; padding-top: 6rem; padding-bottom: 6.5rem; }
.held h1 { color: var(--elfenbein); font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 1.5rem; }
.held h1 em { font-style: italic; color: var(--gold); }
.held .einleitung { font-size: 1.15rem; color: #D5DCE3; max-width: 34rem; margin-bottom: 2.4rem; }
.held .knoepfe { display: flex; flex-wrap: wrap; gap: 1rem; }
.siegel { border: 1px solid rgba(201, 167, 124, .4); padding: 2.2rem; background: rgba(15, 30, 46, .45); }
.siegel h2 { color: var(--elfenbein); font-size: 1.35rem; margin-bottom: 1.4rem; }
.siegel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.1rem; }
.siegel li { display: grid; grid-template-columns: 38px 1fr; gap: .9rem; align-items: start; }
.siegel li svg { width: 38px; height: 38px; color: var(--gold); }
.siegel strong { display: block; font-family: var(--fett); font-weight: 600; font-size: .95rem; color: var(--elfenbein); }
.siegel span { display: block; margin-top: .15rem; font-size: .9rem; line-height: 1.45; color: var(--hell-gedaempft); }
.sterne { display: flex; align-items: center; gap: .6rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(201, 167, 124, .25); font-size: .9rem; color: var(--hell-gedaempft); }
.sterne b { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; color: var(--elfenbein); }
.sterne i { font-style: normal; color: var(--gold); letter-spacing: .1em; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 6.5rem 0; }
.abschnitt.sand { background: var(--sand); }
.abschnitt.dunkel { background: var(--marine); color: #D5DCE3; }
.abschnitt.dunkel h2, .abschnitt.dunkel h3 { color: var(--elfenbein); }
.kopfzeilen { max-width: 46rem; margin-bottom: 3.5rem; }
.kopfzeilen h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.kopfzeilen p { font-size: 1.1rem; color: var(--gedaempft); }
.dunkel .kopfzeilen p { color: var(--hell-gedaempft); }

/* Kanzlei-Einleitung */
.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.zweispaltig .kopfzeilen { margin-bottom: 0; }
.zitat { font-family: var(--serif); font-size: 1.55rem; line-height: 1.4; color: var(--marine); border-left: 2px solid var(--gold); padding-left: 1.8rem; }
.zitat + p { margin-top: 1.4rem; color: var(--gedaempft); padding-left: calc(1.8rem + 2px); }

/* Leistungen */
.leistungen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rand); border: 1px solid var(--rand); }
.leistung { background: var(--weiss); padding: 2.4rem 2.2rem; display: flex; flex-direction: column; gap: .9rem; transition: background-color .25s; }
.leistung:hover { background: var(--elfenbein); }
.leistung .nr { font-family: var(--fett); font-weight: 600; font-size: .78rem; letter-spacing: .14em; color: var(--gold-dunkel); }
.leistung svg { width: 34px; height: 34px; color: var(--marine); }
.leistung h3 { font-size: 1.4rem; }
.leistung p { color: var(--gedaempft); font-size: .98rem; }
.leistung.hervor { background: var(--marine); }
.leistung.hervor h3 { color: var(--elfenbein); }
.leistung.hervor p { color: var(--hell-gedaempft); }
.leistung.hervor svg, .leistung.hervor .nr { color: var(--gold); }
.leistung.hervor:hover { background: var(--marine-tief); }

/* Werte */
.werte { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
.wert { border-top: 1px solid rgba(201, 167, 124, .45); padding-top: 1.4rem; }
.wert h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.wert p { font-size: .95rem; color: var(--hell-gedaempft); }

/* Team */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.person { background: var(--weiss); border: 1px solid var(--rand); display: grid; grid-template-columns: 150px 1fr; }
.person .initialen {
  background: var(--marine); display: grid; place-items: center; font-family: var(--serif); font-size: 3.2rem; color: var(--elfenbein);
  border-right: 3px solid var(--gold);
}
.person .text { padding: 2rem 2rem 2.2rem; }
.person h3 { font-size: 1.6rem; }
.person .rolle { font-family: var(--fett); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dunkel); margin: .3rem 0 1rem; }
.person p { color: var(--gedaempft); font-size: .98rem; }
.person ul { margin: 1rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .4rem; font-size: .92rem; }
.person li { display: flex; gap: .7rem; }
.person li b { flex: none; width: 3.2rem; font-family: var(--fett); font-weight: 600; color: var(--marine); }
.platzhalter { background: #FFF4D6; color: #5C3E00; padding: 0 .25rem; }

/* Ablauf */
.schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; counter-reset: schritt; }
.schritt { position: relative; padding-top: 4.2rem; }
.schritt::before {
  counter-increment: schritt; content: "0" counter(schritt); position: absolute; top: 0; left: 0;
  font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--gold);
}
.schritt::after { content: ""; position: absolute; top: 1.5rem; left: 5rem; right: -1.25rem; height: 1px; background: var(--rand); }
.schritt:last-child::after { display: none; }
.schritt h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.schritt p { color: var(--gedaempft); }
.mitte { text-align: center; margin-top: 3.5rem; }

/* Stimmen */
/* Kundenstimmen: waagerechte Leiste zum Durchklicken (Pfeile) bzw. Wischen; 3 / 2 / 1 Karten je nach Breite */
.stimmen { display: flex; gap: 2rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 10px 0 14px; margin: -10px 0 -14px; }
.stimmen::-webkit-scrollbar { display: none; }
.stimmen:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.stimmen > .stimme { flex: 0 0 calc((100% - 4rem) / 3); scroll-snap-align: start; }
.stimmen-steuerung { display: flex; justify-content: flex-end; align-items: center; gap: .6rem; margin-top: 1.4rem; }
.stimmen-steuerung[hidden] { display: none; }
.stimmen-hinweis { margin: 1.2rem 0 0; font-size: .82rem; color: var(--grau, #6b6b6b); max-width: 52rem; }
.stimmen-pfeil { width: 2.8rem; height: 2.8rem; border: 1px solid var(--rand); background: var(--weiss); color: var(--marine); font-size: 1.2rem; line-height: 1; cursor: pointer; transition: border-color .2s, opacity .2s; }
.stimmen-pfeil:hover:not(:disabled) { border-color: var(--gold); }
.stimmen-pfeil:disabled { opacity: .35; cursor: default; }
.stimmen-stand { font-size: .85rem; color: var(--gedaempft); margin-right: .4rem; }
@media (max-width: 960px) { .stimmen > .stimme { flex-basis: calc((100% - 2rem) / 2); } }
@media (max-width: 640px) { .stimmen > .stimme { flex-basis: 86%; } }
.stimme { margin: 0; background: var(--weiss); border: 1px solid var(--rand); padding: 2.2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.stimme .sterne-klein { color: var(--gold); letter-spacing: .15em; }
.stimme blockquote { margin: 0; font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: var(--marine); }
.stimme figcaption { margin-top: auto; font-size: .88rem; color: var(--gedaempft); }
.stimme figcaption strong { display: block; font-family: var(--fett); font-weight: 600; color: var(--text); }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4.5rem; align-items: start; }
.kontaktwege { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 1.4rem; }
.kontaktwege li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: center; }
.kontaktwege .kreis { width: 46px; height: 46px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold); }
.kontaktwege span { display: block; font-size: .82rem; color: var(--hell-gedaempft); }
.kontaktwege a, .kontaktwege b { color: var(--elfenbein); text-decoration: none; font-weight: 400; font-size: 1.05rem; }
.kontaktwege a:hover { color: var(--gold); }
.formular { background: var(--elfenbein); color: var(--text); padding: 2.6rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.formular h3 { grid-column: 1 / -1; font-size: 1.6rem; color: var(--marine) !important; }
.formular label { display: flex; flex-direction: column; gap: .35rem; font-family: var(--fett); font-weight: 600; font-size: .82rem; color: var(--marine); }
.formular .ganz { grid-column: 1 / -1; }
.formular input, .formular textarea {
  font: inherit; font-family: var(--sans); font-weight: 400; font-size: 1rem; padding: .75rem .85rem;
  border: 1px solid var(--rand); border-radius: 2px; background: var(--weiss); color: var(--text);
}
.formular input:focus, .formular textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.formular .einwilligung { flex-direction: row; align-items: flex-start; gap: .6rem; font-family: var(--sans); font-weight: 400; font-size: .9rem; color: var(--gedaempft); }
.formular .einwilligung input { margin-top: .25rem; accent-color: var(--marine); }
.formular .knopf { justify-self: start; }
.formular .hinweis { grid-column: 1 / -1; font-size: .85rem; color: var(--gedaempft); }

/* Newsletter */
.newsletter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding: 3rem 0; }
.newsletter h2 { font-size: 1.8rem; }
.newsletter p { color: var(--gedaempft); margin-top: .4rem; }
.newsletter form { display: flex; gap: .6rem; flex: 1 1 380px; max-width: 480px; }
.newsletter input { flex: 1; min-width: 0; font: inherit; padding: .8rem .9rem; border: 1px solid var(--rand); border-radius: 2px; background: var(--weiss); }
.newsletter-anmeldung { flex: 1 1 380px; max-width: 480px; }
.newsletter-anmeldung form { max-width: none; }
.newsletter .falle, .formular .falle { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; }
.newsletter .newsletter-hinweis { color: var(--marine); font-weight: 600; min-height: 0; }
.newsletter .newsletter-hinweis:empty { display: none; }
.newsletter .newsletter-recht { font-size: .85rem; }

/* Anfahrt: Kartenbild über die volle Breite (Markierung in der Bildmitte), interaktive Google-Karte erst nach Klick */
.karte { position: relative; height: 480px; background: var(--sand); border-top: 1px solid var(--rand); }
.karte iframe { display: block; width: 100%; height: 100%; border: 0; }
.karte-platzhalter { position: relative; height: 100%; overflow: hidden; }
.karte-bild { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.karte-karte { position: absolute; left: max(16px, calc((100vw - 1200px) / 2)); top: 50%; transform: translateY(-50%); width: min(380px, max(300px, 34vw)); background: var(--elfenbein); border-top: 3px solid var(--gold); padding: 2rem 2rem 1.8rem; box-shadow: 0 14px 40px rgba(15, 30, 46, .18); }
.karte h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: .4rem 0 .8rem; }
.karte-hinweis { color: var(--gedaempft); font-size: .86rem; margin: 0 0 1.3rem; }
.karte-knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; }
.karte-quelle { position: absolute; right: 0; bottom: 0; margin: 0; padding: .15rem .5rem; font-size: .72rem; background: rgba(250, 250, 247, .85); color: var(--gedaempft); }
.knopf.rahmen-marine { background: transparent; color: var(--marine); border-color: var(--marine); }
.knopf.rahmen-marine:hover { background: var(--marine); color: var(--elfenbein); }

/* ---------- Fuß ---------- */
.fuss { background: var(--marine-tief); color: var(--hell-gedaempft); font-size: .92rem; }
.fuss .spalten { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; padding-top: 4.5rem; padding-bottom: 3rem; }
.fuss svg.monogramm { width: 150px; height: 88px; margin-bottom: 1.2rem; }
.fuss h4 { margin: 0 0 1rem; font-family: var(--fett); font-weight: 600; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--gold); }
.fuss .unten { border-top: 1px solid rgba(201, 167, 124, .18); }
.fuss .unten .innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.4rem; padding-bottom: 1.4rem; font-size: .84rem; }

/* ---------- Seite „Wissen“ ---------- */
.navi a[aria-current="page"]::after { right: 0; }
.menue nav a[aria-current="page"] { color: var(--gold); }
.held.schmal .innen { grid-template-columns: minmax(0, 52rem); padding-top: 5rem; padding-bottom: 5rem; }
.themen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.thema { background: var(--weiss); border: 1px solid var(--rand); border-top: 3px solid var(--gold); padding: 2.2rem; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.thema .oberzeile { margin-bottom: 0; }
.thema h2 { font-size: 1.7rem; }
.thema > p { color: var(--gedaempft); }
.thema ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.thema li { display: flex; gap: .7rem; align-items: baseline; }
.thema li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg) translateY(-2px); }
.thema .knopf { margin-top: auto; align-self: flex-start; }
.suche-abschnitt { padding: 4.5rem 0; }
.suche-abschnitt .kopfzeilen { margin-bottom: 2rem; }
.suche { display: flex; gap: .6rem; max-width: 640px; }
.suche input { flex: 1; min-width: 0; font: inherit; padding: .85rem 1rem; border: 1px solid var(--rand); border-radius: 2px; background: var(--weiss); color: var(--text); }
.suche input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.suche-ergebnis { margin-top: .9rem; color: var(--gedaempft); min-height: 1.6em; }
.rubrik .kopfzeilen { margin-bottom: 2rem; }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.filter button {
  font-family: var(--fett); font-weight: 600; font-size: .85rem; padding: .55rem 1rem; border-radius: 2px; cursor: pointer;
  background: transparent; color: var(--marine); border: 1px solid var(--rand); transition: border-color .2s, background-color .2s, color .2s;
}
.filter button:hover { border-color: var(--gold); }
.filter button[aria-pressed="true"] { background: var(--marine); border-color: var(--marine); color: var(--elfenbein); }
.filter button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.beitraege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.beitraege:empty { display: none; }
.beitrag { background: var(--weiss); border: 1px solid var(--rand); padding: 2rem; display: flex; flex-direction: column; gap: .8rem; min-width: 0; transition: border-color .25s, transform .25s; }
.beitrag[hidden] { display: none; }
.beitrag:hover { border-color: var(--gold); transform: translateY(-2px); }
.beitrag .symbol { width: 52px; height: 52px; display: grid; place-items: center; background: var(--marine); color: var(--gold); }
.beitrag .symbol svg { width: 28px; height: 28px; }
.beitrag .angaben { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; font-family: var(--fett); font-weight: 600; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dunkel); }
.beitrag h3 { font-size: 1.35rem; }
.beitrag p:not(.angaben) { color: var(--gedaempft); font-size: .97rem; }
.beitrag .lesen { margin-top: auto; padding-top: .4rem; font-family: var(--fett); font-weight: 600; font-size: .9rem; color: var(--marine); text-decoration: none; }
.beitrag .lesen:hover { color: var(--gold-dunkel); }
.leer { padding: 2rem; border: 1px dashed var(--rand); color: var(--gedaempft); text-align: center; }
.beitrag-kopf { background: var(--marine); color: var(--elfenbein); }
.beitrag-kopf .innen { padding-top: 3.5rem; padding-bottom: 3rem; }
.beitrag-kopf .innen, .beitrag-raster { display: grid; grid-template-columns: 13rem minmax(0, 46rem) 3.5rem; justify-content: center; gap: 0 3rem; align-items: start; }
.beitrag-kopf .innen > * { grid-column: 2; }   /* Titel bündig mit der Textspalte */
.beitrag-kopf h1 { color: var(--elfenbein); font-size: clamp(2rem, 4.2vw, 3.1rem); margin: .8rem 0 1rem; }
.zurueck-zu { font-family: var(--fett); font-weight: 600; font-size: .85rem; color: var(--hell-gedaempft); }
.zurueck-zu a { color: var(--gold); text-decoration: none; }
.zurueck-zu a:hover { text-decoration: underline; }
.beitrag-angaben { color: var(--hell-gedaempft); font-size: .92rem; }
.beitrag-text { min-width: 0; padding-top: 3rem; padding-bottom: 5rem; font-size: 1.06rem; }
.beitrag-text h2 { scroll-margin-top: 110px; }
/* Raster: Inhaltsverzeichnis links, Text Mitte, Lesefortschritt rechts (beide mitlaufend) */
.beitrag-inhalt[hidden], .beitrag-fortschritt[hidden] { display: none; }
.beitrag-raster > .beitrag-text { grid-column: 2; }
.beitrag-inhalt { grid-column: 1; grid-row: 1; position: sticky; top: 110px; padding-top: 3rem; font-size: .9rem; }
.beitrag-inhalt-titel { font-family: var(--fett); font-weight: 600; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dunkel); margin-bottom: .8rem; }
.beitrag-inhalt ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rand); display: flex; flex-direction: column; }
.beitrag-inhalt a { display: block; padding: .4rem 0 .4rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--gedaempft); text-decoration: none; line-height: 1.35; transition: color .2s, border-color .2s; }
.beitrag-inhalt a:hover { color: var(--marine); }
.beitrag-inhalt a[aria-current] { color: var(--marine); border-left-color: var(--gold); font-weight: 600; }
.beitrag-fortschritt { grid-column: 3; grid-row: 1; position: sticky; top: 110px; padding-top: 3rem; height: calc(100vh - 140px); display: flex; flex-direction: column; align-items: center; gap: .7rem; }
.beitrag-fortschritt .spur { flex: 1; width: 4px; border-radius: 2px; background: var(--rand); position: relative; overflow: hidden; }
.beitrag-fortschritt .balken { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--fortschritt, 0) * 100%); background: var(--gold); border-radius: 2px; }
.beitrag-fortschritt .rest { font-family: var(--fett); font-weight: 600; font-size: .72rem; color: var(--gedaempft); text-align: center; white-space: nowrap; }
.beitrag-raster > .beitrag-ende[hidden] { display: none; }
.beitrag-raster > .beitrag-ende { grid-column: 2; padding-bottom: 5rem; display: flex; flex-direction: column; gap: 2.5rem; }
.beitrag-raster > .beitrag-text { padding-bottom: 2.5rem; }
.teilen { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; padding: 1.2rem 0; border-top: 1px solid var(--rand); border-bottom: 1px solid var(--rand); }
.teilen-titel { font-family: var(--fett); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dunkel); margin-right: .6rem; }
.teilen-knopf {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border: 1px solid var(--rand); border-radius: 2px;
  background: var(--weiss); color: var(--marine); font: inherit; font-family: var(--fett); font-weight: 600; font-size: .85rem; text-decoration: none; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.teilen-knopf svg { width: 17px; height: 17px; }
.teilen-knopf:hover { border-color: var(--gold); color: var(--gold-dunkel); }
.teilen-knopf:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.teilen-meldung { font-size: .85rem; color: var(--gedaempft); overflow-wrap: anywhere; }
.autor { display: grid; grid-template-columns: 120px minmax(0, 1fr); background: var(--weiss); border: 1px solid var(--rand); }
.autor .initialen { background: var(--marine); display: grid; place-items: center; font-family: var(--serif); font-size: 2.6rem; color: var(--elfenbein); border-right: 3px solid var(--gold); }
.autor .text { padding: 1.6rem 1.8rem 1.8rem; }
.autor .oberzeile { margin-bottom: .5rem; }
.autor h2 { font-size: 1.5rem; }
.autor .rolle { font-family: var(--fett); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dunkel); margin: .3rem 0 .8rem; }
.autor .text > p:not(.oberzeile):not(.rolle) { color: var(--gedaempft); font-size: .97rem; }
.autor .autor-links { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; margin-top: 1.2rem; }
.autor-team { font-family: var(--fett); font-weight: 600; font-size: .9rem; color: var(--marine); text-decoration: none; }
.autor-team:hover { color: var(--gold-dunkel); }
#weitere[hidden] { display: none; }
@media (max-width: 1180px) {
  .beitrag-kopf .innen, .beitrag-raster { grid-template-columns: 11rem minmax(0, 1fr) 3rem; gap: 0 2rem; }
}
@media (max-width: 960px) {   /* Handy/Tablet: Inhalt als Kasten über dem Text, Fortschritt als Linie oben am Bildschirm */
  .beitrag-kopf .innen, .beitrag-raster { grid-template-columns: minmax(0, 1fr); }
  .beitrag-kopf .innen > * { grid-column: 1; }
  .beitrag-raster > .beitrag-text { grid-column: 1; padding-top: 1.5rem; }
  .beitrag-raster > .beitrag-ende { grid-column: 1; }
  .autor { grid-template-columns: 1fr; }
  .autor .initialen { height: 90px; border-right: 0; border-bottom: 3px solid var(--gold); }
  .beitrag-inhalt { grid-column: 1; grid-row: auto; position: static; margin-top: 2rem; padding: 1.2rem 1.4rem; background: var(--sand); }
  .beitrag-fortschritt { position: fixed; top: 0; left: 0; right: 0; height: 3px; padding: 0; z-index: 30; display: block; }
  .beitrag-fortschritt .spur { width: 100%; height: 3px; border-radius: 0; background: transparent; }
  .beitrag-fortschritt .balken { top: 0; bottom: 0; height: auto; width: calc(var(--fortschritt, 0) * 100%); border-radius: 0; }
  .beitrag-fortschritt .rest { display: none; }
}
.beitrag-text h2 { font-size: 1.7rem; margin: 2.4rem 0 .9rem; }
.beitrag-text h3 { font-size: 1.3rem; margin: 1.8rem 0 .7rem; }
.beitrag-text p { margin: 0 0 1.1rem; }
.beitrag-text ul, .beitrag-text ol { margin: 0 0 1.2rem; padding-left: 1.4rem; display: flex; flex-direction: column; gap: .45rem; }
.beitrag-text a { color: var(--marine); overflow-wrap: anywhere; }
.beitrag-text .quelle, .beitrag-text .beitrag-hinweis { font-size: .9rem; color: var(--gedaempft); }
.beitrag-text .quelle { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--rand); }
.kopfzeilen-mitte { max-width: 46rem; text-align: center; }
.kopfzeilen-mitte h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.kopfzeilen-mitte .mitte { margin-top: 2.2rem; }

/* ---------- Selbst-Checks (check.html) ---------- */
.check-held .zurueck-zu { margin-bottom: 1.6rem; }
.check-datenschutz { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: var(--hell-gedaempft); }
.check-datenschutz svg { flex: none; color: var(--gold); }
.check-abschnitt { padding: 4.5rem 0 5.5rem; }
.check-buehne { max-width: 46rem; margin: 0 auto; scroll-margin-top: 110px; }
.check-fortschritt { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 2rem; font-family: var(--fett); font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dunkel); }
.check-spur { height: 3px; background: var(--rand); }
.check-balken { height: 100%; background: var(--gold); transition: width .3s; }
.check-frage fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.check-frage legend { padding: 0; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; color: var(--marine); margin-bottom: 1rem; }
.check-hilfe { color: var(--gedaempft); font-size: .97rem; margin-bottom: 1.4rem; }
.check-optionen { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.4rem; }
.check-option { display: flex; align-items: flex-start; gap: .9rem; padding: 1rem 1.2rem; background: var(--weiss); border: 1px solid var(--rand); cursor: pointer; transition: border-color .2s, background-color .2s; }
.check-option:hover { border-color: var(--gold); }
.check-option input { flex: none; margin: .3rem 0 0; width: 18px; height: 18px; accent-color: var(--marine); }
.check-option:has(input:checked) { border-color: var(--marine); background: var(--elfenbein); box-shadow: inset 3px 0 0 var(--gold); }
.check-option:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.check-zahl { display: flex; align-items: center; gap: .7rem; max-width: 22rem; margin-top: 1.4rem; font-family: var(--fett); font-weight: 600; color: var(--marine); }
.check-zahl input { flex: 1; min-width: 0; font: inherit; font-family: var(--sans); font-weight: 400; font-size: 1.15rem; padding: .85rem 1rem; border: 1px solid var(--rand); border-radius: 2px; background: var(--weiss); color: var(--text); text-align: right; }
.check-zahl input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.check-fehler { color: #A3271B; font-size: .92rem; min-height: 1.4em; margin-top: .5rem; }
.check-knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.check-ergebnis-kopf { background: var(--weiss); border: 1px solid var(--rand); border-top: 4px solid var(--gold); padding: 2rem 2.2rem; margin-bottom: 2rem; }
.check-ergebnis-kopf .oberzeile { margin-bottom: .6rem; }
.check-ergebnis-kopf h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
.check-unterzeile { margin-top: .7rem; color: var(--gedaempft); }
.check-ergebnis-kopf.ampel-gruen { border-top-color: #2E7D4F; }
.check-ergebnis-kopf.ampel-gelb { border-top-color: #D9A21B; }
.check-ergebnis-kopf.ampel-rot { border-top-color: #B23A2E; }
.check-zahlen { width: 100%; border-collapse: collapse; margin-bottom: 2rem; background: var(--weiss); border: 1px solid var(--rand); }
.check-zahlen th, .check-zahlen td { padding: .8rem 1.1rem; border-bottom: 1px solid var(--rand); text-align: left; font-weight: 400; vertical-align: top; }
.check-zahlen td { text-align: right; white-space: nowrap; font-family: var(--fett); font-weight: 600; color: var(--marine); }
.check-zahlen tr.hervor { background: var(--elfenbein); }
.check-zahlen tr.hervor th { font-weight: 600; color: var(--marine); }
.check-bereiche { display: flex; flex-direction: column; gap: 1rem; }
.check-bereich { position: relative; background: var(--weiss); border: 1px solid var(--rand); border-left: 4px solid var(--rand); padding: 1.3rem 1.5rem 1.4rem; }
.check-bereich h3 { font-size: 1.25rem; margin: 0 7.5rem .5rem 0; }
.check-bereich p { color: var(--gedaempft); font-size: .98rem; }
.check-ampel { position: absolute; top: 1.3rem; right: 1.4rem; font-family: var(--fett); font-weight: 600; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; }
.check-bereich.ampel-gruen { border-left-color: #2E7D4F; }
.check-bereich.ampel-gruen .check-ampel { background: #E3F2E8; color: #1F5E3A; }
.check-bereich.ampel-gelb { border-left-color: #D9A21B; }
.check-bereich.ampel-gelb .check-ampel { background: #FBF0D3; color: #6E4E00; }
.check-bereich.ampel-rot { border-left-color: #B23A2E; }
.check-bereich.ampel-rot .check-ampel { background: #F8E1DE; color: #8A2318; }
.check-schritte { margin-top: 2rem; background: var(--sand); padding: 1.8rem 2rem; }
.check-schritte h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.check-schritte ol { margin: 0; padding-left: 1.3rem; display: flex; flex-direction: column; gap: .55rem; }
.check-rechtlich { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--rand); font-size: .85rem; color: var(--gedaempft); }
.beitrag.check-karte .symbol { background: var(--gold); color: var(--marine); }
@media (max-width: 640px) {
  .check-abschnitt { padding: 3rem 0 4rem; }
  .check-ergebnis-kopf, .check-schritte { padding: 1.5rem 1.3rem; }
  .check-bereich { padding: 1.1rem 1.1rem 1.2rem; }
  .check-bereich h3 { margin-right: 0; }
  .check-ampel { position: static; display: inline-block; margin-bottom: .6rem; }
  .check-zahlen th, .check-zahlen td { padding: .7rem .8rem; }
  .check-zahlen td { white-space: normal; }
  .check-knoepfe .knopf { width: 100%; justify-content: center; }
}
@media print {
  .vorschau-leiste, .infozeile, .kopf, .abschnitt.dunkel, .fuss, .check-aktionen, .check-datenschutz { display: none !important; }
  .held { background: none; color: var(--text); }
  .held::before { display: none; }
  .held h1, .held .einleitung { color: var(--marine); }
  .held .innen { padding: 0 0 1rem; }
  .check-abschnitt { padding: 0; }
  .check-bereich, .check-zahlen tr { break-inside: avoid; }
}

/* ---------- Einblenden beim Scrollen ---------- */
.einblenden { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.einblenden.sichtbar { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .einblenden { opacity: 1; transform: none; transition: none; }
}

/* ---------- Tablet und Smartphone ---------- */
@media (max-width: 1080px) {
  .werte { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuss .spalten { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .navi { display: none; }
  .menue { display: block; }
  .held .innen, .zweispaltig, .kontakt { grid-template-columns: 1fr; gap: 3rem; }
  .held .innen { padding-top: 4rem; padding-bottom: 4.5rem; }
  .leistungen, .beitraege { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .themen { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr; }
  .schritte { grid-template-columns: 1fr; gap: 2rem; }
  .schritt::after { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .innen { padding: 0 16px; }
  .infozeile .rechts { display: none; }
  .kopf .innen { min-height: 70px; }
  .marke svg { width: 96px; height: 56px; }
  .abschnitt { padding: 4.5rem 0; }
  .leistungen, .werte, .beitraege { grid-template-columns: 1fr; }
  .thema, .beitrag { padding: 1.6rem; }
  .suche { flex-direction: column; }
  .held.schmal .innen { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .leistung { padding: 2rem 1.5rem; }
  .siegel, .formular { padding: 1.6rem; }
  .formular { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person .initialen { height: 110px; border-right: 0; border-bottom: 3px solid var(--gold); }
  .fuss .spalten { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter form { flex-direction: column; }
  .karte { height: auto; }
  .karte-bild { height: 300px; }
  .karte-karte { position: static; transform: none; width: auto; box-shadow: none; padding: 1.8rem 16px; }
  .karte-quelle { bottom: auto; top: 280px; }
  .karte iframe { height: 380px; }
}
/* ---------- Karriere (karriere/) ---------- */
.formular select {
  font: inherit; font-family: var(--sans); font-weight: 400; font-size: 1rem; padding: .7rem .85rem;
  border: 1px solid var(--rand); border-radius: 2px; background: var(--weiss); color: var(--text);
}
.formular select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.formular label[hidden], .formular p[hidden] { display: none; }
.formular .leer { display: block; }
.formular .einwilligung a { color: var(--marine); }
.bw-falle { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.bw-ansprechpartner-text { margin: 0; font-family: var(--fett); font-weight: 600; font-size: .9rem; color: var(--marine); }
.bw-dateien { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.bw-dateien .knopf { cursor: pointer; font-size: .9rem; }
.bw-dateien .hinweis { flex: 1; min-width: 14rem; }
.bw-dateiliste { flex-basis: 100%; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; font-size: .92rem; }
.bw-dateiliste li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .45rem .7rem; background: var(--weiss); border: 1px solid var(--rand); overflow-wrap: anywhere; }
.bw-weg { flex: none; border: 0; background: transparent; color: var(--gedaempft); cursor: pointer; font-size: 1rem; }
.bw-weg:hover { color: #A12A1E; }
.formular button:disabled { opacity: .6; cursor: wait; }
.bw-danke { display: block; }
.bw-danke h3 { margin-bottom: 1rem; }
.bewerben-titel { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.vorteile .thema h3 { font-size: 1.35rem; }
.vorteile .thema p { color: var(--gedaempft); margin: 0; }
.stellen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.stelle { background: var(--weiss); border: 1px solid var(--rand); border-top: 3px solid var(--gold); padding: 2.2rem; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.stelle h3 { font-size: 1.6rem; }
.stelle .knopf { align-self: flex-start; margin-top: auto; }
.stelle-eckdaten { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.stelle-eckdaten li { font-family: var(--fett); font-weight: 600; font-size: .78rem; letter-spacing: .03em; color: var(--marine); background: var(--sand); padding: .25rem .6rem; }
.stelle-text summary { cursor: pointer; font-family: var(--fett); font-weight: 600; font-size: .9rem; color: var(--gold-dunkel); }
.stelle-text div { white-space: pre-wrap; margin-top: .8rem; color: var(--gedaempft); font-size: .98rem; }
.stelle-kontakt { margin: 0; color: var(--gedaempft); font-size: .95rem; }
.stellen-leer { color: var(--gedaempft); }
.datenschutz-bewerbung { max-width: 52rem; }
.datenschutz-bewerbung h3 { font-size: 1.3rem; margin: 2rem 0 .6rem; }
.datenschutz-bewerbung p { color: var(--gedaempft); margin: 0; }
/* Rechtstexte: Impressum und Datenschutzerklärung */
.rechtstext { max-width: 52rem; }
.rechtstext h2 { font-size: 1.45rem; margin: 2.4rem 0 .7rem; scroll-margin-top: 6rem; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext p, .rechtstext li { color: var(--gedaempft); overflow-wrap: anywhere; }
.rechtstext p { margin: 0 0 .8rem; }
.rechtstext ul { margin: 0 0 .8rem; padding-left: 1.2rem; }
.rechtstext .kurz { background: var(--sand); padding: 1.1rem 1.3rem; color: var(--marine); }
.rechtstext .inhalt { margin: 1.6rem 0 0; padding: 1rem 1.3rem; border: 1px solid var(--rand); }
.rechtstext .inhalt ol { margin: 0; padding-left: 1.4rem; columns: 2 16rem; }
.rechtstext .stand { margin-top: 2.4rem; font-size: .9rem; }
@media (max-width: 900px) { .stellen { grid-template-columns: 1fr; } .formular .leer { display: none; } }
@media (max-width: 1180px) and (min-width: 961px) { .navi { gap: 1.3rem; } }

/* ---------- Fotos: Team-Karten und Autorenkasten (das Foto ersetzt die Initialen) ---------- */
@media (min-width: 641px) { .person { grid-template-columns: 190px 1fr; } }
.person .foto { position: relative; overflow: hidden; min-height: 260px; background: var(--marine); border-right: 3px solid var(--gold); }
.person .foto img, .autor .initialen.mit-foto img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%;
  transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}
.person:hover .foto img { transform: scale(1.04); }
.autor .initialen.mit-foto { position: relative; overflow: hidden; }
@media (max-width: 960px) { .autor .initialen.mit-foto { height: 240px; } }
@media (max-width: 640px) { .person .foto { height: 320px; min-height: 0; border-right: 0; border-bottom: 3px solid var(--gold); } }
@media (prefers-reduced-motion: reduce) { .person .foto img { transition: none; } .person:hover .foto img { transform: none; } }

/* ---------- Kontaktformular: Pflichtfelder und Fehlermeldungen ---------- */
.formular .feldname { display: block; }
.formular .pflicht { color: var(--gold-dunkel); }
.formular .fehler { font-family: var(--sans); font-weight: 400; font-size: .84rem; line-height: 1.4; color: #A3271B; }
.formular .fehler:empty { display: none; }
.formular p.fehler { margin-top: -.5rem; }
.formular label input[aria-invalid="true"], .formular label textarea[aria-invalid="true"] { border-color: #A3271B; box-shadow: 0 0 0 3px rgba(163, 39, 27, .12); }
.formular .einwilligung input[aria-invalid="true"] { outline: 2px solid #A3271B; outline-offset: 2px; box-shadow: none; }
.formular .pflicht-hinweis { margin-top: -.4rem; font-size: .82rem; color: var(--gedaempft); }
.formular .hinweis.fehlt { color: #A3271B; }

/* ===== Bildergalerie „Unsere Räume“ (Die Kanzlei, Karriere): Mosaik aus quer- und hochformatigen Bildern ===== */
.raeume { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 15vw, 220px); gap: 1rem; }
.raum { position: relative; margin: 0; overflow: hidden; border-radius: 4px; background: var(--marine-tief); grid-column: span 8; grid-row: span 2; }
.raum.hoch { grid-column: span 4; }
.raum.halb { grid-column: span 6; }
.raum img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.raum:hover img { transform: scale(1.04); }
.raum figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .8rem; font-size: .9rem; letter-spacing: .02em; color: #fff; background: linear-gradient(to top, rgba(15,30,46,.7), rgba(15,30,46,0)); }
.raeume-hinweis { margin: 1rem 0 0; font-size: .8rem; color: var(--gedaempft); }
@media (max-width: 640px) {
  .raeume { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .raum, .raum.hoch, .raum.halb { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
}
.arbeitsplatz-kopf { margin: 4.5rem 0 2rem; }
.arbeitsplatz-kopf h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.raum figcaption small { display: block; margin-top: .15rem; font-size: .7rem; letter-spacing: .02em; color: rgba(255,255,255,.82); }
.themen > .thema-breit { grid-column: 1 / -1; }   /* Kachel über die volle Breite (Karriere: Aufbau der Kanzlei) */
/* Karriere „Arbeiten bei Viaene & Wittig“: goldenes Licht folgt dem Mauszeiger (wie die Leistungskacheln der Startseite) */
.vorteile .thema { position: relative; overflow: hidden; isolation: isolate; }
.vorteile .thema > * { position: relative; z-index: 1; }
.vorteile .thema::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 167, 124, .2), rgba(201, 167, 124, 0) 60%);
}
.vorteile .thema:hover::before { opacity: 1; }
/* Selbst-Checks/Rechner: Bestätigung des Haftungshinweises vor dem Start */
.check-bestaetigung { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1.2rem; padding: 1rem 1.1rem; border: 1px solid var(--rand); background: var(--sand); cursor: pointer; line-height: 1.5; }
.check-bestaetigung input { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--marine); }
.check-zustimmung .knopf:disabled { opacity: .45; cursor: not-allowed; }
