/*
Flauschebande v1.6
Global header, calmer footer, story detail pages and standard pages.
*/

:root {
  --fb-bg: #fff8ec;
  --fb-bg-soft: #fffdf7;
  --fb-paper: rgba(255, 255, 255, .78);
  --fb-ink: #172334;
  --fb-muted: #4b5b66;
  --fb-green: #6fad62;
  --fb-green-dark: #2f7146;
  --fb-blue: #5aa8d6;
  --fb-coral: #df7b63;
  --fb-mint: #f1faef;
  --fb-sky: #eff9ff;
  --fb-peach: #fff1e9;
  --fb-line: rgba(43, 73, 52, .15);
  --fb-shadow: 0 20px 50px rgba(47, 75, 48, .12);
  --fb-radius: 28px;
}

html { scroll-behavior: smooth; }

body.fb-theme {
  margin: 0;
  background:
    radial-gradient(circle at 0 18%, rgba(143, 190, 113, .13), transparent 260px),
    radial-gradient(circle at 98% 12%, rgba(255, 201, 127, .14), transparent 330px),
    linear-gradient(180deg, var(--fb-bg-soft), var(--fb-bg)) !important;
  color: var(--fb-ink);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

body.fb-theme h1,
body.fb-theme h2,
body.fb-theme h3,
body.fb-theme .fb-logo strong,
.fb-card-content strong,
.fb-newsletter strong,
.fb-footer strong {
  font-family: "Trebuchet MS", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.fb-site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.fb-main,
.fb-header,
.fb-footer,
.fb-hero,
.fb-hero-copy,
.fb-hero-art,
.fb-category-grid,
.fb-feature-card,
.fb-story-grid,
.fb-story-card,
.fb-parent-box,
.fb-newsletter,
.fb-single-content,
.fb-page-content { box-sizing: border-box; }

/* Header */
.fb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 96px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  width: min(1360px, calc(100vw - 72px));
  margin: 0 auto;
  padding: 0;
}

.fb-header::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 96px;
  background: rgba(255, 253, 247, .93);
  border-bottom: 1px solid rgba(26, 39, 35, .09);
  box-shadow: 0 6px 20px rgba(50, 52, 38, .07);
  backdrop-filter: blur(12px);
  z-index: -1;
}

.fb-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 9px 22px 9px 9px;
  border: 1px solid rgba(96, 137, 83, .22);
  border-radius: 28px;
  background: rgba(255, 250, 240, .96);
  box-shadow: 0 10px 28px rgba(43, 62, 41, .08);
  color: var(--fb-ink);
  text-decoration: none;
}

.fb-logo-media,
.fb-logo-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #fff;
  font-size: 1.75rem;
}

.fb-logo-media img,
.fb-logo-img,
.fb-logo .custom-logo {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 50% !important;
}

.fb-logo .custom-logo-link { display: contents !important; }

.fb-logo-text {
  display: grid;
  line-height: 1.05;
  min-width: 0;
}

.fb-logo-text strong {
  color: var(--fb-green-dark);
  font-size: clamp(1.2rem, 1.75vw, 1.72rem);
  white-space: nowrap;
}

.fb-logo-text small {
  color: var(--fb-green);
  font-weight: 800;
  font-size: .96rem;
}

.fb-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  font-weight: 850;
}

.fb-nav a,
.fb-footer a,
.fb-story-body h3 a,
.fb-read-more,
.fb-back-link,
.fb-single-kicker a {
  text-decoration: none;
}

.fb-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fb-ink);
  line-height: 1;
}

.fb-nav a:hover,
.fb-footer a:hover,
.fb-story-body h3 a:hover,
.fb-read-more:hover,
.fb-back-link:hover { color: var(--fb-green-dark); }

.fb-nav span { font-size: 1.35rem; }

.fb-heart {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(111, 173, 98, .42);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--fb-coral);
  font-size: 1.75rem;
  text-decoration: none;
  background: #fffdf7;
  box-shadow: 0 8px 22px rgba(43, 62, 41, .06);
}

/* Main / Hero */
.fb-main {
  width: min(1360px, calc(100vw - 72px));
  margin: 0 auto;
  padding: clamp(56px, 6vw, 88px) 0 54px;
}

.fb-hero {
  display: grid;
  grid-template-columns: minmax(430px, .9fr) minmax(540px, 1.1fr);
  gap: clamp(56px, 6vw, 94px);
  align-items: center;
  margin-bottom: clamp(52px, 6vw, 76px);
  position: relative;
}

.fb-hero::before {
  content: "🦋";
  position: absolute;
  left: -38px;
  top: 26%;
  font-size: 2rem;
  opacity: .55;
}

.fb-hero-copy {
  max-width: 600px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.fb-hero-copy h1 {
  margin: 0 0 20px;
  line-height: .95;
  letter-spacing: -.045em;
  font-family: Georgia, "Trebuchet MS", serif;
  font-weight: 700;
}

.fb-hero-copy h1 span {
  display: block;
  color: var(--fb-ink);
  font-size: clamp(3.05rem, 3.75vw, 4.85rem);
}

.fb-hero-copy h1 strong {
  display: block;
  color: #3f7a4f;
  font-size: clamp(4.55rem, 5.15vw, 6.25rem);
  line-height: .94;
  white-space: normal;
}

.fb-hero-copy p {
  margin: 0;
  max-width: 560px;
  color: var(--fb-ink);
  font-size: clamp(1.06rem, 1.2vw, 1.24rem);
  line-height: 1.7;
}

.fb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.fb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(55, 85, 48, .16);
}

