/* ==========================================================================
   Pleroo — design tokens
   (ported from the Pleroo Design System: colors.css, typography.css,
   spacing.css, fonts.css)
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400;1,700&family=Montserrat+Alternates:ital,wght@0,400;0,500;0,600;0,700;1,400;1,700&display=swap");

:root {
  /* Base palette */
  --pl-white: #ffffff;

  --pl-green-900: #2f3b1e;
  --pl-green-700: #3b4a26;
  --pl-green-600: #47582e;
  --pl-green-500: #556a37;
  --pl-green-400: #6b8049;

  --pl-sage-500: #8ca169;
  --pl-sage-400: #a9bd8b;
  --pl-sage-300: #bfd0a7;
  --pl-sage-200: #d7e2c6;
  --pl-sage-100: #eef3e6;

  --pl-grey-600: #6b6b6a;
  --pl-grey-500: #8f8f8e;
  --pl-grey-400: #b3b3b2;
  --pl-grey-300: #cfcfce;
  --pl-grey-200: #e6e6e5;
  --pl-grey-100: #f4f4f2;

  /* Semantic aliases */
  --text-strong: var(--pl-green-600);
  --text-body: var(--pl-green-900);
  --text-muted: var(--pl-grey-500);
  --text-on-green: var(--pl-white);

  --surface-page: var(--pl-white);
  --surface-muted: var(--pl-grey-100);
  --surface-green: var(--pl-green-600);

  --border-subtle: var(--pl-grey-200);
  --border-default: var(--pl-grey-300);

  --overlay-green: rgba(71, 88, 46, 0.72);

  /* Type */
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Montserrat Alternates", "Montserrat", system-ui, sans-serif;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fs-h2: 30px;
  --fs-body: 16px;
  --lh-heading: 1.2;
  --ls-tight: -0.01em;
  --ls-label: 0.08em;

  /* Spacing / radius / shadow */
  --radius-sm: 8px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(47, 59, 30, 0.08);
  --shadow-md: 0 8px 24px rgba(47, 59, 30, 0.10);
  --shadow-lg: 0 18px 48px rgba(47, 59, 30, 0.14);
}

/* ==========================================================================
   Base
   ========================================================================== */
html, body { margin: 0; background: var(--surface-page); }
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--text-body); }
img { max-width: 100%; }
a { color: inherit; }

@keyframes plBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes plPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes plRing { 0% { box-shadow: 0 0 0 0 rgba(140,161,105,0.45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(140,161,105,0); } }
@keyframes plCtaGlow { 0%, 100% { box-shadow: 0 4px 12px rgba(47,59,30,0.12); } 50% { box-shadow: 0 8px 22px rgba(47,59,30,0.22); } }

/* ==========================================================================
   Shared: headings, body text, buttons, inputs, checkboxes
   ========================================================================== */
.pl-h2 {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
}
.pl-h2--green { color: var(--pl-green-600); }
.pl-h2--white { color: #fff; }

.pl-body-text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
}

.pl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  padding: 13px 28px;
  font-size: 13px;
  animation: plCtaGlow 3.8s ease-in-out infinite;
  transition: transform 0.24s cubic-bezier(0.34,1.4,0.5,1), filter 0.2s ease, box-shadow 0.3s ease;
}
.pl-btn:hover { filter: brightness(0.93); transform: translateY(-2px); }
.pl-btn:active { transform: translateY(0) scale(0.97); }
.pl-btn:disabled { opacity: 0.45; cursor: not-allowed; filter: none; transform: none; animation: none; }

.pl-btn--light { background: var(--pl-white); color: var(--pl-green-600); border: 1.5px solid var(--pl-white); }
.pl-btn--solid { background: var(--pl-green-600); color: var(--pl-white); border: 1.5px solid var(--pl-green-600); }
.pl-btn--lg { padding: 17px 38px; font-size: 14px; }

.pl-input, .pl-textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--text-body);
  background: var(--pl-white);
  padding: 13px 16px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.28s ease, transform 0.28s ease !important;
}
.pl-textarea { resize: vertical; font-family: var(--font-body); display: block; }
.pl-input--green, .pl-textarea--green { border-color: transparent; }
.pl-input:focus, .pl-textarea:focus { border-color: var(--pl-green-600); box-shadow: 0 0 0 4px rgba(140,161,105,0.2); }

