.home { --hmax: 1080px; }
.home main { max-width: var(--hmax); margin: 0 auto; padding: 0 16px; }
.home [id] { scroll-margin-top: 84px; }

.hhead {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px); background: var(--bg); border-bottom: 2px solid var(--line);
}
.hbrand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 28px; }
.hhead__acts { display: flex; align-items: center; gap: 6px; }
.hhead .iconbtn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; }

.hhero { display: grid; gap: 18px; align-items: center; padding: 22px 0 40px; }
.hhero__art { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; }
.hfig { position: relative; display: inline-block; line-height: 0; margin: 0 -8px; }
button.hfig, .hcrew__item { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button.hfig:focus-visible, .hcrew__item:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: 18px; }
.hfig.hop .hfig__svg, .hcrew__item.hop .hfig__svg { display: inline-block; animation: hhop .55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes hhop { 30% { transform: translateY(-16px) scale(1.04); } 60% { transform: translateY(0) scale(.98, 1.02); } }
.hsay {
  position: absolute; left: 50%; bottom: calc(100% + 4px); z-index: 4; transform: translateX(-50%); width: max-content; max-width: min(240px, 80vw);
  background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: 8px 12px; box-shadow: var(--shadow);
  font-family: var(--display); font-weight: 500; font-size: 15px; line-height: 1.3; text-align: center; white-space: normal; animation: popIn .25s ease-out;
}
.hsay::after { content: ""; position: absolute; left: calc(50% + var(--tail, 0px)); top: 100%; transform: translateX(-50%); border: 8px solid transparent; border-top-color: var(--line); }
.hhero__art .hsay { bottom: auto; top: calc(100% - 4px); }
.hhero__art .hsay::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: var(--line); }
.hhero__art .hfig--capy { order: 3; z-index: 2; }
.hhero__art .hfig--elchy { order: 2; }
.hhero__art .hfig--catlin { order: 4; }
.hhero__art .hfig--schoko { order: 5; }
.hhero__art .hfig--baerli { order: 1; }
.hhero__art .hfig--jochen { order: 6; }
.hhero h1 { font-size: clamp(36px, 8vw, 58px); line-height: 1.05; margin: 0 0 12px; text-align: center; }
.hlead { font-size: 19px; color: var(--muted); text-align: center; margin: 0 0 22px; text-wrap: pretty; }
.hhero__cta { display: grid; gap: 12px; max-width: 400px; margin: 0 auto 12px; }
.hhero__try { text-align: center; margin: 4px 0 14px; font-weight: 700; }
.hhero__try a { color: var(--teal-dark); }
.hhero__nobr { white-space: nowrap; }
.hhero__pfeil { display: inline-block; width: 1.3em; height: 1.3em; margin: -.3em 0 -.2em .15em; vertical-align: middle; animation: runter 1.8s ease-in-out infinite; }
.hhero__pfeil svg { display: block; width: 100%; height: 100%; }
@keyframes runter { 0%, 50%, 100% { transform: none; } 25% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .hhero__pfeil { animation: none; } }
.htrust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; font-weight: 700; }
.htrust li::before { content: "✓ "; color: var(--green); font-weight: 900; }
@media (max-width: 559px) {
  .hhero { padding-top: 14px; }
  .hhero__art { flex-wrap: nowrap; }
  .hhero__art .hfig--catlin, .hhero__art .hfig--schoko, .hhero__art .hfig--jochen { display: none; }
  .hhero__art .hfig svg { height: 112px; width: auto; }
  .hhero__art .hfig--capy svg { height: 150px; }
  .hhero__art .hfig--elchy { order: 1; }
  .hhero__art .hfig--capy { order: 2; }
  .hhero__art .hfig--baerli { order: 3; }
}
@media (min-width: 900px) {
  .hhero { grid-template-columns: 1.15fr 1fr; gap: 40px; padding: 56px 0 72px; }
  .hhero h1, .hhero .hlead, .hhero__try { text-align: left; }
  .htrust { justify-content: flex-start; }
  .hhero__cta { margin: 0 0 12px; }
}

