/* ================================================
   Omelio – Legal Pages Shared Stylesheet
   Datenschutz · Impressum · AGB · Cookies
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons+Round');

:root {
  --bg:         #fbf9f1;
  --surf-lo:    #f6f4ec;
  --surf:       #f0eee6;
  --surf-max:   #e4e3db;
  --primary:    #735a3a;
  --primary-dk: #594325;
  --secondary:  #fddab2;
  --on-surface: #1b1c17;
  --on-mid:     #4e453c;
  --outline:    #80756b;
  --outline-v:  rgba(209,196,184,0.45);
  --white:      #ffffff;
  --error:      #ba1a1a;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--on-surface);
  line-height: 1.7;
}

/* ---------- BILINGUAL ---------- */
.de { display: revert; }
.en { display: none !important; }
body.lang-en .de { display: none !important; }
body.lang-en .en { display: revert !important; }
span.de { display: inline; }
span.en { display: none; }
body.lang-en span.de { display: none; }
body.lang-en span.en { display: inline; }

/* ---------- NAV ---------- */
.l-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,249,241,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--outline-v);
  padding: 0.95rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.l-nav-logo {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary-dk);
  text-decoration: none;
  letter-spacing: -0.03em;
}
.l-nav-back {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--on-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.l-nav-back:hover { color: var(--primary-dk); }
.l-nav-back .material-icons-round { font-size: 1rem; }
.l-nav-right { display: flex; align-items: center; gap: 1rem; }

.lang-switcher {
  display: flex; align-items: center;
  background: var(--surf-max);
  border-radius: 100px; padding: 3px; gap: 2px;
}
.lang-btn {
  background: transparent; border: none; cursor: pointer;
  padding: 4px 12px; border-radius: 100px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem; font-weight: 700; color: var(--on-mid);
  transition: background 0.2s, color 0.2s; letter-spacing: 0.04em;
}
.lang-btn.active { background: var(--white); color: var(--primary-dk); box-shadow: 0 1px 4px rgba(0,0,0,0.1); }

/* ---------- HERO ---------- */
.l-hero {
  background: var(--surf-lo);
  padding: 4rem 4rem 3rem;
  border-bottom: 1px solid var(--outline-v);
}
.l-hero-inner { max-width: 860px; margin: 0 auto; }
.l-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--secondary); color: var(--primary-dk);
  border-radius: 100px; padding: 5px 13px;
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.01em; margin-bottom: 1rem;
}
.l-badge .material-icons-round { font-size: 0.85rem; }
.l-hero-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.7rem);
  letter-spacing: -0.02em; margin-bottom: 0.6rem;
}
.l-meta { font-size: 0.83rem; color: var(--outline); margin-top: 0.4rem; }

/* ---------- CONTENT ---------- */
.l-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 4rem 5rem;
}

.l-section {
  margin-bottom: 2.8rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid var(--outline-v);
}
.l-section:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.l-section-num {
  font-size: 0.72rem; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}
.l-section h2 {
  font-family: 'Manrope', sans-serif; font-weight: 700;
  font-size: 1.2rem; letter-spacing: -0.015em;
  margin-bottom: 1rem; color: var(--on-surface);
}
.l-section p {
  font-size: 0.93rem; color: var(--on-mid); margin-bottom: 0.85rem; line-height: 1.8;
}
.l-section p:last-child { margin-bottom: 0; }
.l-section ul, .l-section ol {
  padding-left: 1.5rem; margin-bottom: 0.85rem;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.l-section li { font-size: 0.93rem; color: var(--on-mid); line-height: 1.75; }
.l-section a { color: var(--primary); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--outline-v); }
.l-section a:hover { color: var(--primary-dk); border-bottom-color: var(--primary); }
.l-section strong { color: var(--on-surface); font-weight: 600; }

.info-box {
  background: var(--surf-lo);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.info-box .material-icons-round { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.info-box p { font-size: 0.9rem; color: var(--on-mid); margin: 0; }

.contact-card {
  background: var(--surf-lo);
  border-radius: 16px;
  padding: 1.6rem;
  margin-bottom: 0.85rem;
}
.contact-card .cc-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--outline); font-weight: 700; margin-bottom: 0.5rem; }
.contact-card p { font-size: 0.93rem; color: var(--on-surface); margin: 0; line-height: 1.75; }

/* ---------- FOOTER ---------- */
.l-footer {
  background: var(--surf-lo);
  border-top: 1px solid var(--outline-v);
  padding: 2rem 4rem;
}
.l-footer-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.l-footer p { font-size: 0.8rem; color: var(--outline); }
.l-footer-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.l-footer-links a { font-size: 0.8rem; color: var(--on-mid); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.l-footer-links a:hover { color: var(--primary-dk); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .l-nav, .l-hero, .l-footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .l-content { padding: 2rem 1.5rem 4rem; }
}
