/* Page shells / responsive page compositions */
.home-main{width:min(calc(100% - 44px),var(--content-width));margin:0 auto;padding:clamp(35px,7vh,88px) 0 70px}.apps-section{margin-top:29px}.apps-section__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 3px 17px}.apps-section__head h2{font-size:14px;letter-spacing:.01em;font-weight:650;margin:0;color:var(--subtext)}.page-main{width:min(calc(100% - 48px),var(--content-width));margin:auto;padding:18px 0 90px}.page-intro{margin:30px 0 43px}.page-intro--compact{margin-bottom:29px}.games-kicker{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:19px}.launch-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,350px);gap:30px;align-items:start}.launch-hero{padding:38px;border:1px solid var(--border);border-radius:30px;background:linear-gradient(145deg,var(--surface),var(--bg));box-shadow:var(--shadow)}.launch-hero__cover{height:240px;border-radius:24px;background:linear-gradient(145deg,var(--card-from,#144877),var(--card-to,#0a193e));display:grid;place-items:center;overflow:hidden;position:relative;margin-bottom:25px;color:#fff}.launch-hero__cover:before{content:"";width:290px;height:290px;border:1px solid #ffffff33;box-shadow:0 0 0 40px #ffffff11,0 0 0 80px #ffffff08;transform:rotate(30deg);border-radius:50%;position:absolute;left:60%;top:-90px}.launch-hero__cover .icon{width:112px;height:112px;stroke-width:1.15;z-index:1;filter:drop-shadow(0 13px 15px #0004)}.launch-hero h1{font-size:40px;margin-bottom:13px}.launch-hero p{color:var(--subtext);font-size:15px}.launch-details{padding:25px;border:1px solid var(--border);border-radius:23px;background:var(--bg)}.launch-details h2{font-size:18px}.launch-details dl{margin:0}.launch-details dt{font-size:12px;color:var(--subtext);margin-top:13px}.launch-details dd{font-size:14px;margin:2px 0 0;font-weight:610}.studio-panel{display:flex;flex-wrap:wrap;gap:14px;align-items:center;padding:22px;border:1px solid var(--border);border-radius:22px;background:var(--surface)}.studio-panel label{font-size:13px;font-weight:650}.studio-panel select{padding:10px 14px;border-radius:13px;background:var(--bg);color:var(--text);border:1px solid var(--border)}.studio-preview{margin-top:25px;border:1px dashed var(--border);border-radius:25px;padding:22px;background:var(--bg)}.mini-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.mini-box{min-height:95px;border:1px solid var(--border);border-radius:20px;display:grid;place-items:center;color:var(--subtext);background:var(--surface)}.mini-box .icon{color:var(--brand-blue)}
@media(max-width:800px){.launch-grid{grid-template-columns:1fr}.launch-hero{padding:25px}}@media(max-width:530px){.home-main{width:min(calc(100% - 34px),430px);padding-top:36px}.brand{margin-bottom:39px}.brand-word{font-size:88px}.apps-section{margin-top:18px}.page-main{width:min(calc(100% - 34px),600px)}.page-intro{margin-top:17px}.launch-hero__cover{height:190px}.launch-hero h1{font-size:32px}.mini-grid{grid-template-columns:repeat(2,1fr)}}
/* v1.4 — Bausteine für generierte Seiten (templates/): ersetzen frühere Inline-Styles */
.sprite{position:absolute;width:0;height:0;overflow:hidden}.text-link--small{font-size:12px}.launch-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:23px}.studio-brand{margin-bottom:28px}.studio-brand .brand-word{font-size:80px}.studio-guide{margin:27px 0 0;color:var(--subtext);font-size:13px}
.legal{max-width:800px;margin:0 auto;padding:18px 0 40px}.legal h1{font-size:clamp(30px,6vw,42px)}.legal h2{margin:30px 0 10px;font-size:20px}.legal p,.legal li{line-height:1.65}.legal-banner{padding:13px 15px;border:1px solid #efcc7d;background:#fff8e5;color:#4a3a0a;border-radius:10px}.legal-footer{display:flex;gap:20px;flex-wrap:wrap;padding:25px 0;border-top:1px solid var(--border)}
.lang-switch{display:inline-flex;gap:10px;align-items:center}.lang-switch a{text-decoration:none}.lang-switch a:hover{text-decoration:underline}.lang-switch__current{font-weight:750;color:var(--text)}
.legal-address{font-style:normal;line-height:1.65}.legal ul{padding-left:22px}.legal-todo{background:#ffe08a;color:#3d2e00;padding:1px 6px;border-radius:5px}
.launch-hero__cover:has(.launch-hero__img){height:auto;aspect-ratio:1200/630}.launch-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}.game-info{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px 28px;margin-top:28px;padding:25px;border:1px solid var(--border);border-radius:23px;background:var(--bg)}.game-info h2{font-size:19px;margin:0 0 10px}.game-info p{line-height:1.6;margin:0 0 12px}.game-info ul{margin:0;padding-left:20px;line-height:1.6}.game-info__faq{grid-column:1/-1}.game-faq__item{border-top:1px solid var(--border);padding:10px 0}.game-faq__item summary{cursor:pointer;font-weight:600}.game-faq__item p{margin:8px 0 0}@media(max-width:800px){.game-info{grid-template-columns:1fr;padding:20px}}
.game-info__art{margin:0 0 18px}.game-info__art img{display:block;width:100%;height:auto;border-radius:16px;border:1px solid var(--border)}
.about-offer h2,.about-text h2{font-size:21px;margin:0 0 14px}.about-grid{list-style:none;padding:0;margin:0 0 34px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.about-item{display:flex;gap:14px;align-items:flex-start;padding:18px;border:1px solid var(--border);border-radius:20px;background:var(--bg);box-shadow:var(--shadow);text-decoration:none;color:var(--text);height:100%;transition:transform .2s,border-color .2s}.about-item:hover{transform:translateY(-3px);border-color:#c4d6f1}.about-item__icon{flex:0 0 46px;height:46px;border-radius:14px;display:grid;place-items:center;color:#fff;background:var(--tile-color,#367bff)}.about-item__icon .icon{width:24px;height:24px;color:#fff;stroke:#fff}.about-item strong{display:block;margin-bottom:3px}.about-item span{font-size:14px;color:var(--subtext);line-height:1.5}.about-text{max-width:760px}.about-text h2{margin-top:30px}.about-text p{line-height:1.7}@media(max-width:530px){.about-grid{grid-template-columns:1fr}}
.notfound-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 44px}.notfound-search-title{font-size:18px;margin:0 0 16px}.notfound-page [data-component="global-search"]{max-width:760px}.notfound-en{margin-top:34px;color:var(--subtext);font-size:15px}
/* ab 1.13.0: Bereich Lernen (Gliederung Klasse -> Fach -> Lern-App, docs/21_LERNEN.md) */
.learn-grade{margin-top:30px}.learn-grade__title{font-size:26px;margin:0 0 6px}.learn-subject{margin-top:14px}.learn-subject__title{font-size:18px;margin:0 0 14px;color:var(--subtext);font-weight:650}.learn-subject .card-grid{margin-top:0}.learn-lock{display:inline-block;font-size:13px;margin:0 0 12px;padding:4px 10px;border-radius:999px;border:1px solid var(--border);background:var(--bg)}.learn-info h2+ul{margin-bottom:18px}.learn-info .game-info__controls h2:not(:first-child),.learn-info .game-info__about h2:not(:first-child){margin-top:18px}
/* 1.13.1: Lernkarte mit zwei echten Links (Titel -> Infoseite, Starten -> play/), kein gestreckter Karten-Link */
.learn-card__start{padding:10px 18px;border-radius:999px;position:relative;z-index:2}.learn-card .card-title a{color:inherit}
