/* ============================================================
   BEAUTY BOULEVARD · DESIGN SYSTEM
   Zentrale Vorgabe · Stand Juni 2026
   Diese Datei in jede Seite einbinden:
   <link rel="stylesheet" href="design-system.css">
   ------------------------------------------------------------
   Bei Änderungen NUR diese Datei anfassen — gilt projektweit.
   ============================================================ */

/* ---------- LIZENZFONT (lokal, woff2 muss neben CSS/HTML liegen) ---------- */
@font-face{
  font-family:"Hearth Home Alternate";
  src:url("hearth__home_alternate-webfont.woff2") format("woff2");
  font-weight:normal;
  font-style:normal;
  font-display:swap;
}

/* ---------- GRATIS-FONTS (Google Fonts) ----------
   In jede Seite zusätzlich in den <head>:
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;1,6..72,300&family=Montserrat:wght@300;400;500;600&display=swap" rel="stylesheet">
*/

:root{
  /* ===== FARBPALETTE (zentral) ===== */
  --white:#FFFFFF;
  --warm-white:#F7F4EF;
  --brand-beige:#CBBAA4;
  --deep-taupe:#A89788;
  --luxury-dark:#100C08;
  --soft-gold:#C9B28F;

  /* Abgeleitete Töne (Hilfsfarben) */
  --taupe-soft:#bfb1a3;
  --line:#e4ddd3;
  --ink-soft:rgba(16,12,8,.62);

  /* ===== FARB-RATIO (Richtwert) =====
     60–65% White + Warm White  (Flächen, Hintergrund)
     20–25% Brand Beige + Deep Taupe  (Sektionsblöcke, Bilder)
      8–10% Luxury Dark  (Footer, CTAs, Faktenstreifen)
      1–3% Soft Gold  (Akzente: kursive Keywords, Badges, Sterne)
  */

  /* ===== FONT-SYSTEM ===== */
  --font-display:"Newsreader", Georgia, serif;     /* H1–H4 + Zitate, Gewicht 300 */
  --font-body:"Montserrat", system-ui, sans-serif; /* Body, Nav, Buttons, Labels */
  --font-headline:var(--font-display);             /* Alias für ältere Komponenten */
  --font-script:"Hearth Home Alternate", "Newsreader", cursive; /* Script-Akzent / Submark */

  /* ===== TYPO-BASIS ===== */
  --fw-display:300;          /* Headlines light */
  --lh-body:1.7;
  --ls-eyebrow:.28em;
}

/* ============================================================
   BASIS-RESET & TYPOGRAFIE
   ============================================================ */
*{margin:0;padding:0;box-sizing:border-box;min-width:0;}
html,body{overflow-x:hidden;}              /* Mobile-Overflow-Fix */
html{scroll-behavior:smooth;}

body{
  font-family:var(--font-body);
  background:var(--warm-white);
  color:var(--luxury-dark);
  font-weight:300;
  line-height:var(--lh-body);
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:var(--fw-display);
  line-height:1.18;
  letter-spacing:.01em;
}

/* Gold-Akzent: Schlüsselwörter kursiv in Headlines */
em{font-style:italic;color:var(--soft-gold);}

/* Script-Submark („beauty salon"-Akzent) — sparsam einsetzen */
.script{
  font-family:var(--font-script);
  font-style:normal;
  color:var(--soft-gold);
  font-size:1.9rem;
  line-height:1;
  display:inline-block;
}

/* ============================================================
   GETEILTE TYPOGRAFIE (zentral · Fallback-Standard)
   Basis-Headline-Größen + wiederkehrende Textklassen.
   Seiten dürfen im eigenen <style> überschreiben (lädt später
   im Dokument → gewinnt). Neu 02.07.2026: vorher nur pro Seite,
   dadurch fielen zentrumslose Seiten auf Browser-Default zurück.
   ============================================================ */
h1{font-size:clamp(2.1rem,4.6vw,3.4rem);line-height:1.08;}
h2{font-size:clamp(1.5rem,3vw,2.1rem);}
h3{font-size:clamp(1.15rem,1.6vw,1.35rem);}

