/* ══════════════════════════════════════════════
   BARBERIX – style.css  (Entwurf 1:1)
   ══════════════════════════════════════════════ */

/* ── FONTS (self-hosted, DSGVO-konform) ── */
@font-face {
  font-family: 'BigShoulders';
  src: url('fonts/BigShouldersDisplay-700.woff2') format('woff2');
  font-weight: 700; font-display: swap;
}
@font-face {
  font-family: 'BigShoulders';
  src: url('fonts/BigShouldersDisplay-800.woff2') format('woff2');
  font-weight: 800; font-display: swap;
}
@font-face {
  font-family: 'BigShoulders';
  src: url('fonts/BigShouldersDisplay-900.woff2') format('woff2');
  font-weight: 900; font-display: swap;
}
@font-face {
  font-family: 'DMSans';
  src: url('fonts/DMSans-400.woff2') format('woff2');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'DMSans';
  src: url('fonts/DMSans-500.woff2') format('woff2');
  font-weight: 500; font-display: swap;
}

/* ── VARIABLES ── */
:root {
  --green:        #3a5a3a;
  --green-dark:   #2a4230;
  --green-deep:   #1e3226;
  --orange:       #c4651a;
  --orange-hover: #d4752a;
  --cream:        #f2edd8;
  --cream-dark:   #e8e2cc;
  --charcoal:     #1a1a1a;
  --text:         #1a1a1a;
  --text-mid:     #4a4a3a;
  --white:        #fafaf5;

  --font-h: 'BigShoulders', 'Impact', sans-serif;
  --font-b: 'DMSans', system-ui, sans-serif;

  --max: 1280px;
  --tr:  0.3s cubic-bezier(.4,0,.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: var(--font-h); text-transform: uppercase; line-height: 1.02; }
h1 { font-size: clamp(2.8rem,7vw,5.5rem); font-weight: 900; }
h2 { font-size: clamp(2rem,4.5vw,3.6rem); font-weight: 900; }
h3 { font-size: clamp(1.15rem,2vw,1.4rem); font-weight: 800; }
h4 { font-size: .88rem; font-weight: 800; letter-spacing: .06em; }
p  { font-size: .95rem; line-height: 1.7; color: var(--text-mid); }

.orange  { color: var(--orange); }
.eyebrow {
  display: block;
  font-family: var(--font-b);
  font-size: .65rem; font-weight: 500;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--orange); margin-bottom: .75rem;
}
.container { max-width: var(--max); margin: 0 auto; padding: 0 clamp(1.5rem,5vw,4rem); }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-h);
  font-weight: 800; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .75rem 1.6rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
}
.btn-orange { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-orange:hover:not(:disabled) { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn-dark   { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }
.btn-dark:hover:not(:disabled) { background: var(--green); border-color: var(--green); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ── WACHSSIEGEL ── */
.seal-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: spinSeal 25s linear infinite;
}
.seal-sm { animation-duration: 20s; }
.seal-lg { animation-duration: 30s; }
.seal-txt {
  font-family: var(--font-b); font-size: 13px; font-weight: 500;
  fill: rgba(196,101,26,.9); letter-spacing: .06em; text-transform: uppercase;
}
.seal-inner {
  position: relative; z-index: 1;
  width: 52%;
  display: flex; align-items: center; justify-content: center;
  animation: spinSeal 25s linear infinite reverse;
}
.seal-inner img { width: 100%; filter: sepia(1) saturate(2) hue-rotate(330deg) brightness(.6); }
.seal-inner-sm  { width: 48%; }
.seal-inner-lg  { width: 55%; }
@keyframes spinSeal { to { transform: rotate(360deg); } }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease var(--delay,0ms), transform .7s ease var(--delay,0ms);
}
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════
   1. HERO
   ══════════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh; min-height: 600px;
  overflow: hidden;
  display: flex; align-items: flex-end;
}

/* Background photo – pinned right */
.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-char {
  position: absolute;
  right: 0; bottom: 0;
  height: 100%;
  width: 58%;
  object-fit: cover;
  object-position: top center;
}
/* Two-layer overlay: strong left fade + subtle bottom vignette */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,  rgba(30,50,38,.97) 28%, rgba(30,50,38,.60) 55%, rgba(30,50,38,.05) 100%),
    linear-gradient(to top,    rgba(30,50,38,.60)  0%, rgba(30,50,38,0)   50%);
}

/* BARBERIX logo top-left */
.hero-logo-wrap {
  position: absolute; top: 1.5rem; left: clamp(1.5rem,5vw,4rem);
  z-index: 5;
}
.hero-logo { height: 54px; filter: brightness(0) invert(1); }

