/* ═══════════════════════════════════════════════════
   BERUFinator — Shared Landing Page CSS
   Verwendet von: lehrkraefte, eltern, wirkung, datenschutz, impressum, faq, 404
   ═══════════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── VARIABLES ── */
:root {
  --bg:        #F8F6EE;
  --primary:   #1E3A6E;
  --primary-l: #4A72B8;
  --primary-xl:#EBF0FA;
  --accent:    #FFB86C;
  --text:      #1C2333;
  --muted:     #667085;
  --border:    #E8E4D8;
  --shadow:    rgba(30,58,110,.05);
  --radius:    20px;
  --white:     #fff;
}

/* ── BASE ── */
html, body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: var(--primary-l); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* ── NAV ── */
nav {
  background: var(--primary);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  flex-wrap: nowrap;
}
.nav-logo {
  font-size: 18px;
  font-weight: 800;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo img { width: 26px; height: 26px; border-radius: 6px; }
.nav-logo-highlight { color: white; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 1;
  min-width: 0;
}
.nav-section-link {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  text-decoration: none;
  margin-right: 12px;
  white-space: nowrap;
}
.nav-section-link:hover { color: white; text-decoration: none; }
.nav-section-link.active { color: white; font-weight: 600; }
.nav-login {
  color: rgba(255,255,255,.75);
  font-size: 14px;
  text-decoration: none;
  margin-right: 12px;
  white-space: nowrap;
}
.nav-login:hover { color: white; text-decoration: none; }
.nav-cta {
  background: var(--primary-l);
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
  flex-shrink: 0;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.nav-cta:hover { background: #3a5e9e; text-decoration: none; }

/* ── BURGER MENU (Mobile) ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  min-height: 44px;
  min-width: 44px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.25s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--primary);
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  z-index: 199;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-link {
  color: rgba(255,255,255,.8);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-mobile-link:last-of-type { border-bottom: none; }
.nav-mobile-link:hover { color: white; text-decoration: none; }
.nav-mobile-cta {
  display: block;
  margin-top: 16px;
  background: white;
  color: var(--primary);
  font-size: 15px;
  font-weight: 800;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
}
.nav-mobile-cta:hover { text-decoration: none; }

/* ── FOOTER ── */
.landing-footer {
  background: var(--primary);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 32px 24px;
  font-size: 14px;
  margin-top: 80px;
}
.landing-footer a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  margin: 0 8px;
}
.landing-footer a:hover { color: white; text-decoration: underline; }
.landing-footer .footer-copy {
  margin-bottom: 8px;
  font-weight: 500;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  nav { padding: 0 16px; }
}
@media (min-width: 769px) {
  .nav-mobile-menu { display: none !important; }
}
