@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
:root{--plum:#73225c;--cream:#f6f4ef;--paper:#fff;--text:#2e2e2c;--muted:#77736d;--line:#e2ddd6;--soft:#f3eaf0}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--cream);color:var(--text);font-family:"DM Sans",system-ui,sans-serif}
.app{width:min(820px,calc(100% - 24px));margin:auto;padding:30px 0 42px}.hero{display:flex;align-items:center;gap:16px;padding:12px 8px 26px;position:relative}.hero.compact{padding-top:34px}
.jar{flex:0 0 66px;width:66px;height:66px;display:grid;place-items:center;border-radius:21px;background:#fff;box-shadow:0 10px 28px rgba(46,46,44,.07);font-size:34px}.eyebrow{color:var(--plum);font-size:11px;font-weight:700;letter-spacing:.16em}
h1{
    margin:3px 0 6px;
    color:var(--plum);
    font-family:"Trebuchet MS",sans-serif;
    font-size:clamp(38px,7vw,48px);
    line-height:1.05;
    font-weight:700;
}
.glass-grid{display:grid;gap:12px}.glass-card{display:flex;align-items:center;gap:15px;padding:18px;border:1px solid var(--line);border-radius:20px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 10px 28px rgba(46,46,44,.05)}
.glass-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:var(--soft);font-size:25px}.glass-copy h2{margin:0 0 3px;font-size:18px}.glass-copy p{margin:0;color:var(--muted);font-size:13px}.arrow{margin-left:auto;color:var(--plum);font-size:24px}
.panel,.results,.detail{background:#fff;border:1px solid var(--line);border-radius:22px;padding:22px;margin-bottom:14px;box-shadow:0 12px 34px rgba(46,46,44,.06)}
.section-title,.result-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.section-title{margin-bottom:14px}.section-title h2{margin:0;font-size:20px}.link-button{border:0;background:none;color:var(--plum);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.category{position:relative;cursor:pointer}.category input{position:absolute;opacity:0}.category span{display:block;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:#faf9f7;font-size:14px}.category input:checked+span{border-color:var(--plum);box-shadow:inset 0 0 0 2px var(--plum);background:var(--soft);font-weight:700;color:var(--plum)}
.hint{margin:14px 0 0;color:var(--muted);font-size:12px}.draw-row{display:flex;gap:10px;align-items:end;margin-top:18px}.count{width:100px}.count span{display:block;margin-bottom:6px;font-size:12px;font-weight:700}select{width:100%;padding:11px;border:1px solid var(--line);border-radius:11px;background:#fff;font:inherit}
.draw,.secondary{flex:1;border:0;border-radius:13px;padding:14px 18px;font:inherit;font-weight:700;cursor:pointer}.draw{background:var(--plum);color:#fff}.secondary{background:var(--soft);color:var(--plum)}
.result-head h2{margin:2px 0 0;font-size:21px}.badge{padding:6px 9px;border-radius:999px;background:#eef3d8;color:#5b6e17;font-size:11px;font-weight:700}
.exercise{display:flex;gap:13px;border-top:1px solid var(--line);padding:18px 0}.number{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--plum);color:#fff;font-weight:700}.exercise-main h3{margin:2px 0 0;font-size:20px}.exercise-main p{margin:7px 0 0;color:#555;line-height:1.5}.meta{display:flex;gap:6px;flex-wrap:wrap}.meta span{padding:5px 8px;border-radius:999px;background:#f1eee9;color:#625e57;font-size:11px}.more{display:inline-block;margin-top:10px;color:var(--plum);font-size:12px;font-weight:700;text-decoration:none}.again{display:flex;margin-top:12px}.empty{color:var(--muted);padding:14px 0}
.detail h2{font-size:30px;line-height:1.15;margin:14px 0}.description{margin-bottom:18px;line-height:1.6}.legacy-content{border-top:1px solid var(--line);padding-top:18px;line-height:1.6;overflow:auto}.legacy-content img{max-width:100%;height:auto}.legacy-content a{color:var(--plum)}
footer{text-align:center;color:var(--muted);font-size:12px;padding:16px 0}
@media(max-width:600px){.category-grid{grid-template-columns:1fr}.draw-row{flex-direction:column;align-items:stretch}.count{width:100%}.detail h2{font-size:25px}}



/* Aufklappbare Übungsdetails */
.exercise-title-row{
  display:flex;
  align-items:center;
  gap:7px;
}
.exercise-title-row h3{
  flex:1;
  margin:2px 0 0;
}
.expand-icon{
  flex:0 0 24px;
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  border-radius:50%;
  background:var(--soft);
  color:var(--plum);
  font:inherit;
  font-size:16px;
  line-height:1;
  cursor:pointer;
  transition:transform .18s ease, background .18s ease;
}
.expand-icon[aria-expanded="true"]{
  transform:rotate(180deg);
  background:var(--plum);
  color:#fff;
}
.short-description{
  margin:7px 0 0 !important;
}
.exercise-detail{
  margin-top:12px;
  padding:16px 0 3px;
  border-top:1px solid var(--line);
  line-height:1.6;
  overflow:auto;
}
.exercise-detail[hidden]{display:none}
.exercise-detail img{
  display:block;
  max-width:100%;
  height:auto;
  margin:12px 0;
  border-radius:12px;
}
.exercise-detail a{color:var(--plum)}
.exercise-detail p:first-child{margin-top:0}


/* 🍬 Bunte Bonbon-Schnipsel */
.category-grid .category:nth-child(6n+1) span{
  background:#dff5f2;
}
.category-grid .category:nth-child(6n+2) span{
  background:#ffe9c5;
}
.category-grid .category:nth-child(6n+3) span{
  background:#e5ebfb;
}
.category-grid .category:nth-child(6n+4) span{
  background:#f9ddf5;
}
.category-grid .category:nth-child(6n+5) span{
  background:#f9e1df;
}
.category-grid .category:nth-child(6n) span{
  background:#e9e3fa;
}

.category-grid .category span{
  border-color:rgba(180,170,165,.35);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.category-grid .category input:checked + span{
  border-color:var(--plum);
  box-shadow:inset 0 0 0 2px var(--plum);
  transform:translateY(-1px);
}

/* Etwas mehr Bonbonglas-Gefühl bei den Karten */
.exercise:nth-of-type(2n) .number{
  background:#9b5a83;
}
.exercise:nth-of-type(3n) .number{
  background:#7f9a4a;
}

/* =========================================================
   TRAININGSGLAS FOOTER
   ========================================================= */

.tg-footer-cta {
    position: relative;

    width: 100vw;
    margin-left: calc(50% - 50vw);

    /* nah an den Trainingswelten */
    margin-top: 230px;

    height: 300px;

    background: #73225c;
    color: #fff;

    overflow: visible;
}


/* =========================================================
   ORGANISCHE WELLE OBEN
   ========================================================= */

.tg-footer-cta::before {
    content: "";

    position: absolute;

    top: -38px;
    left: -20%;

    width: 140%;
    height: 58px;

    background: #f8f4ed;

    border-radius:
        0 0 50% 50% /
        0 0 100% 100%;

    z-index: 1;

    pointer-events: none;
}


/* =========================================================
   CTA-INHALT
   ========================================================= */

.tg-footer-inner {
    position: relative;

    width: min(1200px, calc(100% - 40px));

    height: 300px;

    margin: 0 auto;

    padding: 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    overflow: visible;

    z-index: 2;
}


/* =========================================================
   HUNDE
   ========================================================= */

.tg-footer-dogs {
    position: absolute;

    right: 15px;

    bottom: -25px;

    width: 400px;
    height: auto;

    z-index: 10;

    margin: 0;

    display: block;
}

.tg-footer-dogs img {
    display: block;

    width: 100%;
    height: auto;

    max-width: none;

    filter:
        drop-shadow(
            0 12px 14px rgba(0, 0, 0, .15)
        );

    transform: rotate(2deg);
}


/* =========================================================
   TEXT
   ========================================================= */

.tg-footer-text {
    width: calc(100% - 430px);

    position: relative;

    z-index: 5;

    padding: 0;
}

.tg-footer-text h2 {
    margin: 0 0 16px;

    color: #efb4d1;

    font-family:
        "Trebuchet MS",
        sans-serif;

    font-size: 32px;

    line-height: 1.1;
}

.tg-footer-text p {
    margin: 0 0 16px;

    color: #fff;

    font-size: 16px;

    line-height: 1.4;
}

.tg-heart {
    margin-left: 6px;

    color: #ef9fc9;

    font-size: 27px;
}


/* =========================================================
   BUTTON
   ========================================================= */

.tg-footer-button {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    padding: 11px 20px;

    border-radius: 11px;

    background: #aac83b;

    color: #fff;

    text-decoration: none;

    text-transform: uppercase;

    font-size: 13px;

    font-weight: 700;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.tg-footer-button span {
    font-size: 22px;
}

.tg-footer-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 15px rgba(0,0,0,.18);
}


/* =========================================================
   RECHTLICHER FOOTER
   ========================================================= */

.tg-footer-legal {
    position: relative;

    width: 100vw;

    min-height: 58px;

    margin: 0;

    padding:
        14px max(20px, calc((100vw - 1200px) / 2 + 20px));

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    background: #73225c;

    color: #ead9e4;

    font-size: 12px;

    border-top: 1px solid rgba(255,255,255,.18);

    z-index: 3;
}

.tg-footer-legal a {
    color: #efb4d1;

    text-decoration: none;

    margin-left: 20px;

    font-weight: 600;
}

.tg-footer-legal a:hover {
    text-decoration: underline;
}


/* =========================================================
   SOCIAL
   ========================================================= */

.tg-social {
    display: flex;

    align-items: center;

    gap: 8px;
}

.tg-social a {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    margin: 0;

    border-radius: 50%;

    background: #aac83b;

    color: #fff !important;

    font-size: 16px;

    text-decoration: none;
}


/* =========================================================
   FOOTER – MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .tg-footer-cta {
        height: 430px;
        margin-top: 65px;
        overflow: visible;
    }

    .tg-footer-cta::before {
        top: -48px;
        left: -25%;
        width: 150%;
        height: 90px;
        background: #f8f4ed;
        border-radius: 0 0 50% 50% / 0 0 100% 100%;
        z-index: 1;
    }

    .tg-footer-inner {
        width: 100%;
        height: 430px;
        margin: 0;
        padding: 0 15px;
        display: block;
        position: relative;
        overflow: visible;
    }

    /* Hunde: feste Position oberhalb des Textbereichs */
    .tg-footer-dogs {
        position: absolute;
        left: 50%;
        right: auto;
        top: auto;
        bottom: 175px;
        transform: translateX(-50%);
        width: 270px;
        height: auto;
        margin: 0;
        z-index: 10;
    }

    .tg-footer-dogs img {
        display: block;
        width: 100%;
        height: auto;
        max-width: none;
        transform: rotate(2deg);
    }

    /* Text: eigener Bereich ganz unten */
    .tg-footer-text {
        position: absolute;
        left: 20px;
        right: 20px;
        bottom: 25px;
        width: auto;
        margin: 0;
        padding: 0;
        text-align: center;
        z-index: 5;
    }

    .tg-footer-text h2 {
        margin: 0 0 10px;
        font-size: 27px;
        line-height: 1.1;
    }

    .tg-footer-text p {
        margin: 0 0 12px;
        font-size: 15px;
        line-height: 1.35;
    }

    .tg-heart {
        font-size: 24px;
    }

    .tg-footer-button {
        padding: 10px 17px;
        gap: 10px;
        font-size: 12px;
    }

    .tg-footer-button span {
        font-size: 19px;
    }

    .tg-footer-legal {
        width: 100%;
        min-height: 64px;
        margin: 0;
        padding: 12px 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-align: center;
        background: #73225c;
        color: #ead9e4;
    }

    .tg-footer-legal a {
        margin: 0 8px;
        color: #efb4d1;
    }

    .tg-social {
        gap: 6px;
    }

    .tg-social a {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}


/* =========================================================
   SEHR SCHMALE HANDYS
   ========================================================= */

@media (max-width: 500px) {

    .tg-footer-cta {
        height: 445px;
        margin-top: 60px;
    }

    .tg-footer-inner {
        height: 445px;
    }

    .tg-footer-dogs {
        width: 250px;
        bottom: 155px;
    }

    .tg-footer-text {
        bottom: 24px;
    }

    .tg-footer-text h2 {
        font-size: 25px;
    }

    .tg-footer-text p {
        font-size: 13px;
    }
}

/* =========================================
   TRAININGSGLAS HEADER
   ========================================= */

.tg-header {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);

    background: #AAC83B;
    color: #fff;

    /* Platz unter dem Header für das überragende Glas */
    margin-bottom: 90px;

    overflow: visible;

    /* organische Unterkante */
    border-radius:
        0 0 48% 52% /
        0 0 12% 12%;
}


/* =========================================
   HEADER-INHALT
   ========================================= */

.tg-header-inner {
    position: relative;

    width: min(1200px, calc(100% - 40px));

    /* bewusst kompakt */
    height: 230px;

    margin: 0 auto;

    padding: 30px 20px;

    display: flex;
    align-items: center;

    overflow: visible;
}


/* =========================================
   GLAS
   ========================================= */

.tg-header-jar {
    position: absolute;

    left: 20px;
    top: -12px;

    width: 190px;

    z-index: 10;
    pointer-events: none;
}

.tg-header-jar img {
    display: block;

    width: 100%;
    height: auto;

    transform: rotate(-4deg);

    filter:
        drop-shadow(
            0 10px 10px rgba(70,35,60,.15)
        );
}


/* =========================================
   HEADER-TEXT
   ========================================= */

.tg-header-content {
    width: 100%;

    padding-left: 245px;

    position: relative;
    z-index: 5;
}

.tg-header-kicker {
    margin-bottom: 8px;

    color: #73225C;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 3px;
}


/* Gleiche Schriftfamilie wie
   "Lass uns zusammen üben!" */

.tg-header h1 {
    margin: 0;

    color: #fff;

    font-family:
        "Trebuchet MS",
        sans-serif;

    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
}

.tg-header p {
    margin: 12px 0 0;

    color: #73225C;

    font-size: 18px;
    line-height: 1.4;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 800px) {

    .tg-header {
        margin-bottom: 85px;
    }

    .tg-header-inner {
        width: calc(100% - 30px);

        height: 270px;

        padding: 25px 10px;

        display: flex;
        align-items: center;
    }

    .tg-header-jar {
        left: 0;
        top: -8px;

        width: 155px;
    }

    .tg-header-content {
        padding-left: 175px;

        text-align: left;
    }

    .tg-header-kicker {
        margin-bottom: 6px;

        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .tg-header h1 {
        font-size: 27px;
        line-height: 1.08;
    }

    .tg-header p {
        margin-top: 9px;

        font-size: 14px;
        line-height: 1.35;
    }
}


@media (max-width: 500px) {

    .tg-header {
        margin-bottom: 80px;
    }

    .tg-header-inner {
        height: 260px;
    }

    .tg-header-jar {
        width: 145px;
    }

    .tg-header-content {
        padding-left: 160px;
    }

    .tg-header-kicker {
        font-size: 9px;
        letter-spacing: 1.2px;
    }

    .tg-header h1 {
        font-size: 24px;
    }

    .tg-header p {
        font-size: 13px;
    }
}


/* =========================================
   STARTSEITEN-FOOTER
   ========================================= */

.tg-start-footer {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 120px;

    background: #73225c;
    color: #fff;

    overflow: visible;
}


/* Welle oben */

.tg-start-footer::before {
    content: "";

    position: absolute;
    top: -62px;
    left: -15%;

    width: 130%;
    height: 90px;

    background: #f8f4ed;

    border-radius: 50%;

    z-index: 1;
}


/* Inhalt */

.tg-start-footer-inner {
    position: relative;

    max-width: 820px;
    margin: 0 auto;

    min-height: 260px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 70px 30px 45px;

    z-index: 2;
}


.tg-start-footer-content {
    text-align: center;
}


/* Kicker */

.tg-start-footer-kicker {
    margin-bottom: 8px;

    color: #73225C;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 3px;
}


/* Überschrift */

.tg-start-footer h2 {
    margin: 0 0 12px;

    color: #fff;

    font-family:
        "Trebuchet MS",
        sans-serif;

    font-size: 42px;
    line-height: 1.1;
    font-weight: 700;
}


/* Text */

.tg-start-footer p {
    margin: 0 0 25px;

    color: #fff;

    font-size: 16px;
}


/* Button */

.tg-start-footer-button {
    display: inline-flex;

    align-items: center;
    gap: 14px;

    padding: 12px 22px;

    background: #aac83b;
    color: #fff;

    border-radius: 11px;

    text-decoration: none;

    text-transform: uppercase;

    font-size: 13px;
    font-weight: 700;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.tg-start-footer-button span {
    font-size: 22px;
}


.tg-start-footer-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 7px 15px rgba(0,0,0,.18);
}


/* Rechtlicher Bereich */

.tg-start-footer-legal {
    position: relative;

    width: 100%;

    border-top:
        1px solid rgba(255,255,255,.18);

    padding: 16px 25px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: #dbcbd7;

    font-size: 12px;

    z-index: 2;
}


.tg-start-footer-legal a {
    color: #efb4d1;

    text-decoration: none;

    margin-left: 20px;
}


.tg-start-footer-legal a:hover {
    text-decoration: underline;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .tg-start-footer {
        margin-top: 100px;
    }

    .tg-start-footer::before {
        top: -48px;
        left: -30%;
        width: 160%;
        height: 72px;
        border-radius: 50%;
    }

    .tg-start-footer-inner {
        min-height: 240px;

        padding:
            60px 20px 40px;
    }

    .tg-start-footer h2 {
        font-size: 32px;
    }

    .tg-start-footer p {
        font-size: 15px;
    }

    .tg-start-footer-legal {
        flex-direction: column;

        justify-content: center;

        text-align: center;

        padding: 18px 20px;
    }

    .tg-start-footer-legal a {
        margin: 0 8px;
    }
}


/* =========================================================
   STARTSEITE – TRAININGSGLAS HEADER
   ========================================================= */

.tg-start-header {
    position: relative;

    width: 100vw;
    margin-left: calc(50% - 50vw);

    margin-bottom: 65px;

    background: #f6f4ef;

    overflow: visible;
}


/* ---------------------------------------------------------
   INHALT
   --------------------------------------------------------- */

.tg-start-header-inner {
    position: relative;

    width: min(820px, calc(100% - 40px));

    min-height: 185px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    padding: 20px 20px 25px;

    box-sizing: border-box;
}


/* ---------------------------------------------------------
   GLAS
   --------------------------------------------------------- */

.tg-start-header-jar {
    position: relative;

    width: 180px;

    flex: 0 0 180px;

    align-self: flex-start;

    margin-top: -8px;

    z-index: 3;
}


.tg-start-header-jar img {
    display: block;

    width: 100%;
    height: auto;

    max-width: none;

    transform: rotate(-2deg);
}


/* ---------------------------------------------------------
   TEXT
   --------------------------------------------------------- */

.tg-start-header-content {
    position: relative;

    z-index: 2;

    margin-left: 20px;

    padding-top: 12px;
}


.tg-start-header-kicker {
    margin-bottom: 5px;

    color: #73225C;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
}


.tg-start-header h1 {
    margin: 0;

    color: #73225C;

    font-family:
        "Trebuchet MS",
        sans-serif;

    font-size: clamp(38px, 7vw, 48px);

    line-height: 1.05;

    font-weight: 700;
}


.tg-start-header p {
    margin: 8px 0 0;

    color: #73225C;

    font-size: 15px;

    line-height: 1.4;
}


/* ---------------------------------------------------------
   KLEINE ORGANISCHE WELLE UNTEN
   --------------------------------------------------------- */

.tg-start-header::after {
    content: "";

    position: absolute;

    left: -15%;

    bottom: -36px;

    width: 130%;

    height: 72px;

    background: #f6f4ef;

    border-radius: 50%;

    z-index: 1;

   
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .tg-start-header {
        margin-bottom: 55px;
    }


    .tg-start-header-inner {
        width: calc(100% - 30px);

        min-height: 145px;

        padding:
            12px 10px 18px;
    }


    .tg-start-header-jar {
        width: 125px;

        flex-basis: 125px;

        margin-top: -5px;
    }


    .tg-start-header-content {
        margin-left: 10px;

        padding-top: 5px;
    }


    .tg-start-header-kicker {
        font-size: 9px;

        letter-spacing: 2px;

        margin-bottom: 3px;
    }


    .tg-start-header h1 {
        font-size: 32px;
    }


    .tg-start-header p {
        margin-top: 5px;

        font-size: 12px;
    }


    .tg-start-header::after {
        left: -25%;
        bottom: -30px;

        width: 150%;
        height: 55px;

        border-radius: 50%;
    }
}


/* =========================================================
   SEHR SCHMALE HANDYS
   ========================================================= */

@media (max-width: 400px) {

    .tg-start-header-jar {
        width: 110px;

        flex-basis: 110px;
    }


    .tg-start-header h1 {
        font-size: 29px;
    }


    .tg-start-header-content {
        margin-left: 6px;
    }
}



.tg-header-jar-link:focus-visible {
    outline: 3px solid #73225C;
    outline-offset: 4px;
    border-radius: 12px;
}

/* =========================================================
   GLAS IM HEADER – zurück zur Glasauswahl
   ========================================================= */

.tg-header-jar-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 100;
    cursor: pointer;
    text-decoration: none;
}

.tg-header-jar-link img {
    display: block;
    cursor: pointer;
}