/* Dunkle Mediathek mit warmen Akzenten aus dem bestehenden Scouttakes-Logo. */
:root {
    color-scheme: dark;
    --bg: #101111;
    --surface: #191a1b;
    --raised: #202122;
    --line: #2a2b2c;
    --text: #f2f1ed;
    --muted: #a0a09c;
    --accent: #ff8a36;
    --sidebar: 268px;
    --header: 82px;
    --font:Inter,"Segoe UI",Arial,sans-serif;
}

* {
    box-sizing:border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top:105px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing:antialiased;
}

button,input {
    font:inherit;
}

button,a,input {
    -webkit-tap-highlight-color:transparent;
}

button,a {
    touch-action:manipulation;
}

button {
    cursor:pointer;
}

a {
    color: inherit;
    text-decoration:none;
}

button {
    color:inherit;
}

button:disabled {
    cursor: default;
    opacity:.35;
}

img {
    display: block;
    max-width:100%;
}

button:focus-visible,a:focus-visible,input:focus-visible,video:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset:5px;
}

button {
    border: 0;
    background:none;
}

h1,h2,h3,p {
    margin:0;
}

h1,h2,h3 {
    line-height:1.25;
}

button .icon,a .icon {
    flex-shrink:0;
}

[hidden] {
    display:none!important;
}

.svg-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow:hidden;
}

.icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align:middle;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border:0;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    z-index: 100;
    padding: 12px 20px;
    background: var(--accent);
    color:#161310;
}

.skip-link:focus {
    top:12px;
}

.eyebrow {
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 1.6px;
    color:var(--muted);
}

.site-header {
    height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 36px 0 27px;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(16,17,17,.96);
    backdrop-filter: blur(16px);
    gap:24px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink:0;
}

.brand {
    width: 220px;
    display:block;
}

.brand img {
    width: 100%;
    height:auto;
}

.header-tagline {
    font-size: 10px;
    letter-spacing: 1.45px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    margin-right:35px;
}

.header-dot {
    width: 3px;
    height: 3px;
    background: #696b68;
    border-radius:50%;
}

.header-external {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space:nowrap;
}

.header-external:hover {
    color:var(--accent);
}

.header-external .icon {
    width: 15px;
    height:15px;
}

.icon-button {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius:8px;
}

.icon-button:hover {
    background: var(--raised);
    color:var(--accent);
}

.menu-toggle,.menu-close {
    display:none;
}

.navigation-backdrop {
    position: fixed;
    inset: var(--header) 0 0;
    background: #0009;
    z-index:39;
}

.sidebar {
    position: fixed;
    left: 0;
    top: var(--header);
    bottom: 0;
    width: var(--sidebar);
    border-right: 1px solid var(--line);
    padding: 29px 17px 0;
    display: flex;
    flex-direction: column;
    background: #141515;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #3a3b3b transparent;
    z-index:20;
}

.sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    margin-bottom:23px;
}

.sidebar-top .eyebrow {
    font-size: 9px;
    letter-spacing:1.5px;
}

.nav-all {
    display: flex;
    gap: 12px;
    align-items: center;
    border-radius: 7px;
    padding: 13px 13px;
    font-size: 12px;
    font-weight: 600;
    border:1px solid transparent;
}

.nav-all .icon {
    width: 17px;
    height:17px;
}

.nav-all.is-active {
    background: #ff8a3610;
    color: #ff9a52;
    border-color:#ff8a3629;
}

.nav-count {
    margin-left: auto;
    font-size: 10px;
    color: var(--muted);
    font-variant-numeric:tabular-nums;
}

.is-active .nav-count {
    color:var(--accent);
}

.nav-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 12px 14px;
    font-size: 9px;
    font-weight: 650;
    letter-spacing: 1.2px;
    color:#8b8d89;
}

.tour-list {
    display: flex;
    flex-direction: column;
    gap:7px;
}

.tour-nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border: 1px solid transparent;
    border-radius: 7px;
    transition:background .2s,border-color .2s;
}

.tour-nav-item:hover,.nav-all:hover {
    background:#ffffff07;
}

.tour-nav-item.is-active {
    background: #ff8a3610;
    border-color:#ff8a3633;
}

