/* Farben und Schrift wie in der App (app/src/theme.ts). Schrift liegt hier, keine fremden Server. */
@font-face {
  font-family: "Cinzel";
  src: url("/site/fonts/Cinzel-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

:root {
  --background: #14110f;
  --wood: #2a221c;
  --wood-light: #3a2f26;
  --text: #f1e6cf;
  --muted: #a89878;
  --gold: #d9b24a;
  --gold-dim: #7a6226;
  --war-top: #b3261e;
  --war-bottom: #6e120e;
  --war-edge: #3d0806;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

h1, h2, .eyebrow, .button { font-family: "Cinzel", Georgia, serif; }

a { color: var(--gold); }

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-art {
  position: absolute;
  inset: 0;
  background: url("/site/img/hero.webp") center 20% / cover no-repeat;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 15, 0.1) 0%, rgba(20, 17, 15, 0.55) 45%, var(--background) 92%);
}

.hero-body {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 48px;
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 14px;
}

h1 {
  margin: 4px 0 8px;
  font-size: clamp(48px, 13vw, 96px);
  line-height: 1;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
}

.lead {
  margin: 0 0 28px;
  font-size: clamp(18px, 4.6vw, 24px);
}

.button {
  display: inline-block;
  padding: 16px 32px;
  border: 2px solid var(--war-edge);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--war-top), var(--war-bottom));
  box-shadow: 0 0 0 1px var(--gold-dim), 0 6px 20px rgba(0, 0, 0, 0.5);
  color: var(--text);
  font-size: 19px;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.button:hover, .button:focus-visible { filter: brightness(1.15); }

.fine {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.intro {
  max-width: 680px;
  margin: 24px auto 56px;
  text-align: center;
  font-size: 19px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.features article {
  padding: 24px 20px;
  border: 1px solid var(--gold-dim);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--wood-light), var(--wood));
  text-align: center;
}

.features img { display: block; margin: 0 auto 8px; }

h2 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 21px;
}

.features p { margin: 0; color: var(--text); font-size: 16px; }

.showcase {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin: 80px 0;
}

.phone {
  width: 260px;
  padding: 10px;
  border: 2px solid var(--gold-dim);
  border-radius: 32px;
  background: #0b0806;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.facts { flex: 1 1 320px; max-width: 480px; }
.facts h2 { margin-top: 24px; }
.facts h2:first-child { margin-top: 0; }
.facts p { margin: 0; }

.install {
  max-width: 680px;
  margin: 0 auto 80px;
  padding: 32px 24px;
  border: 1px solid var(--gold-dim);
  border-radius: 8px;
  background: var(--wood);
  text-align: center;
}

.install ol {
  margin: 16px 0;
  padding-left: 22px;
  text-align: left;
}

.install li { margin-bottom: 8px; }

.note {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 24px;
}

footer {
  padding: 32px 24px 40px;
  border-top: 1px solid var(--wood-light);
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

footer p { margin: 4px 0; }

/* Datenschutzseite */
.legal { max-width: 720px; margin: 0 auto; padding: 48px 24px; }
.legal h1 { font-size: 36px; margin-bottom: 24px; }
.legal h2 { margin-top: 28px; }

/* Breite Bildschirme: Bild höher setzen, damit der Titel nicht über dem Gesicht liegt. */
@media (min-width: 900px) {
  .hero-art { background-position: center 42%; }
}
