/* ============================================================
   Baumschule Jörn Schneede – Stylesheet
   Nachgebaut nach dem Original-Design
   ============================================================ */

/* ── Variablen ─────────────────────────────────────────────── */
:root {
  --green-dark:   #1e3a1a;   /* Header, Footer, dunkle Balken */
  --green-mid:    #2d6b28;   /* Buttons, Akzente */
  --green-light:  #4a8c3f;   /* Hover, Tags */
  --green-pale:   #eaf4e6;   /* Helle Hintergründe */
  --green-hero:   #1a2f16;   /* Hero-Overlay */
  --white:        #ffffff;
  --cream:        #f7f5f2;
  --text-dark:    #1a2e18;
  --text-mid:     #4a5748;
  --text-light:   #7a8a76;
  --border:       #d4e6cc;
  --shadow:       0 4px 20px rgba(0,0,0,.10);
  --radius:       6px;
  --radius-lg:    14px;
  --font:         'Heebo', 'Roboto', sans-serif;
  --transition:   .22s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text-dark); background: var(--white); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Layout-Helfer ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 80px 0; }
.section-dark { background: var(--green-dark); color: var(--white); }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }

.label {
  display: inline-block;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-light);
  margin-bottom: 10px;
}
.section-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.section-sub { color: var(--text-mid); max-width: 580px; margin-bottom: 2rem; font-size: .95rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border: none; border-radius: var(--radius);
  font-size: .9rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; transition: var(--transition);
}
.btn-green  { background: var(--green-mid); color: var(--white); }
.btn-green:hover { background: var(--green-light); transform: translateY(-1px); }
.btn-white  { background: var(--white); color: var(--green-dark); }
.btn-white:hover { background: var(--green-pale); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }

/* ── Topbar ────────────────────────────────────────────────── */
#topbar {
  background: var(--green-dark);
  color: rgba(255,255,255,.85);
  font-size: .78rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.topbar-items { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: flex; align-items: center; gap: 7px; }
.topbar-item a { color: inherit; }
.topbar-item a:hover { color: var(--white); }

/* ── Notice Bar ────────────────────────────────────────────── */
#notice-bar { background: #2a5226; display: none; }
#notice-bar.visible { display: block; }
.notice-inner {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  font-size: .88rem; color: var(--white); line-height: 1.5;
}
.notice-close {
  margin-left: auto; flex-shrink: 0; background: none; border: none;
  color: rgba(255,255,255,.7); font-size: 1.2rem; line-height: 1; padding: 0 0 0 12px;
  transition: var(--transition);
}
.notice-close:hover { color: var(--white); }

/* ── Header ────────────────────────────────────────────────── */
#site-header {
  background: var(--green-dark);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 14px; }
.logo img { height: 44px; width: auto; }
.logo-text .logo-name {
  font-size: 1rem; font-weight: 800; color: var(--white);
  text-transform: uppercase; letter-spacing: .04em; line-height: 1.1;
}
.logo-text .logo-tagline { font-size: .7rem; color: rgba(255,255,255,.55); letter-spacing: .05em; }

/* Navigation */
nav#main-nav { display: flex; align-items: center; gap: 2px; }
nav#main-nav a {
  font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.75);
  padding: 8px 14px; border-radius: var(--radius);
  transition: var(--transition);
}
nav#main-nav a:hover,
nav#main-nav a.active { color: var(--white); background: rgba(255,255,255,.1); }

.nav-toggle {
  display: none; background: none; border: none;
  color: rgba(255,255,255,.85); font-size: 1.5rem; padding: 8px;
}

/* ── Hero / Page-Header ────────────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden;
  min-height: 260px; display: flex; align-items: center;
  background: var(--green-dark);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .35;
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 60px 0; color: var(--white);
}
.page-hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800; text-transform: uppercase;
  color: var(--white); letter-spacing: .03em;
}
.hero-breadcrumb {
  font-size: .78rem; color: rgba(255,255,255,.6);
  margin-bottom: 12px; display: flex; align-items: center; gap: 6px;
}
.hero-breadcrumb a { color: rgba(255,255,255,.6); }
.hero-breadcrumb a:hover { color: var(--white); }

/* Homepage-Hero */
#hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center;
  background: var(--green-hero);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero-bg.webp');
  background-size: cover; background-position: center 30%;
  opacity: .4;
}
.hero-content { position: relative; z-index: 2; padding: 80px 0; color: var(--white); max-width: 680px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  border-radius: 100px; padding: 5px 16px;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.9);
  margin-bottom: 22px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800; text-transform: uppercase;
  color: var(--white); line-height: 1.08; margin-bottom: 18px;
}
.hero-subtitle { font-size: 1rem; color: rgba(255,255,255,.8); margin-bottom: 34px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ── Direktverkauf-Section ─────────────────────────────────── */
#direktverkauf { background: var(--white); }
.dv-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.dv-image { position: relative; }
.dv-image:not(.dv-slider) img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }

