:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7f6;
  --color-text: #1a2420;
  --color-text-muted: #5a655f;
  --color-primary: #2f6b4f;
  --color-primary-dark: #234f3a;
  --color-accent: #e8ddc3;
  --color-accent-dark: #d8c9a0;
  --max-width: 1100px;
  --radius: 10px;
  --header-h: 100px;
  --font-base: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.35));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.logo img {
  height: 72px;
  width: auto;
}

.logo:hover {
  text-decoration: none;
}

.main-nav a {
  margin-left: 24px;
  color: var(--color-text);
  font-weight: 500;
}

.main-nav a:hover {
  color: var(--color-primary);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 0 6%;
  background: linear-gradient(135deg, #f8f7f5 0%, #eeece7 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  flex: 0 1 700px;
  margin-left: 7%;
  /* Ausgleich für den fixen, transparenten Header, der oben in den Hero hineinragt */
  padding-top: var(--header-h);
}

.hero-title {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  font-weight: 400;
  color: var(--color-primary-dark);
  text-shadow: none;
  will-change: transform, opacity;
}

.hero-title .text-brand {
  color: var(--color-primary-dark);
}

.hero-bg-decor {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.hero-bg-decor--1 {
  top: -12%;
  left: -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(47, 107, 79, 0.16) 0%, rgba(47, 107, 79, 0) 70%);
}

.hero-bg-decor--2 {
  bottom: -18%;
  right: 4%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(216, 201, 160, 0.28) 0%, rgba(216, 201, 160, 0) 70%);
}

.hero-bg-decor--3 {
  bottom: 6%;
  left: 4%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(47, 107, 79, 0.12) 0%, rgba(47, 107, 79, 0) 70%);
}

.hero-bg-decor--4 {
  top: 4%;
  right: 10%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(216, 201, 160, 0.22) 0%, rgba(216, 201, 160, 0) 70%);
}

.hero-bg-decor--5 {
  top: 42%;
  left: 32%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(47, 107, 79, 0.09) 0%, rgba(47, 107, 79, 0) 70%);
}

.hero-bg-decor--6 {
  bottom: 20%;
  right: 30%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(47, 107, 79, 0.13) 0%, rgba(47, 107, 79, 0) 70%);
}

.hero-leaf {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  fill: rgba(47, 107, 79, 0.14);
}

.hero-leaf-vein {
  fill: none;
  stroke: rgba(47, 107, 79, 0.22);
  stroke-width: 3;
}

.hero-leaf--1 {
  top: 6%;
  right: 24%;
  width: 46px;
  transform: rotate(24deg);
}

.hero-leaf--2 {
  top: 60%;
  left: 6%;
  width: 60px;
  transform: rotate(-32deg);
}

.hero-leaf--3 {
  bottom: 4%;
  right: 14%;
  width: 38px;
  transform: rotate(64deg);
}

.hero-leaf--4 {
  top: 34%;
  left: 2%;
  width: 34px;
  transform: rotate(12deg);
}

.hero-leaf--5 {
  top: 78%;
  right: 20%;
  width: 42px;
  transform: rotate(-18deg);
}

.hero-leaf--6 {
  top: 16%;
  left: 44%;
  width: 30px;
  transform: rotate(48deg);
}

.hero-leaf--7 {
  bottom: 30%;
  left: 24%;
  width: 50px;
  transform: rotate(-56deg);
  opacity: 0.4;
}

.hero-leaf--8 {
  top: 50%;
  right: 3%;
  width: 40px;
  transform: rotate(20deg);
}

.hero-dot {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.hero-dot--1 {
  top: 20%;
  right: 32%;
  width: 10px;
  height: 10px;
  background: rgba(216, 201, 160, 0.55);
}

.hero-dot--2 {
  top: 68%;
  left: 16%;
  width: 7px;
  height: 7px;
  background: rgba(47, 107, 79, 0.3);
}

.hero-dot--3 {
  bottom: 12%;
  right: 40%;
  width: 13px;
  height: 13px;
  background: rgba(47, 107, 79, 0.18);
}

.hero-dot--4 {
  top: 14%;
  left: 22%;
  width: 6px;
  height: 6px;
  background: rgba(47, 107, 79, 0.28);
}

.hero-dot--5 {
  bottom: 30%;
  left: 42%;
  width: 9px;
  height: 9px;
  background: rgba(216, 201, 160, 0.5);
}

.hero-dot--6 {
  top: 48%;
  right: 6%;
  width: 11px;
  height: 11px;
  background: rgba(47, 107, 79, 0.2);
}

.hero-logo-corner {
  position: absolute;
  top: 9%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  height: 102px;
  width: auto;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  opacity: 0.7;
  margin-bottom: 32px;
}

.hero-visual {
  position: relative;
  flex: 1 1 520px;
  max-width: 620px;
  height: 78%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* weißes Oval hinter dem Automaten, Sträuße wachsen optisch darüber hinweg */
.hero-backdrop-oval {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 78%;
  height: 96%;
  transform: translate(-50%, -50%) rotate(6deg);
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3d2d 0%, #2f6b4f 55%, #3f8a63 100%);
  pointer-events: none;
}

.hero-automat {
  position: relative;
  z-index: 5;
  max-height: 100%;
  max-width: 100%;
  width: auto;
  transform: rotate(6deg);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5));
}

.hero-flower {
  position: absolute;
  width: 42%;
  height: auto;
  pointer-events: none;
}

