@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&display=swap');

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

:root {
  --font-display: 'Comfortaa', sans-serif;
  --font-sans: 'Roboto', sans-serif;
  --green: #3D7860;
  --gold: #FABC63;
  --teal: #DAEAE8;
}

body {
  font-family: var(--font-sans);
  color: var(--green);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
}

a { color: inherit; }

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(61, 120, 96, 0.95);
  padding: 10px 40px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.site-header.scrolled .header-logo {
  height: 50px;
}

.header-logo {
  height: 70px;
  transition: height 0.3s;
}

.header-nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  transition: color 0.2s;
}

.nav-link:hover { color: var(--gold); }

/* HERO */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  min-height: 100vh;
  justify-content: center;
}

.hero-overlay-left,
.hero-overlay-right {
  background: rgba(61, 120, 96, 0.85);
  border-radius: 12px;
  padding: 40px;
}

.hero-overlay-left {
  flex: 1 1 320px;
  min-width: 0;
}

.hero-overlay-right {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 500px;
}

.hero-subtitle {
  color: white;
  font-size: 16px;
  margin-bottom: 4px;
  font-style: italic;
}

.hero-title {
  color: white;
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 28px;
  font-weight: 700;
}

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

.hero-list li {
  display: flex;
  align-items: center;
  color: white;
  font-size: 15px;
  margin-bottom: 12px;
}

.hero-list li svg {
  margin-right: 10px;
  flex-shrink: 0;
  opacity: 0.9;
}

.hero-form-title {
  color: white;
  font-size: 24px;
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.3;
}

/* FORM */
.contact-form label {
  display: block;
  color: white;
  margin-bottom: 6px;
  font-size: 14px;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border-radius: 5px;
  border: 1px solid #E7E7E7;
  font-size: 16px;
  font-family: var(--font-sans);
  outline: none;
}

.contact-form .form-group {
  margin-bottom: 16px;
}

.contact-form .checkbox-group {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-form .checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--green);
}

.contact-form .checkbox-group span {
  color: white;
  font-size: 13px;
  line-height: 1.5;
}

.contact-form .checkbox-group a {
  color: white;
  text-decoration: underline;
}

.cta-button {
  display: inline-block;
  background: var(--teal);
  color: var(--green);
  padding: 14px 28px;
  border-radius: 5px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  text-align: center;
}

.cta-button:hover { background: #c5dbd9; }

.cta-button-secondary {
  display: inline-block;
  background: var(--gold);
  color: var(--green);
  padding: 14px 28px;
  border-radius: 5px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}

.cta-button-secondary:hover { background: #e9a84f; }

/* CTA BAR */
.cta-bar {
  display: flex;
  flex-wrap: wrap;
}

.cta-bar-btn {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 30px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  color: white;
  transition: opacity 0.2s;
}

.cta-bar-btn:hover { opacity: 0.9; }
.cta-bar-green { background: var(--green); }
.cta-bar-gold { background: var(--gold); }

.cta-bar-btn svg {
  width: 22px;
  height: 22px;
}

/* DARUM SECTION */
.section-darum {
  padding: 80px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.section-darum h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.section-darum h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 40px;
}

.section-darum p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.gold-underline {
  border-bottom: 3px solid var(--gold);
}

/* GERALD SECTION */
.section-gerald {
  background: var(--green);
  padding: 60px 40px;
}

.section-gerald .inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
}

.gerald-info {
  flex: 1 1 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.gerald-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  margin-bottom: 20px;
}

.gerald-info .name {
  color: white;
  font-size: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 4px;
}

.gerald-info .desc {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}

.gerald-form {
  flex: 1 1 400px;
  min-width: 300px;
}

/* BLOG / THEMEN */
.section-themen {
  padding: 80px 40px;
  background: #f8fafa;
}

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

.section-themen h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  background: white;
  border: 1px solid var(--teal);
  text-decoration: none;
  color: var(--green);
  display: block;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(61,120,96,0.12);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card .card-body {
  padding: 20px 20px 16px;
}

.blog-card h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
  min-height: 48px;
}

/* LEISTUNGEN / GRUENDE SECTIONS */
.parallax-section {
  position: relative;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.parallax-section .inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 40px;
}

.leistungen-box {
  background: rgba(61, 120, 96, 0.75);
  border-radius: 12px;
  padding: 50px;
}

.leistungen-box h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  color: white;
}

/* ACCORDION */
.accordion-item {
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  transition: color 0.2s;
}

.accordion-trigger:hover { color: var(--gold); }

.accordion-trigger svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.accordion-content.open {
  max-height: 500px;
  padding: 0 0 18px 0;
}

