/* ==========================================================================
   Landing Page: B.Sc. Wirtschaftsingenieurwesen – Industrie | EAH Jena
   Gen-Z-Redesign 2026 · barrierefrei (BFSG / BITV 2.0 / WCAG 2.1 AA,
   Zielgrößen nach WCAG 2.2) · mobile-first · ohne Frameworks
   Farben = EAH-CI (Teal/Gold), unverändert übernommen.
   ========================================================================== */

/* ---- Schriften (lokal gehostet, DSGVO-konform) ---- */
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/public-sans-v21-latin_latin-ext-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/public-sans-v21-latin_latin-ext-700.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/public-sans-v21-latin_latin-ext-800.woff2") format("woff2");
}

/* ---- Design-Tokens ---- */
:root {
  --c-teal: #009999;        /* Markenfarbe EAH – nur dekorativ / große Flächen */
  --c-teal-dark: #007272;   /* Interaktiv: Kontrast zu Weiß 5,8:1 (AA) */
  --c-teal-deep: #005a5a;
  --c-teal-tint: #e6f5f5;
  --c-gold: #ffc857;
  --c-gold-ink: #4a3200;    /* Kontrast auf Gold: 7,8:1 */
  --c-ink: #22333f;         /* Fließtext: Kontrast 13:1 */
  --c-ink-soft: #34495b;
  --c-paper: #ffffff;
  --c-paper-soft: #f4f9f9;
  --c-line: #d5e3e3;
  --c-alert-bg: #fff7ed;
  --c-alert-ink: #7a3d00;   /* Kontrast auf #fff7ed: 7,9:1 */
  --c-focus: #b54708;
  --radius: 14px;
  --shadow: 0 2px 16px rgba(34, 51, 63, 0.10);
  --w-max: 72rem;
  --w-text: 46rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --cta-h: 0px;             /* wird per JS auf Höhe der Sticky-CTA gesetzt */
}

