/* ═══════════════════════════════════════════════════════════════════════════
   ullrichstein.de – Designsystem
   Dunkel, Weinrot, elegant. Serifen-Display, ruhige Flächen, feine Linien.
   Keine externen Fonts, keine Frameworks.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  /* Farben */
  --bg: #0e0a0c;
  --bg-raised: #16100f;
  --bg-card: #1a1214;
  --border: #2b2023;
  --border-strong: #3d2b30;
  --wine: #722f37;
  --wine-bright: #a2434e;
  --wine-deep: #451d22;
  --gold: #b3924f;
  --gold-soft: #8a7350;
  --text: #ece5dc;
  --text-muted: #a69a90;
  --text-faint: #6f645c;
  --live: #ff3d4e;

  /* Typografie */
  --font-display: Georgia, 'Times New Roman', 'Liberation Serif', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;

  /* Layout */
  --container: 68rem;
  --radius: 4px;
}

/* ─── Reset & Grundlagen ─────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--text); text-decoration-color: var(--wine-bright); text-underline-offset: 3px; }
a:hover { color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--wine); color: #fff; }

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100;
  background: var(--wine);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { top: 0; }

/* ─── Typografie ─────────────────────────────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: #f5efe7;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  margin-bottom: 0.75rem;
}

.section-head { margin-bottom: 1.6rem; max-width: 46rem; }
.section-head p { color: var(--text-muted); }

.prose { max-width: 46rem; }
.prose p { margin-bottom: 1.1rem; color: var(--text-muted); }
.prose h2, .prose h3 { margin: 2.2rem 0 0.9rem; }
.prose h2 { font-size: 1.55rem; }
.prose h3 { font-size: 1.25rem; }
.prose ul { margin: 0 0 1.1rem 1.2rem; color: var(--text-muted); }
.prose li { margin-bottom: 0.35rem; }
.prose a { color: var(--text); }
.prose strong { color: var(--text); }

/* Feine Zierlinie unter Abschnittstiteln */
.rule {
  width: 4.5rem;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.1rem 0 0;
}
.rule--center { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ─── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 10, 12, 0.96);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}
.brand__logo { width: 40px; height: 40px; object-fit: contain; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}
.brand__name em { font-style: italic; color: var(--wine-bright); padding: 0 0.06em; }

.site-header__side { display: flex; align-items: center; gap: 1rem; }

/* Live-Badge im Header */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--live);
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  text-decoration: none;
}
.live-badge:hover { background: #ff5563; color: #fff; }
.live-badge__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

/* ─── Navigation ─────────────────────────────────────────────────────────── */

.site-nav__list {
  list-style: none;
  display: flex;
  gap: 1.6rem;
}
.site-nav__list a {
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid transparent;
}
.site-nav__list a:hover { color: var(--text); }
.site-nav__list a[aria-current="page"] { color: var(--text); border-bottom-color: var(--gold); }

.site-nav__toggle > summary {
  display: none;
  list-style: none;
  cursor: pointer;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.site-nav__toggle > summary::-webkit-details-marker { display: none; }
.site-nav__toggle > summary span {
  display: block;
  width: 1.1rem; height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 800px) {
  .site-nav__toggle > summary { display: flex; }
  .site-nav__toggle[open] > summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-nav__toggle[open] > summary span:nth-child(2) { opacity: 0; }
  .site-nav__toggle[open] > summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav__list {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-raised);
    border-bottom: 1px solid var(--border-strong);
    padding: 0.5rem 0;
  }
  .site-nav__list a {
    display: block;
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
    border-bottom: 0;
  }
  .site-nav__list a[aria-current="page"] { color: var(--gold); }
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: clamp(2.4rem, 5.5vw, 4rem) 0 clamp(2.2rem, 5vw, 3.25rem);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% 115%, rgba(114, 47, 55, 0.32), transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% -10%, rgba(179, 146, 79, 0.06), transparent);
  pointer-events: none;
}
.hero > .container { position: relative; }

.hero__logo {
  width: clamp(110px, 16vw, 150px);
  height: auto;
  margin: 0 auto 1.1rem;
  filter: drop-shadow(0 10px 30px rgba(114, 47, 55, 0.45));
}

