/* ---------- Self-hosted fonts (DSGVO-konform, keine Google-Server-Anfragen) ---------- */

@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/static/fonts/fraunces-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/static/fonts/inter-latin-variable.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #2D5F3F;
  --green-dark: #1F4A2E;
  --green-soft: #8BA888;
  --green-tint: #E8EFE9;
  --ocker: #D9A441;
  --ocker-dark: #B8862A;
  --cream: #FAF7F0;
  --cream-dark: #F2ECDC;
  --ink: #1F2A24;
  --ink-soft: #5A665E;
  --border: #E5DFCF;
  --shadow-sm: 0 1px 2px rgba(31, 42, 36, 0.04), 0 2px 8px rgba(31, 42, 36, 0.04);
  --shadow-md: 0 2px 4px rgba(31, 42, 36, 0.05), 0 8px 24px rgba(31, 42, 36, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --max-w: 1120px;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', -apple-system, system-ui, sans-serif;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--ocker-dark); }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 5vw + 1rem, 3.75rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 3vw + 1rem, 2.75rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

p { color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: saturate(1.4) blur(8px);
  -webkit-backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--green);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--green); }

.brand-mark { width: 32px; height: 32px; color: var(--green); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover { color: var(--green); }

.nav-cta {
  background: var(--green);
  color: var(--cream) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--green-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--green-tint) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 { margin-bottom: 1.5rem; }

.hero-text .lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-ctas {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-ghost:hover {
  background: var(--green);
  color: var(--cream);
}

.hero-visual { display: flex; justify-content: center; }
.hero-svg { width: 100%; max-width: 400px; }

.trust-bar {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}
.trust-item strong {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--green);
}
.trust-item span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Sections ---------- */

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--cream-dark);
}

.section-first {
  padding-top: 3.5rem;
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.section-head h2 { margin-bottom: 1rem; }

.section-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

/* ---------- Product cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.section-alt .card { background: var(--cream); }
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-soft);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--green-tint);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 30px; height: 30px; }

/* Bild oder Visual-Block oben in der Karte (bündig mit Card-Border) */
.card-image,
.card-icon-block {
  aspect-ratio: 4 / 3;
  margin: -2rem -1.75rem 1.25rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.card:hover .card-image img { transform: scale(1.03); }

.card-icon-block {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--green-tint) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
}
.card-icon-block svg { width: 64px; height: 64px; }

.card h3 { margin-bottom: 0.3rem; }

.card-tag {
  font-size: 0.85rem;
  color: var(--ocker-dark);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.card > p { margin-bottom: 1.25rem; }

.card-list {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
}
.card-list li {
  font-size: 0.92rem;
  padding: 0.4rem 0 0.4rem 1.25rem;
  position: relative;
  color: var(--ink);
  border-bottom: 1px dashed var(--border);
}
.card-list li:last-child { border-bottom: none; }
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ocker);
}

.card-actions {
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 4.4rem;     /* 2 Link-Zeilen — Trenner sitzt damit bei allen Karten gleich hoch */
}

.card-link {
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s, color 0.2s;
}
.card-link:hover { color: var(--ocker-dark); gap: 0.7rem; }

/* Bonus-Karte (Wildblick — kostenloses Angebot, ocker-Akzent) */
.card-bonus {
  border-color: var(--ocker);
  border-top: 3px solid var(--ocker);
}
.card-bonus .card-icon {
  background: #FBE7BC;
  color: var(--ocker-dark);
}
.card-bonus .card-tag { color: var(--ocker-dark); }
.card-bonus h3 .badge-free {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  background: var(--ocker);
  color: var(--ink);
  text-transform: uppercase;
  margin-left: 0.5rem;
  vertical-align: middle;
  position: relative;
  top: -2px;
}
.card-bonus .card-link { color: var(--ocker-dark); }
.card-bonus .card-link:hover { color: var(--green); }

/* ---------- Feature banner (Wildblick & Co) ---------- */

.feature-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.25rem;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--ocker);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FBE7BC 0%, #F1D194 100%);
  color: var(--ocker-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-icon svg { width: 48px; height: 48px; }

.feature-content h2 {
  margin: 0.4rem 0 0.75rem;
  font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
}

.feature-lead {
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  max-width: 38rem;
}

.eyebrow-ocker {
  color: var(--ocker-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.badge-free {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--ocker);
  color: var(--ink);
  text-transform: uppercase;
}

.btn-ocker {
  background: var(--ocker);
  color: var(--ink);
}
.btn-ocker:hover {
  background: var(--ocker-dark);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ---------- Services ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border-top: 3px solid var(--ocker);
}
.service h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.service p { font-size: 0.92rem; }

/* ---------- Values ---------- */

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  max-width: 920px;
  margin: 0 auto;
}

.value {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
}

.value-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-tint);
  color: var(--green);
  border-radius: 10px;
  flex-shrink: 0;
}
.value-icon svg { width: 24px; height: 24px; }

