/* ============================================================
   PREFOUNDER — Legal pages (Impressum / Datenschutz)
   Same design language, simpler & formal: white, restrained.
   ============================================================ */

:root {
  --ivory:      #F7F1E6;
  --black:      #080A09;
  --espresso:   #4A2511;
  --bronze:     #844D2E;
  --rose-gold:  #DFA077;
  --champagne:  #F2E0CB;
  --warm-black: #11100E;

  --bronze-deep: #6E3F25;
  --line:        rgba(74, 37, 17, 0.14);
  --line-soft:   rgba(74, 37, 17, 0.08);
  --ink:         #1B1813;
  --ink-soft:    #5C5346;
  --paper:       #FFFFFF;
  --paper-tint:  #FBF8F2;

  --serif: "Roboto Serif", "Georgia", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 880px;
  --gutter: clamp(22px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.72;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--bronze); color: #fff; }

.l-wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Top bar ---------- */
.l-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
}
.l-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.l-brand img { width: 38px; height: 38px; border-radius: 6px; object-fit: contain; background: #fff; padding: 3px; border: 1px solid var(--line-soft); }
.l-brand .bn { font-family: var(--sans); font-weight: 700; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--black); line-height: 1.2; }
.l-brand .bn span { display: block; font-weight: 500; font-size: 10px; letter-spacing: 0.22em; color: var(--bronze); }
.l-back { font-family: var(--sans); font-size: 13.5px; font-weight: 500; color: var(--ink-soft); text-decoration: none; display: inline-flex; align-items: center; gap: 9px; transition: color 0.3s var(--ease); }
.l-back:hover { color: var(--bronze); }
.l-back .ar { transition: transform 0.3s var(--ease); }
.l-back:hover .ar { transform: translateX(-4px); }

.l-nav-right { display: flex; align-items: center; gap: 22px; }
.lang-switch { display: inline-flex; align-items: center; gap: 9px; }
.lang-switch a { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--ink-soft); text-decoration: none; transition: color 0.3s var(--ease); }
.lang-switch a:hover, .lang-switch a.active { color: var(--bronze); }
.lang-switch .sep { width: 1px; height: 12px; background: var(--line); }
.l-foot .lang-switch a { color: rgba(237,228,212,0.62); }
.l-foot .lang-switch a:hover, .l-foot .lang-switch a.active { color: var(--rose-gold); }
.l-foot .lang-switch .sep { background: rgba(223,160,119,0.18); }
@media (max-width: 480px) { .l-back span:not(.ar) { display: none; } .l-nav-right { gap: 14px; } }

/* ---------- Header ---------- */
.l-head { padding: clamp(56px, 9vw, 104px) 0 clamp(34px, 5vw, 54px); border-bottom: 1px solid var(--line); }
.l-eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bronze); display: inline-flex; align-items: center; gap: 13px; }
.l-eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--bronze); opacity: 0.7; }
.l-title { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.015em; color: var(--black); margin-top: 22px; }
.l-meta { margin-top: 20px; font-size: 14px; color: var(--ink-soft); }

/* ---------- Body ---------- */
.l-body { padding: clamp(40px, 6vw, 72px) 0 clamp(70px, 9vw, 120px); }
.l-section { padding: 0 0 clamp(34px, 4vw, 48px); }
.l-section + .l-section { border-top: 1px solid var(--line); padding-top: clamp(34px, 4vw, 48px); }

.l-h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 3vw, 33px);
  line-height: 1.12; letter-spacing: -0.01em; color: var(--espresso);
  display: flex; align-items: baseline; gap: 16px;
}
.l-h2 .l-num { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--bronze); flex: none; min-width: 30px; padding-top: 4px; }
.l-h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(19px, 2vw, 23px); color: var(--black); margin: 28px 0 10px; }

.l-section > p, .l-section > ul, .l-section > .l-card { margin-left: clamp(0px, 4vw, 46px); }
.l-section > p { margin-top: 14px; max-width: 68ch; }
.l-section > p:first-of-type { margin-top: 18px; }
.l-body p { font-size: 15.5px; color: var(--ink); line-height: 1.74; }
.l-body a { color: var(--bronze); text-decoration: none; border-bottom: 1px solid rgba(132,77,46,0.3); transition: border-color 0.3s, color 0.3s; }
.l-body a:hover { color: var(--bronze-deep); border-color: var(--bronze); }
.l-body strong { font-weight: 600; color: var(--espresso); }

.l-body ul { list-style: none; margin-top: 16px; display: grid; gap: 11px; max-width: 68ch; }
.l-body li { position: relative; padding-left: 24px; font-size: 15.5px; color: var(--ink); line-height: 1.66; }
.l-body li::before { content: ""; position: absolute; left: 0; top: 12px; width: 11px; height: 1px; background: var(--bronze); }
.l-body li strong { color: var(--espresso); }

/* Address / detail card */
.l-card {
  margin-top: 20px; background: var(--paper-tint); border: 1px solid var(--line);
  border-left: 2px solid var(--bronze); border-radius: 3px; padding: 26px 30px;
  max-width: 68ch;
}
.l-card .l-card-label { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bronze); margin-bottom: 12px; }
.l-card p { margin: 0; font-size: 15.5px; line-height: 1.66; }
.l-card .nm { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--black); line-height: 1.2; margin-bottom: 6px; }
.l-dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin-top: 4px; }
.l-dl dt { font-size: 13px; color: var(--ink-soft); letter-spacing: 0.01em; }
.l-dl dd { font-size: 15px; color: var(--ink); font-weight: 500; }

.l-note { margin-top: 22px; margin-left: clamp(0px, 4vw, 46px); padding: 16px 20px; background: var(--champagne); border-radius: 3px; font-size: 13.5px; color: var(--espresso); line-height: 1.62; max-width: 68ch; }
.l-note strong { display: block; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--bronze); margin-bottom: 5px; }

/* TOC */
.l-toc { margin-top: 30px; margin-left: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.l-toc a { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); text-decoration: none; border: 1px solid var(--line); border-radius: 100px; padding: 7px 15px; transition: all 0.3s var(--ease); }
.l-toc a:hover { color: var(--bronze); border-color: var(--bronze); }

/* ---------- Footer ---------- */
.l-foot { background: var(--black); color: rgba(237,228,212,0.62); padding: 44px 0 38px; }
.l-foot .l-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.l-foot .fb { display: flex; align-items: center; gap: 12px; }
.l-foot .fb img { width: 40px; height: 40px; border-radius: 6px; background: #fff; padding: 3px; }
.l-foot .fb .ft { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory); line-height: 1.2; }
.l-foot .fb .ft span { display: block; font-weight: 500; font-size: 10px; letter-spacing: 0.22em; color: var(--rose-gold); }
.l-foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.l-foot nav a { color: rgba(237,228,212,0.62); font-size: 13.5px; text-decoration: none; transition: color 0.3s; }
.l-foot nav a:hover { color: var(--rose-gold); }
.l-foot .cr { width: 100%; padding-top: 22px; margin-top: 4px; border-top: 1px solid rgba(223,160,119,0.14); font-size: 12.5px; }

@media (max-width: 620px) {
  .l-section > p, .l-section > ul, .l-section > .l-card, .l-note { margin-left: 0; }
  .l-h2 { gap: 12px; }
  .l-dl { grid-template-columns: 1fr; gap: 3px 0; }
  .l-dl dd { margin-bottom: 8px; }
}