/* ---- Basis ---- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-paper);
  padding-bottom: var(--cta-h);
}

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

/* Bold Typography: großzügig, eng gesetzt, markant */
h1, h2, h3 { line-height: 1.08; color: var(--c-ink-soft); margin: 0 0 0.55em; }
h1 {
  font-size: clamp(2.5rem, 9vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(1.9rem, 6vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h3 { font-size: 1.18rem; font-weight: 700; line-height: 1.25; }

p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4rem; }

a { color: var(--c-teal-dark); text-decoration-thickness: 0.08em; text-underline-offset: 0.16em; }
a:hover { color: var(--c-teal-deep); }

/* Sichtbarer Fokus für Tastaturnutzung (WCAG 2.4.7 / 2.4.13) */
:focus-visible {
  outline: 3px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 4px;
}
:target { scroll-margin-top: 6rem; }

/* Skip-Link (WCAG 2.4.1) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 400;
  background: var(--c-teal-deep);
  color: #fff;
  padding: 0.8rem 1.4rem;
  font-weight: 700;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; color: #fff; }

.container {
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section { padding-block: clamp(2.8rem, 7vw, 5rem); }
.section--soft { background: var(--c-paper-soft); }
.section--teal { background: var(--c-teal-tint); }
.section--sun {
  background:
    radial-gradient(34rem 22rem at 92% 0%, rgba(255, 200, 87, 0.22), transparent 60%),
    radial-gradient(26rem 20rem at 4% 100%, rgba(0, 153, 153, 0.10), transparent 55%),
    linear-gradient(180deg, #fff8ea 0%, #fff 80%);
}
.section--mint {
  background:
    radial-gradient(30rem 22rem at 0% 0%, rgba(0, 153, 153, 0.14), transparent 55%),
    radial-gradient(30rem 24rem at 100% 100%, rgba(127, 209, 205, 0.28), transparent 60%),
    linear-gradient(180deg, #eefaf9 0%, #fff 85%);
}

.section-lead { max-width: var(--w-text); font-size: 1.12rem; }
.fineprint { font-size: 0.88rem; color: var(--c-ink-soft); margin-top: 1.2rem; }
.facts-note { font-size: 0.82rem; color: var(--c-ink-soft); padding-block: 0.5rem 0; margin: 0; }

.kicker {
  display: inline-block;
  color: var(--c-teal-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  margin-bottom: 0.7rem;
  background: var(--c-teal-tint);
  border: 1.5px solid rgba(0, 114, 114, 0.25);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
}
.kicker--invert {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* Gradient-Text für Schlüsselwörter */
.grad-text {
  background: linear-gradient(94deg, #007272 0%, #009999 70%, #007272 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Markenfarbene Textauswahl */
::selection { background: var(--c-teal-dark); color: #fff; }

/* ---- Buttons (Touch-Ziele ≥ 44 px) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}
.btn--primary {
  background: var(--c-teal-dark);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 114, 114, 0.28);
}
.btn--primary:hover {
  background: var(--c-teal-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 114, 114, 0.36);
}
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.22) 50%, transparent 58%);
  transform: translateX(-120%);
}
.btn--primary:hover::after { transition: transform 0.7s ease; transform: translateX(120%); }
.btn--secondary { background: #fff; color: var(--c-teal-dark); border-color: var(--c-teal-dark); }
.btn--secondary:hover { background: var(--c-teal-tint); color: var(--c-teal-deep); transform: translateY(-2px); }
.btn--big { font-size: 1.12rem; padding: 1.05rem 2.1rem; }
.btn--ghost { background: transparent; color: #fff; border-color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

/* ---- Header: Text-Wortmarke statt Logo ---- */
.site-header {
  background: #fff;
  border-bottom: 4px solid var(--c-teal);
  padding-block: 0.7rem;
  position: sticky;
  top: 0;
  z-index: 60;
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(34, 51, 63, 0.12); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  text-decoration: none;
  color: var(--c-ink);
  line-height: 1.1;
  padding-block: 0.2rem;
}
.brand strong {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-teal-deep);
}
.brand span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-ink-soft);
}
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

/* ---- Fristen-Banner: eine Zeile ---- */
.deadline-bar {
  background: var(--c-alert-bg);
  border-bottom: 1px solid #f3d9b7;
  color: var(--c-alert-ink);
  font-weight: 700;
  padding: 0.55rem 1rem;
  text-align: center;
  font-size: 0.92rem;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.deadline-bar strong { font-weight: 800; }
.deadline-bar strong::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #d92d20;
  margin-right: 0.45rem;
  vertical-align: 0.05em;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 45, 32, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(217, 45, 32, 0); }
}
@media (max-width: 430px) {
  .deadline-bar .deadline-sep + span { display: none; } /* "Start 1. Oktober" fällt auf sehr schmalen Screens weg */
  .deadline-bar .deadline-sep { display: none; }
}

/* ---- Hero: Gradient-Mesh, Bold Type, CTA im Fold ---- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(38rem 26rem at 8% -10%, rgba(0, 153, 153, 0.16), transparent 60%),
    radial-gradient(30rem 22rem at 96% 8%, rgba(255, 200, 87, 0.22), transparent 65%),
    radial-gradient(34rem 30rem at 82% 95%, rgba(0, 153, 153, 0.14), transparent 60%),
    linear-gradient(180deg, var(--c-teal-tint) 0%, #fff 90%);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.hero::before {
  width: 11rem; height: 11rem;
  right: 6%; top: 10%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 153, 153, 0.25), rgba(0, 153, 153, 0.05));
  animation: float-a 9s ease-in-out infinite;
}
.hero::after {
  width: 6.5rem; height: 6.5rem;
  left: 42%; bottom: 8%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 200, 87, 0.5), rgba(255, 200, 87, 0.12));
  animation: float-b 11s ease-in-out infinite;
}
@keyframes float-a {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-1.4rem) rotate(6deg); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(1.2rem); }
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.2rem;
  align-items: center;
  padding-block: clamp(1.6rem, 5vw, 4.5rem);
}
@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.1fr 1fr; }
}
.hero h1 { margin-bottom: 0.35em; }
.hero .kicker { background: #fff; font-size: 0.72rem; letter-spacing: 0.07em; }
@media (max-width: 540px) {
  /* Pill wuerde umbrechen -> als schlankes Label ohne Rahmen */
  .hero .kicker { background: transparent; border: none; padding: 0; border-radius: 0; }
}
.hero-sub { font-size: 1.14rem; max-width: 32rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 0.8rem; }
.hero-actions--center { justify-content: center; margin-top: 1.4rem; }
.hero-note { font-size: 0.9rem; color: var(--c-ink-soft); }

