/* ---------------------------------------------------------------
   werom-Homepage – Aussehen. Die einzige Stelle für Farben, Schrift und Abstände.
   Gestaltung nach dem gewählten Entwurf (..\..\entwurf\startseite-gewaehlt.png):
   Orange aus dem Logo, heller Sandton, durchscheinendes Blaugrau, geschwungene Kante im Einstieg.
   Schrift: die des Geräts – es wird nichts von fremden Servern geladen.
   Breiten: bis 700 px Handy, bis 1000 px Tablet, darüber Desktop.
   --------------------------------------------------------------- */

:root {
  --orange: #E07F38;          /* aus dem Logo gemessen */
  --orange-dunkel: #A0501A;   /* Knopfschrift und Datum: dunkel genug zum Lesen (Roman, 14.11.2026) */
  --orange-hell: #F6E3D2;
  --blaugrau: #1F2A37;
  --schleier: rgba(31, 42, 55, .66);        /* durchscheinendes Band über dem Einstieg */
  --schleier-dicht: rgba(31, 42, 55, .80);  /* über dem Wien-Foto, damit die Schrift lesbar bleibt */
  --sand: #F5F0E9;
  --karte: #FCFAF7;
  --weiss: #FFFFFF;
  --text: #1F2A37;
  --text-leise: #5B6570;
  --linie: #E4DDD3;
  --linie-zart: rgba(128, 128, 128, .28);   /* Trennlinie, die auf hellem und dunklem Grund passt */
  --luecke: #111111;          /* Rahmen und Schrift eines fehlenden Fotos */
  --luecke-streif: #EDEDED;
  --schrift: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --pfeil: Arial, Helvetica, sans-serif;
  --rund: 14px;
  --rand: 48px;
  /* Roman, 20.11.2026: über 1180 px wächst der Inhalt mit, der freie Rand links und rechts ist um 40 % schmäler */
  --inhalt: max(1180px, calc(1180px + 0.4 * (100vw - 1180px)));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-y: scroll; }
body { margin: 0; font-family: var(--schrift); font-size: 18px; line-height: 1.45; color: var(--text); background: var(--sand); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, figure { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; overflow-wrap: break-word; text-wrap: balance; }
p { overflow-wrap: break-word; }
ul { list-style: none; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--blaugrau); outline-offset: 3px; }
/* Auf dunklem Grund wäre der blaugraue Fokusrahmen unsichtbar */
.wien a:focus-visible, .ref-karte-orange a:focus-visible { outline-color: var(--weiss); }

