/* ==========================================================================
   Grundschule Sieker – Stylesheet
   ========================================================================== */

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face {
  font-family: "Fredoka"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/fredoka-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fredoka"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/fredoka-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/nunito-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/nunito-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Baloo Bhaijaan 2"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/baloo-arabic.woff2) format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* ---------- Tokens ---------- */
:root {
  --red: #e8412c;
  --orange: #f7941d;
  --yellow: #fdc420;
  --green: #6fb23a;
  --sky: #1fa4dc;
  --blue: #3e4c9b;
  --purple: #7a3fa8;
  --pink: #e8488a;
  --rainbow: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--green), var(--sky), var(--blue), var(--purple));
  --insta: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);

  --bg: #fffaf2;
  --bg-alt: #fff0db;
  --bg-cool: #eef3ff;
  --surface: #ffffff;
  --surface-2: #fff7ea;
  --text: #1f2350;
  --muted: #5a5f86;
  --line: #ece3d3;
  --accent: var(--blue);
  --footer: #232a66;
  --footer-text: #e7e9ff;
  --shadow: 0 10px 30px -12px rgba(31, 35, 80, .25);
  --shadow-lg: 0 24px 50px -20px rgba(31, 35, 80, .35);

  --radius: 22px;
  --radius-sm: 14px;
  --font-head: "Fredoka", "Baloo Bhaijaan 2", system-ui, sans-serif;
  --font-body: "Nunito", "Baloo Bhaijaan 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141733;
    --bg-alt: #1b1f44;
    --bg-cool: #171c3d;
    --surface: #222751;
    --surface-2: #283062;
    --text: #f3f1fb;
    --muted: #b5b8dc;
    --line: #343b72;
    --accent: #8f9bff;
    --footer: #0d1029;
    --footer-text: #d9dcff;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 24px 50px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141733;
  --bg-alt: #1b1f44;
  --bg-cool: #171c3d;
  --surface: #222751;
  --surface-2: #283062;
  --text: #f3f1fb;
  --muted: #b5b8dc;
  --line: #343b72;
  --accent: #8f9bff;
  --footer: #0d1029;
  --footer-text: #d9dcff;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 24px 50px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.08rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background-color .3s, color .3s;
}
html[lang="ar"] body { --font-head: "Baloo Bhaijaan 2", "Fredoka", sans-serif; --font-body: "Baloo Bhaijaan 2", "Nunito", sans-serif; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-inline-start: 1.2em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.container { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--blue);
  display: inline-flex; align-items: center; gap: .55em;
  padding: .8em 1.4em; border-radius: 999px; border: 0;
  font: 700 1rem/1.2 var(--font-body);
  color: #fff; background: var(--b); text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 0 -1px color-mix(in srgb, var(--b) 60%, #000 40%);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); filter: saturate(1.15); text-decoration: none; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 -1px color-mix(in srgb, var(--b) 60%, #000 40%); }
.btn--red { --b: var(--red); }
.btn--orange { --b: #e07c06; }
.btn--green { --b: #4d8f22; }
.btn--purple { --b: var(--purple); }
.btn--insta { background: var(--insta); box-shadow: 0 6px 0 -1px #7a1f61; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--accent); }
.btn--small { padding: .55em 1em; font-size: .9rem; }

/* ---------- Header ---------- */
.rainbow-bar { height: 6px; background: var(--rainbow); }
.topbar { background: var(--surface-2); font-size: .88rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; flex-wrap: wrap; gap: .4em 1.6em; align-items: center; justify-content: space-between; padding-block: .45em; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4em; }
.topbar a:hover { color: var(--text); }
.topbar__info { display: flex; flex-wrap: wrap; gap: .3em 1.4em; }
.topbar__insta { font-weight: 800; background: var(--insta); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.topbar__insta .icon { color: #d62976; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); margin-inline-end: auto; }
.brand img { width: 58px; height: 58px; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover img { transform: rotate(-12deg) scale(1.08); }
.brand__text { font-family: var(--font-head); line-height: 1; font-weight: 600; font-size: 1.3rem; }
.brand__text small { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); margin-top: .25em; font-family: var(--font-body); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; align-items: center; }
.main-nav a {
  display: block; padding: .5em .8em; border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 700; font-size: .96rem;
  transition: background .2s, color .2s, transform .2s;
}
.main-nav li:nth-child(6n+1) a:hover { background: color-mix(in srgb, var(--red) 18%, transparent); }
.main-nav li:nth-child(6n+2) a:hover { background: color-mix(in srgb, var(--orange) 22%, transparent); }
.main-nav li:nth-child(6n+3) a:hover { background: color-mix(in srgb, var(--yellow) 30%, transparent); }
.main-nav li:nth-child(6n+4) a:hover { background: color-mix(in srgb, var(--green) 22%, transparent); }
.main-nav li:nth-child(6n+5) a:hover { background: color-mix(in srgb, var(--sky) 22%, transparent); }
.main-nav li:nth-child(6n+6) a:hover { background: color-mix(in srgb, var(--purple) 20%, transparent); }
.main-nav a:hover { transform: translateY(-1px); }
.main-nav .nav-iserv { background: var(--blue); color: #fff; margin-inline-start: .3rem; }
.main-nav .nav-iserv:hover { background: var(--purple) !important; }

.header-tools { display: flex; align-items: center; gap: .4rem; }
.tool-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.tool-btn:hover { transform: rotate(-10deg) scale(1.06); border-color: var(--accent); }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
.insta-mini { background: var(--insta); color: #fff; border: 0; }

/* Language picker */
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .35em;
  height: 44px; padding-inline: .8em; border-radius: 999px; border: 2px solid var(--line);
  background: var(--surface); font-weight: 800; font-size: .9rem; user-select: none;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { border-color: var(--accent); }
.lang[open] summary { border-color: var(--accent); }
.lang__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); z-index: 60;
  min-width: 180px; padding: .4rem; margin: 0; list-style: none;
  background: var(--surface); border: 2px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  animation: pop .18s ease-out;
}
.lang__menu button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1em;
  padding: .55em .8em; border: 0; border-radius: 10px; background: none; color: var(--text);
  font: 700 1rem var(--font-body); cursor: pointer; text-align: start;
}
.lang__menu button span:last-child { font-size: .78rem; color: var(--muted); font-weight: 800; }
.lang__menu button:hover { background: var(--surface-2); }
.lang__menu button[aria-pressed="true"] { background: color-mix(in srgb, var(--green) 20%, transparent); }
.lang__menu button[lang="ar"] { font-family: "Baloo Bhaijaan 2", sans-serif; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } }

.menu-toggle { display: none; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after {
  display: block; width: 20px; height: 2.5px; border-radius: 2px; background: currentColor; position: relative; transition: transform .25s, background .25s;
}
.menu-toggle .bars::before, .menu-toggle .bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.menu-toggle .bars::before { top: -6px; }
.menu-toggle .bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-grid; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + 6px) 12px auto 12px; z-index: 49;
    background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 2px solid var(--line);
    padding: .8rem; max-height: calc(100dvh - var(--header-h) - 30px); overflow: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { font-size: 1.1rem; padding: .75em 1em; }
  .main-nav .nav-iserv { margin: .4rem 0 0; text-align: center; }
}
@media (max-width: 560px) {
  .brand__text small { display: none; }
  .brand img { width: 48px; height: 48px; }
  .brand__text { font-size: 1.1rem; }
  .header-tools .insta-mini { display: none; }
  .topbar__info .hide-sm { display: none; }
}
@media (max-width: 359px) {
  .brand__text { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(2rem, 5vw, 4.5rem) clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(40rem 30rem at 85% 10%, color-mix(in srgb, var(--yellow) 30%, transparent), transparent 60%),
    radial-gradient(30rem 25rem at 0% 90%, color-mix(in srgb, var(--sky) 20%, transparent), transparent 60%),
    radial-gradient(25rem 20rem at 45% 50%, color-mix(in srgb, var(--pink) 12%, transparent), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5em; padding: .45em 1em; border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow); font-weight: 800; font-size: .92rem; cursor: pointer; border: 0; color: var(--text);
  font-family: var(--font-body);
  transform: rotate(-2deg); transition: transform .2s;
}
.hero__badge:hover { transform: rotate(2deg) scale(1.05); }
.hero__badge .bulb { display: inline-block; animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { transform: scale(1.25) rotate(10deg); filter: drop-shadow(0 0 6px gold); } }
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.8rem); margin: .4em 0 .3em; letter-spacing: -.01em; }
html[lang="ar"] .hero h1 { letter-spacing: 0; }
.hero h1 .line2 { display: block; }
.rotator {
  display: inline-block; position: relative; padding: 0 .2em; color: #fff; border-radius: .25em;
  background: var(--red); transform: rotate(-2deg); transition: background .4s;
  min-width: 2ch;
}
.rotator.swap { animation: swap .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes swap { 0% { transform: rotate(-2deg) scale(.6); opacity: 0; } 100% { transform: rotate(-2deg) scale(1); opacity: 1; } }
.hero__lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.hero__visual { position: relative; }
.blob {
  aspect-ratio: 1 / 1; overflow: hidden; box-shadow: var(--shadow-lg);
  border-radius: 62% 38% 46% 54% / 55% 44% 56% 45%;
  animation: morph 14s ease-in-out infinite; border: 8px solid var(--surface);
}
.blob img { width: 100%; height: 100%; object-fit: cover; }
@keyframes morph {
  33% { border-radius: 40% 60% 60% 40% / 50% 60% 40% 50%; }
  66% { border-radius: 55% 45% 35% 65% / 40% 45% 55% 60%; }
}
.sticker {
  position: absolute; display: grid; place-items: center; text-align: center;
  font-family: var(--font-head); font-weight: 600; line-height: 1.05; color: #fff;
  border-radius: 50%; box-shadow: var(--shadow);
}
.sticker--new { width: 112px; height: 112px; background: var(--red); inset-inline-start: -14px; top: 6%; transform: rotate(-12deg); font-size: 1.05rem; padding: 10px; animation: wobble 4s ease-in-out infinite; }
.sticker--insta { width: auto; height: auto; padding: .55em 1em; border-radius: 999px; background: var(--insta); inset-inline-end: 4%; bottom: 2%; transform: rotate(4deg); font-size: 1rem; text-decoration: none; display: flex; gap: .4em; align-items: center; }
.sticker--insta:hover { transform: rotate(0) scale(1.06); }
@keyframes wobble { 50% { transform: rotate(-4deg) scale(1.05); } }
.float { position: absolute; font-size: 2.2rem; animation: float 6s ease-in-out infinite; pointer-events: none; user-select: none; }
.float--1 { top: -4%; inset-inline-end: 12%; animation-delay: -1s; }
.float--2 { top: 42%; inset-inline-end: -4%; animation-delay: -3s; font-size: 2.6rem; }
.float--3 { bottom: 14%; inset-inline-start: -6%; animation-delay: -2s; }
.float--4 { top: 78%; inset-inline-end: 42%; animation-delay: -4s; font-size: 1.8rem; }
@keyframes float { 50% { transform: translateY(-16px) rotate(10deg); } }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-inline: auto; width: 100%; padding-inline: 12px; }
  .sticker--new { width: 92px; height: 92px; font-size: .9rem; inset-inline-start: 0; }
}

/* ---------- Waves ---------- */
.wave { display: block; width: 100%; height: clamp(40px, 6vw, 80px); margin-top: -1px; }
.wave--top { margin-bottom: -1px; margin-top: 0; }

/* ---------- Marquee ---------- */
.marquee { background: var(--blue); color: #fff; overflow: hidden; padding-block: .9rem; transform: rotate(-1.2deg); margin-block: -1rem 1rem; position: relative; z-index: 2; box-shadow: var(--shadow); }
.marquee__track { display: flex; width: max-content; gap: 2.4rem; animation: marquee 40s linear infinite; direction: ltr; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.05rem, 1rem + .6vw, 1.45rem); white-space: nowrap; unicode-bidi: plaintext; }
.marquee span::before { content: "#"; color: var(--yellow); margin-inline-end: .1em; }
.marquee span:nth-child(3n+2)::before { color: #ff8fb3; }
.marquee span:nth-child(3n)::before { color: #8fe36a; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; }
.section--alt { background: var(--bg-alt); }
.section--cool { background: var(--bg-cool); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); }
.eyebrow {
  display: inline-block; padding: .3em .95em; border-radius: 999px; font-weight: 800; font-size: .85rem;
  letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--c, var(--orange)); transform: rotate(-2deg);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; }
.section-head h1, .section-head h2 { font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); margin-top: .5em; }
.squiggle { position: relative; display: inline-block; z-index: 0; }
.squiggle::after {
  content: ""; position: absolute; inset-inline: -4%; bottom: -.18em; height: .32em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 12 Q 20 2 40 11 T 80 11 T 120 11 T 160 11 T 198 9' fill='none' stroke='%23fdc420' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* ---------- Welcome ---------- */
.welcome { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.welcome__img { position: relative; }
.welcome__img img { filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .15)); animation: float 8s ease-in-out infinite; }
.welcome__img::before {
  content: ""; position: absolute; inset: 10% 5%; z-index: -1; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--red), var(--orange), var(--yellow), var(--green), var(--sky), var(--purple), var(--red));
  opacity: .22; filter: blur(30px); animation: spin 20s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.welcome h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.welcome .big { font-size: 1.15rem; }