.hsubjects { border-block: 2px solid var(--line); padding: 16px 0; }
.hsubjects__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-family: var(--display); font-weight: 600; color: var(--muted); }
.hsubjects__row span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.hsubjects__row span:not(:has(svg))::before { content: ""; width: 26px; height: 26px; }
.hhero__art { min-height: 150px; }
@media (min-width: 560px) { .hhero__art { min-height: 210px; } }

.hfeature { display: grid; gap: 14px; align-items: center; padding: 44px 0; border-bottom: 2px solid var(--line); }
.home h2 { font-size: clamp(27px, 5vw, 38px); line-height: 1.12; color: var(--orange-ink); margin: 0 0 12px; }
.hfeature p, .hschool p { font-size: 18px; line-height: 1.55; margin: 0 0 10px; }
.hfeature__art { position: relative; display: flex; justify-content: center; }
.hfig__badge { position: absolute; right: 20%; bottom: 6%; }
@media (min-width: 900px) {
  .hfeature { grid-template-columns: 1fr 1fr; gap: 56px; padding: 64px 0; }
  .hfeature--flip .hfeature__art { order: 2; }
}

.hprices { padding: 52px 0 36px; text-align: center; }
.hprices__grid { display: grid; gap: 22px; margin: 28px 0 16px; text-align: left; }
@media (min-width: 900px) { .hprices__grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.hprice { position: relative; display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 2px solid var(--line); border-radius: 22px; padding: 22px; }
.hprice--top { border-color: var(--orange); box-shadow: 0 4px 0 var(--orange); }
.hprice__badge { position: absolute; top: -14px; left: 20px; background: var(--teal); color: #fff; border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 13px; }
.hprice__name { font-family: var(--display); font-weight: 600; font-size: 24px; }
.hprice__amount { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.1; }
.hprice__amount small { font-size: 16px; color: var(--muted); font-weight: 500; }
.hprice ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 6px; }

.hschool { display: grid; gap: 12px; align-items: center; background: var(--teal-soft); border-radius: 26px; padding: 24px; margin: 20px 0 8px; }
.hschool h2 { color: var(--teal-dark); }
@media (min-width: 900px) { .hschool { grid-template-columns: 200px 1fr; gap: 28px; padding: 28px 36px; } }

.hfinal { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 44px 0 64px; }
.hfinal h2 { margin: 0; }

.hfoot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  max-width: var(--hmax); margin: 0 auto; padding: 22px 16px 40px; border-top: 2px solid var(--line); font-size: 24px;
}
.hfoot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; }
.hfoot a { color: var(--muted); }

.hphone { position: relative; width: 100%; max-width: 320px; margin: 0 auto; border: 8px solid var(--edge); border-radius: 38px; background: var(--bg); overflow: hidden; box-shadow: 0 10px 0 var(--line); }
.hphone img { display: block; width: 100%; height: auto; aspect-ratio: 600 / 1298; background: var(--card); }
.hphone--small { max-width: 300px; }