/* Outline-Typo im Hero */
.outline-word { color: var(--c-teal-dark); }
@supports (-webkit-text-stroke: 2px #007272) {
  .outline-word {
    color: transparent;
    -webkit-text-stroke: 2.2px var(--c-teal-dark);
  }
}

/* Marker-Highlight (animierter Textmarker) */
.mark {
  background-image: linear-gradient(104deg, rgba(255, 200, 87, 0) 0%, rgba(255, 200, 87, 0.85) 3%, rgba(255, 200, 87, 0.75) 97%, rgba(255, 200, 87, 0) 100%);
  background-repeat: no-repeat;
  background-size: 100% 42%;
  background-position: 0 78%;
  padding-inline: 0.08em;
  border-radius: 4px;
}
html.js-anim .mark {
  background-size: 0% 42%;
  animation: mark-swipe 0.9s var(--ease-out) 0.7s forwards;
}
@keyframes mark-swipe { to { background-size: 100% 42%; } }
.photo-band .mark {
  /* Weiß auf dunklem CI-Gold: Kontrast 5,0:1 (AA) */
  color: #fff;
  background-image: linear-gradient(104deg, #996400 0%, #996400 100%);
}

/* Hero-Bild: Sticker + Tilt-Rahmen + Blob */
.hero-figure { position: relative; margin: 0; }
.hero-figure::before {
  content: "";
  position: absolute;
  inset: -8% -6% auto auto;
  width: 78%;
  height: 88%;
  z-index: -1;
  background: linear-gradient(135deg, rgba(0, 153, 153, 0.4), rgba(255, 200, 87, 0.45));
  border-radius: 58% 42% 55% 45% / 50% 58% 42% 50%;
  animation: blob-morph 12s ease-in-out infinite alternate;
  filter: blur(6px);
}
@keyframes blob-morph {
  0%   { border-radius: 58% 42% 55% 45% / 50% 58% 42% 50%; transform: rotate(0deg) scale(1); }
  50%  { border-radius: 45% 55% 40% 60% / 60% 42% 58% 40%; transform: rotate(4deg) scale(1.05); }
  100% { border-radius: 52% 48% 60% 40% / 45% 55% 45% 55%; transform: rotate(-3deg) scale(0.98); }
}
.sticker {
  position: absolute;
  top: -1.1rem;
  right: -0.4rem;
  z-index: 2;
  background: var(--c-gold);
  color: var(--c-gold-ink);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.25;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  transform: rotate(6deg);
  box-shadow: 0 6px 18px rgba(74, 50, 0, 0.25);
  transition: transform 0.35s var(--ease-out);
}
.hero-figure:hover .sticker { transform: rotate(0deg) scale(1.06); }
html.js-anim .sticker { animation: sticker-pop 0.6s var(--ease-out) 1.05s both; }
@keyframes sticker-pop {
  from { opacity: 0; transform: rotate(14deg) scale(0.5); }
  to   { opacity: 1; transform: rotate(6deg) scale(1); }
}
.figure-credit {
  font-size: 0.78rem;
  color: var(--c-ink-soft);
  margin-top: 0.4rem;
  text-align: right;
}
.img-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.4s ease;
}
.img-frame img { transition: transform 1.2s var(--ease-out); }
.img-frame:hover { box-shadow: 0 16px 40px rgba(34, 51, 63, 0.18); }
.img-frame:hover img { transform: scale(1.035); }
.img-frame--tilt {
  transform: rotate(-1.6deg);
  box-shadow: 10px 12px 0 rgba(0, 153, 153, 0.18), var(--shadow);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.img-frame--tilt:hover {
  transform: rotate(0deg);
  box-shadow: 4px 6px 0 rgba(0, 153, 153, 0.22), 0 16px 40px rgba(34, 51, 63, 0.18);
}
/* Mobil: Hero-Bild kompakt beschneiden, damit der Fold nicht wächst */
@media (max-width: 899px) {
  .hero-figure .img-frame { aspect-ratio: 16 / 10; }
  .hero-figure img { height: 100%; object-fit: cover; }
}

/* ---- Ticker-Laufband ---- */
.ticker {
  overflow: hidden;
  background: var(--c-teal-deep);
  color: #fff;
  border-block: 3px solid var(--c-teal);
  white-space: nowrap;
  padding-block: 0.55rem;
}
.ticker-track { display: inline-block; animation: ticker-scroll 26s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span {
  display: inline-block;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ticker-track .tri { color: var(--c-gold); margin-inline: 1.1rem; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Fakten-Leiste ---- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1px;
  background: var(--c-line);
  border-block: 1px solid var(--c-line);
  margin: 0;
}
.facts > div { background: #fff; padding: 1.1rem 1rem; text-align: center; }
.facts dt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--c-ink-soft); }
.facts dd { margin: 0.15rem 0 0; font-weight: 800; font-size: 1.08rem; color: var(--c-teal-deep); }

/* ---- Choose your path: Tabs ---- */
.path { margin-top: 1.8rem; max-width: 54rem; }
.path-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.1rem;
}
.path-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 2px solid var(--c-teal-dark);
  background: #fff;
  color: var(--c-teal-deep);
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.path-tab:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 114, 114, 0.18); }
.path-tab[aria-selected="true"] {
  background: var(--c-teal-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 114, 114, 0.3);
}
.path-ico { display: inline-grid; place-items: center; width: 1.35rem; height: 1.35rem; flex: none; }
.path-ico svg { width: 100%; height: 100%; }
.path-panel {
  background: #fff;
  border: 1px solid var(--c-line);
  border-top: 5px solid var(--c-teal);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: var(--shadow);
}
.path-panel + .path-panel { margin-top: 1rem; } /* Fallback ohne JS: alle Panels sichtbar */
.path-panel h3 { margin-top: 0; }
.path-panel .btn { margin-top: 0.4rem; }
html.js-tabs .path-panel[hidden] { display: none; }
html.js-anim .path-panel:not([hidden]) { animation: panel-in 0.35s var(--ease-out); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ---- Donut-Diagramm ---- */
.donut-wrap { display: grid; gap: 2rem; align-items: center; margin-top: 2rem; }
@media (min-width: 760px) {
  .donut-wrap { grid-template-columns: minmax(16rem, 22rem) 1fr; }
}
.donut-figure { position: relative; max-width: 21rem; margin-inline: auto; }
.donut { display: block; width: 100%; height: auto; }
.donut-seg {
  fill: none;
  stroke-width: 30;
  stroke-dasharray: var(--len) 502.7;
  transition: stroke-width 0.3s var(--ease-out), opacity 0.3s ease;
  cursor: help;
}
.donut-seg:hover { stroke-width: 36; }
.donut:has(.donut-seg:hover) .donut-seg:not(:hover) { opacity: 0.35; }
html.js-anim .donut:not(.is-drawn) .donut-seg { stroke-dasharray: 0 502.7; }
html.js-anim .donut.is-drawn .donut-seg {
  stroke-dasharray: var(--len) 502.7;
  transition:
    stroke-dasharray 1.2s var(--ease-out),
    stroke-width 0.3s var(--ease-out),
    opacity 0.3s ease;
  transition-delay: var(--d, 0s), 0s, 0s;
}
.donut-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
}
.donut-center b {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--c-teal-deep);
  line-height: 1;
}
.donut-center span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.donut-legend { list-style: none; padding: 0; margin: 0; }
.donut-legend li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.3rem;
  border-bottom: 1px dashed var(--c-line);
  font-weight: 700;
}
.donut-legend li:last-child { border-bottom: none; }
.donut-legend .dot {
  flex: none;
  width: 1rem;
  height: 1rem;
  border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.donut-legend .pct {
  margin-left: auto;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--c-teal-deep);
  font-variant-numeric: tabular-nums;
}
.donut-legend small {
  display: block;
  font-weight: 400;
  color: var(--c-ink-soft);
  font-size: 0.85rem;
}

