/* ott-oergeli redesign preview — warm workshop palette */
:root {
  --bg: #f7f2ea;
  --bg-alt: #efe6d8;
  --ink: #241c15;
  --ink-soft: #5c5044;
  --accent: #a83c28;
  --accent-dark: #7e2c1d;
  --wood: #c08a4e;
  --line: #ddd2c2;
  --radius: 14px;
  --shadow: 0 18px 45px rgba(36, 28, 21, .14);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.01em; }
.kicker {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
}
.nav.scrolled { background: rgba(247, 242, 234, .92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav .brand img { height: 34px; width: auto; }
.nav .brand .brand-light { display: block; }
.nav .brand .brand-dark { display: none; }
.nav.scrolled .brand .brand-light { display: none; }
.nav.scrolled .brand .brand-dark { display: block; }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a {
  text-decoration: none; font-weight: 500; font-size: .95rem;
  color: #fff; letter-spacing: .02em; transition: color .2s;
}
.nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--wood); }
.nav-cta {
  padding: 9px 20px; border-radius: 999px;
  background: var(--accent); color: #fff !important; font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dark); color: #fff !important; }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .3s; }
.nav.scrolled .burger span, .nav.open .burger span { background: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: heroZoom 14s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 14, 10, .45) 0%, rgba(20, 14, 10, .15) 40%, rgba(20, 14, 10, .78) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 0 0 9vh; width: 100%; }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  max-width: 15ch; letter-spacing: -.015em; margin-bottom: 18px;
}
.hero h1 em { font-style: italic; color: var(--wood); }
.hero p { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 50ch; opacity: .92; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .98rem;
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.65); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.hero-badge {
  position: absolute; right: 5vw; bottom: 8vh; z-index: 2;
  width: clamp(110px, 13vw, 170px); opacity: .95;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- stats strip ---------- */
.stats { background: var(--ink); color: var(--bg); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 44px 24px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--wood); }
.stat span { font-size: .88rem; opacity: .75; letter-spacing: .04em; }

/* ---------- generic section ---------- */
section { padding: 96px 0; }
.section-head { max-width: 700px; margin-bottom: 56px; }

/* ---------- about ---------- */
.about { background: var(--bg); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.about-text p + p { margin-top: 18px; }
.about-text .lead { margin-bottom: 18px; color: var(--ink); }
.about-media { position: relative; }
.about-media img.main { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-media img.stamp {
  position: absolute; width: 130px; bottom: -34px; left: -34px;
  filter: drop-shadow(0 10px 24px rgba(36,28,21,.25));
}

/* ---------- handwerk ---------- */
.handwerk { background: var(--bg-alt); }
.craft { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.craft-card {
  background: var(--bg); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 8px 30px rgba(36,28,21,.08);
  transition: transform .3s, box-shadow .3s;
}
.craft-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.craft-card img { height: 300px; width: 100%; object-fit: cover; }
.craft-body { padding: 28px 30px 32px; }
.craft-body h3 { font-size: 1.5rem; margin-bottom: 4px; }
.craft-body .sub { color: var(--accent); font-weight: 600; font-size: .92rem; margin-bottom: 12px; }
.craft-body p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- gallery ---------- */
.gallery { background: var(--bg); }
.gallery-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
}
.gallery-grid a { overflow: hidden; border-radius: 10px; display: block; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid a:hover img { transform: scale(1.06); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

/* ---------- team ---------- */
.team { background: var(--bg-alt); }
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.member { text-align: left; }
.member img {
  aspect-ratio: 1/1; object-fit: cover; width: 100%;
  border-radius: 12px; margin-bottom: 12px;
  filter: saturate(.92);
  transition: transform .3s, filter .3s;
}
.member:hover img { transform: translateY(-4px); filter: saturate(1.05); }
.member b { display: block; font-size: .98rem; }
.member span { font-size: .85rem; color: var(--ink-soft); }
.team-photo { margin-top: 64px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.team-photo img { width: 100%; max-height: 560px; object-fit: cover; }

/* ---------- kontakt ---------- */
.kontakt { background: var(--ink); color: var(--bg); }
.kontakt .kicker { color: var(--wood); }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.kontakt-list { list-style: none; margin-top: 30px; display: grid; gap: 20px; }
.kontakt-list li { display: flex; gap: 16px; align-items: flex-start; }
.kontakt-list svg { flex: 0 0 22px; margin-top: 3px; stroke: var(--wood); }
.kontakt-list a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.kontakt-list a:hover { border-color: var(--wood); }
.kontakt-note { margin-top: 28px; padding: 16px 20px; border-left: 3px solid var(--wood); background: rgba(255,255,255,.05); font-size: .95rem; border-radius: 0 8px 8px 0; }
.kontakt-media img { border-radius: var(--radius); box-shadow: 0 18px 45px rgba(0,0,0,.4); }

/* ---------- footer ---------- */
footer { background: var(--ink); color: rgba(247,242,234,.55); border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 24px; font-size: .85rem; flex-wrap: wrap; }
.footer-inner img { height: 26px; opacity: .8; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .about-grid, .kontakt-grid { grid-template-columns: 1fr; gap: 44px; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .craft { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; inset: 0; background: var(--bg);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 30px; font-size: 1.2rem; transform: translateX(100%);
    transition: transform .35s ease; z-index: -1;
  }
  .nav.open .nav-links { transform: none; }
  .nav.open .nav-links a { color: var(--ink); }
  .burger { display: block; z-index: 60; }
  .nav.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .burger span:nth-child(2) { opacity: 0; }
  .nav.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-badge { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  section { padding: 72px 0; }
  .about-media img.stamp { left: auto; right: -14px; width: 100px; }
}
