:root {
  --bg: #0b1e16;
  --fg: #f5f7f4;
  --muted: #cfe3d6;
  --brand: #5cc48c;
  --brand-dark:#3aa06b;
  --card: #12271f;
  --line: #1f3a2e;
  --warn: #ffd166;
}

* {
	box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* verhindert seitliches Scrollen */
}

body {
  margin: 0;
  padding: 0 24px; /*  neuer, schöner Innenabstand */
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--bg);
  max-width: 100%;
  overflow-x: hidden;
}
	
a {
	color: var(--brand); 
	text-decoration: none; 
	}
	

a:hover { 
	text-decoration: underline; 
}
	
img { 
	max-width: 100%; 
	height: auto; 
	border-radius: 14px; 
}
	
.container.nav {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 20px;
padding: 1rem 0;
}
	
.btn { 
	display:inline-block; 
	padding: 12px 18px; 
	border-radius: 12px; 
	background: var(--brand); 
	color:#0b1e16; 
	font-weight:700; 
	border: 2px solid var(--brand); 
	transition: transform .05s ease; 
}
	
.btn:hover { 
	background: var(--brand-dark); 
	border-color: var(--brand-dark); 
	transform: translateY(-1px); 
}
	
.btn.secondary { 
	background: transparent; 
	color: var(--fg); 
	border-color: var(--line); 
}
	
header {
position: sticky;
top: 0;
z-index: 50;
backdrop-filter: blur(8px);
background: rgba(11,30,22,0.7);
border-bottom: 1px solid var(--line);
transition: box-shadow .25s ease, background-color .25s ease;
}
	
	
.brand {
display:flex; align-items:center; gap:12px;
}
	
.brand .logo img {
max-width:56px; height:auto; border-radius:6px; margin-right:0;
}
	
.nav a { 
	margin-left: 1.5rem;
	
	text-decoration: none;
	color: inherit;
	font-weight: 500;
}

nav a:hover {
  color: #4CAF50; /* Beispiel: Grün als Hoverfarbe */
}
	
.hero { 
	padding: 64px 0 36px; 
	border-bottom: 1px solid var(--line); 
}
	
.hero-grid { 
	display:grid; 
	grid-template-columns: 1.2fr .8fr; 
	gap: 28px; align-items: center; 
}
	
.kicker { 
	color: var(--muted); 
	text-transform: uppercase; 
	letter-spacing: .12em; 
	font-weight:700; 
	font-size: 12px; 
}
	
h1 { 
	font-size: clamp(28px, 4vw, 44px); 
	line-height: 1.1; 
	margin: 8px 0 12px; 
}
	
p.lead { 
	font-size: clamp(16px, 2vw, 18px); 
	color: #e9f4ee; 
	opacity: .95; 
}
	
.badges { 
	display:flex; 
	gap:10px; 
	margin: 14px 0 20px; 
	flex-wrap: wrap; 
}
	
.badge {
	background: var(--card);
	border:1px solid var(--line);
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 14px;
}
	
.card { 
	background: var(--card);
	border:1px solid var(--line);
	border-radius: 18px;
	padding: 18px;
}
	
.grid-3 { 
display:grid;
 grid-template-columns: repeat(3,1fr);
 gap: 18px;
 }
 
.grid-2 { 
display:grid;
 grid-template-columns: repeat(2,1fr);
 gap: 18px;
 }
 
.section {
	padding: 48px 0;
}
	
h2 { 
font-size: clamp(22px, 3vw, 32px);
 margin: 0 0 6px;
 }
 
.muted { 
color: var(--muted);
position: centre;
 }
 
.list { 
display:grid;
 gap:10px;
 }
 
.list li { 
padding-left: 18px;
 position: relative;
 }
 
.list li::before {
	content: "•";
	position:absolute;
	left:0;
	color: var(--brand);
}
	
.gallery { 
display:grid;
 grid-template-columns: repeat(12, 1fr);
 gap: 12px;
 }
 
.span-6 { 
	grid-column: span 6;
 }
 
.span-4 { 
	grid-column: span 4;
 }
 
.span-8 { 
	grid-column: span 8;
 }
 
.span-12 { 
	grid-column: span 12;
 }
 
.quote { 
	border-left: 4px solid var(--brand);
	padding-left: 14px;
	font-style: italic;
}
	
.cta { 
	text-align: center;
	padding: 40px 0;
	border:1px solid var(--line);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(92,196,140,0.08), rgba(92,196,140,0.02));
}
	
footer { 
	border-top:1px solid var(--line);
	padding: 28px 0 48px;
}
	
footer .cols { 
	display:grid;
	grid-template-columns: 1.2fr .8fr .8fr;
	gap: 24px;
}
	
.notice { 
	background: #10241c;
	border: 1px dashed var(--line);
	padding: 10px 12px;
	border-radius: 12px;
	font-size: 14px;
	margin-top: 8px;
}
	
form { 
	display:grid; 
	gap:12px; 
}
	