.coffee { display: inline-flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.coffee span { background: var(--surface); border: 2px dashed var(--line); padding: .3em .8em; border-radius: 999px; font-weight: 700; font-size: .95rem; }
@media (max-width: 860px) {
  .welcome { grid-template-columns: 1fr; }
  .welcome__img { max-width: 380px; margin-inline: auto; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.stat {
  background: var(--surface); border-radius: var(--radius); padding: 1.3rem 1rem; text-align: center; box-shadow: var(--shadow);
  border-bottom: 6px solid var(--c); transition: transform .25s;
}
.stat:nth-child(odd) { transform: rotate(-1.2deg); }
.stat:nth-child(even) { transform: rotate(1.2deg); }
.stat:hover { transform: rotate(0) translateY(-6px); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); line-height: 1.05; color: var(--c); }
.stat span { font-weight: 700; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Idea cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.4rem; }
.card {
  --c: var(--orange);
  position: relative; background: var(--surface); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: var(--shadow); border-top: 6px solid var(--c);
  transition: transform .3s cubic-bezier(.3, 1.5, .5, 1), box-shadow .3s;
}
.card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.cards .card:nth-child(even):hover { transform: translateY(-8px) rotate(1deg); }
.card h3 { font-size: 1.35rem; margin-bottom: .4em; }
.card p { margin-bottom: .6em; color: var(--muted); }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  display: grid; place-items: center; width: 62px; height: 62px; font-size: 2rem; margin-bottom: .8rem;
  background: color-mix(in srgb, var(--c) 18%, transparent);
  border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%;
  transition: transform .4s cubic-bezier(.3, 1.8, .5, 1);
}
.card:hover .card__icon { transform: rotate(-14deg) scale(1.12); }
.card--wide { grid-column: 1 / -1; }
.c-red { --c: var(--red); } .c-orange { --c: var(--orange); } .c-yellow { --c: var(--yellow); }
.c-green { --c: var(--green); } .c-sky { --c: var(--sky); } .c-blue { --c: var(--blue); }
.c-purple { --c: var(--purple); } .c-pink { --c: var(--pink); }

/* ---------- Instagram ---------- */
.insta { position: relative; background: var(--insta); color: #fff; overflow: hidden; }
.insta::before {
  content: ""; position: absolute; inset: 0; opacity: .14;
  background-image: radial-gradient(#fff 2px, transparent 2.5px); background-size: 26px 26px;
}
.insta .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.insta h2 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.8rem); margin: .4em 0 .35em; text-shadow: 0 3px 0 rgba(0, 0, 0, .12); }
.insta .eyebrow { background: #fff; color: #c13584; }
.insta p { font-size: 1.15rem; max-width: 32em; opacity: .96; }
.insta__handle {
  display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); color: #fff; text-decoration: none; margin: .3rem 0 1.4rem;
  background: rgba(255, 255, 255, .18); padding: .3em .8em; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .5);
  direction: ltr;
}
.insta__handle:hover { background: rgba(255, 255, 255, .28); }
.insta__list { list-style: none; padding: 0; margin: 0 0 1.8rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.insta__list li { background: rgba(255, 255, 255, .2); padding: .35em .9em; border-radius: 999px; font-weight: 700; }
.btn--white { background: #fff; color: #c13584; box-shadow: 0 6px 0 -1px rgba(0, 0, 0, .25); font-size: 1.1rem; padding: .95em 1.7em; }
.phone {
  position: relative; width: min(330px, 100%); margin-inline: auto; aspect-ratio: 9 / 18.5;
  background: #111; border-radius: 46px; padding: 12px; box-shadow: 0 40px 70px -25px rgba(0, 0, 0, .55);
  transform: rotate(4deg); transition: transform .4s;
}
.phone:hover { transform: rotate(0) scale(1.02); }
.phone__screen { height: 100%; background: #fff; border-radius: 36px; overflow: hidden; color: #111; display: flex; flex-direction: column; direction: ltr; }
.phone__notch { position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 90px; height: 24px; background: #111; border-radius: 20px; z-index: 2; }
.phone__head { display: flex; align-items: center; gap: 12px; padding: 46px 14px 10px; }
.phone__avatar { width: 60px; height: 60px; border-radius: 50%; padding: 3px; background: var(--insta); flex: none; }
.phone__avatar img { width: 100%; height: 100%; border-radius: 50%; background: #fff; border: 2px solid #fff; }
.phone__name { font: 700 14px/1.2 system-ui, sans-serif; }
.phone__name small { display: block; font-weight: 400; color: #666; }
.phone__follow { margin: 0 14px 10px; background: #0095f6; color: #fff; text-align: center; font: 700 13px/1 system-ui, sans-serif; padding: 9px; border-radius: 8px; text-decoration: none; }
.phone__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; flex: 1; align-content: start; }
.phone__grid > * { aspect-ratio: 1; overflow: hidden; display: grid; place-items: center; font-size: 1.8rem; }
.phone__grid img { width: 100%; height: 100%; object-fit: cover; }
.heart-pop { position: absolute; font-size: 2.2rem; animation: heart 3.2s ease-in infinite; pointer-events: none; }
.heart-pop:nth-of-type(2) { animation-delay: 1.1s; inset-inline-start: 18%; }
.heart-pop:nth-of-type(3) { animation-delay: 2.2s; inset-inline-start: 72%; }
@keyframes heart { 0% { bottom: 8%; opacity: 0; transform: scale(.5); } 20% { opacity: 1; transform: scale(1.1); } 100% { bottom: 85%; opacity: 0; transform: scale(.8) rotate(20deg); } }
@media (max-width: 860px) {
  .insta .container { grid-template-columns: 1fr; text-align: center; }
  .insta p { margin-inline: auto; }
  .insta__list { justify-content: center; }
  .phone { width: min(280px, 100%); }
}

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 860px; margin-inline: auto; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; inset-block: 8px; inset-inline-start: 27px; width: 6px; border-radius: 3px; background: var(--rainbow); }
.timeline li { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 1rem; align-items: start; margin-bottom: 1rem; }
.timeline .dot {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem;
  background: var(--surface); border: 4px solid var(--c); position: relative; z-index: 1; box-shadow: var(--shadow);
}
.timeline .slot { background: var(--surface); border-radius: var(--radius-sm); padding: .9rem 1.2rem; box-shadow: var(--shadow); border-inline-start: 5px solid var(--c); }
.timeline time { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--c); direction: ltr; unicode-bidi: isolate; }
.timeline .slot p { margin: .1rem 0 0; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.4rem; margin-top: 1.4rem; font-weight: 700; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: .4em; }
.legend i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); display: inline-block; }
.note-box { max-width: 860px; margin: 2rem auto 0; padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); border: 2px dashed var(--line); }
.note-box p:last-child { margin: 0; }

/* ---------- Split / photos ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split + .split { margin-top: clamp(3rem, 6vw, 5rem); }
.split--rev > :first-child { order: 2; }
.photo { position: relative; }
.photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; transform: rotate(-2deg); border: 8px solid var(--surface); transition: transform .4s; }
.split--rev .photo img { transform: rotate(2deg); }
.photo:hover img { transform: rotate(0) scale(1.02); }
.photo .tape { position: absolute; top: -12px; inset-inline-start: 50%; width: 110px; height: 30px; translate: -50% 0; background: color-mix(in srgb, var(--yellow) 70%, transparent); transform: rotate(-4deg); z-index: 1; border-radius: 3px; }
.split h3 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.split p { color: var(--muted); }
.classes { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.classes li { background: var(--surface); border: 2px solid var(--line); border-radius: 999px; padding: .3em .85em; font-weight: 700; font-size: .95rem; transition: transform .2s; }
.classes li:hover { transform: rotate(-4deg) scale(1.06); border-color: var(--accent); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
}

/* ---------- Steps (Schulanmeldung) ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.4rem; counter-reset: step; margin-bottom: 2.5rem; }
.step { position: relative; background: var(--surface); border-radius: var(--radius); padding: 2.2rem 1.4rem 1.4rem; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -20px; inset-inline-start: 1.2rem; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c); color: #fff; font: 600 1.4rem var(--font-head); box-shadow: var(--shadow); transform: rotate(-8deg);
}
.step h3 { font-size: 1.25rem; }
.step p { color: var(--muted); margin-bottom: .5em; }
.highlight { background: color-mix(in srgb, var(--yellow) 35%, transparent); padding: 0 .2em; border-radius: 4px; font-weight: 800; color: var(--text); }

.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.8rem; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: .8rem; }
.faq details { background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; border-inline-start: 5px solid var(--c, var(--sky)); }
.faq details:nth-child(5n+1) { --c: var(--red); }
.faq details:nth-child(5n+2) { --c: var(--orange); }
.faq details:nth-child(5n+3) { --c: var(--green); }
.faq details:nth-child(5n+4) { --c: var(--sky); }
.faq details:nth-child(5n+5) { --c: var(--purple); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; font-weight: 800; position: relative; font-size: 1.05rem; }
html[dir="rtl"] .faq summary { padding: 1rem 1.2rem 1rem 3rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; inset-inline-end: 1rem; top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); font: 700 1.3rem/1 var(--font-head); transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 1.2rem 1.1rem; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
.faq .answer ul { margin: 0 0 .8em; }

.checklist { background: var(--surface); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); position: sticky; top: calc(var(--header-h) + 20px); border: 3px dashed var(--green); }
.checklist h3 { display: flex; align-items: center; gap: .4em; font-size: 1.5rem; }
.checklist ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checklist li { display: flex; gap: .7em; align-items: flex-start; padding: .45em 0; border-bottom: 1px dashed var(--line); font-weight: 600; }
.checklist li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: .85rem; margin-top: .15em; }
.checklist li:last-child { border: 0; }

/* ---------- Infos / Termine ---------- */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.4rem; }
.link-list { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .5rem; }
.link-list a {
  display: flex; align-items: center; gap: .6em; padding: .65em .9em; border-radius: 12px; background: var(--surface-2);
  text-decoration: none; color: var(--text); font-weight: 700; transition: transform .2s, background .2s;
}
.link-list a:hover { transform: translateX(4px); background: color-mix(in srgb, var(--c, var(--sky)) 18%, var(--surface-2)); }
html[dir="rtl"] .link-list a:hover { transform: translateX(-4px); }
.link-list .icon { color: var(--c, var(--red)); }

