:root {
    --font-scale: 1;
    --page-text: #111111;
    --page-muted: #333333;
    --panel-bg: rgba(255, 255, 255, 0.86);
    --panel-soft: rgba(255, 255, 255, 0.74);
    --button-bg: rgba(255, 255, 255, 0.94);
    --button-hover: rgba(255, 255, 255, 1);
    --button-border: rgba(14, 61, 120, 0.22);
    --fixed-button-bg: #0f4fd8;
    --fixed-button-hover: #0b43ba;
    --fixed-button-text: #ffffff;
    --nav-button-bg: #f6c400;
    --nav-button-hover: #ffd94a;
    --nav-button-text: #000000;
    --shadow: 0 14px 45px rgba(0, 0, 0, 0.14);
    --radius: 18px;
    --accent-blue: #0f4fd8;
    --matte-blue: #1f5f9f;
    --accent-red: #e31d2d;
    --accent-yellow: #f6c400;
    font-size: calc(16px * var(--font-scale));
}

html.dark-mode {
    --page-text: #ffffff;
    --page-muted: #f2f2f2;
    --panel-bg: rgba(11, 18, 32, 0.88);
    --panel-soft: rgba(11, 18, 32, 0.78);
    --button-bg: rgba(18, 28, 48, 0.94);
    --button-hover: rgba(28, 42, 70, 1);
    --button-border: rgba(255, 255, 255, 0.28);
    --fixed-button-bg: #0f4fd8;
    --fixed-button-hover: #0b43ba;
    --fixed-button-text: #ffffff;
    --nav-button-bg: #f6c400;
    --nav-button-hover: #ffd94a;
    --nav-button-text: #000000;
    --shadow: 0 14px 45px rgba(0, 0, 0, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    color: var(--page-text);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--page-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: #f7f3ea url("../img/hintergrund.png") center center / cover no-repeat;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

html.dark-mode body::after {
    background: rgba(0, 0, 0, 0.38);
}

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

a:hover,
a:focus-visible {
    text-decoration: underline;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

img,
iframe {
    max-width: 100%;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 20;
    padding: 10px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: #000000;
    box-shadow: var(--shadow);
    transition: top 0.2s ease;
}

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

.site-shell {
    width: min(100%, 1640px);
    min-height: 100vh;
    margin: 0 auto;
    padding: clamp(10px, 1.4vw, 22px);
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.3vw, 18px);
}

.utility-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 48px;
}

.round-action {
    position: relative;
    width: 42px;
    height: 42px;
    border: 1px solid var(--button-border);
    border-radius: 50%;
    background: var(--button-bg);
    color: var(--page-text);
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    -webkit-tap-highlight-color: transparent;
}

.round-action:hover,
.round-action:focus-visible,
.round-action:active {
    background: var(--button-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    outline: 2px solid rgba(15, 79, 216, 0.2);
    outline-offset: 2px;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    top: calc(100% + 8px);
    z-index: 10;
    transform: translateX(-50%) translateY(-4px);
    padding: 6px 9px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.88);
    color: #ffffff;
    font-size: 0.78rem;
    line-height: 1.15;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

[data-tooltip]:hover::after,
[data-tooltip]:focus-visible::after,
[data-tooltip]:active::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.brand-ad-row {
    display: grid;
    grid-template-columns: minmax(170px, auto) minmax(280px, 730px);
    align-items: center;
    justify-content: flex-start;
    gap: clamp(12px, 2vw, 26px);
    width: 100%;
    padding-top: 8px;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    width: auto;
    min-width: 0;
}

.site-logo {
    width: auto;
    height: 140px;
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
    display: block;
    opacity: 0.78;
    filter: drop-shadow(0 7px 15px rgba(0, 0, 0, 0.11));
}

.ad-wrap {
    width: min(100%, 730px);
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.ad-wrap iframe {
    display: block;
    width: 100% !important;
    max-width: 730px;
    aspect-ratio: 73 / 14;
    height: auto !important;
    min-height: 72px;
    margin: 0 auto;
}

.welcome-row {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.8vw, 24px);
    margin-top: clamp(8px, 1.1vw, 16px);
    padding: clamp(10px, 1.2vw, 16px);
    border-radius: var(--radius);
    background: var(--panel-soft);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.weather-box {
    position: relative;
    width: clamp(82px, 9vw, 112px);
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    border: 1px solid var(--button-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    text-align: center;
    background: linear-gradient(140deg, rgba(15, 79, 216, 0.85), rgba(246, 196, 0, 0.86));
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    flex: 0 0 auto;
}

.weather-icon {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    line-height: 1;
}

.weather-temp {
    font-weight: 800;
    font-size: clamp(0.98rem, 1.7vw, 1.3rem);
}

.weather-text {
    max-width: 90%;
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.welcome-copy {
    flex: 1 1 auto;
    min-width: 0;
}

.welcome-copy h1 {
    margin: 0;
    text-align: center;
    font-size: clamp(1.55rem, 3vw, 3rem);
    line-height: 1.08;
    font-weight: 800;
    color: transparent;
    background: linear-gradient(90deg, var(--accent-red) 0 32%, var(--accent-blue) 36% 68%, var(--accent-yellow) 72% 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.welcome-copy p {
    margin: 8px 0 0;
    text-align: center;
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
    font-weight: 700;
    color: var(--matte-blue);
}

html.dark-mode .welcome-copy p {
    color: var(--matte-blue);
}

.layout-grid {
    display: grid;
    grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
    gap: clamp(12px, 1.8vw, 24px);
    align-items: start;
    flex: 1 1 auto;
}

.side-menu {
    position: sticky;
    top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--panel-soft);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.fixed-menu,
.alphabet-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-separator {
    width: 100%;
    height: 2px;
    margin: 2px 0 4px;
    border-radius: 999px;
    background: var(--accent-red);
    opacity: 1;
}

.menu-button,
.submenu a,
.menu-subtoggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--button-border);
    border-radius: 12px;
    background: var(--nav-button-bg);
    color: var(--nav-button-text);
    font-weight: 700;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.menu-button:hover,
.menu-button:focus-visible,
.submenu a:hover,
.submenu a:focus-visible,
.menu-subtoggle:hover,
.menu-subtoggle:focus-visible {
    background: var(--nav-button-hover);
    color: var(--nav-button-text);
    outline: 2px solid rgba(15, 79, 216, 0.22);
    outline-offset: 2px;
    text-decoration: none;
}

.menu-button.is-active,
.submenu a.is-active {
    outline: 3px solid rgba(227, 29, 45, 0.72);
    outline-offset: 2px;
}

.fixed-menu .menu-button {
    background: var(--fixed-button-bg);
    color: var(--fixed-button-text);
}

.fixed-menu .menu-button:hover,
.fixed-menu .menu-button:focus-visible {
    background: var(--fixed-button-hover);
    color: var(--fixed-button-text);
}

.fixed-menu .menu-button.is-active {
    outline-color: rgba(246, 196, 0, 0.9);
}

.menu-button-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 6px;
    align-items: stretch;
}

.menu-button-row .menu-button-main {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.menu-subtoggle {
    min-height: 42px;
    width: 44px;
    padding: 0;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    font-size: 0.95rem;
    line-height: 1;
}

.menu-subtoggle[aria-expanded="true"] {
    background: var(--nav-button-hover);
}

.menu-subtoggle[aria-expanded="true"] {
    transform: none;
}

.submenu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    padding-left: 8px;
}

.submenu[hidden] {
    display: none;
}

.submenu a {
    min-height: 38px;
    font-weight: 600;
}

.main-panel {
    min-height: 340px;
    padding: clamp(16px, 2.2vw, 34px);
    border-radius: var(--radius);
    background: var(--panel-bg);
    color: var(--page-text);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.main-panel:focus {
    outline: none;
}

.portal-intro h2,
.content-card h2 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2vw, 2rem);
}

.portal-intro h2 {
    position: relative;
    display: block;
    width: fit-content;
    margin: 0 0 20px;
    text-align: left;
}

.portal-intro h2::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--accent-red);
}

.portal-intro p,
.content-card p {
    margin: 0 0 10px;
    color: var(--page-muted);
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.4vw, 18px);
    margin-top: clamp(16px, 2vw, 26px);
}

.service-card,
.content-card {
    border: 1px solid var(--button-border);
    border-radius: 16px;
    padding: clamp(14px, 1.8vw, 22px);
    background: var(--button-bg);
    color: var(--page-text);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

.service-card p {
    margin: 0;
    color: var(--page-muted);
}

.newsletter-form {
    display: grid;
    grid-template-columns: minmax(180px, 340px) auto;
    gap: 10px;
    align-items: end;
    margin-top: 18px;
    max-width: 620px;
}

.newsletter-form label {
    grid-column: 1 / -1;
    font-weight: 700;
}

.newsletter-form input {
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--button-border);
    border-radius: 12px;
    background: var(--button-bg);
    color: var(--page-text);
}

.newsletter-form button {
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid var(--button-border);
    border-radius: 12px;
    background: var(--accent-blue);
    color: #ffffff;
    font-weight: 700;
}

.site-footer {
    margin-top: auto;
    padding: clamp(14px, 1.8vw, 24px);
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--panel-soft);
    color: var(--page-text);
    text-align: center;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    font-weight: 700;
}