.hero__title {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero__title em { font-style: italic; text-transform: none; color: var(--wine-bright); font-size: 0.62em; vertical-align: 0.08em; padding: 0 0.1em; }

.hero__claim {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: var(--text-muted);
  max-width: 34rem;
  margin: 1.2rem auto 0;
  line-height: 1.7;
  quotes: '„' '“';
}
.hero__claim::before { content: open-quote; color: var(--gold); }
.hero__claim::after { content: close-quote; color: var(--gold); }

.hero__description {
  color: var(--text-muted);
  max-width: 36rem;
  margin: 1rem auto 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  justify-content: center;
  margin-top: 1.6rem;
}

.hero .social-row { justify-content: center; margin-top: 1.5rem; }

/* ─── Buttons ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.78rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn--primary { background: var(--wine); color: #fff; border-color: var(--wine-bright); }
.btn--primary:hover { background: var(--wine-bright); color: #fff; }
.btn--outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--outline:hover { border-color: var(--gold); color: #fff; }
.btn--live { background: var(--live); color: #fff; font-weight: 700; }
.btn--live:hover { background: #ff5563; color: #fff; }

/* ─── Live-Sektion ───────────────────────────────────────────────────────── */

.live-section { padding: 0 0 2.25rem; }

.live-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0;
  background: linear-gradient(135deg, #1d1114, #14090b);
  border: 1px solid var(--wine);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(114, 47, 55, 0.25);
}
.live-card__media { position: relative; min-height: 220px; background: var(--wine-deep); }
.live-card__media img { width: 100%; height: 100%; object-fit: cover; }
.live-card__media--empty {
  display: grid;
  place-items: center;
  color: var(--wine-bright);
}
.live-card__body {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  align-items: flex-start;
}
.live-card__flag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--live);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  padding: 0.35rem 0.85rem;
  border-radius: 3px;
}
.live-card__flag .live-badge__dot { background: #fff; }
.live-card__title { font-size: clamp(1.25rem, 2.6vw, 1.7rem); }
.live-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  list-style: none;
}
.live-card__meta strong { color: var(--text); font-weight: 600; }

@media (max-width: 760px) {
  .live-card { grid-template-columns: 1fr; }
  .live-card__media { min-height: 180px; }
}

/* ─── Sektionen ──────────────────────────────────────────────────────────── */

.section { padding: clamp(2.2rem, 5vw, 3.25rem) 0; }
.section--raised { background: var(--bg-raised); border-block: 1px solid var(--border); }
.section--base { background: var(--bg); }

.section-foot { margin-top: 1.6rem; }

/* ─── Stacking-Sektionen (Startseite) ────────────────────────────────────────
   Beim Scrollen schieben sich die Panels wie Karten übereinander.
   Rein CSS (position: sticky) – kein Scroll-Jacking, natives Scrollverhalten.
   Nur auf großen Viewports und ohne reduced-motion aktiv; sonst normaler
   Dokumentfluss. */

@media (min-width: 800px) and (min-height: 800px) and (prefers-reduced-motion: no-preference) {
  .stack__panel {
    position: sticky;
    top: 4.25rem; /* Höhe des Site-Headers */
    border-top: 1px solid var(--border-strong);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -22px 48px rgba(0, 0, 0, 0.5);
  }
  /* Sticky-Panels brauchen opake Hintergründe. */
  .stack__panel.cta-band { background: var(--bg-raised); }
}

/* ─── Karten (Projekte) ──────────────────────────────────────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--wine-bright); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }

.card__media { aspect-ratio: 16 / 9; background: var(--wine-deep); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--empty { display: grid; place-items: center; color: var(--wine-bright); }
.card__body { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card__title { font-size: 1.25rem; }
.card__tagline { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.card__text { color: var(--text-muted); font-size: 0.95rem; flex: 1; }
.card__link {
  margin-top: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-soft);
  align-self: flex-start;
  padding-bottom: 2px;
}
.card__link:hover { border-bottom-color: var(--gold); }

/* ─── Kooperations-Panels ────────────────────────────────────────────────── */

.coop-list { display: grid; gap: 1.1rem; }

.coop {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--wine);
  border-radius: 6px;
  padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.1rem, 3vw, 1.8rem);
  transition: border-color 0.2s ease;
}
.coop:hover { border-color: var(--border-strong); border-left-color: var(--wine-bright); }

.coop__logo {
  width: 74px; height: 74px;
  border-radius: 6px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
}
.coop__logo img { width: 100%; height: 100%; object-fit: contain; padding: 0.5rem; }
.coop__logo--letter {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold);
}

.coop__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem 0.9rem; margin-bottom: 0.35rem; }
.coop__name { font-size: 1.35rem; }
.coop__ad-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  padding: 0.14rem 0.5rem;
}
.coop__text { color: var(--text-muted); font-size: 0.96rem; max-width: 44rem; }

.coop__aside {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.7rem;
  min-width: 12rem;
}

.discount {
  border: 1px dashed var(--gold-soft);
  border-radius: var(--radius);
  padding: 0.55rem 0.9rem;
  text-align: center;
  background: rgba(179, 146, 79, 0.05);
}
.discount__label { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.15rem; }
.discount__code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 1.15rem; font-weight: 700; color: var(--gold); letter-spacing: 0.12em; }