/* großer Strauß hinter dem Automaten, Automat wächst quasi heraus — am weitesten im Hintergrund: kleiner, deutlich unscharf, leicht abgedunkelt (Luftperspektive) */
.hero-flower--behind-top {
  z-index: 2;
  top: 2%;
  left: 29%;
  width: 38%;
  transform: rotate(-8deg);
  filter: blur(5px) brightness(0.92);
  opacity: 0.88;
}

/* großer Strauß hinter der oberen rechten Ecke des Automaten, etwas kleiner als der Strauß unten rechts */
.hero-flower--behind-top-right {
  z-index: 2;
  top: 0%;
  right: -18%;
  width: 62%;
  transform: rotate(10deg);
  filter: blur(5px) brightness(0.94);
  opacity: 0.9;
}

/* riesiger, extrem unscharfer Strauß in der Ecke vorne — sehr nah an der Kamera, am weitesten von der Automat-Tiefe entfernt */
.hero-flower--front-corner {
  z-index: 8;
  bottom: -32%;
  right: -22%;
  width: 68%;
  transform: rotate(-16deg);
  filter: blur(17px);
  opacity: 0.92;
}

/* kleiner Strauß hinter dem Automaten, links auf mittlerer Höhe — liegt direkt an der Automat-Tiefe, nur minimal unscharf */
.hero-flower--behind-left {
  z-index: 2;
  top: 38%;
  left: 0%;
  width: 28%;
  transform: rotate(9deg);
  filter: blur(1px);
}

/* kleiner Strauß hinter dem Automaten, rechts weiter unten — liegt direkt an der Automat-Tiefe, nur minimal unscharf */
.hero-flower--behind-right {
  z-index: 2;
  top: 58%;
  left: 68%;
  width: 22%;
  transform: rotate(-7deg);
  filter: blur(1.5px);
}

/* mittelgroßer Strauß vor dem Automaten, unten links — etwas näher an der Kamera als der Automat, daher spürbar unschärfer */
.hero-flower--front-left {
  z-index: 7;
  bottom: -6%;
  left: -4%;
  width: 36%;
  transform: rotate(-39deg);
  filter: blur(2px) drop-shadow(0 16px 22px rgba(0, 0, 0, 0.35));
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}

/* Sections */
.section {
  padding: 72px 0;
  scroll-margin-top: var(--header-h);
}

.section-alt {
  background: var(--color-bg-alt);
}

.section h2 {
  font-size: 1.9rem;
  margin-bottom: 32px;
  text-align: center;
}

/* Rechtstexte (Impressum, Datenschutz) */
.legal-page {
  padding-top: calc(var(--header-h) + 56px);
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content h1 {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  color: var(--color-primary-dark);
  margin-bottom: 40px;
}

.legal-block {
  padding: 28px 0;
  border-bottom: 1px solid #e4e8e6;
}

.legal-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.legal-content h2 {
  font-size: 1.15rem;
  text-align: left;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--color-text-muted);
}

/* Grid / Cards */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--color-bg);
  border: 1px solid #e4e8e6;
  border-radius: var(--radius);
  padding: 28px 34px;
}

.card h3 {
  color: var(--color-primary-dark);
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  margin-bottom: 8px;
}

#leistungen .container {
  max-width: 1320px;
}

#leistungen h2 {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
}

/* Leistungen: Feature-Kacheln */
.feature-card {
  display: flex;
  flex-direction: column;
}

.feature-card p {
  opacity: 0.7;
}

.feature-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-media svg {
  width: 34%;
  height: 34%;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-media--1 {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.feature-media--2 {
  background: linear-gradient(135deg, #3f8a63 0%, var(--color-primary) 100%);
}

.feature-media--3 {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #17362a 100%);
}

.feature-media--photo {
  background: url("../images/feature-1-bg.webp") center / cover no-repeat;
}

.feature-media--photo-2 {
  background: url("../images/feature-2-bg.webp") center / cover no-repeat;
}

.feature-media--photo-3 {
  background: url("../images/feature-3-bg.webp") center / cover no-repeat;
}

/* Galerie + Kontakt */
.gallery-contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.gallery-single {
  border-radius: calc(var(--radius) * 1.6);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.gallery-single:hover {
  transform: rotate(0deg) scale(1.02);
}

.gallery-single img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-contact-info h2 {
  text-align: left;
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
}

/* Footer */
.site-footer {
  border-top: 1px solid #e4e8e6;
  padding: 24px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-nav a {
  margin-left: 16px;
  color: var(--color-text-muted);
}

/* Responsive */
@media (max-width: 720px) {
  :root {
    --header-h: 140px;
  }

  .header-inner {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
  }

  .logo img {
    height: 56px;
  }

  .main-nav a {
    margin: 0 10px;
  }

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

  .gallery-contact-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .gallery-single {
    max-width: 320px;
    margin: 0 auto;
  }

  .gallery-contact-info h2 {
    text-align: center;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 152px 24px 40px;
    gap: 32px;
  }

  .hero-logo-corner {
    top: 24px;
    height: 72px;
  }

  .hero-content {
    padding-top: 0;
    flex: none;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-visual {
    flex: none;
    width: 100%;
    height: 320px;
  }

  .hero-flower--behind-top {
    width: 45%;
    top: -14%;
    left: 20%;
  }

  .hero-flower--front-corner {
    width: 60%;
    bottom: -18%;
    right: -14%;
  }

  .hero-flower--behind-left,
  .hero-flower--behind-right,
  .hero-flower--behind-top-right,
  .hero-flower--front-left {
    display: none;
  }
}