.breite { max-width: calc(var(--inhalt) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.sprung { position: absolute; left: -9999px; }
.sprung:focus { left: 10px; top: 10px; z-index: 30; background: var(--blaugrau); color: var(--weiss); padding: 10px 14px; }

.symbol { width: 1.3em; height: 1.3em; flex: none; fill: currentColor; }
.pfeil { font-family: var(--pfeil); }

.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px; border-radius: 10px; font-size: 18px; font-weight: 700; text-decoration: none; white-space: nowrap; }
/* Schrift auf Orange ist Blaugrau (Weiß hätte nur 2,9 zu 1), beim Überfahren auf dunklem Orange weiß (Roman, 14.11.2026) */
.knopf-orange { background: var(--orange); color: var(--blaugrau); }
.knopf-orange:hover { background: var(--orange-dunkel); color: var(--weiss); }
.knopf-weiss { background: var(--weiss); color: var(--orange-dunkel); }
.knopf-weiss:hover { background: var(--orange-hell); }
.knopf-gross { min-height: 60px; padding: 0 28px; font-size: 20px; }
.knopf .pfeil { font-size: 22px; line-height: 1; transition: transform .15s; }
.knopf:hover .pfeil { transform: translateX(4px); }

/* ---------- Fehlendes Foto: deutlich als Lücke erkennbar ---------- */

.platzhalter { width: 100%; height: 100%; min-height: 220px; display: flex; align-items: center; justify-content: center; padding: 28px;
  background: repeating-linear-gradient(135deg, var(--weiss) 0 22px, var(--luecke-streif) 22px 44px); outline: 3px dashed var(--luecke); outline-offset: -14px; color: var(--luecke); text-align: center; }
.platzhalter p { display: flex; flex-direction: column; gap: 6px; max-width: 360px; padding: 16px 20px; background: var(--weiss); border: 2px solid var(--luecke); }
.platzhalter strong { font-size: 22px; letter-spacing: .08em; text-transform: uppercase; }
.platzhalter span { font-size: 16px; line-height: 1.3; }
.platzhalter em { font-size: 14px; }
.foto { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Kopf ---------- */

.kopf { background: var(--weiss); }
.kopf-innen { display: flex; align-items: center; gap: 28px; height: 112px; }
.logo img { width: auto; height: 92px; }
.menue { display: flex; gap: 34px; margin-left: 30px; margin-right: auto; }
.menue a, .handmenue nav a { font-size: 17px; text-decoration: none; padding: 6px 0 4px; border-bottom: 3px solid transparent; }
.menue a:hover, .menue a.aktiv, .handmenue nav a.aktiv { border-bottom-color: var(--orange); }
.handmenue { display: none; }

/* ---------- Einstieg: links das Foto, rechts die orange Fläche, dazwischen die geschwungene Kante ---------- */

.einstieg { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(480px, 68svh, 640px); }
.einstieg-foto { position: relative; overflow: hidden; }
.einstieg-foto .platzhalter, .einstieg-foto .foto { position: absolute; inset: 0; }
/* Der Hinweis im Platzhalter steht über dem durchscheinenden Band, nicht darunter */
.einstieg-foto .platzhalter { padding-right: 120px; }
/* Wechselbilder (Kopfbilder aller Seiten, Mediation): übereinander, reihum überblendet, je Bild 7 Sekunden. Nur mit CSS, kein Skript.
   Jedes Bild läuft dieselbe Runde, um seinen Platz in der Reihe versetzt (negative Verzögerung). Wer „weniger Bewegung“
   eingestellt hat, sieht nur das erste Bild. Regeln für 2 bis 20 Bilder (wechselt-2 … wechselt-20). */
.wechselt { background: var(--blaugrau); }
.wechselt .foto + .foto { opacity: 0; }
.wechselt-2 .foto { animation: wechsel-2 14s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-2 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-2 { 0% { opacity: 1; } 41.4% { opacity: 1; } 50.0% { opacity: 0; } 91.4% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-3 .foto { animation: wechsel-3 21s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-3 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-3 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-3 { 0% { opacity: 1; } 27.6% { opacity: 1; } 33.3% { opacity: 0; } 94.3% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-4 .foto { animation: wechsel-4 28s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-4 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-4 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-4 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-4 { 0% { opacity: 1; } 20.7% { opacity: 1; } 25.0% { opacity: 0; } 95.7% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-5 .foto { animation: wechsel-5 35s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-5 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-5 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-5 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-5 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-5 { 0% { opacity: 1; } 16.6% { opacity: 1; } 20.0% { opacity: 0; } 96.6% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-6 .foto { animation: wechsel-6 42s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-6 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 35s); }
.wechselt-6 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-6 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-6 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-6 .foto:nth-child(6) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-6 { 0% { opacity: 1; } 13.8% { opacity: 1; } 16.7% { opacity: 0; } 97.1% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-7 .foto { animation: wechsel-7 49s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-7 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 42s); }
.wechselt-7 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 35s); }
.wechselt-7 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-7 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-7 .foto:nth-child(6) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-7 .foto:nth-child(7) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-7 { 0% { opacity: 1; } 11.8% { opacity: 1; } 14.3% { opacity: 0; } 97.6% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-8 .foto { animation: wechsel-8 56s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-8 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 49s); }
.wechselt-8 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 42s); }
.wechselt-8 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 35s); }
.wechselt-8 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-8 .foto:nth-child(6) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-8 .foto:nth-child(7) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-8 .foto:nth-child(8) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-8 { 0% { opacity: 1; } 10.4% { opacity: 1; } 12.5% { opacity: 0; } 97.9% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-9 .foto { animation: wechsel-9 63s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-9 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 56s); }
.wechselt-9 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 49s); }
.wechselt-9 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 42s); }
.wechselt-9 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 35s); }
.wechselt-9 .foto:nth-child(6) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-9 .foto:nth-child(7) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-9 .foto:nth-child(8) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-9 .foto:nth-child(9) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-9 { 0% { opacity: 1; } 9.2% { opacity: 1; } 11.1% { opacity: 0; } 98.1% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-10 .foto { animation: wechsel-10 70s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-10 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 63s); }
.wechselt-10 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 56s); }
.wechselt-10 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 49s); }
.wechselt-10 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 42s); }
.wechselt-10 .foto:nth-child(6) { animation-delay: calc(var(--versatz, 0s) - 35s); }
.wechselt-10 .foto:nth-child(7) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-10 .foto:nth-child(8) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-10 .foto:nth-child(9) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-10 .foto:nth-child(10) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-10 { 0% { opacity: 1; } 8.3% { opacity: 1; } 10.0% { opacity: 0; } 98.3% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-11 .foto { animation: wechsel-11 77s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-11 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 70s); }
.wechselt-11 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 63s); }
.wechselt-11 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 56s); }
.wechselt-11 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 49s); }
.wechselt-11 .foto:nth-child(6) { animation-delay: calc(var(--versatz, 0s) - 42s); }
.wechselt-11 .foto:nth-child(7) { animation-delay: calc(var(--versatz, 0s) - 35s); }
.wechselt-11 .foto:nth-child(8) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-11 .foto:nth-child(9) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-11 .foto:nth-child(10) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-11 .foto:nth-child(11) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-11 { 0% { opacity: 1; } 7.5% { opacity: 1; } 9.1% { opacity: 0; } 98.4% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-12 .foto { animation: wechsel-12 84s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-12 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 77s); }
.wechselt-12 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 70s); }
.wechselt-12 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 63s); }
.wechselt-12 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 56s); }
.wechselt-12 .foto:nth-child(6) { animation-delay: calc(var(--versatz, 0s) - 49s); }
.wechselt-12 .foto:nth-child(7) { animation-delay: calc(var(--versatz, 0s) - 42s); }
.wechselt-12 .foto:nth-child(8) { animation-delay: calc(var(--versatz, 0s) - 35s); }
.wechselt-12 .foto:nth-child(9) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-12 .foto:nth-child(10) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-12 .foto:nth-child(11) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-12 .foto:nth-child(12) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-12 { 0% { opacity: 1; } 6.9% { opacity: 1; } 8.3% { opacity: 0; } 98.6% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-13 .foto { animation: wechsel-13 91s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-13 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 84s); }
.wechselt-13 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 77s); }
.wechselt-13 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 70s); }
.wechselt-13 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 63s); }
.wechselt-13 .foto:nth-child(6) { animation-delay: calc(var(--versatz, 0s) - 56s); }
.wechselt-13 .foto:nth-child(7) { animation-delay: calc(var(--versatz, 0s) - 49s); }
.wechselt-13 .foto:nth-child(8) { animation-delay: calc(var(--versatz, 0s) - 42s); }
.wechselt-13 .foto:nth-child(9) { animation-delay: calc(var(--versatz, 0s) - 35s); }
.wechselt-13 .foto:nth-child(10) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-13 .foto:nth-child(11) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-13 .foto:nth-child(12) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-13 .foto:nth-child(13) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-13 { 0% { opacity: 1; } 6.4% { opacity: 1; } 7.7% { opacity: 0; } 98.7% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-14 .foto { animation: wechsel-14 98s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-14 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 91s); }
.wechselt-14 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 84s); }
.wechselt-14 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 77s); }
.wechselt-14 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 70s); }
.wechselt-14 .foto:nth-child(6) { animation-delay: calc(var(--versatz, 0s) - 63s); }
.wechselt-14 .foto:nth-child(7) { animation-delay: calc(var(--versatz, 0s) - 56s); }
.wechselt-14 .foto:nth-child(8) { animation-delay: calc(var(--versatz, 0s) - 49s); }
.wechselt-14 .foto:nth-child(9) { animation-delay: calc(var(--versatz, 0s) - 42s); }
.wechselt-14 .foto:nth-child(10) { animation-delay: calc(var(--versatz, 0s) - 35s); }
.wechselt-14 .foto:nth-child(11) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-14 .foto:nth-child(12) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-14 .foto:nth-child(13) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-14 .foto:nth-child(14) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-14 { 0% { opacity: 1; } 5.9% { opacity: 1; } 7.1% { opacity: 0; } 98.8% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-15 .foto { animation: wechsel-15 105s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-15 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 98s); }
.wechselt-15 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 91s); }
.wechselt-15 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 84s); }
.wechselt-15 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 77s); }
.wechselt-15 .foto:nth-child(6) { animation-delay: calc(var(--versatz, 0s) - 70s); }
.wechselt-15 .foto:nth-child(7) { animation-delay: calc(var(--versatz, 0s) - 63s); }
.wechselt-15 .foto:nth-child(8) { animation-delay: calc(var(--versatz, 0s) - 56s); }
.wechselt-15 .foto:nth-child(9) { animation-delay: calc(var(--versatz, 0s) - 49s); }
.wechselt-15 .foto:nth-child(10) { animation-delay: calc(var(--versatz, 0s) - 42s); }
.wechselt-15 .foto:nth-child(11) { animation-delay: calc(var(--versatz, 0s) - 35s); }
.wechselt-15 .foto:nth-child(12) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-15 .foto:nth-child(13) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-15 .foto:nth-child(14) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-15 .foto:nth-child(15) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-15 { 0% { opacity: 1; } 5.5% { opacity: 1; } 6.7% { opacity: 0; } 98.9% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-16 .foto { animation: wechsel-16 112s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-16 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 105s); }
.wechselt-16 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 98s); }
.wechselt-16 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 91s); }
.wechselt-16 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 84s); }
.wechselt-16 .foto:nth-child(6) { animation-delay: calc(var(--versatz, 0s) - 77s); }
.wechselt-16 .foto:nth-child(7) { animation-delay: calc(var(--versatz, 0s) - 70s); }
.wechselt-16 .foto:nth-child(8) { animation-delay: calc(var(--versatz, 0s) - 63s); }
.wechselt-16 .foto:nth-child(9) { animation-delay: calc(var(--versatz, 0s) - 56s); }
.wechselt-16 .foto:nth-child(10) { animation-delay: calc(var(--versatz, 0s) - 49s); }
.wechselt-16 .foto:nth-child(11) { animation-delay: calc(var(--versatz, 0s) - 42s); }
.wechselt-16 .foto:nth-child(12) { animation-delay: calc(var(--versatz, 0s) - 35s); }
.wechselt-16 .foto:nth-child(13) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-16 .foto:nth-child(14) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-16 .foto:nth-child(15) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-16 .foto:nth-child(16) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-16 { 0% { opacity: 1; } 5.2% { opacity: 1; } 6.2% { opacity: 0; } 98.9% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-17 .foto { animation: wechsel-17 119s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-17 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 112s); }
.wechselt-17 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 105s); }
.wechselt-17 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 98s); }
.wechselt-17 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 91s); }
.wechselt-17 .foto:nth-child(6) { animation-delay: calc(var(--versatz, 0s) - 84s); }
.wechselt-17 .foto:nth-child(7) { animation-delay: calc(var(--versatz, 0s) - 77s); }
.wechselt-17 .foto:nth-child(8) { animation-delay: calc(var(--versatz, 0s) - 70s); }
.wechselt-17 .foto:nth-child(9) { animation-delay: calc(var(--versatz, 0s) - 63s); }
.wechselt-17 .foto:nth-child(10) { animation-delay: calc(var(--versatz, 0s) - 56s); }
.wechselt-17 .foto:nth-child(11) { animation-delay: calc(var(--versatz, 0s) - 49s); }
.wechselt-17 .foto:nth-child(12) { animation-delay: calc(var(--versatz, 0s) - 42s); }
.wechselt-17 .foto:nth-child(13) { animation-delay: calc(var(--versatz, 0s) - 35s); }
.wechselt-17 .foto:nth-child(14) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-17 .foto:nth-child(15) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-17 .foto:nth-child(16) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-17 .foto:nth-child(17) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-17 { 0% { opacity: 1; } 4.9% { opacity: 1; } 5.9% { opacity: 0; } 99.0% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-18 .foto { animation: wechsel-18 126s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-18 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 119s); }
.wechselt-18 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 112s); }
.wechselt-18 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 105s); }
.wechselt-18 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 98s); }
.wechselt-18 .foto:nth-child(6) { animation-delay: calc(var(--versatz, 0s) - 91s); }
.wechselt-18 .foto:nth-child(7) { animation-delay: calc(var(--versatz, 0s) - 84s); }
.wechselt-18 .foto:nth-child(8) { animation-delay: calc(var(--versatz, 0s) - 77s); }
.wechselt-18 .foto:nth-child(9) { animation-delay: calc(var(--versatz, 0s) - 70s); }
.wechselt-18 .foto:nth-child(10) { animation-delay: calc(var(--versatz, 0s) - 63s); }
.wechselt-18 .foto:nth-child(11) { animation-delay: calc(var(--versatz, 0s) - 56s); }
.wechselt-18 .foto:nth-child(12) { animation-delay: calc(var(--versatz, 0s) - 49s); }
.wechselt-18 .foto:nth-child(13) { animation-delay: calc(var(--versatz, 0s) - 42s); }
.wechselt-18 .foto:nth-child(14) { animation-delay: calc(var(--versatz, 0s) - 35s); }
.wechselt-18 .foto:nth-child(15) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-18 .foto:nth-child(16) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-18 .foto:nth-child(17) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-18 .foto:nth-child(18) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-18 { 0% { opacity: 1; } 4.6% { opacity: 1; } 5.6% { opacity: 0; } 99.0% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-19 .foto { animation: wechsel-19 133s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-19 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 126s); }
.wechselt-19 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 119s); }
.wechselt-19 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 112s); }
.wechselt-19 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 105s); }
.wechselt-19 .foto:nth-child(6) { animation-delay: calc(var(--versatz, 0s) - 98s); }
.wechselt-19 .foto:nth-child(7) { animation-delay: calc(var(--versatz, 0s) - 91s); }
.wechselt-19 .foto:nth-child(8) { animation-delay: calc(var(--versatz, 0s) - 84s); }
.wechselt-19 .foto:nth-child(9) { animation-delay: calc(var(--versatz, 0s) - 77s); }
.wechselt-19 .foto:nth-child(10) { animation-delay: calc(var(--versatz, 0s) - 70s); }
.wechselt-19 .foto:nth-child(11) { animation-delay: calc(var(--versatz, 0s) - 63s); }
.wechselt-19 .foto:nth-child(12) { animation-delay: calc(var(--versatz, 0s) - 56s); }
.wechselt-19 .foto:nth-child(13) { animation-delay: calc(var(--versatz, 0s) - 49s); }
.wechselt-19 .foto:nth-child(14) { animation-delay: calc(var(--versatz, 0s) - 42s); }
.wechselt-19 .foto:nth-child(15) { animation-delay: calc(var(--versatz, 0s) - 35s); }
.wechselt-19 .foto:nth-child(16) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-19 .foto:nth-child(17) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-19 .foto:nth-child(18) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-19 .foto:nth-child(19) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-19 { 0% { opacity: 1; } 4.4% { opacity: 1; } 5.3% { opacity: 0; } 99.1% { opacity: 0; } 100% { opacity: 1; } }
.wechselt-20 .foto { animation: wechsel-20 140s linear infinite; animation-delay: var(--versatz, 0s); }
.wechselt-20 .foto:nth-child(2) { animation-delay: calc(var(--versatz, 0s) - 133s); }
.wechselt-20 .foto:nth-child(3) { animation-delay: calc(var(--versatz, 0s) - 126s); }
.wechselt-20 .foto:nth-child(4) { animation-delay: calc(var(--versatz, 0s) - 119s); }
.wechselt-20 .foto:nth-child(5) { animation-delay: calc(var(--versatz, 0s) - 112s); }
.wechselt-20 .foto:nth-child(6) { animation-delay: calc(var(--versatz, 0s) - 105s); }
.wechselt-20 .foto:nth-child(7) { animation-delay: calc(var(--versatz, 0s) - 98s); }
.wechselt-20 .foto:nth-child(8) { animation-delay: calc(var(--versatz, 0s) - 91s); }
.wechselt-20 .foto:nth-child(9) { animation-delay: calc(var(--versatz, 0s) - 84s); }
.wechselt-20 .foto:nth-child(10) { animation-delay: calc(var(--versatz, 0s) - 77s); }
.wechselt-20 .foto:nth-child(11) { animation-delay: calc(var(--versatz, 0s) - 70s); }
.wechselt-20 .foto:nth-child(12) { animation-delay: calc(var(--versatz, 0s) - 63s); }
.wechselt-20 .foto:nth-child(13) { animation-delay: calc(var(--versatz, 0s) - 56s); }
.wechselt-20 .foto:nth-child(14) { animation-delay: calc(var(--versatz, 0s) - 49s); }
.wechselt-20 .foto:nth-child(15) { animation-delay: calc(var(--versatz, 0s) - 42s); }
.wechselt-20 .foto:nth-child(16) { animation-delay: calc(var(--versatz, 0s) - 35s); }
.wechselt-20 .foto:nth-child(17) { animation-delay: calc(var(--versatz, 0s) - 28s); }
.wechselt-20 .foto:nth-child(18) { animation-delay: calc(var(--versatz, 0s) - 21s); }
.wechselt-20 .foto:nth-child(19) { animation-delay: calc(var(--versatz, 0s) - 14s); }
.wechselt-20 .foto:nth-child(20) { animation-delay: calc(var(--versatz, 0s) - 7s); }
@keyframes wechsel-20 { 0% { opacity: 1; } 4.1% { opacity: 1; } 5.0% { opacity: 0; } 99.1% { opacity: 0; } 100% { opacity: 1; } }
.einstieg-flaeche { position: relative; min-width: 0; display: flex; align-items: center; background: var(--orange); }
/* Die Kante liegt über dem rechten Rand des Fotos: rechts von der Linie Orange, die Linie selbst weiß */
.welle { position: absolute; top: 0; right: calc(100% - 1px); width: 110px; height: 100%; }
.welle-quer { display: none; }
.welle-flaeche { fill: var(--orange); }
.welle-rand { fill: none; stroke: var(--weiss); stroke-width: 4px; vector-effect: non-scaling-stroke; }
.einstieg-text { position: relative; min-width: 0; max-width: 620px; padding: 48px var(--rand) 56px 44px; color: var(--blaugrau); }
.einstieg h1 { color: var(--weiss); font-size: clamp(40px, 4.6vw, 62px); font-weight: 800; letter-spacing: -.01em; }
.einstieg h1 span { display: block; }
.titel-dunkel { color: var(--blaugrau); }
.einstieg-text p { margin: 20px 0 30px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.3; }