@media (max-width: 760px) {
  .coop { grid-template-columns: auto minmax(0, 1fr); }
  .coop__aside { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .coop__aside .btn { flex: 1; justify-content: center; }
}

/* ─── Content-Plattformen ────────────────────────────────────────────────── */

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 1.2rem;
}
.platform {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.2rem 1.4rem;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.platform:hover { border-color: var(--wine-bright); }
.platform .icon { width: 26px; height: 26px; color: var(--gold); flex-shrink: 0; }
.platform__label { font-weight: 600; }
.platform__hint { display: block; font-size: 0.82rem; color: var(--text-faint); font-weight: 400; }

/* Click-to-Load Twitch-Embed */
.embed-consent {
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--bg-card);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
}
.embed-consent__inner { max-width: 26rem; display: grid; gap: 0.9rem; justify-items: center; }
.embed-consent__note { font-size: 0.85rem; color: var(--text-faint); }
.embed-frame { aspect-ratio: 16 / 9; border: 1px solid var(--border-strong); border-radius: 6px; overflow: hidden; }
.embed-frame iframe { width: 100%; height: 100%; border: 0; }

/* ─── Social-Icons ───────────────────────────────────────────────────────── */

.social-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.social-row a {
  display: grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-muted);
  transition: border-color 0.18s ease, color 0.18s ease;
}
.social-row a:hover { border-color: var(--gold); color: var(--gold); }

/* ─── Zitat-Band (Über Michael) ──────────────────────────────────────────── */

.quote-band {
  border-block: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 100% at 50% 120%, rgba(114, 47, 55, 0.18), transparent),
    var(--bg-raised);
  text-align: center;
  padding: clamp(2rem, 4.5vw, 3rem) 0;
}
.quote-band blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  line-height: 1.8;
  color: var(--text);
  max-width: 38rem;
  margin-inline: auto;
}
.quote-band blockquote::before { content: '„'; color: var(--gold); }
.quote-band blockquote::after { content: '“'; color: var(--gold); }

/* ─── Formulare ──────────────────────────────────────────────────────────── */

.form-grid { display: grid; gap: 1.2rem; max-width: 44rem; }
.form-grid--2col { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-grid--2col { grid-template-columns: 1fr; } }

.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em; }
.field .optional { color: var(--text-faint); font-weight: 400; }

.field input,
.field select,
.field textarea {
  background: var(--bg-raised);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  padding: 0.7rem 0.9rem;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--wine-bright);
  outline-offset: 0;
  border-color: var(--wine-bright);
}
.field textarea { min-height: 10rem; resize: vertical; }

.field--error input,
.field--error select,
.field--error textarea { border-color: var(--live); }
.field__error { color: #ff8a94; font-size: 0.85rem; }

/* Honeypot: für Menschen unsichtbar, für Screenreader als "nicht ausfüllen"
   gekennzeichnet und aus der Tab-Reihenfolge genommen. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.notice {
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--gold);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin-bottom: 1.6rem;
}
.notice--success { border-left-color: #4c9f70; }
.notice--error { border-left-color: var(--live); }
.notice p { color: var(--text-muted); }
.notice p:first-child { color: var(--text); }

/* ─── CTA-Band ───────────────────────────────────────────────────────────── */

.cta-band {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-raised), var(--bg));
  border-top: 1px solid var(--border);
  padding: clamp(2.25rem, 5vw, 3.25rem) 0;
}
.cta-band .section-title { margin-bottom: 0.6rem; }
.cta-band p { color: var(--text-muted); max-width: 34rem; margin: 0 auto 1.4rem; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-raised);
  padding: 1.8rem 0 1.5rem;
  margin-top: auto;
  position: relative; /* über klebenden Stack-Panels malen */
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid var(--border);
}
.site-footer__brand { font-family: var(--font-display); font-size: 1.2rem; }
.site-footer__brand em { color: var(--wine-bright); }
.site-footer__tagline { color: var(--text-faint); font-size: 0.88rem; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding-top: 1.4rem;
  font-size: 0.88rem;
  color: var(--text-faint);
}
.site-footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; }
.site-footer__links a { color: var(--text-muted); text-decoration: none; }
.site-footer__links a:hover { color: var(--text); }

/* ─── Fehlerseiten ───────────────────────────────────────────────────────── */

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  background:
    radial-gradient(ellipse 70% 50% at 50% 115%, rgba(114, 47, 55, 0.25), transparent),
    var(--bg);
}
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 7rem);
  color: var(--wine-bright);
  line-height: 1;
}
.error-page h1 { font-size: clamp(1.4rem, 4vw, 2rem); margin: 0.8rem 0 0.6rem; }
.error-page p { color: var(--text-muted); max-width: 28rem; margin: 0 auto 1.8rem; }

/* ─── Hilfsklassen ───────────────────────────────────────────────────────── */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

[hidden] { display: none !important; }

/* ─── Scroll-Reveal (dezent) ─────────────────────────────────────────────────
   Die .reveal-Klasse wird ausschließlich per JavaScript gesetzt (und nur,
   wenn kein reduced-motion aktiv ist) – ohne JS bleibt alles sofort sichtbar. */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