.tour-nav-item.is-active:before {
    content: "";
    position: absolute;
    left: -18px;
    top: 19px;
    bottom: 19px;
    width: 3px;
    background: var(--accent);
    border-radius:0 3px 3px 0;
}

.tour-nav-item>img {
    width: 43px;
    height: 49px;
    object-fit: cover;
    border-radius: 4px;
    opacity:.8;
}

.tour-nav-text {
    display: flex;
    flex-direction: column;
    min-width:0;
}

.tour-nav-text strong {
    font-size: 12px;
    font-weight: 650;
    letter-spacing:.2px;
}

.tour-nav-text>span {
    font-size: 10px;
    line-height: 1.6;
    color: #b1b1ac;
    margin:2px 0 4px;
}

.tour-nav-text small {
    font-size: 9px;
    color: #868884;
    letter-spacing:.15px;
}

.tour-nav-text small span {
    margin:0 5px;
}

.nav-arrow {
    width: 12px;
    height: 12px;
    margin-left: auto;
    opacity: 0;
    color:var(--accent);
}

.is-active .nav-arrow,.tour-nav-item:hover .nav-arrow {
    opacity:1;
}

.sidebar-note {
    margin: auto 12px 0;
    padding: 35px 0 25px;
    display: flex;
    gap:11px;
}

.sidebar-note>.icon {
    color: #ad7653;
    width: 25px;
    height: 25px;
    flex-shrink:0;
}

.sidebar-note strong {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.7;
    display:block;
}

.sidebar-note p>span {
    color: #8b8d89;
    font-size: 10px;
    display: block;
    margin-top: 11px;
    line-height:1.9;
}

.sidebar-bottom {
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 58px;
    color: #858883;
    font-size: 9px;
    padding:10px 12px;
}

.status-dot {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8b9e7a;
    flex-shrink:0;
}

.main-content {
    margin-left: var(--sidebar);
    max-width: 1800px;
    padding: 42px 40px 0;
    outline:none;
}

.intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom:31px;
}

.intro-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 9px;
    letter-spacing:1.8px;
}

.intro-eyebrow>span {
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius:50%;
}

h1 {
    font-size: clamp(30px,2.7vw,45px);
    font-weight: 680;
    letter-spacing: -1.5px;
    margin:15px 0 12px;
}

h1 em {
    font-style: normal;
    color:var(--accent);
}

.intro-copy {
    font-size: 12px;
    line-height: 1.9;
    color:var(--muted);
}

.archive-stats {
    display: flex;
    flex-shrink: 0;
    gap: 28px;
    padding-left:20px;
}

.archive-stats>div {
    display: flex;
    flex-direction: column;
    gap:4px;
}

.archive-stats>div+div {
    border-left: 1px solid #383a37;
    padding-left:28px;
}

.archive-stats strong {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -1px;
    font-variant-numeric:tabular-nums;
}

.archive-stats span {
    font-size: 8px;
    letter-spacing: 1.5px;
    color:#a6a8a1;
}

.watch-section {
    display: grid;
    grid-template-columns: minmax(0,1fr) 290px;
    gap: 20px;
    align-items:start;
}

.player-column {
    min-width:0;
}

.player-shell {
    position: relative;
    aspect-ratio: 16/9;
    background: #060707;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #ffffff0a;
    isolation:isolate;
}

.player-shell video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background:#060707;
}

.player-cover {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,#0004 0%,transparent 35%,#0002 48%,#000d 100%);
    display: flex;
    align-items: center;
    justify-content:center;
}

.player-tag {
    position: absolute;
    top: 19px;
    left: 21px;
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: 8px;
    letter-spacing: 1.35px;
    font-weight: 600;
    text-shadow:0 1px 6px #000;
}

.player-tag>span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background:#ff9e4f;
}

.hero-play {
    background: var(--accent);
    color: #17120e;
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 6px solid #ffffff25;
    background-clip: padding-box;
    box-shadow: 0 0 0 10px #0002;
    transition:transform .2s,background .2s;
}

.hero-play:hover {
    transform: scale(1.07);
    background-color:#ffac68;
}

.hero-play .icon {
    width: 25px;
    height: 25px;
    fill: currentColor;
    stroke-width: 0;
    margin-left:-2px;
}

