/* IBPOOL – Überarbeitung der Vorschau (7.–9. Oktober 2026).
   Ergänzt styles.css auf allen 17 Seiten: je fünf Seiten in DE, EN und TR (inklusive Beitragsseiten
   spree-bosporus*.html) sowie impressum.html und datenschutz.html. */

/* Vorschauhinweis knapper, Abstände mobil deutlich kompakter */
.preview-note { font-size: 0.75rem; }
.preview-note p { padding-block: 0.3rem; }

.section { padding-block: clamp(3.25rem, 7vw, 6.5rem); }
.section-head { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 3rem); }
.actions { margin-top: 1.5rem; }
.checklist { margin: 1.25rem 0; }

/* Navigation: Leistungen mit Untermenü (Fulfillment, Beratung) */
.nav-caret {
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.45em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.22em) rotate(45deg);
}

@media (min-width: 72em) {
  .site-nav .has-sub { position: relative; }

  .site-nav .sub-nav {
    position: absolute;
    top: 100%;
    left: -0.75rem;
    z-index: 60;
    display: grid;
    gap: 0;
    min-width: 17rem;
    padding: 0.5rem;
    border: 1px solid var(--line-dark);
    border-radius: 0.9rem;
    background: var(--ink);
    box-shadow: 0 1.25rem 2.5rem -1.25rem rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.25rem);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  }

  .site-nav .has-sub:hover > .sub-nav,
  .site-nav .has-sub:focus-within > .sub-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }

  .site-nav .sub-nav a {
    display: block;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    white-space: nowrap;
  }

  .site-nav .sub-nav a::after { display: none; }

  .site-nav .sub-nav a:hover,
  .site-nav .sub-nav a[aria-current="page"],
  .site-nav .sub-nav a.is-active { background: rgba(255, 255, 255, 0.1); }
}

@media (max-width: 71.99em) {
  .nav-caret { display: none; }
  .no-js .site-nav .sub-nav { display: none; }

  .js .site-nav .sub-nav {
    display: block;
    margin: 0;
    padding: 0 0 0 1rem;
  }

  .js .site-nav .sub-nav a:not(.nav-cta) {
    padding: 0.7rem 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.82);
  }

  .js .site-nav .sub-nav a[aria-current="page"] { color: var(--gold); }
}

/* Kopfbereich: originales IBPOOL-Logo (assets/ibpool-logo-original.png, 2559 × 1002, transparent)
   per Filter weiß auf dem dunklen bzw. transparenten Kopf – ohne Kasten, Bilddatei unverändert.
   Fußzeile und Logo-Karte: eigene Blöcke weiter unten. */
.site-header .brand-mark {
  display: flex;
  flex-direction: row; /* nicht als Spalte wie beim früheren Text-Schriftzug */
  align-items: center;
  flex-shrink: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  line-height: 0;
}

/* Feste Breite, Höhe nur aus dem Seitenverhältnis: verhindert, dass das height-Attribut
   (1002) neben einer per max-width verkleinerten Breite stehen bleibt und das Logo verzerrt */
