/* Freie Schule Alb-Horizont – Vorschaltseite */
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --gruen: #2E4A33;
  --tiefgruen: #1F2A21;
  --sonne: #E8913A;
  --terrakotta: #A05616;
  --wiese: #7FA65A;
  --wiese-hell: #9CC274;
  --creme: #F5F1E6;
  --sand: #E9E3D3;
  --text: #1F2A21;
  --text-2: #3D4A3F;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.55;
}
a { color: var(--gruen); text-underline-offset: 4px; }
a:hover { color: var(--tiefgruen); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--terrakotta); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.status {
  background: var(--gruen); color: var(--creme);
  font-size: 15px; text-align: center; padding: 9px 16px;
}
.status strong { color: #EDB37A; font-weight: 600; }

header.site { padding: 20px 0 8px; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
header.site img { width: 120px; height: auto; display: block; }
.btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 999px;
  border: 2px solid var(--gruen); color: var(--gruen);
  font-size: 17px; font-weight: 600; text-decoration: none;
}
.btn-back:hover { background: var(--gruen); color: var(--creme); }

.hero { padding: 24px 0 48px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 860px) { .hero .wrap { grid-template-columns: 1.15fr 1fr; } }

.overline { font-size: 14px; font-weight: 600; letter-spacing: 0.18em; color: var(--terrakotta); text-transform: uppercase; margin: 0 0 16px; }
h1 { font-size: clamp(36px, 6vw, 58px); line-height: 1.06; font-weight: 600; color: var(--gruen); margin: 0 0 20px; }
.lead { font-size: clamp(18px, 2.2vw, 21px); color: var(--text-2); margin: 0 0 28px; max-width: 34em; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--sonne); color: var(--tiefgruen);
  font-size: 19px; font-weight: 600; text-decoration: none;
}
.btn:hover { background: #F09D49; color: var(--tiefgruen); }
.btn svg { flex-shrink: 0; }
.cta-note { font-size: 16px; color: var(--text-2); margin: 14px 0 0; }

.figure-frame {
  position: relative; border: 3px solid var(--gruen); border-bottom-color: transparent;
  border-radius: 999px 999px 0 0; padding: 12px 12px 0; max-width: 460px; justify-self: center; width: 100%;
}
.figure-frame .inner {
  aspect-ratio: 200 / 180; border-radius: 999px 999px 20px 20px; background: var(--sand);
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.figure-frame .inner svg { width: 100%; height: auto; display: block; }

.facts { background: var(--sand); }
.arc { display: block; width: 100%; height: 64px; }
.facts .wrap { padding-top: 8px; padding-bottom: 56px; }
.facts h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; color: var(--gruen); margin: 0 0 28px; font-weight: 600; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .facts ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.facts li { background: var(--creme); border-radius: 18px; padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.facts li svg { flex-shrink: 0; width: 48px; height: 48px; }
.facts li strong { display: block; font-size: 19px; color: var(--gruen); font-weight: 600; margin-bottom: 2px; }
.facts li span { font-size: 16px; line-height: 1.5; }

.contact { background: var(--gruen); color: var(--creme); }
.contact .wrap { padding-top: 56px; padding-bottom: 64px; display: grid; gap: 24px; }
@media (min-width: 860px) { .contact .wrap { grid-template-columns: 1.2fr 1fr; align-items: center; } }
.contact h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; margin: 0 0 14px; font-weight: 600; }
.contact p { margin: 0 0 10px; }
.contact a { color: #EDB37A; }
.contact a.btn { color: var(--tiefgruen); }
.contact .note { color: #C9D6C3; font-size: 16px; }
.contact .box { background: rgba(245, 241, 230, 0.08); border-radius: 20px; padding: 24px; }
.contact .box ol { margin: 8px 0 0; padding-left: 22px; }

footer.site { background: var(--tiefgruen); color: var(--creme); font-size: 16px; }
footer.site .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer.site a { color: var(--creme); }
footer.site nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
footer.site .ig { display: inline-flex; align-items: center; gap: 8px; }

/* Rechtstexte */
.legal { padding: 24px 0 64px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); }
.legal h2 { font-size: 22px; color: var(--gruen); margin: 32px 0 8px; }
.legal p, .legal li { font-size: 17px; }
.todo { background: #FBE3C8; padding: 0 4px; border-radius: 4px; }

@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .15s ease; }
}
