/* ==========================================================================
   Friseur Schneider — Corporate Identity Stylesheet
   Palette: Nude Atelier (Beige / Mokka-Braun / Creme) — abgeleitet vom Logo
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-bg: #f8f2e9;
  --color-surface: #fffaf3;
  --color-ink: #362b23;
  --color-ink-soft: #6b5d52;
  --color-forest: #4a3c30;
  --color-forest-dark: #362b23;
  --color-gold: #b08d5f;
  --color-gold-light: #ddc7ae;
  --color-line: #e8ddcc;
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: "Alex Brush", cursive;
  --max-width: 1180px;
  --radius: 3px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }
.eyebrow.on-dark { color: var(--color-gold-light); }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-forest-dark);
}
h1 em, h2 em { font-style: italic; color: var(--color-gold); }

h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 18px; }
h2.center { text-align: center; }
h2.on-dark, h1.on-dark { color: #fff; }

.section-sub {
  color: var(--color-ink-soft);
  max-width: 560px;
  margin: 0 auto 56px;
}
.section-sub.center { text-align: center; }

section { padding: 110px 0; }

/* ---------- Scroll-reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--color-forest); color: #fff;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; z-index: 90;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  box-shadow: 0 4px 16px rgba(54,43,35,0.25);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--color-gold); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  border: 1px solid transparent;
}
.btn-primary { background: var(--color-forest); color: #fff; }
.btn-primary:hover { background: var(--color-gold); }
.btn-ghost { border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 26px 0;
}
.site-header.scrolled {
  background: rgba(248, 245, 239, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--color-line);
  padding: 14px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

/* Logo badge: recreated roundel — "FRISEUR" small-caps + "Schneider" script */
.logo { display: flex; align-items: center; gap: 12px; transition: opacity 0.3s ease; }
.logo:hover { opacity: 0.85; }
.logo-badge {
  width: 52px; height: 52px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--color-gold-light), var(--color-bg) 78%);
  border: 1px solid rgba(74,60,48,0.15);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(74,60,48,0.15);
}
.logo-badge-top { font-family: var(--font-sans); font-size: 0.46rem; font-weight: 600; letter-spacing: 0.12em; color: var(--color-forest); line-height: 1.4; }
.logo-badge-script { font-family: var(--font-script); font-size: 1.15rem; line-height: 1; color: var(--color-forest); margin-top: 0px; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { color: #fff; font-size: 0.86rem; font-weight: 500; white-space: nowrap; transition: color 0.3s ease, opacity 0.2s ease; }
.main-nav a:hover, .main-nav a.active { opacity: 0.75; }
.main-nav a.active { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.site-header.scrolled .main-nav a { color: var(--color-forest-dark); }

.nav-social { display: flex; align-items: center; gap: 12px; }
.nav-social a { display: flex; color: #fff; opacity: 0.85; transition: opacity 0.2s ease, color 0.3s ease; }
.nav-social a:hover { opacity: 1; }
.nav-social svg { width: 18px; height: 18px; }
.site-header.scrolled .nav-social a { color: var(--color-forest-dark); }

.nav-cta { background: var(--color-gold); color: #fff !important; padding: 11px 20px; border-radius: var(--radius); }
.nav-cta:hover { opacity: 0.9 !important; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; z-index: 110; padding: 6px; }
.burger span { width: 26px; height: 2px; background: #fff; transition: all 0.3s ease; }
.site-header.scrolled .burger span { background: var(--color-forest-dark); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,27,20,0.6) 0%, rgba(35,27,20,0.5) 50%, rgba(35,27,20,0.82) 100%); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 640px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); color: #fff; margin-bottom: 22px; }
.hero-sub { font-size: 1.08rem; color: rgba(255,255,255,0.9); max-width: 480px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-hint { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 1.4rem; opacity: 0.7; animation: bounce 2.2s infinite; z-index: 2; }
@keyframes bounce { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- USP Bar ---------- */
.usp-bar { background: var(--color-forest); padding: 30px 0; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.usp-grid div { color: #fff; font-size: 0.86rem; font-weight: 500; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.usp-grid svg { width: 26px; height: 26px; color: var(--color-gold-light); }

/* ---------- About / Salon ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
.about-image img { border-radius: var(--radius); aspect-ratio: 3/2; object-fit: cover; width: 100%; }
.about-text p { color: var(--color-ink-soft); margin-bottom: 18px; }
.about-text strong { color: var(--color-ink); }
.about-stats { display: flex; gap: 40px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--color-line); flex-wrap: wrap; }
.about-stats div { font-size: 0.82rem; color: var(--color-ink-soft); }
.about-stats span { display: block; font-family: var(--font-serif); font-size: 1.7rem; color: var(--color-forest-dark); margin-bottom: 4px; }

/* ---------- Services ---------- */
.services { background: var(--color-surface); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.service-group h3 { font-size: 1.3rem; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--color-gold); display: inline-block; }
.price-list li { display: flex; align-items: baseline; gap: 8px; padding: 12px 0; border-bottom: 1px dashed var(--color-line); font-size: 0.95rem; }
.price-list .dots { flex: 1; }
.price-list .price { font-weight: 600; color: var(--color-gold); white-space: nowrap; }
.services-note { text-align: center; color: var(--color-ink-soft); font-size: 0.85rem; margin-top: 48px; }
.services-cta { text-align: center; margin-top: 40px; }

/* ---------- Team teaser (index) ---------- */
.team-teaser { background: var(--color-bg); }
.team-teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 20px; }
.team-card { text-align: center; }
.team-card .photo-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; margin-bottom: 14px; background: var(--color-line); }
.team-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15) saturate(0.95); transition: transform 0.5s ease, filter 0.5s ease; }
.team-card:hover img { transform: scale(1.04); filter: grayscale(0) saturate(1.05); }
.team-card h4 { font-family: var(--font-serif); font-size: 1.05rem; color: var(--color-forest-dark); }
.team-card p { font-size: 0.82rem; color: var(--color-ink-soft); }

/* ---------- Team page (full bios) ---------- */
.team-full { background: var(--color-surface); }
.team-full-list { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.team-member { display: grid; grid-template-columns: 260px 1fr; gap: 50px; padding: 56px 0; border-bottom: 1px solid var(--color-line); align-items: start; }
.team-member:first-child { padding-top: 0; }
.team-member .photo-wrap { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.team-member img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.1) saturate(0.95); }
.team-member .role { color: var(--color-gold); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.team-member h3 { font-size: 1.6rem; margin-bottom: 4px; }
.team-member blockquote { font-family: var(--font-serif); font-style: italic; color: var(--color-forest-dark); font-size: 1.15rem; margin: 14px 0 18px; padding-left: 18px; border-left: 3px solid var(--color-gold); }
.team-member p { color: var(--color-ink-soft); margin-bottom: 14px; font-size: 0.96rem; }
.team-hours { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 0.82rem; color: var(--color-ink-soft); }
.team-hours span strong { color: var(--color-ink); font-weight: 600; }

.page-hero {
  position: relative;
  padding: 200px 0 90px;
  background: var(--color-forest);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(176,141,95,0.25), transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 20px; }
.gallery-grid img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.5s ease, filter 0.5s ease; filter: saturate(0.95); }
.gallery-grid img:hover { transform: scale(1.03); filter: saturate(1.1); }

/* ---------- Brand Partners ---------- */
.brands-strip { background: var(--color-surface); padding: 56px 0; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.brands-strip .eyebrow.center { margin-bottom: 24px; }
.brands-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 44px; }
.brands-row span { font-family: var(--font-serif); font-size: 1.2rem; color: var(--color-ink-soft); letter-spacing: 0.02em; white-space: nowrap; }

/* ---------- Contact ---------- */
.contact { background: var(--color-surface); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact-list { margin: 28px 0 32px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.contact-list strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-gold); }
.contact-list a:hover { text-decoration: underline; }

.hours-table { width: 100%; border-collapse: collapse; margin-bottom: 36px; }
.hours-table td { padding: 10px 0; border-bottom: 1px dashed var(--color-line); font-size: 0.94rem; }
.hours-table td:last-child { text-align: right; color: var(--color-ink-soft); }

.anfahrt-notes { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.anfahrt-notes div { display: flex; align-items: flex-start; gap: 12px; }
.anfahrt-notes svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; color: var(--color-gold); }
.anfahrt-notes span { font-size: 0.88rem; color: var(--color-ink-soft); line-height: 1.5; }

.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-forest-dark); color: rgba(255,255,255,0.7); padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.82rem; }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; align-items: center; gap: 14px; padding-left: 20px; margin-left: 4px; border-left: 1px solid rgba(255,255,255,0.2); }
.footer-social a { display: flex; color: rgba(255,255,255,0.7); transition: color 0.2s ease; }
.footer-social a:hover { color: var(--color-gold-light); }
.footer-social svg { width: 17px; height: 17px; }

/* ---------- History Intro & Close (geschichte.html) ---------- */
.history-intro { background: var(--color-surface); }
.history-intro-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.history-intro-inner p { color: var(--color-ink-soft); text-align: left; margin-bottom: 16px; }
.history-intro-inner blockquote {
  text-align: left;
  font-family: var(--font-serif); font-style: italic; color: var(--color-forest-dark);
  font-size: 1.1rem; margin: 28px 0 0; padding-left: 20px; border-left: 3px solid var(--color-gold);
}
.history-intro-inner blockquote span { display: block; margin-top: 10px; font-family: var(--font-sans); font-style: normal; font-size: 0.82rem; color: var(--color-ink-soft); letter-spacing: 0.02em; }

.history-close { background: var(--color-forest); color: #fff; }
.history-close h2 { color: #fff; }
.history-close .eyebrow.center { color: var(--color-gold-light); }
.history-close .section-sub.center { color: rgba(255,255,255,0.82); }

/* ---------- History Blocks & Timeline (geschichte.html) ---------- */
.history-block { display: grid; grid-template-columns: 340px 1fr; gap: 70px; margin-bottom: 100px; align-items: start; }
.history-block:last-child { margin-bottom: 0; }
.history-block-image { position: sticky; top: 110px; }
.history-block-image img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(0.45) sepia(0.12);
  box-shadow: 0 16px 40px rgba(54,43,35,0.18);
  transition: filter 0.5s ease;
}
.history-block-image img:hover { filter: grayscale(0) sepia(0); }

.timeline { position: relative; padding-left: 32px; border-left: 2px solid var(--color-line); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-gold);
}
.timeline-item .year { font-family: var(--font-serif); font-size: 1.3rem; color: var(--color-forest-dark); font-weight: 700; margin-bottom: 6px; }
.timeline-item p { color: var(--color-ink-soft); font-size: 0.95rem; max-width: 560px; }

/* ---------- Jobs page ---------- */
.jobs-hero-check { list-style: none; max-width: 560px; margin: 32px auto 0; text-align: left; display: flex; flex-direction: column; gap: 14px; }
.jobs-hero-check li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,0.92); font-size: 1rem; }
.jobs-hero-check svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--color-gold-light); }

