/* Hijaza – Webseite im Design der App: Farben, Schrift (Inter) und Karten
   wie in der App. Hell und dunkel folgen der Systemeinstellung. */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("/fonts/inter-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("/fonts/inter-semibold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("/fonts/inter-bold.woff2") format("woff2"); }

:root {
  --bg: #faf8f3;
  --surface: #ffffff;
  --surface-2: #efebe2;
  --text: #24342f;
  --muted: #656d68;
  --line: #e7e6e0;
  --umrah: #246755;
  --umrah-card: #e5efe9;
  --discover: #94702f;
  --discover-card: #f4ecdc;
  --night: #080b0a;
  --night-text: #f5f5f2;
  --night-muted: #a5aaa7;
  --gold: #cfa25a;
  --green-light: #5cb878;
  --radius: 22px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #080b0a;
    --surface: #111715;
    --surface-2: #232826;
    --text: #f5f5f2;
    --muted: #a5aaa7;
    --line: #292e2b;
    --umrah: #5cb878;
    --umrah-card: #0b1411;
    --discover: #cfa25a;
    --discover-card: #15110b;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Arabic", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--umrah); }
h1, h2, h3 { text-wrap: balance; letter-spacing: -0.01em; }

/* ---------- Unterseiten (Impressum, Datenschutz, 404) ---------- */

main { max-width: 760px; margin: 0 auto; padding: 28px 20px 72px; }
main > header { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
main > header img { width: 44px; height: 44px; border-radius: 12px; }
main > header a { color: inherit; text-decoration: none; font-weight: 700; font-size: 20px; }
main h1 { font-size: clamp(28px, 5vw, 36px); line-height: 1.15; margin: 8px 0 18px; }
main h2 { font-size: 21px; margin: 36px 0 8px; }
main h3 { font-size: 17px; margin: 22px 0 4px; }
.muted { color: var(--muted); font-size: 15px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 18px 0; }
.card > h2:first-child { margin-top: 0; }
nav.lang { font-size: 15px; margin-bottom: 8px; }
main > footer, .site-footer { margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
main > footer a, .site-footer a { margin-inline-end: 18px; }

/* ---------- Startseite ---------- */

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: 20px; }

.topbar { position: absolute; inset: 0 0 auto 0; z-index: 2; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--night-text); text-decoration: none; font-weight: 700; font-size: 19px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.topbar nav a { color: var(--night-text); text-decoration: none; font-size: 15px; font-weight: 600; padding: 7px 12px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }

.hero {
  position: relative;
  color: var(--night-text);
  background: var(--night) url("/img/haram.jpg") center 30% / cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,11,10,.55) 0%, rgba(8,11,10,.78) 55%, var(--night) 100%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; padding-top: 120px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; color: var(--night-muted); margin: 0 0 12px; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; margin: 0 0 18px; }
.hero h1 span { color: var(--gold); }
.hero .lead { font-size: 19px; color: #dfe3e0; max-width: 34em; margin: 0 0 26px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border-radius: 14px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: var(--night-text); font-weight: 600; font-size: 15px;
}
.store svg { width: 20px; height: 20px; fill: currentColor; }
.hero .note { font-size: 14px; color: var(--night-muted); margin: 0 0 56px; }
.credit { position: absolute; right: 14px; bottom: 10px; font-size: 11px; color: rgba(255,255,255,.55); }
.credit a { color: inherit; }

.phone {
  width: min(290px, 100%);
  border-radius: 40px;
  padding: 10px;
  background: #1c2220;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.08);
}
.phone img { border-radius: 31px; width: 100%; height: auto; }
.hero .phone { justify-self: center; margin-bottom: -60px; }

section { padding-block: 88px 24px; }
.section-title { font-size: clamp(28px, 4vw, 40px); line-height: 1.12; margin: 0 0 12px; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 40em; margin: 0 0 36px; }

.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pillar {
  border-radius: 28px; padding: 30px 30px 0;
  display: grid; grid-template-rows: auto 1fr auto; overflow: hidden;
}
.pillar.umrah { background: var(--umrah-card); }
.pillar.discover { background: var(--discover-card); }
.pillar .icon { width: 46px; height: 46px; }
.pillar.umrah .icon { stroke: var(--umrah); }
.pillar.discover .icon { stroke: var(--discover); }
.pillar h3 { font-size: 28px; margin: 18px 0 8px; }
.pillar p { color: var(--muted); margin: 0 0 14px; }
.pillar ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 9px; }
.pillar li { padding-inline-start: 28px; position: relative; }
.pillar li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .45em;
  width: 16px; height: 16px; border-radius: 50%;
  background: currentColor; opacity: .18;
}
.pillar li::after {
  content: ""; position: absolute; inset-inline-start: 5px; top: calc(.45em + 4px);
  width: 6px; height: 4px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.pillar.umrah li { color: var(--text); }
.pillar.umrah li::before, .pillar.umrah li::after { color: var(--umrah); }
.pillar.discover li::before, .pillar.discover li::after { color: var(--discover); }
.pillar .phone { width: min(250px, 80%); margin: 0 auto; border-radius: 34px 34px 0 0; padding: 9px 9px 0; }
.pillar .phone img { border-radius: 26px 26px 0 0; }

.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 22px; overflow-x: auto; padding: 6px 2px 26px; scroll-snap-type: x mandatory; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery .phone { width: 100%; }
.gallery figcaption { margin-top: 14px; font-weight: 600; }
.gallery figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 15px; }

