/* ========== Variablen, Reset, Basis ========== */
:root{
  --bg: #0f0f12;
  --ink: #e9e9ef;
  --muted: #b9b9c3;
  --brand: #d6a200;   /* warmes Gold */
  --brand-2: #b11226; /* tiefes Rot */
  --accent: #2c6bbf;  /* kühles Blau */
  --surface: #17171c;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 18px;
  --ring: 0 0 0 3px color-mix(in oklab, var(--brand) 40%, transparent);
}

/* Lokale Schriftarten (TTF) */
@font-face{
  font-family: "InterLocal";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face{
  font-family: "PlayfairLocal";
  src: url("../fonts/PlayfairDisplay-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}

/* Reset */
*{ box-sizing: border-box; }
html,body{ height:100%; }
html{ scroll-behavior:smooth; }
body{
  margin:0; background:var(--bg); color:var(--ink);
  font: 16px/1.6 InterLocal, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
img{ display:block; width:100%; height:auto; max-width:350px; }
figure{ margin:0; }
a{ color: var(--ink); text-decoration: none; }
a:hover{ color: var(--brand); }
a:focus-visible{ outline: none; box-shadow: var(--ring); border-radius: 10px; }

.container{ width: min(1100px, 92%); margin-inline: auto; }

/* Skip-Link */
.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left: 16px; top: 16px; width:auto; height:auto; padding:8px 12px;
  background: var(--surface); color: var(--ink); border-radius: 8px;
}

/* ========== Header ========== */
.site-header{
  position: fixed; inset: 0 0 auto 0; height:64px; z-index:1000;
  background: linear-gradient(180deg, rgba(10,10,12,.9), rgba(10,10,12,.7));
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between; height:64px;
}
.brand{ display:flex; align-items:center; gap:10px; font-weight:700; }
.brand-mark{ color: var(--brand); font-size: 20px; }
.brand-name{
  font-family: PlayfairLocal, serif; letter-spacing:.4px; font-size: 18px;
}

/* Navigation */
.site-nav ul{ list-style:none; display:flex; gap:20px; margin:0; padding:0; }
.site-nav a{
  padding:8px 10px; border-radius:10px; transition: transform .2s ease, background .2s ease;
}
.site-nav a:hover{ background: rgba(255,255,255,.06); transform: translateY(-1px); }
.site-nav a.is-active{ color: var(--brand); }

/* Burger */
.nav-toggle{
  display:none; background:none; border:0; padding:8px; border-radius:10px;
}
.nav-toggle:hover{ background: rgba(255,255,255,.06); }
.nav-toggle-bar{
  display:block; width:24px; height:2px; background:var(--ink); margin:5px 0; border-radius:2px;
}

/* Platz für fixen Header */
.site-main{ padding-top: 84px; }

/* ========== Footer ========== */
.site-footer{
  margin-top: 64px; border-top:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent);
}
.footer-inner{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding: 22px 0;
}
.site-footer ul{ list-style:none; display:flex; gap:16px; margin:0; padding:0; }
.site-footer a:hover{ color: var(--brand); }

/* ========== Buttons ========== */
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:10px 14px;
  border-radius: 14px; border:1px solid rgba(255,255,255,.14);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  will-change: transform;
}
.btn-primary{ background: color-mix(in oklab, var(--brand) 30%, transparent); }
.btn-primary:hover{ background: color-mix(in oklab, var(--brand) 55%, transparent); box-shadow: var(--shadow); transform: translateY(-1px); }
.btn-ghost:hover{ background: rgba(255,255,255,.06); transform: translateY(-1px); }

/* ========== Reveal (IntersectionObserver) ========== */
[data-reveal]{ opacity:0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.is-in{ opacity:1; transform:none; }

/* Motion-Schalter */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  [data-reveal]{ transition:none; opacity:1; transform:none; }
  .btn, .site-nav a{ transition:none; }
}

/* ========== Responsive Navigation ========== */
@media (max-width: 920px){
  .nav-toggle{ display:block; }
  .site-nav{
    position: fixed; top:64px; right:0; left:0; background: var(--surface);
    translate: 0 -8px; opacity:0; pointer-events:none; transition: opacity .25s ease, translate .25s ease;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .site-nav ul{ flex-direction: column; gap: 0; }
  .site-nav li{ border-top:1px solid rgba(255,255,255,.06); }
  .site-nav a{ display:block; padding:14px 16px; }
  .site-nav.is-open{ opacity:1; pointer-events:auto; translate:0 0; }
}

/* Kleinere Geräte Typografie/Spacing */
@media (max-width: 480px){
  .brand-name{ font-size:16px; }
}
/* Basit alt bilgi düzeni — mevcut değişkenleri kullanır */
.footer{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-container{
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: clamp(12px, 4vw, 28px); padding: 18px 0;
}
.footer-column{ display: grid; gap: 8px; }
.footer-brand{ margin: 0; font-weight: 700; color: var(--brand); }
.footer-mail{ color: var(--ink); text-decoration: none; border-bottom: 1px dashed transparent; }
.footer-mail:hover{ border-bottom-color: rgba(255,255,255,.25); }
.footer-links{ display: flex; gap: 12px; flex-wrap: wrap; }
.footer-links a{ color: var(--ink); text-decoration: none; border-bottom: 1px dashed transparent; }
.footer-links a:hover{ border-bottom-color: rgba(255,255,255,.25); }

/* Mobil hizalama */
@media (max-width: 640px){
  .footer-container{ flex-direction: column; align-items: stretch; }
}

/* Scroll animasyonu için baseline */
.animate-on-scroll{ opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
.animate-on-scroll.in-view{ opacity: 1; transform: translateY(0); }