.jobs-apply { text-align: center; }
.jobs-apply-card { max-width: 640px; margin: 0 auto; background: var(--color-bg); border: 1px solid var(--color-line); border-radius: var(--radius); padding: 48px; }
.jobs-apply-card p { color: var(--color-ink-soft); margin-bottom: 10px; }
.jobs-apply-card .btn { margin-top: 20px; }

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal-page { background: #fff; }
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.4rem; margin-top: 42px; margin-bottom: 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.05rem; margin-top: 26px; margin-bottom: 10px; font-family: var(--font-sans); font-weight: 600; color: var(--color-ink); }
.legal-content p { color: var(--color-ink-soft); margin-bottom: 14px; font-size: 0.95rem; }
.legal-content a { color: var(--color-gold); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  section { padding: 80px 0; }
  .page-hero { padding: 150px 0 70px; }

  .main-nav {
    position: fixed; top: 0; right: -100%;
    width: min(80vw, 340px); height: 100vh;
    background: var(--color-bg);
    flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 40px; gap: 26px;
    transition: right 0.35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  }
  .main-nav.open { right: 0; }
  .main-nav a { color: var(--color-forest-dark); font-size: 1.05rem; }
  .nav-cta { color: #fff !important; }
  .nav-social { order: 10; margin-top: 8px; }
  .nav-social a { color: var(--color-forest-dark); }
  .burger { display: flex; }

  .usp-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { aspect-ratio: 16/10; }
  .services-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-teaser-grid { grid-template-columns: repeat(2, 1fr); }
  .team-member { grid-template-columns: 1fr; gap: 22px; }
  .team-member .photo-wrap { max-width: 220px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img { height: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map iframe { min-height: 300px; }
  .footer-inner { flex-direction: column; text-align: center; }

  .timeline { padding-left: 24px; }
  .timeline-item::before { left: -30px; }
  .history-block { grid-template-columns: 1fr; gap: 28px; margin-bottom: 70px; }
  .history-block-image { position: static; max-width: 320px; }
  .jobs-apply-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { text-align: center; width: 100%; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .team-teaser-grid { grid-template-columns: 1fr 1fr; }
  .usp-grid { grid-template-columns: 1fr 1fr; }
}
