/* Lebensmittelrettung Österreich — Landing · CI: Grün #064E36 · Gold #D7A948 · Creme #F6F4EE */

:root {
  --green: #064E36;
  --green-dark: #043826;
  --gold: #D7A948;
  --cream: #F6F4EE;
  --cream-soft: #EFEBE1;
  --mint: #EAF2ED;
  --ink: #24312B;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(6, 78, 54, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4 { color: var(--green); line-height: 1.25; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

/* Fokus: Grün auf hellen Flächen (Gold hätte nur ~2:1 auf Creme/Weiß —
   WCAG 1.4.11 verlangt 3:1); in den dunkelgrünen Sektionen Gold (4,5:1). */
a:focus-visible, summary:focus-visible, .nav-toggle:focus-visible + .nav-toggle-label {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-green a:focus-visible, .site-footer a:focus-visible {
  outline-color: var(--gold);
}

img, svg { max-width: 100%; height: auto; }

.container { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.container-narrow { max-width: 46rem; }

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

/* Skip-Link */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--green); color: var(--cream);
  padding: 0.75rem 1.25rem; z-index: 100; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: var(--cream); }

/* Header + Nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 3px solid var(--gold);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4rem; flex-wrap: wrap; padding-top: 0.4rem; padding-bottom: 0.4rem;
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--green); min-height: 44px;
}
.brand img { display: block; }
.brand-name { font-size: 1rem; line-height: 1.2; }
.brand-name strong { display: block; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.site-nav a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0.35rem 0.85rem;
  text-decoration: none; font-weight: 600; border-radius: 8px;
}
.site-nav a:hover { background: var(--mint); }

.nav-toggle { position: absolute; width: 44px; height: 44px; opacity: 0; }
.nav-toggle-label {
  display: none; width: 44px; height: 44px;
  align-items: center; justify-content: center; cursor: pointer;
}
.burger, .burger::before, .burger::after {
  display: block; width: 26px; height: 3px;
  background: var(--green); border-radius: 2px; content: "";
}
.burger { position: relative; }
.burger::before { position: absolute; top: -8px; }
.burger::after { position: absolute; top: 8px; }

@media (max-width: 959px) {
  .nav-toggle-label { display: flex; }
  .site-nav { display: none; width: 100%; }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; padding-bottom: 0.75rem; }
  .site-nav a { width: 100%; }
}
/* Desktop: Checkbox ganz raus aus dem Tab-Order — sie wäre ein unsichtbarer
   Fokus-Stopp ohne Wirkung (die Nav ist dort immer sichtbar). */
@media (min-width: 960px) {
  .nav-toggle { display: none; }
}

/* Hero */
.hero { padding: 3rem 0 3.5rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: 3fr 2fr; }
}
.hero-sub { font-size: 1.2rem; max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 1.5rem 0 0.75rem; }
.badge-app {
  display: inline-flex; align-items: center; min-height: 48px;
  padding: 0.5rem 1.3rem; border-radius: 999px;
  background: var(--green); color: var(--cream); font-weight: 700;
  border: 2px solid var(--gold);
}
.btn {
  display: inline-flex; align-items: center; min-height: 48px;
  padding: 0.5rem 1.3rem; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.btn-secondary { border: 2px solid var(--green); color: var(--green); background: transparent; }
.btn-secondary:hover { background: var(--mint); }
.hero-note { font-weight: 600; color: var(--green); }
.hero-art { text-align: center; }
.hero-art svg { width: min(320px, 80%); filter: drop-shadow(0 12px 28px rgba(6, 78, 54, 0.18)); }

/* Sektionen */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--cream-soft); }
.section-lead { font-size: 1.15rem; max-width: 42em; margin-bottom: 2rem; }
.subheading { margin-top: 2.5rem; }

.section-green { background: var(--green); color: var(--cream); }
.section-green h2, .section-green h3 { color: var(--cream); }
.section-green h2::after { background: var(--gold); }
.section-green a { color: var(--cream); }
.section-green .section-lead { color: var(--cream); }

h2::after {
  content: ""; display: block; width: 56px; height: 4px;
  background: var(--gold); border-radius: 2px; margin-top: 0.5rem;
}

/* Karten */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cards-2, .cards-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.5rem;
}
.card p:last-child { margin-bottom: 0; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--green); color: var(--gold); margin-bottom: 0.9rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card-way { border-top: 4px solid var(--gold); }

/* Schritte */
.steps {
  list-style: none; counter-reset: step;
  margin: 0 0 1rem; padding: 0;
  display: grid; gap: 1.25rem;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.5rem;
}
.steps li::before {
  content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); color: var(--green);
  font-weight: 800; font-size: 1.25rem; margin-bottom: 0.75rem;
}
.steps p:last-child { margin-bottom: 0; }

.pfand-note {
  background: var(--mint); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem; margin-top: 2rem;
}

/* Datenschutz-Liste */
.promise-list {
  list-style: none; margin: 0 0 1.5rem; padding: 0;
  display: grid; gap: 0.75rem;
}
@media (min-width: 640px) { .promise-list { grid-template-columns: repeat(2, 1fr); } }
.promise-list li {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1rem 1.25rem;
}
.promise-list strong { color: var(--green); }
.link-strong { font-weight: 700; }

.verein-facts { font-weight: 600; }
.iban { font-variant-numeric: tabular-nums; font-weight: 600; }

/* FAQ */
.faq-item {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 0.9rem;
  padding: 0 1.25rem;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; color: var(--green);
  padding: 1rem 0; min-height: 44px; list-style-position: outside;
}
.faq-item[open] summary { border-bottom: 1px solid var(--cream-soft); }
.faq-item p { padding: 1rem 0; margin: 0; }

/* Kontakt */
.contact-block { font-style: normal; font-size: 1.15rem; }
.contact-link { font-weight: 700; }
.social-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.social-list a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0.35rem 1.1rem; border-radius: 999px;
  border: 2px solid var(--gold); color: var(--cream);
  text-decoration: none; font-weight: 700;
}
.social-list a:hover { background: var(--green-dark); }

/* Footer */
.site-footer {
  background: var(--green-dark); color: var(--cream);
  padding: 2.5rem 0; font-size: 0.95rem;
}
.site-footer a { color: var(--cream); }
.footer-links {
  list-style: none; margin: 0 0 1.25rem; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
}
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.footer-credit { margin-bottom: 0; opacity: 0.85; }