/* ---- Studienverlauf: Swipe-Timeline (scroll-snap) ---- */
.snap-hint {
  font-weight: 800;
  color: var(--c-teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin: 0;
}
.snap-arrow { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
.snapline {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.4rem clamp(1rem, 4vw, 2rem) 1.8rem;
  scrollbar-color: var(--c-teal-dark) var(--c-teal-tint);
  /* Edge-Fade als Scroll-Affordance */
  mask-image: linear-gradient(90deg, transparent 0, #000 1.25rem, #000 calc(100% - 1.25rem), transparent 100%);
}
.snapline:focus-visible { outline-offset: -3px; }
.snap-slide {
  flex: 0 0 min(78vw, 21rem);
  scroll-snap-align: center;
  background: #fff;
  border: 1px solid var(--c-line);
  border-top: 5px solid var(--c-teal);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.4rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.3s ease;
}
.snap-slide:nth-child(2n) { border-top-color: var(--c-gold); }
.snap-slide:nth-child(3n) { border-top-color: #7fd1cd; }
.snap-slide:hover {
  transform: translateY(-4px);
  border-color: var(--c-teal);
  box-shadow: 0 14px 34px rgba(34, 51, 63, 0.14);
}
.snap-num {
  position: absolute;
  top: 0.3rem;
  right: 0.9rem;
  margin: 0;
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(0, 153, 153, 0.35);
  pointer-events: none;
}
@supports not (-webkit-text-stroke: 2px #000) {
  .snap-num { color: rgba(0, 153, 153, 0.18); }
}
.snap-slide .phase {
  color: var(--c-teal-dark);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.3rem;
}
.snap-slide h3 { margin-bottom: 0.3em; }
.snap-slide > p:not(.phase):not(.snap-num) { font-size: 0.95rem; color: var(--c-ink-soft); }
.module-chips { list-style: none; padding: 0; margin: 0.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.module-chips li {
  background: var(--c-paper-soft);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 0.35rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
}
.module-chips .is-highlight {
  background: var(--c-teal-dark);
  border-color: var(--c-teal-dark);
  color: #fff;
}

/* ---- Foto-Band (Jena) mit Kennzahlen ---- */
.photo-band {
  position: relative;
  background: url("../img/jena-800.jpg") center / cover no-repeat;
  color: #fff;
}
@media (min-width: 761px) {
  .photo-band { background-image: url("../img/jena-1200.jpg"); }
}
.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 74, 74, 0.92) 0%, rgba(0, 90, 90, 0.8) 45%, rgba(0, 90, 90, 0.62) 100%);
}
.photo-band .container { position: relative; padding-block: clamp(3rem, 7vw, 5rem); }
.photo-band h2 { color: #fff; }
.photo-band p { max-width: var(--w-text); font-size: 1.08rem; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  padding: 1.1rem 1rem;
  text-align: center;
  backdrop-filter: blur(3px);
  transition: background-color 0.3s ease, transform 0.3s var(--ease-out);
}
.stat:hover { background: rgba(255, 255, 255, 0.2); transform: translateY(-3px); }
.stat b { display: block; font-size: 2rem; font-weight: 800; line-height: 1.1; }
.stat span { font-size: 0.92rem; }

/* ---- Bunte Blob-Dekore für weiße Sektionen ---- */
.has-blobs { position: relative; overflow: hidden; }
.has-blobs > .container { position: relative; z-index: 1; }
.has-blobs::before,
.has-blobs::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.has-blobs::before {
  width: 20rem; height: 20rem;
  right: -7rem; top: -6rem;
  background: radial-gradient(circle at 35% 35%, rgba(255, 200, 87, 0.35), rgba(255, 200, 87, 0) 70%);
}
.has-blobs::after {
  width: 16rem; height: 16rem;
  left: -6rem; bottom: -5rem;
  background: radial-gradient(circle at 60% 40%, rgba(0, 153, 153, 0.22), rgba(0, 153, 153, 0) 70%);
}

/* ---- Dreiecks-Motive (EAH-Bildmarke, dezent) ---- */
.has-tri { position: relative; overflow: hidden; }
.has-tri > .container { position: relative; z-index: 1; }
.has-tri::before,
.has-tri::after {
  content: "";
  position: absolute;
  z-index: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 40'><polygon points='11,2 22,20 0,20' fill='%23009999'/><polygon points='33,2 44,20 22,20' fill='%2333b3b3'/><polygon points='22,20 33,38 11,38' fill='%23007272'/></svg>") no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
}
.has-tri::before { width: 22rem; height: 20rem; right: -6rem; top: -5rem; transform: rotate(14deg); }
.has-tri::after { width: 12rem; height: 11rem; left: -3.5rem; bottom: -3rem; transform: rotate(-10deg); }
.final-cta.has-tri::before,
.final-cta.has-tri::after { opacity: 0.12; filter: brightness(3); }

/* ---- Polaroid-Galerie (Campusleben) ---- */
.polaroid-strip {
  list-style: none;
  padding: 1.5rem 0 0.5rem;
  margin: 0;
  display: flex;
  gap: 1.4rem;
  justify-content: center;
  flex-wrap: wrap;
}
.polaroid {
  background: #fff;
  padding: 0.7rem 0.7rem 0.9rem;
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(34, 51, 63, 0.2);
  max-width: 13.5rem;
  margin: 0;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.polaroid img { border-radius: 3px; aspect-ratio: 6 / 7; object-fit: cover; }
.polaroid figcaption {
  padding-top: 0.6rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c-ink-soft);
  text-align: center;
}
.polaroid-strip > li:nth-child(1) .polaroid { transform: rotate(-3.5deg); }
.polaroid-strip > li:nth-child(2) .polaroid { transform: rotate(2.4deg) translateY(0.8rem); }
.polaroid-strip > li:nth-child(3) .polaroid { transform: rotate(-1.8deg); }
.polaroid-strip > li:nth-child(4) .polaroid { transform: rotate(3.2deg) translateY(0.6rem); }
.polaroid-strip > li:hover .polaroid {
  transform: rotate(0deg) translateY(-0.4rem) scale(1.04);
  box-shadow: 0 18px 40px rgba(34, 51, 63, 0.28);
  z-index: 2;
  position: relative;
}
@media (max-width: 700px) {
  .polaroid-strip {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 1.2rem;
    scroll-snap-type: x mandatory;
  }
  .polaroid-strip > li { flex: 0 0 auto; scroll-snap-align: center; }
}

/* ---- Perk-Pills (Campus-Vorteile) ---- */
.perk-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.perk-list li {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease, background-color 0.25s ease;
}
.perk-list li:hover {
  transform: translateY(-2px);
  border-color: var(--c-teal-dark);
  background: var(--c-teal-tint);
}
.perk-list li::before {
  content: "";
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--c-teal);
  margin-right: 0.5rem;
}
.perk-list li:nth-child(2n)::before { background: var(--c-gold); }
.perk-list li:nth-child(3n)::before { background: #7fd1cd; }

/* ---- Stimmen: Chat-Bubbles ---- */
.chat { max-width: 44rem; margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.bubble-row { display: flex; align-items: flex-end; gap: 0.65rem; }
.bubble-row--alt { flex-direction: row-reverse; margin-left: auto; }
.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  background: linear-gradient(135deg, #00b3b3, #005a5a);
  box-shadow: 0 4px 12px rgba(0, 114, 114, 0.3);
}
.avatar--gold { background: linear-gradient(135deg, #ffd57a, #d18d10); color: var(--c-gold-ink); }
.avatar--mint { background: linear-gradient(135deg, #7fd1cd, #2a9d97); color: #003d3a; }
.bubble {
  margin: 0;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 18px 18px 18px 4px;
  padding: 1rem 1.2rem 0.8rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.bubble-row--alt .bubble { border-radius: 18px 18px 4px 18px; background: var(--c-teal-tint); }
.bubble-row:hover .bubble { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(34, 51, 63, 0.14); }
.bubble p { font-size: 1.02rem; margin-bottom: 0.35em; }
.bubble footer { font-weight: 700; font-size: 0.88rem; color: var(--c-teal-deep); }

/* ---- Jobliste + Callouts ---- */
.job-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.55rem; margin: 1.2rem 0; }
.job-tags li {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 0.5rem 1.05rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease, background-color 0.25s ease;
}
.job-tags li:hover {
  transform: translateY(-2px);
  border-color: var(--c-teal-dark);
  background: var(--c-teal-tint);
}
.callout {
  background: var(--c-teal-tint);
  border-left: 5px solid var(--c-teal);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin-top: 1.6rem;
  max-width: var(--w-text);
}
.callout p:last-child { margin-bottom: 0; }
.callout--honest {
  background: var(--c-alert-bg);
  border-left-color: var(--c-gold);
  color: var(--c-alert-ink);
}
.callout--honest a { color: var(--c-alert-ink); font-weight: 700; }

/* ---- Schritte ---- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); } }
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.2rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s ease;
}
.steps li:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(34, 51, 63, 0.14);
  border-color: var(--c-teal);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #00b3b3, #005a5a);
  box-shadow: 0 6px 16px rgba(0, 114, 114, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}
.steps h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.steps p { font-size: 0.95rem; margin: 0; }
.steps-cta { margin-top: 1.6rem; }

/* ---- FAQ ---- */
.faq { max-width: var(--w-text); }
.faq details {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  margin-bottom: 0.8rem;
  padding: 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq details:hover { border-color: var(--c-teal); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 0.95rem 1.2rem;
  min-height: 44px;
  color: var(--c-ink-soft);
  transition: color 0.2s ease;
}
.faq summary:hover { color: var(--c-teal-deep); }
.faq summary::marker { color: var(--c-teal-dark); }
.faq details[open] > summary { border-bottom: 1px solid var(--c-line); }
.faq .faq-body { padding: 1rem 1.2rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }
.faq details[open] > .faq-body { animation: faq-open 0.4s var(--ease-out); }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* ---- Finaler CTA mit Foto-Hintergrund + Kontakt ---- */
.final-cta {
  background:
    linear-gradient(115deg, rgba(0, 62, 62, 0.95) 0%, rgba(0, 90, 90, 0.9) 55%, rgba(0, 114, 114, 0.82) 100%),
    url("../img/campus-4.jpg") center 30% / cover no-repeat;
  color: #fff;
  text-align: center;
}
.final-cta h2 { color: #fff; }
.final-cta p { max-width: var(--w-text); margin-inline: auto; font-size: 1.1rem; }
.final-cta a { color: #fff; }
.final-cta .btn--primary { background: #fff; color: var(--c-teal-deep); }
.final-cta .btn--primary:hover { background: var(--c-teal-tint); }
.final-cta .btn--secondary { background: transparent; color: #fff; border-color: #fff; }
.final-cta .btn--secondary:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }
.contact-lines {
  list-style: none;
  padding: 0;
  margin: 2rem auto 0;
  max-width: var(--w-text);
  font-size: 0.95rem;
  display: grid;
  gap: 0.45rem;
}
.contact-lines a { text-underline-offset: 0.2em; padding-block: 0.35rem; }

/* ---- Footer ---- */
.site-footer {
  background: var(--c-ink-soft);
  color: #e8eef2;
  padding-block: 2rem;
  font-size: 0.92rem;
}
.site-footer a { color: #fff; }
.site-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.footer-nav a {
  display: inline-block;
  padding-block: 0.55rem;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.3s var(--ease-out);
}
.footer-nav a:hover { background-size: 100% 1.5px; }
.site-footer .credits { color: #c3d0d8; font-size: 0.82rem; }

/* ---- Sticky-CTA mobil (Höhe -> --cta-h via JS) ---- */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  background: #fff;
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -4px 16px rgba(34, 51, 63, 0.14);
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom));
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}
.sticky-cta .btn { flex: 1; max-width: 22rem; padding: 0.7rem 0.7rem; font-size: 0.92rem; white-space: nowrap; }
.sticky-cta .btn--primary { flex: 1.5; }
@media (min-width: 900px) {
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
}

/* ---- Consent-Banner: kompakt ---- */
.consent-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 200;
  background: var(--c-ink-soft);
  color: #fff;
  padding: 0.9rem clamp(1rem, 4vw, 2rem) calc(0.9rem + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.25);
}
.consent-banner[hidden] { display: none; }
.consent-inner {
  max-width: var(--w-max);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.4rem;
}
.consent-inner p { font-size: 0.88rem; margin: 0; flex: 1 1 18rem; }
.consent-banner a { color: #fff; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.consent-actions .btn { font-size: 0.92rem; padding: 0.55rem 1.2rem; min-height: 44px; }
html.js-anim .consent-banner:not([hidden]) { animation: consent-in 0.6s var(--ease-out) 0.4s both; }
@keyframes consent-in {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: none; }
}

/* ---- Scroll-Progress-Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  z-index: 300;
  background: linear-gradient(90deg, #007272, #009999 55%, #ffc857);
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* ---- Unterseiten (Rechtstexte) ---- */
.legal-main { padding-block: clamp(2rem, 5vw, 3.5rem); }
.legal-main .container { max-width: var(--w-text); }
.legal-main h2 { margin-top: 1.6em; font-size: 1.35rem; }
.legal-main h3 { margin-top: 1.2em; }

/* ==========================================================================
   Animationen: Scroll-Reveal (kurz & sparsam – nur Kernelemente)
   Initialzustände gelten NUR mit JS (html.js-anim) – ohne JS alles sichtbar.
   ========================================================================== */
html.js-anim .reveal { opacity: 0; transform: translateY(20px); }
html.js-anim .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

/* Hero-Entrance (einmalig beim Laden) */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
html.js-anim .hero .kicker,
html.js-anim .hero h1,
html.js-anim .hero .hero-sub,
html.js-anim .hero .hero-actions,
html.js-anim .hero .hero-note {
  animation: hero-rise 0.7s var(--ease-out) both;
}
html.js-anim .hero .kicker       { animation-delay: 0.05s; }
html.js-anim .hero h1            { animation-delay: 0.12s; }
html.js-anim .hero .hero-sub     { animation-delay: 0.22s; }
html.js-anim .hero .hero-actions { animation-delay: 0.32s; }
html.js-anim .hero .hero-note    { animation-delay: 0.42s; }
html.js-anim .hero-figure        { animation: hero-rise 0.9s var(--ease-out) 0.25s both; }

/* ---- Reduzierte Bewegung (WCAG 2.3.3) ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .path-tab:hover { transform: none; }
}

/* ---- Druck ---- */
@media print {
  .sticky-cta, .consent-banner, .deadline-bar, .site-header .btn, .scroll-progress { display: none !important; }
}
