/* =========================================================
   UnsVerstehen - Gewaltfreie Kommunikation
   Statisches Design-System, kein Build-Schritt.
   Marke: GFK-Gruen, warmes Cremeweiss, ruhige Typografie.
   ========================================================= */

:root {
  /* Farben */
  --gruen: #1f9d4d;
  --gruen-dunkel: #17773a;
  --gruen-hell: #e7f4ec;
  --warm: #e5a13a;          /* warmer Akzent fuer Herz/Waerme */
  --warm-hell: #fbf1df;

  --creme: #faf7f1;         /* Seitenhintergrund */
  --weiss: #ffffff;
  --tinte: #23292f;         /* Ueberschriften */
  --text: #454b54;          /* Fliesstext */
  --grau: #6b7280;          /* gedaempft */
  --linie: #e8e3d9;         /* Trennlinien */

  /* Struktur */
  --max: 1080px;
  --radius: 16px;
  --radius-s: 10px;
  --schatten: 0 10px 30px rgba(35, 41, 47, 0.07);
  --schatten-hover: 0 16px 40px rgba(35, 41, 47, 0.12);

  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--creme);
  line-height: 1.65;
  font-size: 18px;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen-dunkel); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--tinte);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.3em; }
li { margin-bottom: 0.4rem; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.section--gruen { background: var(--gruen-hell); }
.section--warm { background: var(--warm-hell); }
.narrow { max-width: 720px; margin-inline: auto; }
.prose { width: min(100% - 2.5rem, 760px); margin-inline: 1.25rem; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--grau); }
.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gruen);
  margin-bottom: 0.9rem;
}
.section-head { max-width: 700px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--gruen); color: #fff; box-shadow: 0 8px 20px rgba(31,157,77,.25); }
.btn--primary:hover { background: var(--gruen-dunkel); }
.btn--ghost { background: transparent; color: var(--gruen-dunkel); border-color: var(--gruen); }
.btn--ghost:hover { background: var(--gruen-hell); }
.btn--warm { background: var(--warm); color: #3a2a08; box-shadow: 0 8px 20px rgba(229,161,58,.28); }
.btn--warm:hover { background: #d4912e; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-weight: 800; font-size: 1.15rem; color: var(--tinte);
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }
.brand .logo { height: 52px; width: auto; display: block; }
@media (max-width: 860px) { .brand .logo { height: 42px; } }
.logo-footer { height: 46px; width: auto; display: block; }
.brand .dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--gruen); color: #fff;
  display: grid; place-items: center; font-size: 1rem; font-weight: 700;
}
.brand b { color: var(--gruen); }

.nav-links { display: flex; align-items: center; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text); font-weight: 500; font-size: 0.98rem;
  padding: 0.45rem 0.7rem; border-radius: 8px;
}
.nav-links a:hover { color: var(--gruen-dunkel); background: var(--gruen-hell); text-decoration: none; }
.nav-links a.active { color: var(--gruen-dunkel); font-weight: 600; }
.nav-links .btn { padding: 0.55em 1.1em; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--tinte); border-radius: 2px; transition: .2s; }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: var(--creme); border-bottom: 1px solid var(--linie);
    padding: 0.8rem 1.25rem 1.2rem;
    box-shadow: var(--schatten);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0.6rem; font-size: 1.05rem; }
  .nav-links .btn { margin-top: 0.4rem; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(1100px 500px at 80% -10%, var(--gruen-hell), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, var(--warm-hell), transparent 55%);
}
.hero h1 { max-width: 15ch; }
.hero .lead { max-width: 46ch; margin-top: 1.2rem; }
.hero .btn-row { margin-top: 2rem; }

/* ---------- Grid & Cards ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--schatten);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--schatten-hover); }
.card h3 { margin-bottom: 0.5rem; }
.card .card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gruen-hell); color: var(--gruen-dunkel);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem;
}

/* Nummerierte Schluessel-Liste */
.keys { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.keys li {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius-s); padding: 1.1rem 1.3rem;
}
.keys .num {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gruen); color: #fff; font-weight: 700;
  display: grid; place-items: center;
}

/* Angebots-Liste (Schule) */
.offer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.offer-list li {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius-s); padding: 0.95rem 1.2rem;
}
.offer-list .check { color: var(--gruen); font-weight: 700; flex: none; }
.offer-list .ue { margin-left: auto; font-size: 0.85rem; color: var(--grau); white-space: nowrap; }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 1.6rem 1.7rem;
  box-shadow: var(--schatten); break-inside: avoid;
}
.quote p { font-size: 1rem; color: var(--text); }
.quote .who { margin-top: 0.9rem; font-weight: 600; color: var(--tinte); font-size: 0.95rem; }
.quote .who span { display: block; font-weight: 400; color: var(--grau); font-size: 0.85rem; }
.quotes-masonry { columns: 2; column-gap: 1.5rem; }
.quotes-masonry .quote { margin-bottom: 1.5rem; }
@media (max-width: 820px) { .quotes-masonry { columns: 1; } }

/* Kurzes Highlight-Zitat */
.pullquote {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 600; color: var(--tinte); line-height: 1.35;
  max-width: 22ch;
}
.pullquote .cite { display: block; font-size: 1rem; font-weight: 400; color: var(--grau); margin-top: 1rem; }

/* ---------- Gedicht ---------- */
.poem {
  font-size: 1.15rem; line-height: 1.9; color: var(--tinte);
  white-space: pre-line;
}

