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

/* Roboto variable font (matches the app), subset to Latin + Latin Extended */
@font-face {
  font-family: 'Roboto';
  src: url('assets/fonts/roboto-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0100-017F, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --red: #b71c1c;
  --red-dark: #7f1313;
  --red-light: #fff0ee;
  --ink: #1a1a1a;
  --muted: #666666;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: #ffffff;
  margin: 0;
}

a { color: var(--red); }
a:hover { text-decoration: none; }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
header.site {
  padding: 1.25rem 0;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header.site img.logo {
  height: 32px;
  width: auto;
  display: block;
}

.lang-switch {
  font-size: 0.9rem;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 100%);
  color: #ffffff;
  padding: 3rem 0 4rem;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.hero .wrap.wrap--single-column {
  grid-template-columns: 1fr;
  text-align: center;
}

.hero .wrap.wrap--single-column .lead {
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.hero .wrap.wrap--single-column .badges {
  justify-content: center;
}

.hero h1 {
  font-size: 2.1rem;
  line-height: 1.25;
  font-weight: 800;
  margin: 0 0 1rem;
}

.hero p.lead {
  font-size: 1.1rem;
  opacity: 0.92;
  margin: 0 0 2rem;
  max-width: 46ch;
}

.hero .badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.store-badge img {
  display: block;
  height: 48px;
  width: auto;
}

.hero .screenshot {
  text-align: center;
}

.hero .screenshot img {
  max-width: 100%;
  height: auto;
  max-height: 480px;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

/* Sections */
main section {
  padding: 3.5rem 0;
}

h2.section-title {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 2.25rem;
  color: var(--ink);
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.feature {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  align-content: start;
  column-gap: 0.75rem;
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 14px;
}

.feature .icon {
  color: var(--red);
  line-height: 0;
}

.feature .icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.feature h3 {
  font-size: 1.02rem;
  margin: 0;
  color: var(--ink);
}

.feature p {
  grid-column: 1 / -1;
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Trust callout */
.trust {
  background: var(--red-light);
  border-radius: 18px;
  padding: 2.25rem;
  text-align: center;
}

.trust h2.section-title { margin-bottom: 0.75rem; }

.trust p {
  max-width: 60ch;
  margin: 0 auto;
  color: #444444;
}

/* About */
.about {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.about .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.about blockquote {
  margin: 0;
  font-style: normal;
  color: #333333;
}

.about blockquote p { margin: 0 0 0.75rem; }

/* Footer */
footer.site {
  border-top: 1px solid #eee;
  padding: 2rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}

footer.site nav a {
  color: var(--muted);
  margin-right: 1.25rem;
  text-decoration: none;
}

footer.site nav a:hover { color: var(--red); }

/* Legal document pages (Datenschutz, Impressum, Haftungsausschluss, Disclaimer) */
/* Scoped under .legal-doc (set on <body>) so it never bleeds into the landing page's own layout. */
.legal-doc {
  padding: 2rem 1rem;
}

.legal-doc main {
  max-width: 800px;
  margin: 0 auto;
}

.legal-doc h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #111111;
}

.legal-doc .meta {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 2.5rem;
}

.legal-doc h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: #111111;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 0.3rem;
}

.legal-doc h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  color: #333333;
}

.legal-doc h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  color: #333333;
}

.legal-doc p {
    margin: 0.75rem 0;
}

.legal-doc ul {
  padding-left: 1.4rem;
  margin: 0.5rem 0;
}

.legal-doc li { margin: 0.3rem 0; }

.legal-doc a {
  color: #0066cc;
  word-break: break-all;
}

.legal-doc address {
  font-style: normal;
  line-height: 1.8;
  margin: 0.5rem 0;
}

.legal-doc .highlight {
  background: #f5f5f5;
  border-left: 3px solid #cccccc;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  border-radius: 0 4px 4px 0;
}

.legal-doc .lang-switch {
  text-align: right;
  font-size: 0.9rem;
}

/* .wrap has max-width: 960px — below that it has no side margin left to shrink into,
   so .trust (which shares that box) would otherwise show a corner radius flush against
   the viewport edge. */
@media (max-width: 960px) {
  .trust { border-radius: 0; }
}

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { max-width: none; margin-left: auto; margin-right: auto; }
  .hero .badges { justify-content: center; }
  .features { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; text-align: left; }
}

/*
@media (prefers-color-scheme: dark) {
  body { background: #121212; color: #e5e5e5; }
  .feature { border-color: #2a2a2a; }
  .feature h3 { color: #f0f0f0; }
  .feature p { color: #a0a0a0; }
  .trust { background: #1e1414; }
  .trust p { color: #cccccc; }
  h2.section-title { color: #f0f0f0; }
  .about blockquote { color: #d5d5d5; }
  footer.site { border-top-color: #2a2a2a; }
  a { color: #ff6b5c; }

  .legal-doc { background: #121212; color: #e0e0e0; }
  .legal-doc h1, .legal-doc h2, .legal-doc h3, .legal-doc h4 { color: #f0f0f0; }
  .legal-doc h2 { border-bottom-color: #333333; }
  .legal-doc .meta { color: #999999; }
  .legal-doc a { color: #66aaff; }
  .legal-doc .highlight { background: #1e1e1e; border-left-color: #555555; }
}
*/
