/* Öffentlicher PsyOffice-Shop: Farben aus dem Logo, schlicht und gut lesbar. */
:root { --navy: #1f3b57; --navy-dunkel: #142a40; --gruen: #2f6f62; --gruen-hell: #dff0e8; --tinte: #1f2d3d;
  --leise: #5b6673; --linie: #e1e5ea; --papier: #f6f8f9; --weiss: #fff; --radius: 12px; }
* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.6 "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif; color: var(--tinte); background: var(--papier); }
a { color: var(--gruen); }
.innen { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.testleiste { background: #fff3cd; color: #6b4e00; text-align: center; font-size: .9rem; padding: .35rem 1rem; }
.shop-kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.shop-kopf .innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .8rem; padding-bottom: .8rem; }
.logo img { display: block; height: 52px; width: auto; }
.korb-link { font-weight: 600; text-decoration: none; color: var(--navy); }
.korb-link .zahl { display: inline-block; min-width: 1.5rem; text-align: center; background: var(--gruen); color: #fff; border-radius: 999px; font-size: .85rem; padding: 0 .4rem; }
main.innen { padding-top: 1.5rem; padding-bottom: 3rem; min-height: 60vh; }
h1 { color: var(--navy); font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.2; margin: .5rem 0 1rem; }
h2 { color: var(--navy); font-size: 1.35rem; margin: 2rem 0 .8rem; }
h3 { margin: 0 0 .4rem; font-size: 1.08rem; line-height: 1.35; }
.held { padding: 1rem 0 .5rem; max-width: 46rem; }
.held p { font-size: 1.1rem; color: var(--leise); }
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.produkt { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.produkt p { margin: 0; color: var(--leise); font-size: .95rem; }
.produkt.hervor { border: 2px solid var(--gruen); background: linear-gradient(180deg, #fff, #f3faf7); }
.produkt .spar { color: var(--gruen); font-weight: 600; }
.kauf { margin-top: auto; padding-top: .6rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }
.preis { font-size: 1.25rem; font-weight: 700; color: var(--navy); display: block; }
.preis-hinweis { font-size: .78rem; color: var(--leise); }
.knopf { display: inline-block; border: 2px solid var(--navy); background: var(--navy); color: #fff; font: inherit; font-weight: 600; font-size: .95rem; border-radius: 999px; padding: .45rem 1.1rem; text-decoration: none; cursor: pointer; }
.knopf:hover { background: var(--navy-dunkel); border-color: var(--navy-dunkel); }
.knopf.leise { background: transparent; color: var(--navy); }
.knopf.leise:hover { background: #eef2f6; }
.knopf.gross { font-size: 1.05rem; padding: .7rem 1.6rem; }
.knopf[disabled] { opacity: .45; cursor: not-allowed; }
button.link { background: none; border: 0; color: var(--leise); text-decoration: underline; font: inherit; font-size: .9rem; cursor: pointer; }
.klein { font-size: .88rem; color: var(--leise); }
.meldung { background: var(--gruen-hell); border-radius: 8px; padding: .6rem .9rem; }
.meldung.fehler { background: #fbe3dd; color: #7d2a17; }
.fehlertext { color: #a3311c; font-size: .9rem; margin: .2rem 0 0; }
table.korb { width: 100%; border-collapse: collapse; background: var(--weiss); border-radius: var(--radius); overflow: hidden; }
table.korb td { padding: .7rem 1rem; border-bottom: 1px solid var(--linie); }
table.korb tr.summe td { font-weight: 700; border-bottom: 0; }
.rechts { text-align: right; white-space: nowrap; }
.tipp { background: var(--weiss); border: 1px dashed var(--gruen); border-radius: var(--radius); padding: .8rem 1rem; margin: 1rem 0; display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.tipp p { margin: 0; }
.aktionen { display: flex; gap: .75rem; justify-content: flex-end; flex-wrap: wrap; margin-top: 1.25rem; }
.kasse { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2rem; align-items: start; }
.kasse h2 { margin-top: 0; }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1rem; }
.feld.breit { grid-column: 1 / -1; }
.feld label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .2rem; }
.feld input, .feld select { width: 100%; font: inherit; padding: .5rem .65rem; border: 1px solid #c9d1d8; border-radius: 8px; background: #fff; }
.haken { display: grid; gap: .7rem; margin: 1.4rem 0; }
.haken label { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.haken input { margin-top: .3rem; flex: none; width: 1.05rem; height: 1.05rem; }
.uebersicht { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.1rem 1.2rem; position: sticky; top: 1rem; }
.uebersicht ul { list-style: none; margin: 0; padding: 0; }
.uebersicht li, .uebersicht .summe { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--linie); font-size: .95rem; }
.uebersicht .summe { font-weight: 700; border-bottom: 0; margin: .2rem 0 0; }
.downloads { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .5rem; }
.downloads li { background: var(--weiss); border: 1px solid var(--linie); border-radius: 10px; padding: .6rem .9rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.rechtstext { max-width: 46rem; }
.shop-fuss { border-top: 1px solid var(--linie); background: var(--weiss); font-size: .9rem; color: var(--leise); }
.shop-fuss .innen { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1rem; padding-bottom: 1rem; }
.shop-fuss nav { display: flex; gap: 1rem; flex-wrap: wrap; }
.shop-fuss a { color: var(--leise); }
@media (max-width: 800px) { .kasse { grid-template-columns: 1fr; } .uebersicht { position: static; order: -1; } .felder { grid-template-columns: 1fr; } }

/* Einzelne Themen als Tabelle: Lernblatt oder Lernblatt + Lernskript */
.themen { width: 100%; border-collapse: collapse; background: var(--weiss); border-radius: var(--radius); overflow: hidden; }
.themen th, .themen td { padding: .55rem .8rem; border-bottom: 1px solid #e6ebf0; text-align: left; }
.themen th.rechts, .themen td.rechts { text-align: right; }
.themen thead th { font-size: .85rem; color: var(--leise); font-weight: 600; }
.themen form { display: inline; }
.knopf.knopf-preis { padding: .35rem .8rem; font-size: .9rem; min-width: 6.5rem; }
@media (max-width: 560px) { .themen th, .themen td { padding: .5rem .4rem; } .knopf.knopf-preis { min-width: 0; } }
.themen { table-layout: fixed; }
.themen th:nth-child(2), .themen td:nth-child(2) { width: 8rem; }
.themen th:nth-child(3), .themen td:nth-child(3) { width: 12rem; }
.themen .kurz { display: none; }
@media (max-width: 560px) {
  .themen th:nth-child(2), .themen td:nth-child(2) { width: 5.6rem; }
  .themen th:nth-child(3), .themen td:nth-child(3) { width: 6.4rem; }
  .themen .lang { display: none; } .themen .kurz { display: inline; }
  .themen td:first-child { font-size: .92rem; overflow-wrap: anywhere; }
}

/* Rechtstexte */
.rechtstext h1 { margin-bottom: .3rem; }
.rechtstext h2 { font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
.rechtstext p, .rechtstext li { line-height: 1.6; }
.rechtstext ol { padding-left: 1.4rem; margin: .4rem 0; }
.rechtstext li { margin: .3rem 0; }
.rechtstext .stand { color: var(--leise); font-size: .95rem; }
.rechtstext .formular { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: .4rem 1.2rem; }

/* Kundenkonto und Lernbereich */
.kopf-links { display: flex; gap: 1.2rem; align-items: center; }
.kopf-links a { font-weight: 600; text-decoration: none; color: var(--navy); }
.schmal { max-width: 34rem; }
.anmelden { display: flex; flex-direction: column; gap: .5rem; margin: 1rem 0; }
.anmelden label { font-weight: 600; }
.anmelden input { font: inherit; padding: .6rem .8rem; border: 1px solid var(--linie); border-radius: 10px; }
.anmelden .knopf { align-self: flex-start; }
.lb-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.knopf.offen { background: var(--gruen); border-color: var(--gruen); }
.knopf.gesperrt { background: #e9edf1; border-color: #e9edf1; color: #8a94a0; }
.knopf.gesperrt:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.bestell-liste { list-style: none; padding: 0; }
.bestell-liste li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--linie); }
@media (max-width: 560px) { .kopf-links { gap: .8rem; font-size: .92rem; } }
