/* ==========================
   CI-Variablen – hier deine CI eintragen
   ========================== */
:root {
  /* deine CI-Farben */
  --color-bg: #f4efe7;      /* warmer, heller Hintergrund */
  --color-bg-alt: #ffffff;  /* weiße Flächen/Karten */
  --color-text: #5e4635;    /* Haupttext – warmes Braun */
  --color-muted: #7a8b63;   /* gedämpfter Grün-Ton für sekundären Text */
  --color-accent: #7a8b63;  /* Hauptakzent (Buttons, Links) */
  --color-accent-soft: #c87b7c1a; /* sehr zarte Tönung des Rosa (#c87b7c) mit Transparenz */
  --color-border: #e0d6c8;  /* dezente Rahmenfarbe, passend zum Hintergrund */

  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-heading: var(--font-base);
}

/* Global */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 36px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 600;
}

.brand-tagline {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.nav {
  display: flex;
  gap: 16px;
  font-size: 0.95rem;
}

.nav a {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover {
  border-color: var(--color-accent);
}

/* Hero */
.hero {
  position: relative;
  min-height: 60vh;
  color: #ffffff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.35)
  );
}

.hero-content {
  position: relative;
  padding: 60px 16px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.hero p {
  max-width: 540px;
  font-size: 1rem;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--color-accent);
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-secondary {
  background: transparent;
  border-color: #ffffffcc;
  color: #ffffff;
}

.btn-secondary:hover {
  background: #ffffff10;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.section-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 24px;
}

.highlight-box {
  background: var(--color-accent-soft);
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid var(--color-border);
}

.highlight-box h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

.highlight-box ul {
  padding-left: 20px;
  margin: 0;
  font-size: 0.95rem;
}

/* Grid Themen */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  padding: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.03);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

/* YouTube */
.youtube-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.14);
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Kontaktformular */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ffffff;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid var(--color-border);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

label {
  font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
textarea {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  font: inherit;
  background: #f9fafb;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--color-accent-soft);
  outline-offset: 1px;
}

.checkbox-field {
  font-size: 0.85rem;
}

.checkbox-field input {
  margin-right: 6px;
}

.form-hint {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: #ffffff;
  padding: 14px 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer-nav {
  display: flex;
  gap: 12px;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .nav {
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 70vh;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Language Switch */
.lang-switch {
  border-bottom: 1px solid var(--color-border);
  background: #ffffff;
}

.lang-switch-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.lang-switch-buttons {
  display: inline-flex;
  gap: 4px;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
}

.lang-btn.active {
  background: #ffffff;
  color: var(--color-text);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