.dates { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: 2rem; align-items: start; margin-top: 2.5rem; }
.date-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.2rem; }
.date-group { background: var(--surface); border-radius: var(--radius); padding: 1.3rem 1.3rem 1rem; box-shadow: var(--shadow); border-top: 6px solid var(--c); }
.date-group h3 { font-size: 1.2rem; display: flex; gap: .4em; align-items: center; }
.date-group .hint { font-size: .88rem; color: var(--muted); margin-bottom: .6rem; }
.date-group dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem .9rem; }
.date-group dt { font-weight: 800; color: var(--c); white-space: nowrap; direction: ltr; unicode-bidi: isolate; text-align: start; }
.date-group dd { margin: 0; color: var(--muted); }
.plan { position: sticky; top: calc(var(--header-h) + 20px); text-align: center; }
.plan a.plan__img { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--surface); transform: rotate(1.5deg); transition: transform .3s; }
.plan a.plan__img:hover { transform: rotate(0) scale(1.02); }
.plan .btn { margin-top: 1.2rem; }
@media (max-width: 900px) {
  .dates { grid-template-columns: 1fr; }
  .plan { position: static; max-width: 420px; margin-inline: auto; }
}

/* ---------- Förderverein ---------- */
.support { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; background: var(--surface); border-radius: calc(var(--radius) * 1.5); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.support::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 8px; background: var(--rainbow); }
.support img { border-radius: 50%; max-width: 320px; width: 100%; margin-inline: auto; animation: wobble 6s ease-in-out infinite; }
.support h1, .support h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.support .board { background: var(--surface-2); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin: 1.2rem 0; }
.support .board strong { display: block; font-family: var(--font-head); font-weight: 600; margin-bottom: .2rem; }
.support .actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
@media (max-width: 760px) { .support { grid-template-columns: 1fr; text-align: center; } .support .actions { justify-content: center; } }