.fb-button-primary { background: var(--fb-green); color: #fff; }
.fb-button-primary:hover { background: var(--fb-green-dark); color: #fff; }
.fb-button-secondary { background: #fff; color: #246a99; border: 2px solid rgba(90, 168, 214, .42); }

.fb-hero-art { margin: 0; position: relative; z-index: 1; }
.fb-hero-art img {
  width: 100%;
  max-height: 390px;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 34px;
  background: #f6eedf;
  box-shadow: 0 24px 70px rgba(54, 79, 52, .16);
}

.fb-hero-placeholder {
  min-height: 360px;
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 42px);
  background:
    radial-gradient(circle at 50% 30%, rgba(255,255,255,.72), transparent 160px),
    linear-gradient(135deg, #ddf2d5, #d7effb 55%, #fff1d9);
  box-shadow: 0 24px 70px rgba(54, 79, 52, .16);
  font-size: clamp(3rem, 6vw, 5.5rem);
}

/* Category cards */
.fb-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: clamp(54px, 6vw, 78px);
}

.fb-feature-card {
  display: grid;
  grid-template-columns: 92px 1fr 40px;
  align-items: center;
  gap: 18px;
  min-height: 158px;
  padding: 26px;
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  box-shadow: var(--fb-shadow);
  text-decoration: none;
  color: var(--fb-ink);
  transition: transform .18s ease, box-shadow .18s ease;
}

.fb-feature-card:hover { transform: translateY(-2px); box-shadow: 0 24px 58px rgba(47, 75, 48, .16); }
.fb-feature-story { background: linear-gradient(135deg, var(--fb-mint), #fff); }
.fb-feature-coloring { background: linear-gradient(135deg, var(--fb-sky), #fff); }
.fb-feature-kitchen { background: linear-gradient(135deg, var(--fb-peach), #fff); }

.fb-card-illustration {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255,255,255,.78);
  font-size: 2.7rem;
  box-shadow: inset 0 0 0 1px rgba(57, 86, 55, .06), 0 8px 18px rgba(44, 62, 45, .08);
}

.fb-card-illustration img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-card-content { min-width: 0; }
.fb-card-content strong { display: block; font-size: 1.52rem; line-height: 1.15; margin-bottom: 8px; }
.fb-card-content small { display: block; color: var(--fb-muted); line-height: 1.45; font-weight: 650; }
.fb-card-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--fb-green-dark); font-weight: 900; }

/* Front content */
.fb-content-row { display: block; }
.fb-stories-area { width: 100%; }
.fb-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.fb-section-heading h2 { margin: 0; font-size: clamp(2rem, 2.8vw, 3rem); line-height: 1.08; }
.fb-section-heading a,
.fb-read-more { color: var(--fb-green-dark); font-weight: 900; }

.fb-story-grid,
.fb-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.fb-story-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(34, 56, 38, .12);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(46, 61, 37, .08);
}

.fb-story-image {
  display: block;
  overflow: hidden;
  background: #f5f5f0;
  color: var(--fb-green-dark);
}

.fb-story-image img {
  width: 100%;
  aspect-ratio: 1.52 / 1;
  object-fit: cover;
  display: block;
}

.fb-story-image-placeholder {
  min-height: 190px;
  display: grid;
  place-items: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #eff9e9, #fff8ec);
}

.fb-story-body { padding: 20px 20px 22px; }
.fb-story-body h3 { margin: 0 0 8px; font-size: 1.14rem; line-height: 1.28; }
.fb-story-body h3 a { color: var(--fb-ink); }
.fb-story-meta { color: var(--fb-muted); font-size: .86rem; margin: 0 0 10px; }
.fb-story-body p:not(.fb-story-meta) { color: var(--fb-muted); font-size: .93rem; line-height: 1.52; margin: 0 0 14px; }

/* Parent box */
.fb-parent-box {
  margin-top: 36px;
  width: 100%;
  display: grid;
  grid-template-columns: 270px repeat(3, minmax(0, 1fr)) 48px;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  background: linear-gradient(135deg, #f8fff4, #fffdf8);
  box-shadow: var(--fb-shadow);
  padding: 28px 32px;
  overflow: hidden;
}

.fb-parent-lead { min-width: 0; }
.fb-parent-box h2 { margin: 0 0 6px; font-size: 2.2rem; }
.fb-parent-intro { color: var(--fb-muted); line-height: 1.45; margin: 0; font-size: .98rem; }
.fb-parent-item { display: grid; grid-template-columns: 38px 1fr; gap: 12px; margin: 0; min-width: 0; }
.fb-parent-item span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px rgba(57, 86, 55, .08); }
.fb-parent-item p { margin: 0; color: var(--fb-muted); line-height: 1.38; font-size: .88rem; }
.fb-parent-item strong { color: var(--fb-coral); }
.fb-parent-hedgehog { text-align: right; font-size: 2.4rem; align-self: end; }

/* Newsletter */
.fb-newsletter {
  width: 100%;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  border-radius: 26px;
  background: linear-gradient(135deg, #fff2d8, #fff9ed);
  border: 1px solid rgba(222, 169, 75, .25);
  box-shadow: var(--fb-shadow);
  padding: 22px 28px;
}
.fb-newsletter strong { color: var(--fb-ink); font-size: 1.25rem; }
.fb-newsletter p { margin: 4px 0 0; color: var(--fb-muted); }

/* Archive, single and pages */
.fb-archive-main,
.fb-single-main,
.fb-page-main {
  width: min(1120px, calc(100vw - 56px));
  padding-top: clamp(52px, 6vw, 82px);
}

.fb-archive-hero,
.fb-page-header,
.fb-single-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 34px;
}

.fb-kicker,
.fb-single-kicker {
  color: var(--fb-green-dark);
  font-weight: 900;
  margin: 0 0 8px;
}

.fb-single-kicker a { color: var(--fb-green-dark); }

.fb-archive-hero h1,
.fb-single-header h1,
.fb-page-header h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: .98;
  letter-spacing: -0.045em;
  margin: 0 0 16px;
  color: var(--fb-ink);
}

.fb-archive-hero p,
.fb-archive-description {
  color: var(--fb-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.fb-pagination { margin-top: 34px; text-align: center; }
.fb-pagination .nav-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.fb-pagination a,
.fb-pagination span { display: inline-flex; min-width: 38px; min-height: 38px; align-items: center; justify-content: center; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--fb-line); color: var(--fb-ink); text-decoration: none; font-weight: 800; }
.fb-pagination .current { background: var(--fb-green); color: #fff; }

.fb-single,
.fb-page { max-width: 860px; margin: 0 auto; }
.fb-back-link { display: inline-flex; margin-bottom: 24px; color: var(--fb-green-dark); font-weight: 900; }
.fb-single-image { margin: 0 0 30px; }
.fb-single-image img { width: 100%; height: auto; display: block; border-radius: 28px; box-shadow: var(--fb-shadow); }

.fb-single-content,
.fb-page-content {
  background: var(--fb-paper);
  border: 1px solid var(--fb-line);
  border-radius: 28px;
  padding: clamp(24px, 4vw, 46px);
  font-size: 1.12rem;
  line-height: 1.85;
  box-shadow: 0 14px 34px rgba(46, 61, 37, .06);
}

.fb-single-content p,
.fb-page-content p { margin-top: 0; }
.fb-single-content h2,
.fb-page-content h2 { margin-top: 1.4em; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.15; }
.fb-single-content a,
.fb-page-content a { color: var(--fb-green-dark); font-weight: 800; }
.fb-single-footer { text-align: center; margin-top: 28px; }

/* Footer */
.fb-footer {
  position: relative;
  width: 100%;
  max-width: none;
  margin-top: 28px;
  padding: 44px max(28px, calc((100vw - 1360px) / 2 + 36px)) 32px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  background: linear-gradient(180deg, rgba(230, 243, 212, .72), rgba(215, 235, 195, .86));
  color: #345047;
  overflow: hidden;
}

.fb-footer::before {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  top: -24px;
  height: 46px;
  background: var(--fb-bg);
  border-radius: 0 0 50% 50%;
  z-index: 0;
  opacity: .85;
}

.fb-footer::after {
  content: "🌼";
  position: absolute;
  left: 34px;
  bottom: 18px;
  font-size: 1.8rem;
  opacity: .45;
}

.fb-footer > * { position: relative; z-index: 1; }
.fb-footer-brand strong { display: inline-flex; align-items: center; gap: 6px; color: var(--fb-green-dark); font-size: 1.48rem; line-height: 1.1; }
.fb-footer-brand p { margin: 7px 0 0; max-width: 360px; color: #4d665e; line-height: 1.45; }
.fb-footer-nav { justify-self: center; display: flex; justify-content: center; gap: clamp(18px, 3vw, 34px); flex-wrap: wrap; font-weight: 900; }
.fb-footer-nav a { color: #1f332e; }
.fb-footer-social { justify-self: end; display: flex; gap: 12px; }
.fb-footer-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.72); color: var(--fb-green-dark); font-weight: 900; box-shadow: inset 0 0 0 1px rgba(47, 113, 70, .15); }

/* Responsive */
@media (max-width: 1180px) {
  .fb-header,
  .fb-main { width: min(980px, calc(100vw - 44px)); }
  .fb-hero { grid-template-columns: 1fr; gap: 34px; }
  .fb-hero-art { order: -1; }
  .fb-hero-art img { max-height: none; }
  .fb-category-grid { grid-template-columns: 1fr; gap: 18px; }
  .fb-story-grid,
  .fb-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fb-parent-box { display: block; }
  .fb-parent-item { margin: 18px 0; }
}

@media (max-width: 980px) {
  .fb-header { grid-template-columns: auto auto; justify-content: space-between; height: 82px; }
  .fb-header::before { height: 82px; }
  .fb-nav { display: none; }
  .fb-heart { display: grid; }
}

@media (max-width: 760px) {
  body.fb-theme {
    background:
      radial-gradient(circle at 0 8%, rgba(143, 190, 113, .15), transparent 210px),
      linear-gradient(180deg, #fffdf7, #fff8ec) !important;
  }

  .fb-header { width: min(100% - 24px, 520px); height: 72px; gap: 12px; }
  .fb-header::before { height: 72px; }
  .fb-logo { max-width: calc(100vw - 86px); padding: 6px 10px 6px 6px; border-radius: 22px; }
  .fb-logo-media,
  .fb-logo-mark { width: 42px; height: 42px; flex-basis: 42px; }
  .fb-logo-media img,
  .fb-logo-img,
  .fb-logo .custom-logo { width: 42px !important; height: 42px !important; max-width: 42px !important; max-height: 42px !important; }
  .fb-logo-text strong { font-size: 1.18rem; line-height: 1.05; }
  .fb-logo-text small { display: block; font-size: .75rem; }
  .fb-heart { width: 44px; height: 44px; font-size: 1.35rem; }

  .fb-main,
  .fb-archive-main,
  .fb-single-main,
  .fb-page-main { width: min(100% - 20px, 520px); padding-top: 24px; padding-bottom: 38px; }
  .fb-hero { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .fb-hero::before { display: none; }
  .fb-hero-copy h1 { margin-bottom: 14px; max-width: 100%; }
  .fb-hero-copy h1 span { font-size: clamp(2.05rem, 9.5vw, 3.15rem); line-height: 1; }
  .fb-hero-copy h1 strong { font-size: clamp(2.55rem, 12.5vw, 4.05rem); line-height: .95; letter-spacing: -0.04em; overflow-wrap: anywhere; }
  .fb-hero-copy p { max-width: 100%; font-size: 1rem; line-height: 1.55; }
  .fb-hero-art img,
  .fb-hero-placeholder { border-radius: 24px; box-shadow: 0 16px 42px rgba(54, 79, 52, .14); }
  .fb-hero-placeholder { min-height: 220px; }

  .fb-actions { display: grid; gap: 12px; margin-top: 22px; }
  .fb-button { min-height: 50px; width: 100%; padding: 0 18px; box-sizing: border-box; }

  .fb-category-grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 36px; }
  .fb-feature-card { grid-template-columns: 62px 1fr 34px; gap: 14px; min-height: 118px; padding: 16px; border-radius: 22px; }
  .fb-card-illustration { width: 58px; height: 58px; font-size: 2rem; }
  .fb-card-content strong { font-size: 1.24rem; margin-bottom: 5px; }
  .fb-card-content small { font-size: .86rem; line-height: 1.38; }
  .fb-card-arrow { width: 32px; height: 32px; }

  .fb-section-heading { display: block; margin-bottom: 18px; }
  .fb-section-heading h2 { font-size: clamp(1.9rem, 9vw, 2.5rem); margin-bottom: 8px; }
  .fb-section-heading a { font-size: .94rem; }
  .fb-story-grid,
  .fb-archive-grid { grid-template-columns: 1fr; gap: 18px; }
  .fb-story-card { border-radius: 22px; }
  .fb-story-image img { aspect-ratio: 1.55 / 1; }
  .fb-story-body { padding: 17px 18px 19px; }
  .fb-story-body h3 { font-size: 1.12rem; }

  .fb-parent-box { margin-top: 28px; padding: 20px 18px; border-radius: 20px; overflow: hidden; }
  .fb-parent-box h2 { font-size: clamp(1.75rem, 8vw, 2.2rem); line-height: 1.08; margin-bottom: 10px; }
  .fb-parent-intro { font-size: 1rem; line-height: 1.5; }
  .fb-parent-item { grid-template-columns: 38px 1fr; gap: 10px; margin: 14px 0; }
  .fb-parent-item span { width: 36px; height: 36px; }
  .fb-parent-item p { font-size: .95rem; line-height: 1.45; }
  .fb-parent-hedgehog { font-size: 2.2rem; margin-top: 6px; }

  .fb-newsletter { display: block; margin-top: 22px; padding: 18px 18px 20px; border-radius: 20px; overflow: hidden; }
  .fb-newsletter strong { display: block; font-size: 1.38rem; line-height: 1.12; margin-bottom: 8px; }
  .fb-newsletter p { margin: 0; font-size: 1rem; line-height: 1.5; }
  .fb-newsletter .fb-button { margin-top: 16px; }

  .fb-archive-hero,
  .fb-page-header,
  .fb-single-header { text-align: left; margin-bottom: 24px; }
  .fb-archive-hero h1,
  .fb-single-header h1,
  .fb-page-header h1 { font-size: clamp(2.1rem, 10vw, 3.2rem); }
  .fb-single-content,
  .fb-page-content { border-radius: 22px; padding: 22px 18px; font-size: 1.05rem; line-height: 1.75; }
  .fb-single-image img { border-radius: 22px; }

  .fb-footer { margin-top: 30px; padding: 46px 20px 30px; display: block; text-align: left; }
  .fb-footer::before { top: -26px; height: 54px; }
  .fb-footer::after { left: auto; right: 22px; bottom: 20px; font-size: 1.6rem; }
  .fb-footer-brand strong { font-size: 1.42rem; }
  .fb-footer-brand p { max-width: 100%; font-size: 1rem; margin-bottom: 20px; }
  .fb-footer-nav { justify-content: flex-start; gap: 16px 20px; font-size: .98rem; }
  .fb-footer-social { justify-content: flex-start; margin-top: 18px; }
}

@media (max-width: 390px) {
  .fb-main,
  .fb-archive-main,
  .fb-single-main,
  .fb-page-main { width: calc(100% - 16px); }
  .fb-logo-text strong { font-size: 1.02rem; }
  .fb-logo-text small { display: none; }
  .fb-hero-copy h1 span { font-size: 1.9rem; }
  .fb-hero-copy h1 strong { font-size: 2.3rem; line-height: .96; }
  .fb-feature-card { grid-template-columns: 54px 1fr; }
  .fb-card-arrow { display: none; }
  .fb-parent-box,
  .fb-newsletter { padding-left: 16px; padding-right: 16px; }
  .fb-footer { padding-left: 16px; padding-right: 16px; }
}

/* -------------------------------------------------------
   v1.6 Korrekturen nach Design-Review
   - Hero-Bild kommt aus WordPress uploads
   - Kacheln wieder ruhiger wie v1.4
   - Header-Logo als Sticker-Badge mit doppeltem Rahmen
   - Footer naeher ans Mockup, weicher und ohne schwarze Links
------------------------------------------------------- */

/* Sticker-Badge im Header */
.fb-logo {
  position: relative;
  border-radius: 30px;
  border: 1px solid rgba(115, 154, 92, .26);
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,250,238,.96));
  box-shadow:
    0 10px 26px rgba(43, 62, 41, .10),
    inset 0 0 0 4px rgba(255,255,255,.62);
}

.fb-logo::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 24px;
  border: 1px dashed rgba(111, 173, 98, .30);
  pointer-events: none;
}

.fb-logo-media {
  box-shadow:
    0 0 0 3px rgba(255,255,255,.95),
    0 0 0 5px rgba(111, 173, 98, .20),
    0 8px 18px rgba(43, 62, 41, .10);
}

/* Kacheln: wieder naeher an v1.4, weniger schwer, Bilder runder/passender */
.fb-category-grid {
  gap: 28px;
  margin-bottom: clamp(52px, 6vw, 76px);
}

.fb-feature-card {
  grid-template-columns: 92px 1fr 44px;
  min-height: 156px;
  padding: 24px;
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(47, 75, 48, .10);
}

.fb-feature-story { background: linear-gradient(135deg, #f1faef, #fffef8); }
.fb-feature-coloring { background: linear-gradient(135deg, #eff9ff, #fffef8); }
.fb-feature-kitchen { background: linear-gradient(135deg, #fff1e9, #fffef8); }

.fb-card-illustration {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  box-shadow:
    inset 0 0 0 1px rgba(57, 86, 55, .06),
    0 8px 18px rgba(44, 62, 45, .07);
}

.fb-card-content strong {
  font-size: 1.55rem;
  line-height: 1.15;
}

.fb-card-content small {
  font-weight: 650;
}

/* Footer: naeher am Mockup, weniger technischer Balken */
.fb-footer {
  margin-top: 18px;
  padding: 52px max(28px, calc((100vw - 1360px) / 2 + 36px)) 26px;
  grid-template-columns: minmax(260px, 1fr) auto minmax(170px, 1fr);
  background:
    radial-gradient(circle at 7% 72%, rgba(255,255,255,.58), transparent 150px),
    radial-gradient(circle at 92% 75%, rgba(255,255,255,.46), transparent 170px),
    linear-gradient(180deg, rgba(238, 248, 221, .42) 0%, rgba(222, 240, 199, .84) 46%, rgba(205, 229, 181, .92) 100%);
  color: #36584c;
}

.fb-footer::before {
  top: -28px;
  height: 58px;
  border-radius: 0 0 48% 52%;
  background: var(--fb-bg);
  opacity: 1;
}

.fb-footer::after {
  content: "🌿  🌼";
  left: 32px;
  bottom: 16px;
  opacity: .45;
  font-size: 1.45rem;
}

.fb-footer-brand strong {
  color: #2f7146;
  font-size: 1.5rem;
}

.fb-footer-brand p {
  color: #49665b;
  font-size: .98rem;
}

.fb-footer-nav a {
  color: #34584a;
  font-weight: 850;
}

.fb-footer-nav a:hover {
  color: #2f7146;
}

.fb-footer-social {
  justify-self: end;
  display: flex;
  gap: 10px;
}

.fb-footer-social span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(111, 173, 98, .88);
  color: #fffdf7;
  font-size: .78rem;
  font-weight: 900;
  text-transform: lowercase;
  box-shadow: 0 6px 14px rgba(47, 113, 70, .16), inset 0 0 0 1px rgba(255,255,255,.35);
}

@media (max-width: 760px) {
  .fb-logo::after { inset: 5px; border-radius: 19px; }

  .fb-feature-card {
    grid-template-columns: 62px 1fr 34px;
    min-height: 118px;
    padding: 16px;
    border-radius: 22px;
  }

  .fb-card-illustration {
    width: 58px;
    height: 58px;
  }

  .fb-footer {
    margin-top: 24px;
    padding: 44px 20px 30px;
  }

  .fb-footer::before {
    top: -24px;
    height: 50px;
  }

  .fb-footer-social {
    margin-top: 18px;
  }
}

/* -------------------------------------------------------
   v1.7 Korrekturen nach Screenshot-Review
   - keine Emoji-Navigation mehr, damit nichts springt
   - Kategorie-Titel ohne HTML-Span-Code
   - Story-Karten wieder querformatiger und niedriger
   - 12 Beitraege pro Archiv/Kategorie ueber functions.php
   - Footer-Social als echte inline SVG-Icons
   - Logo-Badge mit ruhigerem Sticker-Doppelrahmen
------------------------------------------------------- */

/* Header: feste Icongroessen statt Emoji-Fallback, verhindert Layoutspringen */
.fb-nav-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: inline-grid;
  place-items: center;
  color: #df7b63;
}

.fb-nav-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.fb-nav a:nth-child(1) .fb-nav-icon { color: #5aa8d6; }
.fb-nav a:nth-child(2) .fb-nav-icon { color: #df9b3e; }
.fb-nav a:nth-child(3) .fb-nav-icon { color: #6fad62; }

/* Sticker-Badge: keine punktige Innenlinie mehr, sondern ruhiger Doppelrahmen */
.fb-logo {
  border: 1px solid rgba(115, 154, 92, .28);
  box-shadow:
    0 10px 26px rgba(43, 62, 41, .10),
    inset 0 0 0 3px rgba(255,255,255,.72),
    inset 0 0 0 6px rgba(111, 173, 98, .055);
}

.fb-logo::after {
  inset: 7px;
  border-radius: 22px;
  border: 1px solid rgba(111, 173, 98, .22);
}

/* Archive/Kategorien: breiter und wie im Mockup eher querformatige Karten */
.fb-archive-main {
  width: min(1320px, calc(100vw - 72px));
}

.fb-archive-hero {
  margin-bottom: 32px;
}

.fb-archive-hero h1 {
  font-size: clamp(2.5rem, 4vw, 4.2rem);
}

.fb-archive-hero p,
.fb-archive-description {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.fb-story-grid,
.fb-archive-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.fb-story-card {
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(46, 61, 37, .075);
}

.fb-story-image img {
  aspect-ratio: 1.62 / 1;
}

.fb-story-image-placeholder {
  min-height: 158px;
}

.fb-story-body {
  padding: 16px 17px 18px;
}

.fb-story-body h3 {
  font-size: 1.02rem;
  line-height: 1.25;
  margin-bottom: 7px;
}

.fb-story-meta {
  font-size: .79rem;
  margin-bottom: 8px;
}

.fb-story-body p:not(.fb-story-meta) {
  font-size: .88rem;
  line-height: 1.45;
  margin-bottom: 12px;
}

.fb-read-more {
  font-size: .92rem;
}

/* Footer naeher ans Mockup: weicher, weniger schwarz, echte SVG-Symbole */
.fb-footer {
  margin-top: 34px;
  padding-top: 50px;
  padding-bottom: 30px;
  background:
    radial-gradient(circle at 8% 78%, rgba(255,255,255,.64), transparent 170px),
    radial-gradient(circle at 92% 80%, rgba(255,255,255,.44), transparent 170px),
    linear-gradient(180deg, rgba(241, 249, 225, .38) 0%, rgba(225, 241, 203, .78) 52%, rgba(207, 230, 184, .92) 100%);
}

.fb-footer-brand strong,
.fb-footer-nav a {
  color: #2f7146;
}

.fb-footer-nav a {
  font-weight: 850;
}

.fb-footer-brand p {
  color: #4f6a5d;
}

.fb-footer-social span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(111, 173, 98, .92);
  color: #fffdf7;
  box-shadow: 0 7px 16px rgba(47, 113, 70, .18), inset 0 0 0 1px rgba(255,255,255,.38);
}

.fb-footer-social svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Tablet: zwei Spalten, aber weiterhin querformatige Bilder */
@media (max-width: 1180px) {
  .fb-archive-main { width: min(980px, calc(100vw - 44px)); }
  .fb-story-grid,
  .fb-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .fb-logo::after {
    inset: 6px;
    border-radius: 18px;
  }

  .fb-archive-main {
    width: min(100% - 20px, 520px);
  }

  .fb-archive-hero {
    text-align: left;
    margin-bottom: 24px;
  }

  .fb-archive-hero p,
  .fb-archive-description {
    margin-left: 0;
    margin-right: 0;
  }

  .fb-story-grid,
  .fb-archive-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .fb-story-image img {
    aspect-ratio: 1.55 / 1;
  }

  .fb-story-body {
    padding: 17px 18px 19px;
  }

  .fb-story-body h3 {
    font-size: 1.12rem;
  }
}


/* -------------------------------------------------------
   v1.8 Review-Fix
   - Storykarten wirklich querformatig und niedriger
   - Startseite wieder 4 Karten ueber die volle Breite
   - Logo-Badge mit gestrichelter Sticker-Innenlinie
   - Navigation-Icons dezenter
   - Footer mit weicherem Verlauf und seitlicher Deko
------------------------------------------------------- */

/* Header: Icons bleiben stabil, aber weniger technisch/dominant */
.fb-nav-icon {
  width: 18px;
  height: 18px;
  flex-basis: 18px;
  opacity: .78;
}

.fb-nav-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.1px;
}

.fb-nav a {
  gap: 7px;
}

/* Sticker-Badge: innen gestrichelt wie ein kleiner Aufkleberrand */
.fb-logo {
  position: relative;
  border: 1px solid rgba(115, 154, 92, .30);
  box-shadow:
    0 10px 26px rgba(43, 62, 41, .10),
    inset 0 0 0 3px rgba(255,255,255,.78) !important;
}

.fb-logo::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 22px;
  border: 1.5px dashed rgba(111, 173, 98, .36) !important;
  pointer-events: none;
}

/* Startseite: Story-Bereich wieder voll und ruhiger */
.fb-content-row {
  display: block !important;
}

.fb-stories-area {
  width: 100% !important;
}

.fb-story-grid,
.fb-archive-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: start !important;
}

/* Entscheidend: Aspect-Ratio auf den Link legen, nicht auf das Bild mit height:auto. */
.fb-story-image {
  aspect-ratio: 1.55 / 1 !important;
  display: block !important;
  overflow: hidden !important;
  background: #f6f0e6 !important;
}

.fb-story-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block !important;
}

.fb-story-image-placeholder {
  min-height: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: grid !important;
  place-items: center !important;
}

.fb-story-card {
  border-radius: 22px !important;
  overflow: hidden !important;
  box-shadow: 0 14px 32px rgba(46, 61, 37, .075) !important;
}

.fb-story-body {
  padding: 14px 15px 16px !important;
}

.fb-story-body h3 {
  font-size: .98rem !important;
  line-height: 1.24 !important;
  margin: 0 0 7px !important;
}

.fb-story-meta {
  font-size: .76rem !important;
  line-height: 1.3 !important;
  margin-bottom: 8px !important;
}

.fb-story-body p:not(.fb-story-meta) {
  font-size: .84rem !important;
  line-height: 1.42 !important;
  margin-bottom: 10px !important;
}

.fb-read-more {
  font-size: .86rem !important;
}

/* Archiv/Kategorie: mehr Breite, 12 pro Seite kommen aus functions.php */
.fb-archive-main {
  width: min(1360px, calc(100vw - 72px)) !important;
}

.fb-archive-hero {
  max-width: 820px !important;
  margin-bottom: 34px !important;
}

.fb-archive-hero h1 {
  font-size: clamp(2.4rem, 3.8vw, 4rem) !important;
}

/* Footer: etwas naeher ans Mockup mit sanfterem Verlauf und seitlicher Deko */
.fb-footer {
  background:
    radial-gradient(circle at 5% 78%, rgba(255,255,255,.72), transparent 180px),
    radial-gradient(circle at 95% 76%, rgba(255,255,255,.58), transparent 180px),
    linear-gradient(180deg, rgba(248, 253, 238, .18) 0%, rgba(234, 246, 214, .70) 42%, rgba(213, 235, 191, .94) 100%) !important;
}

.fb-footer::after {
  content: "🌼  🌿" !important;
  left: 38px !important;
  right: auto !important;
  bottom: 18px !important;
  font-size: 2rem !important;
  opacity: .62 !important;
}

.fb-footer-brand::after {
  content: "🌿  🌸";
  position: absolute;
  right: 34px;
  bottom: 18px;
  font-size: 1.9rem;
  opacity: .58;
}

.fb-footer-social span {
  background: rgba(111, 173, 98, .88) !important;
}

@media (max-width: 1180px) {
  .fb-story-grid,
  .fb-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .fb-logo::after {
    inset: 5px;
    border-radius: 18px;
  }

  .fb-story-grid,
  .fb-archive-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .fb-story-image {
    aspect-ratio: 1.58 / 1 !important;
  }

  .fb-story-body {
    padding: 16px 17px 18px !important;
  }

  .fb-story-body h3 {
    font-size: 1.08rem !important;
  }

  .fb-story-body p:not(.fb-story-meta) {
    font-size: .92rem !important;
  }

  .fb-footer-brand::after {
    display: none;
  }
}


/* -------------------------------------------------------
   v1.9 Karten + Logo-Badge + Update-freundlicher Paketname
------------------------------------------------------- */

/* Logo: gestrichelter Sticker-Rand etwas weiter nach außen, damit er das runde Logo nicht anschneidet. */
.fb-logo {
  padding-left: 13px !important;
  padding-right: 24px !important;
}

.fb-logo::after {
  inset: 3px !important;
  border-radius: 25px !important;
  border: 1.5px dashed rgba(111, 173, 98, .38) !important;
}

.fb-logo-media,
.fb-logo-mark {
  position: relative !important;
  z-index: 2 !important;
}

.fb-logo-text {
  position: relative !important;
  z-index: 2 !important;
}

/* Story-Karten: Desktop 3 pro Reihe, querformatige Bilder, gleiche Kartenhöhe. */
@media (min-width: 981px) {
  .fb-story-grid,
  .fb-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 26px !important;
    align-items: stretch !important;
  }
}

.fb-story-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.fb-story-image {
  flex: 0 0 auto !important;
  aspect-ratio: 1.68 / 1 !important;
}

.fb-story-body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

.fb-story-body h3 {
  min-height: 2.55em !important;
}

.fb-story-body p:not(.fb-story-meta) {
  min-height: 4.55em !important;
}

.fb-read-more {
  margin-top: auto !important;
  display: inline-flex !important;
  align-self: flex-start !important;
}

/* Kategorie-/Archivseiten mit 3 Spalten brauchen nicht ganz so breit wie 4-Spalten-Layout sein. */
.fb-archive-main {
  width: min(1180px, calc(100vw - 72px)) !important;
}

@media (max-width: 980px) {
  .fb-story-grid,
  .fb-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: stretch !important;
  }
}

@media (max-width: 760px) {
  .fb-logo {
    padding-left: 8px !important;
  }

  .fb-logo::after {
    inset: 3px !important;
    border-radius: 20px !important;
  }

  .fb-story-grid,
  .fb-archive-grid {
    grid-template-columns: 1fr !important;
  }

  .fb-story-body h3,
  .fb-story-body p:not(.fb-story-meta) {
    min-height: 0 !important;
  }
}

/* -------------------------------------------------------
   v2.0 Harmonisierung
   - Header scrollt mit statt sticky
   - Startseite zeigt 3 neueste Geschichten
   - Storykarten: 3 pro Reihe, gleich hoch, Querformatbilder
   - Logo-Badge als Sticker mit gestricheltem Rand ohne Logo-Kreis zu verdecken
   - Footer als ruhige Wiesenflaeche mit Wellen statt verstreuter Deko
------------------------------------------------------- */

/* Header: warm, sauber, nicht sticky */
.fb-header {
  position: relative !important;
  top: auto !important;
  height: 92px !important;
  width: min(1360px, calc(100vw - 72px)) !important;
}

.fb-header::before {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  right: auto !important;
  width: 100vw !important;
  height: 92px !important;
  transform: translateX(-50%) !important;
  background: rgba(255, 253, 247, .94) !important;
  border-bottom: 1px solid rgba(50, 65, 48, .10) !important;
  box-shadow: 0 5px 18px rgba(50, 52, 38, .055) !important;
  backdrop-filter: blur(10px) !important;
}

/* Sticker-Badge: gestrichelt, aber der Logo-Kreis liegt sauber darueber */
.fb-logo {
  position: relative !important;
  padding: 10px 24px 10px 10px !important;
  border-radius: 31px !important;
  background: rgba(255, 250, 238, .98) !important;
  border: 1px solid rgba(203, 176, 113, .34) !important;
  box-shadow:
    0 12px 30px rgba(43, 62, 41, .10),
    inset 0 0 0 3px rgba(255,255,255,.78) !important;
}

.fb-logo::after {
  content: "" !important;
  position: absolute !important;
  inset: 6px !important;
  border-radius: 24px !important;
  border: 1.5px dashed rgba(190, 159, 91, .48) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.fb-logo-media,
.fb-logo-mark {
  position: relative !important;
  z-index: 2 !important;
  box-shadow:
    0 0 0 5px rgba(255, 250, 238, .98),
    0 4px 10px rgba(43, 62, 41, .12) !important;
}

.fb-logo-text {
  position: relative !important;
  z-index: 2 !important;
}

/* Navigation: Icons stabil und dezent warm */
.fb-nav-icon {
  width: 19px !important;
  height: 19px !important;
  flex-basis: 19px !important;
  opacity: .82 !important;
}

.fb-nav-icon svg {
  width: 19px !important;
  height: 19px !important;
}

.fb-nav a {
  color: #172334 !important;
}

/* Startseite: neueste Geschichten, nicht Archiv-Gefuehl */
.fb-section-heading h2 {
  color: var(--fb-ink) !important;
}

/* Storykarten: 3 pro Reihe, gleich hoch, mit echten Querformatbildern */
.fb-story-grid,
.fb-archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

.fb-story-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 16px 38px rgba(46, 61, 37, .075) !important;
}

.fb-story-image {
  aspect-ratio: 1.62 / 1 !important;
  flex: 0 0 auto !important;
}

.fb-story-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.fb-story-body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 18px 19px 20px !important;
}

.fb-story-body h3 {
  font-size: 1.08rem !important;
  line-height: 1.28 !important;
  margin-bottom: 8px !important;
}

.fb-story-meta {
  font-size: .82rem !important;
  margin-bottom: 9px !important;
}

.fb-story-body p:not(.fb-story-meta) {
  font-size: .91rem !important;
  line-height: 1.48 !important;
  margin-bottom: 14px !important;
}

.fb-read-more {
  margin-top: auto !important;
  font-size: .92rem !important;
}

/* Startseite: nur 3 Karten, mehr Luft danach */
.fb-front-page .fb-stories-area {
  max-width: none !important;
}

.fb-front-page .fb-story-grid {
  margin-bottom: 4px !important;
}

/* Archiv/Kategorien: 12 pro Seite, 3-spaltig, nicht zu breit auseinandergezogen */
.fb-archive-main {
  width: min(1180px, calc(100vw - 72px)) !important;
}

.fb-archive-hero {
  margin-bottom: 38px !important;
}

/* Footer: Wiese mit Wellen, wenig Deko, keine verstreuten Symbole */
.fb-footer {
  position: relative !important;
  margin-top: 56px !important;
  padding: 68px max(28px, calc((100vw - 1180px) / 2 + 28px)) 34px !important;
  display: grid !important;
  grid-template-columns: minmax(260px, 1fr) auto minmax(170px, 1fr) !important;
  align-items: end !important;
  gap: 32px !important;
  overflow: hidden !important;
  background:
    radial-gradient(ellipse at 12% 100%, rgba(142, 190, 112, .26), transparent 34%),
    radial-gradient(ellipse at 88% 100%, rgba(142, 190, 112, .24), transparent 35%),
    linear-gradient(178deg, rgba(255, 248, 236, 0) 0 20%, rgba(238, 248, 221, .70) 21% 48%, rgba(222, 241, 202, .92) 49% 100%) !important;
  color: #34584a !important;
}

.fb-footer::before {
  content: "" !important;
  position: absolute !important;
  left: -6% !important;
  right: -6% !important;
  top: -38px !important;
  height: 96px !important;
  background:
    radial-gradient(70% 95% at 20% 0%, var(--fb-bg) 64%, transparent 65%),
    radial-gradient(70% 95% at 76% 4%, var(--fb-bg) 62%, transparent 63%) !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  z-index: 0 !important;
}

.fb-footer::after {
  content: "" !important;
  position: absolute !important;
  left: -8% !important;
  right: -8% !important;
  bottom: -34px !important;
  height: 96px !important;
  background:
    radial-gradient(55% 85% at 22% 100%, rgba(116, 177, 91, .30) 0 58%, transparent 59%),
    radial-gradient(60% 95% at 74% 100%, rgba(116, 177, 91, .25) 0 57%, transparent 58%) !important;
  opacity: .9 !important;
  z-index: 0 !important;
}

.fb-footer > * {
  position: relative !important;
  z-index: 1 !important;
}

.fb-footer-brand::after {
  content: "" !important;
}

.fb-footer-brand strong {
  color: #2f7146 !important;
  font-size: 1.5rem !important;
}

.fb-footer-brand p {
  color: #49665b !important;
  max-width: 380px !important;
}

.fb-footer-nav {
  align-self: center !important;
}

.fb-footer-nav a {
  color: #2f5f43 !important;
  font-weight: 850 !important;
}

.fb-footer-social {
  justify-self: end !important;
  align-self: center !important;
}

.fb-footer-social span {
  background: rgba(100, 163, 83, .92) !important;
  color: #fffdf7 !important;
  box-shadow: 0 8px 18px rgba(47, 113, 70, .18), inset 0 0 0 1px rgba(255,255,255,.42) !important;
}

/* Responsiv */
@media (max-width: 1180px) {
  .fb-story-grid,
  .fb-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .fb-archive-main {
    width: min(980px, calc(100vw - 44px)) !important;
  }
}

@media (max-width: 980px) {
  .fb-header {
    grid-template-columns: auto auto !important;
    justify-content: space-between !important;
    height: 82px !important;
  }

  .fb-header::before {
    height: 82px !important;
  }

  .fb-nav {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .fb-header {
    width: min(100% - 24px, 520px) !important;
    height: 72px !important;
  }

  .fb-header::before {
    height: 72px !important;
  }

  .fb-logo {
    padding: 6px 11px 6px 6px !important;
    border-radius: 23px !important;
  }

  .fb-logo::after {
    inset: 5px !important;
    border-radius: 18px !important;
  }

  .fb-logo-media,
  .fb-logo-mark {
    box-shadow:
      0 0 0 4px rgba(255, 250, 238, .98),
      0 3px 8px rgba(43, 62, 41, .10) !important;
  }

  .fb-story-grid,
  .fb-archive-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .fb-story-image {
    aspect-ratio: 1.58 / 1 !important;
  }

  .fb-footer {
    display: block !important;
    margin-top: 42px !important;
    padding: 58px 20px 32px !important;
  }

  .fb-footer::before {
    top: -28px !important;
    height: 70px !important;
  }

  .fb-footer-brand p {
    margin-bottom: 20px !important;
  }

  .fb-footer-nav {
    justify-content: flex-start !important;
  }

  .fb-footer-social {
    justify-content: flex-start !important;
    margin-top: 18px !important;
  }
}

/* v2.2: Legal pages softer typography */
.fb-page-content {
  color: #31463f;
}

.fb-page-content strong {
  color: #2f7146;
  font-weight: 800;
}

.fb-page-content h2 {
  color: #3f7a4f;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.22;
  margin-top: 1.65em;
  margin-bottom: .45em;
  letter-spacing: -0.018em;
}

.fb-page-content p {
  color: #40564e;
}

.fb-page-content a {
  color: #2f7146;
}


/* -------------------------------------------------------
   v2.3 Detailseiten fuer Geschichten
------------------------------------------------------- */
.fb-single-main {
  width: min(1040px, calc(100vw - 56px)) !important;
  padding-top: clamp(44px, 5vw, 72px) !important;
}

.fb-story-single {
  max-width: 940px !important;
}

.fb-story-single .fb-single-header {
  max-width: 860px !important;
  margin-bottom: 28px !important;
}

.fb-single-category-pill {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  background: rgba(241, 250, 239, .92) !important;
  border: 1px solid rgba(111, 173, 98, .26) !important;
  color: var(--fb-green-dark) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  margin-bottom: 16px !important;
}

.fb-story-single .fb-single-header h1 {
  font-size: clamp(2.45rem, 4.6vw, 4.55rem) !important;
  line-height: 1.02 !important;
  margin-bottom: 14px !important;
}

.fb-story-single .fb-single-image {
  max-width: 860px !important;
  margin: 0 auto 26px !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  background: #f2f3f0 !important;
  box-shadow: 0 18px 46px rgba(46, 61, 37, .10) !important;
}

.fb-story-single .fb-single-image img {
  width: 100% !important;
  aspect-ratio: 1.62 / 1 !important;
  height: auto !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.fb-story-single .fb-single-content {
  max-width: 760px !important;
  margin: 0 auto !important;
  background: rgba(255, 255, 255, .78) !important;
  color: #23382f !important;
  border-color: rgba(67, 109, 73, .16) !important;
  box-shadow: 0 18px 44px rgba(46, 61, 37, .075) !important;
}

.fb-story-single .fb-single-content p {
  color: #23382f !important;
  font-size: clamp(1.05rem, 1.15vw, 1.17rem) !important;
  line-height: 1.88 !important;
  margin-bottom: 1.15em !important;
}

.fb-story-single .fb-single-content p:last-child {
  margin-bottom: 0 !important;
}

.fb-story-single .fb-single-content > figure.wp-block-image:first-child,
.fb-story-single .fb-single-content > p:first-child:has(img) {
  display: none !important;
}

.fb-single-related {
  margin: clamp(42px, 6vw, 68px) auto 0 !important;
  max-width: 940px !important;
}

.fb-single-related .fb-section-heading {
  align-items: center !important;
}

.fb-single-related .fb-section-heading h2 {
  font-size: clamp(2rem, 3vw, 2.85rem) !important;
}

@media (max-width: 760px) {
  .fb-single-main {
    width: min(100% - 24px, 520px) !important;
    padding-top: 28px !important;
  }

  .fb-story-single .fb-single-header {
    text-align: left !important;
    margin-bottom: 22px !important;
  }

  .fb-story-single .fb-single-header h1 {
    font-size: clamp(2.05rem, 10vw, 3.1rem) !important;
  }

  .fb-story-single .fb-single-image {
    border-radius: 22px !important;
    margin-bottom: 20px !important;
  }

  .fb-story-single .fb-single-content {
    border-radius: 22px !important;
    padding: 22px 18px !important;
  }

  .fb-story-single .fb-single-content p {
    font-size: 1.03rem !important;
    line-height: 1.78 !important;
  }

  .fb-single-related {
    margin-top: 36px !important;
  }
}


/* -------------------------------------------------------
   v2.4 Detailseite: ruhigere Breiten + breitere Vorschlagskarten
------------------------------------------------------- */
.fb-single-main {
  width: min(1120px, calc(100vw - 56px)) !important;
}

.fb-story-single {
  max-width: 1120px !important;
}

.fb-story-single .fb-single-header {
  max-width: 860px !important;
}

.fb-story-single .fb-single-image,
.fb-story-single .fb-single-content {
  max-width: 820px !important;
}

.fb-story-single .fb-single-content {
  padding-left: clamp(28px, 4vw, 52px) !important;
  padding-right: clamp(28px, 4vw, 52px) !important;
}

.fb-single-related {
  max-width: 1120px !important;
}

.fb-single-related .fb-story-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width: 980px) {
  .fb-single-related .fb-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .fb-story-single .fb-single-image,
  .fb-story-single .fb-single-content {
    max-width: 100% !important;
  }

  .fb-single-related .fb-story-grid {
    grid-template-columns: 1fr !important;
  }
}

/* -------------------------------------------------------
   v2.5 Abschluss-Feinschliff
   - neues Hero-Bild mit weicher Einbettung
   - Stern bei Neue Geschichten
   - ehrlicher Newsletter-Hinweis
   - Social Tooltips "Folgt demnaechst"
   - kurze Seiten/ Kontaktseite wirken weniger leer
------------------------------------------------------- */

.fb-front-page .fb-hero {
  grid-template-columns: minmax(360px, .78fr) minmax(620px, 1.22fr) !important;
  gap: clamp(40px, 5.5vw, 86px) !important;
  align-items: center !important;
  margin-bottom: clamp(44px, 5vw, 66px) !important;
}

.fb-front-page .fb-hero::before {
  content: "🦋" !important;
  display: block !important;
  left: -28px !important;
  top: 36% !important;
  font-size: 1.55rem !important;
  opacity: .52 !important;
}

.fb-front-page .fb-hero::after {
  content: "";
  position: absolute;
  left: -56px;
  top: 58%;
  width: 80px;
  height: 42px;
  border-bottom: 2px dashed rgba(223, 123, 99, .28);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}

.fb-front-page .fb-hero-art {
  margin-top: -10px !important;
}

.fb-front-page .fb-hero-art img {
  aspect-ratio: 1186 / 496 !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 34px !important;
  background: transparent !important;
  box-shadow: 0 22px 58px rgba(48, 74, 52, .10) !important;
}

.fb-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: .9em;
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 6px rgba(219, 140, 38, .18));
}

.fb-newsletter {
  background:
    radial-gradient(circle at 4% 50%, rgba(255, 255, 255, .72), transparent 130px),
    linear-gradient(135deg, #fff2d8, #fff9ed) !important;
}

.fb-newsletter strong {
  color: #172334 !important;
}

.fb-newsletter p {
  color: #40564e !important;
}

.fb-footer-social span {
  position: relative !important;
  cursor: default !important;
}

.fb-footer-social span::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47, 113, 70, .96);
  color: #fffdf7;
  font-size: .78rem;
  font-weight: 850;
  box-shadow: 0 10px 22px rgba(42, 80, 50, .18);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.fb-footer-social span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(47, 113, 70, .96);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease;
}

.fb-footer-social span:hover::after,
.fb-footer-social span:focus-visible::after,
.fb-footer-social span:hover::before,
.fb-footer-social span:focus-visible::before {
  opacity: 1;
}

.fb-footer-social span:hover::after,
.fb-footer-social span:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}