.cover-caption {
    position: absolute;
    left: 24px;
    right: 70px;
    bottom: 23px;
    pointer-events: none;
    text-shadow: 0 1px 12px #0008;
    display: flex;
    flex-direction: column;
    gap:7px;
}

.cover-caption>span:first-child {
    font-size: 9px;
    letter-spacing: .7px;
    color:#e7e6df;
}

.cover-caption>span:first-child span {
    margin: 0 5px;
    color:#ffae69;
}

.cover-caption strong {
    font-size: clamp(17px,1.7vw,28px);
    letter-spacing: -.5px;
    line-height:1.2;
}

.cover-hint {
    font-size: 10px;
    color:#c7c9c2;
}

.cover-duration {
    position: absolute;
    right: 17px;
    bottom: 22px;
    font-size: 9px;
    font-variant-numeric: tabular-nums;
    background: #0007;
    border: 1px solid #ffffff20;
    border-radius: 3px;
    padding:3px 6px;
}

.player-information {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding:20px 0 0;
}

.player-information .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
    color: #bd855d;
    margin-bottom:7px;
}

.player-information h2 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing:-.35px;
}

.video-meta {
    color: var(--muted);
    font-size: 10px;
    margin-top:8px;
}

.video-meta>span {
    margin: 0 5px;
    color:#686b65;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 40px;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.4;
    white-space: nowrap;
    border: 1px solid var(--line);
    transition:background .2s,border-color .2s;
}

.button .icon {
    width: 15px;
    height:15px;
}

.button-subtle {
    background: #191a1a;
    border-color:#303131;
}

.button-subtle:hover {
    background: #252625;
    border-color:#666054;
}

.button-accent {
    background: var(--accent);
    border-color: var(--accent);
    color:#20150d;
}

.button-accent:hover {
    background: #ffab69;
    border-color:#ffab69;
}

.share-button {
    flex-shrink:0;
}

.playlist {
    background: #191a1a;
    border: 1px solid var(--line);
    border-radius: 9px;
    overflow: hidden;
    display: flex;
    flex-direction:column;
}

.playlist-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 17px 18px;
    border-bottom: 1px solid var(--line);
    gap:12px;
}

.playlist-heading .eyebrow {
    font-size: 8px;
    letter-spacing:1.2px;
}

.playlist-heading h2 {
    font-size: 14px;
    font-weight: 550;
    margin-top: 7px;
    letter-spacing:-.2px;
}

.playlist-toggle {
    display:none;
}

.playlist-total {
    font-size: 10px;
    background: #282927;
    border: 1px solid #363835;
    border-radius: 4px;
    min-width: 24px;
    padding: 2px 5px;
    text-align: center;
    color:#c6c7bf;
}

.playlist-items {
    height: clamp(236px,calc((100vw - var(--sidebar) - 410px)*.5625 - 48px),440px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #3f413c transparent;
    padding:5px 0;
}

.playlist-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px 10px 8px;
    border-left: 2px solid transparent;
    transition:background .2s;
}

.playlist-item:hover {
    background:#ffffff06;
}

.playlist-item.is-playing {
    background: #ff8a360c;
    border-left-color:var(--accent);
}

.playlist-number {
    width: 17px;
    flex-shrink: 0;
    font-size: 9px;
    text-align: center;
    color: #7d8178;
    font-variant-numeric:tabular-nums;
}

.playlist-number .icon {
    color: var(--accent);
    width: 15px;
    height:15px;
}

.playlist-thumb {
    width: 73px;
    flex-shrink: 0;
    aspect-ratio: 16/10;
    border-radius: 4px;
    overflow:hidden;
}

.playlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit:cover;
}

.playlist-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap:7px;
}

.playlist-text strong {
    font-size: 10px;
    line-height: 1.5;
    font-weight: 500;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow:hidden;
}

.playlist-text>span {
    font-size: 9px;
    color:#93978d;
}

.is-playing .playlist-text strong {
    color:#ffab6d;
}

.playlist-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding: 8px 12px 8px 17px;
    margin-top:auto;
}

.playlist-footer label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 9px;
    color: #b0b3a9;
    position: relative;
    padding:9px 0;
}