/* ---------- Zusagen als Karten ---------- */

.zusagen { padding: 30px 0 32px; }
.karten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.karten li { display: flex; flex-direction: column; align-items: center; padding: 28px 18px 30px; background: var(--karte); border-radius: var(--rund); text-align: center; }
.karten .zusage-bild { width: 96px; height: 96px; object-fit: contain; }
.karten .zusage-bild.rund { object-fit: cover; border-radius: 50%; }
/* Überschriften der Karten gleich hoch, damit die Texte darunter auf einer Linie beginnen */
.karten h2 { max-width: 190px; margin: 14px 0 10px; font-size: 22px; line-height: 1.18; min-height: 2.36em; display: flex; align-items: center; justify-content: center; }
.karten p { max-width: 210px; font-size: 16px; color: var(--text-leise); }

/* ---------- Wien: Foto, darüber durchscheinendes Blaugrau, davor die Strichzeichnung ---------- */

.wien { position: relative; isolation: isolate; min-height: 240px; display: flex; align-items: center; overflow: hidden; color: var(--weiss); }
.wien-foto { position: absolute; inset: 0; }
.wien-foto .platzhalter, .wien-foto .foto { position: absolute; inset: 0; }
.wien-schleier { position: absolute; inset: 0; z-index: 1; background: var(--schleier-dicht); }
/* Der Hinweis auf das fehlende Foto bleibt über dem Schleier lesbar */
.wien-foto .platzhalter { align-items: flex-start; justify-content: center; padding-top: 22px; }
.wien-foto .platzhalter p { position: relative; z-index: 3; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; max-width: none; padding: 8px 14px; }
.wien-foto .platzhalter strong { font-size: 15px; }
.wien-foto .platzhalter span, .wien-foto .platzhalter em { font-size: 14px; }
.wien-zeichnung { position: absolute; right: 2%; bottom: 0; z-index: 2; width: min(46%, 600px); height: auto; fill: none; stroke: var(--orange); stroke-width: 2.2px; stroke-linejoin: round; stroke-linecap: round; }
.wien-text { position: relative; z-index: 2; width: 100%; padding-top: 56px; padding-bottom: 44px; }
.oberzeile { font-size: 22px; color: var(--orange-hell); }
.wien h2 { margin-top: 8px; font-size: clamp(30px, 3.6vw, 46px); }
.wien-link { display: inline-block; margin-top: 18px; font-size: 20px; font-weight: 700; color: var(--orange); text-decoration: none; }
.wien-link:hover { text-decoration: underline; }
.wien-branchen { max-width: 760px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 20px; line-height: 1.6; color: var(--weiss); }
.wien-branchen li { display: inline; }
/* Trennpunkt hängt am Wort davor (geschütztes Leerzeichen), damit keine Zeile mit „·“ beginnt */
.wien-branchen li:not(:last-child)::after { content: "\00a0·"; }
.wien-branchen a { color: var(--weiss); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .4); text-underline-offset: 4px; }
.wien-branchen a:hover { text-decoration-color: var(--orange); }
.branchen > li { scroll-margin-top: 90px; }
.wien h2::after { content: ""; display: block; width: 150px; height: 3px; margin-top: 18px; background: var(--orange); }

