/* ════════════════════════════════════════════════════════════
   ALRASTAN – Startseite Redesign  (Stitch "Digital Identity")
   Scope: everything lives under .al-start so it never collides
   with the global .alr-* (main.css) or .alh-* (history) styles.
   Source design: Stitch screen "Al Rastan – Startseite (Mobile)".
   ════════════════════════════════════════════════════════════ */

.al-start {
  /* Stitch design tokens */
  --s-forest:   #002623;   /* deep-forest / primary-container */
  --s-forest-2: #00322e;
  --s-gold:     #B9A779;   /* golden-sand */
  --s-ivory:    #EDEBE0;   /* ivory-mist */
  --s-damask:   #6B1F2A;   /* damask-red */
  --s-surface:  #faf9f8;   /* surface / background */
  --s-onvar:    #414847;   /* on-surface-variant */
  --s-on:       #1a1c1b;   /* on-surface */
  --s-line:     rgba(113,121,119,0.20);

  --s-display:  'Be Vietnam Pro','Inter',system-ui,sans-serif;
  --s-body:     'Manrope','Inter',system-ui,sans-serif;
  --s-label:    'IBM Plex Sans','Inter',system-ui,sans-serif;

  --s-max:      1280px;
  --s-mx:       20px;       /* mobile gutter */
  --s-gap:      clamp(72px, 9vw, 120px);

  background: var(--s-surface);
  color: var(--s-on);
  font-family: var(--s-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
@media (min-width: 768px){ .al-start { --s-mx: 64px; } }

/* Arabic keeps its calligraphic stack */
[dir="rtl"] .al-start {
  --s-display: 'Aref Ruqaa','Amiri','Noto Naskh Arabic',serif;
  --s-body:    'Amiri','Noto Naskh Arabic',serif;
  --s-label:   'Amiri','Noto Naskh Arabic',serif;
}

.al-start * { box-sizing: border-box; }
.al-start__wrap { max-width: var(--s-max); margin: 0 auto; padding: 0 var(--s-mx); }

/* ── Shared type helpers ─────────────────────────────── */
.al-start__eyebrow {
  font-family: var(--s-label);
  font-size: 12px; line-height: 16px; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--s-gold);
  display: block; margin-bottom: 1rem;
}
[dir="rtl"] .al-start__eyebrow { letter-spacing: 0.12em; }

.al-start h2.al-start__h {
  font-family: var(--s-display);
  font-size: clamp(32px, 6vw, 40px);
  line-height: 1.15; font-weight: 700; letter-spacing: -0.02em;
  color: var(--s-forest); margin: 0;
}
.al-start .al-start__lede {
  font-size: 18px; line-height: 1.6; color: var(--s-onvar);
}

/* ════ 1 · CINEMATIC HERO ════════════════════════════ */
.al-start__hero {
  position: relative;
  min-height: clamp(620px, 92vh, 860px);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: var(--s-forest);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  padding: 96px var(--s-mx) 120px;
}
.al-start__hero-media,
.al-start__hero-media video,
.al-start__hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.al-start__hero-media::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom,
              rgba(0,38,35,0.82), rgba(0,38,35,0.45) 45%, rgba(0,38,35,0.92));
  mix-blend-mode: multiply;
}
.al-start__hero-inner { position: relative; z-index: 2; max-width: 880px; }
.al-start__hero-title {
  font-family: var(--s-display);
  font-size: clamp(38px, 9vw, 64px);
  line-height: 1.08; font-weight: 700; letter-spacing: -0.02em;
  color: var(--s-ivory); margin: 0 0 1.25rem;
}
.al-start__hero-script {
  display: block;
  font-family: 'Cormorant Garamond', var(--s-display);
  font-style: italic; font-weight: 500; letter-spacing: 0;
  color: var(--s-gold);
  font-size: clamp(26px, 6vw, 46px);
  margin-top: .3rem;
}
[dir="rtl"] .al-start__hero-script { font-family: 'Aref Ruqaa','Amiri',serif; font-style: normal; }
.al-start__hero-sub {
  font-size: clamp(16px, 2.4vw, 18px); line-height: 1.7;
  color: rgba(237,235,224,0.82);
  max-width: 620px; margin: 0 auto 2.5rem;
}
.al-start__hero-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* Buttons */
.al-start__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--s-display); font-weight: 600; font-size: 16px;
  padding: 15px 32px; border-radius: 4px; cursor: pointer;
  text-decoration: none; transition: all .3s var(--alr-ease, ease);
  border: 1px solid transparent;
}
.al-start__btn--primary { background: var(--s-gold); color: var(--s-forest); }
.al-start__btn--primary:hover { background: var(--s-ivory); }
.al-start__btn--ghost {
  background: rgba(237,235,224,0.06); color: var(--s-ivory);
  border-color: rgba(237,235,224,0.30);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.al-start__btn--ghost:hover { background: rgba(237,235,224,0.14); }

.al-start__scroll {
  position: absolute; bottom: 46px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(237,235,224,0.5);
  animation: alStartBounce 2s infinite;
}
@keyframes alStartBounce { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,10px)} }

