/* Shared styles for impressum.html and datenschutz.html.
   Same fonts, colours and velvet background as index.html, without the intro and animations-heavy parts. */

@font-face {
  font-family: "Playfair Display"; font-style: normal; font-weight: 500 900; font-display: swap;
  src: url("fonts/playfair-display-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Caslon Text"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/libre-caslon-text-400.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Caslon Text"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/libre-caslon-text-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Caslon Text"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/libre-caslon-text-700.woff2") format("woff2");
}

:root {
  --velvet-deep: #1c0204;
  --f0: #2a0305; --f1: #420508; --f2: #5e070c; --f3: #7a0a10; --f4: #8e0e15;
  --f5: #7c0b12; --f6: #5a060b; --f7: #3d0407;
  --fold: linear-gradient(90deg,
    var(--f0) 0%, var(--f1) 9%, var(--f2) 24%, var(--f3) 36%, var(--f4) 43%,
    var(--f5) 51%, var(--f6) 66%, var(--f7) 80%, var(--f0) 100%);
  --band: #8b0009;
  --gold: #ffe36b;
  --gold-bright: #fff4b0;
  --text: #ffeaa0;
  --text-soft: #f3d98c;
  --panel: rgba(18, 0, 2, 0.72);
  --line: rgba(255, 216, 90, 0.28);
  --serif-display: "Playfair Display", "Didot", "Bodoni MT", Georgia, serif;
  --serif-body: "Libre Caslon Text", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--velvet-deep);
  color: var(--text);
  font-family: var(--serif-body);
  font-size: clamp(15px, .6vw + 12px, 17px);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
}
a { color: var(--gold); }
::selection { background: var(--gold); color: #2a0003; }

/* velvet curtain background (static, with a gentle sway) */
.velvet {
  position: fixed; inset: 0 -6%; z-index: -2;
  background-color: #2a0003;
  background-image: var(--fold);
  background-size: 150px 100%;
  animation: sway 16s ease-in-out infinite alternate;
}
.velvet::before {
  content: ""; position: absolute; inset: 0;
  background-image: var(--fold); background-size: 265px 100%;
  mix-blend-mode: multiply; opacity: .45;
}
@keyframes sway { to { transform: translateX(-14px) skewX(.7deg); } }
.spot {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 48% 42% at 50% 40%, rgba(215, 50, 35, .18), transparent 72%),
    radial-gradient(ellipse 70% 65% at 50% 50%, transparent 25%, rgba(0, 0, 0, .55) 70%, rgba(0, 0, 0, .8) 100%);
}

.glow {
  color: var(--gold-bright);
  text-shadow:
    0 0 2px #fff7cf,
    0 0 9px rgba(255, 220, 80, .9),
    0 0 22px rgba(255, 184, 0, .75),
    0 0 46px rgba(255, 150, 0, .45);
}

/* layout */
.top {
  width: min(820px, 100% - 32px); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 22px 0 10px;
}
.brand {
  font-family: var(--serif-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1rem, 2.4vw, 1.3rem); letter-spacing: .04em; text-decoration: none;
}
.back {
  font: 700 .72rem/1 var(--serif-display); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-bright); background: rgba(139, 0, 9, .55); border: 1px solid var(--line);
  border-radius: 999px; padding: 11px 18px; text-decoration: none; white-space: nowrap;
  transition: background .3s, box-shadow .3s;
}
.back:hover, .back:focus-visible { background: var(--band); outline: none; box-shadow: 0 0 14px rgba(255, 184, 0, .35); }

main {
  width: min(820px, 100% - 32px); margin: 12px auto 0;
  background: var(--panel);
  border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(24px, 4.5vw, 52px);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
}
h1 {
  font-family: var(--serif-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.9rem, 6vw, 3rem); line-height: 1.05; margin: 0 0 1.4rem;
  overflow-wrap: break-word; hyphens: manual;
}
h2 {
  font-family: var(--serif-display); font-weight: 700; font-size: 1.1rem; color: var(--gold);
  margin: 1.7em 0 .4em; letter-spacing: .02em;
}
p, ul { margin: 0 0 .8em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .25em; }
address { font-style: normal; margin-bottom: .8em; }
/* Art. 21 DSGVO: the objection right must be shown separately from the other information */
.hinweis {
  margin: 1.8em 0 .4em; padding: .2em 1.2em .6em;
  border: 1px solid var(--gold); border-left-width: 4px; border-radius: 4px;
  background: rgba(255, 227, 107, .06);
}
.hinweis h2 { margin-top: .9em; }
.stand { margin-top: 2em; font-size: .85em; color: var(--text-soft); opacity: .8; }

footer { text-align: center; padding: 34px 16px 48px; font-size: .82rem; letter-spacing: .08em; color: var(--text-soft); }
footer a { color: var(--text-soft); text-decoration: none; border-bottom: 1px solid rgba(255, 227, 107, .25); }
footer a:hover, footer a:focus-visible { color: var(--gold-bright); border-bottom-color: var(--gold); }
footer a[aria-current="page"] { color: var(--gold-bright); border-bottom-color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  .velvet { animation: none; }
}
