/* =========================================================
   KLARPRESSWERK — LEGAL PAGES SHARED STYLES
   ========================================================= */

/* Selbst gehostete Schriften, keine externe Verbindung */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/fraunces-full-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/fraunces-full-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/manrope-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/manrope-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --green-deep: #143a1d;
  --green: #1f5b2c;
  --gold: #d9a441;
  --gold-soft: #f0d99a;
  --cream: #f6efdf;
  --cream-light: #faf5e8;
  --paper: #fbf8f0;
  --ink: #1a1f1a;
  --ink-soft: #4a524a;
  --ink-mute: #7a8278;
  --line: rgba(20, 58, 29, 0.16);
  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================================
   NAV (oben)
   ========================================================= */
.legal-nav {
  background: var(--green-deep);
  padding: 18px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.legal-nav .brand img {
  height: 28px;
  width: auto;
  display: block;
}
.legal-nav .back {
  color: var(--cream);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(251, 248, 240, 0.25);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.legal-nav .back:hover {
  background: rgba(251, 248, 240, 0.1);
  border-color: rgba(251, 248, 240, 0.5);
}
.legal-nav .back .arrow {
  transition: transform 0.3s ease;
}
.legal-nav .back:hover .arrow {
  transform: translateX(-3px);
}

/* =========================================================
   HERO
   ========================================================= */
.legal-hero {
  max-width: 780px;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 96px) var(--gutter) clamp(24px, 4vh, 40px);
}
.legal-eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.legal-eyebrow .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 10px;
  transform: translateY(-2px);
}
.legal-hero h1 {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
  color: var(--green-deep);
}
.legal-hero h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--green);
}
.legal-hero .updated {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0;
  letter-spacing: 0.04em;
}

/* =========================================================
   BODY
   ========================================================= */
.legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(80px, 14vh, 140px);
}
.legal-body > p:first-of-type {
  margin-top: 24px;
}
.legal-body h2 {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 56px 0 16px;
  color: var(--green-deep);
}
.legal-body h2:first-child {
  margin-top: 24px;
}
.legal-body h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  margin: 32px 0 10px;
  color: var(--green-deep);
}
.legal-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body em { font-style: italic; color: var(--green); font-variation-settings: "opsz" 144, "SOFT" 100; }
.legal-body a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
  word-break: break-word;
}
.legal-body a:hover { color: var(--green-deep); }
.legal-body ul {
  padding-left: 24px;
  margin: 0 0 18px;
}
.legal-body ul li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.legal-body ul li strong { color: var(--ink); }

/* =========================================================
   ADDRESS BLOCK (Impressum, Datenschutz)
   ========================================================= */
.legal-address {
  background: var(--cream);
  padding: 22px 26px;
  border-left: 3px solid var(--gold);
  margin: 0 0 24px;
  font-style: normal;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}
.legal-address strong {
  display: block;
  margin-bottom: 8px;
  color: var(--green-deep);
  font-weight: 600;
}
.legal-address a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   PLACEHOLDERS (gold markiert, damit sofort ersichtlich was noch fehlt)
   ========================================================= */
.placeholder {
  background: rgba(217, 164, 65, 0.22);
  padding: 1px 8px;
  border-radius: 3px;
  color: var(--green-deep);
  font-weight: 600;
  font-size: 0.95em;
  font-family: var(--sans);
  white-space: nowrap;
}

/* =========================================================
   DISCLAIMER / NOTE BLOCKS
   ========================================================= */
.legal-disclaimer {
  background: rgba(217, 164, 65, 0.10);
  border: 1px solid rgba(217, 164, 65, 0.4);
  padding: 18px 22px;
  border-radius: 6px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 24px 0 32px;
}
.legal-disclaimer strong { color: var(--green-deep); font-weight: 600; }
.legal-disclaimer ul {
  margin-top: 12px;
  margin-bottom: 0;
  padding-left: 20px;
}
.legal-disclaimer ul li {
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--ink-soft);
}

/* =========================================================
   FOOTER
   ========================================================= */
.legal-footer {
  background: var(--green-deep);
  color: var(--cream);
  padding: 40px var(--gutter);
  text-align: center;
  font-size: 13px;
}
.legal-footer a {
  color: var(--cream);
  text-decoration: none;
  margin: 0 14px;
  opacity: 0.85;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.legal-footer a:hover {
  opacity: 1;
  color: var(--gold-soft);
}
.legal-footer .copyright {
  display: block;
  margin-top: 16px;
  opacity: 0.7;
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 600px) {
  .legal-nav .back span:not(.arrow) { display: none; }
  .legal-nav .back .arrow::after { content: " Startseite"; }
  .legal-hero h1 { font-size: clamp(32px, 9vw, 48px); }
  .legal-body h2 { margin-top: 44px; }
  .placeholder { white-space: normal; }
}

@media print {
  .legal-nav, .legal-footer { display: none; }
  body { background: white; color: black; }
  .legal-body a { color: black; text-decoration: underline; }
  .placeholder {
    background: white;
    border: 1px dashed #888;
    color: black;
    font-weight: normal;
  }
}
