/* FlipUp Deals – Design-System (Konzept: docs/DESIGN.md)
   Marke wie flipupde.de (warmes Off-White, Rot, Space Grotesk + Inter), Produktkarten im Mittelpunkt. */

/* ---------- Schriften (lokal, keine externen Requests) ---------- */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/space-grotesk-latin.woff2) format("woff2");
}

/* Nur ein Schnitt, nur für ein Wort in der Startseiten-H1 */
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/caveat-700.woff2) format("woff2");
}

/* ---------- Tokens ---------- */

:root {
  --bg: #fbf7f5;
  --bg-alt: #f6ebe6;
  --surface: #ffffff;
  --text: #221512;
  --text-muted: #6e5c56;
  --accent: #e3402a;       /* nur Flächen, Linien, Punkte (Weiß darauf: 4,2:1) */
  --accent-ink: #b02c19;   /* Text, Links, Hover (Weiß darauf: 6,5:1) */
  --accent-tint: #fbe4df;
  --border: #ecdcd4;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-script: "Caveat", cursive;

  --max-width: 1200px;
  --gutter: 20px;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --radius-pill: 999px;
  --shadow-card: 0 16px 32px -22px rgba(34, 21, 18, 0.35);
  --shadow-hover: 0 22px 40px -22px rgba(34, 21, 18, 0.45);
  --shadow-pop: 0 10px 30px -14px rgba(34, 21, 18, 0.25);
  --focus: 3px solid var(--accent-ink);

  color-scheme: light;
}

@media (min-width: 768px) {
  :root { --gutter: 28px; }
}

/* ---------- Reset und Basis ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1000px 600px at 12% 0%, rgba(227, 64, 42, 0.13), transparent 60%),
    radial-gradient(800px 600px at 100% 10%, rgba(227, 64, 42, 0.08), transparent 55%),
    radial-gradient(900px 700px at 0% 100%, rgba(227, 64, 42, 0.07), transparent 55%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 0.75rem; }

img { max-width: 100%; height: auto; }

a { color: var(--accent-ink); }
a:hover { text-decoration-thickness: 2px; }

button, input, select { font: inherit; color: inherit; }

:focus-visible { outline: var(--focus); outline-offset: 2px; border-radius: 4px; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Header / Navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
  transition: padding 0.25s ease;
}

.site-header.scrolled { padding: 10px 12px 0; }

.nav-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: padding 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled .nav-inner {
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-pop);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.brand b { color: var(--accent-ink); font-weight: 700; }

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
}

.nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-menu a:hover { color: var(--accent-ink); background: var(--accent-tint); }
.nav-menu a[aria-current="page"] { color: var(--text); background: var(--bg-alt); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* Mobil: Menü hinter Button (nur wenn JavaScript läuft, sonst bleibt die Linkzeile sichtbar) */
@media (max-width: 767px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav-menu { display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 4px 0 8px; }
  .js .nav-menu a { padding: 10px 14px; }
  .js .site-header.nav-open .nav-menu { display: flex; }
  .js .site-header.nav-open .nav-inner {
    background: var(--surface);
    border-color: var(--border);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow-pop);
  }
}

/* ---------- Buttons und Chips ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--text);
  color: var(--bg);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--accent-ink); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-block { width: 100%; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--surface); color: var(--accent-ink); border: 1.5px solid var(--accent-ink); }

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

button.chip { cursor: pointer; transition: border-color 0.15s ease, color 0.15s ease; }
button.chip:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
button.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ---------- Hero (Startseite) ---------- */

.hero { padding: 40px 0 24px; }

.hero h1 {
  max-width: 16em;
  margin: 0 0 16px;
  font-size: clamp(2rem, 5.5vw, 3rem);
  line-height: 1.1;
}

.accent-script {
  position: relative;
  padding: 0 2px;
  color: var(--accent-ink);
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1;
}
.accent-script::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 0.08em;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.55;
}

