/* ==========================================================================
   intrust.ch – Stil der HTML-Seite (T6)
   Farben und Schriften aus der CI der alten Seite (Elementor, gemessen 13.11.2026).
   Von Hand gepflegt, nicht gebaut. Keine Stil-Attribute im HTML (Content-Security-Policy).
   ========================================================================== */

@font-face { font-family: "Nanum Myeongjo"; src: url("/assets/fonts/nanummyeongjo-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("/assets/fonts/roboto-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --schwarz: #000000;
  --text: #FBF0EC;
  --sand: #C5BDB2;
  --rose: #C39A90;
  --braun: #5D4943;
  --braun-dunkel: #4C2921;
  --braun-mittel: #736453;
  --grau: #9B9184;
  --hell: #F6F4F5;
  --linie: rgba(197, 189, 178, 0.28);
  --serif: "Nanum Myeongjo", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Helvetica Neue", Arial, sans-serif;
  /* Fliesstext wie auf der alten Seite: die Schrift des Systems (Theme Hello Elementor). */
  --system: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --spalte: 50%;
  --rand: clamp(1.25rem, 5vw, 4.5rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--schwarz);
  color: var(--text);
  font-family: var(--system);
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.78;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--sand); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color 0.2s; }
a:hover { color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }
strong { font-weight: 500; }
p, ul, dl { margin: 0 0 1.1em; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; padding: 0.6rem 1rem; background: var(--text); color: var(--schwarz); }
.skip:focus { top: 1rem; }

/* ---------- Schriftbild ---------- */
h1, h2, h3, h4 { margin: 0 0 0.7em; font-family: var(--sans); font-weight: 500; }
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 1.6rem + 3.2vw, 4rem);
  line-height: 1.4;
  color: #FFFFFF;
  letter-spacing: -0.005em;
  word-spacing: -0.74em; /* Das Leerzeichen von Nanum Myeongjo ist 1 em breit (gemessen), ein normales etwa 0.26 em. Auf der alten Seite rissen die Wörter darum auseinander. */
}
h2 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem);
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.071em;
  color: #FFFFFF;
}
h3 {
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.056em;
  color: var(--rose);
  margin-top: 1.6em;
}
h4 { font-size: 1.05rem; line-height: 1.8; text-transform: uppercase; color: #FFFFFF; margin-top: 1.8em; }

.abschnitt {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--sans); font-weight: 500; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.28em;
  color: var(--rose);
  margin: 0 0 1.4rem;
}
.abschnitt::after { content: ""; flex: 0 0 3.5rem; height: 1px; background: currentColor; opacity: 0.7; }
.lead {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.056em; line-height: 1.6;
  font-weight: 500; font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.3rem);
  color: var(--rose);
  margin-bottom: 2rem;
}
.haken { list-style: none; padding: 0; }
.haken li { position: relative; padding-left: 1.6rem; margin-bottom: 0.45em; }
.haken li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 0.8rem; height: 1px; background: var(--rose); }

