/* Kompakte Startseite: Hero beginnt direkt oben, damit die Kreise am Desktop sofort sichtbar sind. */
:root {
  --green: #a8d400;
  --green-dark: #6f9d00;
  --ink: #161616;
  --muted: #686868;
  --line: rgba(22, 22, 22, .12);
  --paper: #ffffff;
  --soft: #f4f5f2;
  --shadow: 0 28px 55px rgba(0, 0, 0, .18);
  --max: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.hero {
  position: relative;
  min-height: clamp(330px, 43vw, 520px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 8, 7, .66), rgba(7, 8, 7, .28) 46%, rgba(7, 8, 7, .08)),
    radial-gradient(circle at 22% 18%, rgba(168, 212, 0, .42), transparent 31%),
    radial-gradient(circle at 87% 18%, rgba(255, 255, 255, .75), transparent 26%),
    linear-gradient(135deg, #ebefe7 0%, #d8ded1 39%, #f8f8f5 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .42;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255,255,255,.36) 42% 43%, transparent 43% 100%),
    linear-gradient(155deg, transparent 0 53%, rgba(0,0,0,.08) 53% 54%, transparent 54% 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -7vw;
  right: -7vw;
  bottom: -1px;
  height: clamp(105px, 14vw, 180px);
  background: var(--paper);
  clip-path: polygon(0 62%, 18% 52%, 38% 64%, 58% 43%, 79% 56%, 100% 31%, 100% 100%, 0 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(22px, 3.4vw, 56px) clamp(20px, 4vw, 48px) clamp(110px, 12vw, 170px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(64px, 10.4vw, 142px);
  line-height: .9;
  letter-spacing: -.055em;
  text-transform: none;
  text-shadow: 0 7px 32px rgba(0, 0, 0, .22);
}

h1 span {
  display: block;
}

.hero .hero-title,
.hero .hero-title span {
  text-transform: none !important;
}

.quicklinks {
  position: relative;
  z-index: 4;
  max-width: var(--max);
  margin: clamp(-112px, -8.2vw, -76px) auto 0;
  padding: 0 clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: clamp(22px, 5vw, 74px);
  justify-items: center;
}

.quicklink {
  width: clamp(190px, 19vw, 255px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .92);
  transition: transform .18s ease, box-shadow .18s ease;
}

.quicklink:hover,
.quicklink:focus-visible {
  transform: translateY(-7px);
  box-shadow: 0 36px 68px rgba(0, 0, 0, .22);
  outline: none;
}

.quicklink-icon {
  width: 52px;
  height: 52px;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.quicklink-icon svg {
  width: 52px;
  height: 52px;
  stroke: currentColor;
  stroke-width: 2.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quicklink-icon-text {
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.08em;
}

.quicklink strong {
  display: block;
  color: #5a5a5a;
  font-size: clamp(21px, 2.2vw, 31px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -.035em;
}

.quicklink small {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.quiet-note {
  max-width: var(--max);
  margin: clamp(62px, 7vw, 96px) auto clamp(44px, 6vw, 74px);
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.quiet-note img {
  width: min(250px, 68vw);
  height: auto;
  opacity: .88;
}

.quiet-note p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.site-footer {
  border-top: 1px solid var(--line);
  min-height: 84px;
  padding: 24px clamp(20px, 4vw, 54px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #666;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
  outline: none;
}

@media (max-width: 820px) {
  .hero {
    min-height: 360px;
  }

  .hero-inner {
    padding-top: 34px;
    padding-bottom: 132px;
  }

  .quicklinks {
    margin-top: -72px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .quicklink {
    width: min(245px, 76vw);
  }

  .site-footer {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 340px;
  }

  h1 {
    font-size: clamp(54px, 17vw, 82px);
  }
}


/* Rechtliche Unterseiten */
.subpage-body {
  background:
    radial-gradient(circle at 18% 0%, rgba(168, 212, 0, .16), transparent 28%),
    linear-gradient(135deg, #f7f8f5 0%, #ffffff 44%, #f1f3ee 100%);
  min-height: 100vh;
}

.legal-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px clamp(20px, 4vw, 48px) 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-header img {
  width: min(235px, 58vw);
  height: auto;
}

.legal-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #666;
  font-size: 14px;
}

.legal-header a:hover,
.legal-header a:focus-visible {
  color: var(--ink);
  outline: none;
}

.legal-main {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(26px, 5vw, 62px) clamp(20px, 4vw, 48px) clamp(60px, 7vw, 92px);
}

.legal-card {
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .08);
  padding: clamp(28px, 5vw, 58px);
}

.legal-card h1 {
  color: var(--ink);
  text-shadow: none;
  font-size: clamp(42px, 7vw, 84px);
  letter-spacing: -.055em;
  margin: 0 0 28px;
}

.legal-card h2 {
  margin: 34px 0 12px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.legal-card h3 {
  margin: 26px 0 8px;
  font-size: 17px;
}

.legal-card p,
.legal-card li {
  color: #424242;
  font-size: 16px;
  line-height: 1.65;
}

.legal-card p {
  margin: 0 0 13px;
}

.legal-card ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

.legal-card a {
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-meta {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 700px) {
  .legal-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-card {
    border-radius: 20px;
  }
}

/* News */
.news-entry {
  margin-top: 18px;
  padding-top: 8px;
}

.news-date {
  color: var(--muted);
  font-size: 14px !important;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.news-card .news-entry h2 {
  margin-top: 8px;
}


/* News mit Bildern */
.news-main-wide {
  max-width: 1180px;
}

.news-card-visual {
  padding-bottom: 34px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.news-visual-entry {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
}

.news-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 675;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
}

.news-copy {
  padding: 20px 22px 22px;
}

.news-copy .news-date {
  margin: 0 0 8px;
}

.news-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(23px, 3vw, 30px);
  line-height: 1.08;
  letter-spacing: -.03em;
}

.news-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}


.news-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: linear-gradient(135deg, #e9eee1, #f8f8f4);
  color: #6f9d00;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* News: ganze Kachel/Bild klickbar, wenn ein Link im Admin hinterlegt ist */
.news-visual-entry-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.news-visual-entry-link:hover,
.news-visual-entry-link:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .11);
  outline: none;
}

.news-more {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .03em;
}

.news-more::after {
  content: "→";
  margin-left: 8px;
}
