:root {
  --bg: #f5f5f5;
  --bg-alt: #ffffff;
  --text: #222222;
  --muted: #666666;
  --accent: #145c3a;      /* dunkles Grün */
  --accent-soft: #e0efe7; /* helles Grün */
  --button-text: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

/* Header / Navigation über dem Hero */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 0;
  background: none;
  padding: 0;
  box-shadow: none;
}

.site-title {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.site-title span {
  font-weight: 700;
}

.nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  padding-bottom: 0.1rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.2s ease-out;
}

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

/* Hero mit formatfüllendem Hintergrundbild */

.hero {
  min-height: 100vh;
  background-image: url("images/headerbgr.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 3rem; /* oben etwas Luft wegen Header */
  color: #ffffff;
  text-align: left;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.4)
  );
}

.hero-inner {
  position: relative;
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.hero-text {
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(1.8rem, 3vw + 1rem, 3rem);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: #e5e5e5;
}

.hero-highlight {
  font-weight: 600;
  color: #ffffff;
}

.hero-logo-large {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: top;
}

.hero-logo-large img {
  width: clamp(140px, 22vw, 220px);
  height: auto;
  border-radius: 0;
  background: none;
  padding: 0;
  box-shadow: none;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, background 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--button-text);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  background: #0e4228;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  margin-left: 0.75rem;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
}

/* Sektionen */

.section {
  padding: 4rem 1.5rem;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

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

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.section p,
.section li {
  margin-bottom: 1rem;
  color: var(--muted);
}

ul {
  margin-left: 1.3rem;
  margin-bottom: 1rem;
}

ul li {
  margin-bottom: 0.4rem;
}

/* Impressionen */

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

.impression-card {
  background: var(--bg-alt);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.impression-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.impression-body {
  padding: 0.85rem 1rem 1rem;
}

.impression-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

/* Zwei-Spalten-Layout bei Kontakt */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.contact-block h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.contact-block p {
  margin-bottom: 0.5rem;
}

/* Footer */

footer {
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  background: #111111;
  color: #bbbbbb;
}

footer a {
  color: #dddddd;
}

/* Redesigned Footer Styles */
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left {
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-right {
  display: flex;
  gap: 1.5rem;
}
.footer-link {
  color: #dddddd;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 800px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .footer-right {
    justify-content: flex-start;
    gap: 1rem;
  }
}

  /* Accordion Styles */
  .accordion {
    margin-bottom: 2rem;
    margin-top: 2rem;
  }
  .accordion-toggle {
    width: 100%;
    text-align: left;
    background: var(--accent-soft);
    color: var(--accent);
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 0.2rem;
  }
  .accordion-toggle[aria-expanded="true"] {
    background: var(--accent);
    color: #fff;
  }
  .accordion-panel {
    background: var(--bg-alt);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
    padding: 1rem;
    margin-bottom: 0.5rem;
  }

  .accordion h1,
  .accordion h2,
  .accordion h3,
  .accordion h4
  {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .accordion p,
  .accordion li
  {
    font-size: 0.8rem;
    margin-bottom: 1rem;
    color: var(--muted);
  }


/* Responsiv */

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

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 5.5rem; /* wegen fixem Header */
  }

  .hero-inner {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

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

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

  .btn-outline {
    margin-left: 0;
  }
}