.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.promise { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.promise strong { display: block; font-size: 17px; margin-bottom: 4px; }
.promise span { color: var(--muted); font-size: 15px; }

.premium {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: 28px; overflow: hidden; border: 1px solid var(--line);
}
.premium > div { padding: 30px; }
.premium .free { background: var(--surface); }
.premium .paid { background: var(--discover-card); }
.premium h3 { margin: 0 0 4px; font-size: 22px; }
.premium .price { color: var(--muted); margin: 0 0 16px; font-size: 15px; }
.premium .paid .price { color: var(--discover); font-weight: 600; }
.premium ul { margin: 0; padding-inline-start: 20px; display: grid; gap: 6px; }

/* Für Reiseveranstalter: dunkles Band mit Gold, führt zur Kontakt-E-Mail. */
.partner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 44px 40px; border-radius: var(--radius); border: 1px solid rgba(207, 162, 90, .35); background: linear-gradient(135deg, #163f34, var(--night) 75%); color: var(--night-text); }
.partner h2 { margin: 0 0 8px; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; }
.partner p { margin: 0; color: var(--night-muted); max-width: 560px; }
.partner .partner-kicker { margin: 0 0 6px; color: var(--gold); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.partner-btn { display: inline-block; padding: 14px 24px; border-radius: 999px; background: var(--gold); color: #1b1408; font-weight: 700; text-decoration: none; white-space: nowrap; }
.partner-btn:hover { filter: brightness(1.06); }
.partner-btn::after { content: " →"; }
[dir="rtl"] .partner-btn::after { content: " ←"; }
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; align-items: start; }
.contact .card { margin: 0; }
.big-mail { font-size: 20px; font-weight: 600; word-break: break-all; }

.site-footer { margin-top: 72px; padding-bottom: 40px; }
.site-footer p { margin: 10px 0 0; font-size: 13px; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 104px; }
  .hero .phone { margin: 0 auto -50px; width: min(250px, 70%); }
  .pillars, .premium, .contact { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr 1fr; }
  section { padding-block: 72px 16px; }
}
@media (max-width: 480px) {
  .promises { grid-template-columns: 1fr; }
  .pillar { padding: 24px 22px 0; }
  .premium > div { padding: 24px 22px; }
  .partner { padding: 30px 22px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- Sprachauswahl ---------- */
.langmenu { position: relative; }
.langmenu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  color: var(--night-text); font-size: 15px; font-weight: 600; padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
}
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu summary svg { width: 18px; height: 18px; fill: currentColor; }
.langmenu nav {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 5;
  display: grid; grid-template-columns: repeat(2, minmax(140px, 1fr)); gap: 2px;
  padding: 8px; background: #121816; border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.5); max-height: 70vh; overflow: auto;
}
.topbar .langmenu nav a { border: 0; padding: 8px 10px; border-radius: 10px; font-weight: 500; }
.langmenu nav a:hover, .langmenu nav a[aria-current] { background: rgba(255,255,255,.08); }
.langmenu nav a[aria-current] { color: var(--gold); }
[dir=rtl] .credit { right: auto; left: 14px; }

/* Gutschein-Karten: /g/<Kennung> – eigene Datei g/gift.css */
