/* Kundenkonto */
.auth { max-width: 460px; margin: 48px auto 0; }
.auth h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 14px 0 10px; }
.auth .sub { color: var(--copy); margin-bottom: 22px; }
.auth .alt { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: .92rem; }

/* Übersicht: eine ruhige Spalte mit Reitern */
#app { max-width: 780px; }
.hello { padding: 40px 0 20px; }
.hello h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }

.ktabs { display: flex; gap: 4px; background: var(--soft); border-radius: var(--r-pill); padding: 5px; margin-bottom: 26px; }
.ktabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; padding: 11px 12px; border-radius: var(--r-pill); cursor: pointer; font-weight: 500; font-size: .95rem; color: var(--copy); white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease); }
.ktabs button:hover { color: var(--ink); }
.ktabs button.is-on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.ktabs .n { font-size: .74rem; font-weight: 600; min-width: 22px; padding: 2px 7px; border-radius: 99px; background: var(--line-soft); color: var(--copy); }
.ktabs .is-on .n { background: var(--soft); }
.wdot { width: 8px; height: 8px; border-radius: 50%; background: #d08a00; flex: none; }
@media (max-width: 420px) { .ktabs button { padding: 10px 6px; font-size: .88rem; gap: 5px; } }
.kpanel { display: grid; gap: 14px; min-width: 0; }
.kpanel > * { min-width: 0; }

.sec-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 18px 0 -2px; }
.sec-title h2 { font-size: 1.1rem; }
.sec-title span { color: var(--copy); font-size: .88rem; }
.ctitle { font-size: 1.1rem; margin-bottom: 18px; }

/* nächstes Training */
.next { background: var(--dark); color: #f7f7f7; border-radius: var(--r); padding: 24px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: center; position: relative; overflow: hidden; }
.next .big { width: 88px; height: 94px; border-radius: 16px; background: rgba(255,255,255,.08); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.next .big small { font-size: .76rem; color: #cfcfcf; text-transform: uppercase; letter-spacing: .05em; }
.next .big b { font-family: var(--display); font-weight: 500; font-size: 2rem; }
.next .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #cfcfcf; }
.next h3 { color: #fff; font-family: var(--display); font-weight: 400; font-size: 1.35rem; margin: 4px 0 6px; overflow-wrap: anywhere; }
.next .meta { color: #cfcfcf; font-size: .92rem; }
.next .actions { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.next .hint { font-size: .86rem; color: #cfcfcf; margin: 0; }
.next .cat { position: absolute; right: -12px; top: -8px; width: 110px; opacity: .08; filter: invert(1); pointer-events: none; }
.btn.light { background: #f7f7f7; color: var(--ink); }
.btn.light:hover { background: #fff; color: var(--ink); }
.btn.light.is-loading::after { border-color: rgba(19,19,19,.25); border-top-color: var(--ink); }

/* Terminliste: kompakt, ein Knopf pro Zeile */
.list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden; }
.list + .list { margin-top: -14px; border-top: 0; border-radius: 0 0 16px 16px; }
.list:has(+ .list:not([hidden])) { border-radius: 16px 16px 0 0; }
.item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; }
.item + .item { border-top: 1px solid var(--line-soft); }
.cal { width: 50px; height: 54px; border-radius: 12px; background: var(--soft); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; flex: none; }
.cal small { font-size: .68rem; color: var(--copy); text-transform: uppercase; letter-spacing: .04em; }
.cal b { font-family: var(--display); font-weight: 500; font-size: 1.15rem; }
.item .info strong { display: block; font-family: var(--display); font-weight: 500; font-size: .98rem; }
.item .info > span { color: var(--copy); font-size: .9rem; }
.item .info .tag { margin-left: 4px; }
.item .acts { display: flex; gap: 6px; }
.more-btn { margin-top: -2px; }

/* Nachholstunden */
.credit { display: flex; align-items: center; justify-content: space-between; gap: 14px; background: var(--rose); border-radius: 16px; padding: 16px 18px; flex-wrap: wrap; }
.credit b { color: var(--brand); }
.credit span { display: block; color: var(--copy); font-size: .88rem; }

/* vergangene Termine */
.past { margin-top: 6px; }
.past summary { cursor: pointer; color: var(--copy); font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; width: fit-content; }
.past[open] summary { margin-bottom: 10px; }

/* Verträge */
.contract { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: #fff; }
.contract .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.contract h3 { font-family: var(--display); font-weight: 400; font-size: 1.25rem; }
.contract .nr { color: var(--copy); font-size: .84rem; margin-top: 3px; }
.contract .notice { margin-bottom: 18px; }
.facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.fact { background: var(--soft); border-radius: 14px; padding: 12px 14px; }
.fact span { display: block; font-size: .8rem; color: var(--copy); margin-bottom: 3px; }
.fact b { font-weight: 600; font-size: .96rem; }
.fact small { display: block; font-weight: 400; font-size: .82rem; color: var(--copy); margin-top: 2px; }
.contract .foot { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 20px; }

/* Auswahl im Dialog */
.step-label { font-weight: 600; margin: 0 0 12px; }
.pick-day { font-weight: 600; font-size: .86rem; color: var(--copy); margin: 16px 0 8px; text-transform: uppercase; letter-spacing: .05em; }
.pick-day:first-child { margin-top: 0; }
.pick { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); background: #fff; border-radius: 14px; padding: 13px 16px; cursor: pointer; text-align: left; margin-bottom: 8px; transition: border-color .2s, background .2s; }
.pick:hover:not([disabled]) { border-color: var(--ink); }
.pick[disabled] { opacity: .5; cursor: not-allowed; background: var(--soft); }
.pick b { font-family: var(--display); font-weight: 500; }
.pick .sub2 { color: var(--copy); font-size: .86rem; display: block; }
.pick.is-on { border-color: var(--brand); background: var(--rose); box-shadow: inset 0 0 0 1px var(--brand); }
.seats { font-size: .82rem; font-weight: 500; white-space: nowrap; }
.seats.ok { color: var(--ok); } .seats.low { color: var(--warn); } .seats.full { color: var(--muted); }
.divider { display: flex; text-align: center; align-items: center; gap: 12px; color: var(--copy); font-size: .86rem; margin: 18px 0 12px; }
.divider::before, .divider::after { content: ''; height: 1px; background: var(--line); flex: 1; }

.radio-card { display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; margin-bottom: 10px; align-items: flex-start; }
.radio-card input { accent-color: var(--brand); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.radio-card:has(input:checked) { border-color: var(--brand); background: var(--rose); }
.radio-card b { display: block; }
.radio-card span { color: var(--copy); font-size: .9rem; }
.stamp { background: var(--soft); border-radius: 14px; padding: 16px; font-size: .94rem; }
.stamp div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.stamp div span:first-child { color: var(--copy); }
.history li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
.history { list-style: none; margin: 0; padding: 0; }
.history li span:last-child { color: var(--copy); text-align: right; }
@media (max-width: 560px) { .next { gap: 14px; padding: 20px; } .next .big { width: 70px; height: 78px; } .next .big b { font-size: 1.6rem; } .next h3 { font-size: 1.12rem; } .next .actions .btn { flex: 1; } .contract { padding: 18px; } .fact { padding: 11px 12px; } }
.signout { text-align: center; margin: 6px 0 0; }
