/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container */
.sb-hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Weiße Box */
.sb-hero {
    background: #fff;
    border-radius: 8px 8px 0 0;
    padding: 1.5rem;
    margin: 0;
}

/* Desktop Layout */
.sb-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Logo */
.sb-hero-logo {
    flex: 0 0 200px;
}

.sb-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Rating */
.sb-hero-rating {
    flex: 0 0 auto;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.sb-rating-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.sb-rating-circle {
    width: 48px;
    height: 48px;
}

.sb-circle-chart {
    width: 100%;
    height: 100%;
}

.sb-circle-bg {
    fill: none;
    stroke: #eee;
    stroke-width: 2.5;
}

.sb-circle-progress {
    fill: none;
    stroke: #ff0707;
    stroke-width: 2.5;
    transition: stroke-dashoffset 0.7s ease;
}

.sb-circle-number {
    font-size: 14px;
    font-weight: 600;
    fill: #333;
    dominant-baseline: central;  /* Vertikale Zentrierung */
    text-anchor: middle;        /* Horizontale Zentrierung */
    alignment-baseline: middle; /* Zusätzliche Zentrierung für bessere Browser-Kompatibilität */
}

/* Bonus */
.sb-hero-bonus {
    flex: 0 0 auto;
    margin: 0 auto;
    text-align: center;
}

.sb-bonus-headline {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 0.25rem;
}

.sb-bonus-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #c00;
    display: block;
}

.sb-bonus-code {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-top: 0.25rem;
}

/* CTA Button */
.sb-hero-button-wrap {
    flex: 0 0 auto;
}

.sb-hero-button {
    background: #b22222;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.sb-hero-button:hover {
    background: #8b0000;
}

/* Info Bereich */
.sb-info-wrapper {
    position: relative;
    background: #333;
    border-radius: 0 0 8px 8px;
    margin-top: -1px;
    margin-bottom: 2rem;
}

/* Details Toggle Button */
.sb-details-toggle {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    background: #333;
    color: #fff;
    border: 1px solid #fff;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 2;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: 140px;
    text-align: center;
}

.sb-details-toggle:hover {
    background: #444;
}

/* Info Box */
.sb-hero-info {
    padding: 2rem 1.5rem 1rem;
    color: #fff;
    display: none;
    font-size: 0.9rem;
    line-height: 1.4;
}

.sb-hero-info.active {
    display: block;
}

/* Terms Links */
.sb-terms-link,
.sb-terms-popup {
    color: #fff;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
    cursor: pointer;
}

.sb-terms-link:hover,
.sb-terms-popup:hover {
    color: #ccc;
}

/* Terms Text */
.sb-terms-text {
    color: #fff;
    font-size: 0.9rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .sb-hero-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .sb-hero-logo {
        width: 160px;
    }

    .sb-hero-button-wrap {
        width: 100%;
        margin-bottom: 4rem;
    }

    .sb-hero-button {
        width: 100%;
    }
    
    .sb-bonus-text {
        font-size: 1.25rem;
    }

    .sb-hero-info {
        padding: 2.5rem 1rem 0.75rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .sb-hero {
        padding: 1rem;
    }

    .sb-hero-content {
        gap: 1rem;
    }
}