@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("great-vibes-normal.woff2") format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("cormorant-garamond-normal.woff2") format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("cormorant-garamond-italic.woff2") format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("open-sans-normal.woff2") format('woff2');
}

:root {
  --paper: #fffcfa;
  --paper-alt: #fdf2e8;
  --card-bg: #ffffff;
  --ink: #3b2430;
  --muted: #786169;
  --burgundy: #8f1f4f;
  --burgundy-strong: #6f1740;
  --crimson: #8f1f4f;
  --gold: #96591a;
  --gold-soft: #e7c68c;
  --line: rgba(143, 31, 79, 0.15);
  --shadow: 0 20px 45px -25px rgba(111, 23, 64, 0.35);
  --gradient: linear-gradient(90deg, #5e1a63 0%, #9b1f58 26%, #d22342 54%, #e2682d 80%, #e8ab74 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #200d17;
    --paper-alt: #2a121e;
    --card-bg: #2a121e;
    --ink: #f4e6ec;
    --muted: #c8a6b3;
    --burgundy: #f0a8c4;
    --burgundy-strong: #f7c2d8;
    --crimson: #f0a8c4;
    --gold: #e8bd78;
    --gold-soft: #f3d9ab;
    --line: rgba(232, 189, 120, 0.2);
    --shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  --paper: #200d17;
  --paper-alt: #2a121e;
  --card-bg: #2a121e;
  --ink: #f4e6ec;
  --muted: #c8a6b3;
  --burgundy: #f0a8c4;
  --burgundy-strong: #f7c2d8;
  --crimson: #f0a8c4;
  --gold: #e8bd78;
  --gold-soft: #f3d9ab;
  --line: rgba(232, 189, 120, 0.2);
  --shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Open Sans', -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--burgundy); }
a:hover, a:active { color: var(--burgundy-strong); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }

.gradient-bar { height: 5px; background: var(--gradient); }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 28px;
}

header.site { padding: 34px 0 18px; }
.site-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.logo-mark {
  background: #fdf2e8;
  border: 1px solid rgba(143, 31, 79, 0.12);
  border-radius: 10px;
  padding: 8px 16px;
}
.logo-mark img { height: 40px; width: auto; display: block; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.back-link:hover { color: var(--burgundy); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 10px;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--burgundy);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 4vw, 2.9rem); }

main.legal { padding: 34px 0 80px; }
.legal-intro { max-width: 68ch; margin: 18px 0 46px; }
.legal-intro p { color: var(--muted); margin: 0; }

.legal-body { max-width: 70ch; }
.legal-body section { margin: 0 0 40px; }
.legal-body h2 { font-size: 1.5rem; margin-bottom: 14px; }
.legal-body h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 22px 0 8px;
}
.legal-body p { margin: 0 0 14px; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body ul { margin: 0 0 14px; padding-left: 20px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.legal-body a:hover { text-decoration-color: var(--burgundy); }

.card-box {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 28px;
  box-shadow: var(--shadow);
  margin: 0 0 40px;
  max-width: 70ch;
}
.card-box p { margin: 3px 0; }
.card-box .label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-top: 16px;
}
.card-box .label:first-child { margin-top: 0; }

footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 50px;
  font-size: 13.5px;
  color: var(--muted);
}
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; }
.footer-links a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.footer-links a:hover { color: var(--burgundy); border-color: var(--burgundy); }

/* Wartungshinweis */
.legal-body .wartung-text { margin-top: 24px; }

/* Name in Schreibschrift statt Logo */
.name-marke { font-family: 'Great Vibes', cursive; font-size: 2.1rem; line-height: 1; color: var(--burgundy); text-decoration: none; }
a.name-marke:hover { color: var(--burgundy-strong); }
