/* ============================================================
   IVAN'S Salons & Barbershops — Marken-Hauptseite
   Design-Tokens  →  mappen auf Elementor Global Colors/Fonts
   ============================================================ */
:root {
  /* Farben */
  --bg-0: #000000;        /* Sektionshintergrund A */
  --bg-1: #09090B;        /* Sektionshintergrund B */
  --bg-2: #18181B;        /* Karten / Flächen */
  --line: #27272A;        /* Hairlines / Borders */
  --line-soft: #1f1f23;
  --text-1: #FFFFFF;      /* Primärtext */
  --text-2: #A1A1AA;      /* Sekundärtext */
  --gold: #F59E0B;        /* Akzent */
  --gold-deep: #D97706;   /* Akzent Hover/Tiefe */

  /* Typografie */
  --font-serif: "Lora", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;

  /* Abstandsskala */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 48px; --s-6: 64px; --s-7: 96px; --s-8: 128px;

  /* Radius & Container */
  --radius: 2px;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-3); }

/* ---------- Wiederkehrende Bausteine ---------- */
.eyebrow {
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); font-weight: 500;
  display: flex; align-items: center; gap: var(--s-2);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }

.sec-title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(34px, 4.2vw, 52px); line-height: 1.12;
  text-wrap: pretty;
}
.sec-intro { color: var(--text-2); max-width: 640px; text-wrap: pretty; }
.sec-head { display: flex; flex-direction: column; gap: var(--s-3); margin-bottom: var(--s-6); }

section[data-modul] { padding: var(--s-8) 0; }
.bg-a { background: var(--bg-0); }
.bg-b { background: var(--bg-1); }
.hairline-top { border-top: 1px solid var(--line-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 16px 28px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: var(--gold-deep); }
.btn-ghost { border-color: var(--line); color: var(--text-1); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold); transition: color 0.2s;
}
.btn-link:hover { color: var(--gold-deep); }

/* Bild-Platzhalter (redaktionell: durch echte Fotos ersetzen) */
.ph {
  background:
    repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255,255,255,0.025) 14px 15px),
    var(--bg-2);
  border: 1px dashed #3F3F46; border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: var(--s-3); min-height: 180px;
}
.ph-tag {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--gold);
  padding: 4px 10px; border-radius: var(--radius); opacity: 0.85;
}
.ph-label { font-size: 13px; color: var(--text-2); max-width: 320px; line-height: 1.5; }

/* Emblem-Bilder (silber auf schwarz → fügt sich in dunkle Flächen) */
.emblem { mix-blend-mode: screen; }

/* ============================================================
   MODUL 01 · Sticky Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3); height: 76px;
}
.header-logo img { height: 52px; width: auto; }
.main-nav { display: flex; align-items: center; gap: var(--s-4); }
.main-nav a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-2); transition: color 0.2s;
}
.main-nav a:hover { color: var(--text-1); }
.main-nav .nav-cta {
  color: var(--gold); border: 1px solid var(--line);
  padding: 10px 20px; border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}
.main-nav .nav-cta:hover { border-color: var(--gold); color: var(--gold); }
.burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 10px;
}
.burger span { display: block; width: 22px; height: 2px; background: var(--text-1); transition: transform 0.2s, opacity 0.2s; }

/* ============================================================
   MODUL 02 · Hero  (Tweak: data-hero="split" | "fullbleed")
   ============================================================ */
.sec-hero { padding: var(--s-7) 0; border-bottom: 1px solid var(--line-soft); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--s-6); align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); }
.hero-h1 {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(44px, 5.6vw, 76px); line-height: 1.08; text-wrap: balance;
}
.hero-h1 em { font-style: italic; color: var(--gold); }
.hero-sub { color: var(--text-2); font-size: 17px; max-width: 540px; text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.trust-line {
  display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2);
  border-top: 1px solid var(--line-soft); padding-top: var(--s-3); margin-top: var(--s-1);
}
.trust-line .dot { color: var(--gold); }
.hero-media .ph { aspect-ratio: 4 / 5; min-height: 0; }

/* Headline-Varianten (Tweak) */
.hero-h1[data-variant="b"] { display: none; }
html[data-headline="b"] .hero-h1[data-variant="a"] { display: none; }
html[data-headline="b"] .hero-h1[data-variant="b"] { display: block; }