.newsletter-line {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-top: 8px;
    font-weight: 700;
}

.copyright {
    margin-top: 7px;
    color: var(--page-muted);
}

@media (max-width: 1100px) {
    .brand-ad-row {
        grid-template-columns: minmax(180px, 390px) minmax(260px, 1fr);
    }

    .service-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .site-shell {
        padding: 10px;
    }

    .utility-bar {
        gap: 7px;
        min-height: 44px;
    }

    .round-action {
        width: 40px;
        height: 40px;
    }

    .brand-ad-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .site-logo {
        width: auto;
        height: min(140px, calc((100vw - 20px) * 14 / 73));
        max-height: 140px;
    }

    .ad-wrap {
        width: 100%;
        border-radius: 12px;
    }

    .ad-wrap iframe {
        min-height: 64px;
    }

    .welcome-row {
        align-items: center;
        padding: 10px;
    }

    .layout-grid {
        grid-template-columns: 1fr;
    }

    .side-menu {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .main-panel {
        padding: 16px;
    }
}

@media (max-width: 420px) {
    :root {
        font-size: calc(15px * var(--font-scale));
    }

    .utility-bar {
        flex-wrap: nowrap;
    }

    .weather-box {
        width: 78px;
        border-radius: 14px;
    }

    .welcome-copy h1 {
        font-size: 1.42rem;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }
}

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


.amtv-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    margin-top: 6px;
}

.amtv-hero-logo {
    display: block;
    width: min(100%, 520px);
    height: auto;
    object-fit: contain;
}

