:root {
  --bg: #f4f5f3;
  --surface: #ffffff;
  --text: #1f2524;
  --text-soft: #5f6b69;
  --brand-dark: #112c25;
  --brand-green: #1d4a3a;
  --brand-red: #dc2f43;
  --brand-purple: #69299b;
  --cta: #ceff7c;
  --line: #d8dedb;
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: 1120px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}

img {
  width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(var(--container), 92vw);
  margin: 0 auto;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(17, 44, 37, 0.66);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.topbar-inner {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand,
.footer-brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
}

.brand-image {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: clamp(150px, 22vw, 250px);
  filter:
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.24))
    drop-shadow(0 8px 15px rgba(0, 0, 0, 0.78));
}

.brand-image::before {
  content: "";
  position: absolute;
  inset: 10% -4% 2%;
  z-index: -1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  filter: blur(18px);
  opacity: 1;
}

.brand-image img {
  position: relative;
  z-index: 1;
  height: auto;
}

.brand-red {
  color: var(--brand-red);
}

.brand-purple {
  color: var(--brand-purple);
}

.menu-toggle {
  display: none;
  padding: 0.42rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
}

.nav {
  display: flex;
  gap: 1rem;
}

.nav a {
  color: #edf4f2;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.6rem;
  border-radius: 999px;
  text-decoration: none;
  color: #f4fbf8;
  font-weight: 700;
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(8, 24, 20, 0.32);
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--cta);
  outline-offset: 4px;
}

.hero {
  min-height: 88vh;
  position: relative;
  display: grid;
  align-items: end;
  margin-bottom: 2.4rem;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(160deg, rgba(8, 24, 20, 0.4), rgba(8, 24, 20, 0.25) 35%, rgba(8, 24, 20, 0.85)),
    radial-gradient(circle at 14% 20%, rgba(255, 255, 255, 0.18), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding-bottom: clamp(2.2rem, 7vh, 5rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
  font-weight: 700;
  color: #d8f0e3;
}

.section-head .eyebrow {
  color: var(--brand-green);
}

.hero h1 {
  margin: 0;
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  font-weight: 800;
  max-width: 18ch;
  font-size: clamp(2rem, 5.7vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero-lead {
  margin: 0.95rem 0 1.3rem;
  max-width: 56ch;
  color: #e3efeb;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.hero-facts {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.hero-facts span {
  font-size: 0.92rem;
  color: #112c25;
  font-weight: 800;
  padding: 0.5rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  min-height: 46px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  color: #1c2d17;
  background: var(--cta);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(8, 24, 20, 0.36);
}

.section {
  margin-top: 2.2rem;
}

.section-head {
  margin-bottom: 1.1rem;
}

h2 {
  margin: 0;
  font-family: "Montserrat", "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3.1vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-intro .intro-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1fr 1fr;
}

.intro-copy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 1.6rem);
  box-shadow: var(--shadow);
}

.intro-copy p {
  color: var(--text-soft);
  line-height: 1.6;
}

.intro-image img {
  border-radius: var(--radius-lg);
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.cards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  justify-content: center;
}

.highlight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 360px;
  width: 100%;
  justify-self: center;
}

.highlight-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.highlight-card div {
  padding: 0.95rem;
}

.highlight-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.07rem;
}

.highlight-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.5;
}

.highlight-card a,
.day-card a {
  color: #164b3a;
  font-weight: 700;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.section-programm {
  padding: 0.2rem 0 2.2rem;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.day-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.day-card h3 {
  margin: 0 0 0.7rem;
  color: var(--brand-green);
}

.day-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.58rem;
}

.day-card li {
  color: var(--text-soft);
  line-height: 1.4;
}

.day-card strong {
  color: var(--text);
}

.final-cta {
  margin-top: 1.5rem;
  min-height: 56vh;
  position: relative;
  display: grid;
  align-items: center;
}

.final-cta-media,
.final-cta-overlay {
  position: absolute;
  inset: 0;
}

.final-cta-media img {
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.final-cta-overlay {
  background: linear-gradient(180deg, rgba(9, 22, 19, 0.5), rgba(9, 22, 19, 0.84));
}

.final-cta-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-align: center;
}

.final-cta-content p {
  color: #d8e4df;
  margin: 0.6rem auto 1rem;
}

footer {
  background: #0f2822;
  color: #d9e8e2;
  padding: 2rem 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-links a {
  text-decoration: none;
  color: #b8d4c9;
}

footer .brand-image {
  width: clamp(170px, 24vw, 260px);
}

@media (max-width: 980px) {
  .program-grid {
    grid-template-columns: 1fr;
  }

  .section-intro .intro-grid {
    grid-template-columns: 1fr;
  }

  .social-label {
    display: none;
  }

  .social-link {
    padding: 0.42rem;
    min-width: 34px;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(16, 44, 36, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.9rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav.open {
    display: flex;
  }

  .hero {
    min-height: 78vh;
  }

  .final-cta {
    min-height: 52vh;
  }

  .hero h1 {
    max-width: 15ch;
  }

  .brand-image {
    width: 150px;
  }

  .topbar-right {
    gap: 0.45rem;
  }

  .topbar-social {
    gap: 0.35rem;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
