/* ═══════════════════════════════════════════════════
   PREVOYA – Shared Stylesheet
   Used by: index.html, imprint.html
   ═══════════════════════════════════════════════════ */

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

:root {
  --green:      #69D08C;
  --green-d:    #4db876;
  --green-lo:   rgba(105,208,140,0.13);
  --navy:       #012562;
  --navy-lo:    rgba(1,37,98,0.07);
  --cream:      #F9EEE7;
  --cream2:     #F3E4D8;
  --text:       #012562;
  --body:       #2a4a70;
  --muted:      #6a7e96;
  --border:     rgba(1,37,98,0.10);
  --shadow-sm:  0 2px 12px rgba(14,59,124,0.07);
  --shadow-md:  0 8px 32px rgba(14,59,124,0.10);
  --shadow-lg:  0 24px 64px rgba(14,59,124,0.14);
  --radius:     16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── NAV ─────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  display: flex; align-items: center;
  padding: 0 2rem; gap: 0;
  background: #F9EEE7;
  border-bottom: 1.5px solid rgba(1,37,98,0.15);
}

.nav-logo {
  display: block;
  text-decoration: none;
  height: 140px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 100%;
  width: auto;
  max-width: 560px;
  object-fit: contain;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-left: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}
.nav-links a,
.nav-links a:link,
.nav-links a:visited {
  color: #012562 !important;
  text-decoration: none !important;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover { color: #69D08C !important; }
.nav-links a.nav-current,
.nav-links a.nav-current:link,
.nav-links a.nav-current:visited {
  color: #012562 !important;
  opacity: 0.35;
  pointer-events: none;
}

.lang-plain {
  display: flex;
  align-items: center;
  gap: 0;
}
.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--muted);
  letter-spacing: 0.8px;
  padding: 0.15rem 0.35rem;
  border-bottom: 2px solid transparent;
  transition: all 0.18s;
}
.lang-btn.active { color: var(--navy); border-bottom-color: var(--green); }
.lang-btn:hover:not(.active) { color: var(--navy); }
.lang-sep { color: rgba(1,37,98,0.2); font-size: 0.7rem; padding: 0 0.1rem; pointer-events: none; }

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  background: #012562;
  padding: 1.5rem 2rem;
  text-align: center;
}
.footer-logo-img {
  height: 130px;
  width: auto;
  margin: 0 auto 1.25rem;
  display: block;
}
.footer-divider {
  width: 48px;
  height: 2px;
  background: rgba(105,208,140,0.45);
  border-radius: 2px;
  margin: 0 auto 1.25rem;
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.footer-nav a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }
.footer-nav a.nav-current {
  color: rgba(255,255,255,0.3);
  pointer-events: none;
}
.footer-copy {
  color: rgba(255,255,255,0.35);
  font-size: 0.79rem;
  line-height: 1.8;
}
.footer-copy a {
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
}

/* ─── SHARED SECTION UTILITIES ───────────────────── */
.section { padding: 6.5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

.eyebrow {
  text-align: center;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.85rem;
}
.sec-h {
  text-align: center;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--navy);
  margin-bottom: 1.1rem;
}
.sec-lead {
  text-align: center;
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 3.75rem;
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.95rem 2.1rem;
  border-radius: 12px;
  font-size: 0.94rem;
  font-weight: 700;
  font-family: inherit;
  transition: all 0.22s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.1px;
}
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 20px rgba(105,208,140,0.40);
}
.btn-primary:hover {
  background: var(--green-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(105,208,140,0.50);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(1,37,98,0.18);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--navy-lo);
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 760px) {
  .site-nav { padding: 0 0.9rem; }
  .nav-right { gap: 1rem; }
  .nav-links { display: none; }
  .nav-logo { height: 110px; }
}