.hero-sub {
  max-width: 34em;
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.shops { margin: 0; color: var(--text-muted); font-size: 0.88rem; }
.shops:empty { display: none; }

@media (min-width: 768px) {
  .hero { padding: 64px 0 36px; }
}

/* ---------- Deals-Bereich ---------- */

.deals { padding-bottom: 64px; }

.notice {
  margin: 0 0 28px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  color: var(--accent-ink);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Filter, Suche und Sortierung brauchen JavaScript */
.controls { display: none; }
.js .controls { display: flex; flex-direction: column; gap: 14px; margin: 0 0 24px; }

.filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
#cats { display: contents; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; }

.field input,
.field select {
  min-height: 44px;
  width: 100%;
  padding: 8px 16px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23221512' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px 8px;
}
.field { flex: 1 1 100%; }
@media (min-width: 480px) {
  .field { flex: 1 1 200px; }
  .field-sort { flex: 0 1 230px; }
}
.field input::placeholder { color: var(--text-muted); opacity: 1; }

@media (min-width: 768px) {
  .js .controls { flex-direction: row; align-items: center; justify-content: space-between; }
  .toolbar { flex-wrap: nowrap; flex: 0 1 540px; }
  .filters { flex-wrap: wrap; overflow: visible; }
}

.results-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin: 0 0 14px;
}
.deal-count { min-height: 1.6em; margin: 0; color: var(--text-muted); font-size: 0.9rem; }
.ad-note { margin: 0; color: var(--accent-ink); font-size: 0.85rem; font-weight: 500; }

.noscript-note { margin: 0 0 14px; color: var(--text-muted); font-size: 0.9rem; }

.deal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 480px) { .deal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .deal-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .deal-grid { grid-template-columns: repeat(4, 1fr); } }

.empty-state {
  grid-column: 1 / -1;
  padding: 48px 16px;
  text-align: center;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-m);
}
.empty-state strong { display: block; margin-bottom: 4px; color: var(--text); font-family: var(--font-display); font-size: 1.1rem; }

/* ---------- Deal-Karte ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
}
.card-media-empty { background: var(--bg-alt); }
.card-media-empty::after {
  content: "Kein Bild verfügbar";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px 16px;
}

.card-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.7em;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.card-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: auto;
  padding-top: 4px;
}
.card-price {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.card-old { color: var(--text-muted); font-size: 0.9rem; text-decoration: line-through; }

.badge {
  align-self: center;
  margin-left: auto;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.card .badge {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  box-shadow: 0 2px 8px -2px rgba(34, 21, 18, 0.25);
}

.card-found { margin: 0; color: var(--text-muted); font-size: 0.78rem; }

.card .btn { margin-top: 4px; }

/* ---------- Abschnitte, Projekte ---------- */

