/* ==========================================================================
   LAY Congress — Designsystem
   Farben aus dem Original: Petrol #417D7C (Logo), Dunkel #1A3B40, Creme #EDE8DC.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --teal: #417d7c;
  --teal-dark: #1e5c63;
  --teal-deep: #1a3b40;
  --teal-light: #a0c9ce;
  --teal-soft: rgba(65, 125, 124, .10);

  --cream: #ede8dc;
  --cream-warm: #f6f3ec;

  --ink: #14201f;
  --ink-2: #3a4746;
  --muted: #6b7877;
  --muted-2: #9aa4a3;

  --bg: #fffcfc;
  --line: #e2e0d8;
  --line-strong: #c9c6bb;

  --sun: #e8a33d;

  --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-display: "Outfit", var(--ff);

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(26, 59, 64, .05), 0 2px 8px rgba(26, 59, 64, .05);
  --shadow: 0 2px 4px rgba(26, 59, 64, .05), 0 14px 36px rgba(26, 59, 64, .10);
  --shadow-lg: 0 4px 10px rgba(26, 59, 64, .06), 0 28px 64px rgba(26, 59, 64, .16);

  --header-h: 78px;
  --pad: clamp(20px, 5vw, 64px);
  --maxw: 1200px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--teal); color: #fff; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 700;
  text-wrap: balance;
}

.h-xl { font-size: clamp(2.5rem, 6.5vw, 4.6rem); font-weight: 700; letter-spacing: -.035em; }
.h-lg { font-size: clamp(1.9rem, 4.2vw, 3rem); letter-spacing: -.028em; }
.h-md { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.h-sm { font-size: 1.12rem; }

.lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--muted); line-height: 1.72; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--teal); flex: none; }
.eyebrow--center::before { display: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section--cream { background: var(--cream-warm); }
.section--deep { background: var(--teal-deep); color: rgba(255, 255, 255, .8); }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep .eyebrow { color: var(--teal-light); }
.section--deep .eyebrow::before { background: var(--teal-light); }
.section--deep .lead { color: rgba(255, 255, 255, .68); }

.section-head { max-width: 680px; margin-bottom: clamp(32px, 4.5vw, 58px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head .lead { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--ff-display);
  font-size: .98rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  box-shadow: 0 4px 16px rgba(65, 125, 124, .3);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--teal-deep);
  transform: translateY(101%);
  transition: transform .45s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(65, 125, 124, .36); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; }
.btn--ghost::after { background: var(--teal); }
.btn--ghost:hover { color: #fff; border-color: var(--teal); }

.btn--on-dark {
  --btn-bg: rgba(255, 255, 255, .12);
  --btn-fg: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(8px);
  box-shadow: none;
}
.btn--on-dark::after { background: var(--cream); }
.btn--on-dark:hover { color: var(--teal-deep); border-color: var(--cream); }

.btn--cream { --btn-bg: var(--cream); --btn-fg: var(--teal-deep); box-shadow: none; }
.btn--cream::after { background: #fff; }

.btn--sm { padding: 11px 22px; font-size: .9rem; }
.btn--lg { padding: 18px 40px; font-size: 1.06rem; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--teal);
  background-image: linear-gradient(var(--teal), var(--teal));
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .4s var(--ease-out);
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1.5px; }
.link svg { transition: transform .35s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 252, 252, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: height .35s var(--ease), background-color .35s var(--ease),
              border-color .35s var(--ease), transform .45s var(--ease), box-shadow .35s var(--ease);
}
.header.is-scrolled {
  height: 66px;
  border-bottom-color: var(--line);
  background: rgba(255, 252, 252, .94);
  box-shadow: 0 1px 20px rgba(26, 59, 64, .05);
}
.header.is-hidden { transform: translateY(-100%); }

.header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; transition: height .35s var(--ease); }
.header.is-scrolled .brand img { height: 33px; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  position: relative;
  padding: 9px 15px;
  font-size: .94rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .25s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .38s var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--ink); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 12px; }

.progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px; width: 100%;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.burger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .4s var(--ease-out), opacity .2s linear, width .3s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; width: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobiles Menü */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--cream-warm);
  padding: calc(var(--header-h) + 24px) var(--pad) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility .35s;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }

