/* ─── Tokens ─── */
:root {
  --ink:     #0B1120;
  --mid:     #374151;
  --faint:   #6B7280;
  --line:    #D1D5DB;
  --paper:   #FFFFFF;
  --tint:    #F3F4F6;
  --gold:    #B91C1C;
  --gold-dk: #991B1B;
  --red:     #B91C1C;
  --red-dk:  #991B1B;
  --topbar-h: 36px;
  --nav-h:    184px;
  --header-h: 220px;
  --ff:      'Inter', system-ui, -apple-system, sans-serif;
  --ease:    cubic-bezier(.4, 0, .2, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; }
body {
  font-family: var(--ff);
  color: var(--ink);
  background-color: #0d1c3a;
  background-image: url('hero-bg.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-position: center 95%;
  background-repeat: no-repeat;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
[lang="ar"], [lang="ar"] * { font-family: 'Noto Naskh Arabic', 'Segoe UI', sans-serif; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
em { font-style: italic; color: var(--gold); }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
svg { display: block; }

/* ─── Layout ─── */
.container         { width: min(1100px, 92vw); margin-inline: auto; }
.container--narrow { width: min(760px, 92vw);  margin-inline: auto; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .75rem 1.75rem;
  font-size: .875rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 200ms var(--ease);
  white-space: nowrap;
  letter-spacing: .01em;
}
.btn--dark          { background: var(--ink); color: #fff; box-shadow: 0 2px 12px rgba(11,17,32,.18); }
.btn--dark:hover    { background: var(--red); box-shadow: 0 4px 18px rgba(185,28,28,.3); transform: translateY(-1px); }
.btn--outline       { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--outline:hover { border-color: var(--ink); background: var(--tint); }

/* ═══════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════ */
/* ── Site Header (fixed wrapper) ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 24px rgba(0,0,0,0);
  transition: box-shadow 300ms var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,.10);
}

/* ── Topbar: Kontaktzeile ── */
.header__topbar {
  height: var(--topbar-h);
  background: rgba(248,250,252,0.96);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: height 320ms var(--ease), opacity 320ms var(--ease);
  opacity: 1;
}
.site-header.scrolled .header__topbar {
  height: 0;
  opacity: 0;
}
.header__topbar-inner {
  height: 100%;
  width: 100%;
  padding-inline: 4vw;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
}
.header__contact-link {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color 150ms var(--ease);
}
.header__contact-link:hover { color: var(--red); }
.header__contact-link svg { color: var(--red); flex-shrink: 0; }
.header__contact-sep {
  width: 1px;
  height: 14px;
  background: var(--line);
  display: inline-block;
}

/* ── Main Nav ── */
.nav {
  height: var(--nav-h);
  transition: height 320ms var(--ease);
}
.site-header.scrolled .nav {
  height: 62px;
}
.nav__inner {
  height: 100%;
  width: min(1100px, 92vw);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
}
.nav__logo       { grid-column: 2; justify-self: center; }
.nav__links      { grid-column: 3; justify-self: end; padding-right: 0; margin-left: auto; }
.lang-switch     { grid-column: 1; justify-self: start; margin-left: 0; visibility: hidden; }
.nav__burger     { grid-column: 3; justify-self: end; }
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 172px;
  width: 172px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 22%;
  overflow: hidden;
  transform: scale(1);
  transform-origin: center center;
  box-shadow: 0 3px 16px rgba(0,0,0,.18);
  border: 3px solid #fff;
  flex-shrink: 0;
  transition: height 320ms var(--ease), width 320ms var(--ease), transform 320ms var(--ease);
}
.site-header.scrolled .nav__logo-img {
  height: 52px;
  width: 52px;
  transform: scale(1);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .1rem;
  margin-left: 0;
  padding-left: 8rem;
}
.nav__links a {
  font-size: .92rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--mid);
  padding: .4rem .8rem;
  border-radius: 4px;
  transition: color 180ms var(--ease);
}
.nav__links a:hover { color: var(--red); }
.nav__cta { background: var(--red) !important; color: #fff !important; margin-left: .5rem; border-radius: 6px; box-shadow: 0 2px 10px rgba(185,28,28,.25); }
.nav__cta:hover { background: var(--red-dk) !important; box-shadow: 0 4px 14px rgba(185,28,28,.35) !important; }

.lang-switch {
  display: flex;
  gap: .35rem;
  flex-shrink: 0;
  position: absolute;
  bottom: -44px;
  left: 4vw;
  z-index: 101;
  visibility: visible;
}
.lang-btn {
  padding: .35rem .75rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  direction: ltr;
  unicode-bidi: isolate;
  border-radius: 5px;
  border: 1.5px solid var(--line);
  background: rgba(255,255,255,.7);
  transition: all 180ms;
}
.lang-btn.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 2px 8px rgba(185,28,28,.3);
}
.lang-btn:hover:not(.active) {
  border-color: var(--red);
  color: var(--red);
  background: rgba(185,28,28,.05);
}

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: .4rem; }
.nav__burger span { display: block; width: 20px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: all 180ms; }

/* ═══════════════════════════════════════════════════════
   HERO — Hintergrundbild
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  text-align: left;
  padding-top: calc(var(--header-h) + 4rem);
  padding-left: 1.5rem;
  padding-right: 3vw;
  padding-bottom: 4rem;
  background: transparent;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(5,14,40,.65) 0%, rgba(5,14,40,.2) 55%, transparent 100%),
    linear-gradient(to bottom, rgba(5,14,40,.18) 0%, transparent 35%, rgba(5,14,40,.28) 100%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 480px;
}
.hero__eyebrow {
  position: absolute;
  left: 44%;
  bottom: 8.5rem;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #c92b2b;
  padding: .5rem 1.6rem;
  border: 2px solid #c92b2b;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.hero h1 {
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.9), 0 0 30px rgba(0,0,0,.6);
}
.hero h1 em {
  color: var(--red);
  font-style: italic;
}
.hero__sub {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.95), 0 0 24px rgba(0,0,0,.7);
}
.hero__ctas { display: flex; justify-content: flex-start; gap: .75rem; flex-wrap: wrap; }
.hero .btn--dark {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 22px rgba(185,28,28,.45);
  border-radius: 6px;
}
.hero .btn--dark:hover { background: var(--red-dk); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(185,28,28,.5); }
.hero .btn--outline {
  color: #fff;
  border-color: rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,.1);
  border-radius: 6px;
}
.hero .btn--outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.2);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════ */
.section         { padding: 5.5rem 0; background: rgba(255,255,255,0.91); }
.section--tinted { background: rgba(243,245,248,0.91); }

.section__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .875rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.section__label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}
.section__title {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  margin-bottom: 1.25rem;
  max-width: 720px;
  color: var(--ink);
}
.section__lead {
  font-size: 1.1rem;
  color: var(--mid);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 2.75rem;
}

/* ═══════════════════════════════════════════════════════
   TABS
   ═══════════════════════════════════════════════════════ */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}
.tab-btn {
  padding: .75rem 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--mid);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 180ms var(--ease);
}
.tab-btn:hover  { color: var(--ink); }
.tab-btn.active { color: var(--ink); border-bottom-color: var(--gold); }

