/* gymiprep.ai · the parents' pages: the landing page (/), the pricing page (/preise) and the 404 page.
 *
 * Load it after /gp/theme.css (tokens, fonts, header, footer, buttons, folds). Every rule sits under
 * html[data-brand="gymiprep"], as in the theme. These pages write their header and footer as static markup (the
 * markup of GP.headHtml in site mode) and use /gp/shell.js only for the language: both languages are in the page,
 * data-gp-only="de|en" shows one of them. Colour roles as in the theme: lime is a fill only, violet is the tutor's.
 */

/* ---- Page frame ------------------------------------------------------------------------------------------------ */
html[data-brand="gymiprep"] { scroll-padding-top: 88px; }
html[data-brand="gymiprep"] .gs-main { display: block; }
html[data-brand="gymiprep"] .gs-main:focus { outline: none; }
html[data-brand="gymiprep"] .gs-page .site-foot.gp-foot { margin-top: 0; }
html[data-brand="gymiprep"] .gs-nowrap { white-space: nowrap; }
html[data-brand="gymiprep"] .gs-sec { padding: 56px 0 64px; border-bottom: var(--gp-bw) solid var(--gp-ink); }
html[data-brand="gymiprep"] .gs-sec:last-child { border-bottom: 0; }
@media (min-width: 760px) { html[data-brand="gymiprep"] .gs-sec { padding: 72px 0 80px; } }
html[data-brand="gymiprep"] .gs-sec-head { display: grid; gap: 12px; max-width: 46rem; margin: 0 0 32px; }
html[data-brand="gymiprep"] .gs-h2 { margin: 0; font-family: var(--gp-font-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(1.85rem, 3.6vw + .7rem, 3.2rem); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
/* a boxed word gets its own taller line box, so the box never paints over a descender of the line above */
html[data-brand="gymiprep"] .gs-h2 .gp-mark { line-height: 1.5; }

/* ---- Hero ------------------------------------------------------------------------------------------------------ */
html[data-brand="gymiprep"] .gs-hero { border-bottom: var(--gp-bw) solid var(--gp-ink); }
html[data-brand="gymiprep"] .gs-hero-in { display: grid; gap: 44px; padding-top: 28px; padding-bottom: 52px; }
@media (min-width: 1000px) {
  html[data-brand="gymiprep"] .gs-hero-in { grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr); gap: 56px; align-items: center;
    padding-top: 44px; padding-bottom: 68px; }
}
html[data-brand="gymiprep"] .gs-hero-copy { min-width: 0; }
/* a hero without the example column (pricing): one column at every width */
html[data-brand="gymiprep"] .gs-hero-in.is-solo { grid-template-columns: minmax(0, 52rem); }
html[data-brand="gymiprep"] .gs-h1 { margin: 16px 0 0; font-family: var(--gp-font-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(2.3rem, 3.1vw + 1.3rem, 4.1rem); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
/* the smallest phones: a title line holds its longest word («ausprobieren,»), so no word breaks without a hyphen */
@media (max-width: 359.98px) { html[data-brand="gymiprep"] .gs-h1 { font-size: 1.9rem; } }
html[data-brand="gymiprep"] .gs-hero .gp-lead { margin-top: 18px; }
html[data-brand="gymiprep"] .gs-exams { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 560px;
  margin: 24px 0 0; padding: 0; list-style: none; }
html[data-brand="gymiprep"] .gs-exam { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 11px 14px 12px;
  border: var(--gp-bn) solid var(--gp-ink); border-radius: var(--gp-r-sm); background: var(--gp-card); }
html[data-brand="gymiprep"] .gs-exam-zap { font-family: var(--gp-font-display); font-weight: 900; font-stretch: 125%; font-size: 21px; line-height: 1.15; }
html[data-brand="gymiprep"] .gs-exam-name { font-weight: 800; font-size: var(--gp-fs-md); line-height: 1.3; overflow-wrap: anywhere; }
html[data-brand="gymiprep"] .gs-exam-meta { font-size: 14px; line-height: 1.35; color: var(--gp-ink-2); }
html[data-brand="gymiprep"] .gs-ctas { display: flex; flex-wrap: wrap; gap: 14px 16px; margin-top: 24px; }
html[data-brand="gymiprep"] .gs-ctas .gp-btn { flex: 1 1 auto; }
@media (min-width: 520px) { html[data-brand="gymiprep"] .gs-ctas .gp-btn { flex: 0 0 auto; } }
html[data-brand="gymiprep"] .gs-langline { display: flex; align-items: flex-start; gap: 10px; max-width: 34em; margin: 18px 0 0; padding: 10px 14px;
  border: var(--gp-bn) solid var(--gp-ink); border-radius: var(--gp-r-sm); background: var(--gp-card); font-size: 15px; line-height: 1.45; }
html[data-brand="gymiprep"] .gs-langline .gp-ic { margin-top: 1px; }

/* the example conversation: violet is the tutor's colour, the child's lines are ink */
html[data-brand="gymiprep"] .gs-demo-wrap { position: relative; min-width: 0; margin: 0 12px 0 0; padding-top: 18px; }
html[data-brand="gymiprep"] .gs-sticker { position: absolute; top: 0; left: 18px; z-index: 2; margin: 0; padding: 6px 12px;
  border: var(--gp-bw) solid var(--gp-ink); border-radius: var(--gp-pill); background: var(--gp-lime); box-shadow: var(--gp-sh-xs);
  font-family: var(--gp-font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-3deg); }
html[data-brand="gymiprep"] .gs-demo { border: var(--gp-bw) solid var(--gp-ink); border-radius: var(--gp-r); background: var(--gp-card);
  box-shadow: 8px 8px 0 var(--gp-violet), 8px 8px 0 3px var(--gp-ink); overflow: hidden; }
html[data-brand="gymiprep"] .gs-demo-top { display: flex; align-items: center; gap: 12px; padding: 24px 16px 14px; background: var(--gp-violet);
  color: #FFFFFF; border-bottom: var(--gp-bw) solid var(--gp-ink); }
html[data-brand="gymiprep"] .gs-demo-top b { display: block; font-size: var(--gp-fs-base); font-weight: 800; line-height: 1.2; }
html[data-brand="gymiprep"] .gs-demo-top small { display: block; font-size: 13.5px; line-height: 1.3; }
html[data-brand="gymiprep"] .gs-demo-top .gp-ai-badge { margin-left: auto; }
html[data-brand="gymiprep"] .gs-avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px;
  border: var(--gp-bn) solid var(--gp-ink); border-radius: 12px; background: var(--gp-lime); }
html[data-brand="gymiprep"] .gs-avatar svg { display: block; width: 26px; height: 26px; }
html[data-brand="gymiprep"] .gs-demo-task { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; padding: 11px 16px;
  background: var(--gp-paper); border-bottom: var(--gp-bn) dashed var(--gp-ink); }
html[data-brand="gymiprep"] .gs-demo-task .gp-math { font-size: 19px; }
html[data-brand="gymiprep"] .gs-chat { display: flex; flex-direction: column; gap: 12px; padding: 16px; }
html[data-brand="gymiprep"] .gs-msg { max-width: 88%; margin: 0; padding: 10px 14px; border: var(--gp-bn) solid var(--gp-ink); border-radius: 16px;
  font-size: 16px; line-height: 1.45; overflow-wrap: break-word; }
html[data-brand="gymiprep"] .gs-msg-kid { align-self: flex-end; background: var(--gp-ink); color: #FFFFFF; border-bottom-right-radius: 4px; }
html[data-brand="gymiprep"] .gs-msg-tutor { align-self: flex-start; background: var(--gp-violet-tint); border-bottom-left-radius: 4px; }
html[data-brand="gymiprep"] .gs-demo .gp-ai-note { padding: 11px 16px 12px; border-top: var(--gp-bn) solid var(--gp-ink); }
html[data-brand="gymiprep"] .gs-demo-cap { margin-top: 24px; font-family: var(--gp-font-display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem); line-height: 1.15; letter-spacing: -.015em; }

/* topics, for example: a static band (it never scrolls by itself) */
html[data-brand="gymiprep"] .gs-band { padding: 18px 0; background: var(--gp-ink); color: var(--gp-lime); border-bottom: var(--gp-bw) solid var(--gp-ink); }
html[data-brand="gymiprep"] .gs-band ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 0; padding: 0;
  list-style: none; font-family: var(--gp-font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(.88rem, .3vw + .78rem, .98rem);
  line-height: 1.2; letter-spacing: 0; text-transform: uppercase; }
html[data-brand="gymiprep"] .gs-band li { padding: 6px 12px 7px; border: var(--gp-bn) solid var(--gp-lime); border-radius: var(--gp-pill); }
html[data-brand="gymiprep"] .gs-band li:nth-child(3n+2) { background: var(--gp-lime); color: var(--gp-ink); }

/* ---- Cards: the tutor's three helps and the four steps --------------------------------------------------------- */
html[data-brand="gymiprep"] .gs-cards { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 860px) { html[data-brand="gymiprep"] .gs-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; } }
html[data-brand="gymiprep"] .gs-card { min-width: 0; padding: 22px; border: var(--gp-bw) solid var(--gp-ink); border-radius: var(--gp-r);
  background: var(--gp-card); box-shadow: var(--gp-sh); }
html[data-brand="gymiprep"] .gs-card-tutor { background: var(--gp-violet-tint); }
html[data-brand="gymiprep"] .gs-card-ic { display: grid; place-items: center; width: 44px; height: 44px; border: var(--gp-bn) solid var(--gp-ink);
  border-radius: 12px; background: var(--gp-violet); color: #FFFFFF; }
html[data-brand="gymiprep"] .gs-card-ic .gp-ic { width: 22px; height: 22px; }
html[data-brand="gymiprep"] .gs-card h3 { margin: 14px 0 0; font-family: var(--gp-font-display); font-weight: 900; font-stretch: 112%;
  font-size: var(--gp-fs-h3); line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
html[data-brand="gymiprep"] .gs-card p { margin: 8px 0 0; font-size: 16.5px; line-height: 1.5; }
html[data-brand="gymiprep"] .gs-limits { margin-top: 32px; max-width: 46rem; }
html[data-brand="gymiprep"] .gs-limits .gp-fb-p { margin-top: 4px; }

html[data-brand="gymiprep"] .gs-steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 700px) { html[data-brand="gymiprep"] .gs-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (min-width: 1100px) { html[data-brand="gymiprep"] .gs-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
html[data-brand="gymiprep"] .gs-step { display: flex; flex-direction: column; min-width: 0; padding: 18px 18px 20px; border: var(--gp-bw) solid var(--gp-ink);
  border-radius: var(--gp-r); background: var(--gp-card); box-shadow: var(--gp-sh-sm); }
html[data-brand="gymiprep"] .gs-num { align-self: flex-start; padding: 3px 10px; border: var(--gp-bn) solid var(--gp-ink); border-radius: var(--gp-pill);
  background: var(--gp-ink); color: var(--gp-lime); font-family: var(--gp-font-mono); font-size: 13px; font-weight: 600; line-height: 1.35; }
html[data-brand="gymiprep"] .gs-step h3 { margin: 12px 0 0; font-family: var(--gp-font-ui); font-weight: 800; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.01em; }
html[data-brand="gymiprep"] .gs-step p { margin: 6px 0 0; font-size: 16px; line-height: 1.5; }
html[data-brand="gymiprep"] .gs-step .gp-stars { margin-top: 12px; font-size: 20px; }
html[data-brand="gymiprep"] .gs-topics { max-width: 46rem; margin-top: 28px; }
html[data-brand="gymiprep"] .gs-topics dl { display: grid; gap: 14px; margin: 0; }
html[data-brand="gymiprep"] .gs-topics dt { font-weight: 800; }
html[data-brand="gymiprep"] .gs-topics dd { margin: 2px 0 0; line-height: 1.5; }
html[data-brand="gymiprep"] .gs-topics .gs-fold-more { margin: 14px 0 0; color: var(--gp-ink-2); line-height: 1.5; }

/* ---- Price ----------------------------------------------------------------------------------------------------- */
html[data-brand="gymiprep"] .gs-teaser { display: grid; gap: 22px; padding: 24px; border: var(--gp-bw) solid var(--gp-ink);
  border-radius: var(--gp-r); background: var(--gp-lime); box-shadow: var(--gp-sh); }
@media (min-width: 860px) {
  html[data-brand="gymiprep"] .gs-teaser { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 32px; padding: 32px 36px; }
}
html[data-brand="gymiprep"] .gs-teaser-copy { display: grid; gap: 12px; }
html[data-brand="gymiprep"] .gs-teaser .gs-h2 { font-size: clamp(1.6rem, 2.2vw + .9rem, 2.4rem); }
html[data-brand="gymiprep"] .gs-teaser-p { margin: 0; max-width: 34em; font-size: var(--gp-fs-lg); line-height: 1.5; }
html[data-brand="gymiprep"] .gs-teaser-act { display: grid; gap: 16px; justify-items: start; }
@media (min-width: 860px) { html[data-brand="gymiprep"] .gs-teaser-act { justify-items: end; } }
html[data-brand="gymiprep"] .gs-amount { margin: 0; font-family: var(--gp-font-display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(1.9rem, 1.6vw + 1.4rem, 2.6rem); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
html[data-brand="gymiprep"] .gs-amount-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
html[data-brand="gymiprep"] .gs-amount-row .gp-ph { flex: none; }
/* one subscription per exam: the word stands beside every amount */
html[data-brand="gymiprep"] .gs-per { font-weight: 800; font-size: var(--gp-fs-md); line-height: 1.2; color: var(--gp-ink); white-space: nowrap; }

/* the two ways to use it: without an account, with a subscription */
html[data-brand="gymiprep"] .gs-plans { display: grid; gap: 28px; }
@media (min-width: 900px) { html[data-brand="gymiprep"] .gs-plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: start; gap: 32px; } }
html[data-brand="gymiprep"] .gs-plan { display: flex; flex-direction: column; gap: 18px; min-width: 0; padding: 22px; border: var(--gp-bw) solid var(--gp-ink);
  border-radius: var(--gp-r); background: var(--gp-card); box-shadow: var(--gp-sh); }
@media (min-width: 760px) { html[data-brand="gymiprep"] .gs-plan { padding: 26px 28px 28px; } }
html[data-brand="gymiprep"] .gs-plan-sub { box-shadow: var(--gp-sh-lime); }
html[data-brand="gymiprep"] .gs-plan-h { margin: 0; font-family: var(--gp-font-display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(1.4rem, 1vw + 1.1rem, 1.8rem); line-height: 1.1; letter-spacing: -.015em; }
html[data-brand="gymiprep"] .gs-plan-top { display: grid; gap: 10px; }
html[data-brand="gymiprep"] .gs-prices { display: grid; gap: 0; margin: 0; border-top: var(--gp-bn) solid var(--gp-ink); }
html[data-brand="gymiprep"] .gs-price-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px;
  padding: 14px 0; border-bottom: var(--gp-bn) dashed var(--gp-ink); }
html[data-brand="gymiprep"] .gs-price-row dt { font-weight: 800; font-size: var(--gp-fs-base); }
html[data-brand="gymiprep"] .gs-price-row dd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; }
html[data-brand="gymiprep"] .gs-price-row .gs-amount { font-size: clamp(1.6rem, 1vw + 1.3rem, 2.1rem); }
/* on a phone every row reads the same way: the plan above, its price below */
@media (max-width: 519.98px) { html[data-brand="gymiprep"] .gs-price-row { flex-direction: column; align-items: flex-start; } }
/* the one line about the KulturLegi discount, under the prices */
html[data-brand="gymiprep"] .gs-plan-note { margin: 2px 0 0; font-weight: 700; font-size: var(--gp-fs-md); line-height: 1.45; color: var(--gp-ink); }
html[data-brand="gymiprep"] .gs-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
html[data-brand="gymiprep"] .gs-list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
html[data-brand="gymiprep"] .gs-tick { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 1px;
  border: var(--gp-bn) solid var(--gp-ink); border-radius: 7px; background: var(--gp-lime); }
html[data-brand="gymiprep"] .gs-tick .gp-ic { width: 14px; height: 14px; stroke-width: 3.2; }
html[data-brand="gymiprep"] .gs-tick-info { background: var(--gp-card); }
html[data-brand="gymiprep"] .gs-tick-tutor { background: var(--gp-violet); color: #FFFFFF; }
html[data-brand="gymiprep"] .gs-plan-intro { margin: 0; font-weight: 700; }
html[data-brand="gymiprep"] .gs-list a { color: inherit; font-weight: 700; text-underline-offset: 3px; }
html[data-brand="gymiprep"] .gs-plan .gp-btn { align-self: flex-start; }
@media (max-width: 519.98px) { html[data-brand="gymiprep"] .gs-plan .gp-btn { align-self: stretch; } }
html[data-brand="gymiprep"] .gs-after { display: grid; gap: 16px; max-width: 46rem; margin-top: 36px; }

/* questions: folds on paper (pricing) and on the ink band (landing) */
html[data-brand="gymiprep"] .gs-faq { max-width: 46rem; }
html[data-brand="gymiprep"] .gs-faq-h { margin: 0; font-family: var(--gp-font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
html[data-brand="gymiprep"] .gs-faq-list { display: grid; gap: 10px; margin-top: 12px; }
html[data-brand="gymiprep"] .gs-faq .gp-fold > div { padding: 0 16px 16px; line-height: 1.5; }
html[data-brand="gymiprep"] .gs-faq .gp-fold > div > p { margin: 0; }
html[data-brand="gymiprep"] .gs-faq .gp-fold > div > p + p { margin-top: 8px; }
html[data-brand="gymiprep"] .gs-faq .gp-ph { margin-right: 2px; vertical-align: 1px; }
html[data-brand="gymiprep"] .gs-faq a { color: inherit; font-weight: 700; text-underline-offset: 3px; }

/* ---- The ink band at the end of the landing page --------------------------------------------------------------- */
html[data-brand="gymiprep"] .gs-final { padding: 64px 0 72px; background: var(--gp-ink); color: var(--gp-paper); border-bottom: var(--gp-bw) solid var(--gp-ink); }
html[data-brand="gymiprep"] .gs-final .gs-h2 { color: var(--gp-paper); }
html[data-brand="gymiprep"] .gs-final-sub { margin: 14px 0 0; font-size: 18px; color: var(--gp-on-ink-2); }
html[data-brand="gymiprep"] .gs-final .gs-faq { margin-top: 52px; }
html[data-brand="gymiprep"] .gs-final .gs-faq-h { color: var(--gp-lime); }
html[data-brand="gymiprep"] .gs-final .gp-fold { border-color: var(--gp-line-2); background: #18181B; color: var(--gp-paper); }
html[data-brand="gymiprep"] .gs-final .gp-fold[open] { border-color: var(--gp-paper); }
html[data-brand="gymiprep"] .gs-final .gp-fold > summary::after { border-color: var(--gp-lime); color: var(--gp-lime); }
html[data-brand="gymiprep"] .gs-final .gp-fold[open] > summary::after { background: var(--gp-lime); color: var(--gp-ink); }
html[data-brand="gymiprep"] .gs-final .gp-fold > div { color: var(--gp-on-ink-2); }

/* ---- 404 ------------------------------------------------------------------------------------------------------- */
/* a short page: the main part fills the window, so the footer stands at its bottom */
html[data-brand="gymiprep"] body.gs-fill { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
html[data-brand="gymiprep"] body.gs-fill > main { flex: 1 0 auto; }
html[data-brand="gymiprep"] .gs-404-in { padding-top: 56px; padding-bottom: 88px; }
@media (min-width: 760px) { html[data-brand="gymiprep"] .gs-404-in { padding-top: 88px; padding-bottom: 120px; } }
html[data-brand="gymiprep"] .gs-404 .gp-lead { margin-top: 18px; }

/* ---- Motion: only for people who have not asked for less ------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html[data-brand="gymiprep"] .gp-fold > summary::after { transition: background-color var(--gp-dur-1) ease; }
}
