/* Der Schirm: Schrift, Papier, Tinte, Abstände. Kein App-Akzent; den setzt jeder
   App-Ordner mit einem eigenen Stylesheet (--accent), siehe /bzf-pruefung/style.css.
   Paper, Ink, InkMuted, Hairline und die Nachtwerte kommen aus Theme.kt der App
   BZF-Prüfung, weil sie keine Marke sind, sondern Papier und Tinte. */

@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url(/fonts/Roboto-Regular.ttf) format("truetype"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url(/fonts/Roboto-Medium.ttf) format("truetype"); }
@font-face { font-family: "Roboto"; font-weight: 600; font-display: swap; src: url(/fonts/Roboto-SemiBold.ttf) format("truetype"); }
@font-face { font-family: "B612 Mono"; font-weight: 400; font-display: swap; src: url(/fonts/B612Mono-Regular.ttf) format("truetype"); }
@font-face { font-family: "B612 Mono"; font-weight: 700; font-display: swap; src: url(/fonts/B612Mono-Bold.ttf) format("truetype"); }

:root {
  --paper: #faf7f1;
  --raised: #ffffff;
  --ink: #14202a;
  --muted: #5d6b77;
  --rule: #e6dfd4;
  --accent: #14202a;
  --accent-ink: #14202a;
  --shadow: 0 24px 48px -24px rgba(20, 32, 42, .35);
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "B612 Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0e141a;
    --raised: #18212a;
    --ink: #e9eef2;
    --muted: #8c9ba8;
    --rule: #26313c;
    --accent: #e9eef2;
    --accent-ink: #e9eef2;
    --shadow: 0 24px 48px -24px rgba(0, 0, 0, .8);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: .18em; }
a:hover { color: var(--accent-ink); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.mono { font-family: var(--mono); }
.eyebrow {
  font: 400 .8rem/1.4 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
}
.eyebrow a { text-decoration: none; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36rem; }

.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 40rem; margin: 0 auto; }
section { padding: 4.5rem 0; }
section + section { border-top: 1px solid var(--rule); }
header.site { padding: 1rem 0; }
header.site .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
header.site nav a { text-decoration: none; color: var(--muted); font-size: .95rem; margin-left: 1.25rem; }
header.site nav a:hover { color: var(--ink); }
header.site .marke { font-weight: 600; text-decoration: none; }
/* Klebt oben, damit der Laden-Link auf jeder Bildschirmhöhe da ist. */
header.sticky { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--rule); }

/* Zwei Spalten: Wort links, Telefon rechts. */
.hero { padding: 3rem 0 4.5rem; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: 1.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; margin-top: 1.75rem; }
.button {
  display: inline-block; padding: .8rem 1.4rem; border-radius: 999px;
  background: var(--accent); color: var(--paper); font-weight: 500; text-decoration: none;
}
.button:hover { color: var(--paper); filter: brightness(1.08); }
.price { color: var(--muted); font-size: .95rem; }
.phone { width: min(100%, 320px); margin: 0 auto; border-radius: 28px; box-shadow: var(--shadow); }
.phone.small { width: min(100%, 260px); }

/* App-Karten auf der Startseite und Reihen auf der Produktseite. */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; margin-top: 2.5rem; }
.card h3 { margin: 1.25rem 0 .5rem; }
.card p { color: var(--muted); margin: 0; }
.card .tag { font: 400 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
             color: var(--accent-ink); border: 1px solid currentColor; border-radius: 999px;
             padding: .3rem .6rem; display: inline-block; margin-left: .5rem; vertical-align: middle; }
.apps { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-top: 2.5rem; }
.app {
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
  padding: 2rem; border: 1px solid var(--rule); border-radius: 24px; background: var(--raised);
}
.app h2 { margin-bottom: .5rem; }
.app p { color: var(--muted); }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; margin-top: 2rem; }
.cols ul { margin: 0; padding-left: 1.2rem; color: var(--muted); }
.cols li { margin-bottom: .4rem; }

footer.site { border-top: 1px solid var(--rule); padding: 2rem 0 4rem; color: var(--muted); font-size: .9rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
footer.site a { text-decoration: none; margin-right: 1.25rem; }
footer.site a:hover { text-decoration: underline; }

/* Textseiten: Impressum, Datenschutz, Widerruf. */
.text h1 { font-size: 2rem; margin-bottom: .5rem; }
.text h2 { font-size: 1.1rem; margin: 2.5rem 0 .75rem; }
.text h2::before { content: ""; display: block; width: 2.5rem; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: .9rem; }
.text blockquote { margin: 1rem 0; padding: 1rem 1.25rem; border-left: 3px solid var(--rule); color: var(--muted); }

@media (max-width: 760px) {
  section { padding: 3rem 0; }
  .hero .wrap, .cards, .cols, .app { grid-template-columns: 1fr; }
  .hero .phone { width: min(70%, 260px); margin-top: 1rem; }
  header.site nav { display: none; }
  .app .phone.small { margin: 0 auto; }
}