.section { padding: 56px 0; }
.section-divider { width: 44px; height: 2px; margin: 0 auto 36px; background: var(--accent); }
.section-label {
  margin: 0 0 10px;
  color: var(--accent-ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section h2 { margin-bottom: 24px; font-size: clamp(1.5rem, 3vw, 2rem); }


/* ---------- Textseiten: Über uns und Rechtstexte ---------- */

.page { padding: 32px 0 56px; }
.page-narrow { max-width: 820px; }

.prose,
.legal-prose {
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.legal { padding: 24px var(--gutter) 56px; }

.legal-prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}
@media (min-width: 768px) { .legal-prose { padding: 40px; } }

.prose > :first-child, .legal-prose > :first-child { margin-top: 0; }

.prose h1, .legal-prose h1 { margin: 0 0 1.25rem; font-size: clamp(1.7rem, 4vw, 2.3rem); }
.prose h2, .legal-prose h2 { margin: 2.25rem 0 0.6rem; font-size: 1.25rem; scroll-margin-top: 90px; }
.prose h3, .legal-prose h3 { margin: 1.5rem 0 0.5rem; font-size: 1.05rem; scroll-margin-top: 90px; }
.prose h4, .legal-prose h4 { margin: 1.25rem 0 0.4rem; font-size: 1rem; scroll-margin-top: 90px; }
.prose p, .legal-prose p { margin: 0 0 0.85rem; }
.prose ul, .prose ol, .legal-prose ul, .legal-prose ol { margin: 0.5rem 0 1rem; padding-left: 1.4rem; }
.prose li, .legal-prose li { margin-bottom: 0.35rem; }
.prose li::marker, .legal-prose li::marker { color: var(--accent); }
.prose address, .legal-prose address { font-style: normal; margin: 0 0 0.85rem; }
.prose strong, .legal-prose strong { font-weight: 600; }
.prose blockquote, .legal-prose blockquote { margin: 1rem 0; padding: 0.25rem 0 0.25rem 1rem; border-left: 3px solid var(--accent); color: var(--text-muted); }
.prose hr, .legal-prose hr { margin: 1.75rem 0; border: 0; border-top: 1px solid var(--border); }
.prose a, .legal-prose a { color: var(--accent-ink); text-underline-offset: 2px; }
.legal-prose :target { background: var(--accent-tint); border-radius: 4px; }

.prose table, .legal-prose table {
  display: block;
  max-width: 100%;
  margin: 1rem 0 1.25rem;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.prose th, .prose td, .legal-prose th, .legal-prose td {
  padding: 8px 12px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.prose th, .legal-prose th { background: var(--bg-alt); font-weight: 600; }

/* Bausteine, die in den Kanzlei-Texten und im Impressum bereits verwendet werden */
.legal-prose .section { margin-top: 1.5rem; padding: 1.5rem 0 0; border-top: 1px solid var(--border); }
.legal-prose .section > :first-child { margin-top: 0; }
.legal-prose .toc {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
}
.legal-prose .toc p { margin-bottom: 0.4rem; font-weight: 600; }
.legal-prose .toc ol { margin: 0; }
.legal-prose .updated,
.legal-prose .legal-copyright { color: var(--text-muted); font-size: 0.85rem; }
.legal-prose .legal-copyright { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }

/* Über uns */
.prose .lede { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 1.5rem; }
.prose .about-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0.5rem 0 1rem; padding: 0; list-style: none; }
.prose .about-chips li { margin: 0; }

/* ---------- Deal-Detailseite ---------- */

.detail { padding: 24px 0 56px; }
.detail > .container { max-width: 980px; }
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.back-link:hover { color: var(--accent-ink); text-decoration: underline; }

.detail-card {
  display: grid;
  gap: 20px;
  overflow: hidden;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}
.detail-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); border-radius: var(--radius-m); border: 1px solid var(--border); }
.detail-media img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 16px; object-fit: contain; }
.detail-media.card-media-empty { background: var(--bg-alt); }
.detail-info { display: flex; flex-direction: column; gap: 12px; }
.detail-meta { margin: 0; color: var(--text-muted); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.detail-title { font-size: clamp(1.3rem, 3vw, 1.8rem); line-height: 1.25; }
.detail-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.detail-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.detail-price-row .card-old { font-size: 1.05rem; }
.detail-price-row .badge { margin-left: 0; }
.disclosure { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.82rem; line-height: 1.6; }
.loading { padding: 3rem 1rem; text-align: center; color: var(--text-muted); }

@media (min-width: 768px) {
  .detail-card { grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 28px; align-items: center; }
}

/* ---------- Footer ---------- */

.site-footer {
  margin-top: 40px;
  padding: 48px 0 24px;
  background: var(--text);
  color: rgba(255, 255, 255, 0.65);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 480px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; } }

.footer-brand { margin: 0 0 10px; color: #fff; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.footer-tagline { max-width: 320px; margin: 0; font-size: 0.92rem; line-height: 1.6; }
.footer-heading { margin: 0 0 14px; color: rgba(255, 255, 255, 0.5); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
}

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .card:hover, .btn:hover, 
}

/* ---------- Druck ---------- */

@media print {
  .site-header, .site-footer, .skip-link, .controls, .notice, .nav-toggle { display: none !important; }
  body { display: block; background: #fff; color: #000; font-size: 11pt; }
  .container, .page-narrow { max-width: none; padding: 0; }
  .legal-prose, .prose { padding: 0; background: none; border: 0; box-shadow: none; color: #000; font-size: 11pt; }
  .legal-prose a, .prose a { color: #000; text-decoration: underline; }
  .legal-prose a[href^="http"]::after, .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; word-break: break-all; }
  h1, h2, h3, h4 { break-after: avoid; page-break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  table, tr, img { break-inside: avoid; }
}