.amtv-slogan {
    width: min(100%, 860px);
    margin: 0;
    text-align: center;
    font-size: clamp(1.06rem, 1.9vw, 1.45rem);
    line-height: 1.5;
    font-weight: 700;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--page-text);
}

.amtv-channel-preview {
    width: min(100%, 760px);
    margin-top: 4px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    justify-items: center;
    align-items: stretch;
}

.amtv-channel-chip {
    position: relative;
    width: 100%;
    max-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--button-border);
    background: var(--button-bg);
    color: var(--page-text);
    font-weight: 700;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    user-select: none;
}

.amtv-channel-chip-label {
    display: inline-block;
}

.amtv-channel-chip.is-premium {
    padding-right: 18px;
}

.amtv-premium-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.amtv-premium-badge img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.amtv-premium-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    min-width: 190px;
    max-width: 240px;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(5, 16, 39, 0.96);
    color: #fff;
    font-size: 0.84rem;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.30);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
    z-index: 20;
}

.amtv-premium-tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    width: 10px;
    height: 10px;
    background: rgba(5, 16, 39, 0.96);
    border-right: 1px solid rgba(255,255,255,0.18);
    border-bottom: 1px solid rgba(255,255,255,0.18);
    transform: translateX(-50%) rotate(45deg);
}

.amtv-channel-chip.is-premium:hover .amtv-premium-tooltip,
.amtv-channel-chip.is-premium:focus-within .amtv-premium-tooltip,
.amtv-channel-chip.is-premium.is-open .amtv-premium-tooltip {
    opacity: 1;
    visibility: visible;
}

.amtv-hero-image {
    display: block;
    width: min(100%, 684px);
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    border: 1px solid var(--button-border);
    background: var(--button-bg);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
    padding: 10px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    border-radius: 12px;
    background: var(--accent-blue);
    color: #ffffff;
    font-weight: 700;
    border: 1px solid rgba(15, 79, 216, 0.35);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.cta-button:hover,
.cta-button:focus-visible {
    background: #0b43ba;
    color: #ffffff;
    text-decoration: none;
    outline: 2px solid rgba(15, 79, 216, 0.24);
    outline-offset: 2px;
}

/* ANBITA Musik TV im Portal-Inhaltsbereich */
.amtv-tv-embed{
    width:100%;
    margin-top:clamp(12px,1.8vw,22px);
    border-radius:18px;
    overflow:hidden;
    background:rgba(0,0,0,.18);
    border:1px solid var(--button-border);
    box-shadow:0 10px 28px rgba(0,0,0,.10);
}
.amtv-tv-frame{
    display:block;
    width:100%;
    min-height:980px;
    border:0;
    background:transparent;
}
@media (max-width:760px){
    .amtv-tv-frame{min-height:1060px}
}
@media (max-width:420px){
    .amtv-tv-frame{min-height:1120px}
}


/* ANBITA Navigation v40 */
.side-menu .menu-separator{
    display:block!important;
    height:2px!important;
    min-height:2px!important;
    width:100%!important;
    margin:10px 0 8px!important;
    background:var(--accent-red)!important;
    opacity:1!important;
}
.side-menu .menu-button,
.side-menu .submenu a{
    width:100%!important;
}
.side-menu .submenu-box{
    width:100%;
}
.side-menu .menu-button-row{
    display:block!important;
}
.side-menu .menu-subtoggle{
    display:none!important;
}
.side-menu .submenu{
    padding-left:0!important;
    margin-top:8px!important;
}
.side-menu .submenu a{
    background:var(--accent-red)!important;
    color:#ffffff!important;
    border-color:rgba(255,255,255,.28)!important;
}
.side-menu .submenu a:hover,
.side-menu .submenu a:focus-visible,
.side-menu .submenu a.is-active{
    background:#b91522!important;
    color:#ffffff!important;
}
.side-menu [data-submenu-main-toggle]::after{
    content:" ▾";
    margin-left:6px;
    font-weight:900;
}
.side-menu [data-submenu-main-toggle][aria-expanded="true"]::after{
    content:" ▴";
}


/* Impressum / Rechtliches */
.legal-page {
    display: block;
}

.legal-lead {
    margin-bottom: 18px !important;
    font-weight: 700;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 1.6vw, 20px);
    margin-top: 18px;
}

.legal-block,
.legal-text-block {
    border: 1px solid var(--button-border);
    border-radius: 16px;
    padding: clamp(14px, 1.6vw, 20px);
    background: var(--button-bg);
    color: var(--page-text);
}

.legal-block h3,
.legal-text-block h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
}

.legal-block p,
.legal-text-block p {
    margin: 0 0 9px;
    color: var(--page-muted);
}

.legal-block a,
.legal-text-block a {
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: underline;
}

html.dark-mode .legal-block a,
html.dark-mode .legal-text-block a {
    color: #8fb8ff;
}

.legal-note {
    font-size: 0.95rem;
}

.legal-text-block {
    margin-top: 18px;
}

.legal-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 26px;
}

.close-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 22px;
    border-radius: 12px;
    background: var(--accent-blue);
    color: #ffffff;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.close-button:hover,
.close-button:focus-visible {
    background: #0b43ba;
    color: #ffffff;
    text-decoration: none;
    outline: 2px solid rgba(15, 79, 216, 0.24);
    outline-offset: 2px;
}

