/* ============================================================
   lebedas.de — Styles
   Designsprache: warm, persönlich, aber ruhig. Gleiches Raster
   wie die Gutermann-Welt, andere Farbseele.
   ============================================================ */

@import url('design-tokens.css');

/* Logo, gemessen: Grün #204921, Gelb #ffc60d. Meta ist dasselbe Grün, nur heller. */
:root {
  --logo-green: #204921;
  --logo-yellow: #ffc60d;
  --ink-soft: #357936;
  --text: #204921;
  --headline: #204921;
  --primary: #204921;
  --primary-dark: #204921;
  --primary-soft: #f6f3ed;
  --accent: #ffc60d;
  --accent-dark: #204921;
  --accent-soft: #f6f3ed;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  font-weight: var(--fw-regular);
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; transition: color .15s; }
a:hover { color: var(--text); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: var(--fw-semibold);
  color: var(--headline);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* ============ Kontext-Hinweis-Banner ============ */
.context-banner {
  background: var(--primary-soft);
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: .6rem 1.5rem;
  text-align: center;
  font-size: .87rem;
  color: var(--primary-dark);
}
.context-banner a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: var(--fw-medium);
}
.context-banner a:hover { color: var(--text); }

/* ============ Header ============ */
.site-header {
  background: var(--surface);
  border-bottom: 2px solid var(--accent);
}
.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-logo { display: inline-flex; align-items: center; gap: .7rem; }
.site-logo img { height: 40px; width: auto; display: block; }
.site-nav { margin-left: auto; display: flex; gap: 1.8rem; align-items: center; }
.site-nav a {
  color: var(--text);
  font-size: .93rem;
  font-weight: var(--fw-medium);
  padding: .4rem 0;
  position: relative;
}
.site-nav a:hover { color: var(--primary-dark); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--accent);
}

/* ============ Hero ============ */
.hero {
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  background: var(--surface);
}
.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .78rem;
  font-weight: var(--fw-semibold);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--headline);
  margin-bottom: 1rem;
}
.hero-claim {
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--primary-dark);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 1.5rem;
}
.hero .lead {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: .85rem 1.8rem;
  font-family: inherit;
  font-size: .95rem;
  font-weight: var(--fw-medium);
  text-align: center;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s ease;
  border: 1.5px solid transparent;
  line-height: 1.3;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-outline:hover {
  background: var(--primary-dark);
  color: var(--white);
}

/* ============ Section Base ============ */
.section {
  padding: 4.5rem 1.5rem;
}
.section-alt {
  background: var(--surface-alt);
}
.container {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-header {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-label {
  font-size: .85rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
  margin-bottom: .6rem;
  display: block;
}
.section-header h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: .8rem;
}
.section-header p {
  color: var(--text);
  font-size: 1.02rem;
}

/* ============ Bereiche-Grid (4 Kacheln) ============ */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.area-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: all .2s ease;
  color: var(--text);
}
.area-card:hover {
  border-color: var(--primary);
  color: var(--text);
}
.area-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: .8rem;
}
.area-card h3 {
  font-size: 1.15rem;
  color: var(--headline);
  margin-bottom: .3rem;
}
.area-card p {
  color: var(--text);
  font-size: .92rem;
  line-height: 1.6;
  flex: 1;
}
.area-card-link {
  color: var(--primary-dark);
  font-size: .9rem;
  font-weight: var(--fw-medium);
  margin-top: .8rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.area-card.soon::before {
  content: "bald";
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .72rem;
  padding: .2rem .6rem;
  border-radius: 10px;
  font-weight: var(--fw-semibold);
}
.area-card.soon { position: relative; }

/* ============ Neue-Artikel-Liste ============ */
.article-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: .8rem;
}
.article-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all .15s ease;
  color: var(--text);
}
.article-item:hover {
  border-color: var(--primary);
  background: var(--surface);
  color: var(--text);
}
.article-item-title {
  font-weight: var(--fw-medium);
  color: var(--headline);
  flex: 1;
}
.article-item-cat {
  font-size: .78rem;
  color: var(--ink-soft);
  background: var(--primary-soft);
  padding: .2rem .6rem;
  border-radius: 10px;
  white-space: nowrap;
  color: var(--primary-dark);
}