/* ---------- Team / Kontakt ---------- */
.lead-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.2rem; margin-bottom: 2.5rem; }
.person {
  display: flex; gap: .9rem; align-items: center; background: var(--surface); border-radius: var(--radius-sm); padding: 1rem; box-shadow: var(--shadow);
  transition: transform .2s; min-width: 0;
}
.person:hover { transform: translateY(-4px) rotate(-.6deg); }
.avatar {
  flex: none; width: 52px; height: 52px; border-radius: 46% 54% 40% 60% / 55% 45% 55% 45%; display: grid; place-items: center;
  color: #fff; font: 600 1.15rem var(--font-head); background: var(--c, var(--blue));
}
.person--lead .avatar { width: 64px; height: 64px; font-size: 1.4rem; }
.person__body { min-width: 0; }
.person h4 { margin: 0; font-size: 1.08rem; }
.person p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.person a { font-size: .9rem; font-weight: 700; word-break: break-all; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 1rem; }
.team-grid .person:nth-child(8n+1), .lead-grid .person:nth-child(4n+1) { --c: var(--red); }
.team-grid .person:nth-child(8n+2), .lead-grid .person:nth-child(4n+2) { --c: #e07c06; }
.team-grid .person:nth-child(8n+3), .lead-grid .person:nth-child(4n+3) { --c: #4d8f22; }
.team-grid .person:nth-child(8n+4), .lead-grid .person:nth-child(4n+4) { --c: var(--sky); }
.team-grid .person:nth-child(8n+5) { --c: var(--purple); }
.team-grid .person:nth-child(8n+6) { --c: var(--pink); }
.team-grid .person:nth-child(8n+7) { --c: var(--blue); }
.team-grid .person:nth-child(8n+8) { --c: #c99400; }
.group-title { font-size: 1.6rem; margin: 2.6rem 0 1.2rem; display: flex; align-items: center; gap: .5em; }
.group-title::after { content: ""; flex: 1; height: 4px; border-radius: 2px; background: var(--rainbow); opacity: .5; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1.2rem; margin-bottom: 1rem; }
.contact-card { text-align: center; background: var(--surface); border-radius: var(--radius); padding: 1.5rem 1rem; box-shadow: var(--shadow); text-decoration: none; color: var(--text); transition: transform .25s; border-bottom: 6px solid var(--c); }
.contact-card:hover { transform: translateY(-6px) rotate(-1deg); }
.contact-card .ci { font-size: 2.2rem; display: block; }
.contact-card strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; margin-top: .3rem; }
.contact-card span { color: var(--muted); font-weight: 700; direction: ltr; unicode-bidi: isolate; display: inline-block; }
.contact-card small { display: block; color: var(--muted); }
.support-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.support-list li { background: var(--surface); padding: .45em 1em; border-radius: 999px; box-shadow: var(--shadow); font-weight: 700; }
.support-list li small { color: var(--muted); font-weight: 600; }

.directions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.4rem; }
.directions .card p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--footer-text); padding-block: 0 2rem; position: relative; }
.site-footer .wave { color: var(--footer); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-top: 1.5rem; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: 1.25rem; }
.site-footer a { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.8; }
.site-footer address span { direction: ltr; unicode-bidi: isolate; }
.footer-brand { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.footer-brand img { width: 74px; height: 74px; }
.footer-brand strong { font: 600 1.5rem var(--font-head); color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-links a { text-decoration: none; opacity: .9; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-insta { display: flex; align-items: center; gap: .8rem; background: var(--insta); color: #fff; text-decoration: none; padding: 1rem 1.2rem; border-radius: var(--radius-sm); font-weight: 800; margin-top: 1rem; transition: transform .2s; }
.footer-insta:hover { transform: scale(1.03) rotate(-1deg); }
.footer-insta .icon { width: 2rem; height: 2rem; }
.footer-insta small { display: block; font-weight: 600; opacity: .9; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .92rem; opacity: .85; }
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating Instagram button ---------- */
.fab-insta {
  position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 40;
  display: flex; align-items: center; gap: .5em; padding: .7em 1.1em .7em .8em; border-radius: 999px;
  background: var(--insta); color: #fff; text-decoration: none; font-weight: 800; box-shadow: 0 12px 28px -8px rgba(193, 53, 132, .7);
  transition: transform .25s, opacity .3s; animation: fabIn .6s 1s both cubic-bezier(.3, 1.6, .5, 1);
}
html[dir="rtl"] .fab-insta { padding: .7em .8em .7em 1.1em; }
.fab-insta:hover { transform: scale(1.08) rotate(-3deg); }
.fab-insta .icon { width: 1.7em; height: 1.7em; }
.fab-insta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(214, 41, 118, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 16px rgba(214, 41, 118, 0); } 100% { box-shadow: 0 0 0 0 rgba(214, 41, 118, 0); } }
@keyframes fabIn { from { transform: scale(0) rotate(-30deg); } }
.fab-insta.hide { opacity: 0; pointer-events: none; transform: scale(.6); }
@media (max-width: 560px) { .fab-insta span { display: none; } .fab-insta { padding: .8em; } html[dir="rtl"] .fab-insta { padding: .8em; } }

/* ---------- Legal pages ---------- */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4rem) 1rem; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem); }
.prose { max-width: 820px; margin-inline: auto; background: var(--surface); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 3rem); box-shadow: var(--shadow); overflow-wrap: anywhere; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1.2rem; }
.prose dt { font-weight: 800; }
.prose dd { margin: 0; }
@media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; } .prose dd { margin-bottom: .6rem; } }
.lang-note { max-width: 820px; margin: 0 auto 1rem; text-align: center; color: var(--muted); font-size: .95rem; }