/* ════ 2 · GESCHICHTE / INTRO ════════════════════════ */
.al-start__intro {
  background: var(--s-surface);
  padding: var(--s-gap) 0;
  margin-top: -3.5rem; position: relative; z-index: 5;
}
.al-start__intro-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start;
}
@media (min-width: 1024px){
  .al-start__intro-grid { grid-template-columns: 5fr 7fr; gap: 3rem; align-items: center; }
}
.al-start__intro-head { position: relative; }
.al-start__intro-head::before {
  content: '“'; position: absolute; top: -3.2rem; inset-inline-start: -1.5rem;
  font-family: 'Cormorant Garamond', serif; font-size: 9rem; line-height: 1;
  color: rgba(185,167,121,0.12); pointer-events: none;
}
.al-start__rule { width: 80px; height: 4px; background: var(--s-gold); margin-top: 1.5rem; border-radius: 2px; }
.al-start__intro-body p { margin: 0 0 1.25rem; }
.al-start__intro-body p:last-child { color: rgba(65,72,71,0.85); font-size: 16px; margin-bottom: 0; }

/* ════ 3 · TOP SEHENSWÜRDIGKEITEN (BENTO) ════════════ */
.al-start__sights {
  background: var(--s-ivory);
  padding: var(--s-gap) 0;
  clip-path: polygon(0 4%, 100% 0, 100% 100%, 0 100%);
  margin-top: -1px;
}
.al-start__sights .al-start__wrap { padding-top: clamp(1rem, 4vw, 3rem); }
.al-start__center { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.al-start__center .al-start__eyebrow { color: var(--s-damask); letter-spacing: 0.2em; }

.al-start__bento {
  display: grid; gap: 24px;
  grid-template-columns: 1fr; grid-auto-rows: 240px;
}
@media (min-width: 768px){
  .al-start__bento {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
  }
  .al-start__tile--feature { grid-area: 1 / 1 / 3 / 3; }
  .al-start__tile--wide    { grid-column: 1 / -1; grid-auto-rows: 260px; }
}
.al-start__tile {
  position: relative; overflow: hidden; border-radius: 6px;
  border: 1px solid rgba(113,121,119,0.18); box-shadow: var(--alr-shadow-sm, 0 2px 8px rgba(0,0,0,.08));
}
.al-start__tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .7s var(--alr-ease, ease);
}
.al-start__tile:hover img { transform: scale(1.06); }
.al-start__tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,38,35,0.92), rgba(0,38,35,0.28) 55%, transparent);
}
.al-start__tile-body { position: absolute; inset-inline: 0; bottom: 0; padding: 1.5rem; z-index: 2; }
.al-start__tile--feature .al-start__tile-body { padding: 2rem; }
.al-start__badge {
  display: inline-block; background: var(--s-gold); color: var(--s-forest);
  font-family: var(--s-label); font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px; margin-bottom: .75rem;
}
.al-start__tile-title {
  font-family: var(--s-display); color: var(--s-ivory);
  font-size: clamp(20px, 3vw, 30px); line-height: 1.2; font-weight: 600; margin: 0;
}
.al-start__tile-desc {
  color: rgba(237,235,224,0.82); font-size: 15px; margin: .5rem 0 0; max-width: 44ch;
}

/* ════ 4 · KULTUR & TRADITION (ASYMMETRIC) ═══════════ */
.al-start__culture { background: var(--s-surface); padding: var(--s-gap) 0; }
.al-start__culture-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(3rem, 6vw, 4rem); align-items: center;
}
@media (min-width: 1024px){ .al-start__culture-grid { grid-template-columns: 1fr 1fr; } }

