/* ==========================================================================
   Lichterfelde packt an – von Nachbarn für Nachbarn
   Basis-Stylesheet
   ========================================================================== */

/* ---------- Lokal eingebundene Schriften (kein Google Fonts CDN) ---------- */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-500italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-600italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-v38-latin-700italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-500italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-600italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-v20-latin-700italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --color-bg: #fdf8f0;
  --color-bg-alt: #f5ebd9;
  --color-text: #2b2a26;
  --color-text-soft: #5a564c;
  --color-primary: #2f6a4f;
  --color-primary-dark: #204a37;
  --color-accent: #b8753c;
  --color-accent-dark: #9c6333;
  --color-border: #e6dcc6;
  --color-white: #ffffff;

  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 8px;
  --shadow: 0 10px 30px rgba(43, 42, 38, 0.08);
  --container-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--color-primary-dark);
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }
section.tight { padding: 40px 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-accent-dark); }

.btn-secondary {
  background: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.btn-secondary:hover { background: var(--color-primary); color: var(--color-white); }

.btn-outline-light {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn-outline-light:hover { background: var(--color-white); color: var(--color-primary-dark); }

.btn-green {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-green:hover { background: var(--color-primary-dark); }

.btn-block { width: 100%; text-align: center; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
}
.logo:hover { text-decoration: none; }
.logo strong { color: var(--color-accent); }
.logo img {
  height: 96px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 28px;
}

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

.main-nav a.active,
.main-nav a:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 2px;
}

@media (max-width: 820px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .main-nav.open { max-height: 400px; }
  .main-nav a {
    padding: 14px 24px;
    border-top: 1px solid var(--color-border);
  }
  .nav-toggle { display: flex; }
}

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

.hero {
  padding: 120px 0 100px;
  background:
    linear-gradient(100deg, rgba(20, 36, 27, 0.82) 0%, rgba(20, 36, 27, 0.55) 45%, rgba(20, 36, 27, 0.25) 75%),
    url("../images/Foto_01.png") center 30% / cover no-repeat;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero p.lead {
  font-size: 1.15rem;
  color: #eee7d9;
  max-width: 46ch;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-disclaimer {
  margin-top: 18px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

@media (max-width: 700px) {
  .hero { padding: 90px 0 72px; }
}

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

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { color: var(--color-text-soft); }

.alt-bg { background: var(--color-bg-alt); }

/* ---------- Founder note ---------- */

.founder-note {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin: 48px 0 0;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 28px;
}
.founder-note img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.founder-note p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--color-text-soft);
}
.founder-note p:last-child { margin-bottom: 0; }

@media (max-width: 560px) {
  .founder-note {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ---------- Partner note ---------- */

.partner-note {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  margin: 24px 0 0;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 28px;
}
.partner-logo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.partner-note img {
  width: 130px;
  flex-shrink: 0;
}
.partner-note h3 { margin-bottom: 10px; }
.partner-note p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--color-text-soft);
}
.partner-note p:last-child { margin-bottom: 0; }
.partner-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0;
}
.partner-links a { font-weight: 600; }

@media (max-width: 560px) {
  .partner-note {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ---------- Steps / How it works ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 16px;
}

.step-card h3 { text-align: center; }
.step-card p { color: var(--color-text-soft); margin: 0; font-size: 0.95rem; }

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

/* ---------- Cards / grid ---------- */

.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.card-grid > * {
  flex: 0 1 calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
}

@media (max-width: 900px) {
  .card-grid > * {
    flex-basis: calc((100% - 28px) / 2);
    max-width: calc((100% - 28px) / 2);
  }
}
@media (max-width: 620px) {
  .card-grid > * {
    flex-basis: 100%;
    max-width: 100%;
  }
}

.value-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 30px 24px;
  border: 1px solid var(--color-border);
}
.value-card .icon {
  display: block;
  font-size: 40px;
  line-height: 1;
  margin: 0 auto 16px;
  color: var(--color-accent);
}

.value-card h3 {
  text-align: center;
}

/* ---------- Testimonials ---------- */

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
}

.testimonial-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.testimonial-avatar i { font-size: 28px; }

.testimonial-quote {
  font-style: italic;
  color: var(--color-text-soft);
  margin-bottom: 16px;
}

.testimonial-name {
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 8px;
}

/* ---------- Story cards ---------- */

.story-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.story-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.story-media figure {
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 3;
}

.story-media figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  background: var(--color-bg-alt);
  color: var(--color-text-soft);
  font-size: 0.78rem;
  text-align: center;
  padding: 8px;
}
.placeholder-img svg { width: 34px; height: 34px; opacity: 0.6; }

figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(32, 74, 55, 0.85);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 4px 0;
}

.story-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.story-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--color-bg-alt);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.story-body p { color: var(--color-text-soft); font-size: 0.95rem; }

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1b1b1b;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 16px;
  cursor: pointer;
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f2ede1;
  gap: 10px;
  background: linear-gradient(160deg, #204a37, #2b2a26);
}
.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn svg { width: 20px; height: 20px; fill: white; margin-left: 3px; }
.video-placeholder span { font-size: 0.8rem; opacity: 0.85; }

/* ---------- Empty state ---------- */

.empty-state {
  text-align: center;
  padding: 64px 24px;
  border: 2px dashed var(--color-border);
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: var(--color-white);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 56px;
  text-align: center;
}
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: #dfeee6; max-width: 52ch; margin: 0 auto 28px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Split layout (image + card) ---------- */

.split-layout {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  align-items: center;
}

.split-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.image-disclaimer {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--color-text-soft);
  text-align: center;
}

@media (max-width: 900px) {
  .split-layout { grid-template-columns: 1fr; }
  .split-image { max-width: 420px; margin: 0 auto; }
}

/* ---------- Forms ---------- */

.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full { grid-column: 1 / -1; }

@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 20px; }
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--color-text);
}
.hint {
  font-weight: 400;
  color: var(--color-text-soft);
  font-size: 0.82rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--color-bg);
  color: var(--color-text);
}
textarea { min-height: 120px; resize: vertical; }

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-primary);
}

fieldset {
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 0;
}
fieldset legend {
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0 6px;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  font-weight: 400;
}
.checkbox-row input { width: auto; }

.contact-details {
  text-align: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-details p {
  font-size: 1.15rem;
  margin: 0 0 10px;
}
.contact-details p:last-child { margin-bottom: 0; }
.contact-details strong { color: var(--color-primary-dark); }
.contact-details a { font-weight: 600; }

.form-note {
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-accent);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--color-text-soft);
  margin-bottom: 28px;
}
.form-note strong { color: var(--color-accent-dark); }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 24px 0;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}
.consent input { margin-top: 4px; width: auto; }

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

.site-footer {
  background: var(--color-primary-dark);
  color: #d8e8df;
  margin-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding: 56px 0 32px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 6px;
}
.site-footer h3 {
  color: var(--color-white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.site-footer a { color: #d8e8df; }
.site-footer a:hover { color: var(--color-white); }
.site-footer p { margin: 0 0 8px; font-size: 0.92rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 20px 24px;
  font-size: 0.82rem;
  color: #9fb8ab;
}

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

/* ---------- Page header (inner pages) ---------- */

.page-header {
  background: var(--color-bg-alt);
  padding: 56px 0;
  text-align: center;
}
.page-header p { color: var(--color-text-soft); max-width: 60ch; margin: 0 auto; }

/* ---------- Legal pages ---------- */

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-content h2 { margin-top: 1.6em; }
.legal-content ul {
  margin: 0 0 1em;
  padding-left: 1.4em;
  color: var(--color-text);
}
.legal-content li { margin-bottom: 0.4em; }
.legal-content code {
  background: var(--color-bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.legal-content .placeholder {
  background: #fff4e0;
  border: 1px dashed var(--color-accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-style: italic;
}

/* ---------- Utility ---------- */

.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }
