/* ==========================================================================
   LiynaMedia – Custom Styles
   Ergänzt Tailwind um Marken-Variablen, Farbverläufe und Animationen.
   Keine Inline-Styles im HTML — alles Markenspezifische lebt hier.
   ========================================================================== */

:root {
  --gold: #d4af37;
  --gold-light: #f2d98a;
  --gold-deep: #b8860b;
  --lime: #a3e635;
  --lime-deep: #7cb518;
  --bg: #0a0a0a;
  --bg-alt: #101010;
  --surface: #161616;
  --surface-2: #1c1c1c;
  --border-subtle: #262626;
  --text-light: #f5f5f5;
  --text-muted: #a0a0a0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text-light);
}

/* Wortmarke / Überschriften mit Serifen-Charakter passend zum Logo */
.font-display {
  font-family: "Playfair Display", Georgia, serif;
}

/* Playfair braucht mehr Zeilenhöhe, sonst werden Oberlängen oben abgeschnitten.
   Element+Klasse übersteuert die knappen line-height-Utilities von Tailwind. */
h1.font-display,
h2.font-display,
h3.font-display,
p.font-display {
  line-height: 1.3;
}

/* Headline-Font der Homepage (Repositionierung Digital Growth Studio).
   .font-display (Playfair) bleibt unverändert für impressum.html/datenschutz.html. */
.font-headline {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
}

/* Kleiner Puffer, damit Verläufe-Glyphen nie an den Kanten clippen */
.text-gold-gradient {
  padding-top: 0.04em;
  padding-bottom: 0.04em;
}

/* --- Gold-Verlauf für Text (wie im Logo) --- */
.text-gold-gradient {
  background: linear-gradient(120deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-lime {
  color: var(--lime);
}

/* --- Sanfter Gold-Schein im Hintergrund --- */
.glow-gold {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
  opacity: 0.22;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Zweiter, dezenterer Gold-Schein (ersetzt frühere rein dekorative Lime-Variante –
   Lime ist als Farbe ausschließlich funktionalen/interaktiven Elementen vorbehalten). */
.glow-gold-soft {
  position: absolute;
  border-radius: 9999px;
  filter: blur(130px);
  opacity: 0.14;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Feine Linie mit Gold-Verlauf --- */
.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: 0;
}

/* --- Karten --- */
.card {
  background-color: var(--surface);
  border: 1px solid var(--border-subtle);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 18px 40px -20px rgba(212, 175, 55, 0.35);
}

/* --- CTA-Buttons --- */
.btn-primary {
  background: linear-gradient(120deg, var(--lime) 0%, var(--lime-deep) 100%);
  color: #0a0a0a;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 30px -12px rgba(163, 230, 53, 0.55);
}

.btn-gold {
  background: linear-gradient(120deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-deep) 100%);
  color: #0a0a0a;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 30px -12px rgba(212, 175, 55, 0.55);
}

.btn-ghost {
  border: 1px solid var(--border-subtle);
  color: var(--text-light);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background-color: rgba(212, 175, 55, 0.06);
}

/* --- Icon-Kacheln --- */
.icon-tile {
  color: var(--gold);
  background-color: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

/* --- Status-Badge --- */
.status-badge {
  background-color: rgba(163, 230, 53, 0.12);
  color: var(--lime);
  border: 1px solid rgba(163, 230, 53, 0.3);
}

/* --- Nav bei Scroll --- */
.nav-scrolled {
  background-color: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

/* --- Projekt-Bild-Platzhalter (bis echte Bilder folgen) --- */
.image-placeholder {
  background:
    repeating-linear-gradient(
      45deg,
      rgba(212, 175, 55, 0.05),
      rgba(212, 175, 55, 0.05) 12px,
      transparent 12px,
      transparent 24px
    ),
    var(--surface-2);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  color: var(--text-muted);
}

/* --- Leistungs-Tags (Wertschöpfungskette) --- */
.tag {
  display: inline-block;
  background-color: rgba(245, 245, 245, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-light);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
}

/* --- Verbindungslinie der drei Leistungs-Ebenen (Sichtbarkeit -> Conversion -> Systeme) --- */
.chain {
  position: relative;
}

.chain-line {
  position: absolute;
  top: 2.75rem;
  bottom: 2.75rem;
  left: 1.9rem;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold) 15%, var(--gold) 85%, transparent);
  opacity: 0.35;
}

/* --- Stärker gewichtete Karte (strategischer Differentiator: Systeme & Automatisierung).
   Dezenter, statischer Gold-Rand ohne Glow, damit sie nicht wie ein aktiver Hover-State wirkt. --- */
.card--featured {
  border-color: rgba(212, 175, 55, 0.3);
}

.card--featured:hover {
  border-color: rgba(212, 175, 55, 0.5);
}

/* --- Hervorgehobenes Zitat / zentrale Erkenntnis --- */
.insight-callout {
  border-left: 3px solid var(--gold);
  background-color: rgba(212, 175, 55, 0.05);
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.25rem 1.5rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.6;
}

/* --- FAQ-Akkordeon (natives <details>/<summary>) --- */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  color: var(--text-light);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item .faq-icon {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item .faq-answer {
  padding-bottom: 1.5rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* --- Sichtbare Fokuszustände für Tastaturbedienung --- */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Reveal-on-Scroll --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Mobile-Menü --- */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-menu.open {
  max-height: 420px;
}

/* ==========================================================================
   Rechtstexte (Impressum / Datenschutz)
   ========================================================================== */
.legal h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.legal h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal p,
.legal li {
  color: var(--text-muted);
  line-height: 1.75;
}

.legal p {
  margin-bottom: 1rem;
}

.legal ul {
  list-style: disc;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.legal a {
  color: var(--lime);
}

.legal a:hover {
  text-decoration: underline;
}

.legal strong {
  color: var(--text-light);
  font-weight: 600;
}

/* Vom Nutzer zu prüfende/auszufüllende Stellen deutlich markieren */
.legal .todo {
  color: var(--gold);
  background-color: rgba(212, 175, 55, 0.08);
  border: 1px dashed rgba(212, 175, 55, 0.4);
  border-radius: 6px;
  padding: 0.1rem 0.4rem;
  font-weight: 500;
}

.legal .note {
  background-color: var(--surface);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

/* --- Team-Fotos: einheitlicher Studio-Hintergrund (İrfans Navy) --- */
.team-photo {
  background-color: #1f252b;
}
