/* =====================================================================
 * site.css – peter adler et collegae IT-Beratung GmbH
 * Vollständig lokal. Keine externen Schriften, CDNs oder Frameworks.
 * Ersetzt: cdn.tailwindcss.com, cdnjs.cloudflare.com (Font Awesome)
 * ===================================================================== */

/* ---------- Tokens (aus dem bestehenden Erscheinungsbild) ---------- */
:root {
  --brand:        #3b6b8b;
  --brand-dark:   #2a4d66;
  --brand-darker: #1f3a4d;
  --brand-pale:   #dcebf5;
  --accent:       #4a90e2;

  --bg-900: #1a1a1a;
  --bg-800: #222222;
  --bg-700: #2a2a2a;
  --line:   #3a3a3a;

  --fg:        #e9edf1;
  --fg-muted:  #a9b2bb;
  --fg-dim:    #7d868f;

  --header-h: 5rem;
  --wrap:     72rem;
  --radius:   4px;

  --font-body:    system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --font-mono:    ui-monospace, "SFMono-Regular", "Consolas", "Liberation Mono", monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Kein blaues Aufblitzen beim Antippen (Android/iOS) */
  -webkit-tap-highlight-color: transparent;
}
/* Manche Android-Browser ignorieren die Vererbung – daher zusätzlich direkt */
a, button, input, textarea, select, label,
[role="link"], [role="button"], [tabindex] {
  -webkit-tap-highlight-color: transparent;
}
/* Verhindert die blaue Markierung beim Doppeltippen auf Bedienelemente */
a, button, .lang-opt, .partner-link, .menu-btn, .nav-desktop__link,
.mobile-menu__link, .btn-back, .protected-mail, .site-footer__nav a {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
body {
  margin: 0;
  background: var(--bg-900);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.15; }
p  { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
img, svg { max-width: 100%; }
img {
  -webkit-user-drag: none;
  user-select: none; -webkit-user-select: none; -moz-user-select: none;
}
a { color: inherit; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.5rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Eigene Druck-Rückmeldung als Ersatz für den entfernten Tap-Highlight */
.nav-desktop__link:active, .site-footer__nav a:active,
.btn-back:active, .protected-mail:active { opacity: 0.6; }
.mobile-menu__link:active { background: var(--brand-darker); }
.partner-link:active { transform: scale(0.97); }
.btn-submit:active { transform: translateY(1px); }
.menu-btn:active .burger span { background: #cfe4f7; }
.captcha__reload:active { color: #fff; }
.lang-opt:active { opacity: 0.75; }

/* ---------- Eigene Icons (ersetzen Font Awesome) ---------- */
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2;
        stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.125em; }
.icon--lg { width: 1.6rem; height: 1.6rem; }

/* =====================================================================
 * Header / Navigation
 * ===================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background-color: var(--brand);
  border-bottom: 1px solid var(--brand-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

/* Wölbung: Licht an der Oberkante, Abdunklung zur Unterkante hin.
   Als Pseudo-Element und auf die Balkenhöhe begrenzt – sonst würde sich
   der Verlauf über das ausgeklappte Mobilmenü mitziehen. */
.site-header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.05) 26%,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.06) 64%,
    rgba(0, 0, 0, 0.16) 84%,
    rgba(0, 0, 0, 0.28) 100%
  );
  /* feine Lichtkante ganz oben – lässt den Balken gewölbt wirken */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  pointer-events: none;
  z-index: 0;
}
.site-header__bar {
  position: relative;   /* über dem Verlauf */
  z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}

