/* ==========================================
   TarifOptimum Modern Design
   Custom CSS for WordPress Page Content
   ========================================== */

/* Main Container */
.site-main {
    margin: 0;
    padding: 0;
}

/* Container */
.to-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================
   Hero Section
   ========================================== */
.to-hero {
    position: relative;
    width: 100%;
    padding-top: 0 !important;
    padding-bottom: 0;
    margin-top: 0 !important;
}

.to-hero-background {
    position: relative;
    width: 100%;
    min-height: 400px;
    background-image: url('https://tarifoptimum.de/wp-content/uploads/2024/11/11074.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    padding: 1.5rem 0;
    display: flex;
    align-items: stretch;
}

.to-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #f7941d 0%, #00ae4d 100%);
    opacity: 0.8;
    z-index: 1;
}

.to-hero-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    max-width: 150px;
    height: auto;
    z-index: 3;
}

.to-hero .to-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    min-height: 100%;
}

.to-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: flex-start;
    padding-top: 2rem;
    margin-bottom: 1rem;
}

.to-hero-title-col {
    padding: 0;
}

.to-hero-main-title {
    font-size: 3.2vw;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
}

.to-hero-benefits-col {
    padding: 0 6% 0 6%;
    margin-top: 25px;
}

.to-hero-subtitle {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    letter-spacing: 0;
}

.to-hero-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.to-hero-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2vw;
    color: #ffffff;
    font-weight: 400;
    position: relative;
    padding-left: 30px;
}

.to-hero-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-size: 20px;
    color: #ffffff;
    font-weight: 700;
}

.to-hero-list svg {
    display: none;
}

/* Partner Logos */
.to-hero-partners {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: auto;
    padding-top: 0.5rem;
    padding-bottom: 0rem;
    border-top: none;
}

.to-hero-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 0 15px;
}

.to-hero-partner-logo img {
    max-height: 60px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
}

.to-hero-partner-logo:first-child img {
    margin-top: 16px;
}

.to-partner-placeholder {
    padding: 1rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    color: #ffffff;
    font-weight: 500;
    text-align: center;
    backdrop-filter: blur(10px);
}

.to-hero-partner-more {
    display: flex;
    align-items: center;
    justify-content: center;
}

.to-hero-partner-more p {
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}

/* Statistics Section */
.to-stats-section {
    padding: 2rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.to-stats-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.to-stat-inline-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.to-stat-icon {
    flex-shrink: 0;
    color: #f7941d;
}

.to-stat-inline-text {
    font-size: 1.5rem;
    color: #666666;
}

.to-stat-inline-text strong {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 2rem;
}

/* ==========================================
   Buttons
   ========================================== */
.to-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    white-space: nowrap;
    text-decoration: none;
}

.to-btn-primary {
    background: linear-gradient(135deg, #f7941d, #00ae4d);
    color: white;
}

.to-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.to-btn-secondary {
    background-color: white;
    color: #1a1a1a;
    border-color: #e5e7eb;
}

.to-btn-secondary:hover {
    border-color: #f7941d;
    color: #f7941d;
}

.to-btn-white {
    background-color: white;
    color: #1a1a1a;
}

.to-btn-white:hover {
    background-color: #f8f9fa;
}

.to-btn-outline {
    background-color: transparent;
    color: white;
    border-color: white;
}

.to-btn-outline:hover {
    background-color: white;
    color: #1a1a1a;
}

.to-btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
}

.to-btn-full {
    width: 100%;
}

/* ==========================================
   Calculator Form
   ========================================== */
.to-calculator-box {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1);
}

.to-calculator-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background-color: #f8f9fa;
    padding: 0.25rem;
    border-radius: 0.75rem;
}

.to-tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    background-color: transparent;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: #666666;
    cursor: pointer;
    transition: all 0.2s ease;
}

.to-tab-btn svg {
    width: 20px;
    height: 20px;
}

