/* styles.css */
:root {
  /* ── Neue Farbpalette ───────────────────────────────── */
  --brand:          #bc433d;   /* Primärfarbe – Rot        */
  --accent:         #0ba0d8;   /* Akzent – Blau            */
  --bg:             #f1efec;   /* Seitenhintergrund – Creme*/
  --dark:           #5f4a4f;   /* Dunkelton der Palette    */

  /* ── Abgeleitete UI-Farben ─────────────────────────── */
  --text:           #2c1f23;   /* Haupttext                */
  --sub:            #5f4a4f;   /* Sekundärtext / muted     */
  --card:           #ffffff;   /* Kartenhintergrund        */
  --surface:        #e8e5e1;   /* Sekundäre Flächen        */
  --hairline:       #d8d4cf;   /* Trennlinien / Rahmen     */
  --placeholder:    #c4beba;   /* Platzhalter-Hintergründe */

  /* ── Status (Akzentblau statt Grün) ────────────────── */
  --ok:             #0ba0d8;
  --ok-text:        #065f80;
  --okbg:           #e3f4fb;
  --ok-border:      rgba(11, 160, 216, 0.2);
  --ok-check-bg:    rgba(11, 160, 216, 0.12);

  /* ── Sonstige Token ─────────────────────────────────── */
  --brand-shadow:   rgba(188, 67, 61, 0.28);
  --on-brand:       #ffffff;   /* Text auf --brand         */
  --radius:         22px;
}

html,
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
  "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  margin: 0;

  color: var(--text);
  background: var(--bg);

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p {
  font-size: 15px;
  line-height: 1.55;

  margin: 10px 0;

  color: var(--text);
}

ul {
  font-size: 15px;

  margin: 10px 0 0 18px;
  padding: 0;

  color: var(--text);
}

li {
  margin: 8px 0;
}

a {
  text-decoration: none;

  color: var(--brand);
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px 18px 50px;
}

/* Header / Hero */
.hero {
  padding: 36px 8px 18px;

  text-align: center;
}

.appicon {
  display: inline-block;

  width: 92px;
  height: 92px;

  border-radius: 22px;
  background: var(--placeholder);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);

  object-fit: cover;
}

.appicon img {
  width: 100%;
  height: auto;
}

.title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.05;

  margin: 18px 0 6px;

  letter-spacing: -0.8px;
}

.subtitle {
  font-size: 18px;
  font-weight: 500;

  margin: 0;

  color: var(--sub);
}

/* Buttons */
.actions {
  display: grid;

  box-sizing: border-box;
  max-width: 520px;
  margin: 26px auto 6px;

  gap: 12px;
}

.btn {
  font-size: 18px;
  font-weight: 700;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 16px 18px;

  user-select: none;
  text-decoration: none;

  border: 1px solid transparent;
  border-radius: 18px;

  gap: 10px;
}

.btn-primary {
  color: var(--on-brand);
  background: var(--brand);
  box-shadow: 0 10px 22px var(--brand-shadow);
}

.btn-secondary {
  color: var(--sub);
  border-color: var(--hairline);
  background: var(--surface);
}

/* Status / Pill */
.pill {
  font-weight: 700;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;
  max-width: 520px;
  margin: 18px auto 0;
  padding: 14px 16px;

  color: var(--ok-text);
  border: 1px solid var(--ok-border);
  border-radius: 16px;
  background: var(--okbg);

  gap: 10px;
}

.check {
  font-size: 14px;
  font-weight: 900;

  display: inline-grid;

  width: 20px;
  height: 20px;

  color: var(--ok);
  border-radius: 999px;
  background: var(--ok-check-bg);

  place-items: center;
}

.meta {
  font-size: 13px;

  margin-top: 10px;

  color: var(--sub);
}

/* Content Cards */
.content {
  display: grid;

  margin-top: 26px;

  gap: 14px;
}

.card {
  margin: 18px 0 0;
  padding: 18px;

  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.section-title {
  font-size: 18px;

  margin: 0 0 8px;

  letter-spacing: -0.2px;
}

.muted {
  color: var(--sub);
}

/* Footer */
.footer {
  margin-top: 36px;
  padding-top: 18px;
}

.footer-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;

  gap: 10px 14px;
}

.footer-link {
  font-size: 14px;

  padding: 8px 10px;

  text-decoration: none;

  color: var(--sub);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.footer-link:hover {
  text-decoration: none;

  border-color: var(--dark);
}

/* App Store Badge */
.appstore-badge-link {
  display: inline-block;

  margin: 22px auto 0;

  transition: opacity 0.15s ease, transform 0.15s ease;

  border-radius: 13px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.appstore-badge-link:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

.appstore-badge-link img {
  display: block;

  width: 180px;
  height: auto;

  border-radius: 13px;
}

/* i18n floating flags */
.lang-float {
  position: absolute;
  z-index: 10;
  top: 12px;
  right: 12px;

  display: flex;

  user-select: none;

  gap: 10px;
}
.lang-flag {
  font-size: 22px;
  line-height: 1;

  cursor: pointer;
  text-decoration: none;
}
.lang-flag:focus {
  border-radius: 10px;
  outline: 2px solid var(--brand);
  outline-offset: 4px;
}
