/* Braun & Grün wie die klassische Stielecht-Seite (Sidebar ~#3E2B1E, Fläche ~#6B8E43, Akzent ~#28A745) */
:root {
  --brown: #3e2b1e;
  --brown-mid: #5c4030;
  --green: #6b8e43;
  --green-deep: #5a7836;
  --accent-bright: #28a745;
  --bg: #e9f0e4;
  --bg-elevated: #f7faf5;
  --bg-muted: #d5e0cc;
  --text: #111111;
  --text-muted: rgba(17, 17, 17, 0.74);
  --primary: var(--green);
  --primary-mid: #7d9f55;
  --primary-dark: var(--brown);
  --primary-deep: var(--green-deep);
  --accent: var(--accent-bright);
  --accent-soft: #dce8d4;
  --on-green: #ffffff;
  --btn-dark-bg: var(--brown);
  --btn-dark-text: #ffffff;
  --btn-on-green-bg: #ffffff;
  --btn-on-green-text: var(--brown);
  --border: rgba(62, 43, 30, 0.22);
  --shadow-sm: 0 4px 24px rgba(62, 43, 30, 0.08);
  --shadow-md: 0 18px 48px rgba(62, 43, 30, 0.11);
  --shadow-lg: 0 28px 72px rgba(62, 43, 30, 0.13);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1460px;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --ease-out: cubic-bezier(0.2, 0.85, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-bright);
}

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--green);
  color: #fff;
  z-index: 200;
}

/* Header — dunkles Braun wie die alte linke Leiste */
.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  background: linear-gradient(180deg, rgba(58, 40, 28, 0.96) 0%, rgba(48, 34, 24, 0.96) 100%);
  backdrop-filter: blur(14px) saturate(1.18);
  -webkit-backdrop-filter: blur(14px) saturate(1.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.08) inset;
  transition: background 0.28s var(--ease-out), border-color 0.28s, box-shadow 0.28s;
}

.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(53, 37, 26, 0.98) 0%, rgba(44, 31, 22, 0.98) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28), 0 2px 0 rgba(255, 255, 255, 0.08) inset;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.68rem 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.42rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.logo span {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88em;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  font: inherit;
  cursor: pointer;
  color: #fff;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.2rem;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.nav-list::-webkit-scrollbar {
  display: none;
}

.nav-list a {
  text-decoration: none;
  font-weight: 580;
  font-size: 0.82rem;
  color: #fff;
  padding: 0.34rem 0.56rem;
  border-radius: 999px;
  letter-spacing: 0;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.nav-list a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.nav-list a.nav-casa {
  background: var(--accent-bright);
  color: #fff;
  box-shadow: 0 2px 12px rgba(40, 167, 69, 0.4);
}

.nav-list a.nav-casa:hover {
  background: #218838;
  color: #fff;
  box-shadow: 0 4px 16px rgba(40, 167, 69, 0.45);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--brown);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1rem 1.35rem 1.25rem;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-list a {
    border-radius: var(--radius-sm);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 620px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: var(--brown);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: center 42%;
  opacity: 0;
  transition: opacity 1.35s var(--ease-out);
  will-change: opacity;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: saturate(1.02) contrast(1.06) brightness(1.01);
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 12, 9, 0.18) 0%, rgba(16, 12, 9, 0.52) 72%, rgba(16, 12, 9, 0.74) 100%),
    linear-gradient(165deg, rgba(62, 43, 30, 0.18) 0%, rgba(62, 43, 30, 0.32) 42%, rgba(47, 70, 30, 0.55) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3.25rem 1.35rem 2.75rem;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.8vw, 3.35rem);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 0.65rem;
  max-width: 14ch;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}

.hero p {
  margin: 0 0 1.5rem;
  max-width: 38ch;
  font-size: 1.08rem;
  line-height: 1.55;
  opacity: 0.96;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--btn-dark-bg);
  color: var(--btn-dark-text);
  border: 1px solid var(--btn-dark-bg);
  box-shadow: 0 8px 28px rgba(62, 43, 30, 0.35);
}

