/* ═══════════════════════════════════════════════════════════
   ISERIG HOF — Bauernhof Design (Rustikal mit Original-Grün)
   ═══════════════════════════════════════════════════════════ */

/* ── FONTS ── */
/* Playfair Display - Normal */
/* 1. Playfair Display (Überschriften) */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 2. Caveat (Handschrift / Akzente) */
@font-face {
  font-family: 'Caveat';
  src: url('../fonts/Caveat-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}

/* 3. Lora (Eleganter Fliesstext) */
@font-face {
  font-family: 'Lora';
  src: url('../fonts/Lora-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 700;
  font-display: swap;
}

/* ── TOKENS ── */
:root {
  /* Original green palette */
  --c-bg: #FAFAF6;
  --c-surface: #FFFFFF;
  --c-surface2: #F3F1EC;
  --c-dark: #1A1A18;
  --c-dark2: #2C2B28;
  --c-mid: #5C5852;
  --c-dim: #8A857C;
  --c-border: #E0DDD5;
  --c-green: #2D6A3F;
  --c-green-d: #1E4F2D;
  --c-green-l: #E8F5ED;
  --c-accent: #3AAF65;
  --c-gold: #C8A96E;
  --c-white: #FFFFFF;

  /* Rustic layout tokens */
  --font-body: 'Lora', 'Georgia', serif;
  --font-head: 'Playfair Display', 'Georgia', serif;
  --font-hand: 'Caveat', cursive;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, .12);
  --transition: .3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-dark);
  overflow-x: hidden;
  line-height: 1.7;
  /* Subtle linen/farm texture */
  background-image:
    repeating-linear-gradient(0deg,
      transparent,
      transparent 60px,
      rgba(0, 0, 0, .015) 60px,
      rgba(0, 0, 0, .015) 61px),
    repeating-linear-gradient(90deg,
      transparent,
      transparent 60px,
      rgba(0, 0, 0, .01) 60px,
      rgba(0, 0, 0, .01) 61px);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* ── LAYOUT ── */
.wrap {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

/* ── Farm-style section divider ── */
section+section::before {
  content: '— 🌾 —';
  display: block;
  text-align: center;
  font-size: .9rem;
  color: var(--c-dim);
  opacity: .4;
  margin-bottom: 1rem;
  letter-spacing: .3em;
}

/* ═══════════════════════════ NAV ═══════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 600;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 250, 246, .95);
  border-bottom: 3px solid var(--c-green);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition);
}

nav.scrolled {
  box-shadow: var(--shadow-md);
}

nav.dark-nav {
  background: rgba(26, 26, 24, .95);
  border-bottom-color: var(--c-accent);
}

.nav-inner {
  max-width: 1050px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.nav-logo img {
  height: 54px;
  width: auto;
  display: block;
}

.nav-logo {
  display: flex;
  align-items: center;

  font-family: var(--font-hand);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--c-green);
  letter-spacing: .02em;
  transition: color var(--transition);
}

nav.dark-nav .nav-logo {
  color: var(--c-accent);
}

.nav-links {
  display: flex;
  gap: 0;
}

.nav-links a {
  display: block;
  padding: .4rem 1rem;
  font-size: .85rem;
  font-weight: 500;
  color: var(--c-mid);
  letter-spacing: .02em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-accent);
  transform: none;
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--c-green);
}

/* No underline animation for dropdown parent trigger */
.nav-dropdown>a::after {
  display: none;
}

nav.dark-nav .nav-links a {
  color: rgba(255, 255, 255, .65);
}

nav.dark-nav .nav-links a:hover {
  color: var(--c-white);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown>a::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 210px;
  padding: .4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

/* Alle Produkte – header link */
.dropdown-menu .dropdown-header {
  display: block;
  padding: .55rem 1.2rem .45rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-green);
  font-family: var(--font-hand);
  background: var(--c-green-l);
  border-bottom: 1px solid var(--c-border);
  transition: background .15s, color .15s;
}

.dropdown-menu .dropdown-header:hover {
  background: var(--c-green);
  color: var(--c-white);
}

.dropdown-menu a {
  display: block;
  padding: .55rem 1.2rem;
  font-size: .84rem;
  color: var(--c-mid);
  transition: color .15s;
  position: relative;
}

.dropdown-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 1.2rem;
  width: 0;
  height: 1.5px;
  background: var(--c-accent);
  transition: width .25s ease;
}

.dropdown-menu a:hover::after {
  width: calc(100% - 2.4rem);
}

.dropdown-menu a:hover {
  background: var(--c-surface2);
  color: var(--c-green);
}

/* no underline on the header tile */
.dropdown-menu .dropdown-header::after {
  display: none;
}

nav.dark-nav .dropdown-menu {
  background: var(--c-surface);
  border-color: var(--c-border);
}

nav.dark-nav .dropdown-menu a {
  color: var(--c-mid);
}

nav.dark-nav .dropdown-menu a:hover {
  color: var(--c-green);
  background: var(--c-surface2);
}

.nav-cta {
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-white);
  background: var(--c-green);
  padding: .45rem 1.2rem;
  border-radius: var(--radius-sm);
  letter-spacing: .02em;
  transition: all var(--transition);
  border: 2px solid var(--c-green);
}

.nav-cta:hover {
  background: var(--c-green-d);
  border-color: var(--c-green-d);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-green);
  border-radius: 2px;
  transition: all var(--transition);
}