.tab-panel        { display: none; }
.tab-panel.active { display: block; }

.tab-panel__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3.5rem;
  align-items: start;
}
.tab-panel__text h3 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); margin-bottom: .875rem; }
.tab-panel__text > p { font-size: 1.05rem; color: var(--mid); line-height: 1.75; margin-bottom: 2rem; }

/* ─── Feature List ─── */
.feature-list { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.feature-list li { display: flex; gap: .875rem; align-items: flex-start; }
.feature-list__icon { font-size: .7rem; font-weight: 700; color: var(--gold); margin-top: .35rem; flex-shrink: 0; }
.feature-list strong { display: block; font-size: 1rem; font-weight: 600; margin-bottom: .2rem; }
.feature-list p { font-size: .95rem; color: var(--mid); line-height: 1.6; margin: 0; }

/* ─── Aside boxes ─── */
.tab-panel__aside { display: flex; flex-direction: column; gap: 1.25rem; }
.info-box { border: 1px solid var(--line); border-radius: 6px; padding: 1.5rem; }
.info-box__label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: .875rem;
}
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-list li {
  font-size: .78rem;
  font-weight: 500;
  padding: .25rem .65rem;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.check-list { display: flex; flex-direction: column; gap: .6rem; }
.check-list li { font-size: .98rem; color: var(--mid); padding-left: 1.25rem; position: relative; line-height: 1.5; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-size: .75rem; top: .1rem; }

.timeline-mini { display: flex; flex-direction: column; gap: .75rem; }
.timeline-mini__item { display: flex; gap: .75rem; align-items: baseline; }
.timeline-mini__item span { font-size: .72rem; font-weight: 700; color: var(--gold); white-space: nowrap; min-width: 44px; }
.timeline-mini__item p { font-size: .85rem; color: var(--mid); margin: 0; }

/* ═══════════════════════════════════════════════════════
   ACCORDION
   ═══════════════════════════════════════════════════════ */
.accordion { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 2rem; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  transition: color 180ms;
}
.acc-btn:hover .acc-btn__title { color: var(--gold); }
.acc-btn__num { font-size: .7rem; font-weight: 700; letter-spacing: .1em; color: var(--gold); flex-shrink: 0; width: 22px; }
.acc-btn__title { font-size: 1.08rem; font-weight: 600; flex: 1; line-height: 1.4; transition: color 180ms; }
.acc-btn__icon { width: 16px; height: 16px; flex-shrink: 0; position: relative; margin-left: auto; }
.acc-btn__icon::before,
.acc-btn__icon::after {
  content: '';
  position: absolute;
  background: var(--mid);
  border-radius: 2px;
  transition: all 220ms var(--ease);
  top: 50%; left: 50%;
}
.acc-btn__icon::before { width: 10px; height: 1.5px; transform: translate(-50%, -50%); }
.acc-btn__icon::after  { width: 1.5px; height: 10px; transform: translate(-50%, -50%); }
.acc-item.open .acc-btn__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.acc-item.open .acc-btn__title { color: var(--ink); }
.acc-body { display: none; padding-bottom: 1.5rem; padding-left: 2rem; }
.acc-item.open .acc-body { display: block; }
.acc-body p { font-size: 1rem; color: var(--mid); line-height: 1.8; }

.accordion--faq .acc-btn__num { display: none; }
.accordion--faq .acc-body { padding-left: 0; }

/* ═══════════════════════════════════════════════════════
   ÜBER UNS
   ═══════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.about-card {
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 10px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  transition: box-shadow 220ms var(--ease), transform 220ms var(--ease);
}
.about-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.09); transform: translateY(-3px); }
.about-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .04em;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.about-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.about-card p  { font-size: .95rem; color: var(--mid); line-height: 1.75; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════
   PROCESS STEPS
   ═══════════════════════════════════════════════════════ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.step { display: flex; flex-direction: column; gap: .75rem; padding: 1.75rem 1.5rem; background: rgba(255,255,255,0.95); border-radius: 10px; border: 1px solid var(--line); border-top: 3px solid var(--red); transition: box-shadow 200ms var(--ease), transform 200ms var(--ease); }
.step:hover { box-shadow: 0 6px 24px rgba(0,0,0,.07); transform: translateY(-2px); }
.step__num { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--red); color: #fff; font-size: .8rem; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.step h3 { font-size: 1.08rem; font-weight: 600; }
.step p  { font-size: .98rem; color: var(--mid); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════
   NEUIGKEITEN
   ═══════════════════════════════════════════════════════ */
.news-filter {
  display: flex;
  gap: .5rem;
  margin: 2rem 0 2rem;
  flex-wrap: wrap;
}
.news-filter__btn {
  padding: .38rem 1.1rem;
  font-size: .82rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--mid);
  background: transparent;
  transition: all 180ms var(--ease);
}
.news-filter__btn:hover { border-color: var(--red); color: var(--red); background: rgba(185,28,28,.04); }
.news-filter__btn.active { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 2px 8px rgba(185,28,28,.25); }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news-empty { font-size: .95rem; color: var(--faint); padding: 2rem 0; }