/* ============ "Über das Projekt" Block ============ */
.about-block {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.about-block p {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-block .signature {
  margin-top: 1.5rem;
  font-style: italic;
  color: var(--primary-dark);
}

/* ============ Footer ============ */
.site-footer {
  background: var(--surface);
  color: var(--text);
  padding: 3rem 1.5rem 1.5rem;
  font-size: .9rem;
  margin-top: 4rem;
  border-top: 2px solid var(--accent);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.2rem;
}
.site-footer h4 {
  color: var(--text);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .8rem;
  font-weight: var(--fw-semibold);
}
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--text); }
.footer-linkset { list-style: none; display: grid; gap: .4rem; }
.footer-note {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--accent);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  font-size: .82rem;
  color: var(--ink-soft);
}
.footer-gmbh-link {
  display: inline-block;
  margin-top: .8rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: .83rem;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.footer-gmbh-link:hover { background: transparent; color: var(--text); }

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============================================================
   WhatsApp Floating Action Button
   Nummer: +49 431 5478 4004
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
  color: #fff;
}
.whatsapp-fab svg {
  width: 32px;
  height: 32px;
}
/* Wenn eine mobile-CTA unten sichtbar ist, hebt der WA-FAB sich darüber */
body:has(.mobile-cta) .whatsapp-fab { bottom: 88px; }
@media (max-width: 500px) {
  .whatsapp-fab { right: 16px; width: 52px; height: 52px; }
  .whatsapp-fab svg { width: 28px; height: 28px; }
}

/* ============ Artikel-Seite (wissensdatenbank) ============ */
.article-page-header {
  background: var(--surface);
  padding: 3rem 1.5rem 2.5rem;
  border-bottom: 1px solid var(--accent);
}
.article-page-header-inner {
  max-width: 760px;
  margin: 0 auto;
}
.article-breadcrumb {
  font-size: .85rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.article-breadcrumb a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; text-decoration-color: var(--accent); }
.article-breadcrumb a:hover { color: var(--text); }
.article-breadcrumb .sep { color: var(--ink-soft); }

.article-cat {
  display: block;
  background: none;
  color: var(--ink-soft);
  padding: 0;
  border-radius: 0;
  font-size: .85rem;
  font-weight: var(--fw-regular);
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: .6rem;
}
.article-page-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  color: var(--headline);
  margin-bottom: .8rem;
  line-height: 1.25;
}
.article-lead {
  font-size: 1.12rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 0;
}
.article-meta {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--ink-soft);
}

.article-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}
.article-body h2 {
  font-size: 1.5rem;
  color: var(--headline);
  margin: 2.5rem 0 1rem;
  letter-spacing: -.01em;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 1.2rem;
  color: var(--headline);
  margin: 1.8rem 0 .7rem;
}
.article-body p { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { margin: 0 0 1.4rem 1.6rem; }
.article-body li { margin-bottom: .5rem; }
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: .5rem 0 .5rem 1.3rem;
  margin: 1.5rem 0;
  color: var(--text);
  font-style: italic;
}
.article-body strong { color: var(--headline); }

.article-aside {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.8rem 2rem;
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
.article-aside h3 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: .5rem;
}
.article-aside p { margin-bottom: 0; color: var(--text); }

.article-next {
  max-width: 720px;
  margin: 2.5rem auto 0;
  padding: 1.5rem;
  background: var(--surface-alt);
  border-radius: var(--radius);
  text-align: center;
}
.article-next-label {
  font-size: .85rem;
  color: var(--ink-soft);
  margin-bottom: .5rem;
}