nav.dark-nav .hamburger span {
  background: var(--c-white);
}

/* ═══════════════════════════ HERO ═══════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-dark);
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 8rem 2rem 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 26, 24, .55) 0%, rgba(26, 26, 24, .4) 40%, rgba(26, 26, 24, .65) 100%),
    url('../images/Hof/Hof.webp') center/cover no-repeat;
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(58, 175, 101, .3);
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-eyebrow {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--c-accent);
  margin-bottom: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '🌾';
  font-size: .9rem;
  opacity: .6;
}

.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--c-white);
}

.hero-h1 em {
  font-style: italic;
  color: var(--c-accent);
}

.hero-sub {
  margin-top: 1.6rem;
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255, 255, 255, .5);
  max-width: 460px;
  line-height: 1.7;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--font-body);
  font-size: .88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  letter-spacing: .02em;
}

.btn-primary {
  background: var(--c-accent);
  color: var(--c-white);
  border-color: var(--c-accent);
  box-shadow: 0 4px 16px rgba(58, 175, 101, .3);
}

.btn-primary:hover {
  background: #32A05A;
  border-color: #32A05A;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(58, 175, 101, .4);
}

.btn-outline {
  background: transparent;
  color: var(--c-white);
  border: 2px solid rgba(255, 255, 255, .25);
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .06);
}

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  color: rgba(255, 255, 255, .3);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: var(--font-hand);
  font-weight: 500;
  font-size: .85rem;
}

.scroll-indicator .mouse {
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 11px;
  position: relative;
}

.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .4);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {

  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: .3;
    transform: translateX(-50%) translateY(10px);
  }
}

/* ═══════════════════════════ SECTION HEADINGS ═══════════════════════════ */
.s-eyebrow {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--c-accent);
  margin-bottom: .5rem;
  display: block;
}

.s-h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-dark);
}

.s-h2 em {
  font-style: italic;
  color: var(--c-accent);
}

.s-body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--c-dim);
  max-width: 500px;
}

.s-center {
  text-align: center;
}

.s-center .s-body {
  margin-inline: auto;
}