/* Große Abschnitts-Headline (Sektions-Titel) */
.display{
  font-family:var(--font-display);
  font-weight:var(--fw-display);
  font-size:clamp(1.7rem,3.2vw,2.35rem);
  line-height:1.14;
  letter-spacing:.01em;
}

/* Intro-/Lead-Absatz unter Headlines */
.lead{
  font-size:1.05rem;
  color:var(--ink-soft);
  line-height:1.7;
  margin-bottom:26px;
}

/* Eyebrow-Variante in Gold (i. d. R. mit .eyebrow kombiniert) */
.sec-eyebrow{color:var(--soft-gold);}

/* ============================================================
   WIEDERVERWENDBARE BAUSTEINE
   ============================================================ */

/* Layout-Container */
.wrap{max-width:1180px;margin:0 auto;padding:0 32px;}

/* Eyebrow (Mini-Label über Headlines) */
.eyebrow{
  font-size:.72rem;
  letter-spacing:var(--ls-eyebrow);
  text-transform:uppercase;
  font-weight:500;
  color:var(--deep-taupe);
  margin-bottom:18px;
}
.eyebrow::before{
  content:"";display:inline-block;width:28px;height:1px;
  background:var(--soft-gold);vertical-align:middle;margin-right:14px;
}

/* Buttons */
.btn-primary{
  display:inline-block;
  background:var(--luxury-dark);color:var(--warm-white);
  padding:17px 38px;text-decoration:none;
  font-family:var(--font-body);font-size:.82rem;letter-spacing:.12em;
  text-transform:uppercase;font-weight:500;
  transition:.35s;border:1px solid var(--luxury-dark);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(16,12,8,.22);}

.btn-text{
  color:var(--luxury-dark);text-decoration:none;
  font-family:var(--font-body);font-size:.82rem;letter-spacing:.1em;
  text-transform:uppercase;font-weight:500;
  border-bottom:1px solid var(--soft-gold);padding-bottom:4px;
}

/* CTA im Header */
.nav-cta{
  display:inline-block;
  background:var(--luxury-dark);color:var(--warm-white);
  padding:13px 26px;font-family:var(--font-body);font-size:.76rem;
  letter-spacing:.12em;text-transform:uppercase;text-decoration:none;
  font-weight:500;transition:.35s;border:1px solid var(--luxury-dark);
}
.nav-cta:hover{background:transparent;color:var(--luxury-dark);}

/* ============================================================
   BILD-GRUNDREGEL (verhindert verzerrte Fotos)
   Jedes Foto steckt in <picture>. Bekommt sein Container eine feste Form
   (aspect-ratio / feste Höhe / Flex-stretch), füllt das Bild diese Form
   formatfüllend statt verzerrt (Default object-fit:fill zerrt sonst).
   No-op, wenn Box = Bildformat. Gilt NICHT fürs Logo (bare <img>, kein <picture>).
   ============================================================ */
/* object-fit:cover → füllt eine erzwungene Box formatfüllend statt verzerrt.
   height:auto → ohne dies fixiert das height-Attribut (z.B. 800x1071) die Box, und cover
   schneidet das Foto zu einem schmalen Streifen zu. Mit height:auto folgt die Höhe der Breite
   = das volle Foto in natürlicher Höhe. Container mit fester Form (aspect-ratio oder height:100%)
   überschreiben height:auto gezielt und behalten ihren gewollten Crop (Galerie, 21:9-Banner, Kacheln). */
picture img{object-fit:cover;height:auto}

/* Instagram-Kacheln füllen ihr 1:1-Quadrat formatfüllend (statt vom 300px-height-Attribut
   in die Höhe gezogen zu werden). Bild absolut über das aspect-ratio-Feld, sauber statt Platzhalter-Rahmen. */
.insta-grid .iqg{position:relative;overflow:hidden;border:0;background:var(--warm-white)}
.insta-grid .iqg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}

/* ============================================================
   CONVERSION-BLÖCKE (Einwände, Säulen, Experten-Abschnitt)
   Wiederverwendbar auf allen Behandlungsseiten.
   ============================================================ */