/* ---------- Gerüst: links der Adler mit Navigation, rechts der Inhalt ---------- */
/* Handy: .spalte löst sich auf, damit die Kopfzeile über die ganze Seite oben kleben bleibt. */
.spalte { display: contents; }
.kopfzeile {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem var(--rand);
  background: rgba(0, 0, 0, 0.88);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.logo img { width: 9.5rem; }
/* Adler und Löwe wechseln sich ab wie in der Diashow der alten Seite: je 8 s, 6 s Überblendung. */
.buehne { display: none; position: relative; }
.kopf-start .buehne { display: block; }
.tiere { position: relative; overflow: hidden; }
.tiere img { width: 100%; aspect-ratio: 5 / 4; max-height: 60vh; object-fit: cover; object-position: 22% 30%; }
.loewe { position: absolute; inset: 0; opacity: 0; animation: tierwechsel 16s ease-in-out infinite; }
/* Handy: wie auf der alten Seite liegen LinkedIn und der Knopf auf dem Bild. */
.start-leiste {
  position: absolute; left: var(--rand); right: var(--rand); bottom: 1rem; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.start-leiste .knopf { background: rgba(0, 0, 0, 0.35); font-size: 0.85rem; }
.start-leiste .linkedin svg { width: 1.9rem; height: 1.9rem; }
@keyframes tierwechsel {
  0%, 12.5% { opacity: 0; }
  50%, 62.5% { opacity: 1; }
  100% { opacity: 0; }
}

.menu-knopf {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; padding: 0;
  background: none; border: 0;
  color: var(--text); cursor: pointer;
}
.menu-strich, .menu-strich::before, .menu-strich::after { display: block; width: 1.1rem; height: 1px; background: currentColor; position: relative; }
.menu-strich::before, .menu-strich::after { content: ""; position: absolute; left: 0; }
.menu-strich::before { top: -0.35rem; }
.menu-strich::after { top: 0.35rem; }

/* Handy: die Navigation ist ein Popover über der ganzen Seite (ohne Skript). */
.nav:popover-open {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 6rem var(--rand) 2.5rem; border: 0;
  display: flex; flex-direction: column; gap: 2rem;
  background: var(--schwarz); color: var(--text);
}
.menu-zu {
  position: absolute; top: 0.9rem; right: var(--rand);
  width: 2.75rem; height: 2.75rem; padding: 0;
  background: none; border: 0;
  color: var(--text); font-size: 1.9rem; line-height: 1; cursor: pointer;
}
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav li a {
  display: inline-block; padding: 0.5rem 0;
  font-family: var(--sans); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.136em;
  color: #FFFFFF; text-decoration: none;
}
.nav li a:hover, .nav li a[aria-current] { color: var(--sand); }
.knopf {
  display: inline-flex; flex-wrap: wrap; gap: 0 0.6em; align-self: flex-start;
  padding: 0.85rem 1.3rem;
  border: 1px solid currentColor;
  font-family: var(--system); font-weight: 700; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.5;
  color: #FFFFFF; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
/* Beim Darüberfahren hell mit dunkler Schrift, auch dort, wo der Knopf sonst einen dunklen Grund hat. */
.knopf:hover, .knopf:focus-visible, .nav .knopf:hover, .nav .knopf:focus-visible, .start-leiste .knopf:hover, .start-leiste .knopf:focus-visible { background: var(--text); color: var(--schwarz); }
.linkedin { color: var(--sand); display: inline-flex; }
.nav-fuss { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.nav-fuss .linkedin svg { width: 2.4rem; height: 2.4rem; }
.nav-fuss .knopf { font-size: 0.85rem; }
/* Imprint und Privacy Policy stehen auch im Menü, nicht nur ganz unten im Fuss. */
.nav .nav-recht { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.5rem; }
.nav .nav-recht a { font-family: var(--sans); font-weight: 500; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sand); text-decoration: none; }
.nav .nav-recht a:hover, .nav .nav-recht a[aria-current] { color: #FFFFFF; text-decoration: underline; text-underline-offset: 0.3em; }
.linkedin:hover { color: var(--sand); }

/* ---------- Abschnitte ---------- */
.feld { padding: clamp(3rem, 2.25rem + 3vw, 5rem) 0; }
/* Hintergründe wie in den Popups der alten Seite: Home und About dunkelbraun, Services taupe,
   Team braun, Kontakt mit dem Sitzungszimmer (gemessen 16.11.2026). */
.feld-schwarz { background: var(--schwarz); }
.feld-dunkel { background: var(--braun-dunkel); }
.feld-braun { background: var(--braun); }
/* Services: auf der alten Seite #9B9184 mit hellem Text, Kontrast nur 2.8:1. Darum der dunklere
   Taupe-Ton aus derselben CI (#736453), Kontrast 5.3:1. */
.feld-taupe { background: var(--braun-mittel); color: var(--hell); }
.feld-braun .abschnitt { color: var(--sand); }
.feld-braun h3 { color: #DDB9AF; } /* Rosé aufgehellt: #C39A90 hat auf #5D4943 nur 3.3:1, so 4.7:1 */
.feld-taupe .abschnitt { color: var(--hell); }
.feld-taupe .haken li::before { background: var(--hell); }
.feld-taupe .dienst { border-color: rgba(246, 244, 245, 0.35); }
.breite { max-width: 50rem; padding: 0 var(--rand); }
.breite.schmal { max-width: 46rem; }

.auftakt { padding-top: clamp(2.5rem, 2rem + 4vw, 6rem); }
.auftakt h1 { max-width: 34rem; }
.umbruch { display: block; }
.unterzeile {
  max-width: 34rem; margin: 1.5rem 0 2.5rem;
  font-family: "Roboto", var(--system); text-transform: uppercase; font-weight: 500;
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.375rem); line-height: 1.5;
  color: var(--rose);
}
.weiter {
  display: block; width: 2.6rem; height: 2.6rem; margin-top: 2.5rem;
  border: 0; position: relative; color: var(--sand);
  transition: border-color 0.2s, color 0.2s;
}
.weiter::before {
  content: ""; position: absolute; left: 50%; top: 45%; width: 0.6rem; height: 0.6rem;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg); animation: weiter 2.4s ease-in-out infinite;
}
.weiter:hover { color: #FFFFFF; }
@keyframes weiter { 0%, 100% { margin-top: 0; } 50% { margin-top: 0.25rem; } }
/* Sprungmarken in Services: bleiben beim Scrollen durch den Abschnitt oben stehen. */
.sprung {
  position: sticky; top: 4.4rem; z-index: 5; list-style: none;
  margin: 0 calc(-1 * var(--rand)) 1.5rem; padding: 0.75rem var(--rand);
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem;
  background: var(--braun-mittel); border-bottom: 1px solid rgba(246, 244, 245, 0.2);
  box-shadow: 0 0 0 100vmax var(--braun-mittel); clip-path: inset(0 -100vmax); /* Band über die ganze Breite des Abschnitts */
}
.feld-taupe { overflow-x: clip; }
.sprung a {
  font-family: var(--sans); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--hell); text-decoration: none; padding-bottom: 0.2rem; border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.sprung a:hover, .sprung a:focus-visible, .sprung a[aria-current] { border-bottom-color: currentColor; }
.dienst { scroll-margin-top: 8rem; }
.hinweis { margin-top: 2.5rem; font-size: 0.85rem; color: var(--sand); }
.pfeil {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-family: var(--sans); font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--sand); text-decoration: none;
}
.pfeil::before { content: ""; width: 3rem; height: 1px; background: currentColor; transition: width 0.3s; }
.pfeil:hover::before { width: 4.5rem; }

.text-bild { display: flow-root; }
/* Bilder rechts, der Text fliesst darum herum und darunter weiter. */
.bild-rechts { float: right; width: min(42%, 13rem); margin: 0.4rem 0 1rem 1.5rem; }
.bild-rechts img { width: 100%; }
.zwei { margin-top: 1rem; border-top: 1px solid var(--linie); padding-top: 0.5rem; }

.dienst { display: flow-root; padding: 2.5rem 0; border-top: 1px solid var(--linie); }
.dienst:first-of-type { border-top: 0; padding-top: 0; }
.dienst h2 { margin-bottom: 1rem; }
.dienst h3 { font-size: 1.05rem; color: #FFFFFF; }

/* ---------- Team: wie in der Teamübersicht der alten Seite ---------- */
.gruppe { display: flex; align-items: center; gap: 1.2rem; margin: 3.5rem 0 1.6rem; }
.gruppe::after { content: ""; flex: 0 1 8rem; height: 1px; background: currentColor; opacity: 0.8; }
.feld-braun .breite > .abschnitt + .gruppe { margin-top: 0; }
.gruppenbild { margin-bottom: 1rem; max-width: 36rem; }
.gruppenbild img { width: 100%; }
.personen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 10.5rem)); gap: 1.8rem 1.2rem; }
.person {
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem; width: 100%;
  padding: 0; border: 0; background: none; color: #FFFFFF;
  font: inherit; cursor: pointer;
}
.person-bild { width: 100%; overflow: hidden; background: var(--braun-dunkel); }
.person-bild img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; transition: transform 0.5s; }
.person:hover .person-bild img, .person:focus-visible .person-bild img { transform: scale(1.03); }
.person-name, .person-link { line-height: 1.5; padding-bottom: 0.2rem; border-bottom: 1px dashed currentColor; }
.person:hover .person-name, .person-link:hover { color: var(--sand); }
.namen { list-style: none; padding: 0; margin: 0; max-width: 36rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; text-align: center; }
.person-link {
  padding: 0 0 0.2rem; border-top: 0; border-left: 0; border-right: 0; background: none; color: #FFFFFF;
  font: inherit; cursor: pointer; text-align: center;
}
.person-rolle { font-size: 0.8rem; line-height: 1.5; color: var(--sand); }