/* ═══════════════════════════ PRODUCT OVERVIEW CARDS ═══════════════════════════ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  display: block;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-green), var(--c-accent), var(--c-green));
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-accent);
}

.product-card-img {
  aspect-ratio: 4/3;
  background: var(--c-surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

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

.product-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .04) 100%);
}

.product-card-body {
  padding: 1.4rem;
}

.product-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: .3rem;
}

.product-card-body p {
  font-size: .86rem;
  font-weight: 400;
  color: var(--c-dim);
  line-height: 1.65;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .8rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--c-accent);
  transition: gap var(--transition);
}

.product-card:hover .product-card-link {
  gap: .65rem;
}

/* ═══════════════════════════ SPLIT SECTIONS ═══════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, #1a3a24, #2d6a3f, #1e4f2d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  border: 3px solid var(--c-border);
  box-shadow: var(--shadow-md);
}

.split-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .3) 100%);
}

.split-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(10px);
  border: 2px solid var(--c-accent);
  padding: .55rem 1rem;
  border-radius: var(--radius-sm);
}

.split-badge small {
  font-size: .7rem;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
  letter-spacing: .1em;
  display: block;
  font-family: var(--font-hand);
  font-size: .85rem;
}

.split-badge strong {
  font-size: .92rem;
  color: var(--c-white);
  font-weight: 500;
}

/* ═══════════════════════════ PRICE TABLE ═══════════════════════════ */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.price-card {
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.price-card:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.price-card-img {
  aspect-ratio: 4/3;
  background: var(--c-surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  overflow: hidden;
  position: relative;
}

.price-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.price-card:hover .price-card-img img {
  transform: scale(1.04);
}

.price-card-img .pc-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: var(--c-dim);
  opacity: .5;
}

.price-card-img .pc-placeholder span {
  font-size: 2.4rem;
}

.price-card-img .pc-placeholder small {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.price-card-body {
  padding: 1.2rem 1.4rem 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.price-card-body h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: .2rem;
}

.price-card-body .price-detail {
  font-size: .78rem;
  color: var(--c-dim);
  margin-bottom: .6rem;
}

.price-card-body .price-val {
  margin-top: auto;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-green);
  padding-top: .6rem;
  border-top: 2px dashed var(--c-border);
}

/* Egg pricing special */
.egg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.egg-card {
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.egg-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent);
}

.egg-card .egg-icon {
  font-size: 2.4rem;
  margin-bottom: .8rem;
}

.egg-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: .3rem;
}

.egg-card .egg-weight {
  font-size: .78rem;
  color: var(--c-dim);
  margin-bottom: 1rem;
}

.egg-card .egg-prices {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.egg-card .egg-row {
  display: flex;
  justify-content: space-between;
  font-size: .86rem;
  padding: .35rem .6rem;
  border-radius: 4px;
}

.egg-card .egg-row:nth-child(odd) {
  background: var(--c-surface2);
}

.egg-card .egg-row span:last-child {
  font-weight: 600;
  color: var(--c-green);
}

/* ═══════════════════════════ TIMELINE ═══════════════════════════ */
.timeline {
  position: relative;
  margin-top: 3rem;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 11px;
  width: 3px;
  background: repeating-linear-gradient(180deg, var(--c-border) 0px, var(--c-border) 8px, transparent 8px, transparent 12px);
}

.tl-item {
  position: relative;
  padding-bottom: 3.5rem;
  padding-left: 2.5rem;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: -2rem;
  top: .25rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-surface);
  border: 3px solid var(--c-accent);
  z-index: 1;
}

.tl-item.active .tl-dot {
  background: var(--c-accent);
  box-shadow: 0 0 0 5px rgba(58, 175, 101, .15);
}

.tl-label {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: .2rem;
}

.tl-years {
  font-size: .85rem;
  color: var(--c-dim);
  margin-bottom: .8rem;
  letter-spacing: .04em;
  font-family: var(--font-hand);
}

.tl-text {
  font-size: .92rem;
  font-weight: 400;
  color: var(--c-mid);
  line-height: 1.85;
  max-width: 600px;
}

