#luk-bereiche-head {
  --bh-font: "Inter Variable", "Inter", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --bh-font-arabic: "Noto Sans Arabic", "Noto Sans", Arial, sans-serif;

  --bh-bg: linear-gradient(135deg, #ffffff 0%, #ffffff 65%, #f4faf6 100%);
  --bh-border: rgba(16, 41, 31, 0.08);
  --bh-shadow: 0 1px 2px rgba(16, 41, 31, 0.04), 0 10px 28px rgba(16, 41, 31, 0.10);
  --bh-title: #0c2219;
  --bh-text: #2c4339;
  --bh-accent: #1f8a5b;
  --bh-icon-bg: linear-gradient(145deg, #dff6e7, #bdecca);
  --bh-icon-color: #173b2d;
  --bh-soft: #e8faf0;

  margin: 0 0 18px;
  font-family: var(--bh-font);
  text-align: start;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Dark Mode */
html.luk-dark #luk-bereiche-head {
  --bh-bg: #10231c;
  --bh-border: rgba(255, 255, 255, 0.08);
  --bh-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  --bh-title: #f1faf5;
  --bh-text: #c4d8ce;
  --bh-accent: #6fe0a8;
  --bh-icon-bg: #173027;
  --bh-icon-color: #6fe0a8;
  --bh-soft: #173027;
}

/* Grundlayout */
#luk-bereiche-head,
#luk-bereiche-head * {
  box-sizing: border-box;
}

#luk-bereiche-head * {
  font-family: inherit;
  text-align: start;
}

#luk-bereiche-head svg {
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Box */
#luk-bereiche-head .bereiche-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  overflow: hidden;
  background: var(--bh-bg);
  border: 1px solid var(--bh-border);
  border-radius: 22px;
  box-shadow: var(--bh-shadow);
}

#luk-bereiche-head .bereiche-box::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -100px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(163, 230, 191, 0.28) 0%, transparent 72%);
  pointer-events: none;
}

html.luk-dark #luk-bereiche-head .bereiche-box::before {
  opacity: 0.35;
}

#luk-bereiche-head .bereiche-left {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* Icon */
#luk-bereiche-head .bereiche-icon {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--bh-icon-bg);
  color: var(--bh-icon-color);
  box-shadow: 0 6px 16px rgba(15, 107, 80, 0.10);
}

html.luk-dark #luk-bereiche-head .bereiche-icon {
  box-shadow: none;
}

#luk-bereiche-head .bereiche-icon svg {
  width: 26px;
  height: 26px;
}

/* Text */
#luk-bereiche-head .bereiche-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

#luk-bereiche-head .bereiche-label {
  color: var(--bh-accent);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#luk-bereiche-head .bereiche-title {
  margin: 0;
  padding: 0;
  color: var(--bh-title) !important;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  hyphens: auto;
}

#luk-bereiche-head .bereiche-text {
  margin: 2px 0 0;
  color: var(--bh-text) !important;
  font-size: 15px;
  line-height: 1.5;
}

/* "Hier auswählen" */
#luk-bereiche-head .bereiche-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--bh-soft);
  color: var(--bh-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

#luk-bereiche-head .bereiche-action svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
  animation: luk-bh-bounce 1.8s ease-in-out infinite;
}

@keyframes luk-bh-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

/* Arabische Schriften & RTL */
html:is([lang="ar"], [lang="fa"], [lang="ps"], [lang="ur"]) #luk-bereiche-head {
  font-family: var(--bh-font-arabic);
}

html:is([lang="ar"], [lang="fa"], [lang="ps"], [lang="ur"]) #luk-bereiche-head * {
  letter-spacing: 0;
}

html[dir="rtl"] #luk-bereiche-head {
  direction: rtl;
}

/* Weniger Bewegung */
@media (prefers-reduced-motion: reduce) {
  #luk-bereiche-head .bereiche-action svg {
    animation: none;
  }
}

/* Smartphone */
@media (max-width: 560px) {
  #luk-bereiche-head .bereiche-box {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
  }

  #luk-bereiche-head .bereiche-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  #luk-bereiche-head .bereiche-icon svg {
    width: 23px;
    height: 23px;
  }

  #luk-bereiche-head .bereiche-text {
    font-size: 14px;
  }

  #luk-bereiche-head .bereiche-action {
    justify-content: center;
  }
}
