@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/roboto-latin-var.woff2') format('woff2');
}

:root {
  --dark: #333333;
  --sand: #D9CCC4;
  --terracotta: #C3937D;
  --gold: #E9A753;
  --teal: #375357;
  --white: #FAFAF8;
  --light-bg: #F5F0EC;

  --font-main: 'Roboto', sans-serif;
  --font-alt: 'Open Sauce One', 'Roboto', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 14px;
}

/* ───── NAV ───── */
#main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--teal);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
}
.nav-logo img { height: 42px; width: auto; }
.nav-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sand);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--sand);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(217,204,196,0.15); color: var(--white); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7rem;
  opacity: 0.7;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--teal);
  min-width: 180px;
  border-top: 2px solid var(--gold);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  list-style: none;
}
.dropdown-menu li a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--sand);
  font-size: 0.82rem;
  border-radius: 0;
}
.dropdown-menu li a:hover { background: rgba(233,167,83,0.2); color: var(--gold); }
.nav-dropdown:hover .dropdown-menu { display: block; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sand);
  transition: all 0.3s;
  border-radius: 2px;
}

/* ───── HERO ───── */
#hero {
  min-height: 90vh;
  background: linear-gradient(135deg, var(--teal) 0%, #2a4042 50%, #1e2f31 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(233,167,83,0.1) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(195,147,125,0.08) 0%, transparent 50%);
}

/* Animated grid overlay */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217,204,196,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217,204,196,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

#hero-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

@media (prefers-reduced-motion: reduce) {
  #hero-network { display: none; }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-badge {
  display: inline-block;
  background: rgba(233,167,83,0.15);
  border: 1px solid rgba(233,167,83,0.4);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-logo-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 20px rgba(233,167,83,0.4));
  animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.hero-title span { color: var(--gold); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--sand);
  font-weight: 300;
  letter-spacing: 0.06em;
  margin-bottom: 2.5rem;
}

.hero-statement {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: rgba(217,204,196,0.85);
  max-width: 680px;
  margin: 0 auto 3rem;
  line-height: 1.65;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--dark);
  padding: 0.85rem 2rem;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 4px;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #d4923f; transform: translateY(-2px); }

.btn-secondary {
  background: transparent;
  color: var(--sand);
  padding: 0.85rem 2rem;
  font-weight: 400;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1px solid rgba(217,204,196,0.4);
  border-radius: 4px;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--sand); color: var(--white); }

/* ───── SECTION SHARED ───── */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1rem;
  color: #666;
  max-width: 640px;
  line-height: 1.7;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; }
section:nth-child(even) { background: var(--light-bg); }

/* ───── CAROUSEL ───── */
#challenges { background: var(--dark); padding: 6rem 0; }
#challenges .section-label { color: var(--terracotta); }
#challenges .section-title { color: var(--white); }

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-top: 3rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  height: 480px;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem;
  background: linear-gradient(to top, rgba(30,47,49,0.98) 0%, transparent 100%);
}

.slide-num {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.slide-content h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.slide-content p { color: var(--sand); font-size: 0.95rem; max-width: 600px; }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(217,204,196,0.25);
  background: transparent;
  color: var(--sand);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.carousel-btn:hover { background: rgba(233,167,83,0.15); border-color: var(--gold); color: var(--gold); }

.carousel-dots { display: flex; gap: 8px; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(217,204,196,0.3);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.active { background: var(--gold); transform: scale(1.3); }

/* ───── CORE QUESTIONS ───── */
.kernfragen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.kf-card {
  background: var(--white);
  border: 1px solid rgba(195,147,125,0.2);
  border-top: 3px solid var(--gold);
  padding: 2.5rem;
  border-radius: 4px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.kf-card:hover { box-shadow: 0 12px 40px rgba(55,83,87,0.12); transform: translateY(-4px); }

.kf-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 1.3rem;
}

.kf-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.kf-card p { color: #666; font-size: 0.92rem; line-height: 1.7; }

/* ───── NEWS ───── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.news-card {
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(217,204,196,0.5);
  transition: box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.news-card:hover { box-shadow: 0 16px 48px rgba(55,83,87,0.14); transform: translateY(-5px); }

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body { padding: 1.5rem; }

.news-tag {
  display: inline-block;
  background: rgba(55,83,87,0.1);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.news-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.news-card p { font-size: 0.88rem; color: #777; }

.news-date {
  font-size: 0.78rem;
  color: var(--terracotta);
  margin-top: 1rem;
  font-weight: 700;
}

.news-more {
  text-align: center;
  margin-top: 3rem;
}

/* ───── PARTNER ───── */
#partner { background: var(--light-bg); }

.partner-list {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5px;
}

.partner-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(217,204,196,0.5);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.partner-item:hover { box-shadow: 0 4px 20px rgba(55,83,87,0.1); }

.partner-logo-cell {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(217,204,196,0.4);
  background: var(--light-bg);
  min-height: 100px;
}

.partner-logo-placeholder {
  width: 100px;
  height: 50px;
  background: var(--sand);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--dark);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
}

.partner-info { padding: 1.5rem 2rem; }
.partner-info h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.partner-info p { font-size: 0.88rem; color: #666; line-height: 1.65; }

/* ───── FOOTER ───── */
footer {
  background: var(--dark);
  color: var(--sand);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.footer-brand img { height: 60px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; color: rgba(217,204,196,0.65); max-width: 280px; line-height: 1.6; }

.footer-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.footer-traeger {
  text-align: center;
}

.footer-traeger-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(217,204,196,0.5);
  margin-bottom: 0.75rem;
}

.footer-traeger-logo {
  width: 280px;
  height: 140px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(217,204,196,0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: rgba(217,204,196,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 auto;
}

.footer-bottom {
  border-top: 1px solid rgba(217,204,196,0.12);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 0.8rem; color: rgba(217,204,196,0.45); }

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: rgba(217,204,196,0.6);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

/* ───── RESPONSIVE ───── */
@media (max-width: 1024px) {
  .kernfragen-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--teal);
    padding: 1rem 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 0.75rem 2rem; }
  .dropdown-menu { position: static; display: none; box-shadow: none; border-radius: 0; padding-left: 1rem; }
  .nav-dropdown.open .dropdown-menu { display: block; }

  .kernfragen-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .partner-item { grid-template-columns: 1fr; }
  .partner-logo-cell { border-right: none; border-bottom: 1px solid rgba(217,204,196,0.4); }
  .footer-top { flex-direction: column; align-items: center; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .carousel-slide { height: 360px; }
  .slide-content { padding: 1.5rem; }
}

/* ───── SCROLL REVEAL ───── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* Section divider accent */
.divider-accent {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 1rem 0 1.5rem;
}

/* Social Link LinkedIn Profil */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(55,83,87,0.08);
  color: var(--teal);
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.social-link:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