.home {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.8rem 1.5rem 4rem;
}
.home h1 {
  font-size: 1.45rem;
  font-weight: var(--fw-medium);
  margin: 0 0 1rem;
}
.home-areas,
.home-texts,
.home-news {
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2rem;
}
.home-areas a,
.home-texts li,
.home-news li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  column-gap: .95rem;
  align-items: start;
  padding: .85rem 0;
  border-bottom: 1px solid var(--accent);
  color: inherit;
}
.home-areas img,
.home-texts img,
.home-news img {
  width: 92px;
  height: 92px;
  object-fit: cover;
}
.home-areas h2,
.home-texts h2,
.home-news h2 {
  font-size: 1.05rem;
  font-weight: var(--fw-medium);
  line-height: 1.3;
  margin: 0;
}
.home-areas p,
.home-texts .area,
.home-news .area,
.home-news-meta,
.home-news-lead,
.home-news-date {
  margin: .2rem 0 0;
  color: var(--ink-soft);
  font-size: .9rem;
}
.home-texts {
  margin-top: 1.8rem;
}
.home-news {
  margin: 0 0 2.2rem;
}
.home-news h2 {
  font-size: 1.12rem;
}
.home-news h2 a,
.home-texts h2 a,
.home-texts .area {
  display: block;
  color: inherit;
}
.home-texts .area,
.home-news .area { color: var(--ink-soft); }
.home-news-lead {
  line-height: 1.45;
  margin-top: .35rem;
}
.home-news-meta {
  margin-top: .25rem;
}
.home-news-media--empty {
  display: block;
  width: 92px;
  height: 92px;
  background: color-mix(in srgb, var(--logo-green) 12%, white);
}
.home-areas-title {
  font-size: 1.15rem;
  font-weight: var(--fw-medium);
  margin: 0 0 .75rem;
}
.home-more {
  margin: 1.1rem 0 0;
  color: var(--ink-soft);
  font-size: .95rem;
}
.home-more a { color: inherit; }
.home-news-empty {
  display: block;
  padding: .85rem 0;
  border-bottom: 1px solid var(--accent);
  color: var(--ink-soft);
}
.article-hero {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  padding: 0 1.5rem;
}
.article-hero img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}
@media (max-width: 640px) {
  .home { padding: 1.35rem 1.15rem 3rem; }
  .home-areas { grid-template-columns: 1fr; column-gap: 0; }
  .home-areas a,
  .home-texts li,
  .home-news li {
    grid-template-columns: 76px minmax(0, 1fr);
    column-gap: .85rem;
  }
  .home-areas img,
  .home-texts img,
  .home-news img,
  .home-news-media--empty { width: 76px; height: 76px; }
}
.also {
  max-width: 760px;
  margin: 2.2rem auto 0;
  padding: 0 1.5rem 1rem;
}
.also h2 {
  font-size: 1.2rem;
  margin-bottom: .2rem;
}
.home .intro {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.home h2 {
  font-size: 1.15rem;
  margin-bottom: .2rem;
}
.thought-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.thought-list li {
  padding: .95rem 0;
  border-bottom: 1px solid var(--accent);
}
.thought-list a {
  font-weight: var(--fw-medium);
  color: var(--headline);
}
.thought-list .lead {
  margin: .25rem 0 0;
  color: var(--text);
  font-size: .95rem;
  line-height: 1.55;
}
.home .more { margin-top: 1.4rem; }

.recipe-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.2rem 1.5rem 4rem;
}
.recipe-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 1rem;
}
.recipe-page .intro {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: .4rem;
}
.recipe-cats {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}
.recipe-cats a {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.15rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--accent);
  color: inherit;
}
.recipe-cats a.no-photo { grid-template-columns: 1fr; }
.recipe-cats img {
  width: 140px;
  height: 105px;
  object-fit: cover;
  background: var(--gray-100);
}
.recipe-cats h2 {
  font-size: 1.35rem;
  font-weight: var(--fw-medium);
  margin: 0;
  color: var(--headline);
}
.recipe-cats p {
  margin: .25rem 0 0;
  color: var(--text);
  font-size: .95rem;
}
.recipe-back { margin: 0 0 .8rem; }
.recipe-back a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.recipe-list {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
}
.recipe-list a {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  align-items: center;
  padding: .85rem 0;
  border-bottom: 1px solid var(--accent);
  color: inherit;
}
.recipe-list a.no-photo {
  grid-template-columns: 1fr;
}
.recipe-list img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  background: var(--gray-100);
}
.recipe-list h2 {
  font-size: 1.05rem;
  font-weight: var(--fw-medium);
  margin: 0;
  color: var(--headline);
}
.recipe-list p {
  margin: .2rem 0 0;
  color: var(--text);
  font-size: .92rem;
}
.recipe-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.1rem;
  margin: 1.3rem 0 1.6rem;
}
.recipe-jumps a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}
.recipe-group {
  margin: 0 0 .4rem;
}
.recipe-group summary {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: var(--fw-semibold);
  color: var(--headline);
  cursor: pointer;
  padding: .7rem 0 .2rem;
}
.recipe-group .recipe-list { margin-top: .2rem; }
.recipe-drawing {
  max-width: 760px;
  margin: 1.4rem auto 0;
  padding: 0 1.5rem;
}
.recipe-drawing img {
  width: min(420px, 100%);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--paper);
}
.quiet-wissen {
  margin-top: 2rem;
  color: var(--text);
  font-size: .95rem;
}
.article-next a {
  font-size: 1.15rem;
  color: var(--primary-dark);
  font-weight: var(--fw-semibold);
}

.article-help-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 3rem 1.5rem;
  margin-top: 3rem;
  text-align: center;
}
.article-help-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}
.article-help-cta h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: .8rem;
}
.article-help-cta p {
  color: rgba(255,255,255,.88);
  margin-bottom: 1.5rem;
}
.article-help-cta .btn-white-outline {
  display: inline-block;
  background: #fff;
  color: var(--primary-dark);
  padding: .9rem 1.8rem;
  border-radius: var(--radius);
  font-weight: var(--fw-medium);
  font-size: .95rem;
  text-decoration: none;
  transition: all .2s;
}
.article-help-cta .btn-white-outline:hover {
  background: var(--accent-soft);
  color: var(--primary-dark);
}
.article-help-cta .small {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  margin-top: 1rem;
  margin-bottom: 0;
}
