/**
 * Empfang Page Styles
 * Schlager Radio Theme
 */

/* ==============================================
   PAGE HEADER
============================================== */
.empfang-header {
    padding: 2rem 0 3rem;
}

.empfang-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #E30917, #C10713);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .empfang-title {
        font-size: 3rem;
    }
}

.empfang-intro {
    color: #666;
    font-size: 1.125rem;
    line-height: 1.8;
    width: 100%;
}

/* ==============================================
   SECTION TITLES
============================================== */
.section-title-small {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .section-title-small {
        font-size: 2rem;
    }
}

/* ==============================================
   EMPFANG GRID
============================================== */
.empfang-grid-section {
    padding: 2rem 0 4rem;
}

.empfang-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.empfang-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.empfang-card:hover {
    border-color: #E30917;
    box-shadow: 0 8px 24px rgba(225, 7, 23, 0.15);
    transform: translateY(-4px);
}

.empfang-card-highlight {
    background: linear-gradient(135deg, #E30917, #C10713);
    border-color: #E30917;
    color: #ffffff;
}

.empfang-card-highlight:hover {
    box-shadow: 0 12px 32px rgba(225, 7, 23, 0.3);
}

/* Card Icon */
.empfang-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #E30917, #C10713);
}

.empfang-icon svg {
    color: #ffffff;
    width: 36px;
    height: 36px;
}

.empfang-card-highlight .empfang-icon {
    background: rgba(255, 255, 255, 0.2);
}

.empfang-card-highlight .empfang-icon svg {
    color: #ffffff;
}

/* Fallback für alte Klasse */
.empfang-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #E30917, #C10713);
}

.empfang-card-icon svg {
    color: #ffffff;
    width: 36px;
    height: 36px;
}

/* Card Content */
.empfang-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.empfang-card-highlight .empfang-card-title {
    color: #ffffff;
}

.empfang-frequency {
    font-size: 2rem;
    font-weight: 700;
    color: #E30917;
    margin-bottom: 0.5rem;
}

.empfang-card-highlight .empfang-frequency {
    color: #ffffff;
    font-size: 2.5rem;
}