/* Wortmarke */
.brandmark { display: flex; flex-direction: column; color: #000; text-decoration: none; line-height: 1.05; }
.brandmark__pulse { width: 180px; height: 25px; margin-bottom: 2px; fill: none; stroke: #000; stroke-width: 2; }
.brandmark__name { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 1rem; }
.brandmark__sub  { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; margin-top: 2px; }
.brandmark__img { height: 4rem; object-fit: contain; }
.brandmark__fallback { display: flex; flex-direction: column; }
.brandmark__img[hidden], .subheader__logo[hidden], .brandmark__fallback[hidden] { display: none; }

.header-actions { display: flex; align-items: center; gap: 0.85rem; }

/* Desktop-Navigation */
.nav-desktop { display: none; align-items: center; gap: 2rem; }
.nav-desktop__link {
  position: relative; padding-top: 2px; text-decoration: none; color: #fff;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  transition: color 0.2s ease;
}
.nav-desktop__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: #a9cdf0; transition: width 0.3s ease;
}
.nav-desktop__link:hover { color: #cfe4f7; }
.nav-desktop__link:hover::after { width: 100%; }

/* =====================================================================
 * Sprach-Umschaltung (Segment-Control)
 * ===================================================================== */
.lang-switch {
  position: relative; display: inline-flex; align-items: center; padding: 3px;
  border-radius: 9999px; background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
  user-select: none;
}
.lang-switch::before {
  content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px;
  width: calc(50% - 3px); border-radius: 9999px; background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transform: translateX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.lang-switch[data-active="en"]::before { transform: translateX(100%); }
.lang-opt {
  position: relative; z-index: 1; min-width: 2.6rem; padding: 0.25rem 0.6rem;
  border: 0; background: none; border-radius: 9999px; cursor: pointer;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75); transition: color 0.3s ease;
}
.lang-opt:hover { color: #fff; }
.lang-opt.is-active { color: var(--brand-dark); }
.lang-switch--block { display: flex; width: 100%; }
.lang-switch--block .lang-opt { flex: 1; padding: 0.55rem; font-size: 0.85rem; }

/* =====================================================================
 * Burger-Menü + Blende
 * ===================================================================== */
.menu-btn {
  display: inline-flex; padding: 0.35rem; border: 0; background: none;
  color: #fff; cursor: pointer; border-radius: var(--radius);
}
.burger { position: relative; display: block; width: 28px; height: 22px; }
.burger span {
  position: absolute; left: 0; display: block; width: 100%; height: 3px;
  background: #fff; border-radius: 3px;
  transition: transform 0.35s ease, opacity 0.25s ease, top 0.35s ease;
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 9px; }
.burger span:nth-child(3) { top: 18px; }
.menu-btn.is-active .burger span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.menu-btn.is-active .burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.is-active .burger span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

#menu-veil {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 40;
  background: rgba(0, 20, 35, 0.65);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
#menu-veil.open { opacity: 1; visibility: visible; }

#mobile-menu {
  position: relative; z-index: 45; background: var(--brand-dark);
  max-height: 0; opacity: 0; overflow: hidden; transform: translateY(-8px);
  transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}
#mobile-menu.open { max-height: 26rem; opacity: 1; transform: translateY(0); }
.mobile-menu__link {
  display: block; padding: 0.85rem 1rem; text-decoration: none; color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s ease;
}
.mobile-menu__link:hover { background: var(--brand-darker); }
#mobile-menu .mobile-menu__link:last-child { border-bottom: 0; }


/* =====================================================================
 * Hero
 * ===================================================================== */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: 100vh; padding-top: var(--header-h); overflow: hidden;
  background-color: #06283d;
}
/* Eigene Grafik statt Stockfoto */
.hero__art { position: absolute; inset: 0; overflow: hidden; }

/* Eigene Grafik – sichtbar, solange kein Foto vorliegt (Fallback) */
.hero__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Originales Hintergrundfoto, lokal ausgeliefert. Wird erst eingeblendet,
   wenn img/hero.jpg tatsächlich vorhanden ist (siehe js/site.js). */
.hero__photo, .hero__tint { display: none; }
.has-hero-photo .hero__svg { display: none; }
.has-hero-photo .hero__photo {
  display: block;
  position: absolute; inset: 0;
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;   /* Parallax wie im Original */
}
.has-hero-photo .hero__tint {
  display: block;
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0, 40, 70, 0.6), rgba(0, 40, 70, 0.8));
}
/* Auf Touchgeräten ist background-attachment: fixed unzuverlässig */
@media (hover: none) {
  .has-hero-photo .hero__photo { background-attachment: scroll; }
}
.hero__art::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(0, 40, 70, 0.55), rgba(0, 40, 70, 0.82));
}
.hero__inner { position: relative; z-index: 1; margin-top: 2.5rem; }