.to-tab-btn.active {
    background: linear-gradient(135deg, #f7941d, #00ae4d);
    color: white;
}

.to-tab-btn:hover:not(.active) {
    background-color: #e5e7eb;
}

.to-calculator-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.to-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.to-form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1a1a1a;
}

.to-form-group input,
.to-form-group select {
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: all 0.2s ease;
    background-color: white;
}

.to-form-group input:focus,
.to-form-group select:focus {
    outline: none;
    border-color: #f7941d;
    box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.1);
}

.to-form-group input::placeholder {
    color: #9ca3af;
}

.to-form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23666666'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

/* ==========================================
   Trust Section
   ========================================== */
.to-trust-section {
    padding: 2rem 0;
    background-color: white;
    border-bottom: 1px solid #e5e7eb;
}

.to-trust-label {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.to-trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.to-trust-logo {
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    font-weight: 500;
    color: #666666;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.to-trust-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.partner-logo-img {
    max-height: 60px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* ==========================================
   Section Headers
   ========================================== */
.to-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.to-section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.to-section-subtitle {
    font-size: 1.125rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   Benefits Section
   ========================================== */
.to-benefits {
    padding: 4rem 0;
    background-color: white;
}

.to-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.to-benefit-card {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.to-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.to-benefit-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7941d, #00ae4d);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.to-benefit-icon svg {
    color: white;
}

.to-benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.to-benefit-text {
    color: #666666;
    line-height: 1.7;
}

/* ==========================================
   How It Works Section
   ========================================== */
.to-how-it-works {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff5eb 0%, #e8f8f0 100%);
}

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

.to-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.to-step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7941d, #00ae4d);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
}

.to-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.to-step-text {
    color: #666666;
    line-height: 1.7;
}

.to-cta-center {
    text-align: center;
}

/* ==========================================
   CTA Section
   ========================================== */
.to-cta-section {
    padding: 4rem 0;
    background-color: white;
}

.to-cta-box {
    padding: 3rem;
    background: linear-gradient(135deg, #f7941d, #00ae4d);
    border-radius: 1rem;
    text-align: center;
}

.to-cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.to-cta-text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.to-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================
   Stats Footer Section
   ========================================== */
.to-stats-footer {
    padding: 2.5rem 0;
    background-color: #1a1a1a;
}

.to-stats-footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.to-stat-item {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

.to-stat-item strong {
    color: #f7941d;
    font-weight: 700;
    margin-right: 0.25rem;
}

/* ==========================================
   Contact Form Section
   ========================================== */
.to-contact-section {
    padding: 0;
    background-color: white;
    position: relative;
}

.to-contact-section-bg {
    background-image: url('../images/callcenter.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 3rem 0;
    position: relative;
    min-height: 400px;
}

.to-contact-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #f7941d 0%, #00ae4d 100%);
    opacity: 0.8;
    z-index: 1;
}

.to-contact-section .to-container {
    position: relative;
    z-index: 2;
}

.to-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: auto;
}

.to-contact-left {
    min-height: 400px;
}

.to-contact-right {
    max-width: 600px;
    justify-self: end;
}

.to-contact-form-container {
    max-width: 100%;
    margin: 0;
}

.to-contact-section .to-section-header {
    text-align: left;
    margin-bottom: 0rem;
}

.to-contact-section .to-section-title {
    color: #ffffff;
}

.to-contact-section .to-section-subtitle {
    color: rgba(255, 255, 255, 0.95);
}

.to-contact-form {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.to-contact-form .to-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.to-contact-form .to-form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    color: #ffffff;
}

.to-contact-form .to-form-group input {
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    transition: all 0.2s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.to-contact-form .to-form-group input:focus {
    outline: none;
    border-color: #f7941d;
    box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.2);
    background-color: white;
}

.to-contact-form .to-form-group input::placeholder {
    color: #9ca3af;
}

.to-contact-form button[type="submit"] {
    margin-top: 0.5rem;
}

.to-form-group-checkbox {
    display: flex;
    align-items: flex-start;
}

.to-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.to-checkbox-input {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: #f7941d;
}

.to-checkbox-text {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.5;
}

.to-checkbox-text .to-link {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.to-checkbox-text .to-link:hover {
    opacity: 0.8;
}

/* ==========================================
   Brochure Download Section
   ========================================== */
.to-brochure-section {
    padding: 1.5rem 0;
    background-color: #f8f9fa;
}

.to-brochure-box {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #fff5eb 0%, #e8f8f0 100%);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.to-brochure-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.to-brochure-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
}

.to-brochure-button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.to-brochure-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    text-align: center;
}

.to-brochure-box h3,
.to-brochure-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.to-brochure-box p {
    color: #666666;
    margin: 0;
    line-height: 1.7;
}

/* ==========================================
   Benefits Grid Section
   ========================================== */
.to-benefits-grid-section {
    padding: 4rem 0;
    background-color: white;
}

.to-benefits-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.to-benefit-grid-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.to-benefit-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgb(0 0 0 / 0.1);
}

.to-benefit-grid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #f7941d, #00ae4d);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.to-benefit-grid-card:hover::before {
    opacity: 1;
}

.to-benefit-grid-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7941d, #00ae4d);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1.25rem;
}

