:root {
  --navy: #0B2A6B;
  --blue: #1F6FE5;
  --sky: #5AA6FF;
  --text: #1B2433;
  --muted: #5A6478;
  --line: #DFE6F1;
  --bg: #F5F8FD;
  --font-latin: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Noto Kufi Arabic", Tahoma, var(--font-latin);
  --font-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", var(--font-latin);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-latin);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

html:lang(ar) body { font-family: var(--font-ar); line-height: 1.8; }
html:lang(zh-Hans) body { font-family: var(--font-zh); }

img { display: block; max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* in RTL steht das Logo automatisch rechts */
  gap: 1rem;
  padding-block: 0.75rem;
}

.logo { display: inline-block; padding: 0.35rem 0; }
.logo img { height: 56px; width: auto; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.95rem;
}

.lang-switch .sep { color: var(--line); }

.lang-switch button {
  font: inherit;
  color: var(--muted);
  background: none;
  border: 0;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
}
.lang-switch button[lang="ar"] { font-family: var(--font-ar); }
.lang-switch button[lang="zh-Hans"] { font-family: var(--font-zh); }

.lang-switch button:hover { color: var(--blue); }
.lang-switch button[aria-pressed="true"] { color: var(--navy); font-weight: 600; }

button:focus-visible, a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Main */
.main {
  flex: 1;
  padding-block: 3rem 4rem;
}

.hero { text-align: center; max-width: 640px; margin-inline: auto; }

.hero-logo {
  width: min(340px, 78vw);
  margin: 0 auto 2.25rem;
}

.badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(31, 111, 229, 0.09);
  border-radius: 999px;
}
html:lang(ar) .badge, html:lang(zh-Hans) .badge { letter-spacing: 0; }

h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  line-height: 1.25;
  font-weight: 700;
  color: var(--navy);
}
html:lang(ar) h1, html:lang(zh-Hans) h1 { font-weight: 600; line-height: 1.45; }

.lead {
  margin: 0 auto 0.75rem;
  font-size: 1.075rem;
  color: var(--muted);
}

.route {
  margin: 0;
  font-weight: 500;
  color: var(--navy);
}

/* Contact */
.contact {
  max-width: 880px;
  margin: 3.5rem auto 0;
  text-align: center;
}

.contact h2 {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  height: 100%;
  padding: 1.4rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-item:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(11, 42, 107, 0.08);
}

.icon {
  width: 26px;
  height: 26px;
  fill: var(--blue);
  margin-bottom: 0.25rem;
}

.label {
  font-size: 0.85rem;
  color: var(--muted);
}

.value {
  unicode-bidi: isolate;
  font-family: var(--font-latin);
  font-weight: 600;
  color: var(--blue);
  word-break: break-word;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-align: center;
}
.site-footer p { margin: 0; padding-block: 1.25rem; }

/* Tablet / Handy */
@media (max-width: 760px) {
  .contact-list { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .contact-item { padding: 1.1rem 1rem; }
}

@media (max-width: 480px) {
  .logo img { height: 44px; }
  .lang-switch { font-size: 0.875rem; gap: 0; }
  .lang-switch button { padding: 0.4rem 0.4rem; }
  .main { padding-block: 2rem 3rem; }
  .hero-logo { margin-bottom: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-item { transition: none; }
}

/* Übersetzter Text (WhatsApp) nutzt die Schrift der jeweiligen Sprache */
.value[data-i18n] { font-family: inherit; }
