:root {
  --primary-color: #0c0c25;
  --accent-color: #e97a2b;
  --background-color: #f4f4f4;
  --text-color: #333;
  --light-bg: #ffffff;
}

/* Reset & Basis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: var(--background-color);
  color: var(--text-color);
}

a {
  text-decoration: none;
  color: inherit;
}

h3 {
  margin: 2rem 0;
}

h4 {
  margin: 1rem;
}

/* Header & Navigation */
header {
  background: var(--primary-color);
  color: white;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

article header {
  background: white;
  color: var(--primary-color);
}

/* Standard Desktop-Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.navbar h1 {
  font-size: 1.5rem;
  margin: 0;
}

.navbar h1 a {
  color: white;
}

.navbar h1 a:hover,
.navbar nav a:hover {
  color: var(--accent-color);
}
.navbar nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Versteckt den Toggle-Input */
.menu-toggle {
  display: none;
}

/* Standard: horizontale Navigation */
.nav-links {
  display: flex;
  gap: 1rem;
}

/* Burger-Icon nur mobil */
.burger {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
}

/* ✅ Mobile Styles */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: var(--primary-color);
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 1rem 2rem;
    z-index: 999;
  }

  /* ✅ Zeige das Menü, wenn das Input-Checkbox aktiv ist */
  .menu-toggle:checked + .burger + .nav-links {
    display: flex;
  }
}

/* Layout Container */
main {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 1rem;
  z-index: 1;
  width: 90%;
  max-width: 800px;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.hero-content button {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-content button:hover {
  background-color: var(--accent-color);
}

/* Responsive Hero */
@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 900px) {
  .grid-container,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .hero-content h2 {
    font-size: 1.5rem;
  }

  .hero-content p,
  .hero-content button {
    font-size: 0.9rem;
  }

  .hero-content button {
    padding: 0.6rem 1.2rem;
  }

  .grid-container,
  .guide-grid {
    grid-template-columns: 1fr;
  }
}

/* Section Wrapper */
.section-wrapper {
  padding: 3rem 2rem;
  text-align: center;
}

.section-wrapper ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.section-wrapper li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Optional: section backgrounds */
.kurse {
  background-color: #eef0f3;
}
.kaufratgeber {
  background-color: #f9f9f9;
}
.krisenvorsorge {
  background-color: #fff;
}
.wildnispaedagogik {
  background-color: #eef0f3;
}

/* Section Headings */
.section-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section-wrapper p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #555;
}

/* Grid Container */
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-items: center;
  justify-content: center;
  gap: 1.5rem;
}

/* Grid Card (Kurse, Ratgeber, Vorsorge, Wildnis) */
.grid-card {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: transform 0.2s ease;
}

.grid-card:hover {
  transform: translateY(-4px);
}

.grid-card h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin: 0;
  margin-bottom: 0.5rem;
}

.grid-card p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 0;
}

.schedule-day {
  margin-bottom: 2.5rem;
}

.schedule-list {
  min-width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule-item {
  min-width: 220px;
  background: #fff;
  border-left: 4px solid var(--accent-color);
  padding: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  display: flex;
  align-items: flex-start;
}

.schedule-item .time {
  font-weight: bold;
  color: var(--primary-color);
  min-width: 70px;
}

.schedule-item .details {
  flex: 1;
}

.schedule-item .activity {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.schedule-item .module {
  font-size: 0.85rem;
  color: #888;
  margin-top: 0.3rem;
  display: inline-block;
}

/* Modern About Sections */
.about__section {
  margin: 2.5rem auto;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  padding: 2.5rem 2rem;
  transition: box-shadow 0.2s;
}

.about__section-inner {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.about__section-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  color: var(--accent-color);
  margin-top: 0.2em;
}

.about__section h2 {
  margin-bottom: 0.7rem;
  font-size: 2rem;
  color: var(--primary-color);
}

.about__section p,
.about__section ul {
  font-size: 1.15rem;
  color: #444;
}

.about__values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about__values-list li {
  margin-bottom: 0.5rem;
  padding-left: 0;
}

@media (max-width: 768px) {
  .about__section-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .about__section-icon {
    margin-bottom: 0.5rem;
  }
}

/* Team Member Section */
.about__team-member {
  margin: 3rem auto 3rem auto;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  padding: 2.5rem 2rem;
}

.about__team-member-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.about__team-member-text {
  flex: 1 1;
}

.about__team-member-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.about__team-member-closing {
  margin: 1rem 0;
}

.about__team-member-image img {
  max-width: 250px;
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* Responsive: Bild oben, Text unten */
@media (max-width: 768px) {
  .about__team-member-grid {
    flex-direction: column;
    text-align: center;
  }
  .about__team-member-image {
    margin-bottom: 1rem;
  }
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-column h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.footer-column ul {
  list-style: none;
  margin: 1rem;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: white;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--accent-color);
}

@media (max-width: 600px) {
  .footer {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Affiliate Box */
.affiliate-box {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-top: 2rem;
  transition: box-shadow 0.3s ease;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.affiliate-box:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.affiliate-subsection {
  margin: 2rem 0;
}

.affiliate-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  gap: 1rem;
  width: 100%;
}

.affiliate-box img {
  width: 120px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.affiliate-content {
  flex: 1;
}

.affiliate-button {
  display: inline-block;
  margin-top: 0.5rem;
  background-color: var(--accent-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.affiliate-button:hover {
  background-color: #c0621e;
}

/* Guide & Highlight Sections */
.intro-section,
.guide-section,
.highlight-section,
.disclaimer-section,
.product-section,
.care-section {
  padding: 2rem;
}

.disclaimer-section p {
  font-size: 0.9rem;
  color: #c0621e;
}

.highlight-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary-color);
  font-weight: 700;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.highlight-link:hover,
.highlight-link:focus-visible {
  color: var(--accent-color);
}

.highlight-link .link-icon {
  display: inline-flex;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.highlight-link:hover .link-icon,
.highlight-link:focus-visible .link-icon {
  transform: translateX(2px);
}

.mailto-link {
  display: inline-flex;
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.mailto-link:hover,
.mailto-link:focus-visible {
  color: var(--accent-color);
  transform: translateX(1px);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
  gap: 2rem;
}

.highlight-section {
  background: #f4f4f4;
  border-radius: 10px;
}

/* Utils */
.hidden {
  display: none;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0c0c25;
  color: white;
  padding: 1.5rem;
  z-index: 9999;
}

.cookie-content {
  max-width: 900px;
  margin: 0 auto;
}

.cookie-options {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-options input {
  margin-right: 0.5rem;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cookie-buttons button {
  background: var(--accent-color);
  border: none;
  padding: 0.5rem 1rem;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.cookie-buttons button:nth-child(2) {
  background: #555;
}

.cookie-buttons button:nth-child(3) {
  background: #888;
}

.cookie-buttons a {
  color: #ccc;
  font-size: 0.85rem;
  margin-left: auto;
}

.hidden {
  display: none;
}