/* ---------- Angebote: zwei Kästen ---------- */

.angebote { padding: 22px 0 26px; }
.angebote ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
/* Überschrift, Text und Pfeil stehen in allen drei Kästen auf gleicher Höhe (Zeilen aus dem Raster der Liste) */
.angebote li { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; justify-items: start; row-gap: 0; align-items: flex-start; padding: 30px 34px 34px; border-radius: var(--rund); overflow: hidden;
  background: radial-gradient(circle at 105% 130%, var(--orange-hell) 0 46%, transparent 46.2%), linear-gradient(120deg, var(--karte), var(--orange-hell)); }
.angebote h2 { font-size: clamp(22px, 2.15vw, 28px); }
.angebote p { max-width: 340px; margin: 14px 0 22px; font-size: 17px; }
.rundpfeil { display: flex; margin-top: auto; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--orange); color: var(--blaugrau); font-size: 26px; line-height: 1; text-decoration: none; transition: background .15s; }
/* Hover am ganzen Kasten. Bewegt wird nur der Pfeil darin, nie der Knopf selbst: Ein verschobener Knopf würde seine Klickfläche (::before) mitnehmen, die Maus wäre schlagartig außerhalb, und der Zeiger flackert. */
.angebote li:hover .rundpfeil { background: var(--orange-dunkel); color: var(--weiss); }
.rundpfeil .pfeil { transition: transform .15s; }
.angebote li:hover .rundpfeil .pfeil { transform: translateX(3px); }
/* der ganze Kasten ist anklickbar */
.rundpfeil::before { content: ""; position: absolute; inset: 0; }