/* ═══════════════════════════ INFO SECTION (DARK) ═══════════════════════════ */
.info-dark {
  background: var(--c-dark);
  padding: 5rem 0;
  color: var(--c-white);
  position: relative;
  /* Subtle wood grain texture */
  background-image:
    repeating-linear-gradient(88deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, .015) 40px,
      rgba(255, 255, 255, .015) 41px),
    linear-gradient(180deg, var(--c-dark), var(--c-dark2));
}

.info-dark::before,
.info-dark::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-accent), var(--c-green), var(--c-accent), transparent);
}

.info-dark::before {
  top: 0;
}

.info-dark::after {
  bottom: 0;
}

.info-dark .s-h2 {
  color: var(--c-white);
}

.info-dark .s-body {
  color: rgba(255, 255, 255, .45);
}

.info-dark .s-eyebrow {
  color: var(--c-accent);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.feature-tile {
  background: rgba(255, 255, 255, .04);
  border: 2px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  transition: all var(--transition);
}

.feature-tile:hover {
  background: rgba(255, 255, 255, .07);
  border-color: var(--c-accent);
  transform: translateY(-3px);
}

.feature-tile .ft-icon {
  margin-bottom: 1rem;
}

.feature-tile .ft-icon img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--c-accent);
}

.feature-tile h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--c-white);
  font-weight: 600;
  margin-bottom: .5rem;
}

.feature-tile p {
  font-size: .84rem;
  font-weight: 400;
  color: rgba(255, 255, 255, .42);
  line-height: 1.7;
}

/* ═══════════════════════════ GALLERY ═══════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(0, 0, 0, .05);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: var(--c-accent);
}

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

#galerie {
  background: var(--c-surface2);
}

/* ═══════════════════════════ KONTAKT ═══════════════════════════ */
.kontakt-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}

.k-info {
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

.k-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.k-row:hover {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-sm);
}

.k-ico {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--c-green-l);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.k-row h4 {
  font-family: var(--font-hand);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-accent);
  margin-bottom: .2rem;
}

.k-row p {
  font-size: .88rem;
  color: var(--c-mid);
  line-height: 1.55;
  font-weight: 400;
}

/* Form */
.k-form {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}

.k-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.k-field label {
  font-family: var(--font-hand);
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-dim);
}

.k-field input,
.k-field textarea,
.k-field select {
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  color: var(--c-dark);
  font-family: var(--font-body);
  font-size: .92rem;
  font-weight: 400;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.k-field input:focus,
.k-field textarea:focus,
.k-field select:focus {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(58, 175, 101, .1);
}

.k-field input::placeholder,
.k-field textarea::placeholder {
  color: var(--c-dim);
  opacity: .5;
}

.k-field textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  background: var(--c-accent);
  color: var(--c-white);
  border: 2px solid var(--c-accent);
  border-radius: var(--radius-sm);
  padding: .9rem 2.4rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  align-self: flex-start;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(58, 175, 101, .25);
}

.btn-submit:hover {
  background: #32A05A;
  border-color: #32A05A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(58, 175, 101, .35);
}

#sent-msg {
  display: none;
  font-size: .88rem;
  color: var(--c-accent);
  font-weight: 500;
  margin-top: .3rem;
}

/* ═══════════════════════════ DARK KONTAKT ═══════════════════════════ */
.kontakt-dark .k-row {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .08);
}

.kontakt-dark .k-row:hover {
  border-color: var(--c-accent);
}

.kontakt-dark .k-ico {
  background: rgba(58, 175, 101, .15);
}

.kontakt-dark .k-row p {
  color: rgba(255, 255, 255, .55);
}

.kontakt-dark .k-field label {
  color: rgba(255, 255, 255, .35);
}

.kontakt-dark .k-field input,
.kontakt-dark .k-field textarea,
.kontakt-dark .k-field select {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .1);
  color: var(--c-white);
}

.kontakt-dark .k-field input:focus,
.kontakt-dark .k-field textarea:focus,
.kontakt-dark .k-field select:focus {
  border-color: rgba(58, 175, 101, .5);
  background: rgba(255, 255, 255, .08);
}

