/* elbefe — Design System D · Wald & Rost */

@font-face {
  font-family: 'ElbefeBrand';
  src: url('../media/elbee.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.elbefe-brand {
  font-family: 'ElbefeBrand', Georgia, serif;
}

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

:root {
  --waldgruen:   #2d3d2a;
  --moos:        #5a7a44;
  --rost:        #b85c2c;
  --haselnuss:   #e8c8a8;
  --leinen:      #f5f0e6;
  --salbei:      #d4e0c4;
  --sand:        #e8e4d8;
  --text-prim:   #2d3d2a;
  --text-sek:    #5a6a50;
  --text-hell:   #d4e8c2;
  --nav-link:    #8ab87a;
  --salbei-border: #a8c098;
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-prim);
  background: var(--leinen);
}

/* ─── NAV ─── */
.site-nav {
  background: var(--waldgruen);
  padding: 0 max(20px, 5vw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 58px;
}

.nav-logo {
  font-family: 'ElbefeBrand', Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-hell);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--nav-link);
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-hell);
  border-bottom-color: var(--rost);
}

.nav-etsy {
  background: var(--rost) !important;
  color: #fff !important;
  padding: 5px 14px !important;
  border-radius: 3px !important;
  border-bottom: none !important;
}

.nav-etsy:hover {
  background: #9a4a20 !important;
  border-bottom-color: transparent !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--nav-link);
  border-radius: 2px;
  transition: .2s;
}

.mobile-menu {
  display: none;
  background: var(--waldgruen);
  padding: 16px max(20px, 5vw) 20px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  color: var(--salbei);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 0;
  border-bottom: 0.5px solid rgba(255,255,255,.07);
}

.mobile-menu a:last-child { border-bottom: none; }

/* ─── OVERLINE ─── */
.overline {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--moos);
  margin-bottom: 8px;
  display: block;
}

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--rost);
  color: #fff;
  border: none;
  padding: 11px 26px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background .15s;
}
.btn-primary:hover { background: #9a4a20; }

.btn-secondary {
  background: transparent;
  color: var(--waldgruen);
  border: 1.5px solid var(--waldgruen);
  padding: 10px 24px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background .15s;
}
.btn-secondary:hover { background: var(--leinen); }

.btn-ghost {
  color: var(--moos);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
}

/* ─── BADGE ─── */
.badge {
  background: var(--rost);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ─── DIVIDER ─── */
hr.divider {
  border: none;
  border-top: 0.5px solid var(--salbei-border);
  margin: 60px 0;
}

/* ─── LAYOUT ─── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 max(20px, 5vw);
}

/* ─── HERO ─── */
.hero {
  background: var(--leinen);
  padding: 80px max(20px, 5vw) 90px;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-text { flex: 1; }

.hero h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.22;
  color: var(--text-prim);
  margin-bottom: 20px;
}

.hero p {
  font-size: 15px;
  color: var(--text-sek);
  max-width: 440px;
  margin-bottom: 28px;
}

.hero-image {
  flex: 1;
  max-width: 480px;
  aspect-ratio: 4 / 3;
  background: var(--salbei);
  border-radius: 7px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px;
}

.hero-image video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── PRODUCT GRID SECTION ─── */
.grid-section {
  background: var(--sand);
  padding: 80px max(20px, 5vw);
}

.grid-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.grid-section-header {
  margin-bottom: 36px;
}

.grid-section-header h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--text-prim);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ─── PRODUCT CARD ─── */
.card {
  background: var(--leinen);
  border: 0.5px solid var(--salbei-border);
  border-radius: 7px;
  padding: 13px;
  overflow: hidden;
  transition: border-color .15s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card:hover { border-color: var(--rost); }

.card.featured { background: var(--haselnuss); }

.card-img {
  background: var(--salbei);
  border-radius: 4px;
  aspect-ratio: 4/3;
  margin-bottom: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--salbei);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sek);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-prim);
  margin-bottom: 3px;
}