.person-detail {
  width: min(46rem, calc(100% - 1.5rem)); max-height: min(90vh, 52rem);
  margin: auto; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  border: 1px solid var(--linie); background: var(--braun-dunkel); color: var(--text);
  overflow: auto; overscroll-behavior: contain;
}
.person-detail::backdrop { background: rgba(0, 0, 0, 0.78); }
.person-kopf { display: flex; gap: 1.5rem; align-items: center; margin-bottom: 1.5rem; padding-right: 2.5rem; }
.person-detail-bild { flex: 0 0 auto; width: clamp(6rem, 22vw, 9rem); }
.person-kopf h3 { margin: 0 0 0.2rem; color: #FFFFFF; font-size: 1.15rem; }
.person-kopf .person-rolle { margin: 0; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.person-titel { margin: 0.2rem 0 0; font-size: 0.85rem; color: var(--rose); }
.schliessen {
  position: sticky; top: 0; float: right; margin: -0.5rem -0.5rem 0 0;
  width: 2.5rem; height: 2.5rem; padding: 0;
  border: 0; background: var(--braun-dunkel);
  color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.schliessen:hover { background: var(--text); color: var(--braun-dunkel); }
.laufbahn { display: grid; grid-template-columns: 6.5rem 1fr; gap: 0.5rem 1.2rem; font-size: 0.92rem; line-height: 1.6; }
.laufbahn dt { font-weight: 500; color: var(--sand); }
.laufbahn dd { margin: 0; }

/* ---------- Kontakt und Fuss ---------- */
.kontakt {
  position: relative; padding-bottom: 0;
  background: #000 url("/assets/img/kontakt-900.jpg") center / cover no-repeat;
  background: #000 image-set(url("/assets/img/kontakt-1800.webp") type("image/webp"), url("/assets/img/kontakt-1800.jpg") type("image/jpeg")) center / cover no-repeat;
}
.kontakt::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 12, 10, 0.8), rgba(20, 12, 10, 0.9)); }
.kontakt > * { position: relative; }
.kontakt-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 2.5rem clamp(2rem, 5vw, 4rem); align-items: start; }
.kontakt-logo { display: block; width: 9rem; margin: 0 0 1.5rem; }
.adresse { font-style: normal; line-height: 1.65; margin: 0 0 1rem; }
.adresse strong { font-weight: 600; }
.karte {
  font-family: var(--sans); font-weight: 500; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--rose); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 0.15rem;
}
.karte:hover { color: #FFFFFF; }
.kontakt-daten { margin: 0; border-top: 1px solid var(--linie); }
.kontakt-daten > div { display: grid; grid-template-columns: 6rem 1fr; align-items: baseline; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--linie); }
.kontakt-daten dt { font-family: var(--sans); font-weight: 500; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--rose); }
.kontakt-daten dd { margin: 0; white-space: nowrap; }
.kontakt-daten a { color: var(--text); text-decoration: none; }
.kontakt-daten a:hover { color: #FFFFFF; text-decoration: underline; }
.vcard { display: flex; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.vcard img { flex: 0 0 auto; width: 4.5rem; background: #FFFFFF; padding: 0.3rem; }
.vcard p { margin: 0; max-width: 18rem; font-size: 0.85rem; line-height: 1.5; color: var(--sand); }
.fuss { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding: 1.1rem 0; background: var(--braun); font-size: 0.85rem; color: var(--sand); }
.fuss .breite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem 2rem; }
.fuss p { margin: 0; }
.fuss ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.fuss a { font-family: var(--sans); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; text-decoration: none; }
.fuss a:hover, .fuss a[aria-current] { text-decoration: underline; }

/* ---------- Rechtliches und Fehlerseite ---------- */
.rechtliches h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin-bottom: 1.5rem; }
.rechtliches h2 { font-size: 1rem; margin-top: 2.2em; color: var(--text); }
.rechtliches ul { padding-left: 1.2rem; }
.fehler { min-height: 70vh; }
.fehler-wege { list-style: none; margin: 2.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; }
.fehler-wege a { font-weight: 500; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--sand); }
.fehler-wege a:hover { color: #FFFFFF; }

/* ---------- Handy: Profilkopf untereinander, damit Name und Funktion nicht umbrechen ---------- */
@media (max-width: 30em) {
  .person-kopf { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .person-detail-bild { width: 7rem; }
}

/* ---------- ab Tablet ---------- */
@media (min-width: 48em) {
  .personen { grid-template-columns: repeat(auto-fill, 10.5rem); gap: 1.8rem 1.6rem; }
}

/* ---------- Desktop: Adler und Navigation fest links, wie auf der alten Seite ---------- */
@media (min-width: 64em) {
  html { scroll-padding-top: 0; }
  .rahmen { display: grid; grid-template-columns: var(--spalte) 1fr; }
  /* Linke Hälfte wie auf der alten Seite (gemessen bei 1440 × 900): Logo oben links,
     Navigation ab einem Drittel der Höhe im Abstand von 60 px, Knopf leicht eingerückt,
     LinkedIn unten links. */
  /* Wie auf der alten Seite liegt das Tierbild fest über dem ganzen Bildschirm (cover, Mitte).
     Die Abschnitte rechts decken es ab, nur oben auf der Startseite bleibt es sichtbar. */
  body { background: var(--schwarz); }
  .spalte { display: block; position: static; }
  .spalte::after { content: ""; position: fixed; top: 0; bottom: 0; left: 0; width: var(--spalte); z-index: 1; pointer-events: none;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 60%); }
  .kopfzeile { position: fixed; z-index: 3; top: 0.6rem; left: 3.9rem; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .logo img { width: clamp(13rem, 22.8vw, 20.6rem); }
  .menu-knopf, .menu-zu, .start-leiste { display: none; }
  .buehne, .kopf-start .buehne { display: contents; }
  .tiere { position: fixed; inset: 0; z-index: 0; }
  .tiere picture, .tiere img { width: 100%; height: 100%; }
  .tiere img { aspect-ratio: auto; max-height: none; object-fit: cover; object-position: 50% 50%; }
  /* Navigation in der Mitte der linken Hälfte, LinkedIn und Knopf unten nebeneinander. */
  .nav[popover] {
    position: fixed; z-index: 3; inset: 0 auto 0 0; width: var(--spalte); height: auto; max-width: none; max-height: none;
    margin: 0; padding: 8rem 2rem 2.25rem 5rem; border: 0; overflow: visible;
    display: flex; flex-direction: column; justify-content: space-between; background: none; color: var(--text);
    pointer-events: none;
  }
  .nav[popover] > * { pointer-events: auto; }
  .nav ul { margin: auto 0; }
  .nav li a { display: inline-block; padding: 0; margin: 0.45rem 0; line-height: 2.2rem; font-size: 1rem; text-shadow: 0 0 1rem rgba(0, 0, 0, 0.9); }
  .nav li a::after { content: ""; display: block; height: 1px; width: 0; background: currentColor; transition: width 0.3s; }
  .nav li a:hover::after, .nav li a[aria-current]::after { width: 100%; }
  .nav-fuss { gap: 1.5rem; }
  .nav .knopf { padding: 0.8rem 1rem; font-size: 1rem; background: rgba(0, 0, 0, 0.35); }
  .nav .linkedin svg { width: 2.9rem; height: 2.9rem; }
  .nav .nav-recht { margin-top: 1.1rem; }
  .nav .nav-recht a { text-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.9); line-height: 1.6; margin: 0; }
  .nav .nav-recht a::after { content: none; } /* nur ein Strich: die Unterstreichung, nicht zusätzlich der Strich der Hauptnavigation */
  .inhalt { min-width: 0; position: relative; z-index: 2; }
  .sprung { top: 0; }
  .dienst { scroll-margin-top: 4rem; }
  .feld > .breite, .fuss > .breite { margin-left: clamp(0rem, 2vw, 2rem); }
  .auftakt.feld-dunkel > .breite { margin-left: 0; } /* Kasten bündig mit den Abschnitten darunter */
  /* Startseite: oben das Tierbild, ab einem Viertel der Höhe der braune Kasten, Titel und Unterzeile zusammen in der Mitte. */
  .auftakt.feld-dunkel { min-height: 100vh; min-height: 100dvh; padding: 25vh 0 0; background: transparent; display: flex; align-items: stretch; }
  .auftakt.feld-dunkel .breite {
    flex: 1; max-width: none; display: flex; flex-direction: column; justify-content: center;
    padding: 3rem clamp(2rem, 6.4vw, 5.75rem) 4rem clamp(2.5rem, 7vw, 6.25rem); background: var(--braun-dunkel);
  }
  .auftakt.feld-dunkel { padding-left: 0; }
  .auftakt h1 { font-size: clamp(2.6rem, 4.2vw, 3.75rem); line-height: 1.4; max-width: 33rem; margin: 0; }
  .auftakt .unterzeile { max-width: 33rem; margin: 1.6rem 0 0; font-size: 1.375rem; }
  .auftakt { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; }
  .fehler { min-height: 100vh; }
}

/* Niedrige Bildschirme: Navigation enger. */
@media (min-width: 64em) and (max-height: 44em) {
  .nav[popover] { padding-top: 6rem; padding-bottom: 1.5rem; }
  .nav li a { margin: 0.1rem 0; }
}

@media (min-width: 90em) {
  .breite { max-width: 54rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  *:not(.loewe), *::before, *::after { animation: none !important; }
}

@media print {
  .spalte, .menu-knopf, .person-detail, .skip { display: none !important; }
  body, .feld, .kontakt, .fuss { background: #FFFFFF !important; color: #000000; }
}