@media (max-width: 760px) {
    .legal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:760px){
    .amtv-portal-brand{width:100%;margin-bottom:18px}
    .amtv-portal-brand-logo{width:min(100%,260px);max-height:66px}
    .amtv-portal-brand-line{width:min(100%,260px)}
    .amtv-channel-preview{width:100%;gap:10px}
    .amtv-channel-chip{min-height:46px;padding:8px 10px;font-size:.95rem}
    .amtv-hero-image{width:min(100%,684px)}
}
@media (max-width:420px){
    .amtv-portal-brand-logo{width:min(100%,210px);max-height:66px}
    .amtv-portal-brand-line{width:min(100%,210px)}
    .amtv-channel-preview{gap:8px}
    .amtv-channel-chip{font-size:.86rem;min-height:42px;padding:8px 6px}
}


.amtv-portal-brand{
    width:min(100%,760px);
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    margin:0 0 22px;
}

.amtv-portal-brand-logo{
    display:block;
    width:min(100%,300px);
    max-width:100%;
    height:auto;
    max-height:66px;
    object-fit:contain;
}

.amtv-portal-brand-line{
    display:block;
    width:min(100%,300px);
    height:3px;
    border-radius:999px;
    background:var(--accent-red);
}

.amtv-subpage p{
    margin-top:0;
}

html.dark-mode .portal-intro h2,
html.dark-mode .content-card h2,
body.dark-mode .portal-intro h2,
body.dark-mode .content-card h2{color:#ffffff}

html.dark-mode .amtv-portal-brand-logo,
body.dark-mode .amtv-portal-brand-logo{filter:brightness(0) invert(1)}


.portal-logo-heading{
    width:min(100%,300px);
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    margin:0 0 20px;
}
.portal-heading-logo{
    display:block;
    width:min(100%,300px);
    max-width:300px;
    height:auto;
    max-height:66px;
    object-fit:contain;
    object-position:left center;
}
.portal-heading-line{
    display:block;
    width:min(100%,300px);
    height:3px;
    border-radius:999px;
    background:var(--accent-red);
}
html.dark-mode .portal-heading-logo,
body.dark-mode .portal-heading-logo{
    filter:brightness(0) invert(1);
}


/* Wetter mittig über linker Buttonliste */
.welcome-row{
    position:relative;
}
.weather-box{
    position:absolute!important;
    left:0!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    width:min(100%,220px)!important;
    justify-self:start!important;
    margin:0 auto!important;
}
@media (min-width:901px){
    .weather-box{
        left:0!important;
        width:220px!important;
    }
}
@media (max-width:900px){
    .weather-box{
        position:static!important;
        transform:none!important;
        width:min(100%,220px)!important;
        margin:0 auto 10px!important;
    }
}


/* Wetterbox: nur Hintergrund und Umrandung entfernen */
.weather-box{
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}


/* Startseiten-Logo und Werbelogo oben gleichmäßig mittig nebeneinander */
.brand-row{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:18px!important;
}
.brand-link{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 1 730px!important;
    max-width:730px!important;
}
.brand-logo{
    display:block!important;
    width:100%!important;
    max-width:730px!important;
    max-height:140px!important;
    height:auto!important;
    object-fit:contain!important;
}
.top-banner{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex:0 1 730px!important;
    max-width:730px!important;
    min-height:0!important;
}
.top-banner iframe{
    width:100%!important;
    max-width:730px!important;
    height:140px!important;
    max-height:140px!important;
    display:block!important;
}
@media(max-width:900px){
    .brand-row{
        flex-direction:column!important;
        gap:12px!important;
    }
    .brand-link,
    .top-banner{
        width:100%!important;
        max-width:730px!important;
    }
    .brand-logo{
        max-height:140px!important;
    }
}


/* Logo und Werbebanner als gemeinsame Gruppe exakt mittig */
.brand-row{
    width:min(100%,1478px)!important;
    max-width:1478px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:18px!important;
}
.brand-link,
.top-banner{
    flex:0 1 730px!important;
    max-width:730px!important;
}
.brand-logo,
.top-banner iframe{
    width:100%!important;
    max-width:730px!important;
    height:auto!important;
    max-height:140px!important;
    object-fit:contain!important;
}
.top-banner iframe{
    height:140px!important;
}
@media(max-width:900px){
    .brand-row{
        width:100%!important;
        max-width:730px!important;
        flex-direction:column!important;
        margin-left:auto!important;
        margin-right:auto!important;
    }
}


/* Logo/Banner optisch als sichtbare Gruppe mittig ausrichten */
.brand-row{
    width:min(100%,1268px)!important;
    max-width:1268px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    display:grid!important;
    grid-template-columns:minmax(0,520px) minmax(0,730px)!important;
    align-items:center!important;
    justify-content:center!important;
    gap:18px!important;
}
.brand-link{
    width:100%!important;
    max-width:520px!important;
    justify-self:end!important;
    flex:none!important;
}
.brand-logo{
    width:100%!important;
    max-width:520px!important;
    max-height:140px!important;
    height:auto!important;
    object-fit:contain!important;
    object-position:center center!important;
}
.top-banner{
    width:100%!important;
    max-width:730px!important;
    justify-self:start!important;
    flex:none!important;
}
.top-banner iframe{
    width:100%!important;
    max-width:730px!important;
    height:140px!important;
    max-height:140px!important;
}
@media(max-width:900px){
    .brand-row{
        width:100%!important;
        max-width:730px!important;
        display:flex!important;
        flex-direction:column!important;
        margin-left:auto!important;
        margin-right:auto!important;
    }
    .brand-link,
    .top-banner{
        max-width:730px!important;
        justify-self:center!important;
    }
    .brand-logo{
        max-width:730px!important;
    }
}


/* Communitys: Regeln-Button und Regeln-Inhaltsseite */
.communitys-actions{
    width:100%;
    display:flex;
    justify-content:flex-start;
    align-items:center;
    margin-top:clamp(22px,3vw,38px);
}
.communitys-red-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:11px 24px;
    border-radius:12px;
    background:var(--accent-red);
    color:#ffffff!important;
    font-weight:800;
    line-height:1;
    text-decoration:none!important;
    border:1px solid rgba(227,29,45,.55);
    box-shadow:0 8px 18px rgba(0,0,0,.16);
}
.communitys-red-button:hover,
.communitys-red-button:focus-visible{
    background:#c91524;
    color:#ffffff!important;
    outline:2px solid rgba(227,29,45,.28);
    outline-offset:2px;
}
.communitys-regeln-page{
    min-height:340px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}