.to-benefit-grid-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.to-benefit-grid-question {
    font-size: 14px;
    font-weight: 600;
    color: #666666;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.to-benefit-grid-text {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
}

.to-benefit-grid-text strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* ==========================================
   Benefit Detail Sections (Full-Width with Images)
   ========================================== */
.to-benefit-detail {
    padding: 4rem 0;
    background-color: white;
}

.to-benefit-detail:nth-of-type(even) {
    background-color: #f8f9fa;
}

.to-benefit-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.to-benefit-detail-reverse .to-benefit-detail-grid {
    grid-template-columns: 1fr 1fr;
}

.to-benefit-detail-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.to-benefit-detail-number {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #f7941d, #00ae4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.to-benefit-detail-question {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.to-benefit-detail-text {
    font-size: 1.0625rem;
    color: #666666;
    line-height: 1.8;
}

.to-benefit-detail-text strong {
    color: #1a1a1a;
    font-weight: 700;
}

.to-benefit-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.to-benefit-detail-image img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 1rem;
}

.to-image-placeholder {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #fff5eb 0%, #e8f8f0 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.to-image-placeholder::before {
    content: 'Bild wird hinzugefügt';
}

/* ==========================================
   Vorteile Featured Section
   ========================================== */
.to-vorteile-featured {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff5eb 0%, #e8f8f0 100%);
}

.to-vorteile-featured-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 3rem;
    align-items: center;
}