.card-label {
  font-size: 11px;
  color: var(--moos);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-badge-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

/* ─── ABOUT SECTION ─── */
.about-section {
  background: var(--leinen);
  padding: 80px max(20px, 5vw);
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-img {
  flex: 0 0 55%;
  max-width: 55%;
  aspect-ratio: 3/2;
  background: var(--salbei);
  border-radius: 7px;
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text { flex: 1; }

.about-text h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-sek);
  margin-bottom: 16px;
}

/* ─── ETSY BANNER ─── */
.etsy-banner {
  background: var(--waldgruen);
  padding: 60px max(20px, 5vw);
  text-align: center;
}

.etsy-banner .overline { color: var(--nav-link); }

.etsy-banner h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  font-weight: 400;
  color: var(--text-hell);
  margin-bottom: 10px;
}

.etsy-banner p {
  color: var(--nav-link);
  margin-bottom: 28px;
  font-size: 14px;
}

/* ─── CUSTOM SECTION (Taschen) ─── */
.custom-section {
  background: var(--leinen);
  padding: 80px max(20px, 5vw);
}

.custom-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.custom-inner h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 8px;
}

.custom-intro {
  color: var(--text-sek);
  max-width: 640px;
  margin-bottom: 56px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.process-step {
  border-top: 2px solid var(--salbei-border);
  padding-top: 20px;
}

.step-num {
  font-family: Georgia, serif;
  font-size: 28px;
  color: var(--salbei-border);
  line-height: 1;
  margin-bottom: 10px;
}

.process-step h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-prim);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--text-sek);
  line-height: 1.7;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.extra-item {
  background: var(--sand);
  border-radius: 5px;
  padding: 16px 18px;
  font-size: 13px;
  color: var(--text-prim);
  border-left: 2px solid var(--salbei-border);
}

.contact-box {
  background: var(--salbei);
  border-radius: 7px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-box p {
  font-size: 14px;
  color: var(--text-prim);
  max-width: 480px;
}

/* ─── PAGE HEADER (Unterseiten) ─── */
.page-header {
  background: var(--leinen);
  padding: 64px max(20px, 5vw) 48px;
  border-bottom: 0.5px solid var(--salbei-border);
}

.page-header-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-header h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 8px;
}

.page-header p {
  color: var(--text-sek);
  max-width: 560px;
}

/* ─── GALLERY ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}

.gallery-item {
  aspect-ratio: 1;
  background: var(--salbei);
  border-radius: 5px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── FOOTER ─── */
footer {
  background: var(--waldgruen);
  padding: 40px max(20px, 5vw);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand .nav-logo {
  font-size: 18px;
  margin-bottom: 8px;
  display: block;
}

.footer-brand p {
  font-size: 11px;
  color: #6a8a52;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--nav-link);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color .15s;
}

.footer-links a:hover { color: var(--text-hell); }

.footer-contact {
  font-size: 11px;
  color: #6a8a52;
  line-height: 1.9;
}

.footer-contact a {
  color: var(--nav-link);
  text-decoration: none;
}

.footer-bottom {
  max-width: 1100px;
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 0.5px solid rgba(255,255,255,.07);
  font-size: 10px;
  color: #4a6040;
  display: flex;
  justify-content: space-between;
}

/* ─── IMPRESSUM ─── */
.impressum-section {
  padding: 80px max(20px, 5vw);
}
.impressum-inner {
  max-width: 700px;
  margin: 0 auto;
}
.impressum-inner h1 {
  font-family: Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 36px;
}
.impressum-inner h2 {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  margin: 32px 0 8px;
  color: var(--text-prim);
}
.impressum-inner p,
.impressum-inner address {
  font-size: 14px;
  color: var(--text-sek);
  line-height: 1.8;
  font-style: normal;
}
.impressum-inner a { color: var(--moos); }

/* ─── MOBILE STICKY CTA ─── */
.sticky-etsy {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--rost);
  color: #fff;
  text-align: center;
  padding: 0 16px;
  height: 50px;
  line-height: 50px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 200;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 48px max(20px, 5vw) 56px;
    gap: 36px;
  }
  .hero h1 { font-size: 30px; }
  .hero-image { max-width: 100%; width: 100%; }

  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .about-inner { flex-direction: column; gap: 36px; }
  .about-img { flex: none; max-width: 100%; width: 100%; }

  .process-steps { grid-template-columns: 1fr; gap: 24px; }
  .extras-grid { grid-template-columns: 1fr; }

  .contact-box { flex-direction: column; align-items: flex-start; }

  .footer-inner { flex-direction: column; gap: 28px; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero h1 { font-size: 26px; }

  .product-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr; }

  .sticky-etsy { display: block; }
  body { padding-bottom: 50px; }
}
