+
+
{title}
+
{nextHref &&
Nächste Einheit}
+
>
);
diff --git a/src/styles/shop.css b/src/styles/shop.css
index ce9b179..11f9c8d 100644
--- a/src/styles/shop.css
+++ b/src/styles/shop.css
@@ -279,8 +279,11 @@ button.sm-pdp__main { display: block; width: 100%; padding: 0; border: 0; cursor
.sm-player video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.sm-player__error { position: absolute; inset: auto 0 0; z-index: 4; margin: 0; padding: var(--space-3) var(--space-4); background: rgb(0 0 0 / 0.75); color: #fff; font-size: 14px; }
.sm-player.is-full { border-radius: 0; aspect-ratio: auto; }
-.sm-player__mark { position: absolute; z-index: 2; pointer-events: none; font-size: 13px; line-height: 18px; color: rgb(255 255 255 / 0.42); text-shadow: 0 0 2px rgb(0 0 0 / 0.5); white-space: nowrap; transition: left 1.6s ease, top 1.6s ease; }
-.sm-player.is-full .sm-player__mark { font-size: 18px; }
+/* Hochformat-Videos: schmal und mittig statt riesig */
+.sm-player.is-portrait:not(.is-full) { aspect-ratio: 9 / 16; width: min(100%, calc(80vh * 9 / 16)); margin-inline: auto; }
+.sm-player { container-type: inline-size; }
+.sm-player__mark { position: absolute; z-index: 2; pointer-events: none; font-size: clamp(12px, 1.8cqi, 20px); line-height: 1.4; color: rgb(255 255 255 / 0.42); text-shadow: 0 0 2px rgb(0 0 0 / 0.5); white-space: nowrap; transition: left 1.6s ease, top 1.6s ease; }
+.sm-player.is-full .sm-player__mark { font-size: clamp(16px, 1.6vw, 26px); }
.sm-player video::-webkit-media-controls-fullscreen-button { display: none; }
.sm-player__full { position: absolute; z-index: 3; top: 10px; right: 10px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgb(0 0 0 / 0.45); color: #fff; cursor: pointer; opacity: 0.75; }
.sm-player__full:hover, .sm-player__full:focus-visible { opacity: 1; }
@@ -308,7 +311,14 @@ button.sm-pdp__main { display: block; width: 100%; padding: 0; border: 0; cursor
.sm-mycourse__bar > span { display: block; height: 100%; background: var(--gold); }
@media (max-width: 560px) { .sm-mycourse { grid-template-columns: 72px 1fr; } .sm-mycourse img, .sm-mycourse__ph { width: 72px; } .sm-mycourse > .sm-btn { grid-column: 1 / -1; justify-self: start; } }
-.sm-lesson__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-7); margin-top: var(--space-5); align-items: start; }
-.sm-lesson__side { position: sticky; top: var(--space-5); }
-.sm-lesson__bar { display: flex; gap: var(--space-3); justify-content: space-between; flex-wrap: wrap; margin-top: var(--space-3); }
-@media (max-width: 900px) { .sm-lesson__grid { grid-template-columns: 1fr; gap: var(--space-5); } .sm-lesson__side { position: static; } }
+/* Kursansicht: breiter als normale Seiten; body ist ein Flex-Container, ohne width würde die Seite auf den Inhalt schrumpfen */
+.sm-lesson { width: 100%; max-width: 1400px; }
+.sm-lesson__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: var(--space-7); margin-top: var(--space-5); align-items: start; }
+.sm-lesson__side { position: sticky; top: calc(var(--header-height) + var(--space-5)); max-height: calc(100vh - var(--header-height) - var(--space-7)); overflow-y: auto; padding-right: var(--space-2); }
+.sm-lesson__head { display: flex; gap: var(--space-3) var(--space-5); align-items: center; justify-content: space-between; flex-wrap: wrap; margin: var(--space-5) 0 var(--space-3); }
+.sm-lesson__head h1 { margin: 0; }
+.sm-lesson__bar { display: flex; gap: var(--space-3); flex-wrap: wrap; }
+@media (max-width: 1023px) {
+ .sm-lesson__grid { grid-template-columns: 1fr; gap: var(--space-6); }
+ .sm-lesson__side { position: static; max-height: none; overflow: visible; padding-right: 0; }
+}