.mobile-nav a.mobile-link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -.025em;
  color: var(--ink);
  opacity: 0;
  transform: translateY(14px);
}
.mobile-nav.is-open a.mobile-link {
  animation: mobileIn .5s var(--ease-out) forwards;
  animation-delay: calc(var(--i) * 60ms + 80ms);
}
.mobile-link__num { font-size: .7rem; font-weight: 600; color: var(--teal); letter-spacing: .1em; }
@keyframes mobileIn { to { opacity: 1; transform: none; } }

.mobile-nav__foot { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.mobile-nav__foot .btn { width: 100%; }
.mobile-nav__meta { font-size: .88rem; color: var(--muted); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(94svh, 880px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: clamp(48px, 7vw, 96px);
  background: var(--teal-deep);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right, rgba(12, 26, 28, .93) 0%, rgba(12, 26, 28, .78) 42%, rgba(12, 26, 28, .42) 100%),
    linear-gradient(to top, rgba(12, 26, 28, .8), transparent 45%);
}

.hero__inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  margin-bottom: 24px;
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 0 rgba(232, 163, 61, .7);
  animation: pulse 2.4s infinite;
  flex: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232, 163, 61, .6); }
  70%  { box-shadow: 0 0 0 10px rgba(232, 163, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(232, 163, 61, 0); }
}

.hero h1 { color: #fff; font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--sun); font-weight: 700; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero__meta-item { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .84); font-size: .96rem; }
.hero__meta-item svg { color: var(--teal-light); flex: none; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Keyvisual als angeschrägte Karte */
.hero__visual { position: relative; }
.hero__visual img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.6deg);
  transition: transform .6s var(--ease-out);
}
.hero__visual:hover img { transform: rotate(0deg) scale(1.02); }
.hero__visual::before {
  content: "";
  position: absolute;
  inset: -14px -14px auto auto;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 163, 61, .35), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}

/* Textbasierte Terminankündigung, bis das neue Congress-Motiv feststeht. */
.hero__notice { margin-top: 20px; color: rgba(255, 255, 255, .8); max-width: 40ch; }
.save-date {
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--r-lg);
  background: var(--cream);
  color: var(--teal-deep);
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: var(--shadow-lg);
}
.save-date__label { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.save-date__days { margin-top: 24px; font-family: var(--ff-display); font-size: clamp(3.6rem, 7vw, 6rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.save-date__month { margin-top: 8px; font-family: var(--ff-display); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.2; }
.save-date__details { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-strong); font-size: .93rem; overflow-wrap: anywhere; }
.save-date__details p + p { margin-top: 16px; }
.save-date--outline { background: transparent; color: var(--cream); box-shadow: none; }
.save-date--outline .save-date__details { border-color: rgba(255, 255, 255, .2); }
.hero__grid > *, .ready > * { min-width: 0; }
@media (max-width: 420px) {
  .callbar .btn { padding-inline: 12px; }
}

/* Wortweiser Headline-Reveal */
.reveal-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.reveal-word > span {
  display: inline-block;
  transform: translateY(105%);
  animation: wordUp .85s var(--ease-out) forwards;
  animation-delay: calc(var(--wi) * 55ms + 150ms);
}
@keyframes wordUp { to { transform: none; } }

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 40px;
  background: linear-gradient(rgba(255, 255, 255, .55), transparent);
  animation: scrollHint 2.2s var(--ease) infinite;
}
@keyframes scrollHint {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   Claim-Band
   ========================================================================== */
.claim { background: var(--cream); padding-block: clamp(48px, 6vw, 84px); text-align: center; }
.claim__logo { height: clamp(56px, 8vw, 84px); width: auto; margin: 0 auto 6px; }
.claim__sub {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: -.02em;
}
.claim__text {
  margin-top: 14px;
  font-family: var(--ff-display);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 500;
  color: var(--teal);
}

/* ==========================================================================
   Split-Blöcke (Was ist LAY / Was macht Lay / Location)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.split--reverse .split__media { order: -1; }

.split__media { position: relative; }
.split__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}
.split__media--plain img { box-shadow: none; border-radius: 0; }

.split__body h2 { margin-bottom: 18px; }
.split__body p { color: var(--muted); }
.split__body p + p { margin-top: 14px; }
.split__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 18px;
}

/* Karte Deutschland */
.map-card {
  display: grid;
  place-items: center;
  padding: clamp(20px, 3vw, 36px);
  background: var(--cream);
  border-radius: var(--r-lg);
}
.map-card img { max-height: 340px; width: auto; }

/* ==========================================================================
   Rückblick — Zeitstrahl
   ========================================================================== */
.timeline { position: relative; display: flex; flex-direction: column; gap: clamp(48px, 7vw, 96px); }

/* durchgehende Linie, die beim Scrollen mitwächst */
.timeline__line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  margin-left: -1px;
  background: var(--line);
  overflow: hidden;
}
.timeline__line::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;
  background: linear-gradient(var(--teal), var(--teal-light));
  transform: scaleY(var(--fill, 0));
  transform-origin: top;
}

