/* ================================================================
   Radio Schmölln – Frontend
   Palette: warmes Off-White, Rose-Rot, Gold, tiefes Indigo
   ================================================================ */

:root {
    --bg:        #FFFBF5;
    --surface:   #FFFFFF;
    --surface-2: #FFF3E6;
    --primary:   #D30E20;
    --primary-d: #B00C1B;
    --accent:    #F7A93B;
    --ffn-grey:  #ECECEC;
    --ink:       #1E2340;
    --muted:     #6B7089;
    --line:      #EFE6DB;
    --ok:        #2E9E6B;
    --err:       #D64545;

    --radius:    18px;
    --radius-sm: 10px;
    --shadow:    0 10px 30px -12px rgba(30, 35, 64, .18);
    --shadow-sm: 0 4px 14px -6px rgba(30, 35, 64, .16);

    --display: 'Bricolage Grotesque', system-ui, sans-serif;
    --body:    'Inter', system-ui, sans-serif;

    --player-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: var(--player-h);
}

h1, h2, h3, h4 {
    font-family: var(--display);
    line-height: 1.1;
    margin: 0 0 .4em;
    font-weight: 700;
    letter-spacing: -.02em;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-d); }

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

.wrap { width: min(1180px, 92%); margin-inline: auto; }

/* ---------------- Live-Player ---------------- */

.player {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--player-h);
    background: linear-gradient(100deg, #171B33 0%, #262C55 100%);
    color: #fff;
    z-index: 1000;
    box-shadow: 0 -3px 20px rgba(0,0,0,.28);
}
/* SPA: dünner Ladebalken oben beim Seitenwechsel */
body.rp-loading::after {
    content: '';
    position: fixed; top: 0; left: 0; height: 3px; width: 100%;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    z-index: 2000;
    animation: rpbar 1s linear infinite;
}
@keyframes rpbar { 0%{opacity:.4} 50%{opacity:1} 100%{opacity:.4} }
body.rp-loading { cursor: progress; }
.nav a.is-current { background: rgba(0,0,0,.14); }
.player__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
}
.player__btn {
    flex: 0 0 auto;
    width: 42px; height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: transform .15s ease, background .2s ease;
}
.player__btn:hover { background: var(--accent); transform: scale(1.06); }
.player__icon--play {
    width: 0; height: 0;
    border-left: 13px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 3px;
}
.player__icon--pause {
    width: 12px; height: 14px;
    border-left: 4px solid #fff;
    border-right: 4px solid #fff;
}

.player__eq {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 22px;
    flex: 0 0 auto;
}
.player__eq span {
    width: 3px;
    background: var(--accent);
    border-radius: 2px;
    height: 6px;
}
.player.is-playing .player__eq span {
    animation: eq .9s ease-in-out infinite;
}
.player__eq span:nth-child(1) { animation-delay: -.2s; }
.player__eq span:nth-child(2) { animation-delay: -.5s; }
.player__eq span:nth-child(3) { animation-delay: -.1s; }
.player__eq span:nth-child(4) { animation-delay: -.7s; }
.player__eq span:nth-child(5) { animation-delay: -.4s; }
@keyframes eq {
    0%, 100% { height: 6px; }
    50%      { height: 22px; }
}