.playlist-footer input {
    position: absolute;
    right: 0;
    width: 29px;
    height: 24px;
    opacity: 0;
    cursor:pointer;
}

.switch-track {
    width: 28px;
    height: 16px;
    background: #3f423c;
    border: 1px solid #50534a;
    border-radius: 20px;
    position: relative;
    pointer-events:none;
}

.switch-track:before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    top: 2px;
    left: 2px;
    background: #b6b9af;
    border-radius: 50%;
    transition:transform .2s;
}

.playlist-footer input:checked+.switch-track {
    background: var(--accent);
    border-color:var(--accent);
}

.playlist-footer input:checked+.switch-track:before {
    transform: translateX(12px);
    background:#191a1a;
}

.playlist-footer input:focus-visible+.switch-track {
    outline: 2px solid var(--accent);
    outline-offset:5px;
}

.playlist-footer .icon-button {
    height: 30px;
    width:30px;
}

.playlist-footer .icon {
    width: 16px;
    height:16px;
}

.library {
    margin-top: 41px;
    padding-top: 29px;
    border-top:1px solid var(--line);
}

.library-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom:23px;
}

.library-toolbar .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
    margin-bottom:8px;
}

.library-toolbar h2 {
    font-size: 22px;
    letter-spacing: -.6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap:10px;
}

.library-toolbar h2>span {
    font-size: 10px;
    font-weight: 500;
    background: #252724;
    border: 1px solid #33362f;
    border-radius: 5px;
    color: #bfc2b7;
    letter-spacing: 0;
    padding: 3px 7px;
    flex-shrink:0;
}

.library-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink:0;
}

.search-form {
    display: flex;
    align-items: center;
    position: relative;
    height: 40px;
    width:220px;
}

.search-form>.icon {
    position: absolute;
    left: 13px;
    width: 16px;
    height: 16px;
    pointer-events: none;
    color:#93968c;
}

.search-form input[type=search] {
    width: 100%;
    height: 100%;
    background: #171818;
    border: 1px solid #30322d;
    color: var(--text);
    border-radius: 6px;
    font-size: 10px;
    padding:8px 12px 8px 37px;
}

.search-form input::placeholder {
    color:#8f9387;
}

.search-form input::-webkit-search-cancel-button {
    cursor:pointer;
}

.active-filter {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: -3px 0 23px;
    font-size:10px;
}

.active-filter>span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--accent);
    padding: 5px 9px;
    border: 1px solid #ff8a3630;
    border-radius: 4px;
    background:#ff8a3608;
}

.active-filter .icon {
    height: 13px;
    width:13px;
}

.active-filter>a {
    color: #a2a69a;
    display: flex;
    align-items: center;
    gap:8px;
}

.active-filter>a:hover {
    color:var(--text);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap:27px 20px;
}

.video-card {
    display: block;
    min-width: 0;
    border-radius: 8px;
    outline-offset: 6px;
    transition:transform .2s;
}

.video-card:hover {
    transform:translateY(-3px);
}

.card-image {
    aspect-ratio: 16/9;
    position: relative;
    border-radius: 7px;
    overflow: hidden;
    background: #20221e;
    border: 1px solid #ffffff08;
    isolation:isolate;
}

.card-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 45%,#0009);
    pointer-events:none;
}

.card-image>img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition:transform .4s,opacity .2s;
}

.video-card:hover .card-image>img {
    transform: scale(1.035);
    opacity:.8;
}

.card-tour {
    position: absolute;
    bottom: 11px;
    left: 12px;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 1px 4px #000;
    z-index:1;
}

.card-duration {
    position: absolute;
    bottom: 9px;
    right: 10px;
    padding: 2px 5px;
    border-radius: 3px;
    background: #000b;
    font-size: 9px;
    line-height: 1.5;
    z-index: 1;
    font-variant-numeric:tabular-nums;
}

.card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 37px;
    height: 37px;
    transform: translate(-50%,-50%);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #1118;
    border: 1px solid #ffffff50;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity .2s;
    z-index:1;
}

.card-play .icon {
    fill: #fff;
    stroke: none;
    width: 17px;
    height:17px;
}

.video-card:hover .card-play,.video-card:focus-visible .card-play {
    opacity:1;
}

