/* ============================================
   Fonts (self-hosted, variable)
   ============================================ */
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/outfit-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../assets/fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url("../assets/fonts/dm-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap;
  src: url("../assets/fonts/dm-sans-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================
   Eminal GmbH — Design tokens
   ============================================ */
:root {
  --black: #0a0a0a;
  --black-deep: #050505;
  --surface: #151515;
  --line: #262626;
  --red: #e20914;
  --red-deep: #a3060e;
  --red-bright: #ff3b47;
  --white: #f9f9f9;
  --muted: #8e8e93;
  --text-on-light: #2b2b2e;
  --muted-on-light: #5b5b60;

  --font-display: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --header-h: 4.5rem;
  --max-w: 76rem;
}

/* ============================================
   Reset / base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--white);
  background: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.1; }
p { margin: 0 0 1em; max-width: 60ch; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }

/* ============================================
   Custom scrollbar — sağda sabit, ince, sürüklenebilir
   (JS bu öğeyi oluşturur ve <html>'e .has-custom-scrollbar ekler;
    JS çalışmazsa yerel scrollbar olduğu gibi kalır)
   ============================================ */
.scrollbar-track {
  position: fixed;
  top: 25%; bottom: 25%;
  right: 6px;
  width: 6px;
  background: rgba(142, 142, 147, 0.14);
  border-radius: 10px;
  z-index: 40;
}
.scrollbar-thumb {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  background: #3a3a3a;
  border-radius: 10px;
  cursor: grab;
  transition: background-color 0.2s ease;
}
.scrollbar-thumb::before { content: ""; position: absolute; inset: 0 -6px; } /* tutması kolay olsun */
.scrollbar-thumb:hover,
.scrollbar-thumb.is-dragging { background: #555; }
.scrollbar-thumb.is-dragging { cursor: grabbing; }

@media (min-width: 769px) {
  html.has-custom-scrollbar { scrollbar-width: none; }
  html.has-custom-scrollbar::-webkit-scrollbar { width: 0; display: none; }
}
@media (max-width: 768px) {
  .scrollbar-track { display: none !important; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow-line {
  display: block;
  width: 2.75rem;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 10px 30px -10px rgba(226, 9, 20, 0.7); }
.btn-primary:hover { background: var(--red-deep); }
.btn-outline { border: 1px solid rgba(249, 249, 249, 0.3); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(249, 249, 249, 0.06); }

.reveal-btn, .reveal-link {
  font-weight: 500;
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.reveal-btn:hover, .reveal-link:hover { color: #fff; text-decoration-color: var(--white); }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-static { position: static; background: var(--black); border-bottom: 1px solid var(--line); }
.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand-icon { height: 2.5rem; width: auto; }

.back-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s ease;
}
.back-link:hover { color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; }
.lang-btn { opacity: 0.55; padding: 0.2rem; }
.lang-btn:hover { opacity: 1; }
.lang-btn.is-active { opacity: 1; color: var(--red); }
.lang-sep { opacity: 0.35; }



/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
  background:
    radial-gradient(ellipse 60% 55% at 78% 70%, rgba(200, 200, 200, 0.08), transparent 70%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(249, 249, 249, 0.09), transparent 70%),
    var(--black);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-band { display: none; }
.hero-inner {
  position: relative; z-index: 1;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}
.hero-inner > * { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-inner > :nth-child(2) { animation-delay: 0.12s; }
.hero-inner > :nth-child(3) { animation-delay: 0.24s; }
.hero-inner > :nth-child(4) { animation-delay: 0.36s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-logo { width: clamp(18rem, 70vw, 34rem); margin-bottom: 2.25rem; }
.hero h1 { font-size: clamp(1.2rem, 3.6vw, 1.9rem); max-width: 26ch; margin-bottom: 2rem; letter-spacing: -0.01em; }
.h1-strong { display: block; font-weight: 700; }
.h1-light { display: block; font-weight: 300; color: rgba(249, 249, 249, 0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 3rem; }

.hero-cols { display: grid; gap: 1.5rem; max-width: 34rem; }
.hero-cols h2 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.3rem; }
.hero-cols p { font-size: 0.85rem; color: var(--muted); margin: 0; max-width: 30ch; }

.scroll-hint { display: none; }

/* ============================================
   About (light)
   ============================================ */
.about, .contact { padding: 5rem 0; }
.about {
  background:
    radial-gradient(ellipse 50% 60% at 100% 0%, rgba(226, 9, 20, 0.07), transparent 70%),
    var(--white);
  color: var(--text-on-light);
}
.about-grid { display: grid; gap: 2rem; }
.t-strong { font-weight: 700; }
.t-light { font-weight: 300; }
.about-head h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
}
.about-text p { font-size: 1.05rem; line-height: 1.75; }

/* ============================================
   Contact (dark)
   ============================================ */
.contact {
  background:
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(200, 200, 200, 0.07), transparent 70%),
    var(--black);
  padding: 4rem 0;
}
.contact-header h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
}
.contact-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.contact-col .label { margin-bottom: 0.5rem; }
.contact-col p { margin: 0; font-size: 1.05rem; }

/* Adres linki — tıklanınca Google Maps'te açılır */
.contact-address-link {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--white);
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1.55;
  position: relative;
  transition: color 0.25s ease;
}
.contact-address-link span {
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.contact-address-link:hover {
  color: var(--red);
}
.contact-address-link:hover span {
  border-bottom-color: var(--red);
}
.contact-address-arrow {
  position: absolute;
  right: -1.25rem;
  top: 0.15rem;
  color: var(--muted);
  transition: color 0.25s ease, transform 0.25s ease;
}
.contact-address-link:hover .contact-address-arrow {
  color: var(--red);
  transform: translate(2px, -2px);
}

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--black-deep); border-top: 1px solid var(--line); color: var(--muted); padding: 1.25rem 0; }
.site-footer.is-static { margin-top: 0; }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex; justify-content: center; align-items: center; text-align: center;
}
.footer-logo { display: none; }
.footer-inner p { margin: 0; font-size: 0.85rem; }
.footer-inner a { text-decoration: underline; text-underline-offset: 3px; }
.footer-inner a:hover { color: var(--white); }

/* ============================================
   Impressum page
   ============================================ */
.impressum { padding: 3.5rem 0 5rem; }
.impressum-inner { max-width: 44rem; }
.impressum h1 { font-size: clamp(2rem, 6vw, 3rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 2.5rem; }
.impressum section { margin-bottom: 2.25rem; padding-bottom: 2.25rem; border-bottom: 1px solid var(--line); }
.impressum section:last-child { border-bottom: none; }
.impressum h2 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.75rem; }
.impressum h3 { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; margin: 1rem 0 0.4rem; }
.impressum p { font-size: 0.95rem; color: #d0d0d3; margin-bottom: 0.4rem; }
.impressum .strong { font-weight: 600; color: var(--white); }
.impressum .mono { font-family: ui-monospace, monospace; }

/* ============================================
   Breakpoints (mobile-first, min-width)
   ============================================ */
@media (min-width: 768px) {
  .contact-cols { grid-template-columns: 1fr 1fr 1fr; gap: 3rem; }
  .hero-cols { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about, .contact { padding: 5.5rem 0; }
}

@media (min-width: 1024px) {
  .section-inner, .header-inner, .hero-inner, .footer-inner { padding-left: 5.5rem; padding-right: 3rem; }
  .about-grid { grid-template-columns: 5fr 6fr; gap: 5rem; align-items: start; }

  .scroll-hint {
    display: flex; align-items: center; gap: 0.9rem;
    position: absolute; right: 2rem; bottom: 2.5rem; z-index: 2;
    writing-mode: vertical-rl;
    font-size: 0.68rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--muted);
  }
  .scroll-hint::after { content: ""; width: 1px; height: 3.5rem; background: var(--muted); opacity: 0.6; }
  .scroll-hint:hover { color: var(--white); }
}
