/* RESET / BASIS */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
.page-content { flex: 1; }

body {
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  scroll-behavior: smooth;

  /* Sticky footer setup (wirkt nur, wenn du page-content nutzt) */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { max-width: 100%; display: block; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.center { text-align: center; }

/* Footer sticky */
footer { margin-top: auto; }

/* Punkt-Canvas */
#bgCanvas {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:-2;
  pointer-events:none;
}

.container{max-width:1200px;width:90%;margin:0 auto;}
.section{padding:80px 0;}
.section.light{background:rgba(255,255,255,0.6);}

/* Farben */
:root{
  --sage: #b2c4b6;
  --sage-dark: #6f8b78;
  --sage-darker: #556e60;

  --mustard: #FFDB58;
  --mustard-dark: #c7a93a;

  --text: #333;
  --bg-soft: #f9f9f9;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,.1);
  z-index: 999;
}
.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  padding: .6rem 0;
}
.logo-img { height: 60px; width: auto; object-fit: contain; }
.nav-menu { display: flex; list-style: none; gap: .5rem; align-items: center; }
.nav-menu > li { position: relative; }
.nav-menu a {
  display: block;
  padding: .5rem .9rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: background .2s, color .2s;
}
.nav-menu a:hover {
  background: rgba(178,196,182,.22);
  color: var(--sage-darker);
}
.menu-toggle { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; }

/* DROPDOWN */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.14);
  border-radius: 10px;
  min-width: 220px;
  padding: .4rem 0;
  z-index: 1000;
}
.dropdown-menu li a { padding: .5rem 1rem; border-radius: 0; }
.dropdown:hover > .dropdown-menu { display: block; }

/* HERO */
.hero {
  min-height: 90vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-top: 110px;
  /* optional: sehr weicher Salbei-Verlauf (lesbar) */
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(178,196,182,.22), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(178,196,182,.10), rgba(255,255,255,0) 65%);
}
.hero-content { max-width: 720px; }
.hero-badge {
  display: inline-block;
  padding: .35rem .8rem;
  background: rgba(178,196,182,.22);
  border-radius: 999px;
  color: var(--sage-darker);
  margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.15rem, 4vw, 3rem); margin-bottom: .8rem; }
.hero p { margin-bottom: 1.3rem; }

.hero-actions{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  width: 100%;
}

/* Buttons selbst */
.hero-actions .btn{
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: auto;
  min-width: 180px;
}

/* Mobile */
@media (max-width: 600px){
  .hero-actions{
    justify-content: center;
  }
  .hero-actions .btn{
    max-width: 320px;
    min-width: 220px;
  }
}

/* Sehr kleine Displays */
@media (max-width: 420px){
  .hero-actions{
    flex-direction: column;
  }
  .hero-actions .btn{
    width: min(320px, 92vw);
  }
}

/* BUTTONS */
.btn {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  padding: .8rem 1.4rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover {
  background: var(--sage-darker);
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--mustard);
  color: #2b2b2b; /* wichtig für Lesbarkeit */
  border: 1px solid rgba(0,0,0,.10);
}
.btn-secondary:hover {
  background: var(--mustard-dark);
}

/* SECTIONS */
.section { padding: 5rem 0; scroll-margin-top: 90px; }
.section h2 {
  text-align: center;
  margin-bottom: 2.2rem;
  color: var(--sage-darker);
  font-size: 2rem;
}
.bg-light { background: var(--bg-soft); }

/* GRIDS */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem;
  align-items: flex-start;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.8rem;
  align-items: stretch;
}

/* CARDS & LISTS */
.info-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.03);
}
.icon-list { list-style: none; display: grid; gap: .5rem; }
.icon-list li { position: relative; padding-left: 1.6rem; }
.icon-list li::before {
  content: "•";
  position: absolute; left: 0; top: 0;
  color: var(--sage-darker);
  font-weight: 800;
}
.checklist { list-style: none; display: grid; gap: .45rem; }
.checklist li { position: relative; padding-left: 1.6rem; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--sage-darker);
  font-weight: 700;
}

/* TEAM */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.team-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.03);
  box-shadow: 0 3px 16px rgba(0,0,0,.03);
}
.team-img { width: 100%; height: 200px; object-fit: cover; cursor: pointer; }
.team-body { padding: 1.3rem; display: grid; gap: .5rem; }
.tag {
  display: inline-block;
  background: rgba(178,196,182,.22);
  color: var(--sage-darker);
  border-radius: 999px;
  padding: .25rem .6rem;
  font-size: .78rem;
}

/* FEATURES */
.features .feature {
  background: #fff;
  border-radius: 12px;
  padding: 1.1rem 1.3rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.03);
  border: 1px solid rgba(0,0,0,.02);
}

/* TIMELINE */
.timeline {
  list-style: none;
  max-width: 700px;
  margin: 2rem auto 0;
}
.timeline li {
  background: #fff;
  border-left: 4px solid var(--sage);
  padding: .8rem 1rem;
  margin-bottom: .7rem;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,.025);
}

/* RÄUME */
.raum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.6rem;
}
.raum-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.02);
  box-shadow: 0 3px 10px rgba(0,0,0,.02);
}
.raum-card img {
  height: 180px;
  width: 100%;
  object-fit: cover;
  cursor: pointer;
}
.raum-card h3 { padding: .9rem 1rem .3rem; }
.raum-card p { padding: 0 1rem 1.1rem; }

/* INFO NOTE */
.info-note {
  margin-top: 1rem;
  background: rgba(178,196,182,.16);
  border: 1px solid rgba(111,139,120,.22);
  color: var(--sage-darker);
  border-radius: 8px;
  padding: .8rem 1rem;
}

/* KONTAKT */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.kontakt-info p { margin-bottom: 1rem; }
.kontakt-form-wrap {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-group { display: flex; flex-direction: column; }
.form-group label { font-weight: 600; margin-bottom: .3rem; }
.form-group input,
.form-group textarea {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: .6rem;
  font-size: 1rem;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  outline: none;
  box-shadow: 0 0 0 2px rgba(178,196,182,.28);
}
.error-message {
  color: #d93025;
  min-height: 1.1rem;
  font-size: .9rem;
  margin-top: .2rem;
}
.form-status {
  text-align: center;
  margin-top: .8rem;
  font-weight: 600;
}
.form-status.success { color: #218838; }
.form-status.error { color: #d93025; }

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 2000;
  padding: 80px 20px 20px;
}
.lightbox-content {
  max-width: 90vw;
  max-height: 80vh;
  margin: 0 auto;
  display: block;
  border-radius: 10px;
}
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

/* FOOTER */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  font-size: .9rem;
}
footer a { color: #fff; text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 78px; right: 20px;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    min-width: 240px;
  }
  .nav-menu.show { display: flex; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    min-width: 0;
    padding-left: 1rem;
  }
  .dropdown:hover > .dropdown-menu { display: none; }
  .dropdown.open > .dropdown-menu { display: flex; flex-direction: column; }

  .kontakt-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
}
@media (max-width: 600px) {
  .section { padding: 4rem 0; }
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
}