/* ── Direktverkauf Slider ───────────────────────────────────── */
.dv-slider { overflow: hidden; position: relative; aspect-ratio: 4/3; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.dv-slider img { border-radius: 0 !important; box-shadow: none !important; }
.dv-slider .dv-slide {
  position: absolute; inset: 0;
  opacity: 0; pointer-events: none;
  transition: opacity .5s ease;
  width: 100%; height: 100%; object-fit: cover;
}
.dv-slider .dv-slide.active { opacity: 1; pointer-events: auto; }
.dv-slide-prev, .dv-slide-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.45); color: #fff; border: none; cursor: pointer;
  font-size: 1.8rem; line-height: 1; padding: 6px 14px; border-radius: 6px;
  z-index: 2; transition: background .2s;
}
.dv-slide-prev:hover, .dv-slide-next:hover { background: rgba(0,0,0,.7); }
.dv-slide-prev { left: 10px; }
.dv-slide-next { right: 10px; }
.dv-slide-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
}
.dv-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.5); cursor: pointer; transition: background .2s;
}
.dv-dot.active { background: #fff; }
.dv-list { margin: 20px 0; list-style: none; }
.dv-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .92rem;
}
.dv-list li:last-child { border-bottom: none; }
.dv-list li::before { content: "✓"; color: var(--green-light); font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.dv-note { font-size: .85rem; color: var(--text-mid); margin-top: 14px; font-style: italic; }

/* ── Öffnungszeiten-Balken ─────────────────────────────────── */
#oeffnungszeiten-bar {
  background: var(--green-dark); color: var(--white); padding: 22px 0;
}
.oz-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap; text-align: center;
}
.oz-item { display: flex; align-items: center; gap: 12px; }
.oz-icon { font-size: 1.4rem; }
.oz-text strong { display: block; font-size: 1rem; font-weight: 700; }
.oz-text span { font-size: .83rem; color: rgba(255,255,255,.7); }
.oz-divider { width: 1px; height: 40px; background: rgba(255,255,255,.2); }

/* ── Service-Karten ────────────────────────────────────────── */
#service { background: var(--cream); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow);
  border-top: 4px solid var(--green-mid);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.service-icon { font-size: 2rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.1rem; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.service-card p { font-size: .88rem; color: var(--text-mid); line-height: 1.65; }
.service-card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.service-tag {
  display: flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 600; color: var(--green-mid);
  background: var(--green-pale); border-radius: 100px; padding: 4px 12px;
}

/* ── Kundenbewertungen ─────────────────────────────────────── */
#bewertungen { background: var(--green-dark); color: var(--white); }
.reviews-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.review-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg); padding: 28px;
}
.review-stars { color: #f5c842; margin-bottom: 14px; font-size: 1rem; letter-spacing: 2px; }
.review-text { font-size: .9rem; color: rgba(255,255,255,.85); line-height: 1.65; font-style: italic; margin-bottom: 16px; }
.review-author { font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.6); }

/* ── Aktuelle Angebote ─────────────────────────────────────── */
#angebote { background: var(--white); }
#offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.offer-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: var(--transition);
}
.offer-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.offer-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--green-pale); }
.offer-placeholder,
.offer-card-img-placeholder { width: 100%; aspect-ratio: 4/3; background: linear-gradient(135deg,#eaf4e6,#d4e6cc); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.offer-card-body { padding: 18px 20px 22px; }
.offer-card-name { font-size: 1rem; font-weight: 800; margin-bottom: 6px; text-transform: uppercase; }
.offer-card-desc { font-size: .83rem; color: var(--text-mid); margin-bottom: 14px; }
.offer-card-price { display: flex; align-items: baseline; gap: 10px; }
.price-now, .price-current { font-size: 1.3rem; font-weight: 800; color: var(--green-mid); }
.price-was, .price-strike  { font-size: .88rem; color: var(--text-light); text-decoration: line-through; }
.offers-empty { grid-column: 1/-1; text-align: center; padding: 60px; color: var(--text-light); }
.spinner { width: 34px; height: 34px; border: 3px solid var(--border); border-top-color: var(--green-mid); border-radius: 50%; animation: spin .75s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Kundengalerie / Beiträge ──────────────────────────────── */
#kundengalerie { background: var(--cream); }
.galerie-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
#contributions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.contrib-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); transition: var(--transition); }
.contrib-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.1); }
.contrib-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.contrib-card img, .contrib-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.contrib-card-body { padding: 18px 20px 22px; }
.contrib-card-author,
.contrib-card-name { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: .9rem; font-weight: 700; }
.contrib-card-message { font-size: .88rem; color: var(--text-mid); line-height: 1.6; }
.contrib-card-date { font-size: .75rem; color: var(--text-light); margin-top: 10px; }
.contrib-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--green-pale); color: var(--green-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .88rem; flex-shrink: 0; }
.contrib-card-author strong { font-size: .9rem; }
.contrib-card p { font-size: .88rem; color: var(--text-mid); line-height: 1.6; }
.contrib-date { font-size: .75rem; color: var(--text-light); margin-top: 10px; }