.site-header .brand-mark img {
  flex: none;
  width: 8.75rem; /* 140 px */
  min-width: 0;
  max-width: none;
  height: auto;
  max-height: none;
  aspect-ratio: 2559 / 1002;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Mobil: Logo, DE/EN/TR und Menü in einer Zeile ohne Überlauf (ab 375 px Breite) */
@media (max-width: 39.99em) {
  .site-header .header-inner { gap: 0.5rem; }
  .site-header .lang-switch a { min-width: 1.875rem; }
  .js .site-header .menu-toggle { gap: 0.45rem; padding: 0 0.65rem; }
  .js .site-header .menu-toggle .menu-label { font-size: 0.8125rem; }
}

@media (max-width: 23.4375em) {
  .site-header .brand-mark img { width: 7rem; }
}

@media (min-width: 40em) {
  :root { --header-h: 5.5rem; }
  .site-header .brand-mark img { width: 11.25rem; } /* 180 px */
}

@media (min-width: 72em) {
  .site-header .site-nav > ul { column-gap: 1.25rem; }
}

@media (min-width: 90em) {
  :root { --header-h: 6rem; }
  .site-header .brand-mark img { width: 12.5rem; } /* 200 px */
  .site-header .site-nav > ul { column-gap: 1.5rem; }
}

/* Startseite: Einstieg kürzer, mobil ohne Vollhöhe */
.hero {
  min-height: max(32rem, min(88vh, 50rem));
  min-height: max(32rem, min(88svh, 50rem));
}

.hero-content {
  padding-top: calc(var(--header-h) + 4.5rem);
  padding-bottom: clamp(3rem, 8vh, 6rem);
}

.hero-text { max-width: 38rem; }

@media (max-width: 55.99em) {
  .hero { min-height: 0; }
  .hero-content { padding-top: calc(var(--header-h) + 3.5rem); }
}

/* Startseiten: vier Geschäftsbereiche direkt unter dem Einstieg; Fulfillment führt auf die eigene Seite */
@media (min-width: 56em) {
  .focus-band--areas ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.focus-band--areas a[href$=".html"]:hover span[aria-hidden] { transform: translateX(3px); } /* Pfeil → statt ↓ */

/* Sprungleisten (Startseiten, Leistungen, Über uns) mobil zweispaltig und niedriger
   statt einer langen einspaltigen Linkliste */
@media (max-width: 55.99em) {
  .focus-band ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.25rem; }
  .focus-band a { min-height: 3.5rem; padding: 0.75rem 0; font-size: 0.875rem; line-height: 1.3; }
}

/* Kurze Unternehmensvorstellung mit Leitgedanke */
.intro-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 56em) {
  .intro-grid { grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 25rem); }
}

.intro-grid .lead { color: var(--text); }
.intro-grid p:not(.lead):not(.eyebrow) { color: var(--muted); }

.person-card {
  --focus: var(--gold);
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  grid-template-areas:
    "quote quote"
    "img name";
  gap: 1.25rem 1rem;
  align-items: center;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
}

.person-card__img {
  grid-area: img;
  width: 4.5rem;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
}

.person-card__quote { grid-area: quote; }
.person-card__quote .eyebrow { margin-bottom: 0.5rem; color: var(--gold); }