.pl-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body);
  color: #fff;
  user-select: none;
}
.pl-checkbox-box {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 5px;
  background: var(--pl-white);
  border: 1.5px solid var(--pl-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.pl-checkbox-box svg { width: 13px; height: 13px; visibility: hidden; }
.pl-checkbox.is-checked .pl-checkbox-box { background: var(--pl-green-600); border-color: var(--pl-green-600); }
.pl-checkbox.is-checked .pl-checkbox-box svg { visibility: visible; }

.pl-field-error { font-family: var(--font-body); color: #ffe08a; font-size: 13px; font-weight: 600; margin: 0 0 10px 2px; }

/* Image card (ImageCard component equivalent) */
.pl-imagecard { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.pl-imagecard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.pl-imagecard:hover img { transform: scale(1.04); }
.pl-imagecard-overlay { position: absolute; inset: 0; background: var(--overlay-green); transition: opacity 0.25s ease; }
.pl-imagecard:hover .pl-imagecard-overlay { opacity: 0.82; }
.pl-imagecard--r56 { border-radius: 56px; }

/* ==========================================================================
   Nav
   ========================================================================== */
.pl-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}
.pl-nav-links { display: flex; gap: 34px; }
.pl-nav-link {
  position: relative;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s ease;
}
.pl-nav-link--active { color: var(--pl-green-600); }
.pl-nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -5px;
  height: 2px;
  background: var(--pl-green-600);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.26s cubic-bezier(0.4,0,0.2,1);
}
.pl-nav-link:hover { color: var(--pl-green-600); }
.pl-nav-link:hover::after { transform: scaleX(1); }

/* ==========================================================================
   Hero
   ========================================================================== */
.pl-hero { position: relative; min-height: 700px; display: flex; align-items: center; overflow: hidden; }
.pl-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pl-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,36,20,0.85) 0%, rgba(30,36,20,0.55) 60%, rgba(30,36,20,0.35) 100%); }
.pl-hero-inner { position: relative; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 40px; }
.pl-hero-logo-wrap { margin-top: -21px; margin-bottom: 45px; }
.pl-hero-logo { height: 132px; width: auto; display: block; }
.pl-hero-headline { font-family: var(--font-body); font-weight: 700; color: #fff; font-size: 46px; line-height: 1.15; margin: 0 0 30px; letter-spacing: -0.01em; }
.pl-hero-chevron { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); animation: plBob 2s ease-in-out infinite; cursor: pointer; }

/* ==========================================================================
   Feature tiles
   ========================================================================== */
.pl-tiles-section { max-width: 1120px; margin: 0 auto; padding: 72px 40px; }
.pl-tiles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pl-tile { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: transform 0.3s cubic-bezier(0.34,1.25,0.5,1), box-shadow 0.3s ease; }
.pl-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pl-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.pl-tile:hover img { transform: scale(1.04); }
.pl-tile .pl-ov { position: absolute; inset: 0; background: var(--overlay-green); transition: opacity 0.25s ease; }
.pl-tile:hover .pl-ov { opacity: 0.9; }
.pl-tile .pl-cap { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; flex-direction: column; }
.pl-tile .pl-word { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 20px; }
.pl-tile .pl-mark::after { content: "?"; }
.pl-tile:hover .pl-mark::after { content: "!"; }
.pl-tile .pl-body {
  color: #fff; font-family: var(--font-body); font-size: 13.5px; line-height: 1.5;
  max-height: 0; opacity: 0; overflow: hidden; margin-top: 0;
  transition: max-height 0.4s ease, opacity 0.35s ease, margin-top 0.4s ease;
}
.pl-tile:hover .pl-body { max-height: 200px; opacity: 1; margin-top: 12px; }

/* ==========================================================================
   Story section + timeline
   ========================================================================== */
.pl-story { max-width: 1120px; margin: 0 auto; padding: 80px 40px 90px; }
.pl-story-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: start; }
.pl-story-image-wrap { max-width: 456px; margin-left: auto; width: 100%; }

.pl-timeline-wrap { position: relative; height: 120px; margin-top: 44px; width: 100vw; left: 50%; transform: translateX(-50%); }
.pl-timeline-svg { display: block; width: 100%; height: 90px; }

