/* ============================================================
   NF COSMETICS GMBH — LEGAL PAGES v2
   ============================================================ */

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

:root {
  --bg-base:        #030705;
  --bg-mid:         #071209;
  --glass-bg:       rgba(255, 255, 255, 0.022);
  --glass-border:   rgba(255, 255, 255, 0.07);
  --silver:         linear-gradient(135deg, #96a4b6 0%, #d8e2ee 30%, #eef3f8 50%, #ccd6e4 70%, #a0afc2 100%);
  --silver-flat:    #c8d4e0;
  --silver-light:   #eaf0f6;
  --silver-dim:     #8a9cb0;
  --text-primary:   #f0f4f8;
  --text-secondary: #b0bec8;
  --text-muted:     #607080;
  --font:           -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --transition:     200ms ease;
  --radius:         2px;
  --container-max:  760px;
  --container-pad:  clamp(24px, 5vw, 80px);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(46, 150, 76, 0.12) 0%, transparent 52%),
    radial-gradient(ellipse at 4% 60%, rgba(36, 120, 60, 0.07) 0%, transparent 42%);
  color: var(--text-primary);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.09); border-radius: 2px; }

::selection { background: rgba(46,150,76,0.22); color: var(--silver-light); }

/* ── HEADER ── */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 70px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  opacity: 0.92;
  transition: opacity var(--transition);
}

.logo-link:hover { opacity: 1; }

.header-logo {
  height: 52px;
  width: 52px;
  display: block;
  object-fit: contain;
}

.back-link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  justify-self: start;
  white-space: nowrap;
}

.back-link:hover { color: var(--silver-flat); }

.back-link::before {
  content: '←';
  margin-right: 7px;
  font-size: 12px;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.back-link:hover::before { opacity: 1; }

/* ── LANG SWITCH ── */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.lang-btn {
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a0b4c8;
  cursor: pointer;
  padding: 6px 6px;
  transition: color var(--transition);
}

.lang-btn:hover  { color: #f0f4f8; }
.lang-btn.active { color: #f0f4f8; }

.lang-divider {
  color: var(--text-muted);
  font-size: 11px;
  opacity: 0.45;
}

/* ── MAIN ── */

main {
  flex: 1;
  padding: 148px var(--container-pad) 110px;
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin: 0 auto;
  width: 100%;
}

.page-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
  display: block;
}

.page-title {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 300;
  letter-spacing: -0.028em;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-meta {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 68px;
  padding-bottom: 52px;
  border-bottom: 1px solid var(--glass-border);
}

/* ── LEGAL CONTENT ── */

.legal-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.88;
}

.legal-body h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 44px 0 14px;
}

.legal-body h3:first-child { margin-top: 0; }

.legal-body p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.legal-body p:last-child { margin-bottom: 0; }

.legal-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-body a {
  color: var(--silver-flat);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 212, 224, 0.2);
  transition: border-color var(--transition), color var(--transition);
}

.legal-body a:hover {
  color: var(--silver-light);
  border-bottom-color: rgba(200, 212, 224, 0.5);
}

.legal-section {
  padding: 44px 0;
  border-bottom: 1px solid var(--glass-border);
}

.legal-section:last-child { border-bottom: none; }

/* ── FOOTER ── */

.footer {
  border-top: 1px solid var(--glass-border);
  padding: 52px 0;
  margin-top: auto;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  display: inline-block;
}

.footer-link:hover { color: var(--silver-flat); }

.footer-link.active { color: var(--silver-flat); }

.footer-copy {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.09em;
  opacity: 0.5;
}

/* ── RESPONSIVE ── */

@media (max-width: 640px) {
  main { padding-top: 128px; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .footer-links { justify-content: center; }

  .header-inner { padding: 0 20px; }

  .back-link { font-size: 9px; }
}