/* ---------- Zertifizierungen ---------- */

.zertifikate { padding: 34px 0 48px; background: var(--weiss); }
.zertifikate h2 { font-size: clamp(30px, 3.2vw, 42px); }
.zertifikate h2::after { content: ""; display: block; width: 110px; height: 3px; margin-top: 14px; background: var(--orange); }
.zert-satz { margin-top: 16px; font-size: 19px; color: var(--text-leise); }
.zertifikate h3 { margin: 38px 0 16px; font-size: 21px; }
.zeichen { display: grid; gap: 22px 18px; align-items: start; }
.zeichen figure { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.zeichen figcaption { font-size: 13px; line-height: 1.3; text-align: center; color: var(--text-leise); overflow-wrap: break-word; }
.zeichen img { object-fit: contain; }
/* die Titel groß, die Prüfungen kleiner */
.zeichen-titel { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.zeichen-titel img { width: 100%; max-width: 150px; }
.zeichen-titel figcaption { font-size: 14px; font-weight: 600; color: var(--text); }
.zeichen-pruefung { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.zeichen-pruefung img { width: 100%; max-width: 116px; }
/* Schriftzüge und Produktlogos: alle gleich hoch, in ihrer eigenen Breite */
.zeichen-schriftzug, .zeichen-produkt { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.zeichen-schriftzug img { width: auto; height: 86px; }
.zeichen-produkt { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.zeichen-produkt img { width: 100%; max-width: 180px; height: 78px; }
.zeichen-weitere { grid-template-columns: minmax(0, 340px); }
.zeichen-weitere img { width: 100%; border: 1px solid var(--linie); }

/* ---------- Übrige Seiten: nur der Kopf ---------- */

.seitenkopf { padding: 70px 0 90px; background: var(--orange); color: var(--blaugrau); }
.seitenkopf h1 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; color: var(--blaugrau); }
.seitenkopf p { margin-top: 18px; font-size: 22px; }
/* Kopf mit Foto: links die orange Fläche mit dem Text, rechts das Foto */
.seitenkopf-mit-bild { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(320px, 44svh, 480px); padding: 0; }
.seitenkopf-text { align-self: center; padding: 56px 48px 64px max(var(--rand), calc((100vw - var(--inhalt)) / 2)); }
.seitenkopf-foto { position: relative; overflow: hidden; }
/* Unterseiten: Welle über dem linken Fotorand, links Orange */
/* Textspalte über die ganze Höhe, damit die Welle oben und unten bis zum Rand reicht */ .seitenkopf-text { position: relative; z-index: 1; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.welle-links { right: auto; left: calc(100% - 1px); }
.seitenkopf-foto .foto, .seitenkopf-foto .platzhalter { position: absolute; inset: 0; }
/* Bei breiten Fenstern nicht die Köpfe abschneiden: Ausschnitt eher oben */
.einstieg-foto .foto, .seitenkopf-foto .foto { object-position: 50% 25%; }
.kontaktliste { margin-top: 34px; }
.kontaktliste li { display: flex; align-items: center; gap: 18px; margin-top: 18px; font-size: 22px; font-weight: 600; line-height: 1.3; }
.kontaktliste .symbol { width: 32px; height: 32px; color: var(--blaugrau); }
.kontaktliste a { text-decoration: none; }
.kontaktliste a:hover { text-decoration: underline; color: var(--weiss); }

/* ---------- Leistungen: drei Textblöcke, darunter Backoffice und Frontoffice ---------- */

.textbloecke { padding: 34px 0 10px; }
.textbloecke ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.textbloecke li { padding: 30px 28px 32px; background: var(--karte); border-radius: var(--rund); border-top: 4px solid var(--orange); }
/* Foto schwach hinter dem Text, oberes Viertel frei, Foto blendet weich ein (Roman, 11.11.2026) */
.textbloecke li.mit-bild, .textkarten li.mit-bild { position: relative; overflow: hidden; isolation: isolate; }
.textbloecke .karte-hinter, .textkarten .karte-hinter { position: absolute; top: 25%; right: 0; bottom: 0; left: 0; z-index: -1; width: 100%; height: 75%; object-fit: cover; opacity: .26; filter: grayscale(.2);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 30%, #000 100%); }
.textbloecke h2 { font-size: 24px; line-height: 1.2; }
.textbloecke p { margin-top: 16px; font-size: 17px; color: var(--text-leise); }
.bereiche { padding: 44px 0 48px; }
.bereiche-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 18px 40px; align-items: start; margin-bottom: 30px; }
.bereiche-kopf h2 { font-size: clamp(28px, 3.2vw, 42px); }
.bereiche-kopf h2::after { content: ""; display: block; width: 110px; height: 3px; margin-top: 14px; background: var(--orange); }
.bereichsliste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.bereichsliste > li { padding: 30px 32px 34px; background: var(--weiss); border-radius: var(--rund); scroll-margin-top: 16px; }
.bereichsliste > li:first-child { background: var(--blaugrau); color: var(--weiss); }
.bereichsliste h3 { font-size: 27px; }
.bereichsliste h3::after { content: ""; display: block; width: 70px; height: 3px; margin-top: 12px; background: var(--orange); }
.punkte { margin-top: 22px; }
.punkte li { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0; font-size: 17px; line-height: 1.35; }
.punkte li + li { border-top: 1px solid var(--linie-zart); }
.punkte .symbol { width: 20px; height: 20px; margin-top: 2px; color: var(--orange); }
.punkte span { min-width: 0; overflow-wrap: break-word; }
.zert-hinweis { padding: 30px 0 44px; background: var(--weiss); }
.zert-hinweis .breite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 30px; }
.zert-hinweis p { font-size: 20px; font-weight: 600; }

/* ---------- Partner & Mediation: zwei Teile mit Textkarten, dazwischen das Band mit den Werten ---------- */

.teil { padding: 46px 0 50px; scroll-margin-top: 10px; }
.teil-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 18px 40px; align-items: start; margin-bottom: 28px; }
.teil-kopf h2 { font-size: clamp(28px, 3.2vw, 42px); }
.teil-kopf h2::after { content: ""; display: block; width: 110px; height: 3px; margin-top: 14px; background: var(--orange); }
.teil-kopf p { font-size: 19px; }
/* Teil mit Foto: links Überschrift und Text, rechts das Foto */
.teil-kopf-mit-bild { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.teil-kopf-mit-bild p { margin-top: 22px; }
.teil-foto { position: relative; overflow: hidden; border-radius: var(--rund); aspect-ratio: 3 / 2; }
.teil-foto .foto, .teil-foto .platzhalter { position: absolute; inset: 0; }
.textkarten { display: grid; gap: 18px; }
.textkarten-drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.textkarten-zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.textkarten li { padding: 28px 28px 30px; background: var(--karte); border-radius: var(--rund); border-top: 4px solid var(--orange); }
.textkarten h3 { font-size: 23px; line-height: 1.2; }
.textkarten p { margin-top: 14px; font-size: 17px; color: var(--text-leise); }
/* Auf dem Foto hinter der Karte wäre die graue Schrift zu schwach */
.textbloecke li.mit-bild p, .textkarten li.mit-bild p { color: var(--text); }
#mediation { background: var(--weiss); }
#mediation .textkarten li { background: var(--sand); }
.werte { padding: 44px 0 48px; background: var(--blaugrau); color: var(--weiss); }
.werte-innen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 18px 40px; align-items: start; }
.werte h2 { font-size: clamp(26px, 2.8vw, 36px); color: var(--orange); }
.werte p { font-size: 19px; }

/* ---------- Impressum und Datenschutz: Blöcke in zwei Spalten ---------- */

.rechtstext { padding: 40px 0 50px; }
.rechtstext .breite { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.rechtsblock { padding: 24px 28px 26px; background: var(--karte); border-radius: var(--rund); border-left: 4px solid var(--orange); }
.rechtsblock h2 { font-size: 21px; line-height: 1.2; }
.rechtsblock p { margin-top: 10px; font-size: 17px; overflow-wrap: anywhere; }
/* Zwei Spalten ohne Lücken: die Blöcke fließen wie in einer Zeitung */
@media (min-width: 701px) {
  .rechtstext .breite { display: block; columns: 2; column-gap: 18px; }
  .rechtsblock { break-inside: avoid; margin-bottom: 18px; }
}

/* ---------- E-Mail-Adresse: das Störwort sehen nur Adress-Sammler, Menschen nicht ---------- */

.tarn { display: none; }

/* ---------- Leistungen: Kontaktteil, die E-Mail im Vordergrund ---------- */

.kontaktaufruf { padding: 44px 0 48px; background: var(--orange); color: var(--blaugrau); }
.kontaktaufruf-innen { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 40px; align-items: center; }
.kontaktaufruf h2 { font-size: clamp(28px, 3.2vw, 42px); color: var(--blaugrau); }
.kontaktaufruf p { margin-top: 14px; font-size: 19px; }
.kontaktwege { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.knopf-rand { border: 2px solid var(--blaugrau); color: var(--blaugrau); }
.knopf-rand:hover { background: rgba(255, 255, 255, .14); border-color: var(--weiss); color: var(--weiss); }
.kontaktwege .knopf { white-space: normal; overflow-wrap: anywhere; text-align: left; }
.schreiben { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.schreiben p { font-weight: 400; }

/* ---------- Fuß ---------- */

.fuss { padding: 30px 0 26px; background: var(--sand); font-size: 17px; }
.fuss-kontakt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fuss-kontakt li { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 4px 16px; line-height: 1.3; overflow-wrap: anywhere; }
.fuss-kontakt li + li { border-left: 1px solid var(--linie); }
.fuss-kontakt .symbol { width: 34px; height: 34px; color: var(--orange); }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss-zeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 30px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--linie); font-size: 15px; color: var(--text-leise); }
.fuss-zeile nav { display: flex; gap: 22px; }

/* ---------- Tablet ---------- */

@media (max-width: 1000px) {
  :root { --rand: 28px; }
  .menue { display: none; }
  .kopf-knopf { margin-left: auto; }
  .handmenue { display: block; position: relative; }
  .handmenue summary { list-style: none; cursor: pointer; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; }
  .handmenue summary::-webkit-details-marker { display: none; }
  .striche { width: 30px; height: 4px; border-radius: 2px; background: var(--blaugrau); box-shadow: 0 -10px 0 var(--blaugrau), 0 10px 0 var(--blaugrau); }
  .handmenue nav { position: absolute; right: 0; top: 100%; z-index: 20; display: flex; flex-direction: column; min-width: 240px; padding: 10px 22px 16px; background: var(--weiss); border: 1px solid var(--linie); border-radius: 10px; box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
  .handmenue nav a { padding: 12px 0 8px; font-size: 20px; }
  .einstieg-text { padding-left: 24px; }
  .welle { width: 80px; }
  .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zeichen-titel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .zeichen-pruefung { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .textbloecke ul, .bereiche-kopf, .teil-kopf, .werte-innen, .textkarten-drei { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Handy: Foto oben, darunter die orange Fläche; das Band steht als eigener Streifen darunter ---------- */

@media (max-width: 700px) {
  :root { --rand: 18px; }
  body { font-size: 17px; }
  .kopf-innen { height: 84px; gap: 10px; }
  .logo img { height: 66px; }
  .kopf-knopf { min-height: 44px; padding: 0 14px; font-size: 16px; }
  .handmenue summary { width: 44px; height: 44px; }
  .einstieg { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .einstieg-foto { aspect-ratio: 4 / 3; }
  .einstieg-foto .platzhalter { padding: 24px; }
  .welle { display: none; }
  /* Handy: dieselbe Welle quer über dem unteren Fotorand */
  .welle-quer { display: block; position: absolute; left: 0; bottom: calc(100% - 1px); width: 100%; height: 44px; }
  .einstieg-text { max-width: none; padding: 30px var(--rand) 34px; }
  .einstieg h1 { font-size: clamp(32px, 10vw, 44px); }
  .karten { gap: 12px; }
  .karten li { padding: 20px 10px 22px; }
  .karten .zusage-bild { width: 76px; height: 76px; }
  .karten h2 { font-size: clamp(16px, 4.8vw, 20px); }
  .karten p { font-size: 15px; }
  .wien { min-height: 300px; }
  .wien-zeichnung { width: 78%; right: 0; opacity: .55; }
  /* Unten Platz für die Zeichnung (Prozent beziehen sich wie die Zeichnung auf die Breite), damit der Link nicht auf der Kuppel steht */
  .wien-text { padding-top: 40px; padding-bottom: calc(28.6% + 16px); }
  .angebote ul { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .angebote li { padding: 24px 22px 26px; }
  .zeichen { gap: 18px 12px; }
  .zeichen-titel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zeichen-pruefung { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zeichen-schriftzug, .zeichen-produkt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zeichen-schriftzug img { height: 74px; }
  .zeichen-schriftzug img, .zeichen-produkt img { max-width: 100%; }
  .zeichen li { min-width: 0; }
  .knopf { white-space: normal; }
  .knopf-gross { gap: 10px; min-height: 54px; padding: 0 16px; font-size: clamp(16px, 5vw, 19px); }
  .zeichen figcaption, .zeichen-titel figcaption { font-size: 12px; }
  .bereichsliste, .textkarten-zwei, .rechtstext .breite, .kontaktaufruf-innen { grid-template-columns: minmax(0, 1fr); }
  .rechtsblock { padding: 20px 18px 22px; }
  .textkarten li { padding: 22px 20px 24px; }
  .teil { padding: 34px 0 38px; }
  .bereichsliste > li, .textbloecke li { padding: 24px 20px 26px; }
  .seitenkopf { padding: 44px 0 56px; }
  .seitenkopf-mit-bild { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 0; }
  .seitenkopf-text { padding: 34px var(--rand) 38px; }
  .seitenkopf-foto { aspect-ratio: 3 / 2; }
  .welle-links { display: none; }
  .welle-quer-unten { display: block; position: absolute; left: 0; top: calc(100% - 1px); bottom: auto; width: 100%; height: 44px; }
  .kontaktliste li { font-size: 19px; }
  .fuss-kontakt { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .fuss-kontakt li { justify-content: flex-start; padding: 0; }
  .fuss-kontakt li + li { border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .wechselt .foto { animation: none; }
}

/* ---------- Referenzen: Branchen als Karten mit Foto, das Wasserzeichen ist ins Foto eingebrannt (werkzeug/wasserzeichen.py) ---------- */
.branchen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.branchen li { overflow: hidden; background: var(--karte); border-radius: var(--rund); }
.branche-foto { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.branche-foto .foto, .branche-foto .platzhalter { position: absolute; inset: 0; }
.branchen h2 { margin: 18px 20px 8px; font-size: 21px; line-height: 1.2; }
/* Letzte Karte allein in der Dreierreihe: über die ganze Breite. Nur bei 3 Spalten – in 2 Spalten gehen 10 Karten genau auf. */
@media (min-width: 901px) {
  .branchen li:last-child:nth-child(3n+1) { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; }
  .branchen li:last-child:nth-child(3n+1) .branche-foto { grid-row: span 2; height: 100%; }
  .branchen li:last-child:nth-child(3n+1) h2 { align-self: end; margin-bottom: 6px; font-size: 26px; }
  .branchen li:last-child:nth-child(3n+1) p { align-self: start; font-size: 18px; }
}
.branchen p { margin: 0 20px 22px; font-size: 16px; color: var(--text-leise); }
@media (max-width: 900px) { .branchen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .branchen { grid-template-columns: minmax(0, 1fr); } }

/* Referenzen: Kopf mit Frage und schrägem Stempel, darunter zwei Karten */
.ref-kopf { padding: 64px 0 70px; background: var(--orange); color: var(--blaugrau); }
.ref-oberzeile { font-size: 20px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blaugrau); }
.ref-kopf h1 { color: var(--weiss); max-width: 820px; margin-top: 10px; font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; line-height: 1.12; }
.stempel { display: inline-block; margin-top: 26px; padding: 8px 22px; border: 4px solid var(--blaugrau); border-radius: 8px; color: var(--blaugrau); font-size: clamp(30px, 4vw, 48px); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; transform: rotate(-6deg); }
.ref-zwei { padding: 46px 0 6px; }
.ref-zwei-innen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ref-karte { display: flex; flex-direction: column; justify-content: center; padding: 30px 32px 32px; background: var(--karte); border-radius: var(--rund); }
.ref-karte .knopf { align-self: flex-start; }
.ref-karte h2 { font-size: 26px; line-height: 1.2; }
.ref-karte p { margin-top: 12px; font-size: 18px; line-height: 1.5; }
.ref-karte-orange { background: var(--blaugrau); color: var(--weiss); }
.ref-karte-orange .knopf { margin-top: 22px; }
@media (max-width: 760px) { .ref-zwei-innen { grid-template-columns: minmax(0, 1fr); } .ref-karte { padding: 24px 22px 26px; } }

/* Aktuelles auf der Startseite */
.textkarten .aktuell-datum { margin: 0 0 6px; font-size: 15px; color: var(--orange-dunkel); }

/* Branchenkarten wechseln versetzt, nicht alle im selben Augenblick (Roman, 12.11.2026) */
.branchen > li:nth-child(3n+2) { --versatz: -2.3s; }
.branchen > li:nth-child(3n) { --versatz: -4.6s; }

/* Kontrastdesign von Windows: Menü-Knopf bleibt sichtbar, der aktive Menüpunkt bleibt erkennbar. Ohne Kontrastdesign wirkt nichts davon. */
@media (forced-colors: active) {
  .striche { forced-color-adjust: none; background: CanvasText; box-shadow: 0 -10px 0 CanvasText, 0 10px 0 CanvasText; }
  .menue a, .handmenue nav a { border-bottom-color: Canvas; }
  .menue a.aktiv, .handmenue nav a.aktiv { border-bottom-color: CanvasText; }
}

/* Mediation: Eintrag, Kooperation und Erstgespräch im Einstieg neben dem Foto (Roman, 19.11.2026) */
.mediation-links { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; }
.mediation-links a { color: var(--text, inherit); font-weight: 600; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.teil-kopf .schreiben { margin-top: 22px; }
