/* legal-style.css – Styling für Legal Pages mit daily·apps Design */

/* ============================================
   GLOBALE VARIABLEN
   ============================================ */
:root {
  /* Apple-Style Farben wie auf daily-app.com */
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --link-blue: #06c;
  --bg-gray: #f5f5f7;
  --bg-white: #ffffff;
  --border-light: rgba(0, 0, 0, 0.08);
}

/* ============================================
   FONTS - INTER WIE AUF DAILY-APP.COM
   ============================================ */
@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   BASIC STYLES
   ============================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.section-separator {
  border-bottom: 2px solid var(--border-light);
  margin: 2.0rem 0 0.0rem; /* Abstand oben/unten = "Zeilenvorschub" */
  width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   HEADER & NAVIGATION - WIE AUF DAILY-APP.COM
   ============================================ */
.header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 0 1.5rem;
  height: 48px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  margin-right: auto;
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  transition: opacity 0.3s;
}

.main-nav a:hover {
  opacity: 0.7;
}

/* ============================================
   LANGUAGE SWITCHER - WIE AUF DAILY-APP.COM
   ============================================ */
.lang-switcher {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
  padding-top: 0.5rem;
  margin-bottom: 2rem;
}

.lang-switcher button {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s;
  font-family: inherit;
  font-weight: 500;
  min-width: 50px;
}

.lang-switcher button:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.15);
}

.lang-switcher button.active {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
  font-weight: 600;
}

/* ============================================
   CONTENT AREA
   ============================================ */
.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

#content {
  line-height: 1.7;
}

/* Text-Blöcke = Absätze */
.text-block {
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-primary);
}

/* Fetter Text */
strong {
  font-weight: 600;
}

/* Überschriften im Text über ##Überschrift## */
.heading {
  font-size: 1.5rem;
  font-weight: 600;
  display: block;
  margin: 2rem 0 1rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

/* Links */
a {
  color: var(--link-blue);
  text-decoration: none;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

/* Loading */
.loading {
  text-align: center;
  padding: 40px;
  color: var(--text-tertiary);
}

/* ============================================
   FOOTER - WIE AUF DAILY-APP.COM
   ============================================ */
footer {
  background: var(--bg-gray);
  padding: 2rem 1.5rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border-light);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-copy {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
  /* Hide navigation on mobile */
  .main-nav {
    display: none;
  }
  
  .logo {
    font-size: 1.3rem;
  }
  
  /* Keep language switcher spacing consistent on mobile */
  .lang-switcher {
    margin-top: 1rem;
    padding-top: 0.5rem;
  }
  
  .content-wrapper {
    padding: 1.5rem 1rem 3rem;
  }
  
  .heading {
    font-size: 1.3rem;
  }
}