/* ---------- Confetti ---------- */
.confetti { position: fixed; z-index: 200; pointer-events: none; font-size: 1.6rem; animation: confetti 1.4s ease-out forwards; }
@keyframes confetti { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: .4rem; }
  .marquee__track [aria-hidden="true"] { display: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .topbar, .fab-insta, .marquee, .wave, .hero__visual, .insta .phone { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 1rem; }
}

/* ---------- Home tiles ---------- */
.tile { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.tile p { flex: 1; }
.tile__more { display: inline-flex; align-items: center; gap: .4em; font-weight: 800; color: var(--c); margin-top: .4rem; }

html[dir="rtl"] .icon:has(use[href="#i-arrow"]) { transform: scaleX(-1); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-top: 1.2rem; font-size: .92rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4em; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-inline-end: .4em; opacity: .6; }
html[dir="rtl"] .breadcrumb li + li::before { content: "‹"; }
.breadcrumb a { color: inherit; }
.breadcrumb + main .section:first-child { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.main-nav a[aria-current="page"] { background: color-mix(in srgb, var(--yellow) 35%, transparent); }
.lang__menu a { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: .55em .8em; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 700; }
.lang__menu a span:last-child { font-size: .78rem; color: var(--muted); font-weight: 800; }
.lang__menu a:hover { background: var(--surface-2); }
.lang__menu a[aria-current="true"] { background: color-mix(in srgb, var(--green) 20%, transparent); }
.lang__menu a[lang="ar"] { font-family: "Baloo Bhaijaan 2", sans-serif; }

/* ---------- Fixes: handles stay LTR in RTL, round logos ---------- */
.topbar__insta, .sticker--insta, .insta__handle { direction: ltr; unicode-bidi: isolate; }
.brand img, .footer-brand img { border-radius: 50%; }