.to-vorteile-featured-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.to-vorteile-featured-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 1rem;
    object-fit: contain;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.to-vorteile-featured-text {
    font-size: 1.0625rem;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.to-quote {
    padding: 2.5rem;
    background-color: white;
    border-left: 4px solid #f7941d;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #1a1a1a;
    font-style: italic;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.to-quote strong {
    color: #00ae4d;
    font-weight: 700;
}

/* ==========================================
   Testimonials Section
   ========================================== */
.to-testimonials {
    padding: 4rem 0;
    background-color: white;
}

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

.to-testimonial-card {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.to-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.to-testimonial-card p,
.to-testimonial-text {
    color: #666666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.to-testimonial-card .to-testimonial-author,
.to-testimonial-author {
    font-weight: 700;
    color: #1a1a1a;
    font-style: normal;
    margin-bottom: 0;
}

/* ==========================================
   How It Works - Additional Benefits
   ========================================== */
.to-how-benefits {
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
    margin-top: 2rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.to-how-benefits h3,
.to-how-benefits-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    text-align: center;
}

.to-how-benefits-text {
    color: #666666;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

.to-how-benefits-closing {
    color: #666666;
    line-height: 1.7;
    margin-top: 2rem;
    text-align: center;
}

.to-how-benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.to-how-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    color: #666666;
    line-height: 1.7;
}

.to-how-benefits-list svg {
    flex-shrink: 0;
    color: #00ae4d;
    margin-top: 0.25rem;
}

/* ==========================================
   FAQ Section
   ========================================== */
.to-faq {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.to-faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.to-faq-item {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgb(0 0 0 / 0.05);
    transition: box-shadow 0.2s ease;
}

.to-faq-item:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.to-faq-item[open] {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.to-faq-question {
    padding: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: background-color 0.2s ease;
}

.to-faq-question::-webkit-details-marker {
    display: none;
}

.to-faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 700;
    color: #f7941d;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.to-faq-item[open] .to-faq-question::after {
    content: '−';
}

.to-faq-question:hover {
    background-color: #f8f9fa;
}

.to-faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #666666;
    line-height: 1.8;
}

.to-faq-answer p {
    margin-bottom: 0.75rem;
}

.to-faq-answer strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* ==========================================
   Savings Section
   ========================================== */
.to-savings {
    padding: 4rem 0;
    background-color: white;
}

.to-savings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.to-savings-card {
    padding: 2.5rem 2rem;
    background-color: #f8f9fa;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.to-savings-card-featured {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #f7941d, #00ae4d);
    border-radius: 1rem;
    text-align: center;
    color: white;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    transform: scale(1.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.to-savings-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

.to-savings-card-featured:hover {
    transform: scale(1.08) translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.15);
}

.to-savings-card h3,
.to-savings-card-featured h3,
.to-savings-card h2,
.to-savings-card-featured h2,
.to-savings-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.to-savings-card h3,
.to-savings-card h2 {
    color: #1a1a1a;
}

.to-savings-card-featured h3,
.to-savings-card-featured h2 {
    color: white;
}

.to-savings-note {
    text-align: center;
    font-size: 0.875rem;
    color: #666666;
    margin-top: 2rem;
}

.to-savings-card .to-savings-amount,
.to-savings-card-featured .to-savings-amount {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.to-savings-card .to-savings-amount span,
.to-savings-card-featured .to-savings-amount span {
    font-size: 2.5rem;
    font-weight: 800;
    display: inline-block;
}

.to-savings-card:not(.to-savings-card-featured) .to-savings-amount span {
    background: linear-gradient(135deg, #f7941d, #00ae4d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.to-savings-card-featured .to-savings-amount {
    color: white !important;
}

.to-savings-card-featured .to-savings-amount span {
    color: white !important;
}

.to-savings-card .to-savings-period,
.to-savings-card-featured .to-savings-period {
    font-size: 0.9375rem;
    font-weight: 500;
}

.to-savings-card .to-savings-period {
    color: #666666;
}

.to-savings-card-featured .to-savings-period {
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================
   Contact Success Message
   ========================================== */
.to-contact-success {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.to-contact-success .to-section-header {
    margin-bottom: 2rem;
}

.to-contact-success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7941d, #00ae4d);
    display: flex;
    align-items: center;
    justify-content: center;
}

.to-contact-success-icon svg {
    color: white;
}

/* ==========================================
   Legal Pages (Datenschutz, Impressum)
   ========================================== */
.to-legal-section {
    padding: 4rem 0;
    background-color: white;
    min-height: 70vh;
}

.to-legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.to-legal-content h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.to-legal-intro {
    font-size: 1.125rem;
    color: #666666;
    line-height: 1.8;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-left: 4px solid #f7941d;
    border-radius: 0.5rem;
}

.to-legal-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e5e7eb;
}

.to-legal-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.to-legal-content p {
    color: #666666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.to-legal-content ul {
    margin: 1rem 0 1.5rem 2rem;
    line-height: 1.8;
}

.to-legal-content li {
    color: #666666;
    margin-bottom: 0.5rem;
}

.to-legal-content a {
    color: #f7941d;
    text-decoration: underline;
    font-weight: 600;
}

.to-legal-content a:hover {
    color: #00ae4d;
}

.to-legal-content strong {
    color: #1a1a1a;
    font-weight: 700;
}

.to-legal-updated {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
    font-size: 0.875rem;
    color: #999999;
    font-style: italic;
}

/* ==========================================
   Login Page Section
   ========================================== */
.to-login-section {
    padding: 0;
    background-color: white;
    margin: 0;
    width: 100%;
    height: 100vh;
}

.to-login-iframe-container {
    width: 100%;
    height: 100vh;
    padding: 0;
    margin: 0;
}

.to-login-iframe {
    width: 100%;
    height: 100vh;
    border: none;
    display: block;
}

.to-login-notice {
    background-color: #fff5eb;
    border-left: 4px solid #f7941d;
    padding: 1.5rem;
    border-radius: 0.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.to-login-notice p {
    color: #666666;
    line-height: 1.7;
    margin: 0;
}

.to-login-notice strong {
    color: #1a1a1a;
    font-weight: 700;
}

.to-login-notice a {
    color: #f7941d;
    text-decoration: underline;
    font-weight: 600;
}

.to-login-notice a:hover {
    color: #00ae4d;
}

/* ==========================================
   Partner Page
   ========================================== */
.to-partner-page {
    padding: 4rem 0;
    background-color: white;
    min-height: 70vh;
}

.to-partner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.to-partner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 4rem;
}

.to-partner-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.to-partner-benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.to-partner-benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7941d, #00ae4d);
    border-radius: 50%;
    color: white;
}

.to-partner-benefit-text h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.to-partner-benefit-text p {
    color: #666666;
    line-height: 1.7;
    margin: 0;
}

.to-partner-form-container {
    position: sticky;
    top: 100px;
}

.to-partner-form {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.to-partner-form .to-checkbox-text {
    color: #666666;
}

.to-partner-form .to-checkbox-text .to-link {
    color: #f7941d;
    text-decoration: underline;
    font-weight: 600;
}

.to-partner-form .to-checkbox-text .to-link:hover {
    color: #00ae4d;
}

.to-partner-success {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    text-align: center;
}

.to-partner-success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7941d, #00ae4d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.to-partner-info {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #fff5eb 0%, #e8f8f0 100%);
    border-radius: 1rem;
}

.to-partner-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.to-partner-step {
    text-align: center;
}

.to-partner-step-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f7941d, #00ae4d);
    color: white;
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 800;
}

.to-partner-step h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.to-partner-step p {
    color: #666666;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 768px) {
    /* Container */
    .to-container {
        padding: 0 1rem;
    }

    /* Hero */
    .to-hero-background {
        min-height: 500px;
        padding: 2rem 0;
        background-attachment: scroll;
    }

    .to-hero-badge {
        top: 1rem;
        right: 1rem;
        max-width: 100px;
    }

    .to-hero .to-container {
        min-height: 100%;
    }

    .to-hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 0;
        padding-top: 2rem;
    }

    .to-hero-title-col {
        padding: 0;
        text-align: center;
    }

    .to-hero-benefits-col {
        padding: 0;
        margin-top: 0;
    }

    .to-hero-main-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1rem;
    }

    .to-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .to-hero-list {
        gap: 1rem;
    }

    .to-hero-list li {
        font-size: 0.9375rem;
        padding-left: 25px;
    }

    .to-hero-list li::before {
        font-size: 16px;
    }

    .to-hero-partners {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: auto;
        padding-top: 1.5rem;
        padding-bottom: 0.75rem;
    }

    .to-hero-partner-logo {
        min-height: 50px;
        padding: 0 10px;
    }

    .to-hero-partner-logo img {
        max-height: 40px;
    }

    .to-hero-partner-more p {
        font-size: 1rem;
    }

    /* Stats */
    .to-stats-section {
        padding: 1.5rem 0;
    }

    .to-stats-inline {
        gap: 1.5rem;
        flex-direction: column;
    }

    .to-stat-inline-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .to-stat-inline-text {
        font-size: 1rem;
    }

    /* Sections */
    .to-benefits,
    .to-how-it-works,
    .to-cta-section,
    .to-testimonials,
    .to-savings,
    .to-faq,
    .to-vorteile-featured {
        padding: 2.5rem 0;
    }

    .to-section-header {
        margin-bottom: 2rem;
    }

    .to-section-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .to-section-subtitle {
        font-size: 1rem;
    }

    .to-calculator-box {
        padding: 1.5rem;
    }

    .to-tab-btn {
        font-size: 0.8125rem;
        padding: 0.75rem 0.5rem;
        gap: 0.25rem;
    }

    .to-tab-btn svg {
        width: 16px;
        height: 16px;
    }

    /* Benefits */
    .to-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .to-benefit-card {
        padding: 1.5rem;
    }

    .to-benefit-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }

    .to-benefit-title {
        font-size: 1.125rem;
    }

    /* Benefits Grid */
    .to-benefits-grid-section {
        padding: 2.5rem 0;
    }

    .to-benefits-grid-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .to-benefit-grid-card {
        padding: 1.5rem;
    }

    .to-benefit-grid-number {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .to-benefit-grid-title {
        font-size: 1.125rem;
    }

    /* Testimonials */
    .to-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .to-testimonial-card {
        padding: 1.5rem;
    }

    /* Savings */
    .to-savings-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .to-savings-card,
    .to-savings-card-featured {
        padding: 2rem 1.5rem;
        transform: none;
    }

    .to-savings-card:hover,
    .to-savings-card-featured:hover {
        transform: translateY(-2px);
    }

    .to-savings-card .to-savings-amount,
    .to-savings-card-featured .to-savings-amount {
        font-size: 1rem;
    }

    .to-savings-card .to-savings-amount span,
    .to-savings-card-featured .to-savings-amount span {
        font-size: 2rem;
    }

    /* Steps */
    .to-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .to-step {
        gap: 1rem;
    }

    .to-step-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .to-step-title {
        font-size: 1.125rem;
    }

    .to-how-benefits {
        padding: 1.5rem;
    }

    .to-how-benefits-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* CTA */
    .to-cta-box {
        padding: 2rem 1.5rem;
    }

    .to-cta-title {
        font-size: 1.5rem;
    }

    .to-cta-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .to-cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .to-cta-buttons .to-btn {
        width: 100%;
    }

    /* Stats Footer */
    .to-stats-footer {
        padding: 2rem 0;
    }

    .to-stats-footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* FAQ */
    .to-faq-question {
        padding: 1rem;
        font-size: 0.9375rem;
    }

    .to-faq-answer {
        padding: 0 1rem 1rem;
        font-size: 0.9375rem;
    }

    /* Contact Form */
    .to-contact-section-bg {
        padding: 2.5rem 0;
        background-position: center;
        min-height: auto;
    }

    .to-contact-grid {
        grid-template-columns: 1fr;
        gap: 0;
        min-height: auto;
    }

    .to-contact-left {
        display: none;
    }

    .to-contact-right {
        max-width: 100%;
        justify-self: center;
    }

    .to-contact-form {
        padding: 2rem;
    }

    /* Brochure */
    .to-brochure-section {
        padding: 1rem 0;
    }

    .to-brochure-box {
        padding: 1.5rem;
        gap: 1rem;
        flex-direction: column;
    }

    .to-brochure-box h3,
    .to-brochure-title {
        font-size: 1.25rem;
        margin-bottom: 0;
    }

    .to-brochure-box p {
        margin-bottom: 0;
    }

    /* Quote */
    .to-quote {
        padding: 1.5rem;
        font-size: 1rem;
    }

    /* Vorteile Featured */
    .to-vorteile-featured-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .to-vorteile-featured-content {
        gap: 1.5rem;
    }

    .to-vorteile-featured-text {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .to-vorteile-featured-image {
        text-align: center;
    }

    .to-vorteile-featured-image img {
        max-width: 100%;
    }

    /* Benefit Detail Sections */
    .to-benefit-detail {
        padding: 2.5rem 0;
    }

    .to-benefit-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .to-benefit-detail-reverse .to-benefit-detail-grid {
        grid-template-columns: 1fr;
    }

    .to-benefit-detail-number {
        font-size: 1.5rem;
    }

    .to-benefit-detail-question {
        font-size: 1.125rem;
    }

    .to-benefit-detail-text {
        font-size: 1rem;
    }

    .to-benefit-detail-image img {
        height: 100px;
    }

    .to-image-placeholder {
        height: 100px;
    }

    /* Partner Page */
    .to-partner-page {
        padding: 2.5rem 0;
    }

    .to-partner-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .to-partner-form-container {
        position: relative;
        top: 0;
    }

    .to-partner-form {
        padding: 2rem;
    }

    .to-partner-info {
        padding: 2rem;
    }

    .to-partner-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .to-benefits-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    /* Hero */
    .to-hero-background {
        min-height: 450px;
        padding: 1.5rem 0;
    }

    .to-hero-badge {
        top: 6.5rem;
        right: 0.5rem;
        max-width: 80px;
    }

    .to-hero-grid {
        padding-top: 1.5rem;
    }

    .to-hero-main-title {
        font-size: 1.75rem;
    }

    .to-hero-subtitle {
        font-size: 0.9375rem;
    }

    .to-hero-list li {
        font-size: 0.875rem;
    }

    .to-hero-partners {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: auto;
        padding-top: 1rem;
        padding-bottom: 0.5rem;
    }

    .to-hero-partner-logo img {
        max-height: 35px;
    }

    /* Sections */
    .to-benefits,
    .to-how-it-works,
    .to-cta-section,
    .to-testimonials,
    .to-savings,
    .to-faq,
    .to-vorteile-featured,
    .to-benefit-detail {
        padding: 2rem 0;
    }

    .to-section-title {
        font-size: 1.5rem;
    }

    .to-section-subtitle {
        font-size: 0.9375rem;
    }

    /* Trust Logos */
    .to-trust-logos {
        gap: 0.75rem;
    }

    .to-trust-logo {
        padding: 0.75rem 1rem;
        min-height: 60px;
    }

    /* Calculator */
    .to-calculator-box {
        padding: 1rem;
    }

    .to-tab-btn {
        font-size: 0.75rem;
        padding: 0.625rem 0.375rem;
    }

    /* Buttons */
    .to-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .to-btn-large {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }

    /* Benefits */
    .to-benefit-card {
        padding: 1.25rem;
    }

    .to-benefit-icon {
        width: 48px;
        height: 48px;
    }

    /* Savings */
    .to-savings-card,
    .to-savings-card-featured {
        padding: 1.5rem 1.25rem;
    }

    .to-savings-card .to-savings-amount,
    .to-savings-card-featured .to-savings-amount {
        font-size: 0.9375rem;
    }

    .to-savings-card .to-savings-amount span,
    .to-savings-card-featured .to-savings-amount span {
        font-size: 1.75rem;
    }

    .to-savings-card h3,
    .to-savings-card-featured h3 {
        font-size: 1.125rem;
    }

    /* Steps */
    .to-step-number {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }

    .to-step-title {
        font-size: 1rem;
    }

    /* CTA */
    .to-cta-box {
        padding: 1.5rem 1.25rem;
    }

    .to-cta-title {
        font-size: 1.375rem;
    }

    /* Contact Form */
    .to-contact-section-bg {
        padding: 2rem 0;
        min-height: auto;
    }

    .to-contact-form {
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.25);
    }

    /* Brochure */
    .to-brochure-box {
        padding: 1.25rem;
        gap: 0.75rem;
        flex-direction: column;
    }

    .to-brochure-box h3,
    .to-brochure-title {
        font-size: 1.125rem;
    }

    /* Quote */
    .to-quote {
        padding: 1.25rem;
        font-size: 0.9375rem;
    }

    /* Image Placeholder */
    .to-benefit-detail-image img {
        height: 80px;
    }

    .to-image-placeholder {
        height: 80px;
        font-size: 0.875rem;
    }
}