/* Full-Bleed-Variante: Bild wird Sektionshintergrund (Elementor: Section-Background) */
html[data-hero="fullbleed"] .sec-hero {
  background:
    linear-gradient(rgba(0,0,0,0.78), rgba(0,0,0,0.88)),
    repeating-linear-gradient(-45deg, #131316 0 18px, #0c0c0e 18px 36px);
  padding: calc(var(--s-8) + var(--s-5)) 0;
}
html[data-hero="fullbleed"] .hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
html[data-hero="fullbleed"] .hero-copy { align-items: center; }
html[data-hero="fullbleed"] .hero-h1 { max-width: 900px; }
html[data-hero="fullbleed"] .trust-line { justify-content: center; }
html[data-hero="fullbleed"] .hero-media { display: none; }
.hero-bg-note { display: none; font-size: 12px; color: var(--text-2); opacity: 0.7; }
html[data-hero="fullbleed"] .hero-bg-note { display: block; }

/* ============================================================
   MODUL 03 · Eine Marke. Zwei Konzepte.
   ============================================================ */
.konzept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.konzept-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3);
  transition: border-color 0.25s;
}
.konzept-card:hover { border-color: #3F3F46; }
.konzept-logo { height: 110px; display: flex; align-items: center; }
.konzept-logo img { max-height: 110px; width: auto; }
.konzept-typ { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.konzept-card h3 { font-family: var(--font-serif); font-size: 28px; font-weight: 500; line-height: 1.2; }
.konzept-card p { color: var(--text-2); font-size: 15px; flex: 1; text-wrap: pretty; }
.logo-note { font-size: 12px; color: var(--text-2); opacity: 0.65; }

/* ============================================================
   MODUL 04 · Standorte  (Kachel = Repeater-Item)
   ============================================================ */
.map-ph { aspect-ratio: 21 / 7; margin-bottom: var(--s-6); min-height: 220px; }
.standort-gruppe { margin-top: var(--s-5); }
.gruppe-label {
  display: flex; align-items: center; gap: var(--s-2);
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-2); margin-bottom: var(--s-3);
}
.gruppe-label strong { color: var(--text-1); font-weight: 600; }
.gruppe-label::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.gruppe-label .count { color: var(--gold); }
.standort-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }

/* — Standort-Kachel (Repeater: stadt, zusatz, typ, adresse, hinweis, url, emblem) — */
.standort-kachel {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2);
  transition: border-color 0.25s, transform 0.25s;
}
.standort-kachel:hover { border-color: var(--gold-deep); transform: translateY(-3px); }
.kachel-emblem { height: 84px; display: flex; align-items: center; margin-bottom: var(--s-1); }
.kachel-emblem img { max-height: 84px; width: auto; }
.kachel-typ { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.kachel-stadt { font-family: var(--font-serif); font-size: 26px; font-weight: 500; line-height: 1.15; }
.kachel-stadt small { display: block; font-family: var(--font-sans); font-size: 13px; color: var(--text-2); letter-spacing: 0.04em; margin-top: 2px; }
.kachel-adresse { font-size: 14px; color: var(--text-2); }
.kachel-hinweis { font-size: 14px; color: var(--text-2); flex: 1; }
.kachel-cta { margin-top: var(--s-2); border-top: 1px solid var(--line-soft); padding-top: var(--s-2); }
.flagship-badge {
  display: inline-block; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #000; background: var(--gold); border-radius: var(--radius);
  padding: 3px 10px; font-weight: 600; width: fit-content;
}
.standort-kachel.ist-salon { border-color: #3a3320; }
.standort-kachel.ist-salon:hover { border-color: var(--gold); }

/* ============================================================
   MODUL 05 · Leistungen  (Karte = Repeater-Item)
   ============================================================ */
.leistung-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.leistung-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2);
  transition: border-color 0.25s;
}
.leistung-card:hover { border-color: #3F3F46; }
.leistung-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: var(--s-1); }
.leistung-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.leistung-card h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 500; }
.leistung-card p { font-size: 14px; color: var(--text-2); text-wrap: pretty; }
.leistung-note { margin-top: var(--s-4); font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 10px; }
.leistung-note::before { content: ""; width: 24px; height: 1px; background: var(--gold); }

/* ============================================================
   MODUL 06 · Philosophie / Der IVAN'S Standard
   ============================================================ */
.philo-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: var(--s-6); align-items: start; }
.philo-media .ph { aspect-ratio: 3 / 4; min-height: 0; }
.philo-copy { display: flex; flex-direction: column; gap: var(--s-3); }
.philo-copy .lead { font-size: 18px; color: var(--text-1); text-wrap: pretty; }
.philo-copy p { color: var(--text-2); text-wrap: pretty; }
.fakt-strip {
  border-left: 2px solid var(--gold);
  padding: var(--s-2) 0 var(--s-2) var(--s-3);
  color: var(--text-1); font-size: 15px; text-wrap: pretty;
}
.fakt-strip .fakt-quelle { display: block; font-size: 12px; color: var(--text-2); margin-top: 6px; }
.saeulen { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-top: var(--s-3); }
.saeule { border-top: 1px solid var(--line); padding-top: var(--s-2); }
.saeule h4 { font-family: var(--font-serif); font-size: 19px; font-weight: 500; margin-bottom: 4px; }
.saeule h4::before { content: "— "; color: var(--gold); }
.saeule p { font-size: 13px; color: var(--text-2); }

