/* Ana sayfa: kaydırmayla oynayan kare dizisi ("Vom Faden zum Frottee").
   Renkler site.css ile aynı; sahne arka planı kareler gibi saf beyaz. */
:root {
  --navy-deep: #0F1B3D;
  --navy-text: #1B2A5B;
  --gold: #B08D3E;
  --gold-light: #C9A85C;
  --gold-text: #A8842C;
  --ivory: #FBFAF6;
  --light: #F4F1E8;
  --light-dim: #D9D4C5;
  --gray: #5A6178;
  --stage-bg: #FFFFFF;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --bar-h: 64px;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--navy-text); background: var(--stage-bg); }
a { color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .35em; letter-spacing: -.01em; }
h1, .cap h2 { font-size: clamp(1.9rem, 4.4vw, 3.3rem); }
p { margin: 0; }
.kicker { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; color: var(--gold-text); margin-bottom: 12px; }

/* ===== Üst çubuk ===== */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 20; height: var(--bar-h);
  display: flex; align-items: center; gap: 22px; padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(176, 141, 62, .25);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.bird { width: 22px; height: 29px; color: var(--gold); flex: none; }
.wordmark { font-weight: 800; letter-spacing: .18em; font-size: .95rem; }
.wordmark small { font-size: .65em; font-weight: 400; letter-spacing: .05em; }
.links { display: flex; gap: 20px; font-size: .86rem; }
.links a { text-decoration: none; }
.links a:hover { color: var(--gold-text); }
.langs { display: flex; border: 1px solid var(--navy-text); border-radius: 6px; overflow: hidden; }
.langs button { font: inherit; font-size: .74rem; font-weight: 700; letter-spacing: .06em; padding: 4px 9px; border: 0; background: none; color: var(--navy-text); cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--navy-text); color: #fff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ===== Kaydırma sahnesi =====
   JS yoksa: resim + yazılar alt alta, düz sayfa. JS varsa (html.js): uzun pist + yapışık sahne. */
.track { padding: calc(var(--bar-h) + 24px) 16px 40px; text-align: center; }
.stage { position: relative; }
.poster { display: block; width: 100%; max-width: 1100px; height: auto; margin: 0 auto 24px; }
.film, .progress, .hint { display: none; }
.cap { max-width: 40rem; margin: 0 auto 36px; padding: 0 16px; }
.cap > p:not(.kicker) { color: var(--gray); font-size: clamp(1rem, 1.5vw, 1.12rem); }

.js .track { height: 520vh; padding: 0; }
.js .stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--stage-bg); }
.js .film { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.js .poster { position: absolute; left: 0; right: 0; bottom: 8vh; width: 100%; max-width: none; height: 62vh; object-fit: contain; margin: 0; }
.js .poster[hidden] { display: none; }
.js .cap {
  position: absolute; left: 50%; top: calc(var(--bar-h) + 3.5vh); width: min(40rem, calc(100% - 32px));
  margin: 0; padding: 0; transform: translateX(-50%); opacity: 0; pointer-events: none;
  will-change: opacity, transform;
}
.js .cap.on { pointer-events: auto; }
.js .cap[data-from="0"] { opacity: 1; }

.ctas { margin-top: 18px !important; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn { display: inline-block; font-weight: 700; font-size: .9rem; padding: 11px 20px; border-radius: 7px; text-decoration: none; background: var(--gold); color: var(--navy-deep); border: 1.5px solid var(--gold); }
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn.ghost { background: transparent; color: var(--navy-text); border-color: var(--navy-text); }
.btn.ghost:hover { background: var(--navy-text); color: #fff; }

.js .progress { display: block; position: absolute; top: var(--bar-h); left: 0; right: 0; height: 2px; }
.progress i { display: block; height: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }

.js .hint {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gray);
  transition: opacity .4s;
}
.hint i { width: 12px; height: 12px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); animation: bob 1.6s ease-in-out infinite; }
.hint.gone { opacity: 0; }
@keyframes bob { 50% { transform: translateY(5px) rotate(45deg); } }

/* ===== Alt bölüm ===== */
.more { background: linear-gradient(160deg, #182750 0%, var(--navy-deep) 100%); color: var(--light); padding: 72px 16px 80px; }
.more-inner { max-width: 1080px; margin: 0 auto; }
.more .kicker { color: var(--gold-light); }
.more h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 28px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.tiles a { display: flex; flex-direction: column; gap: 4px; padding: 18px; border: 1px solid rgba(201, 168, 92, .35); border-radius: 10px; text-decoration: none; transition: background .2s, border-color .2s; }
.tiles a:hover { background: rgba(201, 168, 92, .12); border-color: var(--gold-light); }
.tiles b { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.tiles span { font-size: .84rem; color: var(--light-dim); }

.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 22px clamp(16px, 4vw, 40px); background: var(--navy-deep); color: var(--light-dim); font-size: .8rem; border-top: 1px solid rgba(201, 168, 92, .25); }
.foot .legal { margin-left: auto; display: flex; gap: 16px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold-light); }

@media (max-width: 720px) {
  :root { --bar-h: 56px; }
  .bar { gap: 12px; }
  .wordmark, .links .opt { display: none; }
  .links { gap: 12px; font-size: .78rem; }
  .js .track { height: 420vh; }
  .ctas { flex-wrap: nowrap; gap: 8px; }
  .btn { font-size: .82rem; padding: 10px 13px; white-space: nowrap; }
  .foot .legal { margin-left: 0; }
}
@media (max-width: 380px) {
  .links a[data-i18n="navInfo"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hint i { animation: none; }
}
