/* ===========================================================
   Laurin Kleen – Bewerbungsseite
   Akzentfarbe: Magenta #E20074
   =========================================================== */

:root {
  --magenta: #e20074;
  --magenta-600: #c70066;
  --magenta-soft: rgba(226, 0, 116, 0.1);
  --magenta-glow: rgba(226, 0, 116, 0.35);

  --bg: #f6f6f8;
  --bg-elev: #ffffff;
  --bg-alt: #efeff3;
  --text: #16161c;
  --text-muted: #5c5c6b;
  --border: rgba(20, 20, 30, 0.09);
  --shadow: 0 10px 30px -12px rgba(20, 20, 40, 0.18);
  --nav-bg: rgba(246, 246, 248, 0.75);

  --radius: 20px;
  --radius-sm: 12px;
  --maxw: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}


*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--magenta); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--magenta); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

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

/* ---------- Scroll-Fortschritt ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--magenta); transform-origin: 0 50%; transform: scaleX(0);
  z-index: 120; box-shadow: 0 0 12px var(--magenta-glow);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--magenta); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-size: 15px; color: var(--text-muted); padding: 8px 12px; border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--magenta-soft); }
.nav-links a.active { color: var(--magenta); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  height: 40px; min-width: 40px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-elev); color: var(--text); cursor: pointer; display: inline-flex; align-items: center;
  justify-content: center; gap: 6px; font: inherit; font-size: 13px; transition: border-color 0.2s, transform 0.2s;
}
.icon-btn:hover { border-color: var(--magenta); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }

@media (max-width: 920px) {
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-elev); border-bottom: 1px solid var(--border); padding: 8px 16px 16px;
    transform: translateY(-120%); transition: transform 0.35s ease; z-index: -1;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { display: block; padding: 12px; border-radius: 10px; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: inherit; font-weight: 600;
  font-size: 15px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--magenta); color: #fff; box-shadow: 0 8px 24px -8px var(--magenta-glow); }
.btn-primary:hover { background: var(--magenta-600); transform: translateY(-2px); box-shadow: 0 14px 30px -10px var(--magenta-glow); }
.btn-ghost { background: var(--bg-elev); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--magenta); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 60px; overflow: hidden; }
#net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; pointer-events: none; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none;
}
.hero-blob {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, var(--magenta-glow), transparent 65%);
  top: -180px; right: -160px; filter: blur(20px); pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--magenta); background: var(--magenta-soft); padding: 6px 12px; border-radius: 999px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); position: relative; }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--magenta);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { to { transform: scale(3); opacity: 0; } }
.hero h1 { font-size: clamp(44px, 8vw, 88px); line-height: 1; letter-spacing: -0.04em; margin: 22px 0 14px; font-weight: 800; }
.hero h1 .accent { color: var(--magenta); }
.typed { font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; color: var(--text-muted); min-height: 1.5em; margin: 0 0 20px; }
.typed .caret { display: inline-block; width: 3px; height: 1em; background: var(--magenta); vertical-align: -0.12em; margin-left: 3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-lead { font-size: 18px; color: var(--text-muted); max-width: 560px; margin: 0 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.photo-wrap { position: relative; justify-self: center; width: min(360px, 100%); }
.photo-card {
  position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 4;
  box-shadow: var(--shadow); border: 1px solid var(--border); transform-style: preserve-3d;
  transition: transform 0.2s ease-out; background: #8a8a90;
}
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,0.22), transparent 45%);
  pointer-events: none;
}
.photo-ring {
  position: absolute; inset: -14px; border-radius: 36px; border: 2px solid var(--magenta); opacity: 0.5;
  transform: rotate(-4deg); z-index: -1;
}
.float-badge {
  position: absolute; display: flex; align-items: center; gap: 10px; background: var(--bg-elev);
  border: 1px solid var(--border); padding: 10px 14px; border-radius: 16px; box-shadow: var(--shadow);
  font-size: 13px; font-weight: 600; white-space: nowrap; animation: float 6s ease-in-out infinite;
}
.float-badge small { display: block; font-weight: 500; color: var(--text-muted); font-size: 11px; }
.float-badge .dot { width: 34px; height: 34px; border-radius: 10px; background: var(--magenta-soft); color: var(--magenta); display: grid; place-items: center; }
.float-badge .dot svg { width: 18px; height: 18px; }
.fb-1 { left: -48px; top: 14%; }
.fb-2 { right: -40px; bottom: 12%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; color: var(--text-muted); text-decoration: none; font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.scroll-cue .mouse { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.scroll-cue .mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; background: var(--magenta); border-radius: 2px; transform: translateX(-50%); animation: wheel 1.6s ease infinite; }
@keyframes wheel { to { transform: translate(-50%, 10px); opacity: 0; } }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .photo-wrap { order: -1; width: min(280px, 78%); }
  .fb-1 { left: -30px; top: auto; bottom: 30%; }
  .fb-2 { right: -30px; bottom: -4%; }
  .scroll-cue { display: none; }
}
@media (max-width: 480px) {
  .fb-1 { left: -14px; top: 6%; }
  .fb-2 { right: -14px; }
  .float-badge { padding: 8px 10px; font-size: 12px; }
  .float-badge .dot { width: 28px; height: 28px; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-kicker { color: var(--magenta); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.section-kicker::before { content: ""; width: 28px; height: 2px; background: var(--magenta); }
.section h2 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 16px; font-weight: 800; }
.section-head p { color: var(--text-muted); font-size: 18px; margin: 0; }
@media (max-width: 600px) { .section { padding: 80px 0; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

.card {
  position: relative; background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; overflow: hidden; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card.spot::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), var(--magenta-soft), transparent 60%);
  pointer-events: none;
}
.card.spot:hover::before { opacity: 1; }
.card.spot:hover { border-color: rgba(226, 0, 116, 0.35); transform: translateY(-4px); box-shadow: var(--shadow); }
.card > * { position: relative; }

/* ---------- Stats ---------- */
.stats { margin-top: -40px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat .num { font-size: clamp(34px, 4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; color: var(--magenta); font-variant-numeric: tabular-nums; }
.stat .label { color: var(--text-muted); font-size: 14px; margin-top: 10px; }
@media (max-width: 920px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stat { padding: 20px; } }

/* ---------- Profil ---------- */
.profile-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: stretch; }
.profile-grid.single { grid-template-columns: 1fr; max-width: 900px; }
.profile-text p { font-size: 19px; line-height: 1.7; margin: 0 0 24px; }
.profile-text p strong { color: var(--magenta); font-weight: 700; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.pillar { padding: 22px; }
.pillar .ico { width: 42px; height: 42px; border-radius: 12px; background: var(--magenta-soft); color: var(--magenta); display: grid; place-items: center; margin-bottom: 14px; }
.pillar .ico svg { width: 22px; height: 22px; }
.pillar h3 { font-size: 16px; margin: 0 0 6px; }
.pillar p { font-size: 14px; color: var(--text-muted); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; padding: 7px 14px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--border); color: var(--text); transition: all 0.2s;
}
@media (max-width: 920px) {
  .profile-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- Timeline ---------- */

.timeline { position: relative; padding-left: 44px; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-fill { position: absolute; left: 13px; top: 6px; width: 2px; height: 0; background: var(--magenta); box-shadow: 0 0 10px var(--magenta-glow); transition: height 0.1s linear; }
.t-item { position: relative; margin-bottom: 18px; }
.t-dot {
  position: absolute; left: -44px; top: 26px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--magenta); display: grid; place-items: center;
}
.t-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--magenta); }
.t-item.current .t-dot { box-shadow: 0 0 0 6px var(--magenta-soft); }
.t-card { padding: 0; }
.t-head { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 24px 28px; align-items: start; }
.t-title { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.t-org { color: var(--text-muted); font-size: 15px; grid-column: 1; display: block; }
.t-meta { grid-column: 2; grid-row: 1 / span 2; display: flex; align-items: center; gap: 12px; }
.t-date { color: var(--magenta); font-weight: 600; font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.badge-now { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; background: var(--magenta); color: #fff; padding: 3px 9px; border-radius: 999px; }
.t-body { padding: 0 28px 28px; }
.t-intro { margin: 0 0 18px; color: var(--text-muted); }
.station { border: 1px solid var(--border); border-left: 3px solid var(--magenta); border-radius: 14px; padding: 20px 22px; background: var(--bg); }
.station + .station { margin-top: 14px; }
.station-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.station-title { display: block; font-size: 17px; font-weight: 700; }
.station ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.station li { position: relative; padding-left: 22px; color: var(--text-muted); font-size: 15.5px; }
.station li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--magenta); transform: rotate(45deg); }
@media (max-width: 600px) {
  .timeline { padding-left: 34px; }
  .timeline::before, .timeline-fill { left: 9px; }
  .t-dot { left: -34px; width: 20px; height: 20px; top: 24px; }
  .t-dot::after { width: 7px; height: 7px; }
  .t-head { grid-template-columns: 1fr; padding: 20px; }
  .t-meta { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; }
  .t-body { padding: 0 16px 16px; }
  .station { padding: 16px; }
  .station-head { flex-direction: column; gap: 4px; }
}

/* ---------- Kompetenzen ---------- */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.skill-card h3 { font-size: 18px; margin: 14px 0 8px; }
.skill-card p { color: var(--text-muted); font-size: 15px; margin: 0; }
.skill-card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--magenta-soft); color: var(--magenta); display: grid; place-items: center; }
.skill-card .ico svg { width: 24px; height: 24px; }
.skill-card .tag { position: absolute; top: 24px; right: 24px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.skill-cloud { margin-top: 40px; }
.skill-cloud h3 { font-size: 15px; color: var(--text-muted); font-weight: 600; margin: 0 0 14px; }
@media (max-width: 920px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .skills-grid { grid-template-columns: 1fr; } }


/* ---------- Engagement ---------- */
.engage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.engage-card .since { font-size: 13px; font-weight: 700; color: var(--magenta); text-transform: uppercase; letter-spacing: 0.06em; }
.engage-card h3 { font-size: 21px; margin: 8px 0 6px; letter-spacing: -0.01em; }
.engage-card p { color: var(--text-muted); margin: 0; }
.engage-card .years { position: absolute; right: 22px; bottom: 6px; font-size: 90px; font-weight: 800; line-height: 1; color: var(--magenta); opacity: 0.08; letter-spacing: -0.05em; pointer-events: none; }
@media (max-width: 700px) { .engage-grid { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact {
  position: relative; overflow: hidden; border-radius: 32px; padding: 64px; color: #fff;
  background: linear-gradient(135deg, #e20074 0%, #a8005a 100%);
}
.contact::before {
  content: ""; position: absolute; inset: 0; opacity: 0.25;
  background-image: radial-gradient(rgba(255,255,255,0.6) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(120deg, transparent 30%, #000 100%);
  -webkit-mask-image: linear-gradient(120deg, transparent 30%, #000 100%);
}
.contact > * { position: relative; }
.contact h2 { color: #fff; }
.contact .section-kicker { color: rgba(255,255,255,0.85); }
.contact .section-kicker::before { background: #fff; }
.contact-lead { font-size: 19px; opacity: 0.9; max-width: 560px; margin: 0 0 36px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.c-item {
  display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; text-decoration: none;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: #fff; min-width: 0;
  transition: background 0.2s, transform 0.2s; font: inherit; text-align: left; cursor: pointer;
}
.c-item:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }
.c-item .ico { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #fff; color: var(--magenta); display: grid; place-items: center; }
.c-item .ico svg { width: 20px; height: 20px; }
.c-item small { display: block; font-size: 12px; opacity: 0.8; }
.c-item span { display: block; font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-item > div { min-width: 0; }
.contact .btn-white { background: #fff; color: var(--magenta); }
.contact .btn-white:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0,0,0,0.35); }
.contact .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.contact .btn-outline:hover { border-color: #fff; transform: translateY(-2px); }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } .contact { padding: 44px 28px; } }
@media (max-width: 420px) { .contact { padding: 36px 20px; border-radius: 24px; } }

/* ---------- Footer ---------- */
.footer { padding: 40px 0 50px; color: var(--text-muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; border-top: 1px solid var(--border); padding-top: 28px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--magenta); }
.disclaimer { width: 100%; font-size: 12.5px; margin: 0; opacity: 0.85; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 140%); z-index: 150;
  background: var(--text); color: var(--bg); padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 8px; transition: transform 0.4s cubic-bezier(.2,.7,.2,1); box-shadow: var(--shadow);
  max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--magenta); flex: none; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; z-index: 90;
  background: var(--magenta); color: #fff; cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 10px 24px -8px var(--magenta-glow); opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }


/* ---------- Rechtliche Seiten ---------- */
.legal { padding: 140px 0 60px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 6vw, 56px); letter-spacing: -0.03em; line-height: 1.05; margin: 14px 0 32px; }
.legal h2 { font-size: 22px; margin: 44px 0 10px; letter-spacing: -0.01em; }
.legal h3 { font-size: 17px; margin: 26px 0 6px; }
.legal p, .legal li { color: var(--text-muted); }
.legal address { font-style: normal; color: var(--text); line-height: 1.8; }
.legal a { color: var(--magenta); }
.legal .card { margin: 20px 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--magenta); text-decoration: none; font-weight: 600; font-size: 15px; }
.back-link svg { width: 16px; height: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .nav, .progress, .to-top, .toast, #net, .scroll-cue { display: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Zeitleiste: Datum bei mittlerer Breite unter den Titel */
@media (max-width: 780px) {
  .t-head { grid-template-columns: 1fr; }
  .t-meta { grid-column: 1; grid-row: auto; justify-content: space-between; order: -1; }
  .station-head { flex-direction: column; gap: 4px; }
  .station-head .t-date { order: -1; }
}
