/* ============================================================
   das frisurenTeam — Bad Cannstatt · Inhaberin Ingrid Engelhardt
   Preset: vertrautes-team-editorial · Clean Editorial
   Denim/Petrol #3a5a78 · Cream #f6f2ea · Soft Gold #cba46a
   FOUNDATION — tokens, fonts, base, nav, footer, motion primitives
   ============================================================ */

/* --- Self-hosted fonts (Zero-Tracking, kein Google-CDN) --- */
@font-face { font-family:"Fraunces"; font-style:normal; font-weight:400; font-display:swap; src:url("../fonts/fraunces-400.woff2") format("woff2"); }
@font-face { font-family:"Fraunces"; font-style:normal; font-weight:500; font-display:swap; src:url("../fonts/fraunces-500.woff2") format("woff2"); }
@font-face { font-family:"Fraunces"; font-style:normal; font-weight:600; font-display:swap; src:url("../fonts/fraunces-600.woff2") format("woff2"); }
@font-face { font-family:"Fraunces"; font-style:italic; font-weight:400; font-display:swap; src:url("../fonts/fraunces-400i.woff2") format("woff2"); }
@font-face { font-family:"Fraunces"; font-style:italic; font-weight:500; font-display:swap; src:url("../fonts/fraunces-500i.woff2") format("woff2"); }
@font-face { font-family:"Plus Jakarta Sans"; font-style:normal; font-weight:400; font-display:swap; src:url("../fonts/jakarta-400.woff2") format("woff2"); }
@font-face { font-family:"Plus Jakarta Sans"; font-style:normal; font-weight:500; font-display:swap; src:url("../fonts/jakarta-500.woff2") format("woff2"); }
@font-face { font-family:"Plus Jakarta Sans"; font-style:normal; font-weight:600; font-display:swap; src:url("../fonts/jakarta-600.woff2") format("woff2"); }
@font-face { font-family:"Plus Jakarta Sans"; font-style:normal; font-weight:700; font-display:swap; src:url("../fonts/jakarta-700.woff2") format("woff2"); }

/* --- Design Tokens --- */
:root {
  /* Brand — warm denim / petrol + cream + soft gold */
  --c-denim: #3a5a78;
  --c-denim-dark: #2b4459;
  --c-denim-deep: #22384a;
  --c-denim-soft: #e3ebf2;
  --c-denim-tint: #eef3f7;

  --c-gold: #cba46a;
  --c-gold-deep: #b08c4e;
  --c-gold-soft: #f0e6d2;

  --c-cream: #f6f2ea;
  --c-cream-warm: #efe8db;
  --c-cream-deep: #e7ddcc;

  /* Ink */
  --c-ink: #26303a;
  --c-ink-mute: rgba(38, 48, 58, 0.66);
  --c-ink-faint: rgba(38, 48, 58, 0.42);
  --c-rule: rgba(38, 48, 58, 0.14);
  --c-rule-soft: rgba(38, 48, 58, 0.08);

  /* CTA */
  --c-cta: var(--c-denim);
  --c-cta-hover: var(--c-denim-dark);
  --c-cta-text: #ffffff;

  /* Spacing rhythm */
  --gap-xs: 0.5rem;
  --gap-sm: 0.875rem;
  --gap-md: 1.5rem;
  --gap-lg: 2.5rem;
  --gap-xl: 4rem;
  --gap-2xl: 6.5rem;

  /* Type */
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  /* Sizes */
  --size-eyebrow: 0.74rem;
  --size-body: clamp(1rem, 1.05vw, 1.08rem);
  --size-small: 0.86rem;

  --line-tight: 1.06;
  --line-snug: 1.25;
  --line-normal: 1.62;

  --shadow-soft: 0 18px 50px -28px rgba(34, 56, 74, 0.34);
  --shadow-card: 0 10px 32px -20px rgba(34, 56, 74, 0.3);
  --radius: 18px;
  --radius-sm: 12px;
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--size-body);
  line-height: var(--line-normal);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--c-denim); color: #fff; }
:focus-visible { outline: 2px solid var(--c-denim); outline-offset: 3px; }

/* --- Typography helpers --- */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: var(--line-tight);
  letter-spacing: -0.012em;
  margin: 0 0 var(--gap-md);
  color: var(--c-ink);
}
em, .italic { font-style: italic; }
.eyebrow {
  font-family: var(--f-body);
  font-size: var(--size-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--c-denim);
  font-weight: 600;
  display: inline-block;
  margin-bottom: var(--gap-sm);
}
.eyebrow.gold { color: var(--c-gold-deep); }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--c-ink-mute); line-height: 1.55; }