.hdemo { display: grid; gap: 22px; align-items: center; padding: 44px 0; border-bottom: 2px solid var(--line); }
.hdemo__text p { font-size: 18px; line-height: 1.55; margin: 0 0 16px; }
.hdemo__subjects { display: flex; flex-wrap: wrap; gap: 8px; }
.hchip {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border: 2px solid var(--line); border-radius: 999px; background: var(--card);
  font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink); cursor: pointer; box-shadow: 0 3px 0 var(--line);
}
.hchip[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dark); box-shadow: 0 3px 0 var(--teal); }
.hphone--demo { max-width: 390px; }
.hdemo__screen { position: relative; height: 680px; padding: 28px 14px 0; overflow: hidden; }
.hdemo__screen .track { margin-left: 16px; }
.hdemo__noscript { padding: 40px 12px; text-align: center; }
.hdemo__screen .qspeak { margin: 16px 0 16px; }
.hdemo__screen .qtext { font-size: 20px; margin: 0; }
.hdemo__screen .answers { gap: 10px; }
.hdemo__screen .answer { padding: 11px 14px; font-size: 16px; }
.hdemo__screen .pair { min-height: 52px; font-size: 15px; }
.hdemo__screen .sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px 16px; }
.hdemo__screen .expl { margin-bottom: 10px; }
.hdemo__chest[hidden], .hdemo__prize[hidden] { display: none; }
.hdemo__end { height: 100%; display: grid; place-items: center; text-align: center; padding-bottom: 20px; }
.hdemo__chest { display: grid; justify-items: center; gap: 10px; font: inherit; background: none; border: 0; cursor: pointer; animation: hwobble 1.4s ease-in-out infinite; }
.hdemo__chest.open { animation: hopen .45s ease-in forwards; }
.hdemo__tap { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--orange-ink); }
@keyframes hwobble { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-6deg); } 80% { transform: rotate(6deg); } 90% { transform: rotate(-3deg); } }
@keyframes hopen { to { transform: scale(1.5); opacity: 0; } }
.hdemo__prize { display: grid; justify-items: center; gap: 6px; width: 100%; animation: popIn .35s ease-out; }
.hdemo__prize h3 { margin: 4px 0 0; font-size: 28px; }
.hdemo__prize .btn { width: 100%; }
.hdemo__prize .bigstars { display: flex; gap: 8px; }
.hdemo__prize .bigstars .orange-ico { width: 52px; height: 52px; }
.hdemo__prize .bigstars span { display: inline-block; animation: popIn .4s both; }
.hdemo__prize .bigstars span:nth-child(2) { animation-delay: .15s; }
.hdemo__prize .bigstars span:nth-child(3) { animation-delay: .3s; }
.hdemo__prize .bigstars .off { opacity: .3; filter: grayscale(1); }
.hdemo__score { font-size: 18px; margin: 0; }
.hdemo__prize p.small { margin: 0 0 8px; }
@media (max-width: 420px) {
  .hphone--demo { border-width: 3px; border-radius: 26px; box-shadow: 0 6px 0 var(--line); }
  .hdemo__screen { height: 610px; padding: 26px 10px 0; }
}
@media (min-width: 900px) {
  .hdemo { grid-template-columns: 1fr 1fr; gap: 56px; padding: 64px 0; }
  .hdemo__screen { height: 630px; }
}

.hshots { padding: 52px 0 40px; border-bottom: 2px solid var(--line); text-align: center; }
.hshots__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(70%, 260px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 26px -16px 0; padding: 4px 16px 18px; text-align: left; scrollbar-width: thin;
}
.hshot { margin: 0; scroll-snap-align: center; }
.hshot .hphone { border-width: 6px; border-radius: 30px; }
.hshot figcaption { margin-top: 14px; font-size: 16px; line-height: 1.45; }
.hshot figcaption b { display: block; font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--orange-ink); }
@media (min-width: 900px) {
  .hshots__row { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; margin: 32px 0 0; padding: 0; }
}