.al-start__culture-media { position: relative; }
.al-start__culture-media .al-start__frame {
  aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--s-ivory);
}
.al-start__culture-media img { width: 100%; height: 100%; object-fit: cover; }
.al-start__culture-blob {
  position: absolute; bottom: -2rem; inset-inline-end: -2rem;
  width: 12rem; height: 12rem; background: rgba(185,167,121,0.16);
  border-radius: 50%; filter: blur(40px); z-index: 0;
}
.al-start__float {
  position: absolute; top: 3rem; inset-inline-start: -1.5rem;
  background: var(--s-surface); padding: 1.5rem; border-radius: 6px;
  box-shadow: var(--alr-shadow-lg, 0 16px 48px rgba(0,0,0,.16));
  border: 1px solid rgba(113,121,119,0.12); max-width: 240px; z-index: 3;
}
.al-start__float-star { color: var(--s-gold); font-size: 26px; line-height: 1; }
.al-start__float h4 { font-family: var(--s-display); color: var(--s-forest); font-size: 20px; margin: .5rem 0 .25rem; font-weight: 600; }
.al-start__float p {
  color: var(--s-onvar); font-size: 13px; margin: 0; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 639px){ .al-start__float { display: none; } }

.al-start__check { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1rem; }
.al-start__check li { display: flex; align-items: flex-start; gap: .85rem; color: var(--s-on); }
.al-start__check svg { flex-shrink: 0; margin-top: 2px; color: var(--s-gold); }
.al-start__textlink {
  display: inline-flex; align-items: center; gap: .5rem; background: none; border: 0; cursor: pointer;
  font-family: var(--s-display); font-weight: 600; font-size: 16px; color: var(--s-forest);
  text-decoration: none; transition: color .3s ease;
}
.al-start__textlink:hover { color: var(--s-gold); }
.al-start__textlink .al-start__arrow { transition: transform .3s ease; }
[dir="rtl"] .al-start__textlink .al-start__arrow { transform: scaleX(-1); }
.al-start__textlink:hover .al-start__arrow { transform: translateX(6px); }
[dir="rtl"] .al-start__textlink:hover .al-start__arrow { transform: scaleX(-1) translateX(6px); }

/* ════ 5 · NACHRICHTEN (GLASSMORPHISM) ═══════════════ */
.al-start__news { position: relative; background: var(--s-forest); padding: var(--s-gap) 0; overflow: hidden; }
.al-start__news::before {
  content: ''; position: absolute; inset: 0; opacity: 0.06;
  background-image: radial-gradient(circle at 2px 2px, #fff 1px, transparent 0);
  background-size: 32px 32px;
}
.al-start__news .al-start__wrap { position: relative; z-index: 1; }
.al-start__news-head {
  display: flex; flex-direction: column; gap: 1rem;
  justify-content: space-between; align-items: flex-start; margin-bottom: 3rem;
}
@media (min-width: 768px){ .al-start__news-head { flex-direction: row; align-items: flex-end; } }
.al-start__news-head h2 { color: var(--s-ivory); }
.al-start__news-all {
  display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
  color: var(--s-gold); text-decoration: none; font-family: var(--s-display); font-weight: 600;
}
.al-start__news-all:hover { color: var(--s-ivory); }
.al-start__news-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px){ .al-start__news-grid { grid-template-columns: repeat(3, 1fr); } }
.al-start__ncard {
  background: rgba(250,249,248,0.05); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1px solid rgba(237,235,224,0.10); border-radius: 8px; padding: 1.5rem;
  transition: background .3s ease;
}
.al-start__ncard:hover { background: rgba(250,249,248,0.10); }
.al-start__ncard-meta { color: var(--s-gold); font-family: var(--s-label); font-size: 12px; letter-spacing: 0.06em; margin-bottom: 1rem; }
.al-start__ncard h3 { font-family: var(--s-display); color: var(--s-ivory); font-size: 22px; line-height: 1.3; font-weight: 600; margin: 0 0 1rem; }
.al-start__ncard p {
  color: rgba(237,235,224,0.72); font-size: 15px; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ════ 6 · FINAL CTA ═════════════════════════════════ */
.al-start__cta { background: var(--s-ivory); text-align: center; padding: var(--s-gap) var(--s-mx); }
.al-start__cta-inner { max-width: 640px; margin: 0 auto; }
.al-start__cta h2 { color: var(--s-forest); margin: .25rem 0 1rem; }
.al-start__cta p { color: var(--s-onvar); font-size: 18px; margin: 0 0 2rem; }

/* ── Reduced-motion ── */
@media (prefers-reduced-motion: reduce){
  .al-start__scroll { animation: none; }
  .al-start__tile img { transition: none; }
}