.news-card {
  background: rgba(255,255,255,0.97);
  border: 1px solid var(--line);
  border-top: 3px solid var(--red);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: box-shadow 220ms var(--ease), transform 220ms var(--ease);
}
.news-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.08); transform: translateY(-3px); }

.news-card--has-img { padding-top: 0; overflow: hidden; }
.news-card__img {
  display: block;
  width: calc(100% + 3rem);
  margin: 0 -1.5rem 1.25rem;
  height: 190px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 0;
}
.news-card__img--portrait {
  height: 300px;
  object-position: center 15%;
}

.news-card__meta { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.news-card__type {
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .18rem .65rem;
  border-radius: 999px;
}
.news-card__type--bildung   { background: #0f172a; color: #e2e8f0; }
.news-card__type--kultur    { background: rgba(180,140,20,.12); color: #8a6800; border: 1px solid rgba(180,140,20,.25); }
.news-card__type--austausch { background: rgba(185,28,28,.1); color: var(--red); }

.news-card__date { font-size: .75rem; color: var(--faint); }
.news-card h3 { font-size: .98rem; font-weight: 700; line-height: 1.45; color: var(--ink); }
.news-card p  { font-size: .88rem; color: var(--mid); line-height: 1.72; flex: 1; margin: 0; }
.news-card__author {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding-top: .75rem;
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.news-card__author-name {
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
}
.news-card__author-role {
  font-size: .72rem;
  color: var(--faint);
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--red);
  margin-top: .25rem;
  transition: gap 180ms var(--ease);
}
.news-card__link:hover { gap: .55rem; }

@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .news-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════
   CONTACT FORMS
   ═══════════════════════════════════════════════════════ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,.04);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--ff);
  font-size: .875rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: .6rem .875rem;
  transition: border-color 180ms var(--ease);
  outline: none;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--gold); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--faint); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394A3B8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .875rem center; padding-right: 2.5rem; }

