/* ============================================================
   Holzmanufaktur Daniel Führer – Stylesheet
   Positionierung: Naturholz ohne Chemie, "back to the roots".
   Farben/Typografie bewusst eigenständig gewählt (kein Template).
   ============================================================ */

:root {
  /* Holz – dunkel (Header/Footer/Hero-Grund) */
  --c-wood-dark:      #241A12;
  --c-wood-dark-2:    #17100A;
  /* Holz – mittel (Sekundärflächen, Überschriften-Akzent) */
  --c-wood:           #6B4A31;
  --c-wood-deep:      #4A3220;
  --c-wood-tint:      #EDE1CD;
  /* Moos/Salbei – Akzent & CTA: bewusst kein Gold/Orange (Abgrenzung zu anderen Kundenseiten) */
  --c-moss:           #57642F;
  --c-moss-dark:      #3D4620;
  --c-moss-light:     #E8ECD9;
  /* Neutrale Basis – warmes Leinen statt reinweiß */
  --c-cream:          #FAF6EE;
  --c-cream-alt:      #F1E9D9;
  --c-white:          #FFFFFF;
  --c-text:           #241C15;
  --c-text-muted:     #6B5D4F;
  --c-text-light:     #9C8E7C;
  --c-border:         #E4D8C3;

  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  28px;

  --shadow-sm: 0 1px 4px rgba(36,26,18,.08);
  --shadow-md: 0 6px 24px rgba(36,26,18,.10);
  --shadow-lg: 0 14px 44px rgba(36,26,18,.16);

  --t: 220ms ease;
  --max-w: 1180px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Mulish', 'Segoe UI', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
:focus-visible { outline: 3px solid var(--c-moss); outline-offset: 2px; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Zilla Slab', Georgia, serif;
  font-weight: 700;
  line-height: 1.18;
  color: var(--c-wood-dark);
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { max-width: 62ch; }

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

.section { padding: 84px 0; }
.section--alt { background: var(--c-cream-alt); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--c-text-muted); font-size: 1.02rem; margin: 0 auto; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Zilla Slab', serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-moss);
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-moss);
  border-radius: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--r-md);
  font-family: 'Zilla Slab', serif;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--t);
  cursor: pointer;
}
.btn-primary { background: var(--c-moss); color: #fff; }
.btn-primary:hover { background: var(--c-moss-dark); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(87,100,47,.35); }
.btn-outline { border: 2px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-outline-dark { border: 2px solid var(--c-wood); color: var(--c-wood-dark); }
.btn-outline-dark:hover { background: var(--c-wood-tint); }

/* ── Platzhalter-Hinweisbanner ── */
.pb-banner {
  background: var(--c-moss-dark);
  color: #fff;
}
.pb-banner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: .84rem;
  line-height: 1.4;
}
.pb-banner strong { font-weight: 700; }
.pb-close {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  transition: var(--t);
}
.pb-close:hover { background: rgba(255,255,255,.18); }
.pb-banner.pb-hidden { display: none; }

/* ════════════════════════════════════════
   HEADER
   ════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250,246,238,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.site-header-inner { display: flex; align-items: center; gap: 8px; height: 74px; }
.header-logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--c-wood-dark);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.logo-text { line-height: 1.18; }
.logo-text .logo-name {
  display: block;
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--c-wood-dark);
}
.logo-text .logo-sub {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--c-moss);
}
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .9rem;
  color: var(--c-text);
  transition: var(--t);
}
.main-nav a:hover { background: var(--c-wood-tint); color: var(--c-wood-dark); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  background: var(--c-moss);
  padding: 10px 18px;
  border-radius: var(--r-md);
  transition: var(--t);
}
.header-phone:hover { background: var(--c-moss-dark); }
.header-phone svg { flex-shrink: 0; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: var(--t);
}
.nav-burger:hover { background: var(--c-wood-tint); }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--c-wood-dark); border-radius: 2px; transition: var(--t); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ════════════════════════════════════════
   HERO
   ════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 140% at 15% 0%, var(--c-wood-deep) 0%, var(--c-wood-dark) 46%, var(--c-wood-dark-2) 100%);
  padding: 76px 0 64px;
}
/* Abstrakte Jahresring-Textur statt Foto */
.hero-rings {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 620px; height: 620px;
  opacity: .16;
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0;
  opacity: .05;
  background-image: repeating-linear-gradient(115deg, #fff 0px, #fff 1px, transparent 1px, transparent 4px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Zilla Slab', serif;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #C9D3A8;
  margin-bottom: 18px;
}
.hero-eyebrow::before { content: ''; width: 26px; height: 2px; background: #C9D3A8; border-radius: 2px; }
.hero-content h1 { color: #fff; margin-bottom: 18px; }
.hero-subline { font-size: 1.06rem; line-height: 1.75; color: rgba(255,255,255,.82); margin-bottom: 30px; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Platzhalter-Visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  border: 1.5px dashed rgba(255,255,255,.3);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 32px;
}
.hero-visual svg { color: rgba(255,255,255,.55); }
.hero-visual .hv-title { font-family: 'Zilla Slab', serif; font-weight: 700; color: #fff; font-size: 1.02rem; }
.hero-visual .hv-sub { font-size: .8rem; color: rgba(255,255,255,.55); max-width: 22ch; }

/* ════════════════════════════════════════
   LEISTUNGEN
   ════════════════════════════════════════ */
.leistungen-intro { max-width: 720px; margin: 0 auto 44px; text-align: center; color: var(--c-text-muted); }
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.leistung-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 30px 24px;
  transition: var(--t);
}
.leistung-card:hover { border-color: var(--c-moss); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.leistung-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--c-moss-light);
  color: var(--c-moss-dark);
  display: grid; place-items: center;
  margin-bottom: 18px;
  transition: var(--t);
}
.leistung-card:hover .leistung-icon { background: var(--c-moss); color: #fff; }
.leistung-card h3 { margin-bottom: 8px; font-size: 1.08rem; }
.leistung-card p { color: var(--c-text-muted); font-size: .92rem; max-width: unset; }

/* ════════════════════════════════════════
   REFERENZEN
   ════════════════════════════════════════ */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ref-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.ref-c1 { background: linear-gradient(150deg, #4A3220 0%, #6B4A31 100%); }
.ref-c2 { background: linear-gradient(150deg, #3D4620 0%, #57642F 100%); }
.ref-c3 { background: linear-gradient(150deg, #241A12 0%, #4A3220 100%); }
.ref-c4 { background: linear-gradient(150deg, #57642F 0%, #7C8B4E 100%); }
.ref-c5 { background: linear-gradient(150deg, #6B4A31 0%, #8A6A48 100%); }
.ref-c6 { background: linear-gradient(150deg, #3D4620 0%, #6B4A31 100%); }
.ref-tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.6);
  border: 1px dashed rgba(255,255,255,.3);
  padding: 4px 10px;
  border-radius: 999px;
}
.ref-body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
}
.ref-body svg { color: rgba(255,255,255,.4); }
.ref-title { font-family: 'Zilla Slab', serif; font-weight: 700; color: #fff; font-size: 1.05rem; }

/* ════════════════════════════════════════
   ÜBER DEN BETRIEB
   ════════════════════════════════════════ */
.about-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 56px;
  align-items: start;
}
.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, var(--c-wood-tint), var(--c-cream-alt));
  border: 1.5px dashed var(--c-wood);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 32px;
}
.about-photo svg { color: var(--c-wood); }
.about-photo .ap-title { font-family: 'Zilla Slab', serif; font-weight: 700; color: var(--c-wood-dark); }
.about-photo .ap-sub { font-size: .82rem; color: var(--c-text-muted); max-width: 22ch; }
.about-badge {
  position: absolute; bottom: -16px; right: -12px;
  background: var(--c-moss);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  font-family: 'Zilla Slab', serif;
  font-weight: 700;
  font-size: .82rem;
  text-align: center;
  line-height: 1.3;
}
.about-text .intro { font-size: 1.04rem; color: var(--c-text); margin-bottom: 18px; max-width: unset; }
.about-text p { color: var(--c-text-muted); margin-bottom: 16px; max-width: unset; }
.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 24px 0 28px;
}
.about-fact {
  display: flex; align-items: center; gap: 10px;
  background: var(--c-cream-alt);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--c-wood-dark);
}
.about-fact svg { color: var(--c-moss); flex-shrink: 0; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 24px; border-top: 1px solid var(--c-border); }
.about-stats .stat-num { font-family: 'Zilla Slab', serif; font-weight: 700; font-size: 1.7rem; color: var(--c-moss-dark); line-height: 1; }
.about-stats .stat-label { font-size: .76rem; color: var(--c-text-muted); margin-top: 4px; }

/* ════════════════════════════════════════
   KONTAKT
   ════════════════════════════════════════ */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.kontakt-phone-cta {
  display: flex; align-items: center; gap: 16px;
  background: var(--c-moss);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 22px 24px;
  margin-bottom: 24px;
  transition: var(--t);
}
.kontakt-phone-cta:hover { background: var(--c-moss-dark); }
.kontakt-phone-cta .kpc-icon { width: 46px; height: 46px; border-radius: var(--r-md); background: rgba(255,255,255,.16); display: grid; place-items: center; flex-shrink: 0; }
.kontakt-phone-cta .kpc-label { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.kontakt-phone-cta .kpc-value { font-family: 'Zilla Slab', serif; font-weight: 700; font-size: 1.3rem; }

.contact-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.contact-icon { width: 42px; height: 42px; background: var(--c-wood-tint); border-radius: var(--r-sm); display: grid; place-items: center; color: var(--c-wood-dark); flex-shrink: 0; }
.contact-item-text { line-height: 1.35; }
.contact-item-text .label { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c-text-light); margin-bottom: 3px; display: block; }
.contact-item-text .value { font-weight: 600; font-size: .96rem; color: var(--c-text); display: block; }
.contact-item-text a.value:hover { color: var(--c-moss-dark); }

.hours-box {
  margin-top: 22px;
  background: var(--c-cream-alt);
  border: 1.5px dashed var(--c-wood);
  border-radius: var(--r-md);
  padding: 18px 20px;
}
.hours-box .hb-label { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--c-moss-dark); margin-bottom: 6px; display: block; }
.hours-box p { font-size: .88rem; color: var(--c-text-muted); font-style: italic; max-width: unset; }

.maps-frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); }
.maps-frame iframe { width: 100%; height: 380px; display: block; border: 0; }

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */
.site-footer { background: var(--c-wood-dark); color: rgba(255,255,255,.72); padding: 52px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 26px; }
.footer-brand .logo-name { color: #fff; font-family: 'Zilla Slab', serif; font-weight: 700; font-size: 1.15rem; }
.footer-brand .logo-sub { color: #A9BB74; font-size: .76rem; font-weight: 600; }
.footer-brand p { margin-top: 12px; font-size: .88rem; line-height: 1.65; color: rgba(255,255,255,.55); max-width: unset; }
.footer-col h4 { font-family: 'Zilla Slab', serif; font-size: .85rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col li a { font-size: .9rem; color: rgba(255,255,255,.72); transition: var(--t); }
.footer-col li a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.4); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.45); transition: var(--t); }
.footer-legal a:hover { color: #fff; }

/* ════════════════════════════════════════
   IMPRESSUM / DATENSCHUTZ
   ════════════════════════════════════════ */
.legal-page { padding: 56px 0 80px; }
.legal-page h1 { font-size: 2rem; margin-bottom: 8px; color: var(--c-wood-dark); }
.legal-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 30px; font-size: .9rem; font-weight: 600; color: var(--c-text-muted); transition: var(--t); }
.legal-back:hover { color: var(--c-moss-dark); }
.legal-content h2 { font-size: 1.15rem; margin: 30px 0 10px; color: var(--c-wood-dark); }
.legal-content h3 { font-size: 1rem; margin: 18px 0 8px; }
.legal-content p, .legal-content li { font-size: .93rem; color: var(--c-text-muted); margin-bottom: 10px; max-width: unset; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-meta { margin-top: 4px; font-size: .82rem; color: var(--c-text-light); }
.placeholder-field {
  display: inline;
  background: #F1EACB;
  border: 1px dashed var(--c-moss);
  padding: 1px 6px;
  border-radius: 4px;
  font-style: italic;
  font-size: .88em;
  color: var(--c-moss-dark);
}

/* ════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .leistungen-grid { grid-template-columns: repeat(2, 1fr); }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 420px; margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .ref-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 36px; }

  .main-nav, .header-cta { display: none; }
  .nav-burger { display: flex; margin-left: auto; }

  .mobile-nav {
    display: none;
    position: fixed;
    inset: 74px 0 0 0;
    background: rgba(250,246,238,.98);
    backdrop-filter: blur(12px);
    z-index: 49;
    padding: 22px;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid var(--c-border);
    overflow-y: auto;
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav a {
    padding: 15px 16px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--c-text);
    border-bottom: 1px solid var(--c-border);
    display: block;
  }
  .mobile-nav a:last-child { border-bottom: none; }
  .mobile-nav .mobile-phone {
    margin-top: 8px;
    display: flex; align-items: center; gap: 10px;
    font-family: 'Zilla Slab', serif;
    font-weight: 700; font-size: 1.1rem;
    color: #fff;
    background: var(--c-moss);
    padding: 16px;
    border-radius: var(--r-md);
    border-bottom: none;
  }

  .hero { padding: 20px 0 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }

  .leistungen-grid { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .kontakt-grid { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }

  .pb-banner-inner { font-size: .78rem; }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr; }
  .about-stats .stat { display: flex; align-items: baseline; gap: 8px; }
}

/* ── Reveal on scroll ──
   Elements are fully visible by default (no-JS / JS-error safe).
   JS adds .hf-armed right before observing, THEN hides+animates in.
   This guarantees content is never stuck invisible. ── */
.hf-reveal.hf-armed { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.hf-reveal.hf-armed.is-visible { opacity: 1; transform: none; }

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .hf-reveal.hf-armed { opacity: 1; transform: none; }
}