.person-card blockquote {
  margin: 0;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.person-card__name { grid-area: name; font-size: 0.9375rem; line-height: 1.4; }
.person-card__name strong { display: block; font-weight: 600; }
.person-card__name span { color: rgba(255, 255, 255, 0.75); font-size: 0.875rem; }

/* Vier Geschäftseinstiege mit Zuordnung der sechs Leistungsbereiche */
.entry-grid {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40em) { .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72em) { .entry-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.entry {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
}

.entry h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.entry p { color: var(--muted); font-size: 0.9375rem; }

.entry__badge {
  align-self: flex-start;
  margin-bottom: 0.9rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
}

.entry__map-label {
  margin: 1rem 0 0.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem !important;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.entry__map {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

.entry__map a { text-decoration: none; }
.entry__map a:hover { text-decoration: underline; }
.entry__map span { color: var(--gold-dark); font-weight: 600; margin-right: 0.35rem; }

.entry > .text-link {
  margin-top: auto;
  padding-top: 1.25rem;
  font-size: 0.9375rem;
}

.entry--core { background: var(--ink); color: var(--white); box-shadow: none; }
.entry--core p { color: rgba(255, 255, 255, 0.8); }
.entry--core .entry__map-label { border-top-color: var(--line-dark); color: rgba(255, 255, 255, 0.7); }
.entry--core .entry__map span { color: var(--gold); }

/* Fotos in natürlichem Seitenverhältnis (width/height im HTML), ohne Beschnitt */
.photo { width: 100%; margin: 0; }

.photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  background: var(--sand);
}

.photo figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.on-dark .photo figcaption { color: rgba(255, 255, 255, 0.72); }

.photo--sm { max-width: 26rem; }
.photo--md { max-width: 34rem; }
.photo--lg { max-width: 40rem; }

.split > .photo { justify-self: center; }

@media (min-width: 56em) {
  .split--media-first > .photo { order: -1; }
}

/* Marken & Plattformen: TrendyPrime als eigener Verkaufskanal */
.sub-block + .sub-block { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.sub-block h3 { margin-bottom: 0.5rem; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; }
.sub-block p { color: var(--muted); }

.tp-panel {
  display: grid;
  gap: 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: calc(var(--radius) + 0.25rem);
  background: var(--ink);
}

@media (min-width: 56em) {
  .tp-panel { grid-template-columns: minmax(0, 1fr) minmax(12rem, 16rem); align-items: center; gap: 3rem; }
}

.tp-panel .tp-logo { margin-bottom: 1.25rem; }

.tp-panel h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.tp-panel > div > p:not(.eyebrow):not(.note) { max-width: 40rem; color: rgba(255, 255, 255, 0.86); }
.tp-panel .pill-list { margin-top: 1.25rem; }
.tp-panel .note { margin-top: 1.25rem; }
.tp-panel .product-frame { max-width: 16rem; justify-self: center; }

/* TrendyPrime-Sortimentsfoto (assets/trendyprime-face-republic-sun.png, 1053 × 1702, Hochformat):
   vollständig sichtbar ohne Beschnitt; Breite aus der Höchsthöhe abgeleitet (Desktop 460 px,
   mobil 400 px), damit Bild und Bildunterschrift ohne leere Fläche bündig stehen */
.tp-photo {
  --tp-photo-h: 400px;
  width: min(100%, calc(var(--tp-photo-h) * 1053 / 1702));
  margin: 0;
  justify-self: center;
}

@media (min-width: 56em) {
  .tp-panel--photo { grid-template-columns: minmax(0, 1fr) calc(460px * 1053 / 1702); }
  .tp-photo { --tp-photo-h: 460px; }
}

.tp-photo img {
  width: 100%;
  height: auto;
  max-height: var(--tp-photo-h);
  aspect-ratio: 1053 / 1702;
  border-radius: var(--radius);
  background: var(--navy);
  object-fit: contain;
}

.tp-photo figcaption {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  line-height: 1.45;
}

/* Unterseiten: Seitenkopf mit Bild */
.page-head--split { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

.page-head--split .wrap {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

@media (min-width: 56em) {
  .page-head--split .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 30rem); align-items: center; }
}

.page-head--split h1 { font-size: clamp(2.25rem, 1.3rem + 3.4vw, 4rem); }

/* Leistungsseite: Zuordnung im Detail, natürliche Fotos */
.area-tag {
  display: inline-block;
  margin: 0.25rem 0 0;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: var(--sand);
  font-size: 0.75rem;
  font-weight: 600;
}

.section--white .area-tag { background: var(--sand); }
.section:not(.section--white) .area-tag { background: var(--white); box-shadow: 0 0 0 1px var(--line); }

.detail-img--natural {
  width: min(100%, 24rem);
  height: auto;
  aspect-ratio: auto;
}

@media (max-width: 55.99em) {
  .detail-img { width: min(100%, 16rem); margin-top: 1rem; }
  .detail-img--natural { width: min(100%, 20rem); }
}

/* Leistungsbild mit kurzer Kennzeichnung als Symbolbild */
.detail-figure { margin: 0; }
.detail-figure figcaption { margin-top: 0.5rem; color: var(--muted); font-size: 0.75rem; line-height: 1.4; }

/* Seitenkopf mit Foto: Bildnachweis auf dunklem Grund lesbar */
.page-head--split .photo figcaption { color: rgba(255, 255, 255, 0.72); }

/* Über uns: originales IBPOOL-Logo ohne Kasten – farbig auf hellem Grund, weiß auf dunklem; Porträt */
.logo-card {
  width: fit-content;
  max-width: 100%;
  margin: 0 0 1.5rem;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.logo-card img {
  width: min(100%, 14rem);
  height: auto;
  aspect-ratio: 2559 / 1002;
  object-fit: contain;
}

.on-dark .logo-card img { filter: brightness(0) invert(1); }
.logo-card + .facts { margin-top: 0; }

.portrait {
  width: min(100%, 22rem);
  margin: 0;
  justify-self: center;
}

.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--navy);
}

.quote--lead blockquote { font-size: clamp(1.625rem, 1.2rem + 1.4vw, 2.25rem); }

.values {
  display: grid;
  gap: 0.75rem 2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 40em) { .values { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.values li { padding-top: 1rem; border-top: 1px solid var(--line); }
.values h4 { margin: 0 0 0.35rem; font-size: 1.0625rem; font-weight: 600; }
.values p { color: var(--muted); font-size: 0.9375rem; }

/* Fulfillment: Zielgruppen kompakt, Warenkette mit Piktogrammen */
.mini-grid {
  display: grid;
  gap: 1rem 2rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 30em) { .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.mini-grid li { padding-top: 0.85rem; border-top: 1px solid var(--line); font-size: 0.9375rem; color: var(--muted); }
.mini-grid strong { display: block; margin-bottom: 0.2rem; color: var(--text); }

.flow-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: 0.2rem 1rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.flow-list .pictogram,
.flow-list .step-num { grid-row: span 2; }
.flow-list h3 { margin: 0.2rem 0 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; }
.flow-list h3 .flow__num { display: inline; margin-right: 0.4rem; }
.flow-list p { margin: 0; color: var(--muted); font-size: 0.9375rem; }

.process-media { display: grid; gap: 1.5rem; align-content: start; }

.process-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }

@media (min-width: 56em) {
  .process-grid { grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 26rem); align-items: start; }
}

/* Beiträge: ein fertiger Beitrag */
.post-feature {
  display: grid;
  gap: 1rem 3rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
}

@media (min-width: 56em) {
  .post-feature { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}

.post-feature h3 { margin-bottom: 0.4rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 500; }
.post-feature p { color: var(--muted); }

/* Beitragsseiten: schlichte Lesespalte */
.article-body { max-width: 46rem; }
.article-body > p:not(.article-meta):not(.lead) { font-size: 1.125rem; line-height: 1.7; }
.article-body .lead { color: var(--text); }
.article-body .actions { margin-top: 2.5rem; }

.article-meta {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.article-meta strong { color: var(--text); font-weight: 600; }

/* Vollständiger Beitrag: Zwischenüberschriften lesespaltengerecht statt .section h2 (bis 3rem),
   lange Originalüberschrift im Seitenkopf kleiner und sauber umbrechend */
.article-body h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.page-head--split .article-title {
  font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3.25rem);
  line-height: 1.12;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Kontakt mit Formularvorschau */
.contact { padding-block: clamp(3.5rem, 8vw, 7rem); }
.contact-grid--form { align-items: start; }

@media (min-width: 56em) {
  .contact-grid--form { grid-template-columns: minmax(0, 1fr) minmax(20rem, 32rem); }
}

.contact-copy .display-title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.5rem); }
.contact-copy .steps { margin-top: 2rem; gap: 1rem 1.5rem; }
.contact-copy .steps p { font-size: 0.875rem; }
.contact-copy .contact-alt { margin-top: 1rem; }

/* Kontaktdaten (Selbstauskunft laut ibpool.com/Impressum; keine Lageradresse) */
.contact-address {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9375rem;
  font-style: normal;
  line-height: 1.6;
}

.contact-address a { color: var(--white); }

/* Berlin-Foto im Kontaktbereich: bewusst klein */
.contact-photo { max-width: 20rem; margin-top: 1.5rem; }
.contact-photo img { aspect-ratio: 3 / 2; object-fit: cover; }

.form-card {
  --focus: #1d5fa6;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
}

.form-title { margin-bottom: 0.75rem; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; }

.form-note {
  padding: 0.6rem 0.8rem;
  border-radius: 0.6rem;
  background: var(--sand);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.field { display: grid; gap: 0.35rem; margin-top: 1rem; }
.field label { font-size: 0.875rem; font-weight: 600; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.875rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(21, 33, 45, 0.4);
  border-radius: 0.6rem;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}

.field textarea { min-height: 7rem; resize: vertical; }
.field-hint { margin: 0; color: var(--muted); font-size: 0.8125rem; }

.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 30em) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.form-card .btn-primary { margin-top: 1.25rem; background: var(--ink); color: var(--white); cursor: pointer; font-family: inherit; }
.form-card .btn-primary:hover { background: var(--navy-2); }

.btn-tag {
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--gold-dark);
  background: var(--sand);
  font-size: 0.9375rem;
}

.form-status:empty { display: none; }
.form-alt { margin-top: 1rem; color: var(--muted); font-size: 0.875rem; }

/* Fußbereich: Anschrift und Bildnachweis */
.footer-address { margin: 0; font-style: normal; line-height: 1.5; }
.footer-credits { flex-basis: 100%; }

/* Fußzeile: originales IBPOOL-Logo, per Filter weiß auf dunklem Grund, ohne Kasten.
   Höhe nur aus dem Seitenverhältnis, damit das height-Attribut (1002) nichts verzerrt. */
.site-footer .brand-mark {
  display: inline-flex;
  flex-direction: row;
  margin: 0 0 1rem;
  padding: 0;
  border-radius: 0;
  background: none;
  line-height: 0;
}

.site-footer .brand-mark img {
  flex: none;
  width: 10rem; /* 160 px */
  max-width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 2559 / 1002;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (min-width: 40em) {
  .site-footer .brand-mark img { width: 11.25rem; } /* 180 px */
}

/* Fußzeile unter 64em: Logo-Block über die volle Breite, darunter die Spalten paarweise.
   Unter 40em stehen nur „Rechtliches“ und „Sprache“ nebeneinander (kurze Listen);
   Seiten und Kontakt (E-Mail-Adresse) behalten die volle Breite. */
@media (max-width: 63.99em) {
  .footer-grid--5 > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 39.99em) {
  .footer-grid--5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.25rem;
    padding-block: 3rem 2rem;
  }

  .footer-grid--5 > :nth-child(-n+3) { grid-column: 1 / -1; }
}

/* Dezente Bewegung: nur ohne Wunsch nach reduzierter Bewegung, ohne JavaScript
   (scrollgebunden, wo der Browser es unterstützt; sonst sofort sichtbar) */
@media (prefers-reduced-motion: no-preference) {
  .entry,
  .tp-panel,
  .post-feature { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }

  .entry:hover,
  .post-feature:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--line), 0 1rem 2rem -1.25rem rgba(6, 13, 22, 0.35); }
  .entry--core:hover { box-shadow: 0 1rem 2rem -1.25rem rgba(6, 13, 22, 0.6); }

  .btn span[aria-hidden="true"] { display: inline-block; transition: transform 0.2s ease; }
  .btn:hover span[aria-hidden="true"] { transform: translateX(3px); }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(1.25rem); }
  to { opacity: 1; transform: none; }
}

@media (forced-colors: active) {
  .entry,
  .form-card,
  .person-card,
  .tp-panel,
  .post-feature { border: 1px solid CanvasText; }
}

/* Lokale rechtliche Arbeitsfassungen */
.legal-content { max-width: 52rem; padding-top: 2.5rem; padding-bottom: 4rem; }
.legal-content section { margin-top: 2.5rem; }
.legal-content h2 { font-size: clamp(1.25rem, 2vw, 1.65rem); margin-bottom: 1rem; }
.legal-content p { margin-bottom: 1rem; line-height: 1.75; overflow-wrap: anywhere; }
.legal-content a { text-decoration: underline; text-underline-offset: .2em; }
.legal-note { padding: 1.25rem; border-left: 3px solid var(--gold); background: #f1eee6; line-height: 1.65; }
.legal-note strong { display: block; margin-bottom: .35rem; }
.legal-crosslinks { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 3rem; }