/* ---------- Referenzen ---------- */
.refs { display: flex; flex-wrap: wrap; gap: 0.7rem 1rem; justify-content: center; }
.refs a {
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: 999px; padding: 0.4rem 1rem;
  font-size: 0.9rem; color: var(--grau); font-weight: 500;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.refs a:hover { border-color: var(--gruen); color: var(--gruen-dunkel); transform: translateY(-1px); text-decoration: none; }

/* ---------- Presse-Highlight ---------- */
.press-callout {
  max-width: 720px; margin-inline: auto; text-align: center;
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--schatten);
}
.press-outlet-badge {
  display: inline-block; background: var(--gruen-hell); color: var(--gruen-dunkel);
  font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.85rem; border-radius: 999px; margin-bottom: 1rem;
}
.press-callout-text {
  font-size: 1.15rem; color: var(--tinte); font-weight: 500;
  max-width: 42ch; margin: 0 auto 0.5rem;
}
.press-callout-meta { color: var(--grau); font-size: 0.9rem; margin-bottom: 1.3rem; }

/* Lazy-YouTube (laedt erst beim Klick, youtube-nocookie) */
.yt-lazy {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius-s); overflow: hidden; cursor: pointer;
  background: linear-gradient(135deg, var(--gruen-hell), var(--warm-hell));
  border: 1px solid var(--linie); margin: 0 auto 1.3rem;
}
.yt-lazy .yt-play {
  position: absolute; inset: 0; margin: auto; width: 66px; height: 66px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gruen); color: #fff; font-size: 1.4rem; padding-left: 4px;
  box-shadow: 0 8px 20px rgba(31,157,77,.35);
  transition: transform .15s ease, background .15s ease;
}
.yt-lazy:hover .yt-play, .yt-lazy:focus-visible .yt-play { transform: scale(1.08); background: var(--gruen-dunkel); }
.yt-lazy .yt-label {
  position: absolute; left: 0; right: 0; bottom: 12px; text-align: center;
  color: var(--tinte); font-weight: 600; font-size: 0.9rem;
}
.yt-lazy iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Bekannt aus dem ORF (Startseite) */
.orf-badge { margin-bottom: 1rem; }
.orf-badge a {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--gruen-hell); color: var(--gruen-dunkel);
  border-radius: 999px; padding: 0.35rem 0.95rem;
  font-weight: 600; font-size: 0.85rem; text-decoration: none;
  transition: transform .15s ease;
}
.orf-badge a:hover { transform: translateY(-1px); text-decoration: none; }

/* ---------- Split (Text + Panel) ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 1.8rem; } }
.panel {
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--schatten);
}

/* ---------- Formular ---------- */
.form { display: grid; gap: 1rem; }
.form label { font-weight: 600; font-size: 0.92rem; color: var(--tinte); display: block; margin-bottom: 0.35rem; }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; font-size: 1rem;
  padding: 0.75rem 0.9rem; border: 1px solid var(--linie);
  border-radius: var(--radius-s); background: var(--weiss); color: var(--tinte);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none; border-color: var(--gruen); box-shadow: 0 0 0 3px var(--gruen-hell);
}
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.form-note { font-size: 0.85rem; color: var(--grau); }

/* ---------- CTA-Band ---------- */
.cta-band {
  background: var(--gruen); color: #fff; border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.2rem); text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 50ch; margin-inline: auto; }
.cta-band .btn--primary { background: #fff; color: var(--gruen-dunkel); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--warm-hell); }

/* ---------- Downloads ---------- */
.dl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.dl-list a {
  display: flex; align-items: center; gap: 0.9rem;
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius-s); padding: 1rem 1.2rem; color: var(--tinte);
  transition: border-color .15s ease, transform .15s ease;
}
.dl-list a:hover { text-decoration: none; border-color: var(--gruen); transform: translateY(-2px); }
.dl-list .ic { color: var(--gruen); flex: none; }
.dl-list .arrow { margin-left: auto; color: var(--gruen); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tinte); color: #cfd3d8;
  padding: 3rem 0 2rem; margin-top: 2rem;
}
.site-footer a { color: #eef0f2; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 0.8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand .dot { background: var(--gruen); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2rem; padding-top: 1.3rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: 0.88rem; color: #9aa0a8;
}

/* ---------- Legal ---------- */
.legal { max-width: 720px; }
.legal h2 { margin: 2rem 0 0.7rem; font-size: 1.4rem; }
.legal p { color: var(--text); }

/* ---------- Bilder ---------- */
.figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); background: var(--weiss); }
.figure img { width: 100%; height: 100%; display: block; object-fit: cover; }

.hero-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
@media (max-width: 820px) { .hero-split { grid-template-columns: 1fr; gap: 2rem; } }
.hero-portrait { border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten-hover); aspect-ratio: 4 / 5; }
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-teaser {
  display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center;
  background: var(--weiss); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 2rem; box-shadow: var(--schatten);
}
.about-teaser .avatar {
  width: 190px; height: 190px; border-radius: 50%; overflow: hidden;
  box-shadow: var(--schatten); flex: none;
}
.about-teaser .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .about-teaser { grid-template-columns: 1fr; text-align: center; padding: 1.6rem; }
  .about-teaser .avatar { margin: 0 auto; width: 150px; height: 150px; }
}

.card-media {
  margin: -1.8rem -1.8rem 1.3rem; border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; aspect-ratio: 16 / 10;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.dl-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.2rem; }
@media (max-width: 560px) { .dl-preview { grid-template-columns: 1fr; } }

/* ---------- Helpers ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.small { font-size: 0.9rem; color: var(--grau); }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
