:root {
  --olive: #7d9473;        /* Hintergrund */
  --ivory: #f8f2e7;        /* Schrift / Flächen */
  --accent: #d9caa3;       /* neue Button-Farbe */
  --accent-dark: #c2b391;  /* Hover-Farbe */
}

/* ========================= */
/* Basis-Reset               */
/* ========================= */

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

body {
  font-family: 'Quicksand', sans-serif;
  background-color: var(--olive);
  color: var(--ivory);
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

/* ========================= */
/* Layout & Container        */
/* ========================= */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(125, 148, 115, 0.95);
  border-bottom: 1px solid rgba(248, 242, 231, 0.1);
  backdrop-filter: blur(8px);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========================= */
/* Header / Navigation       */
/* ========================= */

.nav-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.8rem 0 0.4rem;
}

/* Desktop-Logo */

.desktop-logo {
  display: block;
}

.desktop-logo img {
  height: 150px;
  width: auto;
}

/* Mobile Header */

.mobile-header {
  display: none;
  width: 100%;
  position: relative;
  padding: 0.3rem 0;
  align-items: center;
  justify-content: center;
}

/* Mobiles Logo zentriert */

.nav-logo-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-logo-center img {
  height: 80px;
  width: auto;
}

/* Navigation Desktop */

.nav-links-center {
  display: flex;
  gap: 1.25rem;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 0.4rem;
}

/* Burger-Button */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ivory);
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Burger -> X Animation */

.menu-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ========================= */
/* Buttons                   */
/* ========================= */

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--ivory);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.8rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.4);
}

/* ========================= */
/* Hero                      */
/* ========================= */

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-style: bold;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

.hero p.lead {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-meta {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* Hero-Bildkarte rechts */

.hero-card {
}

.hero-card-image  {
  width: 100%;
  object-fit: cover;
  display: block;
}

.hero-card-image1  {
  object-fit: cover;
  display: block;
}

/* ========================= */
/* Allgemeine Sektionen      */
/* ========================= */

.seperator-image {
  display: block;        /* wichtig fürs Zentrieren */
  margin: 1.5rem auto;   /* mittig im Container */
  opacity: 0.9;          /* optional: etwas softer */
}

section {
  padding: 2.75rem 0;
  border-top: 1px solid rgba(248, 242, 231, 0.12);
  scroll-margin-top: 11rem;
}

h2.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-style: bold;
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
}

/* Zweispaltige Layouts */

.two-col,
.form-grid {
  padding: 2.0rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.25rem;
  align-items: flex-start;
}

/* Generische Karte */

.card {
  background: rgba(248, 242, 231, 0.04);
  border-radius: 1.25rem;
  padding: 1.7rem;
  border: 1px solid rgba(248, 242, 231, 0.12);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
}

.card h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
  margin-top: 1.25rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.card ul {
  padding-left: 1.1rem;
  font-size: 0.92rem;
}

.card ul li {
  margin-bottom: 0.4rem;
}

.card-image {
  width: 100%;
  height: 300px;
  border-radius: 1.4rem;
  object-fit: cover;
  display: block;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(248, 242, 231, 0.15);
}

/* ========================= */
/* Team / Dummy-Bilder       */
/* ========================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.8rem;
}

.team-card {
  background: rgba(248, 242, 231, 0.04);
  border-radius: 1.25rem;
  padding: 1.4rem;
  border: 1px solid rgba(248, 242, 231, 0.14);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
}

.team-card h3 {
  font-size: 1.05rem;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}

.team-role {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.team-bio {
  font-size: 0.9rem;
}

.dummy-image {
  width: 100%;
  border-radius: 1.2rem;
  aspect-ratio: 4 / 3;
  background: linear-gradient(
    135deg,
    rgba(248, 242, 231, 0.15),
    rgba(248, 242, 231, 0.02)
  );
  border: 1px dashed rgba(248, 242, 231, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
  text-align: center;
  padding: 1rem;
}

/* ========================= */
/* Pill-Listen               */
/* ========================= */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.3rem 0 0.8rem;
}

.pill {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 242, 231, 0.3);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

/* ========================= */
/* Kontaktformular           */
/* ========================= */

form {
  display: grid;
  gap: 0.9rem;
  font-size: 0.9rem;
}

label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(248, 242, 231, 0.4);
  background: rgba(15, 18, 12, 0.7);
  color: var(--ivory);
  font: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.form-row-inline > div {
  flex: 1 1 160px;
}

.helper-text {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: -0.2rem;
}

.required {
  color: #ffddaa;
  margin-left: 0.15rem;
}

/* Captcha-Block */

.captcha-row {
  margin-top: 0.5rem;
}

.captcha-equation {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 0.3rem;
}

/* ========================= */
/* Impressum / Datenschutz   */
/* ========================= */

.legal-text {
  font-size: 0.85rem;
  line-height: 1.7;
  opacity: 0.95;
}

.legal-text h3 {
  font-size: 1rem;
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
  text-transform: none;
  letter-spacing: 0;
}

.legal-text h4 {
  font-size: 0.92rem;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
  text-transform: none;
  letter-spacing: 0;
}

.legal-text p {
  margin-bottom: 0.5rem;
}

.legal-text ul {
  margin-bottom: 0.7rem;
  padding-left: 1.2rem;
}

/* ========================= */
/* Footer                    */
/* ========================= */

footer {
  border-top: 1px solid rgba(248, 242, 231, 0.18);
  padding: 1.2rem 0 1.7rem;
  font-size: 0.8rem;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

/* ========================= */
/* Custom Listen             */
/* ========================= */

.custom-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.custom-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f8f2e7' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3c-1.1 1.3-1.8 2.7-1.8 4.1 0 .7.2 1.4.6 2.1-1-1-2-1.5-3.3-1.5-1.5 0-2.9.8-3.7 2.1-.6 1-.8 2.1-.6 3.3 1-1 2.1-1.5 3.3-1.5 1 0 2 .4 2.8 1-1.4.2-2.5.8-3.3 1.7-.8.9-1.3 2-1.5 3.3 1.3-.7 2.4-1 3.5-1 1.5 0 2.7.6 3.8 1.7 1.1-1.1 2.3-1.7 3.8-1.7 1.1 0 2.2.3 3.5 1-.2-1.2-.7-2.4-1.5-3.3-.8-.9-1.9-1.5-3.3-1.7.8-.6 1.8-1 2.8-1 1.2 0 2.3.5 3.3 1.5.2-1.2 0-2.3-.6-3.3-1-1.3-2.4-2.1-3.9-2.1-1.3 0-2.3.5-3.3 1.5.4-.7.6-1.4.6-2.1C13.8 5.7 13.1 4.3 12 3z'/%3E%3C/svg%3E");
}

/* ========================= */
/* Responsive                */
/* ========================= */

@media (max-width: 880px) {
  section {
    scroll-margin-top: 16rem;
  }

  .hero-grid,
  .two-col,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .desktop-logo {
    display: none;
  }

  .mobile-header {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links-center {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 1.2rem;
    width: 100%;
    margin-top: 0.6rem;
    gap: 0.75rem;
    padding-bottom: 1rem;
    animation: fadeDown 0.2s ease;
  }

  .nav-links-center.open {
    display: flex;
  }
}

/* Sanfter Ausklapp-Effekt */

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
