/* Impressum + Datenschutz: statische Seiten ohne React und ohne das Haupt-Bundle.
   Farben und Schriften wie tailwind.config.js / src/index.css der Startseite. */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/fonts/figtree-latin.woff2') format('woff2');
}

:root {
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-3: #6e6e73;
  --ink-5: #a1a1a6;
  --cloud: #f5f5f7;
  --cloud-2: #e9e9ee;
  --copper: #b9876a;
  --petrol: #2f9fc0;
}

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

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

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover {
  color: var(--petrol);
}

/* Kopf: Logo-Pille wie die Navigation der Startseite */
.kopf {
  display: flex;
  justify-content: center;
  padding: 24px 16px 0;
}
.kopf__pille {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 999px;
  background: #fff;
  padding: 10px 18px 10px 20px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.kopf__pille img {
  display: block;
  height: 18px;
  width: auto;
}
.kopf__zurueck {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

/* Inhalt */
.inhalt {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}
.eyebrow {
  margin: 0;
  color: var(--copper);
  font-size: 14px;
  font-weight: 600;
}
h1 {
  margin: 12px 0 0;
  font-size: clamp(30px, 7.5vw, 56px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
  hyphens: manual;
}
.stand {
  margin: 16px 0 0;
  color: var(--ink-3);
  font-size: 15px;
}
.text {
  margin-top: 40px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: break-word;
}
.text p,
.text ul {
  margin: 0 0 16px;
}
.text ul {
  padding-left: 22px;
}
.text li {
  margin-bottom: 4px;
}
.text h2 {
  margin: 56px 0 16px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.text h3 {
  margin: 32px 0 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.text strong {
  color: var(--ink);
  font-weight: 600;
}
.text code {
  border-radius: 4px;
  background: var(--cloud);
  padding: 1px 5px;
  font-size: 0.92em;
}

/* Knopf, der wie ein Link aussieht (öffnet die Cookie-Einstellungen) */
.linkknopf {
  display: inline;
  margin: 0;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.linkknopf:hover {
  color: var(--petrol);
}
.text .linkknopf {
  color: var(--ink);
}

/* Fuß wie auf der Startseite */
.fuss {
  background: var(--ink);
  color: var(--ink-5);
  font-size: 12px;
}
.fuss__innen {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  max-width: 1152px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}
.fuss__marke {
  display: flex;
  align-items: center;
  gap: 16px;
}
.fuss__marke img {
  height: 18px;
  width: auto;
}
.fuss p {
  margin: 0;
}
.fuss a,
.fuss .linkknopf {
  color: var(--ink-5);
  text-decoration: none;
}
.fuss a:hover,
.fuss .linkknopf:hover,
.fuss a[aria-current='page'] {
  color: var(--cloud);
}
.fuss ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Consent-Banner: gleiche Gestalt wie src/components/ConsentBanner.tsx */
.consent {
  position: fixed;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 70;
  max-width: 576px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  background: #fff;
  padding: 20px;
  color: var(--ink);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.45);
}
.consent[hidden] {
  display: none;
}
.consent__titel {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}
.consent__text {
  margin: 6px 0 0;
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.625;
}
.consent__text a {
  font-weight: 500;
}
.consent__text strong {
  color: var(--ink);
  font-weight: 600;
}
.consent__knoepfe {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.consent__knoepfe button {
  flex: 1;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  padding: 10px 20px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s;
}
.consent__knoepfe button:hover {
  background: var(--cloud);
}
@media (min-width: 768px) {
  .inhalt {
    padding-top: 80px;
  }
  .text {
    font-size: 17px;
  }
  .text h2 {
    font-size: 28px;
  }
  .fuss__innen {
    padding-bottom: 64px;
  }
  .consent {
    top: auto;
    right: auto;
    bottom: 24px;
    left: 24px;
    max-width: 384px;
    margin: 0;
  }
}

:focus-visible {
  outline: 2px solid var(--petrol);
  outline-offset: 2px;
}