.accordion-content p {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* KUNDEN */
.section-kunden {
  padding: 80px 40px;
  background: white;
}

.section-kunden .inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.section-kunden .quote {
  font-size: 20px;
  font-family: var(--font-display);
  margin-bottom: 60px;
  color: var(--green);
  font-style: italic;
  line-height: 1.6;
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.logos-row img {
  height: 120px;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.2s;
}

.logos-row img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* FOOTER */
footer {
  background: var(--green);
  padding: 50px 40px 30px;
  font-family: var(--font-sans);
}

footer .inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-left {
  flex: 1 1 350px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.footer-logo {
  height: 50px;
}

.svz-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.footer-left .subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-left .label {
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-left .value {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-right {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 20px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.legal-links {
  display: flex;
  gap: 16px;
}

.legal-links a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  text-decoration: none;
}

.legal-links a:hover {
  color: white;
}

.legal-links .sep {
  color: rgba(255,255,255,0.4);
}

/* PAGE BANNER (Impressum, Datenschutz, etc.) */
.page-banner {
  position: relative;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 140px 40px 60px;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.page-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-banner h1 {
  color: white;
  font-size: 36px;
  font-weight: 700;
}

/* PAGE CONTENT */
.page-content {
  padding: 60px 40px 80px;
  background: #fff;
}

.page-content-inner {
  max-width: 780px;
  margin: 0 auto;
  color: #444;
  font-size: 15px;
  line-height: 1.8;
}

.page-content p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #444;
}

.page-content a {
  color: var(--green);
  text-decoration: underline;
}

.page-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 12px;
  color: #222;
  font-family: var(--font-display);
}

.page-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #222;
  font-family: var(--font-display);
}

.page-content h4 {
  font-size: 16px;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 8px;
  color: #222;
  font-family: var(--font-display);
}

.page-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-content ul li {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 6px;
}

.page-content strong {
  color: #333;
  font-weight: 700;
}

.page-content h3 em {
  font-style: italic;
}

/* GLOSSAR PAGE */
.glossar-page h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

.glossar-index {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 40px;
}

.glossar-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #f0f4f3;
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.glossar-letter:hover {
  background: var(--green);
  color: white;
}

.glossar-letter.active {
  background: var(--green);
  color: white;
}

.glossar-letter.glossar-all {
  width: auto;
  padding: 0 14px;
}

.glossar-card {
  border-bottom: 1px solid #e8ebe9;
  padding: 24px 0;
}

.glossar-card:first-child {
  padding-top: 0;
}

.glossar-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 8px 0;
  font-family: var(--font-display);
}

.glossar-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

.glossar-empty {
  color: #888;
  font-style: italic;
  text-align: center;
  padding: 40px 0;
}

.glossar-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.glossar-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: #f0f4f3;
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.glossar-page-btn:hover {
  background: var(--green);
  color: white;
}

.glossar-page-btn.active {
  background: var(--green);
  color: white;
}

/* SUCCESS MESSAGE */
.form-success {
  display: none;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  color: white;
}

.form-success h4 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--gold);
}

.form-success p {
  font-size: 15px;
  opacity: 0.9;
}

/* MOBILE */
@media (max-width: 768px) {
  .site-header {
    padding: 10px 16px;
  }

  .header-logo {
    height: 45px;
  }

  .site-header.scrolled .header-logo {
    height: 40px;
  }

  .header-nav {
    gap: 16px;
  }

  .nav-link {
    font-size: 13px;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-inner {
    padding: 100px 16px 30px;
    gap: 20px;
    min-height: auto;
  }

  .hero-overlay-left,
  .hero-overlay-right {
    padding: 20px;
    flex-basis: 100%;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-form-title {
    font-size: 20px;
  }

  .cta-bar-btn {
    flex: 1 1 100%;
    padding: 16px 20px;
    font-size: 15px;
  }

  .section-darum {
    padding: 50px 20px;
  }

  .section-gerald {
    padding: 40px 20px;
  }

  .gerald-img {
    width: 180px;
    height: 180px;
  }

  .section-themen {
    padding: 50px 20px;
  }

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

  .parallax-section .inner {
    padding: 50px 20px;
  }

  .leistungen-box {
    padding: 24px;
  }

  .section-kunden {
    padding: 50px 20px;
  }

  .logos-row {
    gap: 40px;
  }

  .logos-row img {
    height: 80px;
  }

  footer {
    padding: 40px 20px 20px;
  }

  .footer-right {
    align-items: flex-start;
  }

  .page-banner {
    padding: 110px 20px 40px;
  }

  .page-banner h1 {
    font-size: 28px;
  }

  .page-content {
    padding: 40px 20px 60px;
  }
}