.value-text h3 {
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.value-text p { font-size: 0.92rem; }

/* ---------- Founders ---------- */

.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.founder {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

.founder-portrait {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--cream);
  box-shadow: var(--shadow-sm);
}

.founder-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-soft) 100%);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.founder h3 { margin-bottom: 0.3rem; }

.founder-role {
  font-size: 0.88rem;
  color: var(--ocker-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ---------- Contact ---------- */

.section-contact {
  background: var(--green);
  color: var(--cream);
}
.section-contact .eyebrow { color: var(--ocker); }
.section-contact h2 { color: var(--cream); }
.section-contact p { color: rgba(250, 247, 240, 0.82); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-text h2 { margin-bottom: 1rem; }

.contact-card {
  background: rgba(250, 247, 240, 0.06);
  border: 1px solid rgba(250, 247, 240, 0.15);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-row {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(250, 247, 240, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-row:first-child { padding-top: 0; }

.contact-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ocker);
}

.contact-row a,
.contact-row span:not(.contact-label) {
  color: var(--cream);
  font-size: 1rem;
}
.contact-row a:hover { color: var(--ocker); }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.25rem;
}
.contact-links a {
  color: var(--ocker);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(250, 247, 240, 0.7);
  padding: 2.5rem 0;
}

.footer-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--cream);
  font-weight: 500;
}
.footer-brand .brand-mark { color: var(--ocker); width: 28px; height: 28px; }

.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a { color: rgba(250, 247, 240, 0.7); font-size: 0.92rem; }
.footer-links a:hover { color: var(--ocker); }

.footer-copy {
  font-size: 0.85rem;
  color: rgba(250, 247, 240, 0.5);
  width: 100%;
  text-align: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(250, 247, 240, 0.1);
  margin-top: 1rem;
}

/* ========== Responsive ========== */

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 2rem; }
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.25rem 1.25rem;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .main-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
  }
  .main-nav a:last-child { border-bottom: none; }
  .nav-cta {
    text-align: center;
    margin-top: 0.75rem;
    padding: 0.85rem 1.1rem;
  }

  .hero { padding: 3rem 0 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { order: -1; max-width: 280px; margin: 0 auto; }
  .hero-text .lead { font-size: 1.05rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }

  .trust-bar {
    margin-top: 2.5rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }

  .section { padding: 3.5rem 0; }
  .section-head { margin-bottom: 2.25rem; }

  .cards { grid-template-columns: 1fr; gap: 1.25rem; }
  .card { padding: 1.75rem 1.5rem; }

  .services, .values { grid-template-columns: 1fr; gap: 1rem; }

  .feature-banner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
  }
  .feature-icon { margin: 0 auto; width: 80px; height: 80px; }
  .feature-icon svg { width: 40px; height: 40px; }
  .feature-content { text-align: left; }
  .eyebrow-ocker { justify-content: flex-start; }

  .founders { grid-template-columns: 1fr; gap: 1.25rem; }

  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-card { padding: 1.5rem; }

  .footer-wrap {
    flex-direction: column;
    text-align: center;
  }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 1rem; }
}

@media (max-width: 420px) {
  .container { padding: 0 1rem; }
  h1 { font-size: 2.1rem; }
  .brand-text { font-size: 1.2rem; }
  .trust-item strong { font-size: 1.4rem; }
  .trust-item span { font-size: 0.78rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Waitlist Form ---------- */

.waitlist-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.waitlist-form .field {
  border: none;
  padding: 0;
  margin: 0 0 1.4rem 0;
  display: block;
}

.field-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.field-hint {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.8rem;
  margin-left: 0.4rem;
}

.waitlist-form input[type="email"] {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--cream-dark);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.waitlist-form input[type="email"]:focus {
  outline: none;
  border-color: var(--green);
  background: var(--cream);
}

.waitlist-form .check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
}
.waitlist-form .check input[type="checkbox"] {
  margin-top: 0.25rem;
  accent-color: var(--green);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.waitlist-form .check span { line-height: 1.5; }
.waitlist-form .check span strong { font-weight: 600; color: var(--ink); }

.check-consent {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--ink-soft) !important;
}
.check-consent a { color: var(--green); text-decoration: underline; }

.waitlist-form .form-submit {
  width: 100%;
  cursor: pointer;
  border: none;
  font: inherit;
}
.waitlist-form .form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-msg {
  margin-top: 1rem;
  padding: 0;
  font-size: 0.92rem;
  min-height: 1.4em;
}
.form-msg.success {
  padding: 0.9rem 1rem;
  background: var(--green-tint);
  color: var(--green-dark);
  border-radius: 8px;
  border-left: 3px solid var(--green);
}
.form-msg.error {
  padding: 0.9rem 1rem;
  background: #FBE7E5;
  color: #8B2A1F;
  border-radius: 8px;
  border-left: 3px solid #C84A3C;
}

.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Sekundärer CTA in Produktkarten ---------- */

.card-link-secondary {
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  transition: color 0.2s;
}
.card-link-secondary::before {
  content: "↗";
  color: var(--ocker);
  font-weight: 600;
}
.card-link-secondary:hover { color: var(--green); }

@media (max-width: 780px) {
  .waitlist-form { padding: 1.5rem 1.25rem; }
}

/* ---------- Pilotprojekt-Banner (Darmbachaue) ---------- */

.project-banner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-width: 1000px;
  margin: 0 auto;
}

