/* ============================================
   nightbyte — Stylesheet für Impressum & Datenschutz
   nutzt die lokalen Fonts aus /fonts wie style.css
   ============================================ */

/* cormorant-garamond-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2');
}
/* cormorant-garamond-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2');
}
/* cormorant-garamond-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2');
}
/* cormorant-garamond-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/cormorant-garamond-v21-latin-600.woff2') format('woff2');
}

:root {
  --bg: #08070b;
  --ink: #e9e2d0;
  --ink-soft: #c9c2b2;
  --gold: #c9a24b;
  --gold-dim: rgba(201, 162, 75, 0.55);
  --muted: #6e6878;
  --hairline: rgba(201, 162, 75, 0.25);
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, monospace;
  --serif: 'Cormorant Garamond', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* dieselbe Vignette wie auf der Startseite, nur ruhiger */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 40% at 50% 0%, rgba(201,162,75,0.05), transparent 70%),
    radial-gradient(ellipse 120% 100% at 50% 50%, transparent 55%, rgba(0,0,0,0.5) 100%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Kopf ---------- */

header {
  position: relative;
  z-index: 1;
  padding: 1.6rem 1.8rem;
}

header a {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.45em;
  text-transform: lowercase;
  color: var(--gold-dim);
  text-decoration: none;
  transition: color 0.25s;
}

header a:hover,
header a:focus-visible {
  color: var(--gold);
  outline: none;
}

/* ---------- Inhalt ---------- */

.wrap {
  flex: 1;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.6rem 5rem;
}

/* Seitentitel */
.wrap h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.wrap h1::after {
  content: "";
  display: block;
  width: min(320px, 55vw);
  height: 1px;
  margin-top: 1.4rem;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* Hauptabschnitte (1., 2., 3. …) */
.wrap h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 4.5vw, 2.1rem);
  letter-spacing: 0.03em;
  line-height: 1.25;
  color: var(--ink);
  margin: 4rem 0 1.4rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--hairline);
}

/* Unterabschnitte als goldene Mono-Eyebrows */
.wrap h3 {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 2.6rem 0 0.9rem;
}

.wrap h4 {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2rem 0 0.7rem;
}

.wrap p {
  font-size: 1.12rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.wrap ul {
  margin: 0 0 1.2rem 0;
  padding-left: 1.4rem;
  list-style: none;
}

.wrap ul li {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 0.55rem;
  position: relative;
}

.wrap ul li::before {
  content: "—";
  position: absolute;
  left: -1.4rem;
  color: var(--gold-dim);
}

.wrap a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  transition: border-color 0.25s;
  word-break: break-word;
}

.wrap a:hover,
.wrap a:focus-visible {
  border-color: var(--gold);
  outline: none;
}

/* Adress-/Kontaktblöcke direkt nach h1 oder Eyebrows leicht hervorheben */
.wrap .card {
  border-left: 1px solid var(--hairline);
  padding: 0.3rem 0 0.3rem 1.4rem;
  margin: 1.6rem 0;
}

.wrap .card p {
  margin-bottom: 0.4rem;
}

/* ---------- Fuß ---------- */

footer {
  position: relative;
  z-index: 1;
  padding: 1.4rem 1.8rem;
  display: flex;
  gap: 1.8rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-top: 1px solid rgba(201, 162, 75, 0.12);
}

footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}

footer a:hover,
footer a:focus-visible {
  color: var(--gold);
  border-color: var(--hairline);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