.communitys-regeln-logo-wrap{
    width:100%;
    display:flex;
    justify-content:flex-start;
    align-items:flex-start;
}
.communitys-regeln-logo{
    display:block;
    width:min(100%,520px);
    max-width:520px;
    height:auto;
    object-fit:contain;
    object-position:left top;
    background:transparent!important;
}
.communitys-regeln-spacer{
    flex:1 1 auto;
    min-height:clamp(110px,18vw,220px);
}
.communitys-close-row{
    width:100%;
    display:flex;
    justify-content:flex-start;
    align-items:center;
    margin-top:clamp(18px,2.5vw,30px);
}
html.dark-mode .communitys-regeln-page,
body.dark-mode .communitys-regeln-page{
    color:#ffffff;
}
html.dark-mode .communitys-regeln-logo,
body.dark-mode .communitys-regeln-logo{
    filter:brightness(0) invert(1);
}
@media(max-width:700px){
    .communitys-regeln-logo{
        width:min(100%,390px);
        max-width:390px;
    }
    .communitys-red-button{
        min-height:42px;
        padding:10px 20px;
    }
}


/* Community Regeln: roter Strich und gespeicherte Regeln */
.communitys-regeln-logo-wrap{
    flex-direction:column;
    gap:10px;
}
.communitys-regeln-line{
    display:block;
    width:min(100%,220px);
    height:3px;
    border-radius:99px;
    background:var(--accent-red);
    margin:0 0 18px 0;
}
.communitys-regeln-spacer{
    display:none!important;
}
.communitys-regeln-list{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:18px;
    margin-top:10px;
}
.communitys-regeln-entry{
    width:100%;
    padding:0 0 18px 0;
    border-bottom:1px solid rgba(255,255,255,.10);
}
.communitys-regeln-entry:last-child{
    border-bottom:0;
}
.communitys-regeln-entry h2{
    margin:0 0 10px 0;
    font-size:clamp(22px,2.3vw,32px);
    color:inherit;
}
.communitys-regeln-text{
    white-space:normal;
    line-height:1.65;
    font-size:clamp(16px,1.4vw,18px);
}
.communitys-regeln-date{
    margin:12px 0 0 0;
    font-size:14px;
    opacity:.78;
}
.communitys-regeln-empty{
    margin:18px 0;
}
body.dark-mode .communitys-regeln-entry,
html.dark-mode .communitys-regeln-entry{
    color:#ffffff;
}
@media(max-width:700px){
    .communitys-regeln-line{
        width:180px;
    }
    .communitys-regeln-list{
        gap:16px;
    }
}


/* Willkommen-Text: Schriftgröße beibehalten, Schriftart/Farbe wie Logo */
.hero h1,
.hero-title,
.welcome-title{
    font-family:"Brush Script MT","Segoe Script","Lucida Handwriting",cursive!important;
    color:#0a356d!important;
    background:none!important;
    -webkit-background-clip:initial!important;
    background-clip:initial!important;
    -webkit-text-fill-color:#0a356d!important;
    text-shadow:none!important;
}
html.dark-mode .hero h1,
html.dark-mode .hero-title,
html.dark-mode .welcome-title,
body.dark-mode .hero h1,
body.dark-mode .hero-title,
body.dark-mode .welcome-title{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
}


/* Willkommen-Text exakt treffen: .welcome-copy h1 */
.welcome-copy h1,
.welcome-copy h1 *{
    font-family:"Brush Script MT","Segoe Script","Lucida Handwriting",cursive!important;
    color:#0a356d!important;
    background:none!important;
    -webkit-background-clip:initial!important;
    background-clip:initial!important;
    -webkit-text-fill-color:#0a356d!important;
    text-shadow:none!important;
}
html.dark-mode .welcome-copy h1,
html.dark-mode .welcome-copy h1 *,
body.dark-mode .welcome-copy h1,
body.dark-mode .welcome-copy h1 *{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
    background:none!important;
}


/* Wetter v71: etwas tiefer, Temperatur hell schwarz / dunkel weiß */
.weather-box{
    transform:translateY(12px)!important;
}
.weather-box .weather-temp,
.weather-box .temperature,
.weather-box [class*="temp"],
.weather-temp,
.temperature,
[class*="weather"][class*="temp"]{
    color:#000000!important;
    -webkit-text-fill-color:#000000!important;
}
html.dark-mode .weather-box .weather-temp,
html.dark-mode .weather-box .temperature,
html.dark-mode .weather-box [class*="temp"],
html.dark-mode .weather-temp,
html.dark-mode .temperature,
html.dark-mode [class*="weather"][class*="temp"],
body.dark-mode .weather-box .weather-temp,
body.dark-mode .weather-box .temperature,
body.dark-mode .weather-box [class*="temp"],
body.dark-mode .weather-temp,
body.dark-mode .temperature,
body.dark-mode [class*="weather"][class*="temp"]{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
}


