@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --green: #1a7a2e;
  --green-dark: #0d5c1c;
  --green-soft: #eaf6ec;
  --text: #1a1a1a;
  --text-light: #555;
  --bg: #f7faf7;
  --radius: 16px;
  --shadow: 0 20px 40px rgba(0,0,0,0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image: 
    radial-gradient(rgba(26, 122, 46, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.25s ease;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, #1a7a2e, #15903a);
  color: white;
  box-shadow: 0 8px 20px rgba(26,122,46,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26,122,46,0.35);
}

.btn-secondary {
  background: white;
  color: var(--green);
  border: 2px solid var(--green);
}

.btn-secondary:hover {
  background: var(--green);
  color: white;
}

.btn-light {
  background: white;
  color: var(--green);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.btn-light:hover {
  transform: translateY(-2px);
}

/* ========== HEADER ========== */
.header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--green);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: 0.3s;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a:hover,
.nav a.active {
  color: var(--green);
}

.header-phone {
  font-weight: 700;
  color: var(--green);
  background: var(--green-soft);
  padding: 9px 16px;
  border-radius: 50px;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2.5px;
  background: #222;
  border-radius: 2px;
}

/* ========== HERO ========== */
.hero {
  padding: 90px 0 80px;
  background: linear-gradient(165deg, #e5f4e8 0%, #f7faf7 60%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* ========== SECTIONS ========== */
section {
  padding: 90px 0;
}

h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}

.section-intro {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 540px;
}

.page-header {
  background: linear-gradient(165deg, #e5f4e8 0%, #f7faf7 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.7rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--text-light);
}

/* ========== VORTEILE ========== */
.advantages {
  background: white;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.advantage-card {
  background: var(--green-soft);
  padding: 32px 26px;
  border-radius: var(--radius);
  transition: 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  background: white;
  box-shadow: var(--shadow);
}

.advantage-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.advantage-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.advantage-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========== PREVIEW ========== */
.preview {
  background: #f0f7f1;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.preview-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.35s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.preview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.preview-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.preview-content {
  padding: 22px 24px 26px;
}

.preview-content h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.preview-content p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ========== CTA ========== */
.cta {
  background: linear-gradient(135deg, #1a7a2e, #0d5c1c);
  color: white;
  text-align: center;
  padding: 90px 0;
}

.cta h2 {
  color: white;
  margin-bottom: 12px;
}

.cta p {
  opacity: 0.9;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* ========== SORTIMENT ========== */
.sortiment-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
  background: white;
  padding: 36px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.sortiment-block.reverse {
  direction: rtl;
}

.sortiment-block.reverse > * {
  direction: ltr;
}

.sortiment-text h2 {
  text-align: left;
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.sortiment-text p {
  color: var(--text-light);
  margin-bottom: 14px;
  font-size: 1.02rem;
}

.sortiment-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.sortiment-images img {
  border-radius: 14px;
  height: 200px;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

/* ========== ABOUT ========== */
.about-intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.about-text h2 {
  text-align: left;
  font-size: 1.9rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-image img {
  border-radius: 18px;
  height: 420px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-second {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.about-second img {
  border-radius: 18px;
  height: 340px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* ========== KONTAKT – REDESIGN ========== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  background: white;
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-card h3 {
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 8px;
  font-weight: 700;
}

.contact-card p {
  color: var(--text-light);
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.contact-card a {
  color: var(--green);
  font-weight: 600;
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.contact-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* ========== FOOTER ========== */
.footer {
  background: #111;
  color: white;
  padding: 70px 0 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.footer-col p {
  color: #999;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer a {
  color: #8fd4a0;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 22px;
  text-align: center;
  color: #666;
  font-size: 0.9rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px) {
  .hero-inner,
  .about-intro,
  .about-second,
  .contact-wrapper,
  .sortiment-block {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sortiment-block.reverse {
    direction: ltr;
  }

  .advantages-grid {
    grid-template-columns: 1fr 1fr;
  }

  .preview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .sortiment-images {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  }

  .nav.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .header-phone {
    display: none;
  }

  .advantages-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 0 50px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  section {
    padding: 70px 0;
  }

  .sortiment-images {
    grid-template-columns: 1fr;
  }

  .sortiment-images img {
    height: 220px;
  }
}

/* Logo Icon */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 26px;
  height: 26px;
  color: var(--green);
  flex-shrink: 0;
}

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 92%;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  cursor: default;
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
  backdrop-filter: blur(6px);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}

/* Bilder, die vergrößert werden können */
.zoomable {
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zoomable:hover {
  transform: scale(1.02);
}

/* ========== LOTTO POPUP ========== */
.lotto-popup {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 340px;
  z-index: 10000;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.lotto-box {
  background: #ffd200; /* Lotto-Gelb */
  width: 100%;
  max-width: 320px;
  margin: 20px;
  border-radius: 6px; /* eher rechteckig */
  box-shadow: -10px 0 40px rgba(0,0,0,0.2);
  transform: translateX(120%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: auto;
  overflow: hidden;
  position: relative;
}

.lotto-popup.active .lotto-box {
  transform: translateX(0);
}

.lotto-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(0,0,0,0.1);
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: #333;
  transition: 0.2s;
}

.lotto-close:hover {
  background: rgba(0,0,0,0.18);
}

.lotto-brand {
  padding: 28px 24px 18px;
  text-align: center;
}

.lotto-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: #e30613; /* Lotto-Rot */
  letter-spacing: 3px;
  line-height: 1;
  margin-bottom: 4px;
}

.lotto-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #e30613;
  letter-spacing: 0.5px;
}

.lotto-content {
  background: white;
  padding: 22px 24px 26px;
  text-align: center;
}

.lotto-content p {
  color: #1a1a1a;
  font-size: 0.98rem;
  line-height: 1.5;
  margin-bottom: 18px;
  font-weight: 500;
}

.btn-lotto {
  display: inline-block;
  background: #e30613;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 26px;
  border-radius: 4px;
  text-decoration: none;
  transition: 0.25s ease;
}

.btn-lotto:hover {
  background: #c00510;
}

/* Mobile */
@media (max-width: 480px) {
  .lotto-popup {
    max-width: 100%;
  }
  .lotto-box {
    margin: 12px;
    max-width: none;
  }
  .lotto-title {
    font-size: 2.2rem;
  }
}

/* ========== SORTIMENT NEU ========== */
.sortiment-banner {
  background: var(--green-soft);
  padding: 28px 0;
  border-bottom: 1px solid rgba(26,122,46,0.1);
}

.banner-inner {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  text-align: center;
}

.banner-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.banner-item span {
  color: var(--text-light);
  font-size: 0.95rem;
}

.category-section {
  padding: 80px 0;
}

.category-section.alt {
  background: white;
}

.category-header {
  text-align: center;
  margin-bottom: 50px;
}

.category-header h2 {
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.category-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* Obst Grid */
.obst-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.category-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 16px;
}

.category-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.category-side img {
  width: 100%;
  height: 231px;
  object-fit: cover;
  border-radius: 16px;
}

/* Gemüse Grid */
.gemuese-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gemuese-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.gemuese-grid img:hover {
  transform: scale(1.03);
}

/* Weitere Produkte */
.weitere-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.weitere-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.weitere-card:hover {
  transform: translateY(-6px);
}

.weitere-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.weitere-card h3 {
  font-size: 1.1rem;
  padding: 16px 18px 4px;
}

.weitere-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 0 18px 18px;
}

/* Responsive */
@media (max-width: 900px) {
  .obst-grid {
    grid-template-columns: 1fr;
  }
  .category-main img {
    height: 320px;
  }
  .category-side {
    flex-direction: row;
  }
  .category-side img {
    height: 200px;
  }
  .gemuese-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .weitere-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gemuese-grid,
  .weitere-grid {
    grid-template-columns: 1fr;
  }
  .category-side {
    flex-direction: column;
  }
  .banner-inner {
    gap: 24px;
  }
}
/* ========== LOTTO BANNER (Sortiment) ========== */
.lotto-banner {
  background: #ffd200; /* Lotto-Gelb */
  padding: 28px 0;
  border-top: 4px solid #e30613;
  border-bottom: 4px solid #e30613;
}

.lotto-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.lotto-banner-label {
  display: block;
  font-weight: 900;
  font-size: 1.15rem;
  color: #e30613;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.lotto-banner-text p {
  color: #1a1a1a;
  font-size: 0.98rem;
  margin: 0;
  max-width: 520px;
}

.btn-lotto-banner {
  background: #e30613;
  color: white;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.25s ease;
}

.btn-lotto-banner:hover {
  background: #c00510;
}

/* Mobile */
@media (max-width: 700px) {
  .lotto-banner-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .lotto-banner-text p {
    max-width: none;
  }
}