.glass-panel {
  max-width: 42rem; padding: 2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 4px solid #7db4ea;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}
.hero__title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; color: #fff; margin-bottom: 1.25rem; }
.hero__lead  { font-size: 1.05rem; font-weight: 500; color: #dbe4ec; margin-bottom: 0.75rem; }
.hero__text  { color: var(--fg-muted); max-width: 34rem; margin: 0; }

/* =====================================================================
 * Sections
 * ===================================================================== */
.section { padding-block: 6rem; overflow: hidden; }
.section--alt     { background: var(--bg-800); }
.section--partners { background: var(--bg-900); border-block: 1px solid var(--line); padding-block: 5rem; }

.section-title {
  position: relative; display: inline-block;
  font-size: 1.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--accent); margin-bottom: 2rem;
}
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: -0.5rem;
  width: 33%; height: 4px; background: var(--accent);
}
.section-title--center { display: block; text-align: center; margin-bottom: 3rem; }
.section-title--center::after { left: 50%; transform: translateX(-50%); width: 5rem; }

/* Über uns */
.about { display: flex; flex-direction: column; gap: 3rem; align-items: center; }
.about__figure {
  position: relative; width: 100%; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}
.about__svg { display: block; width: 100%; height: 400px; }
.about__photo { display: none; }
.has-about-photo .about__svg { display: none; }
.has-about-photo .about__photo {
  display: block; width: 100%; height: 400px; object-fit: cover;
  opacity: 0.8; transition: opacity 0.7s ease, transform 0.7s ease;
}
.has-about-photo .about__figure:hover .about__photo { opacity: 1; transform: scale(1.05); }
.about__text  { color: var(--fg-muted); }
.about__lead  { font-size: 1.05rem; color: #cfd6dd; }

.pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: 2rem;
  list-style: none;
}
.pillars li { text-align: center; }
.pillars .icon { color: #2f7fd4; margin-bottom: 0.4rem; }
.pillars span {
  display: block; font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--fg-dim);
}