/* Wetter v72: Wetter wieder sichtbar, nur etwas tiefer */
.weather-box,
.weather-widget,
.weather-panel,
.weather-card,
.weather{
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
}
.weather-box{
    transform:translateY(12px)!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}
.weather-box .weather-temp,
.weather-box .temperature,
.weather-box [class*="temp"],
.weather-temp,
.temperature,
[class*="weather"][class*="temp"]{
    color:#000000!important;
    -webkit-text-fill-color:#000000!important;
}
html.dark-mode .weather-box .weather-temp,
html.dark-mode .weather-box .temperature,
html.dark-mode .weather-box [class*="temp"],
html.dark-mode .weather-temp,
html.dark-mode .temperature,
html.dark-mode [class*="weather"][class*="temp"],
body.dark-mode .weather-box .weather-temp,
body.dark-mode .weather-box .temperature,
body.dark-mode .weather-box [class*="temp"],
body.dark-mode .weather-temp,
body.dark-mode .temperature,
body.dark-mode [class*="weather"][class*="temp"]{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
}


/* Wetter v73: Wetterblock im Header sichtbar halten */
.welcome-row{
    position:relative!important;
}
.welcome-row .weather-box{
    position:absolute!important;
    left:16px!important;
    top:calc(50% + 12px)!important;
    transform:translateY(-50%)!important;
    z-index:8!important;
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    width:112px!important;
    min-width:112px!important;
    height:auto!important;
    aspect-ratio:1 / 1!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    color:#000000!important;
    -webkit-text-fill-color:#000000!important;
}
.welcome-row .weather-icon,
.welcome-row .weather-temp,
.welcome-row .weather-text{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    color:#000000!important;
    -webkit-text-fill-color:#000000!important;
}
.welcome-row .weather-temp{
    font-weight:900!important;
}
html.dark-mode .welcome-row .weather-box,
html.dark-mode .welcome-row .weather-icon,
html.dark-mode .welcome-row .weather-temp,
html.dark-mode .welcome-row .weather-text,
body.dark-mode .welcome-row .weather-box,
body.dark-mode .welcome-row .weather-icon,
body.dark-mode .welcome-row .weather-temp,
body.dark-mode .welcome-row .weather-text{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
}
@media(max-width:900px){
    .welcome-row .weather-box{
        position:relative!important;
        left:auto!important;
        top:auto!important;
        transform:translateY(12px)!important;
        margin:0 auto 12px!important;
    }
}


/* Wetter v74: Position zurück auf alten Stand */
.welcome-row .weather-box,
.weather-box{
    transform:none!important;
}
.welcome-row .weather-box{
    position:static!important;
    left:auto!important;
    top:auto!important;
    margin:0!important;
}
@media(max-width:900px){
    .welcome-row .weather-box,
    .weather-box{
        transform:none!important;
        position:static!important;
        left:auto!important;
        top:auto!important;
        margin:0!important;
    }
}

.cookie-consent {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 34px);
    background: rgba(0, 0, 0, 0.46);
}

.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent-window {
    width: min(100%, 560px);
    border-radius: 22px;
    border: 2px solid rgba(15, 79, 216, 0.28);
    background: rgba(255, 255, 255, 0.97);
    color: #111111;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    padding: clamp(18px, 3.2vw, 30px);
    text-align: left;
}

.cookie-consent-window h2 {
    margin: 0 0 12px 0;
    color: #0f4fd8;
    font-size: clamp(1.35rem, 3vw, 1.8rem);
    line-height: 1.18;
}

.cookie-consent-window p {
    margin: 0 0 14px 0;
    color: #111111;
    font-weight: 700;
    line-height: 1.45;
}

.cookie-consent-links a {
    color: #0f4fd8;
    text-decoration: underline;
    font-weight: 900;
}