/* --- Layout containers --- */
.shell { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.shell-tight { max-width: 860px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.shell-wide { max-width: 1480px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
section { padding: var(--gap-2xl) 0; }
section.tight { padding: var(--gap-xl) 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0.95rem 1.6rem;
  font-family: var(--f-body); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase;
  border-radius: 999px; transition: all .28s cubic-bezier(.2,.7,.2,1);
  cursor: pointer; border: 1.5px solid transparent;
}
.btn-primary { background: var(--c-cta); color: var(--c-cta-text); box-shadow: 0 10px 26px -14px var(--c-denim-deep); }
.btn-primary:hover { background: var(--c-cta-hover); transform: translateY(-2px); box-shadow: 0 16px 34px -16px var(--c-denim-deep); }
.btn-ghost { background: transparent; color: var(--c-ink); border-color: var(--c-gold-deep); }
.btn-ghost:hover { background: var(--c-gold); color: #fff; border-color: var(--c-gold); }
.btn-light { background: #fff; color: var(--c-ink); box-shadow: var(--shadow-card); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.14); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* --- Navigation --- */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246, 242, 234, 0.88);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--c-rule-soft);
}
.nav-inner {
  max-width: 1480px; margin: 0 auto;
  padding: 0.8rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md);
}
.nav-brand { display: inline-flex; align-items: center; gap: 12px; }
.nav-logo { height: 38px; width: auto; flex-shrink: 0; transition: transform .35s; }
.nav-brand:hover .nav-logo { transform: scale(1.04) rotate(-1deg); }
.nav-menu { display: flex; gap: var(--gap-md); align-items: center; }
.nav-menu a {
  font-family: var(--f-body); font-size: 0.86rem; font-weight: 500;
  color: var(--c-ink); padding: 0.4rem 0; position: relative; letter-spacing: 0.01em;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -1px;
  height: 1.5px; background: var(--c-denim); transition: right .3s;
}
.nav-menu a:hover::after, .nav-menu a.active::after { right: 0; }
.nav-cta {
  font-family: var(--f-body); font-size: 0.8rem; font-weight: 600;
  padding: 0.55rem 1.15rem; background: var(--c-cta); color: #fff !important;
  border-radius: 999px; transition: background .25s, transform .25s;
  letter-spacing: 0.05em;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--c-cta-hover); transform: translateY(-1px); }
.nav-burger {
  display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; background: transparent; border: 0;
}
.nav-burger span { width: 22px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform .3s; }
.nav-mobile {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--c-cream); border-bottom: 1px solid var(--c-rule);
  padding: var(--gap-sm) var(--gap-md) var(--gap-md);
  box-shadow: var(--shadow-soft);
}
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: 0.7rem 0; font-family: var(--f-body); font-size: 1rem; border-bottom: 1px solid var(--c-rule-soft); }
.nav-mobile a:last-child { border-bottom: 0; }
@media (max-width: 960px) {
  .nav-menu { display: none; }
  .nav-burger { display: inline-flex; }
}

/* --- Footer --- */
.footer {
  background: var(--c-denim-deep);
  color: var(--c-cream);
  padding: var(--gap-2xl) 0 var(--gap-lg);
  margin-top: var(--gap-2xl);
}
.footer a { color: var(--c-cream); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--gap-xl);
  align-items: start;
}
.footer-brand .footer-logo { height: 40px; width: auto; margin-bottom: var(--gap-md); filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { color: rgba(246,242,234,0.72); font-size: 0.92rem; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--f-body); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--c-gold); margin-bottom: var(--gap-md); font-weight: 600;
}
.footer-col a, .footer-col p {
  display: block; padding: 0.3rem 0;
  font-family: var(--f-body); font-size: 0.92rem; color: rgba(246,242,234,0.78);
  line-height: 1.6; transition: color .2s;
}
.footer-col a:hover { color: var(--c-gold); }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--gap-md);
  padding-top: var(--gap-md); margin-top: var(--gap-xl);
  border-top: 1px solid rgba(246,242,234,0.16);
  font-family: var(--f-body); font-size: 0.78rem; color: rgba(246,242,234,0.55);
  letter-spacing: 0.03em;
}
.footer-bottom a { color: rgba(246,242,234,0.72); }
.footer-bottom a:hover { color: var(--c-gold); }
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--gap-lg); }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Scroll-progress bar --- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-denim), var(--c-gold), var(--c-denim-dark));
  transform-origin: left center; transform: scaleX(0);
  z-index: 100; pointer-events: none;
}

/* --- Scroll-Reveal entrance --- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal[data-delay="80"]  { transition-delay: 80ms; }
.reveal[data-delay="120"] { transition-delay: 120ms; }
.reveal[data-delay="160"] { transition-delay: 160ms; }
.reveal[data-delay="240"] { transition-delay: 240ms; }
.reveal[data-delay="320"] { transition-delay: 320ms; }
.reveal[data-delay="400"] { transition-delay: 400ms; }

/* --- Demo notice pill --- */
.demo-notice {
  position: fixed; bottom: 16px; left: 16px; z-index: 90;
  background: rgba(34,56,74,0.94); color: var(--c-cream);
  font-family: var(--f-body); font-size: 0.7rem; letter-spacing: 0.04em;
  padding: 0.5rem 0.85rem; border-radius: 999px;
  box-shadow: var(--shadow-soft); max-width: 78vw;
  display: inline-flex; align-items: center; gap: 8px;
}
.demo-notice b { color: var(--c-gold); font-weight: 600; }
.demo-notice .close { cursor: pointer; opacity: 0.6; padding-left: 4px; }
.demo-notice .close:hover { opacity: 1; }

/* --- Mobile sticky booking bar --- */
.sticky-book {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246,242,234,0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--c-rule);
  box-shadow: 0 -8px 24px -16px rgba(34,56,74,0.4);
}
.sticky-book .btn { flex: 1; justify-content: center; padding: 0.85rem 0.5rem; font-size: 0.76rem; }
@media (max-width: 760px) {
  .sticky-book { display: flex; }
  .demo-notice {
    bottom: calc(74px + env(safe-area-inset-bottom));
    left: 50%; right: auto; transform: translateX(-50%);
    max-width: calc(100vw - 24px);
  }
}

/* --- Reduced motion guard --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-title .char { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* --- Print --- */
@media print {
  .nav, .footer, .scroll-progress, .demo-notice, .sticky-book, .scroll-cue { display: none !important; }
}