.kontakt-dark .k-field input::placeholder,
.kontakt-dark .k-field textarea::placeholder {
  color: rgba(255, 255, 255, .2);
}

.kontakt-dark .k-field select option {
  background: var(--c-dark2);
}

/* ═══════════════════════════ PAGE HERO (Subpages) ═══════════════════════════ */
.page-hero {
  background: var(--c-dark);
  padding: 8rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(45, 106, 63, .25) 0%, transparent 70%),
    var(--c-dark);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--c-white);
  font-weight: 700;
  line-height: 1.1;
}

.page-hero-h1 em {
  font-style: italic;
  color: var(--c-accent);
}

.page-hero-sub {
  margin-top: .8rem;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, .45);
  max-width: 440px;
  margin-inline: auto;
  line-height: 1.65;
}

/* ═══════════════════════════ CONTENT ═══════════════════════════ */
.content-section {
  padding: 5rem 0;
}

.content-block {
  max-width: 720px;
}

.content-block h2 {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--c-dark);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.content-block h2 em {
  font-style: italic;
  color: var(--c-accent);
}

.content-block p {
  font-size: .95rem;
  font-weight: 400;
  color: var(--c-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

/* ═══════════════════════════ FOOTER ═══════════════════════════ */
footer {
  background: var(--c-dark2);
  color: rgba(255, 255, 255, .5);
  padding-top: 4rem;
  position: relative;
  /* Subtle wood grain */
  background-image:
    repeating-linear-gradient(88deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, .01) 40px,
      rgba(255, 255, 255, .01) 41px),
    linear-gradient(180deg, var(--c-dark2), #1A1610);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--c-accent), var(--c-green), var(--c-accent), transparent);
}

.footer-top {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand .fb-name {
  font-family: var(--font-hand);
  font-size: 1.7rem;
  color: var(--c-accent);
  display: block;
  margin-bottom: .3rem;
}

.footer-brand .fb-name em {
  font-style: italic;
}

.footer-brand .fb-slogan {
  font-family: var(--font-hand);
  font-size: 1rem;
  color: rgba(255, 255, 255, .35);
  display: block;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  font-size: .84rem;
  line-height: 1.7;
}

.footer-brand a {
  color: var(--c-accent);
  transition: opacity var(--transition);
}

.footer-brand a:hover {
  opacity: .7;
}

.footer-nav h4,
.footer-links h4 {
  font-family: var(--font-hand);
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 1rem;
}

.footer-nav a,
.footer-links a {
  display: block;
  font-size: .86rem;
  color: rgba(255, 255, 255, .5);
  padding: .3rem 0;
  transition: color var(--transition);
}

.footer-nav a:hover,
.footer-links a:hover {
  color: var(--c-accent);
}

.footer-bottom {
  max-width: 1050px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 2px dashed rgba(255, 255, 255, .08);
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .4);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--c-accent);
}

/* ═══════════════════════════ REVEAL ANIMATIONS ═══════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-up.visible {
  opacity: 1;
  transform: none;
}

.stagger-1 {
  transition-delay: .1s;
}

.stagger-2 {
  transition-delay: .2s;
}

.stagger-3 {
  transition-delay: .3s;
}

.stagger-4 {
  transition-delay: .4s;
}

/* ═══════════════════════════ RESPONSIVE ═══════════════════════════ */
@media (max-width: 960px) {

  .split,
  .kontakt-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .row2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  section {
    padding: 3.5rem 0;
  }

  .egg-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 601;
  background: var(--c-dark2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
  padding: 5rem 1.5rem 3rem;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  background-image: linear-gradient(180deg, var(--c-dark2), #1A1610);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-hand);
  font-size: 1.8rem;
  color: var(--c-white);
  transition: color var(--transition);
}

.mobile-nav a:hover {
  color: var(--c-accent);
}

.mobile-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 1.8rem;
  color: var(--c-white);
  cursor: pointer;
  background: none;
  border: none;
}

/* Group sub-links visually */
.mobile-nav a[href*="eier.php"],
.mobile-nav a[href*="gefluegel.php"],
.mobile-nav a[href*="rind.php"],
.mobile-nav a[href*="huehner.php"],
.mobile-nav a[href*="kuehe.php"] {
  font-size: 1.2rem;
  opacity: 0.7;
  margin-top: -1rem;
}

/* ═══════════════════════════ PRODUKTE OVERVIEW GRID ═══════════════════════════ */
.produkte-overview-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3.5rem;
}

.overview-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.overview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--c-green), var(--c-accent));
  z-index: 1;
}