.player__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
    flex: 1 1 auto;
}
.player__live {
    font-size: .68rem;
    letter-spacing: .12em;
    font-weight: 700;
    color: var(--accent);
}
.player__track {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.player__vol {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}
.player__vol input[type=range] {
    width: 90px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* ---------------- Kopf / Navigation ---------------- */

.site-header {
    position: sticky;
    top: 0;
    background: var(--primary);
    z-index: 900;
}
.site-header__inner {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 22px; color: #fff; }
.brand:hover { color: #fff; }
.brand__logo {
    max-height: 76px;
    max-width: 380px;
    width: auto;
    display: block;
}
/* Logo als schwarz umrahmte weiße Box (ffn-Look) */
.brand__mark {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
    background: #fff;
    padding: 9px 11px;
    border-radius: 8px;
    border: 3px solid #111;
    flex: 0 0 auto;
}
.brand__mark span {
    width: 6px;
    border-radius: 2px;
    background: var(--primary);
}
.brand__mark span:nth-child(1) { height: 14px; background: var(--accent); }
.brand__mark span:nth-child(2) { height: 100%; }
.brand__mark span:nth-child(3) { height: 22px; background: #111; }
.brand__name {
    display: block;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -.01em;
    color: #fff;
    line-height: 1.1;
}
.brand__tag {
    display: block;
    font-size: .92rem;
    color: #fff;
    font-weight: 500;
    letter-spacing: .005em;
}

/* Navigation als Ausklapp-Panel hinter dem Hamburger (ffn zeigt nur den Burger) */
.site-header__inner { position: relative; }
.nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 950;
    flex-direction: column;
    align-items: stretch;
    min-width: 240px;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
    display: none;
}
.nav.is-open { display: flex; }
.nav a {
    color: var(--ink);
    font-weight: 600;
    padding: 12px 14px;
    border-radius: 8px;
    transition: background .15s ease;
}
.nav a:hover { background: var(--ffn-grey); color: var(--primary-d); }
.nav__phone {
    color: var(--primary-d) !important;
    background: #FBEEEF;
}
.nav__phone:hover { background: #F7DEE0 !important; }

/* Hamburger rechts wie ffn – auf allen Größen sichtbar */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 8px;
    margin-left: auto;
    order: 3;
}
.nav-toggle span {
    width: 28px; height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: .2s;
}
.nav-toggle:hover span { opacity: .82; }

/* ---------------- Allgemein ---------------- */

.site-main { min-height: 60vh; }

.section { padding: 56px 0; }
.section--tint { background: var(--surface-2); }

.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}
.section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    position: relative;
    padding-left: 18px;
}
.section-head h2::before {
    content: '';
    position: absolute;
    left: 0; top: .12em; bottom: .12em;
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(var(--primary), var(--accent));
}
.section-head a {
    font-weight: 600;
    font-size: .95rem;
    white-space: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
    font-family: var(--body);
    font-size: 1rem;
}
.btn:hover { background: var(--primary-d); color: #fff; transform: translateY(-1px); }
.btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 2px solid var(--line);
}
.btn--ghost:hover { background: var(--surface-2); color: var(--ink); border-color: var(--accent); }
.btn--gold { background: var(--accent); color: var(--ink); }
.btn--gold:hover { background: #e8991f; color: var(--ink); }

.tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--primary-d);
    background: var(--surface-2);
    padding: 4px 10px;
    border-radius: 999px;
}

/* ---------------- Hero ---------------- */

.hero {
    background:
        radial-gradient(1200px 400px at 80% -20%, rgba(247,169,59,.28), transparent 60%),
        radial-gradient(900px 500px at -10% 120%, rgba(232,70,90,.18), transparent 55%),
        var(--bg);
    padding: 64px 0 48px;
    overflow: hidden;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .8rem;
    color: var(--primary-d);
    margin-bottom: 14px;
}
.hero__eyebrow::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(232,70,90,.2);
    animation: pulse 1.6s ease infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(232,70,90,.2); }
    50%      { box-shadow: 0 0 0 8px rgba(232,70,90,0); }
}
.hero h1 {
    font-size: clamp(2.2rem, 5.2vw, 3.6rem);
    margin-bottom: .35em;
}
.hero h1 em { color: var(--primary); font-style: normal; }
.hero__lead {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 46ch;
    margin-bottom: 26px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--line);
}
.hero__card-img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
    background: var(--surface-2);
}
.hero__card-body { padding: 20px 22px 24px; }
.hero__card-body h3 { font-size: 1.25rem; }
.hero__card-body p { color: var(--muted); margin: 0; }

/* ---------------- Startseite: Aufmacher + Seitenspalte (ffn-Stil) ---------------- */

.home-top { padding: 34px 0 8px; }
.home-top__grid {
    display: grid;
    grid-template-columns: 1.9fr 1fr;
    gap: 24px;
    align-items: start;
}

/* Großer Aufmacher links mit rotem Textkasten */
.home-feature {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    display: block;
    aspect-ratio: 16 / 11.5;
    min-height: 460px;
    background: var(--ink);
}
.home-feature__img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.home-feature:hover .home-feature__img { transform: scale(1.03); }
.home-feature__overlay { display: none; }

