:root {
  --graphit: #343A40;
  --salbeigrun: #8FBC8F;
  --beige: #F0EAD6;
  --marineblau: #2F4F4F;
  --spacing: 1.5rem;
}

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

html, body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: var(--graphit);
  line-height: 1.6;
}

header {
  background-color: var(--graphit);
  color: #ffffff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

nav a:hover {
  color: var(--salbeigrun);
}

nav a.active {
  color: var(--salbeigrun);
  border-bottom: 2px solid var(--salbeigrun);
  padding-bottom: 0.5rem;
}

main {
  min-height: calc(100vh - 200px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

section {
  margin: var(--spacing) 0;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(52, 58, 64, 0.1);
}

section:last-of-type {
  border-bottom: none;
}

h1 {
  font-size: 2.5rem;
  color: var(--graphit);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  color: var(--marineblau);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  color: var(--graphit);
  margin-bottom: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
}

.text-image-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

.text-image-block.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.text-image-block.reverse > * {
  direction: ltr;
}

.text-image-block img {
  max-width: 100%;
  height: auto;
  width: 300px;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.image-caption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
  font-style: italic;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.card {
  background-color: var(--beige);
  border: 1px solid rgba(52, 58, 64, 0.2);
  padding: 2rem;
  border-radius: 4px;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(52, 58, 64, 0.1);
}

.card h3 {
  color: var(--marineblau);
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--salbeigrun);
  color: var(--graphit);
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #7aa87a;
}

.disclaimer-box {
  background-color: var(--beige);
  border-left: 4px solid var(--salbeigrun);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.disclaimer-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--graphit);
}

footer {
  background-color: var(--graphit);
  color: #ffffff;
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--salbeigrun);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--salbeigrun);
}

.footer-contact {
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--graphit);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(52, 58, 64, 0.3);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--salbeigrun);
  box-shadow: 0 0 0 2px rgba(143, 188, 143, 0.2);
}

.form-container {
  max-width: 600px;
  margin: 2rem 0;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--graphit);
  color: #ffffff;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookie-accept {
  background-color: var(--salbeigrun);
  color: var(--graphit);
}

.cookie-accept:hover {
  background-color: #7aa87a;
}

.cookie-reject {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.cookie-reject:hover {
  background-color: rgba(255,255,255,0.1);
}

.cookie-info {
  background-color: transparent;
  color: var(--salbeigrun);
  border: 1px solid var(--salbeigrun);
}

.cookie-info:hover {
  background-color: rgba(143, 188, 143, 0.1);
}

.thank-you-container {
  text-align: center;
  padding: 4rem 2rem;
}

.thank-you-container h1 {
  color: var(--salbeigrun);
  margin-bottom: 1rem;
}

.thank-you-container p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.back-link {
  display: inline-block;
  background-color: var(--salbeigrun);
  color: var(--graphit);
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.back-link:hover {
  background-color: #7aa87a;
}

.accent-text {
  color: var(--salbeigrun);
  font-weight: 600;
}

ul, ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  nav ul {
    gap: 1rem;
    flex-direction: column;
  }

  .text-image-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .text-image-block.reverse {
    direction: ltr;
  }

  .text-image-block.reverse > * {
    direction: ltr;
  }

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

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

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

  main {
    padding: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .text-image-block {
    gap: 2rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-section {
  background: linear-gradient(135deg, rgba(52, 58, 64, 0.95) 0%, rgba(47, 79, 79, 0.95) 100%);
  color: #ffffff;
  padding: 4rem 2rem;
  text-align: center;
  margin: -2rem -2rem 2rem -2rem;
}

.hero-section h1 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 3rem;
}

.hero-section p {
  font-size: 1.2rem;
  color: var(--beige);
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
}

.compliance-banner {
  background-color: var(--beige);
  border: 1px solid var(--salbeigrun);
  padding: 1.5rem;
  border-radius: 4px;
  margin: 1rem 0;
  text-align: center;
  font-weight: 600;
  color: var(--graphit);
}