.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-accent);
}

.overview-card:nth-child(even) {
  grid-template-columns: 1fr 1.1fr;
  direction: rtl;
}

.overview-card:nth-child(even) .overview-card-body {
  direction: ltr;
}

.overview-card:nth-child(even) .overview-card-img {
  direction: ltr;
}

.overview-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.overview-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.overview-card:hover .overview-card-img img {
  transform: scale(1.05);
}

.overview-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px);
  color: var(--c-white);
  border: 1.5px solid var(--c-accent);
  border-radius: var(--radius-sm);
  padding: .3rem .8rem;
  font-size: .75rem;
  font-family: var(--font-hand);
  font-weight: 600;
  letter-spacing: .04em;
}

.overview-card-body {
  padding: 2.2rem 2.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .6rem;
}

.overview-card-eyebrow {
  font-family: var(--font-hand);
  font-size: 1rem;
  color: var(--c-accent);
  font-weight: 600;
  letter-spacing: .03em;
}

.overview-card-body h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-dark);
  margin: 0;
}

.overview-card-body h2 em {
  font-style: italic;
  color: var(--c-accent);
}

.overview-card-body p {
  font-size: .92rem;
  color: var(--c-mid);
  line-height: 1.75;
  margin: 0;
  max-width: 380px;
}

.overview-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .2rem;
}

.overview-card-features span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-green);
  background: var(--c-green-l);
  padding: .25rem .65rem;
  border-radius: 20px;
  font-family: var(--font-hand);
  letter-spacing: .02em;
}

.overview-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .6rem;
  font-size: .88rem;
  font-weight: 700;
  color: var(--c-accent);
  transition: gap var(--transition);
  font-family: var(--font-hand);
  font-size: 1.05rem;
}

.overview-card:hover .overview-card-link {
  gap: .75rem;
}

/* Responsive overview */
@media (max-width: 760px) {

  .overview-card,
  .overview-card:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .overview-card-img {
    aspect-ratio: 16/9;
  }

  .overview-card-body {
    padding: 1.6rem 1.5rem;
  }
}

/* ═══════════════════════════ MAP SECTION ═══════════════════════════ */
.kontakt-map-section {
  background: var(--c-surface2);
  padding: 5rem 0;
}

.kontakt-map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--c-border);
  box-shadow: var(--shadow-md);
}

/* ═══════════════════════════ INFO BANNER BUTTON ═══════════════════════════ */
.info-banner .btn {
  margin-top: 1.5rem;
  display: inline-flex;
}

/* ═══════════════════════════ DROPDOWN — IMPROVED ARROW ═══════════════════════════ */
.nav-dropdown>a {
  display: flex;
  align-items: center;
  gap: .3rem;
}

.nav-dropdown>a::after {
  content: '▾';
  font-size: .75rem;
  opacity: .55;
  transition: transform var(--transition), opacity var(--transition);
  margin-left: 2px;
}

.nav-dropdown:hover>a::after {
  transform: rotate(180deg);
  opacity: 1;
}

/* Override old ::before arrow */
.nav-dropdown>a::before {
  display: none;
}

/* Dropdown dividers */
.dropdown-menu a+a {
  border-top: 1px solid var(--c-border);
}

.dropdown-menu {
  min-width: 210px;
}