/* ============================================================
   MODUL 07 · Galerie  (Item = Repeater · Tweak: grid | reel)
   ============================================================ */
.galerie-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.galerie-item .ph { aspect-ratio: 4 / 5; min-height: 0; padding: var(--s-2); }
.galerie-item .ph-label { font-size: 12px; }
html[data-galerie="reel"] .galerie-grid {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: var(--s-2); scrollbar-color: var(--line) transparent;
}
html[data-galerie="reel"] .galerie-item { flex: 0 0 260px; scroll-snap-align: start; }
html[data-galerie="reel"] .galerie-item .ph { aspect-ratio: 9 / 16; }
.galerie-foot { margin-top: var(--s-4); display: flex; align-items: center; gap: var(--s-2); }

/* ============================================================
   MODUL 08 · Bewertungen  (Karte = Repeater-Item)
   ============================================================ */
.bewertung-aggregat { display: flex; align-items: baseline; gap: var(--s-2); margin-bottom: var(--s-5); flex-wrap: wrap; }
.bewertung-aggregat .wert { font-family: var(--font-serif); font-size: 44px; color: var(--text-1); }
.bewertung-aggregat .quelle { font-size: 13px; color: var(--text-2); }
.sterne { color: var(--gold); letter-spacing: 4px; font-size: 15px; }
.bewertung-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.bewertung-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2);
}
.bewertung-card blockquote { font-size: 15px; color: var(--text-1); font-style: italic; flex: 1; text-wrap: pretty; }
.bewertung-card .autor { font-size: 13px; color: var(--text-2); letter-spacing: 0.06em; }
.bewertung-note { margin-top: var(--s-3); font-size: 12px; color: var(--text-2); opacity: 0.7; }

/* ============================================================
   MODUL 09 · Abschluss-CTA
   ============================================================ */
.sec-cta { text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }
.cta-inner .sec-title { font-size: clamp(38px, 4.8vw, 60px); max-width: 760px; }
.cta-inner .sec-intro { text-align: center; }

/* ============================================================
   MODUL 10 · Footer
   ============================================================ */
.site-footer { background: var(--bg-1); border-top: 1px solid var(--line-soft); padding: var(--s-7) 0 var(--s-4); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: var(--s-5); }
.footer-brand img { height: 72px; width: auto; margin-bottom: var(--s-2); }
.footer-brand p { font-size: 13px; color: var(--text-2); max-width: 280px; }
.footer-col h5 {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-1); margin-bottom: var(--s-2); font-weight: 600;
}
.footer-col h5 + h5 { margin-top: var(--s-3); }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 14px; color: var(--text-2); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.social-row { display: flex; gap: var(--s-2); margin-top: var(--s-1); }
.social-row a {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; transition: border-color 0.2s;
}
.social-row a:hover { border-color: var(--gold); }
.social-row svg { width: 17px; height: 17px; fill: var(--text-2); transition: fill 0.2s; }
.social-row a:hover svg { fill: var(--gold); }
.footer-bottom {
  margin-top: var(--s-6); padding-top: var(--s-3); border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap;
  font-size: 13px; color: var(--text-2);
}

/* ============================================================
   Tweak: Gold-Intensität  (data-gold="praesent")
   ============================================================ */
html[data-gold="praesent"] .konzept-card,
html[data-gold="praesent"] .leistung-card,
html[data-gold="praesent"] .bewertung-card,
html[data-gold="praesent"] .standort-kachel { border-top: 2px solid var(--gold-deep); }
html[data-gold="praesent"] .sec-title em,
html[data-gold="praesent"] .sec-title .akzent { color: var(--gold); }
html[data-gold="praesent"] .gruppe-label::after { background: #3a2f14; }
html[data-gold="praesent"] .site-header { border-bottom-color: #3a2f14; }

/* ============================================================
   Responsive (mobile-first Verhalten der Module)
   ============================================================ */
@media (max-width: 1020px) {
  .standort-grid, .leistung-grid, .bewertung-grid { grid-template-columns: repeat(2, 1fr); }
  .galerie-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  section[data-modul] { padding: var(--s-7) 0; }
  .hero-grid, .konzept-grid, .philo-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media .ph { aspect-ratio: 16 / 10; }
  .philo-media .ph { aspect-ratio: 16 / 10; }
  /* Burger-Navigation */
  .burger { display: flex; }
  .main-nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    background: rgba(0,0,0,0.97); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-2) var(--s-3) var(--s-3);
  }
  .main-nav.offen { display: flex; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
  .main-nav .nav-cta { border: 0; color: var(--gold); padding: 14px 4px; }
}
@media (max-width: 560px) {
  .standort-grid, .leistung-grid, .bewertung-grid { grid-template-columns: 1fr; }
  .galerie-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .map-ph { aspect-ratio: 4 / 3; }
  .saeulen { grid-template-columns: 1fr; }
}