/* Text block – lower left */
.hero-content {
  position: relative; z-index: 3;
  padding: clamp(3rem,6vw,6rem);
  max-width: 580px;
  padding-top: 0;
}
.hero-headline { color: var(--white); margin-bottom: 1rem; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.hero-sub { color: rgba(255,255,255,.72); font-size: 1rem; margin-bottom: 1.75rem; }

/* Rotating seal – lower right */
.hero-seal {
  position: absolute;
  right: clamp(2rem,6vw,5rem); bottom: clamp(2rem,6vw,5rem);
  z-index: 4;
  width: clamp(90px,12vw,140px); height: clamp(90px,12vw,140px);
  display: flex; align-items: center; justify-content: center;
}

/* ══════════════════════════════════════════════
   2. SECTION-NAV (sticky dark strip)
   ══════════════════════════════════════════════ */
#section-nav {
  background: var(--green-dark);
  position: sticky; top: 0; z-index: 100;
}
.snav-wrap {
  max-width: var(--max); margin: 0 auto;
  padding: 0 clamp(1.5rem,5vw,3rem);
  display: flex; align-items: center;
  gap: clamp(.75rem,3vw,2.5rem);
  overflow-x: auto; scrollbar-width: none;
  height: 50px;
}
.snav-wrap::-webkit-scrollbar { display: none; }
.snav-link {
  font-family: var(--font-h); font-weight: 800; font-size: .7rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.6); white-space: nowrap;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--tr), border-color var(--tr);
}
.snav-link:hover,
.snav-link.active { color: var(--orange); border-bottom-color: var(--orange); }

/* ══════════════════════════════════════════════
   3. WARUM BARBERIX  (cream, 3-column)
   ══════════════════════════════════════════════ */