.fb-page-main {
  min-height: calc(100vh - 430px) !important;
  padding-bottom: clamp(42px, 6vw, 76px) !important;
}

.fb-page-content {
  position: relative !important;
}

.fb-page-content::before {
  content: "🌿";
  position: absolute;
  right: 24px;
  top: 20px;
  opacity: .24;
  font-size: 1.65rem;
  pointer-events: none;
}

.fb-contact-mail {
  margin-top: 16px !important;
  font-size: 1.08em !important;
}

@media (min-width: 1181px) {
  .fb-front-page .fb-hero-copy h1 span {
    font-size: clamp(2.85rem, 3.55vw, 4.55rem) !important;
  }

  .fb-front-page .fb-hero-copy h1 strong {
    font-size: clamp(4.3rem, 5.0vw, 6.05rem) !important;
  }
}

@media (max-width: 1180px) {
  .fb-front-page .fb-hero {
    grid-template-columns: 1fr !important;
  }

  .fb-front-page .fb-hero-art {
    order: -1 !important;
    margin-top: 0 !important;
  }

  .fb-front-page .fb-hero::after {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .fb-front-page .fb-hero::before {
    display: none !important;
  }

  .fb-front-page .fb-hero-art img {
    border-radius: 24px !important;
  }

  .fb-heading-icon {
    margin-right: 8px;
  }

  .fb-page-main {
    min-height: 0 !important;
  }
}


/* -------------------------------------------------------
   v2.6 Hero-Bild ohne Kartenrahmen
   Das neue Headerbild hat bereits weiche Wolken-/Randuebergaenge.
   Deshalb kein Schatten, kein Kasten und keine sichtbare Rundung.
------------------------------------------------------- */

.fb-front-page .fb-hero-art {
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  overflow: visible !important;
}

.fb-front-page .fb-hero-art img {
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  filter: none !important;
  object-fit: contain !important;
}

@media (max-width: 760px) {
  .fb-front-page .fb-hero-art img {
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}

/* -------------------------------------------------------
   v2.8 Hero- und Icon-Finish
   - Hero nutzt transparente Theme-Grafik ohne harte Rechteckkante
   - Buttons auf Desktop wieder nebeneinander
   - eigene Startseiten-Icons
------------------------------------------------------- */

.fb-front-page .fb-hero-art img {
  width: min(100%, 760px) !important;
  max-height: none !important;
  height: auto !important;
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.fb-front-page .fb-actions {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 14px !important;
}

.fb-front-page .fb-actions .fb-button {
  width: auto !important;
  white-space: nowrap !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
}

.fb-card-illustration {
  background: rgba(255, 255, 255, .82) !important;
}

.fb-card-illustration img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
}

@media (max-width: 760px) {
  .fb-front-page .fb-hero-art img {
    width: 100% !important;
  }

  .fb-front-page .fb-actions {
    display: grid !important;
    flex-wrap: initial !important;
  }

  .fb-front-page .fb-actions .fb-button {
    width: 100% !important;
    white-space: normal !important;
  }
}


/* -------------------------------------------------------
   v2.9 Kleiner Abschluss-Feinschliff
   - Hero auf Desktop etwas groesser
   - Startseiten-Icons in den drei Kacheln etwas praesenter
------------------------------------------------------- */

@media (min-width: 981px) {
  .fb-front-page .fb-hero {
    grid-template-columns: minmax(430px, .82fr) minmax(600px, 1.18fr) !important;
    gap: clamp(44px, 5.4vw, 84px) !important;
    align-items: center !important;
  }

  .fb-front-page .fb-hero-art img {
    width: min(100%, 880px) !important;
  }
}

@media (min-width: 1181px) {
  .fb-front-page .fb-hero-art img {
    transform: scale(1.08) !important;
    transform-origin: center center !important;
  }
}

.fb-front-page .fb-card-illustration {
  width: 96px !important;
  height: 96px !important;
}

.fb-front-page .fb-card-illustration img {
  transform: scale(1.08) !important;
}

@media (max-width: 760px) {
  .fb-front-page .fb-card-illustration {
    width: 64px !important;
    height: 64px !important;
  }

  .fb-front-page .fb-card-illustration img {
    transform: scale(1.04) !important;
  }
}

/* -------------------------------------------------------
   v3.0 Navigation-Icons im Flauschebande-Stil
------------------------------------------------------- */
.fb-nav-icon {
  width: 24px !important;
  height: 24px !important;
  flex: 0 0 24px !important;
  opacity: 1 !important;
}

.fb-nav-icon img {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
  object-fit: contain !important;
}

.fb-nav-icon svg {
  display: none !important;
}

.fb-nav a {
  gap: 9px !important;
}

@media (max-width: 980px) {
  .fb-nav-icon,
  .fb-nav-icon img {
    width: 22px !important;
    height: 22px !important;
  }
}