input, textarea, select { 
	background: #0f221b; 
	border:1px solid var(--line); 
	color: var(--fg); 
	padding: 12px 14px; 
	border-radius: 12px; 
	font: inherit; 
}
	
input:focus, textarea:focus, select:focus {
	outline: 2px solid var(--brand);
	border-color: var(--brand); 
}
.legal { 
	font-size: 14px; 
	color: var(--muted); 
}
	
.impressum, .datenschutz { 
	background: var(--card); 
	border: 1px solid var(--line);
	border-radius: 14px; 
	padding: 16px; 
}
	
@media (max-width: 900px){
  body {
    margin: 0;
    padding: 0 16px;
  }

  .hero-grid, .grid-3, .grid-2, footer .cols { 
    grid-template-columns: 1fr;
  }
}

header.scrolled {
box-shadow: 0 6px 18px rgba(0,0,0,.25);
background: rgba(11,30,22,0.85);
}

/* Navigation horizontal */
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
/* Grundstil für Links in der Navigation */
.main-nav a {
  position: relative;
  display: inline-block;
  padding: 8px 12px;
  text-decoration: none;
  color: #fff;                /* weiße Schrift */
  font-weight: 600;
  overflow: visible;
  border-radius: 999px;
  transition: background 0.25s ease, transform 0.2s ease;
}

/* Hover: leichte „Bubble“ hinter dem Text, Text bleibt weiß */
.main-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

/* Blätter-Pseudo-Elemente */
.main-nav a::before,
.main-nav a::after {
  content: "🍃";
  position: absolute;
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
}

/* Linke Blättergruppe */
.main-nav a::before {
  left: 4px;
  bottom: -4px;
}

/* Rechte Blättergruppe */
.main-nav a::after {
  right: -2px;
  bottom: -6px;
}

/* Hover: Animation starten */
.main-nav a:hover::before {
  animation: floatLeavesLeft 0.9s ease-out forwards;
}

.main-nav a:hover::after {
  animation: floatLeavesRight 1s ease-out forwards;
}

/* Mehrere kleine Blätter via text-shadow simuliert */
@keyframes floatLeavesLeft {
  0% {
    transform: translateY(8px) translateX(-4px) rotate(-18deg) scale(0.7);
    opacity: 0;
    text-shadow:
      0 0 0 transparent,
      0 0 0 transparent,
      0 0 0 transparent;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10px) translateX(0) rotate(-5deg) scale(0.7);
    opacity: 0;
    /* mehrere kleine Blätter nach oben „gestreut“ */
    text-shadow:
      -6px -8px 0 rgba(0, 0, 0, 0.3),
      -2px -14px 0 rgba(0, 0, 0, 0.2),
      -10px -16px 0 rgba(0, 0, 0, 0.25);
  }
}

@keyframes floatLeavesRight {
  0% {
    transform: translateY(10px) translateX(4px) rotate(15deg) scale(0.7);
    opacity: 0;
    text-shadow:
      0 0 0 transparent,
      0 0 0 transparent,
      0 0 0 transparent;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateY(-12px) translateX(-4px) rotate(3deg) scale(0.7);
    opacity: 0;
    text-shadow:
      4px -8px 0 rgba(0, 0, 0, 0.3),
      8px -14px 0 rgba(0, 0, 0, 0.18),
      2px -18px 0 rgba(0, 0, 0, 0.22);
  }
}
.brand-text {
font-family:"Great Vibes", cursive; font-size:32px; line-height:1; color:#e9f4ee; white-space:nowrap;
}

.social {
display:flex; gap:10px;
}

.social .icon {
width:38px; height:38px; display:inline-flex; align-items:center; justify-content:center;
border-radius:999px; background:#0f221b; border:1px solid var(--line); color:#cfe3d6;
transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.social .icon:hover {
transform:translateY(-2px); background:#143123; color:var(--brand);
}

.section.team {
padding-top:48px;
text-align: center;
}

.team h2 {
text-align:center; 
margin-bottom:28px;
}

.team-grid {
display:center; 
grid-template-columns: repeat(2, minmax(220px,1fr)); 
gap:28px;
text-align:center;
}

@media (max-width: 720px){ .team-grid{ grid-template-columns:1fr; } }

.person {
background:#fff; border:1px solid #eef1f3; border-radius:18px; padding:22px; text-align:center; box-shadow:0 10px 24px rgba(0,0,0,.05);
}

.person img {
width:220px; height:220px; border-radius:50%; object-fit:cover; background:#efefef; margin:8px auto 16px; display:block;
}

.person .role {
color:#6c7a86; margin:6px 0 10px;
}

.person .contact a {
color:#2d6a36; text-decoration:none;
}

.person .contact a:hover {
text-decoration:underline;
}

/* SLIDER / SLIDESHOW */
.slider {
  position: relative;
  max-width: 1000px;
  margin: 24px auto 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
}

.slider-inner {
  position: relative;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

/* EINHEITLICHE GRÖSSE DER BILDER */
.slide img {
  display: block;
  width: 100%;
  height: 420px;          /* feste Höhe */
  object-fit: cover;      /* Bild wird zugeschnitten, aber nicht verzerrt */
  border-radius: 18px;
}

/* PFEILE LINKS/RECHTS MITTIG IM BILD */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;

  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 24px;
  line-height: 1;
}

.slider-arrow.prev {
  left: 12px;
}

.slider-arrow.next {
  right: 12px;
}

@media (hover:hover) {
  .slider-arrow:hover {
    background: rgba(0, 0, 0, 0.55);
  }
}

/* PUNKTE UNTER DEM BILD */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 10px 0 14px;
}