/* Einwand-Sektion */
.fears{background:var(--warm-white)}
.fears .block-img{border-radius:16px;overflow:hidden;margin:22px 0 18px;aspect-ratio:21/9}
.fears .block-img img{width:100%;height:100%;object-fit:cover;display:block}
.fear-list{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:8px}
.fear{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:24px;border-left:3px solid var(--brand-beige)}
.fear .q{font-family:var(--font-display);font-size:17px;color:var(--luxury-dark);margin-bottom:10px;font-style:italic}
.fear .a{font-size:14px;color:var(--ink-soft);line-height:1.65}
.fear .a b{font-weight:500;color:var(--luxury-dark)}

/* Qualitäts-Säulen */
.pillars{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.pillar-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:8px}
.pillar{text-align:center;padding:clamp(20px,3vw,34px);border-right:1px solid var(--line)}
.pillar:last-child{border-right:none}
.pillar .pn{font-family:var(--font-display);font-size:30px;color:var(--soft-gold);margin-bottom:8px}
.pillar h3{font-family:var(--font-display);font-weight:500;font-size:18px;margin-bottom:10px}
.pillar p{font-size:14px;color:var(--ink-soft);line-height:1.6}

/* Experten-Abschnitt (Melissa) */
.melissa{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;align-items:center}
.melissa-photo{aspect-ratio:4/5;border-radius:18px;overflow:hidden}
.melissa-photo img{width:100%;height:100%;object-fit:cover;display:block}
.sig{font-family:var(--font-display);font-size:20px;color:var(--luxury-dark);margin-top:8px}
.sigsub{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--deep-taupe);font-weight:600}

@media(max-width:760px){
  .fear-list{grid-template-columns:1fr}
  .pillar-grid{grid-template-columns:1fr 1fr}
  .pillar{border-bottom:1px solid var(--line)}
  .melissa{grid-template-columns:1fr;gap:26px}
}
@media(max-width:460px){
  .pillar-grid{grid-template-columns:1fr}
}

/* ============================================================
   PILLAR-TRENNSTRICH + VERSPRECHEN-GRID (3-spaltig, mobile-optimiert)
   Einheitlicher Stil über alle Behandlungsseiten.
   ============================================================ */
.pln{width:28px;height:1px;background:var(--deep-taupe);margin:0 auto 14px}

.promise-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:28px;margin-top:8px}
.promise{}
.promise .pl{width:28px;height:1px;background:var(--brand-beige);margin-bottom:12px}
.promise h3{font-family:var(--font-display);font-weight:500;font-size:17px;margin-bottom:10px;line-height:1.3}
.promise .q{font-family:var(--font-display);font-size:17px;font-style:italic;color:var(--luxury-dark);margin-bottom:10px;line-height:1.3}
.promise p{font-size:13.5px;color:var(--ink-soft);line-height:1.65}
.promise p b{font-weight:500;color:var(--luxury-dark)}

@media(max-width:820px){.promise-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.promise-grid{grid-template-columns:1fr}}

/* Block-Video (Einwand-/Demo-Bereich) – gleiches Format wie .block-img */
.block-video{width:100%;aspect-ratio:21/9;object-fit:cover;display:block;border-radius:16px}
.fears .block-img{margin:22px 0 18px}

/* Preistabelle auf Mobil (≤600px): per-Zeile-„Buchen"-Button + zugehörigen leeren Header ausblenden,
   damit die Tabelle (Behandlung · Dauer · Preis) ohne Horizontal-Scroll passt. Gebucht wird weiterhin
   über den Haupt-CTA bzw. „Termin buchen" im Header. Der Selektor trifft NUR die Buchen-Zelle
   (td mit .tbook) → ein Preis kann nie ausgeblendet werden. */
@media(max-width:600px){
  .price-table-wrap .price-table{min-width:0}   /* lokale min-width (z.B. lidstrich 520px) auf Mobil aufheben */
  .price-table td:has(> .tbook){display:none}
  .price-table thead th:last-child:empty{display:none}
  .price-table th,.price-table td{padding:11px 9px;font-size:12.5px}
  .price-table th{font-size:10px;letter-spacing:.04em}
  .price-table td:first-child{overflow-wrap:anywhere;line-height:1.35}
}
