/* =========================================================
   PillePalle — Impressum, Datenschutz, 404 (schlichte Textseiten)
   ========================================================= */
:root {
  --bg: #0b0b0b;
  --ink: #ece8df;
  --muted: #8a867f;
  --line: rgba(236, 232, 223, 0.14);
  --cream: #f2ead3;
  --accent: #ff4d24;
  --f-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --f-marker: "Permanent Marker", "Gluten", cursive;
  --gutter: clamp(16px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.legal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter);
}
.legal-logo { display: block; width: 58px; height: 58px; transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.legal-logo:hover { transform: rotate(-10deg) scale(1.06); }
.legal-logo img { width: 100%; height: 100%; display: block; }
.legal-back {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px;
}
.legal-back:hover { border-color: var(--accent); }

.legal {
  max-width: 760px; margin: 0 auto; padding: clamp(24px, 6vw, 72px) var(--gutter) 96px;
}
.legal .kicker { font-family: var(--f-marker); color: var(--accent); font-size: 18px; margin: 0 0 6px; transform: rotate(-2deg); display: inline-block; }
.legal h1 { font-weight: 400; font-size: clamp(40px, 7vw, 72px); line-height: 1; letter-spacing: -0.045em; margin: 0 0 40px; }
.legal h2 {
  font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin: 44px 0 12px; padding-top: 20px; border-top: 1px solid var(--line);
}
.legal h3 { font-size: 18px; font-weight: 500; margin: 26px 0 6px; }
.legal p, .legal ul { margin: 0 0 14px; color: rgba(236, 232, 223, .86); }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.legal .big { font-size: 20px; color: var(--ink); }
.legal .stand { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 48px; }

/* fehlende Angaben aus dem CMS (Rechtliches) – fallen bewusst auf */
.todo { color: var(--accent); border-bottom: 1px dashed var(--accent); }
[hidden] { display: none !important; }

/* 404 */
.lost { min-height: calc(100svh - 100px); display: grid; place-content: center; text-align: center; padding: 0 var(--gutter) 60px; }
.lost h1 { font-weight: 400; font-size: clamp(48px, 10vw, 120px); letter-spacing: -0.05em; line-height: .95; margin: 8px 0 18px; }
.lost p { color: var(--muted); margin: 0 0 28px; }
.lost .kicker { font-family: var(--f-marker); color: var(--accent); font-size: 20px; transform: rotate(-3deg); display: inline-block; }
.lost .home {
  justify-self: center; display: inline-block; padding: 14px 24px; border-radius: 28px 18px 30px 16px / 22px 30px 16px 26px;
  background: var(--cream); color: #000; text-decoration: none; font-weight: 500;
}
.lost .home:hover { background: var(--accent); color: #000; }

/* Website-Credit: kleiner Zettel mit Klebeband */
.credit {
  position: relative; display: inline-block; margin: 8px 0 18px; padding: 26px 28px 20px;
  background: var(--cream); color: #111; transform: rotate(-1.5deg);
  box-shadow: 0 14px 30px rgba(0,0,0,.45);
}
.credit-tape {
  position: absolute; top: -11px; left: 50%; width: 92px; height: 22px; margin-left: -46px;
  background: rgba(255, 252, 240, .55); transform: rotate(3deg);
}
.legal .credit p { margin: 0; color: #111; }
.legal .credit .credit-kicker { font-family: var(--f-marker); font-size: 15px; color: var(--accent); }
.legal .credit .credit-name { font-size: clamp(28px, 5vw, 40px); letter-spacing: -0.045em; line-height: 1.05; margin: 4px 0 8px; }
.legal .credit .credit-role { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #5f5b55; }