.btn-primary:hover {
  color: var(--btn-dark-text);
  background: var(--brown-mid);
  border-color: var(--brown-mid);
  box-shadow: 0 12px 36px rgba(62, 43, 30, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  margin-left: 0.45rem;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Sections */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.8rem, 5vw, 4.1rem) clamp(0.8rem, 2.3vw, 1.6rem);
}

.section-head {
  margin-bottom: 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.section-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.65rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green), var(--accent-bright));
}

.section-lead {
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 52ch;
  font-size: 1.05rem;
}

.muted {
  font-weight: 400;
  color: var(--text-muted);
}

.tech-hint {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.tech-hint code {
  background: rgba(62, 43, 30, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.hours-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 1rem;
}

@media (min-width: 600px) {
  .hours-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hours-block h3 {
  font-size: 0.95rem;
  margin: 0 0 0.45rem;
  color: var(--primary-mid);
  font-weight: 700;
}

.hours-block p {
  margin: 0;
  color: var(--text);
}

.note {
  margin-top: 1.35rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, #e8f0e2, var(--accent-soft));
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  color: var(--text);
  border: 1px solid rgba(107, 142, 67, 0.35);
}

/* Bento gallery — nutzt volle Auflösung der CMS-Bilder (bis ca. 800px Kantenlänge) */
.gallery-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.65rem, 1.8vw, 1.1rem);
}

.gallery-bento figure {
  margin: 0;
  border-radius: clamp(14px, 2vw, 22px);
  overflow: hidden;
  background: var(--bg-muted);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.gallery-bento figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.gallery-bento img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.65s var(--ease-out);
}

.gallery-bento figure:hover img {
  transform: scale(1.01);
}

.gallery-bento .g-wide {
  grid-column: span 6;
  aspect-ratio: 4 / 3;
  min-height: 200px;
}

.gallery-bento .g-tall {
  grid-column: span 4;
  aspect-ratio: 3 / 4;
  min-height: 240px;
}

@media (max-width: 900px) {
  .gallery-bento .g-wide,
  .gallery-bento .g-tall {
    grid-column: span 6;
    aspect-ratio: 4 / 3;
    min-height: 180px;
  }
}

@media (max-width: 520px) {
  .gallery-bento {
    gap: 0.55rem;
  }

  .gallery-bento .g-wide,
  .gallery-bento .g-tall {
    grid-column: span 6;
    aspect-ratio: 4 / 3;
    min-height: 132px;
  }
}

@media (max-width: 380px) {
  .gallery-bento .g-wide,
  .gallery-bento .g-tall {
    grid-column: span 12;
    min-height: 150px;
  }
}

.family-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.45rem, 1.2vw, 0.75rem);
  margin-top: 1.75rem;
}

@media (max-width: 900px) {
  .family-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .family-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.family-strip figure {
  margin: 0;
  border-radius: clamp(12px, 2vw, 18px);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-sm);
}

.family-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s var(--ease-out);
}

.family-strip figure:hover img {
  transform: scale(1.01);
}



