/* Beausite Classic ist die Design-Schrift (lizenzpflichtig).
   Sobald die Webfont-Dateien vorliegen, unter assets/fonts/ ablegen und hier einbinden:
@font-face { font-family: "Beausite Classic"; src: url("assets/fonts/BeausiteClassic-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Beausite Classic"; src: url("assets/fonts/BeausiteClassic-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
*/

:root {
  --gutter: 9px;
  --header-h: 26px;
  --footer-h: 25px;
  --muted: #949494;
  --font: "Beausite Classic", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html,
body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: var(--font);
  font-feature-settings: "lnum" 1, "pnum" 1;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.page {
  display: grid;
  grid-template-rows: var(--header-h) 1fr var(--footer-h);
  min-height: 100vh;
  min-height: 100svh;
  padding: 0 var(--gutter);
}

/* Header */
.header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header a {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 48px 24px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero__logo {
  width: min(392px, 70vw);
  height: auto;
  margin: 0;
}

.hero__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__text {
  max-width: 1014px;
  margin: 0;
  font-size: 19px;
  line-height: 1.1;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.footer nav {
  display: flex;
  gap: 4px;
}

/* Unterseiten (Impressum, Datenschutz) */
.legal {
  max-width: 720px;
  padding: 48px 0;
  font-size: 16px;
  line-height: 1.4;
}

.legal h1 {
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 24px;
}

.legal h2 {
  font-size: 16px;
  font-weight: 500;
  margin: 32px 0 4px;
}

.legal p {
  margin: 0;
}

.legal a {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .hero__text {
    font-size: 16px;
  }
}