.form-footer { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-note { font-size: .78rem; color: var(--faint); }

.form-error { font-size: .75rem; color: #DC2626; margin-top: .25rem; display: none; font-weight: 500; }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #DC2626; }
.form-field.has-error .form-error { display: block; }

/* ── Erfolgsblock ── */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2.5rem 1.5rem;
  background: rgba(255,255,255,0.97);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.form-success__icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 1.5rem;
  display: grid; place-items: center;
}
.form-success h3 { font-size: 1.1rem; }
.form-success p  { font-size: .88rem; color: var(--mid); line-height: 1.7; }
.form-success__btns { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.form-success__back {
  font-size: .8rem; color: var(--mid);
  text-decoration: underline; cursor: pointer;
  background: none; border: none;
  transition: color 150ms;
}
.form-success__back:hover { color: var(--ink); }

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(80px);
  padding: .75rem 1.5rem;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 500;
  z-index: 999;
  opacity: 0;
  transition: all 300ms var(--ease);
  pointer-events: none;
  white-space: nowrap;
}
.toast--show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast--ok  { background: #16a34a; color: #fff; }
.toast--err { background: #DC2626; color: #fff; }

/* ─── Contact layout (2-col) ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info__lead {
  font-size: .975rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 1.75rem;
}
.contact-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contact-step {
  display: flex;
  gap: .875rem;
  align-items: flex-start;
}
.contact-step__num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: .1rem;
}
.contact-step strong {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  margin-bottom: .2rem;
}
.contact-step p {
  font-size: .82rem;
  color: var(--mid);
  line-height: 1.6;
  margin: 0;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.contact-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 500;
  color: var(--mid);
  transition: color 180ms;
}
.contact-link svg { color: var(--gold); flex-shrink: 0; }
.contact-link:hover { color: var(--ink); }

/* ═══════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════ */
.footer { background: #0B1120; padding: 2rem 0; border-top: none; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.footer__brand { display: flex; align-items: center; }
.footer__brand-text { display: flex; flex-direction: column; gap: .25rem; }
.footer__brand-text strong { font-size: 1rem; font-weight: 800; color: #ffffff; letter-spacing: .01em; }
.footer__brand-text span  { font-size: .75rem; font-weight: 600; color: #e05555; letter-spacing: .16em; text-transform: uppercase; }
.footer__copy { font-size: .75rem; color: rgba(255,255,255,.38); }
.footer__address-row { border-top: 1px solid rgba(255,255,255,.07); margin-top: 1.25rem; padding-top: .875rem; text-align: center; }
.footer__map-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .75rem; color: rgba(255,255,255,.38); transition: color 180ms; }
.footer__map-link:hover { color: rgba(255,255,255,.65); }
.footer__map-link svg { flex-shrink: 0; color: rgba(185,28,28,.7); }

/* ═══════════════════════════════════════════════════════
   WHATSAPP FAB
   ═══════════════════════════════════════════════════════ */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.5); }

/* Active nav link */
.nav__links a.nav-active { color: var(--red); }

/* ═══════════════════════════════════════════════════════
   RTL
   ═══════════════════════════════════════════════════════ */

/* ─── Arabic Typography ─── */
[dir="rtl"] { line-height: 1.9; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.55; }
[dir="rtl"] .hero h1 { font-size: clamp(1.85rem, 4.8vw, 4rem); line-height: 1.6; }
[dir="rtl"] .hero__sub { letter-spacing: .05em; font-size: 1rem; }
[dir="rtl"] .section__title { max-width: 100%; }
[dir="rtl"] .section__lead  { max-width: 100%; }

/* ─── Hero ─── */
[dir="rtl"] .hero                    { justify-content: flex-start; text-align: right; padding-right: 3vw; padding-left: 1.5rem; }
[dir="rtl"] .hero::before {
  background:
    linear-gradient(to right, rgba(5,14,40,.68) 0%, rgba(5,14,40,.22) 55%, transparent 100%),
    linear-gradient(to bottom, rgba(5,14,40,.18) 0%, transparent 35%, rgba(5,14,40,.28) 100%);
}
[dir="rtl"] .hero__content           { text-align: right; }
[dir="rtl"] .hero__ctas              { justify-content: flex-end; flex-direction: row-reverse; }
[dir="rtl"] .hero__eyebrow           { left: auto; right: 44%; transform: translateX(50%); }

/* ─── Nav ─── */
[dir="rtl"] .nav__links              { margin-left: 0; margin-right: auto; flex-direction: row-reverse; padding-left: 0; padding-right: 8rem; }
[dir="rtl"] .lang-switch             { margin-left: 0; margin-right: .75rem; direction: ltr; }

/* ─── Sections / Labels ─── */
[dir="rtl"] .section__label          { flex-direction: row-reverse; }
[dir="rtl"] .section__label::before  { order: 1; }

/* ─── Tabs ─── */
[dir="rtl"] .tab-panel__text         { text-align: right; }
[dir="rtl"] .tab-panel__text h3      { text-align: right; }
[dir="rtl"] .tab-panel__text > p     { text-align: right; }
[dir="rtl"] .info-box                { text-align: right; }
[dir="rtl"] .tag-list                { justify-content: flex-end; }
[dir="rtl"] .info-box__label         { text-align: right; }

/* ─── Feature / Check / Timeline lists ─── */
[dir="rtl"] .feature-list li         { flex-direction: row-reverse; }
[dir="rtl"] .feature-list strong     { text-align: right; }
[dir="rtl"] .feature-list p          { text-align: right; }
[dir="rtl"] .check-list li           { padding-left: 0; padding-right: 1.25rem; text-align: right; }
[dir="rtl"] .check-list li::before   { left: auto; right: 0; }
[dir="rtl"] .timeline-mini__item     { flex-direction: row-reverse; }
[dir="rtl"] .timeline-mini__item p   { text-align: right; }

/* ─── Accordion ─── */
[dir="rtl"] .acc-btn                 { flex-direction: row-reverse; }
[dir="rtl"] .acc-btn__title          { text-align: right; }
[dir="rtl"] .acc-body                { padding-left: 0; padding-right: 2rem; text-align: right; }
[dir="rtl"] .accordion--faq .acc-body { padding-right: 0; }
[dir="rtl"] .acc-btn__icon           { margin-left: 0; margin-right: auto; }

/* ─── About cards ─── */
[dir="rtl"] .about-card              { text-align: right; align-items: flex-end; }

/* ─── Steps ─── */
[dir="rtl"] .step                    { text-align: right; align-items: flex-end; }

/* ─── Contact ─── */
[dir="rtl"] .contact-info            { text-align: right; }
[dir="rtl"] .contact-info__lead      { text-align: right; }
[dir="rtl"] .contact-step            { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .contact-link            { flex-direction: row-reverse; }
[dir="rtl"] .contact-links           { align-items: flex-end; }

/* ─── Forms ─── */
[dir="rtl"] .form-field label        { text-align: right; }
[dir="rtl"] .form-field input,
[dir="rtl"] .form-field textarea     { text-align: right; direction: rtl; }
[dir="rtl"] .form-field select       { text-align: right; direction: rtl; background-position: left .875rem center; padding-right: .875rem; padding-left: 2.5rem; }
[dir="rtl"] .form-footer             { flex-direction: row-reverse; }
[dir="rtl"] .form-success            { direction: rtl; }

/* ─── News ─── */
[dir="rtl"] .news-filter             { flex-direction: row-reverse; }
[dir="rtl"] .news-card               { text-align: right; align-items: flex-end; }
[dir="rtl"] .news-card__meta         { flex-direction: row-reverse; }
[dir="rtl"] .news-card__link         { flex-direction: row-reverse; }

/* ─── Footer ─── */
[dir="rtl"] .footer__inner           { flex-direction: row-reverse; }
[dir="rtl"] .footer__brand-text      { align-items: flex-end; }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .tab-panel__grid { grid-template-columns: 1fr; }
  .tab-panel__aside { flex-direction: row; flex-wrap: wrap; }
  .info-box { flex: 1; min-width: 260px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  :root { --topbar-h: 0px; --nav-h: 72px; --header-h: 72px; }
  .header__topbar { display: none; }
  .hero__eyebrow { left: 50%; bottom: 6rem; transform: translateX(-50%); font-size: .78rem; padding: .35rem 1rem; }
  body {
    background-image: none;
  }
  .hero {
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-attachment: scroll;
    background-position: 34% 55%;
  }
  .nav__logo-img { height: 58px; width: 58px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .lang-switch { position: static; margin-left: auto; bottom: auto; left: auto; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--paper);
    padding: 1.25rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    gap: .2rem;
    z-index: 99;
  }
  .nav__links.open a { padding: .6rem .8rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
  [dir="rtl"] .footer__inner { flex-direction: column; }
  [dir="rtl"] .nav__links { flex-direction: column; }
  [dir="rtl"] .lang-switch { margin-left: auto; margin-right: 0; }
}

@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .tab-panel__aside { flex-direction: column; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 300px; justify-content: center; }
  .contact-form { padding: 1.25rem; }
  .hero__eyebrow { display: none; }
  .hero h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
}