/* Fotoausstellung-Look — clean dark gallery (Bacchus-Keller inspiriert) */
.gallery-exhibition {
  background: #2f2f2f;
  color: #f2f2f2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-exhibition .section-title,
.gallery-exhibition .section-lead {
  color: #f5f5f5;
}

.gallery-exhibition .section-title::after {
  background: linear-gradient(90deg, #d9d9d9, rgba(217, 217, 217, 0.25));
}

.gallery-exhibition .gallery-bento,
.gallery-exhibition .family-strip {
  gap: clamp(0.55rem, 1vw, 0.85rem);
}

.gallery-exhibition .gallery-bento {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row;
  align-items: stretch;
}

.gallery-exhibition .gallery-bento .g-tall {
  grid-column: span 4;
  aspect-ratio: 4 / 3;
  min-height: 230px;
}

.gallery-exhibition .gallery-bento .g-wide {
  grid-column: span 4;
  aspect-ratio: 4 / 3;
  min-height: 230px;
}

.gallery-exhibition .gallery-bento figure,
.gallery-exhibition .family-strip figure {
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #1f1f1f;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.gallery-exhibition .gallery-bento figure::after,
.gallery-exhibition .family-strip figure::after {
  content: none;
}

.gallery-exhibition .gallery-bento img,
.gallery-exhibition .family-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  box-shadow: none;
  filter: saturate(1.02) contrast(1.02);
}

.gallery-exhibition .gallery-bento figure:hover,
.gallery-exhibition .family-strip figure:hover {
  transform: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.gallery-exhibition .gallery-bento figure:hover img,
.gallery-exhibition .family-strip figure:hover img {
  transform: none;
}

.gallery-exhibition .section-title[style] {
  margin-top: clamp(2rem, 3vw, 2.6rem) !important;
}

.gallery-teaser-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.gallery-exhibition img {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: clamp(0.75rem, 2.5vw, 1.5rem);
  background: rgba(5, 7, 10, 0.88);
  z-index: 300;
}

.lightbox.is-open {
  display: grid;
}

.lightbox-panel {
  position: relative;
  margin: 0;
  width: min(96vw, 1400px);
  max-height: 92vh;
}

.lightbox-panel img {
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.66);
}

@media (max-width: 980px) {
  .gallery-exhibition .gallery-bento .g-tall,
  .gallery-exhibition .gallery-bento .g-wide {
    grid-column: span 6;
    aspect-ratio: 4 / 3;
    min-height: 190px;
  }
}

@media (max-width: 560px) {
  .gallery-exhibition .gallery-bento,
  .gallery-exhibition .family-strip {
    gap: 0.5rem;
  }

  .gallery-exhibition .gallery-bento .g-tall,
  .gallery-exhibition .gallery-bento .g-wide {
    grid-column: span 12;
    min-height: 185px;
  }

  .gallery-exhibition .family-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-teaser-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .gallery-exhibition .gallery-bento .g-tall,
  .gallery-exhibition .gallery-bento .g-wide {
    grid-column: span 12;
    min-height: 160px;
  }
}

/* Services */
.services {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service {
  padding: 1.45rem 1.5rem;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}

.service:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(107, 142, 67, 0.45);
}

.service h3 {
  font-family: var(--font-display);
  font-size: 1.12rem;
  margin: 0 0 0.4rem;
  color: var(--primary);
}

.service p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.97rem;
}

/* Gemüselädle */
.veggie {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .veggie {
    grid-template-columns: 1fr 1fr;
  }
}

.veggie-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.veggie-visual img {
  border-radius: var(--radius);
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 200px;
  box-shadow: var(--shadow-md);
}

.veggie-card {
  background: #fff;
}

.veggie-title {
  font-family: var(--font-display);
  margin-top: 0;
  color: var(--primary-dark);
}

.veggie-note {
  margin-top: 1rem;
  color: var(--text-muted);
}

.veggie-points {
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.veggie-points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--text);
  font-size: 0.96rem;
}

.veggie-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--accent-bright));
  box-shadow: 0 0 0 3px rgba(107, 142, 67, 0.14);
}

/* CTA — kräftiges Grün mit Casa-Verde-Akzent */
.cta-band {
  background: linear-gradient(125deg, var(--green) 0%, var(--green-deep) 45%, var(--accent-bright) 100%);
  color: var(--on-green);
  padding: clamp(2.5rem, 5vw, 3.25rem) 1.35rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.14), transparent 45%);
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin: 0 0 0.5rem;
  position: relative;
}