.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid var(--muted);
  background: transparent;
  cursor: pointer;
}

.slider-dots .dot.active {
  background: var(--brand);
  border-color: var(--brand);
}

/* auf kleinen Screens etwas weniger Höhe */
@media (max-width: 600px) {
  .slide img {
    height: 260px;
  }
}

/* LIGHTBOX / BILD-VERGRÖSSERUNG */
.lightbox {
  position: fixed;
  inset: 0;
  display: none; /* standard: versteckt */
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.lightbox.open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* Schließen-Button */
.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (hover:hover) {
  .lightbox-close:hover {
    background: rgba(0,0,0,0.9);
  }
}
/* HAMBURGER-BUTTON */
.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;

  position: absolute;
  right: 16px;
  top: 18px;
  z-index: 10001;
}

.nav-toggle span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 3px;
  background: var(--fg);
  border-radius: 999px;
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 8px; }
.nav-toggle span:nth-child(2) { top: 14px; }
.nav-toggle span:nth-child(3) { top: 20px; }

.nav-toggle.open span:nth-child(1) {
  top: 14px;
  transform: rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  top: 14px;
  transform: rotate(-45deg);
}

/* MOBILE NAVIGATION */
@media (max-width: 900px) {

  /* Header-Container: damit der Burger relativ positioniert werden kann */
  .container.nav {
    grid-template-columns: auto 1fr;
    position: relative;
  }

  /* Menü: unter dem Header, von rechts rein, volle Breite, aber nur so hoch wie der Inhalt */
  .main-nav {
    position: fixed;
    top: 72px;          /* wenn es noch im Header hängt: auf 80px oder 76px erhöhen */
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;

    background: var(--bg);   /* dunkles Grün, nicht glassig */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-left: none;

    box-shadow: -4px 0 22px rgba(0,0,0,0.25);
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;

    /* von rechts nach links einfahren */
    transform: translateX(100%);
    transition: transform 0.3s ease;

    z-index: 9999;
    align-items: flex-start;
    justify-content: flex-start;

    /* WICHTIG: keine feste Höhe -> geht nicht bis ganz nach unten */
    height: auto;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  /* Burger auf Handy sichtbar machen (Position bleibt absolut wie oben) */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0;
  }

  /* Social Icons auf Handy ausblenden */
  .social {
    display: none;
  }
}
.home .hero.hero--center {
  text-align: center;
}

.home .hero.hero--center .hero-grid {
  display: flex;
  justify-content: center;
}

.home .hero.hero--center .hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.home .hero.hero--center .badges {
  justify-content: center;
}

.home .hero.hero--center .btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Ansprechpartner mittig ausrichten */
.person-center {
  text-align: center !important;
  margin: 0 auto;
}

/* Name + Rolle schwarz */
.person-name,
.person-role {
  color: #000 !important;
}

.map iframe {
  width: 100% !important;
  height: 450px;
  display: block;
}

.hero-image-wrapper {
  text-align: center;             /* Bild mittig */
  margin: 28px auto;              /* Abstand oben/unten */
}

.hero-image-wrapper img {
  width: 100%;                    /* passt sich Container an */
  max-width: 900px;               /* maximale Breite für schöne Darstellung */
  border-radius: 16px;            /* runde Ecken wie restliches Design */
  display: block;
  margin: 0 auto;                 /* wirklich zentriert */
}

.section,
.container,
.hero-inner,
.cta,
.team,
.map,
 {
  text-align: center !important;
}

/* ALLE BILDER ZENTRIEREN */
img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* SERVICE-KASTEN / LEISTUNGEN */
.service-box {
  border: 2px solid rgba(255, 255, 255, 0.15); /* feiner Rahmen */
  border-radius: 16px;                          /* schöne Rundungen wie restliches Design */
  padding: 24px 32px;
  max-width: 800px;
  margin: 0 auto;                                /* zentriert */
  background: rgba(0,0,0,0.1);                   /* leichte Schattierung */
}

/* LISTE MIT STICHPUNKTEN */
.service-list {
  list-style-type: disc;              /* echte Stichpunkte */
  padding-left: 20px;                 /* Platz für die Punkte */
  margin: 0;
  text-align: left;                   /* Stichpunkte liest man besser linksbündig */
}

.service-list li {
  padding: 6px 0;
  font-size: 1.05rem;
  line-height: 1.5;
}