.card-now {
    display: none;
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: #26170b;
    font-size: 7px;
    letter-spacing: 1px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius:3px;
}

.is-selected .card-now {
    display:block;
}

.is-selected .card-image {
    border-color:#ff8a3670;
}

.card-body {
    padding:12px 1px 0;
}

.card-body h3 {
    font-size: 12px;
    font-weight: 550;
    letter-spacing: -.1px;
    line-height: 1.55;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow:hidden;
}

.card-body p {
    color: #a1a497;
    font-size: 9px;
    margin-top: 5px;
    line-height:1.6;
}

.card-body p>span {
    margin: 0 4px;
    color:#696e60;
}

.load-more-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top:31px;
}

.load-more-wrap .button {
    min-width:186px;
}

.load-more-wrap .button .icon {
    transform:rotate(90deg);
}

#shown-count {
    font-size: 9px;
    color:#93988a;
}

.empty-state {
    text-align: center;
    padding: 55px 20px;
    color:var(--muted);
}

.empty-state>.icon {
    width: 30px;
    height: 30px;
    color: var(--accent);
    margin-bottom:15px;
}

.empty-state h3 {
    color: var(--text);
    font-size: 19px;
    margin-bottom:10px;
}

.empty-state p {
    font-size:12px;
}

.empty-state .button {
    margin-top:20px;
}

.notice {
    padding: 15px 18px;
    border: 1px solid #ff8a3640;
    background: #ff8a360b;
    color: #e3c5a6;
    font-size: 12px;
    border-radius: 7px;
    margin-bottom:20px;
}

.notice a {
    text-decoration:underline;
}

.player-column>.notice {
    margin-top:15px;
}

.outro {
    margin-top: 49px;
    padding: 28px 27px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #34362f;
    border-radius: 8px;
    background:radial-gradient(ellipse at 0 90%,#7d5a2514,transparent 65%),#181a17;
}

.outro-mark {
    border: 1px solid #76614665;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #c5a67e;
    flex-shrink:0;
}

.outro-mark>.icon {
    width: 27px;
    height:27px;
}

.outro .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
    color:#b9a383;
}

.outro h2 {
    font-size: 19px;
    font-weight: 550;
    letter-spacing: -.4px;
    margin:8px 0;
}

.outro p:last-child {
    font-size: 10px;
    color:#a3a899;
}

.outro>.button {
    margin-left:auto;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 27px 0;
    color: #92968a;
    font-size:8px;
}

.footer-divider {
    margin: 0 8px;
    color:#606656;
}

.site-footer>a {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space:nowrap;
}

.site-footer>a:hover {
    color:var(--accent);
}

.site-footer .icon {
    height: 11px;
    width:11px;
}

.footer-privacy {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space:nowrap;
}

.toast {
    position: fixed;
    bottom: 25px;
    left: calc(50% + var(--sidebar)/2);
    transform: translateX(-50%);
    max-width: calc(100vw - 32px);
    padding: 13px 22px;
    background: #ededdf;
    color: #171912;
    box-shadow: 0 5px 40px #0005;
    border-radius: 7px;
    font-size: 12px;
    z-index:70;
}

.share-dialog {
    width: min(460px,calc(100% - 32px));
    border: 1px solid #4d5045;
    border-radius: 12px;
    padding: 24px;
    background: var(--surface);
    color:var(--text);
}

.share-dialog::backdrop {
    background: #000a;
    backdrop-filter:blur(3px);
}

.share-dialog-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap:20px;
}

.share-dialog-heading h2 {
    font-size:20px;
}

.share-dialog p {
    font-size: 12px;
    color: var(--muted);
    margin:12px 0 20px;
}

.share-dialog input {
    width: 100%;
    border: 1px solid #45483f;
    border-radius: 5px;
    background: #11130f;
    padding: 12px;
    color: var(--text);
    font-size:12px;
}

.share-dialog .button {
    margin-top:17px;
}