.cta-band p {
  margin: 0 0 1.35rem;
  opacity: 0.94;
  position: relative;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-band .btn-primary {
  position: relative;
  background: var(--btn-on-green-bg);
  color: var(--btn-on-green-text);
  border: 1px solid var(--btn-on-green-bg);
  box-shadow: 0 8px 28px rgba(22, 20, 17, 0.15);
}

.cta-band .btn-primary:hover {
  background: #fff;
  color: var(--brown);
  border-color: #fff;
}

/* Footer — Braun wie die alte Seite */
.site-footer {
  background: linear-gradient(180deg, var(--brown-mid) 0%, var(--brown) 100%);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.75rem 1.35rem 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-footer h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: #fff;
  margin: 0 0 0.85rem;
}

.site-footer p,
.site-footer address {
  margin: 0;
  font-style: normal;
  font-size: 0.94rem;
  line-height: 1.7;
}

.site-footer a {
  color: var(--on-green);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  color: #bef5cf;
}

.footer-bottom {
  max-width: var(--max);
  margin: 2.25rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(239, 243, 234, 0.12);
  font-size: 0.82rem;
  color: rgba(239, 243, 234, 0.55);
  text-align: center;
}

.footer-powered {
  max-width: var(--max);
  margin: 1rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(239, 243, 234, 0.12);
  display: flex;
  justify-content: center;
}

.footer-powered a {
  color: #12b8f6;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-powered a:hover {
  color: #57d2ff;
  text-decoration: underline;
}

/* Grüne Hauptfläche wie früher rechts im Layout */
.bg-alt {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff;
}

.bg-alt .section-title {
  color: #fff;
}

.bg-alt .section-title::after {
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.6));
}

.bg-alt .section-lead {
  color: rgba(255, 255, 255, 0.94);
}

.bg-alt a {
  color: #fff;
  font-weight: 600;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

.bg-alt a:hover {
  color: #e8ffe8;
}

/* Karten auf grünem Grund bleiben hell mit dunklem Text */
.bg-alt .card,
.bg-alt .ig-card {
  color: var(--text);
  background: #fff;
}

/* Anfahrt & Instagram */
.visit-grid {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 880px) {
  .visit-grid {
    grid-template-columns: 1.12fr 1fr;
  }
}

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  background: #ddd9d2;
  min-height: 320px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: min(440px, 58vh);
  min-height: 300px;
  border: 0;
}

.ig-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ig-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ig-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  padding: 3px;
  flex-shrink: 0;
}

.ig-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
  color: var(--primary-dark);
  line-height: 1.25;
}

.ig-handle {
  margin: 0.15rem 0 0;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.ig-bio-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text);
  font-size: 0.97rem;
}

.ig-bio-list li {
  margin-bottom: 0.35rem;
}

.btn-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.32);
  align-self: flex-start;
  margin-top: 0.25rem;
}

.btn-instagram:hover {
  color: #fff;
  filter: brightness(1.05);
}

.btn-instagram svg {
  flex-shrink: 0;
}

.map-link {
  font-size: 0.92rem;
  margin: 0.55rem 0 0;
}

/* Kontaktformular */
.contact-layout {
  display: grid;
  gap: 1.2rem;
  align-items: start;
}

@media (min-width: 980px) {
  .contact-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.contact-card {
  position: relative;
}

.contact-aside h3 {
  margin-top: 0;
  margin-bottom: 0.8rem;
  font-family: var(--font-display);
  color: var(--primary-dark);
}

.contact-aside p {
  margin: 0 0 0.95rem;
  color: var(--text);
}

.contact-aside .btn {
  margin-top: 0.4rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-row label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.38rem;
  color: var(--primary-dark);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.68rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(40, 167, 69, 0.65);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.18);
}

.form-row textarea {
  min-height: 168px;
  resize: vertical;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.35rem;
}

.contact-status {
  flex: 1;
  min-width: 200px;
  margin: 0;
  font-size: 0.97rem;
}

.contact-status:empty {
  display: none;
}

.btn-submit {
  background: var(--btn-dark-bg);
  color: var(--btn-dark-text);
  border: 1px solid var(--btn-dark-bg);
  box-shadow: 0 6px 22px rgba(62, 43, 30, 0.3);
}

