/* English Fun for Kids, Wallisellen
   Colours follow the Word flyer (black bold text, slate #44546A, blue #0070C0). */

:root {
  color-scheme: light;
  --ink: #1b2230;
  --slate: #44546a;
  --blue: #0070c0;
  --blue-dark: #005a9c;
  --blue-soft: #e8f2fb;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --line: #e2e8f0;
  --yellow: #f4c20d;
  --green: #3fa45b;
  --orange: #f28c28;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(27, 34, 48, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Calibri, Carlito, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--blue); }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }

a:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Top bar ---------- */
.topbar { border-bottom: 1px solid var(--line); background: #fff; }
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 56px;
}
.brand { font-weight: 700; color: var(--ink); text-decoration: none; }
.brand span { color: var(--blue); }

/* EN | DE switch */
.langswitch {
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
}
.langswitch a {
  min-width: 44px; padding: 5px 12px; border-radius: 999px;
  text-align: center; font-weight: 700; font-size: 0.95rem;
  color: var(--slate); text-decoration: none;
}
.langswitch a:hover { color: var(--blue); }
.langswitch a[aria-current="page"] { background: var(--blue); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 12% 20%, rgba(244, 194, 13, 0.16), transparent 40%),
    radial-gradient(circle at 88% 10%, rgba(232, 72, 143, 0.12), transparent 40%),
    linear-gradient(180deg, var(--blue-soft), #fff 85%);
  padding: 40px 0 52px;
  text-align: center;
}
.hero .kids { display: block; width: min(460px, 100%); margin: 0 auto 12px; }
.hero h1 {
  margin: 0 auto 12px;
  max-width: 16ch;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.08;
  font-weight: 800;
  text-transform: uppercase;
}
.lead {
  margin: 0 auto 6px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

/* Flyer points as one quiet line */
.points {
  list-style: none; margin: 0 auto 22px; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  color: var(--slate);
}
.points li + li::before { content: "·"; margin: 0 10px; color: var(--blue); font-weight: 700; }

/* "First lesson is free": an info line, not a button */
.free-note {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 0 0 24px;
  font-weight: 700; font-size: 1.1rem;
}
.free-note svg { width: 20px; height: 20px; color: var(--yellow); flex: none; }

.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; scroll-margin-top: 120px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none;
  border: 2px solid var(--blue);
  transition: background-color 0.15s, transform 0.15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--blue); }
.btn-outline:hover { background: var(--blue-soft); }
.btn:hover { transform: translateY(-1px); }

/* ---------- Sections ---------- */
section { padding: 44px 0; }
h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 800;
}

.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 28px;
}

/* About Hannah */
.about { display: grid; grid-template-columns: 180px 1fr; gap: 32px; align-items: center; }
.about .uk {
  width: 180px; height: 180px; border-radius: 50%; display: block;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}
.about p { margin: 0 0 10px; }
.about .intro { color: var(--slate); margin-bottom: 14px; }
.about .fact { font-weight: 700; }
.about .note { display: block; font-weight: 400; color: var(--slate); font-size: 0.98rem; }

.cert {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 8px; padding: 10px 16px; border-radius: 12px;
  background: var(--blue-soft); color: var(--blue-dark);
  font-weight: 700; text-decoration: none;
}
.cert:hover { background: #d9e9f8; }
.cert svg { width: 22px; height: 22px; flex: none; }

/* Location */
.location { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.pin {
  width: 56px; height: 56px; border-radius: 50%;
  background: #e6f4ea; color: var(--green);
  display: grid; place-items: center;
}
.pin svg { width: 30px; height: 30px; }
.location p { margin: 0 0 14px; color: var(--slate); }
.schools { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.schools li {
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 1rem;
}

/* ---------- Footer (grey band at the bottom) ---------- */
footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 32px 0 36px;
  text-align: center;
  color: var(--slate);
}
footer p { margin: 0 0 6px; }
footer .ask { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
footer .ask a { margin-left: 4px; color: inherit; font-weight: 400; text-decoration: none; }
footer .ask a:hover { text-decoration: underline; }
footer .small { font-size: 0.95rem; }
footer .small a { color: var(--slate); }

/* ---------- Impressum and 404 pages ---------- */
.legal { padding: 36px 0 48px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 800; margin: 0 0 16px; }
.legal h2 { margin-top: 36px; }
.legal h3 { font-size: 1.15rem; margin: 24px 0 6px; }
.legal p { margin: 0 0 12px; }
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.legal .updated { color: var(--slate); font-size: 0.95rem; }
.notfound { text-align: center; padding: 64px 0; }
.notfound .kids { width: min(360px, 100%); margin: 0 auto 16px; display: block; }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .hero { padding: 28px 0 36px; }
  section { padding: 28px 0; }
  .card { padding: 22px; }
  .points { flex-direction: column; gap: 2px; }
  .points li + li::before { content: none; }
  .about { grid-template-columns: 1fr; gap: 18px; }
  .about .uk { width: 130px; height: 130px; margin: 0 auto; }
  .location { grid-template-columns: 1fr; gap: 12px; }
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