.tl-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  align-items: center;
  gap: 0;
}
.tl-item__media { grid-column: 1; }
.tl-item__body  { grid-column: 3; }
.tl-item:nth-child(even) .tl-item__media { grid-column: 3; }
.tl-item:nth-child(even) .tl-item__body  { grid-column: 1; }

.tl-item__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  transition: transform .6s var(--ease-out), box-shadow .5s var(--ease);
}
.tl-item__media:hover img { transform: scale(1.02); box-shadow: var(--shadow-lg); }

.tl-item__marker {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--teal);
  z-index: 2;
  transition: transform .5s var(--ease-out), background-color .4s var(--ease);
}
.tl-item.is-in .tl-item__marker { background: var(--teal); transform: scale(1.25); }

.tl-item__year {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.03em;
  margin-bottom: 12px;
}
.tl-item__year span { font-size: .55em; color: var(--teal); font-weight: 600; letter-spacing: 0; }
.tl-item__body p { color: var(--muted); font-size: .97rem; }

.tl-item__quote {
  margin-top: 18px;
  padding: 16px 20px;
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
  border-radius: 0 var(--r) var(--r) 0;
}
.tl-item__quote b { display: block; font-family: var(--ff-display); color: var(--teal-deep); font-size: 1.02rem; line-height: 1.4; }
.tl-item__quote small { display: block; margin-top: 6px; color: var(--muted); font-size: .84rem; }

/* ==========================================================================
   Ready für LAY? — Aufruf mit Plakat
   ========================================================================== */
.ready { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .78fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.ready__poster img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
  transition: transform .6s var(--ease-out);
}
.ready__poster:hover img { transform: rotate(0) scale(1.02); }

/* ==========================================================================
   Referenten
   ========================================================================== */
.speakers { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(20px, 3vw, 34px); }