.project-image {
  align-self: stretch;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-content {
  padding: 2.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-content h2 {
  font-size: clamp(1.5rem, 2vw + 0.8rem, 2.1rem);
  margin-bottom: 0.8rem;
}

.project-lead {
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.project-stats {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  margin: 0 0 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.project-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.project-stats strong {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1;
}
.project-stats span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.project-content .btn {
  align-self: flex-start;
}

@media (max-width: 780px) {
  .project-banner {
    grid-template-columns: 1fr;
  }
  .project-image img {
    aspect-ratio: 16 / 10;
  }
  .project-content {
    padding: 1.5rem;
  }
  .project-stats {
    gap: 1.25rem;
  }
  .project-stats strong {
    font-size: 1.3rem;
  }
}

/* ---------- Blog ---------- */

/* Index + Tag-Filter Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.blog-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.blog-card-link {
  color: inherit;
  display: block;
}
.blog-card-link:hover { color: inherit; }

.blog-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cream-dark);
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.5rem 1.5rem 1.75rem;
}

.blog-card-date {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Tag-Chip — pill-style, klein und unaufdringlich */
.blog-tag-chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-tint);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.01em;
}
a.blog-tag-chip { transition: background 0.15s, color 0.15s; }
a.blog-tag-chip:hover { background: var(--green); color: #fff; }
.blog-tag-chip-large {
  font-size: 0.95rem;
  padding: 0.3rem 0.9rem;
  vertical-align: middle;
}

/* Einzelpost */
.blog-post {
  padding-top: 0;
}

.blog-hero {
  width: 100%;
  background: var(--cream);
  margin: 0 0 2.5rem;
  padding: 1.5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.blog-hero img {
  display: block;
  margin: 0 auto;
  max-width: min(100%, 1200px);
  max-height: 60vh;
  height: auto;
  width: auto;
  object-fit: contain;
}
.blog-hero-credit {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 0.75rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* Einfacher Kopierschutz: Drag & Auswahl unterbinden (Rechtsklick via JS) */
.blog-hero img,
.blog-card-image img,
.prose img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.blog-post-container {
  max-width: 720px;
  padding-bottom: 4rem;
}

.blog-post-header {
  margin-bottom: 2.5rem;
}
.blog-post-header h1 {
  font-size: clamp(1.85rem, 3.5vw + 0.8rem, 2.6rem);
  margin: 0.5rem 0 1rem;
}

.blog-post-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Markdown-Body */
.prose {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
}
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-size: 1.55rem;
  margin-top: 2.2em;
  margin-bottom: 0.5em;
}
.prose h3 {
  font-size: 1.2rem;
  margin-top: 1.8em;
  margin-bottom: 0.4em;
}
.prose p { color: var(--ink); }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--ocker-dark); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin: 0.35em 0; }
.prose li > ul, .prose li > ol { margin-top: 0.35em; }
.prose blockquote {
  border-left: 3px solid var(--ocker);
  padding: 0.3em 0 0.3em 1.1em;
  color: var(--ink-soft);
  font-style: italic;
  margin: 1.5em 0;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  background: var(--cream-dark);
  padding: 0.12em 0.38em;
  border-radius: 4px;
}
.prose pre {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  overflow-x: auto;
}
.prose pre code {
  background: none;
  padding: 0;
  font-size: 0.92em;
  line-height: 1.55;
}
.prose img {
  border-radius: var(--radius);
  margin: 1.5em 0;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2.5em 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
  display: block;
  overflow-x: auto;
}
.prose thead { background: var(--cream); }
.prose th, .prose td {
  text-align: left;
  padding: 0.7em 0.9em;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.prose th {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--border);
}
.prose tbody tr:last-child td { border-bottom: 0; }
.prose small {
  display: inline-block;
  font-size: 0.85em;
  color: var(--ink-soft);
  margin-top: -0.5em;
}
.prose .footnote {
  margin-top: 3em;
  padding-top: 1em;
  border-top: 1px solid var(--border);
  font-size: 0.92em;
}
.prose .footnote ol { padding-left: 1.5em; }
.prose .footnote p { margin: 0.4em 0; }
.prose sup a, .prose sup a:hover { text-decoration: none; }

.blog-post-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 700px) {
  .blog-grid { gap: 1.5rem; }
  .blog-hero { margin-bottom: 1.5rem; padding: 1rem 0; }
  .blog-hero img { max-height: 55vh; }
  .blog-post-container { padding-bottom: 3rem; }
  .blog-post-header { margin-bottom: 1.75rem; }
}
