/* bamadi.de – Legal Pages Shared Styles */
/* Schriften: ../fonts/fonts.css im <head> jeder Legal-Seite einbinden */

:root {
  --navy: #1A3A5C;
  --gold: #E8A000;
  --bg: #F7F7F5;
  --text: #1A1A1A;
  --muted: #6B6B6B;
  --border: #E2E2DE;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 300;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.site-header .inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'DM Serif Display', serif;
  font-size: 32px;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-decoration: none;
}
.logo span { color: var(--gold); }
.back-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
}
.back-link:hover { color: var(--navy); }

/* Main Content */
.page-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 64px 32px 100px;
}

.page-title {
  font-family: 'DM Serif Display', serif;
  font-size: 42px;
  color: var(--navy);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
}
.page-meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}

/* Sections */
.section {
  margin-bottom: 48px;
}
h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 14px;
  margin-top: 40px;
}
h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
  margin-top: 24px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
p {
  margin-bottom: 14px;
  color: #333;
}
p:last-child { margin-bottom: 0; }

ul, ol {
  padding-left: 20px;
  margin-bottom: 14px;
}
li { margin-bottom: 6px; color: #333; }

.highlight-box {
  background: #fff;
  border-left: 3px solid var(--gold);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 4px 4px 0;
}
.highlight-box p { margin-bottom: 0; font-size: 15px; }

.placeholder {
  background: #FFF3CD;
  border: 1px dashed #E8A000;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 500;
  color: #7A5200;
  font-size: 0.9em;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
}
th {
  background: var(--navy);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 400;
  letter-spacing: 0.03em;
}
td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
tr:nth-child(even) td { background: #fff; }

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 24px;
  font-size: 13px;
}
.site-footer a { color: rgba(255,255,255,0.8); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

@media (max-width: 600px) {
  .page-title { font-size: 30px; }
  .page-wrap { padding: 40px 20px 80px; }
  .site-header .inner { padding: 0 20px; }
}