.btn-submit:hover:not(:disabled) {
  color: var(--btn-dark-text);
  background: var(--brown-mid);
  border-color: var(--brown-mid);
  filter: none;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.section + .section {
  scroll-margin-top: 4rem;
}

/* Gästebuch */
.guestbook-classic {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff;
  border-radius: 0;
}

.guestbook-classic .section-title,
.guestbook-classic .section-lead,
.guestbook-classic .guestbook-subtitle {
  color: #fff;
}

.guestbook-classic .section-title::after {
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.65));
}

.guestbook-intro {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 1.3rem;
  align-items: start;
  margin-bottom: 1.2rem;
}

.guestbook-hero-image {
  margin: 0;
}

.guestbook-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.guestbook-subtitle {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-style: italic;
  font-weight: 500;
}

.guestbook-modern {
  display: grid;
  gap: 1.15rem;
  align-items: start;
}

@media (min-width: 980px) {
  .guestbook-modern {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.guestbook-form-card {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.guestbook-form {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.guestbook-classic .form-row label {
  color: #fff;
}

.guestbook-classic .muted {
  color: rgba(255, 255, 255, 0.72);
}

.guestbook-classic .form-row input,
.guestbook-classic .form-row textarea {
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.14);
}

.captcha-row .captcha-box {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.55rem;
}

.captcha-code {
  font-family: "Courier New", monospace;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 1.1rem;
  background: #fff;
  color: #222;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(17, 17, 17, 0.2);
  min-width: 7ch;
  text-align: center;
}

.captcha-refresh {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
}

.guestbook-required {
  margin: 0.1rem 0 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.guestbook-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.btn-google {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.54);
  color: #fff;
}

.guestbook-list {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

.guestbook-entry {
  height: 100%;
  background: #fff;
}

.guestbook-entry-new {
  border: 1px solid rgba(40, 167, 69, 0.45);
  background: linear-gradient(145deg, #f9fff9, #eef9ef);
}

.guestbook-entry h3 {
  margin: 0 0 0.55rem;
  font-size: 1.02rem;
  color: var(--primary-dark);
  font-family: var(--font-display);
  line-height: 1.35;
}

.guestbook-entry h3 span {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
}

.guestbook-entry p {
  margin: 0;
  color: var(--text);
  line-height: 1.58;
}

@media (max-width: 980px) {
  .guestbook-intro {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .veggie-visual {
    grid-template-columns: 1fr;
  }

  .veggie-visual img {
    min-height: 220px;
  }

  .map-wrap iframe {
    min-height: 260px;
    height: 46vh;
  }

  .hero-slide {
    background-position: center 30%;
  }

  .guestbook-actions {
    flex-direction: column;
  }

  .guestbook-modern {
    grid-template-columns: 1fr;
  }

  .guestbook-list {
    grid-template-columns: 1fr;
  }

  .guestbook-subtitle {
    font-size: 1.5rem;
  }

  .hero { min-height: 60vh; }
  .hero-inner { padding: 2.5rem 1rem 2rem; }
  .section { padding: 2.4rem 1rem; }
  .btn { width: 100%; justify-content: center; }
  .btn-ghost { margin-left: 0; margin-top: 0.6rem; }
}

@media (hover: none) {
  .gallery-bento figure:hover img,
  .family-strip figure:hover img {
    transform: none;
  }
}


@media (min-width: 1100px) {
  .header-inner {
    padding: 0.72rem 1.05rem;
  }

  .nav-list {
    gap: 0.22rem;
  }

  .nav-list a {
    font-size: 0.83rem;
    padding: 0.35rem 0.58rem;
  }

  .hero {
    min-height: min(74vh, 680px);
  }

  .hero-inner {
    padding: 3.7rem 1.6rem 3.1rem;
  }

  .hero h1 {
    max-width: 13ch;
  }

  .section {
    padding: clamp(3.05rem, 4.8vw, 4.55rem) clamp(0.9rem, 2vw, 1.45rem);
  }

  .gallery-bento {
    gap: 0.95rem;
  }

  .gallery-bento .g-tall {
    grid-column: span 3;
    min-height: 260px;
  }

  .gallery-bento .g-wide {
    grid-column: span 6;
    min-height: 220px;
  }

  .veggie {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .visit-grid {
    grid-template-columns: 1.18fr 0.82fr;
  }

  .guestbook-modern {
    grid-template-columns: 0.8fr 1.2fr;
  }
}


/* Global responsive finetuning for all devices */
@media (max-width: 1200px) {
  :root { --max: 1200px; }
}

@media (max-width: 980px) {
  :root { --max: 980px; }

  .header-inner {
    padding: 0.8rem 1rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .hero-inner {
    padding: 2.7rem 1rem 2.2rem;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }

  .hero p {
    font-size: 1rem;
    max-width: 40ch;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  .section-title {
    font-size: clamp(1.55rem, 4.1vw, 2rem);
  }

  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .veggie,
  .visit-grid,
  .guestbook-modern,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-ghost {
    margin-left: 0;
    margin-top: 0.6rem;
  }

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

  .gallery-bento {
    gap: 0.55rem;
  }

  .family-strip {
    gap: 0.5rem;
  }

  .map-wrap iframe {
    min-height: 250px;
    height: 44vh;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 56vh;
  }

  .hero-inner {
    padding: 2.2rem 0.85rem 1.8rem;
  }

  .hero-badge {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 8vw, 2.05rem);
    line-height: 1.15;
    max-width: 16ch;
  }

  .hero p {
    font-size: 0.95rem;
    line-height: 1.45;
    margin-bottom: 1.1rem;
  }

  .section {
    padding: 2.1rem 0.85rem;
  }

  .section-title::after {
    width: 2.4rem;
  }

  .card {
    padding: 1.1rem;
    border-radius: 14px;
  }

  .form-row input,
  .form-row textarea {
    padding: 0.62rem 0.75rem;
  }

  .guestbook-list {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 380px) {
  .logo { font-size: 1.15rem; }
  .hero h1 { font-size: 1.45rem; }
  .btn { font-size: 0.9rem; padding: 0.62rem 1rem; }
  .section-title { font-size: 1.45rem; }
}

@media (min-width: 1440px) {
  :root { --max: 1600px; }

  .hero {
    min-height: 70vh;
  }

  .hero-inner {
    padding-top: 4rem;
    padding-bottom: 3.25rem;
  }

  .section {
    padding-top: 4.8rem;
    padding-bottom: 4.8rem;
  }
}


.impressum-figure {
  margin: 0;
  padding: clamp(0.6rem, 1vw, 0.9rem);
  background: #fff;
}

.impressum-figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}




/* 2026 polish: motion, depth, premium micro-interactions */
:root {
  --glow-green: 0 0 0 1px rgba(40, 167, 69, 0.28), 0 14px 32px rgba(40, 167, 69, 0.18);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 10% 10%, rgba(255,255,255,0.18), transparent 38%),
    radial-gradient(circle at 90% 0%, rgba(40,167,69,0.12), transparent 28%);
  z-index: -1;
}

.reveal-init {
  opacity: 0;
  transform: translateY(18px) scale(0.99);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal-init.in-view {
  opacity: 1;
  transform: none;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: -120%;
  left: -40%;
  width: 32%;
  height: 340%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  transition: left 480ms ease;
}

.btn:hover::after {
  left: 125%;
}

.nav-list a {
  position: relative;
}

.nav-list a::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.22rem;
  height: 2px;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.nav-list a:hover::before {
  transform: scaleX(1);
}

.card {
  transition: box-shadow 300ms var(--ease-out), transform 300ms var(--ease-out), border-color 300ms ease;
}

.card:hover {
  border-color: rgba(40, 167, 69, 0.28);
}

.hero-inner {
  animation: heroFadeUp 700ms ease both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-init,
  .reveal-init.in-view {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero-inner {
    animation: none;
  }

  .btn::after {
    display: none;
  }
}

/* Final responsive hardening for all devices */
@media (max-width: 1200px) {
  .header-inner,
  .hero-inner,
  .section,
  .footer-inner {
    padding-left: clamp(0.85rem, 2.2vw, 1.2rem);
    padding-right: clamp(0.85rem, 2.2vw, 1.2rem);
  }

  .contact-layout,
  .visit-grid,
  .veggie {
    gap: 1.15rem;
  }
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 4.75rem;
  }

  body {
    position: relative;
    overflow-x: hidden;
  }

  .site-header {
    backdrop-filter: blur(10px) saturate(1.08);
    -webkit-backdrop-filter: blur(10px) saturate(1.08);
  }

  .header-inner {
    min-height: 62px;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
  }

  .nav {
    max-height: calc(100dvh - 62px);
    overflow-y: auto;
  }

  .nav-list a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.96rem;
    padding: 0.62rem 0.85rem;
  }

  .hero {
    min-height: 58vh;
  }

  .hero-inner {
    padding-top: 2.45rem;
    padding-bottom: 2rem;
  }

  .hero h1 {
    max-width: 17ch;
  }

  .gallery-bento,
  .family-strip {
    gap: 0.6rem;
  }

  .gallery-bento .g-wide,
  .gallery-bento .g-tall,
  .gallery-exhibition .gallery-bento .g-wide,
  .gallery-exhibition .gallery-bento .g-tall {
    min-height: 180px;
  }

  .map-wrap iframe {
    height: 46vh;
    min-height: 250px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 1rem;
    line-height: 1.58;
  }

  .logo {
    font-size: 1.12rem;
  }

  .section-title {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
  }

  .section-lead {
    margin-bottom: 1.35rem;
    font-size: 0.98rem;
  }

  .card,
  .service,
  .ig-card,
  .contact-card,
  .contact-aside {
    border-radius: 14px;
    padding: 1rem;
  }

  .veggie-visual {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .veggie-visual img {
    min-height: 175px;
  }

  .gallery-bento .g-wide,
  .gallery-bento .g-tall,
  .gallery-exhibition .gallery-bento .g-wide,
  .gallery-exhibition .gallery-bento .g-tall {
    grid-column: span 12;
    min-height: 185px;
    aspect-ratio: 4 / 3;
  }

  .family-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .family-strip figure {
    aspect-ratio: 1 / 1;
  }

  .btn,
  .btn-primary,
  .btn-ghost,
  .btn-instagram {
    min-height: 44px;
  }

  .gallery-preview-grid .g-wide,
  .gallery-preview-grid .g-tall {
    grid-column: span 6 !important;
    min-height: 155px;
    aspect-ratio: 1 / 1;
  }

  .gallery-preview-grid figure:nth-child(n + 5) {
    display: none;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .hero-inner,
  .section,
  .footer-inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .hero {
    min-height: 54vh;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 8.6vw, 1.95rem);
    max-width: 18ch;
  }

  .hero p {
    font-size: 0.94rem;
  }

  .gallery-bento .g-wide,
  .gallery-bento .g-tall,
  .gallery-exhibition .gallery-bento .g-wide,
  .gallery-exhibition .gallery-bento .g-tall {
    min-height: 165px;
  }

  .gallery-preview-grid .g-wide,
  .gallery-preview-grid .g-tall {
    min-height: 140px;
  }

  .map-wrap iframe {
    min-height: 220px;
    height: 42vh;
  }
}

@media (min-width: 1600px) {
  :root {
    --max: 1700px;
  }

  .section {
    padding-top: clamp(3.8rem, 4.5vw, 5.2rem);
    padding-bottom: clamp(3.8rem, 4.5vw, 5.2rem);
  }
}
