/* Remindery – Web-Look (Basis: docs/design.md der App-Familie).
   Bewusst OHNE externe Fonts/Ressourcen: die Seite lädt nichts von
   Dritten – passend zum Datenschutz-Versprechen der Apps. */

:root {
  --bg: #FAF7F2;
  --card: #FFFFFF;
  --text: #2B2622;
  --text-soft: #6E6258;
  --accent: #E8604C;
  --shadow: 0 10px 40px rgba(43, 38, 34, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #211A15;
    --card: #2C231C;
    --text: #F4EDE4;
    --text-soft: #B3A697;
    --accent: #ED705C;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, .brand {
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  line-height: 1.25;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

/* --- Landingpage --- */

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.hero img.logo {
  width: 132px;
  height: auto;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin: 0;
}

.hero h1 .family { color: var(--accent); }

.claim {
  font-family: Georgia, "Times New Roman", ui-serif, serif;
  font-size: clamp(1.15rem, 3.4vw, 1.5rem);
  margin: 10px 0 4px;
}

.pitch {
  color: var(--text-soft);
  max-width: 34em;
  margin: 0 auto;
}

/* Offizielles Google-Play-Badge (google-play-badge-de.png, unverändert
   von play.google.com/intl/de_de/badges/). Laut Google-Branding-Guidelines
   nur proportional skalieren – nicht zuschneiden, umfärben, drehen oder
   verzerren. Der weiße Rand im PNG ist die vorgeschriebene Schutzzone
   (1/4 der Badge-Höhe), er muss sichtbar bleiben. */
.store-badge {
  display: inline-block;
  margin-top: 16px;
  line-height: 0;
}

/* 232 px Breite ≈ 90 px Bildhöhe, davon ~60 px Badge selbst;
   width + height:auto skaliert auf schmalen Screens verzerrungsfrei. */
.store-badge img {
  width: 232px;
  height: auto;
  max-width: 100%;
}

.store-badge:hover { text-decoration: none; }

footer {
  text-align: center;
  padding: 28px 24px 40px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

footer .trademark {
  margin: 12px 0 0;
  font-size: 0.78rem;
}

footer nav {
  margin-bottom: 10px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

/* --- Textseiten (Datenschutz) --- */

.page-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.page-header img { width: 44px; height: auto; }

.page-header .brand {
  font-size: 1.15rem;
  font-weight: 700;
}

/* Zusatz zur Wortmarke auf den Ox-Seiten: „Ox" allein steht auf einer
   Rechtstextseite zu nackt da, der volle Store-Titel liest sich dort wie ein
   Schlagwortband. Deshalb der schlichte Gattungsname daneben. */
.page-header .brand-sub {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-soft);
}

/* Die Wortmarke im Seitenkopf fuehrt zurueck zur Uebersicht, soll aber nicht
   wie ein gewoehnlicher Link aussehen. */
.page-header .brand a { color: var(--text); }
.page-header .brand a:hover { color: var(--accent); text-decoration: none; }

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

article {
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 48px);
  margin-top: 20px;
}

article h1 { font-size: 1.7rem; margin-top: 0; }
article h2 { font-size: 1.2rem; margin-top: 2em; }

/* Zweiteilige Datenschutzerklärung: `h2.part` trennt „Diese Website" vom
   App-Teil. Die Abschnitte innerhalb eines Teils sind `h3` und sehen
   absichtlich genauso aus wie die `h2` der übrigen Textseiten – nur die
   Gliederungstiefe ändert sich, nicht die Optik. */
article h2.part {
  font-size: 1.4rem;
  margin-top: 2.4em;
  padding-top: 1.1em;
  border-top: 2px solid var(--accent);
}

article h3 { font-size: 1.2rem; margin: 2em 0 0.83em; }

article blockquote {
  margin: 1em 0;
  padding: 12px 18px;
  border-left: 4px solid var(--accent);
  background: var(--bg);
  border-radius: 0 14px 14px 0;
  color: var(--text-soft);
}

.updated { color: var(--text-soft); font-size: 0.95rem; }

.back { display: inline-block; margin-top: 24px; }

/* --- Familien-Landingpage: Übersicht aller Apps -------------------------
   Der Kopf trägt `favicon.svg`, das Zeichen des Herausgebers – nicht
   `icon.svg`, das Remindery: Geburtstage gehört. */

.lp-head img.logo {
  width: 104px;
  height: auto;
  margin-bottom: 20px;
}

.lp-head {
  text-align: center;
  padding: 24px 0 8px;
}

.lp-head h1 {
  font-size: clamp(1.9rem, 5.5vw, 2.75rem);
  margin: 0;
}

.lp-head h1 .family { color: var(--accent); }

.apps {
  display: grid;
  gap: 20px;
  margin-top: 44px;
}

.app-card {
  background: var(--card);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card h2 {
  font-size: 1.45rem;
  margin: 0;
}

.app-card h2 a { color: var(--text); }
.app-card h2 a:hover { color: var(--accent); text-decoration: none; }

.app-card p { margin: 0; color: var(--text-soft); }

.app-card .store-badge { margin-top: 4px; }

/* Platzhalter, solange eine App noch nicht im Store ist – bewusst kein
   Play-Badge: das Badge darf laut Google-Guidelines nur einen echten
   Store-Eintrag verlinken. */
.app-card .soon {
  align-self: flex-start;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--text-soft);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 5px 16px;
}

/* --- Weiterleitungsseiten (alte Pfade) --- */

.redirect { text-align: center; }

/* --- Startseite (Neufassung 09/2026, Richtung A „ruhig“) --- */

:root {
  --line: #EAE2D8;
  --silben: #3F7DBF; --uhr: #E8604C; --ox: #6B8E23; --geb: #C2647A;
}
@media (prefers-color-scheme: dark) { :root { --line: #3B3129; } }

.home { max-width: 960px; }
.home .top { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; }
.home .top img { width: 40px; height: 40px; }
.home .top .brand { font-size: 1.25rem; }
.home-hero { position: relative; padding: 24px 0 44px; max-width: 640px; }
.home-hero::before {
  content: ""; position: absolute; left: -80px; top: -40px; width: 320px; height: 220px; z-index: -1;
  border-radius: 55% 45% 60% 40% / 50% 60% 40% 50%;
  background: radial-gradient(closest-side, rgba(232, 96, 76, .22), rgba(232, 96, 76, 0));
}
.home-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0; }
.home-hero .pitch { font-size: 1.2rem; color: var(--text-soft); margin: 16px 0 0; max-width: 34em; }

.grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card {
  background: var(--card); border-radius: 20px; padding: 24px; box-shadow: var(--shadow);
  display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; border-left: 6px solid var(--c, var(--accent));
}
.card .icon { flex: 0 0 auto; line-height: 0; }
.card .icon img { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 18px rgba(43,38,34,.12); }
.card .txt { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.card .act { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.card .meta { font-size: .85rem; color: var(--text-soft); letter-spacing: .02em; text-transform: uppercase; }
.card h2 { font-size: 1.45rem; margin: 0; }
.card h2 a { color: inherit; text-decoration: none; }
.card p { margin: 0; color: var(--text-soft); }
.card .store-badge { margin-top: 0; }
.card .store-badge img { width: 168px; }
.card .soon {
  display: inline-block; font-size: .9rem; color: var(--text-soft); align-self: flex-start;
  border: 1px dashed var(--line); border-radius: 999px; padding: 4px 12px;
}
.card .more { font-size: .95rem; }
.storelink { margin: 40px 0 0; text-align: center; color: var(--text-soft); }

@media (max-width: 700px) { .card .icon img { width: 72px; height: 72px; border-radius: 16px; } }
