/**
 * Themenseiten CSS
 * Ergänzungen zu site.min.css für die Themenseiten-Komponenten
 */

/* SVG Icons */
.icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.125em;
    fill: currentColor;
    stroke: currentColor;
    flex-shrink: 0;
}
.icon-sm { width: 0.85em; height: 0.85em; }
.icon-lg { width: 1.5em; height: 1.5em; }
.icon-2x { width: 2em; height: 2em; }
.icon-3x { width: 3em; height: 3em; }

/* Hero Banner */
.themenseite-hero {
    overflow: hidden;
}
.themenseite-hero img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}
.hero-overlay h1 {
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.hero-overlay .lead {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

/* Klimatabelle Farbklassen */
.climate-best {
    background-color: #28a745 !important; /* gruen = beste Reisezeit */
    color: #fff;
}
.climate-good {
    background-color: #8bc34a !important; /* hellgruen = gute Reisezeit */
    color: #fff;
}
.climate-ok {
    background-color: #ffc107 !important; /* gelb = bedingt empfehlenswert */
    color: #333;
}
.climate-bad {
    background-color: #dc3545 !important; /* rot = nicht empfehlenswert */
    color: #fff;
}

/* Überschriften */
h1 {
    font-size: 3rem;
}
.themenseite-hero h1 {
    font-size: 3rem;
}
h2 {
    font-size: 1.8rem;
}
h3 {
    font-size: 1.5rem;
}

/* Swipe-Hinweis Tabelle (mobil) */
.swipe-hint {
    font-size: 0.85rem;
    animation: swipeHintPulse 2s ease-in-out infinite;
}
@keyframes swipeHintPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* RLT CTA Button */
.rlt-cta-btn-primary {
    background-color: #01db22;
    color: #fff;
    text-decoration: none !important;
    display: inline-block;
    padding: .5rem 2rem;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: .55rem;
    border: none;
    text-align: center;
    cursor: pointer;
}
.rlt-cta-btn-primary:hover,
.rlt-cta-btn-primary:focus {
    background-color: #2ae84b;
    color: #fff;
    text-decoration: none !important;
}
.rlt-cta-btn-primary:active {
    background-color: #50f06a;
    color: #fff;
}

/* Breadcrumb Anpassung */
.breadcrumb {
    font-size: 0.85rem;
}
.breadcrumb a {
    color: #349955;
}
.breadcrumb a:hover {
    color: #fff;
}
.breadcrumb .active {
    color: #c8dec5;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: #999;
}

/* CTA Box */
.bg-dark-green .btn-primary {
    border-color: #fff;
}

/* CTA Soft Variant */
.cta-soft {
    background: #f0f7f2;
    border: 1px solid #d4e8d9;
    border-radius: 12px;
    padding: 1.5rem 2rem;
}
.cta-soft p {
    color: #333;
    font-size: 1.05rem;
}

/* CTA Trust Variant */
.cta-trust {
    background: #fff;
    border: 2px solid #024222;
    border-radius: 12px;
    padding: 1.5rem 2rem;
}
.cta-trust .lead {
    color: #024222;
    font-weight: 600;
}

/* Trust Block */
.trust-block {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e0e0e0;
}
.trust-score {
    font-size: 2.2rem;
    font-weight: 700;
    color: #024222;
    display: block;
    line-height: 1;
}
.trust-stars {
    display: block;
    margin: 0.25rem 0;
}
.trust-stars .icon {
    width: 1.1rem;
    height: 1.1rem;
}
.trust-label {
    font-size: 0.8rem;
    color: #666;
}
.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.trust-item-text {
    font-size: 0.9rem;
    color: #333;
    text-align: left;
    line-height: 1.3;
}
.trust-quote {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    text-align: center;
}
.trust-quote blockquote {
    font-style: italic;
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}
.trust-quote cite {
    font-size: 0.8rem;
    color: #888;
    font-style: normal;
}

/* Cluster Cards (Übersichtsseite) */
.cluster-card {
    text-decoration: none !important;
    display: block;
    border-radius: 12px;
    overflow: hidden;
}
.cluster-card-inner {
    height: 320px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.cluster-card:hover .cluster-card-inner {
    transform: scale(1.03);
}
.cluster-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(rgba(2, 66, 34, 0.05) 0%, rgba(2, 66, 34, 0.4) 40%, rgba(2, 66, 34, 0.92) 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    border-radius: 12px;
}
.cluster-card-overlay h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
}
.cluster-card-overlay p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.cluster-card-link {
    color: #01db22;
    font-weight: 500;
    font-size: 1.1rem;
    text-align: right;
    display: block;
}
.cluster-card:hover .cluster-card-link {
    color: #2ae84b;
}

/* Badge Cluster-Zuordnung */
.badge-cluster {
    background-color: #024222;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 400;
    padding: 0.3rem 0.6rem;
    border-radius: 0.3rem;
    align-self: flex-start;
}

/* Card-Bild feste Höhe */
.card-img-fixed {
    height: 200px;
    object-fit: cover;
}

/* Card */
.card {
    border-radius: 12px;
    border-color: #024222;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.card .card-body {
    color: #333;
}
.card-body p {
    margin: 0 0 1.5rem 0;
}
/* RLT Button Primary */
.rlt-btn-primary {
    background-color: #024222;
    border-color: #024222;
    color: #fff;
    text-decoration: none !important;
    display: inline-block;
    padding: .375rem 1rem;
    font-size: 1.2rem;
    line-height: 1.5;
    border-radius: .55rem;
    border: 1px solid;
    text-align: center;
    cursor: pointer;
}
.rlt-btn-primary:hover,
.rlt-btn-primary:focus {
    background-color: #01301a;
    border-color: #01301a;
    color: #fff;
    text-decoration: none;
}
.rlt-btn-primary:active {
    background-color: #012010;
    border-color: #012010;
    color: #fff;
}
.rlt-btn-primary .fa-arrow-right {
    margin-left: .5rem;
}
.rlt-btn-primary.rlt-btn-lg {
    padding: .5rem 2rem;
    font-size: 1.4rem;
    border-radius: .55rem;
}
.card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Fact-Box */
.fact-box {
    background: #f0f7f2;
    border: 1px solid #d4e8d9;
    border-radius: 12px;
    padding: 1.25rem 1rem 0.75rem;
}
.fact-box-heading {
    font-size: 1rem;
    color: #024222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #d4e8d9;
}
.fact-box-item {
    text-align: center;
    padding: 0.5rem 0.75rem 1rem;
}
.fact-box-icon {
    color: #024222;
    margin-bottom: 0.3rem;
}
.fact-box-icon .icon {
    width: 1.3rem;
    height: 1.3rem;
}
.fact-box-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.15rem;
}
.fact-box-value {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.3;
}
@media (max-width: 575.98px) {
    .fact-box-item {
        padding: 0.4rem 0.5rem 0.8rem;
    }
    .fact-box-value {
        font-size: 0.9rem;
    }
}

/* FAQ Accordion */
.accordion .btn-link {
    color: #024222;
    text-decoration: none;
    font-weight: 500;
}
.accordion .btn-link:hover {
    color: #006600;
}
.accordion .btn-link {
    padding-left: 2rem;
    position: relative;
}
.accordion .btn-link .faq-icon {
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -0.5em;
    transition: transform 0.2s ease;
    width: 0.85em;
    height: 0.85em;
}
.accordion .btn-link:not(.collapsed) .faq-icon {
    transform: rotate(90deg);
}
.accordion .card-header {
    background-color: #f8f9fa;
}
