/*
Theme Name: Erotikvergleich Modern
Theme URI: http://erotikvergleich.org
Author: Dein Name
Description: Ein cleanes, schnelles Vergleichsportal-Theme im seriösen Warentest-Look.
Version: 1.6
Text Domain: erotikvergleich
*/

/* ==========================================================================
   1. VARIABLEN & GRUNDLAGEN
   ========================================================================== */
:root {
    --action-color: #F06292;   
    --action-hover: #EC407A;
    --primary-accent: #A01A31; 
    --text-color: #1A1A1A;      
    --text-light: #616161;      
    --bg-body: #FFFFFF;         
    --bg-alt: #F8F9FA;          
    --white: #ffffff;
    --border-radius-lg: 50px;   
    --border-radius-sm: 8px;   
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 40px rgba(240, 98, 146, 0.15); 
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: var(--font-main); -webkit-font-smoothing: antialiased; }
body { background-color: var(--bg-body); color: var(--text-color); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; width: 100%; }
img { max-width: 100%; height: auto; }

/* Buttons */
.btn-action { background-color: var(--action-color); color: var(--white); border: none; padding: 15px 30px; font-size: 1rem; font-weight: 700; border-radius: var(--border-radius-lg); cursor: pointer; transition: all 0.2s ease; text-decoration: none; display: inline-block; text-align: center; }
.btn-action:hover { background-color: var(--action-hover); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline-action { display: inline-block; border: 2px solid var(--action-color); color: var(--action-color); padding: 14px 20px; text-decoration: none; font-weight: 700; border-radius: var(--border-radius-lg); transition: all 0.2s; text-align: center; }
.btn-outline-action:hover { background: var(--action-color); color: var(--white); }

/* ==========================================================================
   2. HEADER & NAVIGATION (Bullet-Fix)
   ========================================================================== */
.site-header { background-color: var(--white); border-bottom: 1px solid #EEEEEE; position: sticky; top: 0; z-index: 100; }
.header-content { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }
.logo img { max-height: 40px; width: auto; display: block; }
.menu-toggle { display: flex; flex-direction: column; justify-content: space-around; height: 24px; width: 30px; background: transparent; border: none; cursor: pointer; padding: 0; z-index: 110; }
.hamburger-line { width: 100%; height: 3px; background-color: var(--text-color); border-radius: 2px; transition: all 0.3s ease; }
.main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--white); box-shadow: 0 10px 20px rgba(0,0,0,0.1); padding: 20px; border-top: 1px solid #EEE; }
.main-nav.is-open { display: block; }
.main-nav ul, .nav-list { display: flex; flex-direction: column; list-style: none !important; list-style-type: none !important; margin: 0 !important; padding: 0 !important; gap: 20px; }
.main-nav li, .nav-list li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.main-nav a { text-decoration: none; color: var(--text-color); font-weight: 600; font-size: 1.1rem; display: block; }
.main-nav a:hover { color: var(--action-color); }

/* ==========================================================================
   3. HERO SEKTION
   ========================================================================== */
.hero { background: linear-gradient(135deg, #FFF1F3 0%, #FFE4E8 100%); padding: 60px 0; text-align: center; position: relative; overflow: hidden; }
.hero h1 { font-size: 2rem; font-weight: 800; margin-bottom: 15px; letter-spacing: -1px; color: var(--text-color); line-height: 1.2; }
.hero p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 30px; }
.search-box { background: var(--white); padding: 8px; border-radius: var(--border-radius-sm); display: flex; flex-direction: column; gap: 10px; max-width: 900px; margin: 0 auto; box-shadow: var(--shadow-md); border: 1px solid #F0F0F0; }
.search-box select, .search-box input { padding: 15px; border: 1px solid #EEE; border-radius: var(--border-radius-sm); font-size: 1rem; color: var(--text-color); background: transparent; outline: none; width: 100%;}

/* ==========================================================================
   4. KATEGORIE-KACHELN
   ========================================================================== */
.categories { padding: 60px 0; background-color: var(--bg-alt); }
.section-title { text-align: center; margin-bottom: 15px; font-size: 2rem; font-weight: 800; letter-spacing: -1px; }
.section-subtitle { text-align: center; color: var(--text-light); margin-bottom: 40px; font-size: 1rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.category-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.category-card { background: var(--white); padding: 30px; border-radius: var(--border-radius-sm); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text-color); transition: all 0.3s ease; border: 1px solid #EEE; display: flex; flex-direction: column; justify-content: space-between; }
.category-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #FFE4E8; }
.category-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.category-card p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.card-link { color: var(--action-color); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* ==========================================================================
   5. VERGLEICHS-LISTEN
   ========================================================================== */
.top-comparison { padding: 60px 0; }
.comparison-item { background: var(--white); display: flex; flex-direction: column; padding: 25px; margin-bottom: 20px; border-radius: var(--border-radius-sm); box-shadow: var(--shadow-sm); border: 1px solid #EEEEEE; transition: box-shadow 0.2s; position: relative; }
.comparison-item:hover { box-shadow: var(--shadow-md); border-color: #F0F0F0; }
.comparison-item.premium { border: 2px solid var(--action-color); }
.premium-badge { position: absolute; top: -12px; left: 20px; background: var(--action-color); color: var(--white); padding: 4px 15px; font-size: 0.75rem; font-weight: 700; border-radius: var(--border-radius-lg); text-transform: uppercase; letter-spacing: 1px; }
.comp-rank { font-size: 1.2rem; font-weight: 700; color: var(--action-color); margin-bottom: 15px; }
.comp-logo { text-align: center; margin-bottom: 15px; }
.comp-details { margin-bottom: 20px; text-align: center; }
.comp-details h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 5px; }
.comp-rating { display: flex; align-items: center; justify-content: center; gap: 5px; color: #FFB300; font-weight: 700; margin-bottom: 15px; font-size: 0.95rem; }
.comp-features { list-style: none; font-size: 0.95rem; color: var(--text-light); text-align: left; }
.comp-features li { margin-bottom: 5px; }
.comp-features li::before { content: "✓"; color: #2E7D32; font-weight: bold; margin-right: 8px; }
.comp-action { text-align: center; width: 100%; }

/* ==========================================================================
   6. SINGLE ANBIETER (Testbericht)
   ========================================================================== */
.page-header-simple { background-color: var(--white); padding: 30px 0 20px 0; border-bottom: 1px solid #EAEAEA; margin-bottom: 30px; }
.breadcrumbs { font-size: 0.85rem; color: var(--text-light); margin-bottom: 15px; }
.breadcrumbs a { color: var(--action-color); text-decoration: none; }
.page-header-simple h1 { font-size: 1.8rem; font-weight: 800; color: var(--text-color); margin-bottom: 10px; line-height: 1.2; }
.subtitle-simple { font-size: 1rem; color: var(--text-light); }
.provider-details { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 60px; }
.review-summary-box { background: var(--white); border: 1px solid #EAEAEA; border-radius: var(--border-radius-sm); padding: 20px; margin-bottom: 30px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow-sm); }
.rsb-logo-area { text-align: center; }
.rsb-logo { max-width: 130px; height: auto; }
.rsb-badge { display: inline-block; background: var(--action-color); color: var(--white); padding: 4px 12px; font-size: 0.75rem; font-weight: bold; border-radius: 4px; margin-top: 10px; text-transform: uppercase; }
.rsb-score-area { text-align: center; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 15px 0; }
.rsb-rating-value { font-size: 2.5rem; font-weight: 800; line-height: 1; color: var(--text-color); }
.rsb-rating-max { font-size: 1rem; color: var(--text-light); }
.rsb-stars { color: #FFB300; font-size: 1.2rem; margin: 5px 0; }
.rsb-meta { font-size: 0.85rem; color: var(--text-light); }
.rsb-action-area { text-align: center; }
.rsb-action-area .btn-action { width: 100%; display: block; padding: 15px; }
.rsb-disclaimer { display: block; font-size: 0.75rem; color: #888; margin-top: 10px; }
.pro-contra-classic { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
.pc-box { background: var(--bg-alt); border: 1px solid #EAEAEA; border-radius: var(--border-radius-sm); padding: 25px; }
.pc-title { font-size: 1.2rem; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #ddd; }
.pc-pro .pc-title { border-color: #4CAF50; color: #2E7D32; }
.pc-contra .pc-title { border-color: #F44336; color: #C62828; }
.pc-list { list-style: none; padding: 0; margin: 0; }
.pc-list li { position: relative; padding-left: 25px; margin-bottom: 10px; line-height: 1.6; color: #444; }
.pc-pro .pc-list li::before { content: "✓"; position: absolute; left: 0; color: #4CAF50; font-weight: bold; }
.pc-contra .pc-list li::before { content: "✕"; position: absolute; left: 0; color: #F44336; font-weight: bold; }
.classic-typography { font-size: 1.05rem; line-height: 1.8; color: #333; }
.classic-typography h2 { font-size: 1.6rem; margin: 40px 0 20px; border-bottom: 1px solid #EEE; padding-bottom: 10px; font-weight: 800;}
.classic-typography h3 { font-size: 1.3rem; margin: 30px 0 15px; font-weight: 700;}
.classic-typography p { margin-bottom: 20px; }
.classic-typography ul { margin-bottom: 20px; padding-left: 20px; }
.sidebar-widget { background: var(--bg-alt); border: 1px solid #EAEAEA; border-radius: var(--border-radius-sm); padding: 25px; position: sticky; top: 100px; }
.widget-title { font-size: 1.2rem; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #DDD; }
.sidebar-fact-list { list-style: none; padding: 0; margin: 0 0 20px 0; }
.sidebar-fact-list li { position: relative; padding-left: 15px; margin-bottom: 10px; font-size: 0.95rem; border-bottom: 1px dashed #DDD; padding-bottom: 10px; }
.sidebar-fact-list li:last-child { border-bottom: none; }
.sidebar-fact-list li::before { content: "•"; position: absolute; left: 0; color: var(--action-color); font-weight: bold; }
.sidebar-btn { display: block; text-align: center; width: 100%; }

/* ==========================================================================
   7. MEDIA & VISUAL BOOST (Videos & Galerien)
   ========================================================================== */
.provider-video-wrapper { max-width: 100%; overflow: hidden; }
.video-responsive { position: relative; padding-bottom: 56.25%; height: 0; width: 100%; max-width: 100%; overflow: hidden; }
.video-responsive iframe, .video-responsive video, .video-responsive object, .video-responsive embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: 100%; border: none; }
.visual-boost img, .visual-boost .wp-block-gallery { border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; border: 1px solid #EAEAEA; max-width: 100%; height: auto;}
.visual-boost img:hover, .visual-boost .wp-block-image img:hover { transform: scale(1.02); box-shadow: 0 12px 30px rgba(0,0,0,0.15); z-index: 2; position: relative; }
.visual-boost figure { margin: 40px 0; max-width: 100%; overflow: hidden;}
.visual-boost figcaption { text-align: center; font-size: 0.85rem; color: #888; margin-top: 10px; }

/* ==========================================================================
   8. TAGS (Schlagwörter)
   ========================================================================== */
.post-tags { margin: 30px 0; padding-top: 20px; border-top: 1px solid #EAEAEA; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.post-tags strong { font-size: 0.95rem; color: var(--text-light); margin-right: 5px; }
.post-tags a { background: var(--bg-alt); color: var(--text-color); padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; text-decoration: none; border: 1px solid #EAEAEA; transition: all 0.2s ease; }
.post-tags a:hover { background: var(--action-color); color: var(--white); border-color: var(--action-color); }

/* ==========================================================================
   9. DESKTOP MEDIA QUERIES (ab 768px)
   ========================================================================== */
@media (min-width: 768px) {
    .header-content { height: 80px; padding: 0; }
    .logo img { max-height: 50px; }
    .menu-toggle { display: none; }
    .main-nav { display: block !important; position: static; width: auto; box-shadow: none; padding: 0; border: none; }
    .main-nav ul, .nav-list { flex-direction: row; gap: 30px; align-items: center; }
    .main-nav a { font-size: 0.95rem; font-weight: 500; padding: 10px 0; position: relative; }
    .hero { padding: 100px 0; }
    .hero h1 { font-size: 3rem; }
    .search-box { flex-direction: row; border-radius: var(--border-radius-lg); padding: 8px; gap: 0;}
    .search-box select, .search-box input { border: none; padding: 18px 25px; }
    .search-box select { flex: 1; border-right: 1px solid #EEEEEE; border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg); }
    .search-box input { flex: 2; border-radius: 0; }
    .category-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
    .comparison-item { flex-direction: row; align-items: center; justify-content: space-between; padding: 30px; }
    .comp-rank { width: 40px; margin-bottom: 0; color: var(--text-light); }
    .comp-logo { flex: 0 0 140px; margin-bottom: 0; }
    .comp-details { flex: 2; padding: 0 40px; margin-bottom: 0; text-align: left; }
    .comp-rating { justify-content: flex-start; }
    .comp-features { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 20px; }
    .comp-action { flex: 0 0 200px; }
}

/* ==========================================================================
   10. DESKTOP LARGE QUERIES (ab 992px)
   ========================================================================== */
@media (min-width: 992px) {
    .page-header-simple { padding: 50px 0 40px 0; }
    .page-header-simple h1 { font-size: 2.5rem; }
    .provider-details { grid-template-columns: 2fr 1fr; align-items: start; }
    .review-summary-box { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px; }
    .rsb-score-area { border: none; border-left: 1px solid #eee; border-right: 1px solid #eee; padding: 0 40px; margin: 0 40px; }
    .rsb-logo-area { flex: 1; text-align: left; }
    .rsb-action-area { flex: 1; }
    .pro-contra-classic { grid-template-columns: 1fr 1fr; }
    .classic-typography h2 { font-size: 2rem; }
}