/* ── Großhandel-Seite ──────────────────────────────────────── */
#grosshandel-hero { min-height: 400px; }
.gh-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.gh-features { list-style: none; margin: 20px 0 28px; }
.gh-features li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.gh-features li:last-child { border-bottom: none; }
.gh-features li::before { content: "→"; color: var(--green-light); font-weight: 800; flex-shrink: 0; }
.bambus-section { background: var(--cream); }
.bambus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bambus-grid.reverse { direction: rtl; }
.bambus-grid.reverse > * { direction: ltr; }
.bambus-img img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.check-list { list-style: none; margin: 20px 0; }
.check-list li { display: flex; gap: 10px; padding: 8px 0; font-size: .92rem; }
.check-list li .check { color: var(--green-light); font-weight: 800; flex-shrink: 0; font-size: 1.1rem; }

/* ── Kontakt-Seite ─────────────────────────────────────────── */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.kontakt-info-box { background: var(--green-dark); color: var(--white); border-radius: var(--radius-lg); padding: 36px; }
.kontakt-info-box h3 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.kontakt-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.kontakt-info-item .icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.kontakt-info-item strong { display: block; font-size: .85rem; color: rgba(255,255,255,.7); margin-bottom: 3px; }
.kontakt-info-item span { font-size: .92rem; color: var(--white); }
.kontakt-info-item a { color: rgba(255,255,255,.85); }
.kontakt-info-item a:hover { color: var(--white); text-decoration: underline; }

/* Kontaktformular */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-mid); margin-bottom: 7px; }
.form-group input,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font); font-size: .9rem; color: var(--text-dark);
  background: var(--white); outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(74,140,63,.12); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-msg { padding: 12px 16px; border-radius: var(--radius); font-size: .87rem; margin-top: 14px; display: none; }
.form-msg.success { background: #e4f5e1; color: var(--green-dark); border: 1px solid #b3d9a0; display: block; }
.form-msg.error   { background: #fdecea; color: #b91c1c; border: 1px solid #f5c6c6; display: block; }

/* Karte */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin-top: 48px; }
.map-wrap iframe { width: 100%; height: 380px; border: none; display: block; }

/* ── Footer ────────────────────────────────────────────────── */
#site-footer { background: var(--green-dark); color: var(--white); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo img { height: 52px; }
.footer-brand .logo-name { color: var(--white); font-size: 1rem; }
.footer-brand .logo-tagline { color: rgba(255,255,255,.5); }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.7; }
.footer-col h4 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.75); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-col address { font-style: normal; font-size: .88rem; color: rgba(255,255,255,.75); line-height: 2; }
.footer-col address a { color: rgba(255,255,255,.75); }
.footer-col address a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 48px; padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: .78rem; color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--white); }

/* ── Modal ─────────────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-box { background: var(--white); border-radius: var(--radius-lg); padding: 36px; max-width: 500px; width: 100%; max-height: 90vh; overflow-y: auto; transform: scale(.95); transition: transform .2s; }
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.modal-head h3 { font-size: 1.1rem; font-weight: 800; }
.modal-close { background: none; border: none; font-size: 1.3rem; color: var(--text-light); transition: var(--transition); padding: 4px; }
.modal-close:hover { color: var(--text-dark); }

/* ── Impressum ─────────────────────────────────────────────── */
.impressum-content { max-width: 860px; }
.impressum-content h1 { font-size: 2.2rem; font-weight: 800; text-transform: uppercase; margin-bottom: 36px; }
.impressum-content h2 { font-size: 1.1rem; font-weight: 800; margin: 32px 0 10px; text-transform: uppercase; letter-spacing: .04em; }
.impressum-content p { font-size: .9rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 12px; }
.impressum-content a { color: var(--green-mid); }
.impressum-content a:hover { text-decoration: underline; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .service-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .dv-grid, .bambus-grid, .bambus-grid.reverse, .kontakt-grid, .gh-intro { grid-template-columns: 1fr; gap: 36px; direction: ltr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .oz-divider { display: none; }
  .oz-inner { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .galerie-header { flex-direction: column; align-items: flex-start; }
  #topbar { display: none; }
}
@media (max-width: 680px) {
  nav#main-nav { display: none; position: fixed; inset: 68px 0 0; background: var(--green-dark); flex-direction: column; padding: 20px; z-index: 999; border-top: 1px solid rgba(255,255,255,.1); }
  nav#main-nav.open { display: flex; }
  nav#main-nav a { padding: 13px 16px; font-size: .9rem; }
  .nav-toggle { display: block; }
  .hero-title { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
}
