/* =========================================================
GRUNDFARBEN UND SCHRIFT
========================================================= */

:root {
  color-scheme: light;
  --ink: #101010;
  --brand-greige: #DFC6AD;
  --hero-ink: #fff;
  --muted: #626262;
  --line: #dedede;
}

* {
  box-sizing: border-box;
}

html {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: #fff;
  color: var(--ink);
}

/* =========================================================
SEITENBREITE
========================================================= */

.container {
  width: min(100% - 2.5rem, 1200px);
  margin-inline: auto;
}

/* =========================================================
BARRIEREFREIHEIT UND LINKS
========================================================= */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  background: #fff;
  padding: 0.75rem;
}

.skip-link:focus {
  left: 1rem;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid #80654e;
  outline-offset: 4px;
}

/* =========================================================
KOPFBEREICH UND LOGO
Vollständige PNG innerhalb der festen Kopfzeile
========================================================= */

.site-header {
  background: #fff;
}

.site-header .container {
  min-height: 92px;
  display: flex;
  align-items: center;
}

.logo {
  display: block;
  height: 92px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* =========================================================
HAUPTBEREICH
========================================================= */

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* =========================================================
HAUPTFLÄCHE
========================================================= */

.hero {
  flex: 1;
  display: flex;
  background: var(--brand-greige);
  color: var(--hero-ink);
}

.hero .container {
  flex: 1;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 5rem;
}

.hero h1 {
  font-size: clamp(3.25rem, 7vw, 6.5rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
  font-weight: 500;
  margin: 0;
}

/* =========================================================
FUSSLEISTE
========================================================= */

.site-footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-block: 0.6rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.3;
  margin: 0;
}

.site-footer strong {
  color: var(--ink);
}

/* =========================================================
RECHTLICHE SEITE
========================================================= */

.legal-main {
  min-height: 65vh;
  padding-block: clamp(3rem, 7vw, 6rem);
}

.legal-main h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  margin: 0 0 2.5rem;
}

.legal-content {
  max-width: 780px;
}

.legal-content h2 {
  font-size: 1.22rem;
  margin: 2.6rem 0 0.6rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  line-height: 1.7;
  font-size: 1rem;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.back {
  display: inline-block;
  margin-bottom: 2rem;
}

/* =========================================================
MOBILANSICHT
========================================================= */

@media (max-width: 650px) {
  .container {
    width: min(100% - 2rem, 1200px);
  }

  .site-header .container {
    min-height: 78px;
  }

  .logo {
    height: 78px;
    width: auto;
  }

  .hero .container {
    min-height: 55vh;
  }

  .footer-inner {
    display: block;
  }

  .site-footer nav {
    margin-top: 0.4rem;
  }
}

/* =========================================================
REDUZIERTE BEWEGUNG
========================================================= */

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