.pl-stage-dot { position: absolute; transform: translateX(-50%); }
.pl-stage-dot .dot { width: 20px; height: 20px; border-radius: 50%; transition: transform 0.35s cubic-bezier(0.34,1.3,0.5,1), opacity 0.25s ease; animation: plPulse 2.6s ease-in-out infinite; }
.pl-stage-dot:nth-of-type(2) .dot { animation: plPulse 2.6s ease-in-out infinite 0.5s, plRing 2.6s ease-in-out infinite 0.5s; }
.pl-stage-dot:nth-of-type(3) .dot { animation-delay: 1s; }
.pl-stage-dot:hover .dot { opacity: 0; transform: scale(0.4); animation-play-state: paused; }
.pl-stage-dot .photo {
  position: absolute; left: 50%; top: 50%;
  width: 168px; height: 168px; border-radius: 50%; overflow: hidden;
  transform: translate(-50%, -50%) scale(0.12); opacity: 0; pointer-events: none;
  box-shadow: 0 16px 40px rgba(47,59,30,0.3);
  transition: transform 0.44s cubic-bezier(0.34,1.42,0.5,1), opacity 0.26s ease;
}
.pl-stage-dot:hover { z-index: 12; }
.pl-stage-dot:hover .photo { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.pl-stage-dot .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.pl-stage-label { position: absolute; transform: translateX(-50%); font-family: var(--font-body); font-size: 13px; font-weight: 700; white-space: nowrap; }

/* ==========================================================================
   Waitlist / contact (green section)
   ========================================================================== */
.pl-waitlist { background: var(--pl-green-600); padding: 80px 0; }
.pl-waitlist-inner { max-width: 1120px; margin: 0 auto; padding: 0 40px; }

.pl-form { max-width: 520px; }
.pl-field-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.pl-field-grow { flex: 1; }

.pl-qmark {
  position: relative; flex: none; width: 24px; height: 24px; border-radius: 999px;
  background: var(--pl-sage-300); color: var(--pl-green-600);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 700; font-size: 14px; cursor: help; user-select: none;
}
.pl-qmark .pl-tip {
  position: absolute; bottom: calc(100% + 10px); right: -4px; width: 250px;
  background: #fff; color: var(--text-body); font-family: var(--font-body);
  font-size: 12.5px; font-weight: 500; line-height: 1.55; text-align: left;
  padding: 11px 13px; border-radius: 12px; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease; z-index: 6; pointer-events: none;
}
.pl-qmark .pl-tip::after { content: ""; position: absolute; top: 100%; right: 12px; border: 6px solid transparent; border-top-color: #fff; }
.pl-qmark:hover .pl-tip { opacity: 1; visibility: visible; transform: translateY(0); }

.pl-student-row { display: flex; align-items: center; gap: 28px; margin: 12px 0 4px; }
.pl-student-label { font-family: var(--font-body); color: #fff; font-weight: 700; font-size: 15px; }

.pl-form-action { margin-top: 16px; }
.pl-success {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pl-sage-300); color: var(--pl-green-600);
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  padding: 13px 28px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.pl-success[hidden] { display: none; }

.pl-contact { margin-top: 72px; }
.pl-contact-form { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.pl-sent-note { font-family: var(--font-body); color: #fff; font-size: 14px; font-weight: 600; margin-top: 2px; }

.pl-follow { margin-top: 64px; }
.pl-social-row { display: flex; gap: 14px; }
.pl-social {
  width: 46px; height: 46px; border-radius: 10px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 700; color: var(--pl-green-600);
  text-decoration: none; font-size: 14px;
  transition: transform 0.22s cubic-bezier(0.34,1.4,0.5,1), box-shadow 0.22s ease;
}
.pl-social:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(47,59,30,0.28); }

/* ==========================================================================
   Team section
   ========================================================================== */
.pl-team { max-width: 1120px; margin: 0 auto; padding: 90px 40px; }
.pl-team-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.pl-team-image-wrap { max-width: 360px; width: 100%; }
.pl-uni-logos { max-width: 540px; margin-top: 40px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.pl-uni-logos img { height: 54px; width: auto; opacity: 0.25; }

/* ==========================================================================
   Footer / Impressum
   ========================================================================== */
.pl-footer { background: var(--pl-grey-100); padding: 56px 40px 64px; border-top: 1px solid var(--border-subtle); margin-top: 180px; }
.pl-footer-inner { max-width: 1120px; margin: 0 auto; }
.pl-footer-title { font-family: var(--font-display); font-weight: 700; color: var(--pl-sage-500); font-size: 22px; margin: 0 0 6px; }
.pl-impressum { max-width: 820px; margin-top: 28px; font-family: var(--font-body); color: var(--text-body); }
.pl-impressum-eyebrow { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pl-grey-600); margin-bottom: 10px; }
.pl-impressum p { margin: 0 0 12px; font-size: 13.5px; line-height: 1.7; color: var(--pl-grey-500); }
.pl-impressum-callout { border-left: 3px solid var(--pl-sage-400); padding: 12px 16px; border-radius: 6px; background: #fff; margin: 18px 0 30px; }
.pl-impressum-callout p { margin: 0; font-size: 13px; line-height: 1.65; }
.pl-impressum-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }
.pl-impressum h4 { margin: 0 0 10px; font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--pl-grey-600); }
.pl-impressum dl { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--pl-grey-500); }
.pl-impressum dl div { margin-bottom: 6px; }
.pl-impressum address { font-style: normal; font-size: 13.5px; line-height: 1.7; color: var(--pl-grey-500); }
.pl-impressum section { margin-top: 24px; }
.pl-impressum section.pl-impressum-register { margin-top: 30px; border-top: 1px solid var(--border-subtle); padding-top: 24px; }
.pl-impressum a { color: var(--pl-grey-600); text-decoration: none; }
.pl-impressum strong { color: var(--pl-grey-600); }
.pl-copyright { font-family: var(--font-body); font-size: 13px; color: var(--pl-grey-400); margin: 40px 0 0; border-top: 1px solid var(--border-subtle); padding-top: 20px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .pl-tiles-grid { grid-template-columns: 1fr; }
  .pl-story-grid, .pl-team-grid { grid-template-columns: 1fr; }
  .pl-story-image-wrap, .pl-team-image-wrap { max-width: 100%; margin-left: 0; }
  .pl-team-grid { gap: 32px; }
  .pl-hero-headline { font-size: 34px; }
  .pl-hero { min-height: 620px; }
  .pl-hero-logo { height: 96px; }
  .pl-impressum-cols { grid-template-columns: 1fr; }
  .pl-nav { padding: 12px 20px; }
  .pl-nav-links { gap: 20px; }
}