.speaker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease);
}
.speaker:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.speaker__media { background: var(--cream); position: relative; min-height: 260px; }
.speaker__media img { width: 100%; height: 100%; object-fit: cover; }
.speaker__media--empty {
  display: grid;
  place-items: center;
  color: var(--muted-2);
  font-size: .78rem;
  text-align: center;
  padding: 20px;
  background: repeating-linear-gradient(45deg, var(--cream) 0 10px, var(--cream-warm) 10px 20px);
}
.speaker__body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.speaker__body h3 { color: var(--teal-deep); }
.speaker__role { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.speaker__body p { font-size: .93rem; color: var(--muted); }
.speaker__todo {
  margin-top: auto;
  font-size: .8rem;
  color: var(--muted-2);
  border-top: 1px dashed var(--line-strong);
  padding-top: 12px;
}

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact-box { text-align: center; max-width: 640px; margin-inline: auto; }
.contact-box__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--teal-deep); color: rgba(255, 255, 255, .7); padding-top: clamp(52px, 6vw, 84px); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) repeat(auto-fit, minmax(140px, 1fr));
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(40px, 5vw, 60px);
}
.footer__brand img { height: 54px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.footer__brand p { margin-top: 14px; font-size: .88rem; color: rgba(255, 255, 255, .55); max-width: 26ch; }

.footer__col h4 {
  font-family: var(--ff-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 16px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col li { font-size: .92rem; }
.footer__col a { transition: color .25s var(--ease), padding-left .3s var(--ease); }
.footer__col a:hover { color: #fff; padding-left: 4px; }
.footer__col .is-inactive { color: rgba(255, 255, 255, .35); cursor: default; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: .84rem;
  color: rgba(255, 255, 255, .5);
}
.footer__credit { margin-left: auto; }
.footer__credit a { color: rgba(255, 255, 255, .8); font-weight: 600; }
.footer__credit a:hover { color: #fff; }

/* ==========================================================================
   Mobile Aktionsleiste + Back-to-top
   ========================================================================== */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 252, 252, .95);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .45s var(--ease-out);
}
.callbar.is-visible { transform: none; }
.callbar .btn { flex: 1; padding-block: 13px; }

.totop {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 88;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transform: translateY(12px) scale(.9);
  transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility .35s, background-color .3s var(--ease);
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--teal); }

/* ==========================================================================
   Reveal-on-Scroll
   ========================================================================== */
/* Ohne JS bleibt alles sichtbar — die .js-Klasse setzt das Inline-Head-Script. */
.js .reveal { opacity: 0; transform: translateY(26px); }
.reveal { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

.js .reveal-left { opacity: 0; transform: translateX(-26px); }
.reveal-left { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal-left.is-in { opacity: 1; transform: none; }

.js .reveal-right { opacity: 0; transform: translateX(26px); }
.reveal-right { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal-right.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { align-items: flex-end; }
  .hero__visual { max-width: 420px; }
  .ready { grid-template-columns: 1fr; }
  .ready__poster { max-width: 420px; margin-inline: auto; order: -1; }

  /* Zeitstrahl links statt mittig */
  .timeline__line { left: 18px; }
  .tl-item { grid-template-columns: 44px minmax(0, 1fr); gap: 0 12px; }
  .tl-item__marker, .tl-item:nth-child(even) .tl-item__marker { grid-column: 1; grid-row: 1; justify-self: center; align-self: start; margin-top: 8px; }
  .tl-item__media, .tl-item:nth-child(even) .tl-item__media { grid-column: 2; grid-row: 1; margin-bottom: 20px; }
  .tl-item__body, .tl-item:nth-child(even) .tl-item__body { grid-column: 2; grid-row: 2; }
  .timeline { gap: 52px; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .nav, .header__actions .btn { display: none; }
  .burger { display: flex; }
  .hero__scroll { display: none; }
  .callbar { display: flex; }
  .totop { bottom: calc(74px + env(safe-area-inset-bottom)); }
  .speaker { grid-template-columns: 1fr; }
  .speaker__media { min-height: 240px; aspect-ratio: 4 / 3; }
}

@media (max-width: 720px) {
  .hero { min-height: min(90svh, 740px); }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .split--reverse .split__media { order: 0; }
  .footer__grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__credit { margin-left: 0; }
  .contact-box__actions { flex-direction: column; }
  .contact-box__actions .btn { width: 100%; }
}

@media (max-width: 420px) {
  .mobile-nav a.mobile-link { font-size: 1.35rem; padding: 15px 0; }
}

@media (hover: none) {
  .speaker:hover, .tl-item__media:hover img { transform: none; }
  .hero__visual:hover img { transform: rotate(1.6deg); }
  .ready__poster:hover img { transform: rotate(-1.5deg); }
}

/* ==========================================================================
   Reduzierte Bewegung
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal, .js .reveal-left, .js .reveal-right { opacity: 1; transform: none; }
  .reveal-word > span { transform: none; }
}

@media print {
  .header, .mobile-nav, .callbar, .totop, .hero__scroll { display: none !important; }
  .hero, .section--deep, .footer { background: #fff !important; color: #000 !important; }
  body { color: #000; }
}