/* Aufmacher ohne Bild: flächiger Marken-Hintergrund statt kleinem Platzhalter */
.home-feature--noimg {
    background:
        radial-gradient(120% 90% at 75% 10%, rgba(247,169,59,.30), transparent 60%),
        radial-gradient(120% 90% at 10% 100%, rgba(211,14,32,.16), transparent 55%),
        var(--surface-2);
}
.home-feature__ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.2%;
    padding: 12% 18% 22%;
}
.home-feature__ph span {
    width: 7%;
    border-radius: 999px;
    background: var(--primary);
    opacity: .55;
}
.home-feature__ph span:nth-child(1) { height: 34%; background: var(--accent); }
.home-feature__ph span:nth-child(2) { height: 62%; }
.home-feature__ph span:nth-child(3) { height: 48%; background: var(--accent); }
.home-feature__ph span:nth-child(4) { height: 78%; }
.home-feature__ph span:nth-child(5) { height: 40%; }
.home-feature__box {
    position: absolute;
    left: 0; bottom: 0;
    max-width: 84%;
    background: var(--primary);
    color: #fff;
    padding: 20px 26px 22px;
}
.home-feature__box h1 {
    color: #fff;
    font-family: var(--body);
    font-weight: 700;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.15;
    margin: 6px 0 10px;
}
.home-feature__box p { margin: 0; color: #fff; font-size: 1.05rem; line-height: 1.4; }

.tag--light {
    background: rgba(0,0,0,.18);
    color: #fff;
}

/* Seitenspalte rechts */
.home-side { display: flex; flex-direction: column; gap: 16px; }

/* ON-AIR-Karte (ffn: grauer Kasten, Badge links am Bild) */
.onair {
    background: var(--ffn-grey);
    border-radius: 4px;
    overflow: hidden;
}
.onair__media { position: relative; aspect-ratio: 4 / 3; background: #ddd; }
.onair__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.onair__media--ph {
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(120% 90% at 75% 10%, rgba(247,169,59,.30), transparent 60%),
        var(--surface-2);
}
.onair__media--ph img { object-fit: contain; object-position: center; padding: 12% 22%; }
.onair__badge {
    position: absolute; top: 14px; left: 0;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .02em;
    padding: 4px 10px;
}
.onair__badge--next { background: var(--ink); }
.onair__body { padding: 18px 18px 6px; }
.onair__show { font-weight: 600; font-size: 1.2rem; color: var(--ink); font-family: var(--body); }
.onair__sub { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.onair__links {
    display: flex; gap: 26px;
    margin-top: 16px; padding: 14px 0;
    border-top: 1px solid #d6d6d6;
    font-size: .92rem; font-weight: 500;
}
.onair__link {
    display: inline-flex; align-items: center; gap: 9px;
    background: none; border: none; cursor: pointer;
    color: var(--ink); font: inherit; padding: 0;
}
.onair__link:hover { color: var(--primary-d); }

/* kleine Icons (rot) im ffn-Look */
.ico { width: 20px; height: 15px; flex: 0 0 auto; display: inline-block; background: var(--primary); }
.ico--cam  { -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M0 2a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm17 3 5-3.5A1 1 0 0 1 24 3v10a1 1 0 0 1-2 .5L17 10V5z'/%3E%3C/svg%3E"); mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Cpath d='M0 2a2 2 0 0 1 2-2h11a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2zm17 3 5-3.5A1 1 0 0 1 24 3v10a1 1 0 0 1-2 .5L17 10V5z'/%3E%3C/svg%3E"); }
.ico--mail { -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='16' rx='2'/%3E%3Cpath d='M2 2l10 7L22 2' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect width='24' height='16' rx='2'/%3E%3Cpath d='M2 2l10 7L22 2' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E"); }
.ico--radio { width: 22px; -webkit-mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect y='5' width='24' height='11' rx='2'/%3E%3Ccircle cx='18' cy='10.5' r='3' fill='%23fff'/%3E%3Cpath d='M4 0l9 4' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); mask: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 16'%3E%3Crect y='5' width='24' height='11' rx='2'/%3E%3Ccircle cx='18' cy='10.5' r='3' fill='%23fff'/%3E%3Cpath d='M4 0l9 4' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); }

/* Now-Playing-Karte (ffn: hellgrauer Block, Cover links, roter Play-Kreis rechts) */
.np {
    background: var(--ffn-grey);
    border-radius: 4px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.np__art {
    width: 62px; height: 62px;
    object-fit: cover;
    background: #ddd;
    flex: 0 0 auto;
}
.np__info { min-width: 0; flex: 1; }
.np__title {
    font-weight: 700; font-size: 1.05rem; color: var(--ink);
    text-transform: uppercase; letter-spacing: .01em;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.np__artist {
    color: #555; font-size: .92rem; text-transform: uppercase;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 8px;
}
.np__search {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .88rem; color: var(--ink);
}
.np__play {
    flex: 0 0 auto;
    width: 44px; height: 44px;
    border: none; border-radius: 50%;
    background: var(--primary); color: #fff;
    cursor: pointer; display: grid; place-items: center;
    transition: transform .15s, background .2s;
}
.np__play:hover { background: var(--primary-d); transform: scale(1.06); }
.np__play::before {
    content: ''; width: 0; height: 0;
    border-left: 13px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    margin-left: 3px;
}

/* ---------------- Channel-/Stream-Leiste (Karussell) ---------------- */

.channels { padding: 16px 0 8px; }
.channels__row {
    display: flex; align-items: center; gap: 10px;
    background: var(--ffn-grey);
    border-radius: 4px;
    padding: 14px 12px;
}
.channels__track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 2px;
    flex: 1;
    scrollbar-width: none;
}
.channels__track::-webkit-scrollbar { display: none; }
.channel {
    flex: 0 0 auto;
    width: 112px; height: 92px;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    padding: 12px;
    transition: transform .15s, box-shadow .15s;
}
.channel:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.channel img { width: 48px; height: 48px; object-fit: contain; }
.channel span {
    font-size: .74rem; font-weight: 600; color: var(--ink);
    text-align: center; line-height: 1.15;
    max-width: 100%;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.channels__arrow {
    flex: 0 0 auto;
    width: 34px; height: 34px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.6rem;
    color: #888;
    display: grid; place-items: center;
    transition: color .15s;
}
.channels__arrow:hover { color: var(--ink); }

/* ---------------- News-Grid / Cards ---------------- */

.grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
    background: var(--surface-2);
}
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__meta { display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.card__title { font-size: 1.18rem; margin: 0; line-height: 1.25; }
.card__title a { color: var(--ink); }
.card__title a:hover { color: var(--primary); }
.card__excerpt { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.card__more { font-weight: 600; font-size: .9rem; align-self: flex-start; }

/* Feature-Karte (breit) */
.feature {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.feature__img { object-fit: cover; width: 100%; height: 100%; min-height: 260px; background: var(--surface-2); }
.feature__body { padding: 30px 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.feature__body h3 { font-size: clamp(1.4rem, 3vw, 2rem); }

/* ---------------- Streams ---------------- */

.streams-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.stream {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: center;
    transition: border-color .2s, transform .2s;
    cursor: pointer;
}
.stream:hover { border-color: var(--primary); transform: translateY(-3px); }
.stream__logo {
    width: 54px; height: 54px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--surface-2);
    flex: 0 0 auto;
}
.stream__name { font-family: var(--display); font-weight: 700; }
.stream__desc { font-size: .82rem; color: var(--muted); }

/* ---------------- Programm / Sendeplan ---------------- */

.schedule { display: grid; gap: 26px; }
.schedule__day {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.schedule__day h3 {
    margin: 0;
    padding: 14px 22px;
    background: linear-gradient(100deg, var(--ink), #2A3160);
    color: #fff;
    font-size: 1.1rem;
}
.schedule__day.is-today h3 { background: linear-gradient(100deg, var(--primary), var(--accent)); }
.slot {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 16px;
    padding: 14px 22px;
    border-top: 1px solid var(--line);
    align-items: center;
}
.slot--withphoto {
    grid-template-columns: 130px 52px 1fr;
}
.slot__photo {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--surface-2);
    border: 2px solid var(--surface);
    box-shadow: var(--shadow-sm);
}
.slot:first-of-type { border-top: none; }
.slot__time { font-family: var(--display); font-weight: 700; color: var(--primary-d); }
.slot__show { font-weight: 600; }
.slot__mod { font-size: .85rem; color: var(--muted); }

/* ---------------- Team ---------------- */

.team-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.member {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member__photo {
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
    background: var(--surface-2);
}
.member__body { padding: 18px 16px 22px; }
.member__name { font-size: 1.15rem; margin: 0 0 2px; }
.member__role { color: var(--primary-d); font-weight: 600; font-size: .9rem; }
.member__bio { color: var(--muted); font-size: .88rem; margin-top: 8px; }

/* ---------------- Artikel-Detail ---------------- */

.article { max-width: 760px; margin-inline: auto; padding: 40px 0 60px; }
.article__hero {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 26px;
    background: var(--surface-2);
}
.article__meta { display: flex; gap: 12px; align-items: center; color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.article h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 20px; }
.article__content { font-size: 1.08rem; }
.article__content p { margin: 0 0 1.1em; }
.article__content img { border-radius: var(--radius-sm); margin: 1em 0; }
.article__content h2, .article__content h3 { margin-top: 1.4em; }
.article__back { display: inline-block; margin-bottom: 20px; font-weight: 600; }

/* ---------------- Kontakt / Formulare ---------------- */

.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 32px;
    box-shadow: var(--shadow-sm);
    max-width: 620px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--ink);
    background: #fff;
    transition: border-color .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--primary);
}
.field textarea { min-height: 150px; resize: vertical; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.flash {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-weight: 500;
}
.flash--ok  { background: #E6F6EE; color: #1B7A4E; border: 1px solid #B7E3CC; }
.flash--error { background: #FCE9E9; color: #B02B2B; border: 1px solid #F0C4C4; }

.page-head {
    background:
        radial-gradient(900px 300px at 90% -40%, rgba(247,169,59,.25), transparent 60%),
        var(--surface-2);
    padding: 48px 0;
    border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0; }
.page-head p { color: var(--muted); margin: 8px 0 0; font-size: 1.05rem; }

.empty {
    text-align: center;
    color: var(--muted);
    padding: 40px;
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}

/* ---------------- Footer ---------------- */

.site-footer { background: var(--ink); color: #D5D8E8; margin-top: 60px; }
.site-footer__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding: 52px 0 40px;
}
.site-footer h4 {
    color: #fff;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
}
.site-footer a { color: #C3C7DC; display: block; padding: 4px 0; }
.site-footer a:hover { color: var(--accent); }
.site-footer__brand .brand__name { color: #fff; font-family: var(--display); font-size: 1.4rem; font-weight: 800; }
.site-footer__brand p { color: #9AA0BE; margin: 8px 0 16px; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials__link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    padding: 0 !important;
    border-radius: 12px;
    background: rgba(255,255,255,.10);
    color: #fff;
    transition: background .2s, transform .15s, color .2s;
}
.socials__link svg { width: 20px; height: 20px; fill: currentColor; }
.socials__link:hover { transform: translateY(-2px); color: #fff; }
.socials__link--facebook:hover  { background: #1877F2; }
.socials__link--instagram:hover { background: linear-gradient(45deg,#F58529,#DD2A7B,#8134AF); }
.socials__link--tiktok:hover    { background: #000; }
.socials__link--youtube:hover   { background: #FF0000; }
.big-phone { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: #fff !important; }
.big-phone:hover { color: var(--accent) !important; }
.site-footer__bar { border-top: 1px solid #2E3560; }
.site-footer__bar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-size: .85rem;
    color: #8990B4;
}
.site-footer__bar a { color: #8990B4; }
.site-footer__dev a { color: #B7BEE0; }
.site-footer__dev a:hover { color: var(--accent); }
@media (max-width: 640px) {
    .site-footer__bar .wrap { flex-direction: column; gap: 6px; text-align: center; }
}

/* ---------------- Responsive ---------------- */

@media (max-width: 860px) {
    .hero__grid { grid-template-columns: 1fr; gap: 30px; }
    .feature { grid-template-columns: 1fr; }
    .feature__img { min-height: 200px; }
    .two-col { grid-template-columns: 1fr; }
    .home-top__grid { grid-template-columns: 1fr; }
    .home-feature { aspect-ratio: 16 / 11; min-height: 0; }
    .site-footer__inner { grid-template-columns: 1fr 1fr; }

    .nav { left: 0; min-width: 0; }
}

@media (max-width: 560px) {
    .player__vol { display: none; }
    .player__meta { flex: 1; }
    .site-footer__inner { grid-template-columns: 1fr; }
    .slot { grid-template-columns: 100px 1fr; }
    .slot--withphoto { grid-template-columns: 100px 44px 1fr; gap: 12px; }
    .slot__photo { width: 44px; height: 44px; }
    .brand__tag { display: none; }
    .brand__logo { max-height: 52px; max-width: 210px; }
}

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

/* ---------------- Empfang-Seite ---------------- */
.reception-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.reception {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}
.reception__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.reception__head h2 { margin: 0; font-size: 1.2rem; }
.reception__sub { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.reception__icon {
    width: 46px; height: 46px; flex: 0 0 auto;
    border-radius: 12px;
    background: var(--primary);
    display: grid; place-items: center;
    position: relative;
}
/* Icon-Symbole (CSS-only) */
.reception__icon::before {
    content: ''; position: absolute;
    color: #fff; font-weight: 700; font-size: .8rem;
}
.reception__icon--ukw::before     { content: 'FM'; color:#fff; font-family: var(--display); }
.reception__icon--dab::before     { content: 'DAB+'; color:#fff; font-size:.62rem; font-weight:800; }
.reception__icon--web::before     { content: '🌐'; }
.reception__icon--app::before     { content: '📱'; }
.reception__icon--speaker::before { content: '🔊'; }
.reception__icon--cable::before   { content: '🔌'; }
.reception__icon--tv::before      { content: '📺'; }
.reception__icon--other::before   { content: '📻'; }
.reception__icon--dab { background: var(--ink); }
.reception__icon--web { background: #2A7DE1; }
.reception__icon--app { background: var(--accent); }
.reception__icon--speaker { background: #6B4FE0; }

.reception__list { list-style: none; margin: 0; padding: 0; }
.reception__list li {
    padding: 12px 0;
    border-top: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 2px;
}
.reception__list li:first-child { border-top: none; }
.reception__title { font-weight: 600; }
.reception__detail { color: var(--muted); font-size: .88rem; }
.reception__link {
    align-self: flex-start;
    margin-top: 4px; font-weight: 600; font-size: .9rem;
    color: var(--primary-d);
}
.reception-cta {
    margin-top: 34px; text-align: center;
    padding: 26px; background: var(--surface-2);
    border-radius: var(--radius);
}
.reception-cta p { margin: 0 0 12px; font-weight: 600; }

/* ---------------- Veranstaltungen ---------------- */
.events { display: flex; flex-direction: column; gap: 18px; }
.event {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    align-items: start;
}
.event--img { grid-template-columns: 84px 200px 1fr; }
.event__date {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--primary); color: #fff; border-radius: 12px;
    padding: 12px 6px; text-align: center; min-height: 84px;
}
.event__day { font-family: var(--display); font-size: 1.9rem; font-weight: 800; line-height: 1; }
.event__mon { text-transform: uppercase; font-size: .78rem; font-weight: 700; letter-spacing: .06em; margin-top: 2px; }
.event__yr  { font-size: .72rem; opacity: .85; margin-top: 2px; }
.event__media { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; background: var(--surface-2); }
.event__media img { width: 100%; height: 100%; object-fit: cover; }
.event__title { margin: 0 0 6px; font-size: 1.3rem; }
.event__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 10px; color: var(--muted); font-size: .92rem; }
.event__when { font-weight: 600; color: var(--ink); }
.event__text { margin: 0 0 12px; line-height: 1.55; }

@media (max-width: 680px) {
    .event, .event--img { grid-template-columns: 68px 1fr; }
    .event--img .event__media { grid-column: 1 / -1; grid-row: 2; max-width: 100%; }
    .event__day { font-size: 1.5rem; }
}

/* ---------------- Termin-Einreichung (Frontend) ---------------- */
.event-submit {
    margin-top: 40px;
    background: var(--surface-2);
    border-radius: var(--radius);
    padding: 28px;
}
.event-submit h2 { margin-top: 0; }
.event-form { margin-top: 16px; max-width: 640px; }
.event-form .field { margin-bottom: 14px; }
.event-form label { display:block; font-weight:600; margin-bottom:6px; font-size:.92rem; }
.event-form input, .event-form textarea {
    width:100%; padding:10px 12px; border:1px solid var(--line);
    border-radius:10px; font:inherit; box-sizing:border-box; background:var(--surface);
}
.notice { padding:12px 16px; border-radius:10px; margin-bottom:14px; font-size:.94rem; }
.notice--ok  { background:#E7F6EC; color:#1B7A3D; border:1px solid #B6E2C4; }
.notice--err { background:#FDECEC; color:#B3261E; border:1px solid #F3B7B3; }


/* ---------------- Titelsuche / Playlist-Verlauf ---------------- */
.playlist { display: flex; flex-direction: column; gap: 10px; }
.pl-item {
    display: grid;
    grid-template-columns: 84px 84px 1fr;
    align-items: stretch;
    background: var(--ffn-grey, #ECECEC);
    border-radius: 4px;
    overflow: hidden;
    min-height: 84px;
}
.pl-item__time {
    background: var(--primary);
    color: #fff;
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center;
}
.pl-item__cover {
    background: linear-gradient(135deg, var(--ink) 0%, #2b3160 100%);
    display: flex; align-items: flex-end; justify-content: center;
    gap: 4px; padding: 18px 0;
}
.pl-item__cover span {
    width: 6px; border-radius: 3px; background: var(--accent);
}
.pl-item__cover span:nth-child(1) { height: 40%; }
.pl-item__cover span:nth-child(2) { height: 70%; background: var(--primary); }
.pl-item__cover span:nth-child(3) { height: 55%; }
.pl-item__meta {
    display: flex; flex-direction: column; justify-content: center;
    padding: 12px 20px;
}
.pl-item__artist {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--ink);
    line-height: 1.15;
}
.pl-item__title { color: #555; font-size: .98rem; margin-top: 2px; }
.playlist__note { margin-top: 18px; color: var(--muted); font-size: .88rem; }

@media (max-width: 560px) {
    .pl-item { grid-template-columns: 64px 64px 1fr; min-height: 68px; }
    .pl-item__time { font-size: 1.1rem; }
    .pl-item__artist { font-size: 1rem; }
    .pl-item__title { font-size: .88rem; }
}

/* Playlist: kurzes Hervorheben, wenn ein neuer Titel oben erscheint */
.pl-item--new { animation: plnew 1.5s ease; }
@keyframes plnew {
    0%   { background: rgba(247,169,59,.55); }
    100% { background: var(--ffn-grey, #ECECEC); }
}

/* ---------------- Songsuche (Datum/Uhrzeit) ---------------- */
.songsearch { margin-bottom: 10px; }
.songsearch h2 { margin: 0 0 6px; }
.songsearch__form {
    display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end;
    margin: 16px 0 8px;
}
.songsearch__form .field { margin: 0; min-width: 220px; }
.songsearch__form label { display:block; font-weight:600; margin-bottom:6px; font-size:.9rem; }
.songsearch__form input, .songsearch__form select {
    width: 100%; padding: 12px 14px; font-size: 1rem;
    border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
}
.songsearch__count { font-weight: 600; margin: 18px 0 12px; }
@media (max-width: 560px) {
    .songsearch__form .field { min-width: 100%; }
    .songsearch__form .btn { width: 100%; }
}

/* ---------------- Hot or Flop (Voting) ---------------- */
.votegrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.votecard {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
}
.votecard__cover { position: relative; aspect-ratio: 1/1; background: var(--surface-2); }
.votecard__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.votecard__ph { position:absolute; inset:0; display:flex; align-items:flex-end; justify-content:center; gap:5px; padding:26%; background:linear-gradient(135deg,var(--ink),#2b3160); }
.votecard__ph span { width:9px; border-radius:4px; background:var(--accent); }
.votecard__ph span:nth-child(1){height:40%} .votecard__ph span:nth-child(2){height:70%;background:var(--primary)} .votecard__ph span:nth-child(3){height:55%}
.votecard__play {
    position:absolute; right:12px; bottom:12px;
    width:48px; height:48px; border:none; border-radius:50%;
    background:rgba(0,0,0,.65); color:#fff; font-size:1.1rem; cursor:pointer;
    display:grid; place-items:center; transition:background .2s, transform .15s;
}
.votecard__play:hover { background:var(--primary); transform:scale(1.08); }
.votecard__body { padding:16px; display:flex; flex-direction:column; gap:4px; flex:1; }
.votecard__artist { font-family:var(--display); font-weight:800; font-size:1.05rem; line-height:1.15; }
.votecard__title { color:#555; font-size:.92rem; margin-bottom:10px; }
.votecard__actions { display:flex; gap:10px; margin-top:auto; }
.votebtn {
    flex:1; padding:10px 8px; border:1px solid var(--line); border-radius:10px;
    background:var(--surface); cursor:pointer; font-weight:700; font-size:.92rem;
    display:flex; align-items:center; justify-content:center; gap:6px; transition:all .15s;
}
.votebtn__n { font-weight:800; color:var(--muted); }
.votebtn--hot:hover:not(:disabled)  { background:#FFF1E8; border-color:var(--primary); color:var(--primary-d); }
.votebtn--flop:hover:not(:disabled) { background:#EEF1F8; border-color:var(--ink); }
.votebtn:disabled { opacity:.6; cursor:default; }
.votecard__hint { font-size:.82rem; color:var(--muted); margin-top:8px; }