/* Partner – zentriert */
.partners {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2.5rem; list-style: none;
}
.partner-link {
  display: flex; align-items: center; justify-content: center;
  width: 14rem; height: 6rem; padding: 1rem;
  background: #fff; border-radius: var(--radius); cursor: pointer;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}
.partner-link:hover { transform: scale(1.05); }
.partner-link img { max-height: 100%; max-width: 100%; object-fit: contain; pointer-events: none; }

/* =====================================================================
 * Kontakt
 * ===================================================================== */
.contact { display: flex; flex-direction: column; gap: 3rem; }
.contact__intro { color: var(--fg-dim); margin-bottom: 2rem; }

.contact-list { list-style: none; display: grid; gap: 1.25rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item__icon {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: #303030; color: var(--accent);
  transition: background 0.3s ease, color 0.3s ease;
}
.contact-item:hover .contact-item__icon { background: var(--accent); color: #fff; }
.contact-item__title { font-weight: 700; color: #fff; }
.contact-item__value { color: var(--fg-muted); }
.contact-item__value--mono { font-family: var(--font-mono); color: #fff; }

/* Formular */
.form-shell { padding: 1px; background: linear-gradient(135deg, #454545, var(--bg-700)); border-radius: var(--radius); }
.form-card  { background: var(--bg-700); padding: 2rem; box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4); }
.form-card__title {
  font-size: 1.15rem; font-weight: 700; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.5rem;
}
.field { display: grid; gap: 1.25rem; }
.input, .textarea {
  width: 100%; padding: 1rem; border: 0; border-radius: 0;
  background: #ededed; color: #16181a; font: inherit;
  transition: box-shadow 0.25s ease;
}
.textarea { resize: vertical; min-height: 8rem; }
.input:focus, .textarea:focus { outline: 0; box-shadow: 0 0 0 2px var(--accent); }

.form-meta { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1.5rem; }
.consent { display: flex; align-items: flex-start; gap: 0.75rem; max-width: 24rem; }
.consent input { margin-top: 0.25rem; accent-color: var(--accent); }
.consent label { font-size: 0.75rem; line-height: 1.4; color: var(--fg-dim); }
.consent a { color: var(--accent); }

.captcha {
  display: flex; align-items: center; gap: 0.75rem;
  background: #303030; border: 1px solid #4a4a4a; border-radius: var(--radius);
  padding: 0.5rem 0.75rem; align-self: flex-start;
}
.captcha__question { font-family: var(--font-mono); font-size: 0.85rem; color: #cfd6dd; }
.captcha__input {
  width: 4rem; padding: 0.25rem; border: 0; background: #e2e2e2;
  color: #000; text-align: center; font-weight: 700;
}
.captcha__reload { border: 0; background: none; color: var(--fg-dim); cursor: pointer; }
.captcha__reload:hover { color: #fff; }

.btn-submit {
  width: 100%; margin-top: 2rem; padding: 1rem 1.5rem;
  background: #e4f0f0; color: #22262a;
  border: 0; border-bottom: 4px solid var(--brand);
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-submit:hover { background: #fff; border-bottom-color: var(--accent); transform: translateY(-2px); }

.form-feedback { margin-top: 1rem; text-align: center; padding: 0.5rem; border-radius: var(--radius); font-weight: 700; }
.form-feedback[hidden] { display: none; }
.form-feedback--ok  { background: #232a24; color: #67d68a; border: 1px solid #2f7d4a; }
.form-feedback--err { background: #2a2323; color: #ec7f7f; border: 1px solid #8c3b3b; }

/* =====================================================================
 * Footer
 * ===================================================================== */
.site-footer {
  background: var(--brand); border-top: 4px solid var(--brand-dark);
  padding-block: 3rem; font-size: 0.875rem; color: #fff;
}
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.site-footer h2 {
  font-size: 1rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--brand-pale); margin-bottom: 1rem;
}
.site-footer__nav { list-style: none; display: grid; gap: 0.5rem; }
.site-footer__nav a { text-decoration: none; opacity: 0.9; transition: color 0.2s ease; }
.site-footer__nav a:hover { color: #000; opacity: 1; }
.footer-line { opacity: 0.85; margin-bottom: 0.25rem; }

/* =====================================================================
 * Unterseiten (Impressum / Datenschutz)
 * ===================================================================== */
.subpage {
  min-height: 100vh; background-color: #06283d;
  position: relative;
}
.has-hero-photo .subpage__art {
  background-image: linear-gradient(rgba(0, 40, 70, 0.8), rgba(0, 40, 70, 0.9)), url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.subpage__art {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 22% 18%, rgba(74, 144, 226, 0.16), transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(74, 144, 226, 0.10), transparent 42%),
    repeating-linear-gradient(0deg, rgba(74,144,226,0.05) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(74,144,226,0.05) 0 1px, transparent 1px 80px),
    linear-gradient(160deg, #0b3b5a 0%, #06283d 55%, #041c2c 100%);
  background-color: #06283d;
}
.subheader {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 4rem;
  display: flex; align-items: center;
  background-color: var(--brand); border-bottom: 1px solid var(--brand-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
/* Identische Wölbung wie auf der Startseite */
.subheader::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.05) 26%,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.06) 64%,
    rgba(0, 0, 0, 0.16) 84%,
    rgba(0, 0, 0, 0.28) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
  pointer-events: none;
  z-index: 0;
}
.subheader__bar {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
}
.btn-back {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: #fff; text-decoration: none; font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.btn-back .icon { transition: transform 0.25s ease; }
.btn-back:hover .icon { transform: translateX(-3px); }
.subheader__logo { display: none; height: 2rem; opacity: 0.8; }

.legal { max-width: 48rem; margin-inline: auto; padding-block: 8rem 5rem; }
.legal__panel {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  color: #c8d0d8;
  animation: fade-in 0.8s ease-out both;
}
.legal h1 {
  font-size: clamp(1.3rem, 6vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  hyphens: auto;
  overflow-wrap: break-word;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 2.5rem;
}
.legal h2 { font-size: 1.2rem; color: #fff; margin-top: 2.5rem; }
.legal h3 { font-size: 1rem; color: var(--brand-pale); margin-top: 1.75rem; }
.legal strong { color: #fff; }
.legal__block { margin-bottom: 2rem; }
.legal__note {
  font-size: 0.8rem; font-style: italic; color: var(--fg-dim);
  border-left: 2px solid #555; padding: 0.25rem 0 0.25rem 1rem;
}
.legal__prose p { color: var(--fg-muted); hyphens: auto; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.25rem 1rem; margin: 0; }
.legal dt { color: #fff; font-weight: 700; }
.legal dd { margin: 0; }
.footer-min {
  background: var(--brand); border-top: 1px solid var(--brand-dark);
  padding-block: 1.5rem; text-align: center;
  font-size: 0.75rem; color: rgba(255, 255, 255, 0.7);
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================================
 * Scroll-Animationen
 * ===================================================================== */
.reveal { opacity: 0; transition: opacity 1s cubic-bezier(0.5, 0, 0, 1), transform 1s cubic-bezier(0.5, 0, 0, 1); will-change: transform, opacity; }
.reveal--left   { transform: translateX(-100px); }
.reveal--right  { transform: translateX(100px); }
.reveal--bottom { transform: translateY(80px); }
.reveal.is-visible { opacity: 1; transform: translate(0, 0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* =====================================================================
 * Kopier- / Spamschutz
 * ===================================================================== */
.no-copy {
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none;
  user-select: none; -webkit-touch-callout: none;
}
.protected-mail { cursor: pointer; transition: color 0.2s ease; }
.protected-mail:hover, .protected-mail:focus-visible { color: var(--accent); }
/* Das "@" existiert ausschließlich hier – nie im HTML-Quelltext */
.protected-mail .at::before { content: "\0040"; }

.honeypot {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); border: 0;
}

/* =====================================================================
 * Responsive
 * ===================================================================== */
@media (min-width: 640px) {
  .partners { flex-direction: row; flex-wrap: wrap; }
  .form-meta { flex-direction: row; align-items: center; justify-content: space-between; }
  .glass-panel { padding: 3rem; }
  .form-card { padding: 2.5rem; }
}

@media (min-width: 768px) {
  .legal__prose p { text-align: justify; }
  .nav-desktop { display: flex; }
  .menu-btn, #menu-veil, #mobile-menu { display: none; }
  .header-actions { margin-left: 0; }
  .about { flex-direction: row; align-items: center; gap: 4rem; }
  .about__figure { width: 41.66%; }
  .about__text   { width: 58.33%; }
  .site-footer__grid { grid-template-columns: repeat(3, 1fr); }
  .subheader__logo { display: block; }
  .legal__panel { padding: 3rem; }
}

@media (min-width: 1024px) {
  .contact { flex-direction: row; gap: 4rem; }
  .contact__aside { width: 33.33%; }
  .contact__form  { width: 66.66%; }
}

/* =====================================================================
 * Reduzierte Bewegung (WCAG 2.3.3 / ISO 9241-112)
 * ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