/* Die Tourauswahl wird auf schmalen Geräten zur bedienbaren Schublade. */
@media(min-width:1750px) {
    .video-grid {
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
    .watch-section {
        grid-template-columns:minmax(0,1fr) 330px;
    }
    .playlist-items {
        height: calc((min(100vw,2068px) - var(--sidebar) - 430px)*.5625 - 49px);
        max-height:650px;
    }
    .playlist-text strong {
        font-size:12px;
    }
    .playlist-thumb {
        width:85px;
    }
}

@media(max-width:1250px) {
    :root {
        --sidebar:235px;
    }
    .site-header {
        padding-left: 21px;
        padding-right:25px;
    }
    .brand {
        width:195px;
    }
    .header-tagline {
        font-size: 8px;
        letter-spacing: 1px;
        margin-right: 10px;
        gap:9px;
    }
    .sidebar {
        padding-left: 12px;
        padding-right:12px;
    }
    .tour-nav-item {
        gap: 9px;
        padding-left: 7px;
        padding-right:7px;
    }
    .tour-nav-item>img {
        width: 35px;
        height:44px;
    }
    .tour-nav-text>span {
        font-size:9px;
    }
    .tour-nav-text strong {
        font-size:11px;
    }
    .tour-nav-item.is-active:before {
        left:-13px;
    }
    .main-content {
        padding:33px 28px 0;
    }
    .watch-section {
        grid-template-columns: minmax(0,1fr) 250px;
        gap:16px;
    }
    .playlist-heading {
        padding:16px 13px;
    }
    .playlist-heading h2 {
        font-size:12px;
    }
    .playlist-heading .eyebrow {
        font-size:7px;
    }
    .playlist-items {
        height:clamp(195px,calc((100vw - var(--sidebar) - 322px)*.5625 - 45px),350px);
    }
    .playlist-item {
        gap: 7px;
        padding:9px 8px 9px 5px;
    }
    .playlist-thumb {
        width:60px;
    }
    .playlist-text strong {
        font-size:9px;
    }
    .playlist-footer {
        padding-left:12px;
    }
    .playlist-footer label {
        font-size: 8px;
        gap:7px;
    }
    .archive-stats {
        gap:17px;
    }
    .archive-stats>div+div {
        padding-left:17px;
    }
    .archive-stats strong {
        font-size:25px;
    }
    .archive-stats span {
        font-size:7px;
    }
    .library-toolbar {
        align-items:flex-start;
    }
    .library-toolbar h2 {
        font-size: 19px;
        max-width:360px;
    }
    .library-actions {
        gap:8px;
    }
    .search-form {
        width:180px;
    }
    .library-actions>.button {
        padding:10px;
    }
    .video-grid {
        gap:24px 15px;
    }
    .outro {
        padding:24px 20px;
    }
    .outro h2 {
        font-size:17px;
    }
    .outro-mark {
        width: 40px;
        height:40px;
    }
    .outro p:last-child {
        max-width:270px;
    }
    .footer-privacy {
        display:none;
    }
}

@media(max-width:1050px) {
    .archive-stats {
        display:none;
    }
    .watch-section {
        grid-template-columns:minmax(0,1fr);
    }
    .playlist {
        display: flex;
        position:relative;
    }
    .playlist-heading {
        padding: 12px 16px;
        min-height: 65px;
        border-bottom:0;
    }
    .playlist-heading .eyebrow {
        font-size:7px;
    }
    .playlist-heading h2 {
        font-size: 12px;
        margin-top:5px;
    }
    .playlist-total {
        margin-left:auto;
    }
    .playlist-toggle {
        display: flex;
        width: 40px;
        height: 40px;
        flex-shrink:0;
    }
    .playlist-toggle .icon {
        transform: rotate(90deg);
        width: 15px;
        height:15px;
    }
    .playlist.is-expanded .playlist-toggle .icon {
        transform:rotate(-90deg);
    }
    .playlist-items {
        display: none;
        height:225px;
    }
    .playlist.is-expanded .playlist-items {
        display: block;
        border-top:1px solid var(--line);
    }
    .playlist-footer {
        position: static;
        border-top: 1px solid var(--line);
        padding: 3px 14px;
        min-height:46px;
    }
    .playlist-footer label {
        font-size: 10px;
        gap: 12px;
        min-height:40px;
    }
    .playlist-footer .icon-button {
        display: flex;
        height: 40px;
        width:40px;
    }
    .playlist-thumb {
        width:75px;
    }
    .playlist-text strong {
        font-size:11px;
    }
    .playlist-item {
        padding:10px;
    }
    .playlist-text>span {
        font-size:9px;
    }
    .library-toolbar {
        flex-direction: column;
        gap:17px;
    }
    .library-actions {
        width: 100%;
        justify-content: space-between;
        flex-direction:row-reverse;
    }
    .library-toolbar h2 {
        max-width:none;
    }
    .search-form {
        width:260px;
    }
    .player-information h2 {
        font-size:17px;
    }
    .video-grid {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
    .outro-mark {
        display:none;
    }
    .outro {
        gap:15px;
    }
    .outro .button {
        padding: 10px 12px;
        font-size:10px;
    }
    .outro h2 {
        font-size:16px;
    }
}

@media(max-width:800px) {
    :root {
        --sidebar: 0px;
        --header:70px;
    }
    .site-header {
        padding: 0 22px;
        gap:15px;
    }
    .header-tagline {
        display:none;
    }
    .brand {
        width:200px;
    }
    .menu-toggle {
        display: inline-flex;
        margin-left:-8px;
    }
    .header-brand {
        gap:12px;
    }
    .header-external {
        font-size: 10px;
        gap:7px;
    }
    .header-external .icon {
        width: 13px;
        height:13px;
    }
    .sidebar {
        width: min(310px,calc(100vw - 46px));
        z-index: 40;
        padding: 20px 17px 0;
        transform: translateX(-102%);
        visibility: hidden;
        transition: transform .25s,visibility .25s;
        box-shadow:15px 0 50px #0003;
    }
    .sidebar.is-open {
        transform: translateX(0);
        visibility:visible;
    }
    .sidebar-top {
        margin-bottom: 14px;
        padding-right:0;
    }
    .menu-close {
        display:inline-flex;
    }
    .tour-nav-item {
        padding: 12px 10px;
        gap:12px;
    }
    .tour-nav-item>img {
        width: 43px;
        height:49px;
    }
    .tour-nav-text strong {
        font-size:12px;
    }
    .tour-nav-text>span {
        font-size:10px;
    }
    .tour-nav-item.is-active:before {
        left:-18px;
    }
    .main-content {
        margin-left: 0;
        padding:29px 25px 0;
    }
    .intro {
        margin-bottom:25px;
    }
    .intro-eyebrow {
        font-size:8px;
    }
    .intro h1 {
        font-size:35px;
    }
    .intro-copy {
        font-size:11px;
    }
    .video-grid {
        gap:25px 18px;
    }
    .card-body h3 {
        font-size:12px;
    }
    .outro-mark {
        display:grid;
    }
    .outro h2 {
        font-size:18px;
    }
    .site-footer {
        font-size:8px;
    }
    .library-actions {
        flex-direction:row;
    }
    .search-form {
        width:230px;
    }
    .toast {
        left:50%;
    }
    body.menu-open {
        overflow:hidden;
    }
}

@media(max-width:520px) {
    .site-header {
        padding: 0 16px;
        gap:8px;
    }
    .header-brand {
        gap:8px;
    }
    .brand {
        width:min(174px,44vw);
    }
    .header-external {
        font-size:9px;
    }
    .header-external .icon {
        width:12px;
    }
    .main-content {
        padding:27px 17px 0;
    }
    .intro {
        margin-bottom:24px;
    }
    .intro-eyebrow {
        font-size: 7px;
        letter-spacing:1.3px;
    }
    .intro h1 {
        font-size: 29px;
        letter-spacing: -1.2px;
        margin-top: 13px;
        margin-bottom:11px;
    }
    .intro-copy {
        font-size: 12px;
        line-height:1.8;
    }
    .player-shell {
        border-radius:7px;
    }
    .player-tag {
        font-size: 6px;
        top: 13px;
        left: 13px;
        letter-spacing:1px;
    }
    .hero-play {
        width: 52px;
        height: 52px;
        border-width: 4px;
        box-shadow: 0 0 0 7px #0002;
        margin-top:-12px;
    }
    .hero-play .icon {
        width: 21px;
        height:21px;
    }
    .cover-caption {
        left: 14px;
        bottom: 15px;
        right: 55px;
        gap:5px;
    }
    .cover-caption>span:first-child {
        font-size: 7px;
        letter-spacing:.2px;
    }
    .cover-caption strong {
        font-size: 17px;
        letter-spacing:-.4px;
    }
    .cover-hint {
        display:none;
    }
    .cover-duration {
        font-size: 8px;
        bottom: 16px;
        right:12px;
    }
    .player-information {
        align-items: flex-start;
        padding-top: 17px;
        gap:10px;
    }
    .player-information .eyebrow {
        font-size: 7px;
        margin-bottom:6px;
    }
    .player-information h2 {
        font-size: 15px;
        line-height: 1.5;
        letter-spacing:-.2px;
    }
    .playlist-heading {
        min-height: 61px;
        padding:10px 15px;
    }
    .playlist-heading h2 {
        font-size:12px;
    }
    .playlist-total {
        display:block;
    }
    .video-meta {
        font-size: 10px;
        line-height: 1.8;
        margin-top:5px;
    }
    .player-information>.button {
        width: 36px;
        min-height: 36px;
        padding: 9px;
        margin-top:16px;
    }
    .player-information>.button span {
        display:none;
    }
    .library {
        margin-top: 28px;
        padding-top:23px;
    }
    .library-toolbar {
        gap: 16px;
        margin-bottom:19px;
    }
    .library-toolbar h2 {
        font-size: 21px;
        line-height: 1.4;
        letter-spacing:-.5px;
    }
    .library-toolbar .eyebrow {
        font-size: 7px;
        letter-spacing: 1.1px;
        margin-bottom:6px;
    }
    .library-actions {
        gap: 8px;
        flex-direction:row-reverse;
    }
    .library-actions>.button {
        font-size: 9px;
        padding: 9px 10px;
        min-height: 38px;
        gap:6px;
    }
    .library-actions>.button .icon {
        width: 13px;
        height:13px;
    }
    .search-form {
        flex: 1;
        width: auto;
        height:38px;
    }
    .search-form input[type=search] {
        font-size: 9px;
        padding-left:31px;
    }
    .search-form>.icon {
        left: 11px;
        width: 13px;
        height:13px;
    }
    .video-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap:22px 12px;
    }
    .card-image {
        border-radius:5px;
    }
    .card-tour {
        font-size: 6px;
        bottom: 8px;
        left: 8px;
        letter-spacing:.6px;
    }
    .card-duration {
        font-size: 7px;
        bottom: 6px;
        right: 6px;
        padding:1px 4px;
    }
    .card-body {
        padding-top:9px;
    }
    .card-body h3 {
        font-size: 12px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        min-height: 37px;
        line-height:1.55;
    }
    .card-body p {
        font-size: 10px;
        line-height: 1.7;
        margin-top:4px;
    }
    .card-now {
        font-size: 6px;
        top: 6px;
        left: 6px;
        padding:2px 5px;
    }
    .card-play {
        width: 30px;
        height:30px;
    }
    .active-filter {
        font-size: 9px;
        gap: 12px;
        margin:0 0 19px;
    }
    .load-more-wrap {
        margin-top:26px;
    }
    .load-more-wrap .button {
        font-size:10px;
    }
    .outro {
        margin-top: 34px;
        padding: 23px 19px;
        flex-wrap: wrap;
        gap:0;
    }
    .outro-mark {
        display:none;
    }
    .outro .eyebrow {
        font-size:7px;
    }
    .outro h2 {
        font-size: 19px;
        line-height: 1.4;
        margin:8px 0;
    }
    .outro p:last-child {
        font-size: 10px;
        max-width: none;
        line-height:1.9;
    }
    .outro>.button {
        margin: 18px 0 0;
        font-size: 10px;
        min-height:38px;
    }
    .site-footer {
        padding: 24px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        font-size:8px;
    }
    .footer-privacy {
        display: flex;
        font-size:8px;
    }
    .site-footer>a {
        position:relative;
    }
    .empty-state {
        padding:35px 10px;
    }
    .empty-state h3 {
        font-size:17px;
    }
    .empty-state p {
        font-size:11px;
    }
    .notice {
        font-size:11px;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto;
    }
    *,*:before,*:after {
        transition: none!important;
        animation:none!important;
    }
}