.cookie-consent-button {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    background: #15803d;
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.cookie-consent-button:hover,
.cookie-consent-button:focus-visible {
    background: #116b33;
    outline: 3px solid rgba(21, 128, 61, 0.28);
    outline-offset: 3px;
}

html.dark-mode .cookie-consent-window {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(11, 18, 32, 0.98);
    color: #ffffff;
}

html.dark-mode .cookie-consent-window h2,
html.dark-mode .cookie-consent-window p {
    color: #ffffff;
}

html.dark-mode .cookie-consent-links a {
    color: #93c5fd;
}

@media (max-width: 520px) {
    .cookie-consent-window {
        border-radius: 18px;
    }
}


/* ANBITA Radio Sender eintragen */
.radio-entry-page{
    position:relative;
}
.radio-entry-form{
    width:min(100%,940px);
    display:flex;
    flex-direction:column;
    gap:16px;
    margin:18px auto 0;
}
.radio-entry-form fieldset{
    border:2px solid rgba(15,79,216,.18);
    border-radius:18px;
    padding:16px;
    background:rgba(255,255,255,.78);
}
.radio-entry-form legend{
    padding:0 8px;
    font-weight:900;
    color:#0f4fd8;
}
.radio-form-grid{
    display:grid;
    gap:10px;
    margin-bottom:12px;
    align-items:start;
}
.radio-form-grid:last-child{
    margin-bottom:0;
}
.radio-form-grid-2{
    grid-template-columns:repeat(2,minmax(0,1fr));
}
.radio-form-grid-3{
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.radio-form-grid-senderdata{
    grid-template-columns:minmax(190px,240px) minmax(150px,190px) minmax(250px,1fr);
}
.radio-form-grid-links{
    grid-template-columns:repeat(2,minmax(210px,1fr));
}
.radio-form-grid-media{
    grid-template-columns:minmax(260px,1fr) minmax(190px,240px);
}
.radio-form-grid-contact{
    grid-template-columns:minmax(220px,1.1fr) minmax(120px,.55fr) minmax(150px,.8fr) minmax(150px,.8fr);
}
.radio-form-grid-phone{
    grid-template-columns:minmax(180px,260px);
}
.radio-entry-form label,
.radio-type-box{
    display:flex;
    flex-direction:column;
    gap:6px;
    font-weight:900;
    color:#111;
}
.radio-entry-form input[type="text"],
.radio-entry-form input[type="email"],
.radio-entry-form input[type="tel"],
.radio-entry-form input[type="url"],
.radio-entry-form input[type="number"],
.radio-entry-form select{
    width:100%;
    min-height:44px;
    border:2px solid rgba(15,79,216,.18);
    border-radius:12px;
    padding:9px 11px;
    font:inherit;
    color:#111;
    background:#fff;
}
.radio-entry-form input[type="file"]{
    width:100%;
    color:#111;
}
.radio-field-note{
    font-size:.88rem;
    font-weight:700;
    color:#394256;
    line-height:1.35;
}
.radio-type-box{
    border:2px solid rgba(15,79,216,.18);
    border-radius:14px;
    padding:12px;
    background:#fff;
}
.radio-type-box > span{
    font-weight:900;
    color:#0f4fd8;
}
.radio-type-box label,
.radio-check-row label{
    flex-direction:row;
    align-items:center;
    gap:8px;
    font-weight:900;
}
.radio-check-row{
    width:min(100%,460px);
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:14px;
    border-radius:16px;
    background:rgba(255,255,255,.78);
    border:2px solid rgba(15,79,216,.18);
}
.radio-check-row a{
    color:#0f4fd8;
    text-decoration:underline;
}
.radio-captcha-row{
    max-width:280px;
}
.radio-captcha-row label{
    color:#111;
}
.radio-honeypot{
    position:absolute!important;
    left:-10000px!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
}
.radio-submit-button{
    width:min(100%,260px);
    min-height:48px;
    border:0;
    border-radius:14px;
    background:#c62828;
    color:#fff;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 8px 18px rgba(0,0,0,.16);
}
.radio-submit-button.is-ready{
    background:#16823a;
}
.radio-form-message{
    margin:14px 0 0;
    padding:13px 15px;
    border-radius:14px;
    font-weight:900;
    line-height:1.35;
}
.radio-form-message.is-success{
    background:#e8fff0;
    color:#116b33;
    border:2px solid rgba(22,130,58,.35);
}
.radio-form-message.is-error{
    background:#fff0f0;
    color:#9f1d1d;
    border:2px solid rgba(198,40,40,.35);
}
.radio-info-modal{
    position:fixed;
    inset:0;
    z-index:9998;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:22px;
    background:rgba(0,0,0,.46);
}
.radio-info-modal[hidden]{
    display:none!important;
}
.radio-info-modal-box{
    width:min(100%,440px);
    border-radius:20px;
    background:#fff;
    color:#111;
    padding:22px;
    box-shadow:0 24px 70px rgba(0,0,0,.35);
    border:2px solid rgba(15,79,216,.25);
}
.radio-info-modal-box h2{
    margin:0 0 10px;
    color:#0f4fd8;
}
.radio-info-modal-box p{
    margin:0 0 18px;
    color:#111;
    font-weight:800;
    line-height:1.45;
}
.radio-info-modal-box button{
    min-width:120px;
    min-height:42px;
    border:0;
    border-radius:12px;
    background:#0f4fd8;
    color:#fff;
    font-weight:900;
    cursor:pointer;
}
.radio-station-type{
    margin:0 0 10px;
    color:#dbe7ff;
    font-weight:800;
}
.radio-link-row{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:10px;
}
.radio-link-row a{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:7px 10px;
    border-radius:999px;
    background:#ffffff;
    color:#0f4fd8;
    text-decoration:none;
    font-weight:900;
}
html.dark-mode .radio-entry-form fieldset,
body.dark-mode .radio-entry-form fieldset,
html.dark-mode .radio-check-row,
body.dark-mode .radio-check-row{
    background:rgba(11,18,32,.78);
    border-color:rgba(255,255,255,.18);
}
html.dark-mode .radio-entry-form label,
body.dark-mode .radio-entry-form label,
html.dark-mode .radio-type-box,
body.dark-mode .radio-type-box,
html.dark-mode .radio-captcha-row label,
body.dark-mode .radio-captcha-row label{
    color:#fff;
}
html.dark-mode .radio-type-box,
body.dark-mode .radio-type-box{
    background:#0b1220;
    border-color:rgba(255,255,255,.18);
}
html.dark-mode .radio-field-note,
body.dark-mode .radio-field-note{
    color:#dbe7ff;
}
html.dark-mode .radio-entry-form input[type="text"],
html.dark-mode .radio-entry-form input[type="email"],
html.dark-mode .radio-entry-form input[type="tel"],
html.dark-mode .radio-entry-form input[type="url"],
html.dark-mode .radio-entry-form input[type="number"],
html.dark-mode .radio-entry-form select,
body.dark-mode .radio-entry-form input[type="text"],
body.dark-mode .radio-entry-form input[type="email"],
body.dark-mode .radio-entry-form input[type="tel"],
body.dark-mode .radio-entry-form input[type="url"],
body.dark-mode .radio-entry-form input[type="number"],
body.dark-mode .radio-entry-form select{
    background:#0b1220;
    color:#fff;
    border-color:rgba(255,255,255,.22);
}
html.dark-mode .radio-info-modal-box,
body.dark-mode .radio-info-modal-box{
    background:#0b1220;
    color:#fff;
    border-color:rgba(255,255,255,.24);
}
html.dark-mode .radio-info-modal-box p,
body.dark-mode .radio-info-modal-box p{
    color:#fff;
}
@media(max-width:900px){
    .radio-form-grid-2,
    .radio-form-grid-3,
    .radio-form-grid-senderdata,
    .radio-form-grid-links,
    .radio-form-grid-media,
    .radio-form-grid-contact,
    .radio-form-grid-phone{
        grid-template-columns:1fr;
    }
    .radio-check-row{
        width:100%;
    }
    .radio-submit-button{
        width:100%;
    }
}


/* ANBITA v4: linker Trennbalken unter anmelden + InfoBox Button wie gelbe Hauptbuttons */
.side-menu .menu-separator{
    display:block!important;
    width:100%!important;
    height:4px!important;
    min-height:4px!important;
    margin:12px 0 10px!important;
    border-radius:999px!important;
    background:var(--accent-red)!important;
    opacity:1!important;
}
.side-menu .infobox-menu{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    width:100%!important;
}
.side-menu .infobox-menu .menu-button{
    background:var(--nav-button-bg)!important;
    color:var(--nav-button-text)!important;
    border-color:var(--button-border)!important;
}
.side-menu .infobox-menu .menu-button:hover,
.side-menu .infobox-menu .menu-button:focus-visible{
    background:var(--nav-button-hover)!important;
    color:var(--nav-button-text)!important;
}
html.dark-mode .infobox-heading-logo,
body.dark-mode .infobox-heading-logo{
    filter:brightness(0) invert(1)!important;
}

@media (max-width: 640px) {
    .amtv-channel-chip {
        gap: 6px;
        padding: 8px 8px;
    }
    .amtv-premium-badge {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }
    .amtv-premium-tooltip {
        min-width: 160px;
        max-width: 200px;
        font-size: 0.78rem;
    }
}


/* v20: Länder-Durchschnittswetter im Willkommensbereich links */
.welcome-row .weather-box.weather-country-overview,
.weather-box.weather-country-overview{
    width:220px!important;
    min-width:220px!important;
    height:112px!important;
    min-height:112px!important;
    aspect-ratio:auto!important;
    display:grid!important;
    grid-template-columns:repeat(3,1fr)!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    padding:4px 2px!important;
    margin:0!important;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
    overflow:visible!important;
    color:#000000!important;
    -webkit-text-fill-color:#000000!important;
}
.weather-country-overview .weather-country{
    min-width:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:2px!important;
    line-height:1.05!important;
    text-align:center!important;
}
.weather-country-overview .weather-country-label{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    font-size:11px!important;
    font-weight:950!important;
    letter-spacing:.01em!important;
    white-space:nowrap!important;
}
.weather-country-overview .weather-flag{
    font-size:14px!important;
    line-height:1!important;
}
.weather-country-overview .weather-animation{
    display:block!important;
    font-size:24px!important;
    line-height:1!important;
    filter:drop-shadow(0 1px 2px rgba(0,0,0,.20));
    animation:anbitaWeatherFloat 2.9s ease-in-out infinite;
}
.weather-country-overview .weather-country:nth-child(2) .weather-animation{animation-delay:.25s;}
.weather-country-overview .weather-country:nth-child(3) .weather-animation{animation-delay:.5s;}
.weather-country-overview .weather-temp{
    display:block!important;
    font-size:15px!important;
    line-height:1!important;
    font-weight:950!important;
    color:#000000!important;
    -webkit-text-fill-color:#000000!important;
}
.weather-country-overview .weather-text{
    position:absolute!important;
    width:1px!important;
    height:1px!important;
    overflow:hidden!important;
    clip:rect(0 0 0 0)!important;
    white-space:nowrap!important;
}
@keyframes anbitaWeatherFloat{
    0%,100%{transform:translateY(0) scale(1);}
    50%{transform:translateY(-3px) scale(1.04);}
}
html.dark-mode .welcome-row .weather-box.weather-country-overview,
body.dark-mode .welcome-row .weather-box.weather-country-overview,
html.dark-mode .weather-country-overview .weather-country-label,
body.dark-mode .weather-country-overview .weather-country-label,
html.dark-mode .weather-country-overview .weather-temp,
body.dark-mode .weather-country-overview .weather-temp{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
}
@media(max-width:900px){
    .welcome-row .weather-box.weather-country-overview,
    .weather-box.weather-country-overview{
        width:220px!important;
        min-width:220px!important;
        height:112px!important;
        margin:0!important;
        position:static!important;
        transform:none!important;
    }
}
@media(max-width:420px){
    .welcome-row .weather-box.weather-country-overview,
    .weather-box.weather-country-overview{
        width:200px!important;
        min-width:200px!important;
        gap:4px!important;
    }
    .weather-country-overview .weather-animation{font-size:22px!important;}
    .weather-country-overview .weather-temp{font-size:14px!important;}
}