.hextras { padding: 52px 0 40px; border-bottom: 2px solid var(--line); text-align: center; }
.hextras__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 340px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 26px -16px 14px; padding: 4px 16px 16px; text-align: left; scrollbar-width: thin;
}
.hextra {
  --tint: var(--teal-soft); --tone: var(--teal-dark);
  position: relative; display: flex; flex-direction: column; overflow: hidden; scroll-snap-align: center;
  background: var(--tint); border-radius: 28px; padding: 22px 20px 0;
}
.hextra--lesen { --tint: var(--orange-soft); --tone: var(--orange-ink); }
.hextra--rechnen { --tint: var(--gturbo-soft); --tone: var(--gturbo-ink); }
.hextra--raetsel { --tint: var(--turbo-soft); --tone: var(--turbo-ink); }
.hextra__for { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--tone); }
.hextra__new { background: var(--tone); color: var(--tint); border-radius: 999px; padding: 2px 9px; letter-spacing: .05em; }
.hextra h3 { font-family: var(--display); font-weight: 600; font-size: clamp(25px, 4.4vw, 30px); line-height: 1.12; margin: 0 0 8px; }
.hextra > p:not(.hextra__for) { font-size: 16.5px; line-height: 1.5; margin: 0 0 6px; }
.hextra__shot { --pw: 208px; --shift: 38px; --lap: 18px; position: relative; display: flex; justify-content: center; height: 316px; margin-top: auto; padding-top: 14px; }
.hextra__shot .hphone { flex: none; align-self: flex-start; width: var(--pw); margin: 0 0 0 calc(var(--shift) * 2); border-width: 6px; border-radius: 30px; box-shadow: none; }
.hextra__host { position: absolute; right: calc(50% + var(--pw) / 2 - var(--shift) - var(--lap)); bottom: -4px; z-index: 1; min-height: 104px; line-height: 0; filter: drop-shadow(0 3px 0 color-mix(in srgb, var(--tone) 22%, transparent)); }
.hextra__host .hfig { margin: 0; }
.hextra__host svg { height: 100px; width: auto; }
@media (min-width: 720px) {
  .hextras__row { grid-auto-flow: row; grid-template-columns: 1fr 1fr; overflow: visible; margin: 32px 0 16px; padding: 0; gap: 22px; }
  .hextra { padding: 26px 26px 0; }
  .hextra__shot { --pw: 236px; --shift: 48px; --lap: 16px; height: 350px; }
  .hextra__host svg { height: 118px; }
}

.hfinder { background: var(--card); border: 2px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow); }
.hfinder__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hfinder__fields label { display: grid; gap: 4px; font-weight: 700; font-size: 14px; color: var(--muted); }
.hfinder__fields label:first-child { grid-column: 1 / -1; }
.hfinder__fields select { width: 100%; font: inherit; font-size: 17px; font-weight: 700; color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: 12px; padding: 10px; }
.hfinder__out { margin-top: 16px; min-height: 150px; }
.hfinder__out p { margin: 0 0 10px; }
.hfinder__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.hfinder__list li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 6px; border-radius: 999px; background: var(--teal-soft); font-family: var(--display); font-weight: 600; }
@media (min-width: 560px) {
  .hfinder__fields { grid-template-columns: 2fr 1.4fr 1fr; }
  .hfinder__fields label:first-child { grid-column: auto; }
}

.hvideo { width: 100%; max-width: 300px; margin: 0 auto; }
.hvideo video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 26px; border: 2px solid var(--line); background: var(--card); box-shadow: 0 8px 0 var(--line); }

.hcrew { padding: 52px 0 40px; border-bottom: 2px solid var(--line); text-align: center; }
.hcrew__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 8px; margin-top: 30px; }
.hcrew__item { position: relative; display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border-radius: 18px; }
.hcrew__item .hfig { display: flex; align-items: flex-end; justify-content: center; height: 104px; margin: 0; }
.hcrew__item .hfig svg { width: 92px; height: auto; }
.hcrew__item b { font-family: var(--display); font-weight: 600; font-size: 19px; margin-top: 4px; }
.hcrew__item .small { line-height: 1.3; }
.hcrew__item .hsay { bottom: calc(100% - 20px); }
@media (min-width: 900px) {
  .hcrew__grid { grid-template-columns: repeat(6, 1fr); }
  .hcrew__item .hfig { height: 124px; }
  .hcrew__item .hfig svg { width: 112px; }
}

.hfaq { padding: 48px 0 20px; max-width: 760px; margin: 0 auto; }
.hfaq details { border-bottom: 2px solid var(--line); padding: 14px 0; }
.hfaq summary { cursor: pointer; font-family: var(--display); font-weight: 600; font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.hfaq summary::-webkit-details-marker { display: none; }
.hfaq summary::after { content: "+"; color: var(--orange); font-size: 26px; line-height: 1; transition: transform .2s; }
.hfaq details[open] summary::after { transform: rotate(45deg); }
.hfaq details p { margin: 10px 0 0; font-size: 17px; line-height: 1.55; }