.empfang-location {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.empfang-card-highlight .empfang-location {
    color: rgba(255, 255, 255, 0.9);
}

.empfang-card-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.empfang-card-highlight .empfang-card-text {
    color: rgba(255, 255, 255, 0.9);
}

.empfang-voice-command {
    background: rgba(225, 7, 23, 0.1);
    border-left: 4px solid #E30917;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #E30917;
    border-radius: 0.5rem;
}

/* Button */
.empfang-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #E30917, #C10713);
    color: #ffffff;
    border: 2px solid transparent;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.empfang-button:hover {
    background: linear-gradient(135deg, #C10713, #A00610);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;  /* Text bleibt weiß beim Hover */
}

.app-buttons {
    display: flex;
    gap: 0.375rem;
    flex-wrap: nowrap;
    margin-top: auto;
    justify-content: center;
    align-self: stretch;  /* Nutzt volle Breite trotz align-items: center in Card */
}

/* App Store Button (Rot mit Gradient - exakt gleiche Höhe wie andere Buttons) */
.app-store-button,
.google-play-button {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.875rem 0.625rem;
    background: linear-gradient(135deg, #E30917, #C10713);
    color: #ffffff;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.6875rem;
    flex: 1;
    min-width: 105px;
    max-width: 140px;
    justify-content: center;
}

.app-store-button svg,
.google-play-button svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.app-button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.app-button-label {
    font-size: 0.5625rem;
    font-weight: 400;
    opacity: 0.9;
}

.app-button-store {
    font-size: 0.8125rem;
    font-weight: 600;
    margin-top: 0.125rem;
}

.app-store-button:hover,
.google-play-button:hover {
    background: linear-gradient(135deg, #C10713, #A00610);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;  /* Text bleibt weiß beim Hover */
}

@media (max-width: 640px) {
    .app-store-button,
    .google-play-button {
        flex: 1 1 100%;
        max-width: none;
    }
}

/* ==============================================
   APP SECTION
============================================== */
.empfang-app-section {
    background: #f8f8f8;
    padding: 4rem 0;
    margin-top: 2rem;
}

.empfang-app-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .empfang-app-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.empfang-app-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.empfang-app-text {
    color: #666;
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.empfang-app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.app-badge {
    display: block;
    transition: transform 0.3s ease;
}

.app-badge:hover {
    transform: scale(1.05);
}

.app-badge img {
    height: 50px;
    width: auto;
}

.empfang-app-image {
    text-align: center;
}

.empfang-app-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ==============================================
   FREQUENCIES SECTION
============================================== */
.empfang-frequencies-section {
    padding: 4rem 0;
    background: #f8f8f8;
}

.empfang-frequencies-section .container {
    width: 100%;
    max-width: 1398px;
}

.frequencies-intro {
    color: #666;
    font-size: 1.0625rem;
    margin-bottom: 2.5rem;
    text-align: left;
}

/* Frequency Section Titles with Icons */
.frequency-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #E30917, #C10713);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.frequency-section-title:first-of-type {
    margin-top: 0;
}

.frequency-section-title svg {
    flex-shrink: 0;
    stroke: #E30917;
    -webkit-text-fill-color: #E30917;
}

/* Base Grid für beide */
.frequencies-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .frequencies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* UKW: 3 Spalten auf Desktop */
@media (min-width: 1024px) {
    .frequencies-grid-ukw {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* DAB+: 4 Spalten auf Desktop */
@media (min-width: 1024px) {
    .frequencies-grid-dab {
        grid-template-columns: repeat(4, 1fr);
    }
}

.frequency-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.frequency-card:hover {
    border-color: #E30917;
    box-shadow: 0 4px 16px rgba(225, 7, 23, 0.1);
}

.frequency-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.frequency-title svg {
    color: #E30917;
}

.frequency-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.frequency-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
    color: #666;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.frequency-list li:last-child {
    border-bottom: none;
}

.frequency-list strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* UKW Frequenz Styling */
.freq-location {
    flex: 1;
    color: #1a1a1a;
    font-weight: 500;
}

.freq-value {
    flex-shrink: 0;
    color: #666;
    font-weight: normal;
    text-align: right;
    min-width: 80px;
}

/* ==============================================
   CABLE SECTION
============================================== */
.empfang-cable-section {
    padding: 4rem 0;
}

.cable-list {
    width: 100%;
}

.cable-list ul.frequency-list {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 2rem 2rem 2rem 3rem;
}

@media (max-width: 768px) {
    .cable-list ul.frequency-list {
        columns: 1 !important;
        padding: 1.5rem 1.5rem 1.5rem 2.5rem;
    }
}

/* ==============================================
   SMART SPEAKER SECTION
============================================== */
.empfang-smart-section {
    padding: 4rem 0;
    background: #f8f8f8;
}

.smart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 768px) {
    .smart-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.smart-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.smart-card:hover {
    border-color: #E30917;
    box-shadow: 0 4px 16px rgba(225, 7, 23, 0.1);
    transform: translateY(-4px);
}

.smart-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(225, 7, 23, 0.1), rgba(193, 7, 19, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smart-icon svg {
    color: #E30917;
}

.smart-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.smart-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.voice-command {
    background: linear-gradient(135deg, #E30917, #C10713);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0;
    display: inline-block;
}

.smart-note {
    color: #999;
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* ==============================================
   SONOS SECTION
============================================== */
.empfang-sonos-section {
    padding: 4rem 0;
    background: #ffffff;
}

.sonos-intro {
    margin-bottom: 3rem;
}

.sonos-headline {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #E30917, #C10713);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.sonos-intro p {
    color: #666;
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.sonos-howto {
    background: #f8f8f8;
    border-left: 4px solid #E30917;
    padding: 2rem;
    border-radius: 0.5rem;
}

.sonos-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.sonos-howto p {
    color: #666;
    font-size: 1.0625rem;
    line-height: 1.8;
}

/* ==============================================
   SMART TV SECTION
============================================== */
.empfang-smarttv-section {
    padding: 4rem 0;
}

.smarttv-intro {
    margin-bottom: 3rem;
}

.smarttv-intro p {
    color: #666;
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.smarttv-headline {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #E30917, #C10713);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    line-height: 1.3;
}

.smarttv-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.smarttv-brands {
    background: #f8f8f8;
    padding: 3rem;
    border-radius: 0.75rem;
}

.tv-brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .tv-brands-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .tv-brands-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.tv-brand {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #333;
    transition: all 0.3s ease;
}

.tv-brand:hover {
    border-color: #E30917;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 7, 23, 0.15);
}

.smarttv-note {
    background: #fff;
    border: 2px solid #E30917;
    border-radius: 0.5rem;
    padding: 1.5rem;
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.smarttv-note strong {
    color: #E30917;
    font-weight: 700;
}

/* ==============================================
   TECH INFO SECTION
============================================== */
.empfang-tech-section {
    padding: 4rem 0;
    background: #f8f8f8;
}

.stream-info-content {
    width: 100%;
}

.stream-intro {
    color: #666;
    font-size: 1.0625rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.stream-subtitle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

.stream-description {
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.stream-urls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stream-url-item {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stream-url-item:hover {
    border-color: #E30917;
    box-shadow: 0 4px 16px rgba(225, 7, 23, 0.1);
}

.stream-url-region {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.stream-url-link {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.stream-url-link input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-family: monospace;
    background: #f8f8f8;
    color: #333;
    cursor: pointer;
}

.stream-url-link input:focus {
    outline: none;
    border-color: #E30917;
    background: #ffffff;
}

.copy-btn {
    padding: 0.75rem;
    background: #E30917;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: #C10713;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 7, 23, 0.3);
}

.copy-btn svg {
    display: block;
}

@media (max-width: 640px) {
    .stream-url-link {
        flex-direction: column;
    }
    
    .stream-url-link input {
        width: 100%;
    }
    
    .copy-btn {
        width: 100%;
        padding: 0.875rem;
    }
}

/* ==============================================
   FAQ SECTION
============================================== */
.empfang-faq-section {
    padding: 4rem 0;
}

.faq-accordion {
    width: 100%;
}

.faq-item {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #E30917;
}

.faq-item.active {
    border-color: #E30917;
    box-shadow: 0 4px 16px rgba(225, 7, 23, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: #E30917;
}

.faq-item.active .faq-question {
    color: #E30917;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: #E30917;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: #E30917;
    text-decoration: underline;
}

.faq-answer a:hover {
    color: #C10713;
}

/* ==============================================
   RESPONSIVE
============================================== */
@media (max-width: 768px) {
    .empfang-header {
        padding: 1.5rem 0 2rem;
    }
    
    .empfang-intro {
        font-size: 1rem;
    }
    
    .empfang-grid-section {
        padding: 1.5rem 0 3rem;
    }
    
    .empfang-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .empfang-card {
        padding: 2rem 1.5rem;
    }
    
    .empfang-app-section {
        padding: 3rem 0;
    }
    
    .empfang-app-title {
        font-size: 1.5rem;
    }
    
    .empfang-app-text {
        font-size: 1rem;
    }
    
    .empfang-faq-section {
        padding: 3rem 0;
    }
    
    .empfang-faq-title {
        font-size: 1.5rem;
    }
    
    .empfang-faq-question {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
}
