/* =====================================================================
   BR - Erneuerbare GmbH — Stylesheet
   Minimalistisch, neutral mit grünem Akzent. Keine externen Ressourcen.
   ===================================================================== */

:root {
  --bg:        #ffffff;
  --bg-soft:   #f4f6f0;
  --bg-deep:   #1d2417;
  --ink:       #2a3320;
  --ink-soft:  #51593f;
  --muted:     #7a826c;
  --line:      #e6e9dd;
  --accent:    #5f7d44;
  --accent-2:  #7d9b57;
  --accent-ink:#ffffff;
  --maxw:      1120px;
  --header-h:  95px;
  --radius:    14px;
  --shadow:    0 10px 30px rgba(16, 37, 33, 0.08);
  --shadow-sm: 0 4px 14px rgba(16, 37, 33, 0.06);
  --t:         180ms ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 6px); }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--accent-2); }
h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; color: var(--ink-soft); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__head p { font-size: 1.05rem; color: var(--muted); margin: 0; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1.5px solid transparent; cursor: pointer; transition: all var(--t);
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-2); color: #fff; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-soft); color: var(--accent); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color var(--t), box-shadow var(--t);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: calc(var(--header-h) - 14px); width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--ink-soft); font-weight: 500; font-size: .97rem; }
.nav__links a:hover { color: var(--accent); }
.nav__cta { margin-left: 8px; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px; width: 44px; height: 44px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: all var(--t); }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 110px 0 96px; background: var(--bg); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(125,155,87,.16), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(95,125,68,.10), transparent 55%);
}
.hero .container { position: relative; z-index: 1; }
.hero__inner { max-width: 760px; }
.hero h1 { margin-bottom: 18px; }
.hero__lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 620px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__tags { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__tags span { display: inline-flex; align-items: center; gap: 12px; font-weight: 400; color: var(--ink); font-size: 1.05rem; }
.hero__tags span strong { font-weight: 700; }
.hero__tags span::before { content: ""; flex: 0 0 24px; width: 24px; height: 24px; background: url("../assets/Hook.jpg") center / contain no-repeat; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about__lead { font-size: 1.15rem; color: var(--ink); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.stat__num { font-size: 1.9rem; font-weight: 700; color: var(--accent); letter-spacing: -.02em; }
.stat__label { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Cards grid (Leistungen) ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(125,155,87,.16); color: var(--accent); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: .97rem; }

/* ---------- Process (Arbeitsweise) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 18px; font-size: 1.05rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .95rem; margin: 0; }

/* ---------- Audience (Zielgruppen) ---------- */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.audience__item {
  background: var(--bg-deep); color: #dfeae5; border-radius: var(--radius); padding: 34px 30px;
  position: relative; overflow: hidden;
}
.audience__item h3 { color: #fff; }
.audience__item p { color: #b9c9c2; margin: 0; font-size: .97rem; }
.audience__item .card__icon { background: rgba(255,255,255,.14); color: #c2d6a0; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.person { display: flex; gap: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.person__avatar {
  flex: 0 0 76px; width: 76px; height: 76px; border-radius: 50%;
  object-fit: cover; object-position: center top; background: var(--bg-soft);
}
.person h3 { margin-bottom: 2px; }
.person__role { color: var(--accent); font-weight: 600; font-size: .9rem; margin: 0 0 12px; }
.person__contact { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.person__contact li { margin-bottom: 4px; }
.person__contact a { color: var(--ink-soft); }
.person__contact a:hover { color: var(--accent); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__list { list-style: none; margin: 0; padding: 0; }
.contact__list li { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact__list .card__icon { flex: 0 0 44px; width: 44px; height: 44px; margin: 0; }
.contact__list strong { display: block; color: var(--ink); }
.contact__list a, .contact__list span { color: var(--ink-soft); }
.contact__panel { background: var(--bg-deep); color: #dfeae5; border-radius: var(--radius); padding: 40px; }
.contact__panel h3 { color: #fff; }
.contact__panel p { color: #b9c9c2; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-deep); color: #9fb3ab; padding: 56px 0 32px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand img { height: 130px; width: auto; }
.footer__cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer__col h4 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { color: #9fb3ab; font-size: .95rem; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .88rem; }
.footer__bottom a { color: #9fb3ab; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Legal pages ---------- */
.legal { padding: 64px 0 80px; }
.legal .container { max-width: 820px; }
.legal h1 { margin-bottom: 28px; }
.legal h2 { font-size: 1.35rem; margin-top: 40px; }
.legal h3 { margin-top: 26px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal .placeholder {
  background: #fff7e6; border: 1px dashed #e0b452; color: #8a6300;
  padding: 2px 8px; border-radius: 6px; font-size: .92em; font-weight: 600;
}
.legal .back { display: inline-block; margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid--3, .steps, .audience { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .contact__grid, .team { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .section { padding: 60px 0; }
  .hero { padding: 44px 0 56px; }
  .hero__lead { font-size: 1.08rem; }
  .hero__tags { margin-top: 32px; padding-top: 24px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 16px 24px 24px; gap: 4px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all var(--t);
    box-shadow: var(--shadow);
  }
  .nav__links.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav__cta { margin: 12px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .section__head { margin-bottom: 40px; }
  .contact__panel { padding: 28px; }
  .footer__top { gap: 28px; }
  .footer__brand img { height: 96px; }
  .footer__cols { gap: 24px 40px; }
}
@media (max-width: 560px) {
  .grid--3, .steps, .audience, .stats { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .person { flex-direction: column; gap: 16px; }
}