#why {
  background: var(--cream);
  padding: clamp(4rem,8vw,7rem) 0;
}
.why-grid {
  max-width: var(--max); margin: 0 auto;
  padding: 0 clamp(1.5rem,5vw,4rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: clamp(2rem,4vw,4rem);
  align-items: center;
}
.why-usps-col { display: flex; flex-direction: column; gap: 2rem; }
.usp { display: flex; align-items: flex-start; gap: .85rem; }
.usp-icon { font-size: 1.75rem; flex-shrink: 0; }
.usp h4   { margin-bottom: .35rem; color: var(--green-dark); }
.usp p    { font-size: .82rem; }

.why-center { text-align: center; }
.why-title  { color: var(--green-dark); margin-bottom: 1.25rem; line-height: 1; }
.why-char   { width: clamp(160px,20vw,280px); margin: 0 auto; }
.why-char img { width: 100%; object-fit: cover; }

/* ══════════════════════════════════════════════
   DARK SECTION HEADER (shared)
   ══════════════════════════════════════════════ */
.section-header-dark {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: clamp(2rem,4vw,3.5rem) clamp(1.5rem,5vw,4rem);
}
.section-header-dark h2 { color: var(--white); margin-bottom: .5rem; }
.section-header-dark p  { color: rgba(255,255,255,.6); font-size: .9rem; }

/* ══════════════════════════════════════════════
   4. PRODUKTE DER LEGENDEN
   ══════════════════════════════════════════════ */
#products { background: var(--cream); padding-bottom: clamp(4rem,8vw,7rem); }

.products-wrap {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(3rem,5vw,5rem) clamp(1.5rem,5vw,4rem);
  display: grid;
  grid-template-columns: 170px 1fr 170px;
  gap: clamp(1rem,3vw,3rem);
  align-items: start;
}
.prod-char img {
  width: 100%; max-height: 480px;
  object-fit: cover; object-position: top;
}

/* 2×2 product grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.prod-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: .4rem;
  transition: box-shadow var(--tr), border-color var(--tr);
}
.prod-card:hover { border-color: var(--orange); box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.prod-card h3 { font-size: 1.15rem; color: var(--charcoal); }
.prod-card p  { font-size: .8rem; flex: 1; }
.prod-cat {
  font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--orange);
}

/* CSS product bottle visuals */
.prod-vis {
  height: 150px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .25rem;
}
.pv1 { background: linear-gradient(135deg,#1e3226 0%,#2a4230 100%); }
.pv2 { background: linear-gradient(135deg,#1a1a10 0%,#2a2a1a 100%); }
.pv3 { background: linear-gradient(135deg,#1c2840 0%,#2d3a50 100%); }
.pv4 { background: linear-gradient(135deg,#2a1c14 0%,#3c2a1c 100%); }
.pvlabel {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.14);
  padding: .5rem .8rem; text-align: center; width: 78px;
}
.pvlabel span:first-child {
  font-family: serif; font-size: .62rem; color: rgba(255,255,255,.4);
}
.pvlabel span:last-child {
  font-family: var(--font-h); font-weight: 900; font-size: .58rem;
  color: var(--white); letter-spacing: .06em; line-height: 1.2; margin-top: .2rem;
}

/* ══════════════════════════════════════════════
   5. HELDEN-BUNDLES
   ══════════════════════════════════════════════ */
#bundles { background: var(--cream); padding-bottom: clamp(4rem,8vw,7rem); }

.bundles-wrap {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(3rem,5vw,5rem) clamp(1.5rem,5vw,4rem);
  display: grid;
  grid-template-columns: 190px 1fr 1fr 130px;
  gap: clamp(1.5rem,3vw,3rem);
  align-items: start;
}
.bundle-char img {
  width: 100%; object-fit: cover; object-position: top; max-height: 500px;
}
.bundle-card {
  background: var(--white); border: 1px solid var(--cream-dark);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: .6rem;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.bundle-card:hover { border-color: var(--orange); box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.bundle-card h3 { font-size: 1.3rem; }

/* Wooden crate illustration */
.crate {
  height: 130px;
  background: linear-gradient(135deg,#8b6914 0%,#c49a2a 50%,#6b5010 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; margin-bottom: .5rem;
  box-shadow: inset 0 2px 8px rgba(0,0,0,.3);
}
.crate-dark { background: linear-gradient(135deg,#3a3a2a 0%,#5a5a3a 50%,#2a2a1a 100%); }
.crate-bar  { position: absolute; left: 0; right: 0; height: 9px; }
.crate-bar.top    { top: 18px; background: rgba(0,0,0,.25); }
.crate-bar.bottom { bottom: 18px; background: rgba(0,0,0,.25); }
.crate-lbl {
  font-family: var(--font-h); font-weight: 900; font-size: .78rem;
  letter-spacing: .1em; color: rgba(255,255,255,.9);
  text-align: center; position: relative; z-index: 1; padding: 0 1rem;
}

/* Bundle seal (right column) */
.bundle-seal {
  width: 130px; height: 130px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  align-self: center;
}

/* ══════════════════════════════════════════════
   6. STIMMEN AUS DEM LAGER
   ══════════════════════════════════════════════ */
#testimonials { background: var(--cream); padding-bottom: clamp(4rem,8vw,7rem); }

.disclaimer {
  text-align: center; font-size: .7rem; color: var(--text-mid); opacity: .55;
  padding: .5rem clamp(1.5rem,5vw,4rem); margin-top: -.25rem;
}
.testi-wrap {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2rem,4vw,4rem) clamp(1.5rem,5vw,4rem);
  display: grid; grid-template-columns: 240px 1fr;
  gap: clamp(2rem,4vw,4rem); align-items: start;
}
.testi-char img { width: 100%; object-fit: cover; object-position: top; }
.testi-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.testi-card {
  background: var(--white); border: 1px solid var(--cream-dark);
  padding: 1.5rem;
  transition: border-color var(--tr);
}
.testi-card:hover { border-color: var(--orange); }
.stars { color: var(--orange); font-size: 1rem; letter-spacing: .1em; margin-bottom: .7rem; }
.testi-card p    { font-size: .88rem; line-height: 1.7; margin-bottom: .7rem; }
.testi-card cite {
  font-family: var(--font-h); font-size: .68rem; font-weight: 800;
  letter-spacing: .18em; color: var(--orange); font-style: normal;
}

/* ══════════════════════════════════════════════
   7. ÜBER ANTOINE  (dark green bg)
   ══════════════════════════════════════════════ */
.section-dark-green {
  background: var(--green-deep);
  padding: clamp(5rem,10vw,8rem) 0;
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem,6vw,6rem); align-items: center;
}
.about-photo { position: relative; }
.about-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; }
.about-photo::after {
  content: ''; position: absolute; inset: -10px -10px 10px 10px;
  border: 2px solid var(--orange); z-index: -1; pointer-events: none;
}
.about-text h2   { color: var(--white); margin-bottom: 1.25rem; }
.about-text p    { color: rgba(255,255,255,.65); line-height: 1.75; }
.about-text blockquote {
  margin-top: 1.75rem; padding-left: 1.25rem;
  border-left: 3px solid var(--orange);
  font-size: 1.05rem; font-style: italic;
  color: rgba(255,255,255,.75); line-height: 1.6;
}
.about-text blockquote cite {
  display: block; margin-top: .6rem;
  font-family: var(--font-h); font-style: normal;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; color: var(--orange);
}

/* ══════════════════════════════════════════════
   8. WARTELISTE
   ══════════════════════════════════════════════ */
#waitlist {
  background: var(--green-dark);
  padding: clamp(5rem,10vw,8rem) 0;
}
.waitlist-grid {
  max-width: 860px; margin: 0 auto;
  padding: 0 clamp(1.5rem,5vw,4rem);
  display: flex; align-items: center;
  gap: clamp(3rem,6vw,6rem);
}
.waitlist-seal {
  flex-shrink: 0;
  width: clamp(120px,16vw,190px); height: clamp(120px,16vw,190px);
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.waitlist-content h2 { color: var(--white); margin-bottom: .75rem; }
.waitlist-content p  { color: rgba(255,255,255,.6); margin-bottom: 1.75rem; }
.waitlist-content .eyebrow { color: var(--orange); }
.form-row {
  display: flex; max-width: 500px;
}
.form-row input[type="email"] {
  flex: 1; padding: .75rem 1.1rem;
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.15); border-right: none;
  color: var(--white); font-family: var(--font-b); font-size: .9rem;
  outline: none;
  transition: border-color var(--tr), background var(--tr);
}
.form-row input::placeholder { color: rgba(255,255,255,.35); }
.form-row input:focus { border-color: var(--orange); background: rgba(255,255,255,.12); }
.form-msg { margin-top: .65rem; font-size: .8rem; min-height: 1rem; }
.form-msg.success { color: #7fc87f; }
.form-msg.error   { color: #e07070; }

/* ══════════════════════════════════════════════
   9. FOOTER
   ══════════════════════════════════════════════ */
#footer {
  background: var(--charcoal);
  padding: clamp(3rem,6vw,5rem) 0 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr repeat(3,1fr);
  gap: 2.5rem; margin-bottom: 2rem;
}
.footer-logo  { height: 54px; filter: brightness(0) invert(1); opacity: .8; margin-bottom: .75rem; }
.footer-brand p     { color: rgba(255,255,255,.5); font-size: .85rem; }
.footer-brand small { display: block; margin-top: .75rem; font-size: .68rem; color: rgba(255,255,255,.3); }
.footer-col { display: flex; flex-direction: column; gap: .5rem; }
.footer-col h5 {
  font-family: var(--font-h); font-size: .65rem; font-weight: 800;
  letter-spacing: .2em; color: var(--orange); margin-bottom: .3rem;
}
.footer-col a, .footer-col span { font-size: .8rem; color: rgba(255,255,255,.5); transition: color var(--tr); }
.footer-col a:hover { color: var(--white); }

/* ══════════════════════════════════════════════
   MODALS
   ══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.75); z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 2rem; backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--cream); max-width: 540px; width: 100%;
  padding: 2.5rem; position: relative;
  max-height: 80vh; overflow-y: auto;
}
.modal-box h3 { font-size: 1.7rem; margin-bottom: 1.25rem; color: var(--green-dark); }
.modal-box p  { margin-bottom: .9rem; font-size: .9rem; color: var(--text-mid); }
.modal-box a  { color: var(--orange); text-decoration: underline; }
.modal-close  {
  position: absolute; top: .9rem; right: 1rem;
  background: none; border: none; font-size: 1.1rem;
  cursor: pointer; color: var(--text-mid); transition: color var(--tr);
}
.modal-close:hover { color: var(--charcoal); }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .products-wrap { grid-template-columns: 140px 1fr 140px; }
  .bundles-wrap  { grid-template-columns: 160px 1fr 1fr 110px; }
}
@media (max-width: 900px) {
  .why-grid      { grid-template-columns: 1fr; }
  .why-center    { order: -1; }
  .why-char      { width: 200px; }
  .products-wrap { grid-template-columns: 1fr; }
  .prod-char     { display: none; }
  .bundles-wrap  { grid-template-columns: 1fr 1fr; }
  .bundle-char, .bundle-seal { display: none; }
  .testi-wrap    { grid-template-columns: 1fr; }
  .testi-char    { max-width: 260px; }
  .about-grid    { grid-template-columns: 1fr; }
  .about-photo   { max-width: 340px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .waitlist-grid { flex-direction: column; align-items: flex-start; }
  .hero-char     { width: 75%; opacity: .45; }
}
@media (max-width: 640px) {
  .hero-seal     { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .bundles-wrap  { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr; gap: 1.5rem; }
  .form-row      { flex-direction: column; }
  .form-row input[type="email"] { border-right: 2px solid rgba(255,255,255,.15); border-bottom: none; }
  .snav-wrap     { gap: 1rem; }
}
