/*
Theme Name: KGV Ahlen-Ost Modern
Author: OpenClaw
Description: WordPress-Theme fuer den Kleingaertnerverein Ahlen-Ost auf Basis der 1946-Vorschau.
Version: 1.0
*/

:root {
  --leaf: #315b36;
  --leaf-2: #55734a;
  --moss: #8c9b59;
  --cream: #f7f4ec;
  --paper: #fffdf7;
  --ink: #1f261f;
  --muted: #667064;
  --line: #dfe4d6;
  --gold: #d6a645;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid rgba(49, 91, 54, 0.12);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 76px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 260px;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  padding: 9px 12px;
  border-radius: 8px;
  color: #283227;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  background: #e8eddc;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #20341f;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero) center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 24, 14, 0.86), rgba(13, 24, 14, 0.42) 56%, rgba(13, 24, 14, 0.18)),
    linear-gradient(0deg, rgba(13, 24, 14, 0.72), rgba(13, 24, 14, 0.05) 54%);
}

.hero-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 96px;
  color: white;
}

.eyebrow {
  color: #f6d68c;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

h1 {
  max-width: 820px;
  margin: 14px 0 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 0 0 28px;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.86);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--gold);
  color: #1f261f;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.35);
}

.band {
  padding: 72px 24px;
}

.band.alt {
  background: var(--paper);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.quick {
  border-left: 4px solid var(--gold);
  background: white;
  padding: 20px;
  min-height: 150px;
  box-shadow: 0 12px 30px rgba(33, 48, 30, 0.08);
}

.quick strong,
.garden-card strong,
.notice strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.quick p,
.garden-card p,
.notice p {
  margin: 0;
  color: var(--muted);
}

.garden-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.garden-card {
  background: white;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(33, 48, 30, 0.08);
}

.garden-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.garden-card div {
  padding: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: 34px;
  align-items: center;
}

.photo {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(33, 48, 30, 0.16);
}

.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
}

.facts {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.fact {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.fact span {
  color: var(--muted);
}

.people {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.person,
.notice {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.person b {
  display: block;
  font-size: 17px;
}

.person span {
  color: var(--muted);
  font-size: 14px;
}

.notice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.notice-board-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: 22px;
  align-items: start;
}

.board-main {
  display: grid;
  gap: 14px;
}

.board-note {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 12px 30px rgba(33, 48, 30, 0.07);
}

.board-note.highlight {
  border-left: 5px solid var(--gold);
}

.tag {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #edf1e3;
  color: #40543a;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.board-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.board-note p {
  margin: 0;
  color: var(--muted);
}

.board-note a,
.link-card {
  color: var(--leaf);
  font-weight: 800;
}

.board-note a {
  display: inline-block;
  margin-top: 12px;
}

.duty-box {
  background: #263127;
  color: white;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 14px 34px rgba(33, 48, 30, 0.14);
}

.duty-box h3 {
  margin: 8px 0 8px;
  font-size: 24px;
  line-height: 1.1;
}

.duty-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.duty-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.duty-photo {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-decoration: none;
}

.duty-photo.wide {
  grid-column: 1 / -1;
}

.duty-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.duty-photo.wide img {
  aspect-ratio: 2.8 / 1;
}

.duty-photo span {
  display: block;
  padding: 7px 8px 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.15;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.blog-card {
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(33, 48, 30, 0.08);
}

.blog-card.featured {
  grid-column: span 2;
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.blog-card div {
  padding: 18px;
}

.blog-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--leaf-2);
  font-size: 13px;
  font-weight: 850;
}

.blog-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.15;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
}

.links-band {
  padding-top: 58px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.link-card {
  display: block;
  min-height: 132px;
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(33, 48, 30, 0.06);
}

.link-card:hover {
  border-color: rgba(49, 91, 54, 0.38);
  transform: translateY(-1px);
}

.link-card strong,
.link-card span {
  display: block;
}

.link-card strong {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
}

.link-card span {
  color: var(--muted);
  font-weight: 500;
}

.contact {
  color: white;
  background: var(--leaf);
}

.contact .section-head p,
.contact .lead {
  color: rgba(255, 255, 255, 0.78);
}

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 24px;
}

.site-footer {
  padding: 24px;
  background: #172118;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 880px) {
  .nav-wrap,
  .brand,
  .site-footer .wrap {
    align-items: flex-start;
  }

  .nav-wrap {
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 720px;
  }

  .section-head,
  .split,
  .board-layout,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .quick-grid,
  .garden-grid,
  .people,
  .notice-grid,
  .blog-grid,
  .link-grid {
    grid-template-columns: 1fr 1fr;
  }

  .blog-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .hero-inner {
    width: min(100% - 32px, 1180px);
    padding-bottom: 64px;
  }

  h1 {
    max-width: 100%;
    font-size: 36px;
    line-height: 1.08;
  }

  .quick-grid,
  .garden-grid,
  .people,
  .notice-grid,
  .blog-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .blog-card.featured {
    grid-column: auto;
  }
}
