/* Einheitliches CSS für Erfahrungsseiten - Schlicht und sauber */
/* Seitenbreite 740px, zentriert, mobile responsive */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Container - 740px zentriert */
.wrap {
    max-width: 740px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

#site-header .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
}

#brand a {
    font-weight: 700;
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

#mainnav a {
    text-decoration: none;
    margin: 0 8px;
    padding: 6px 4px;
    color: #222;
    font-weight: 500;
}

#mainnav a:hover {
    color: #667eea;
}

/* Main Content */
main {
    background: #fff;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

main .wrap {
    padding: 40px 20px;
}

/* Typography - H1 deutlich, H2/H3 abgestuft, Fließtext 17-18px */
h1 {
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 24px 0;
    font-weight: 700;
    color: #1f2937;
}

h2 {
    font-size: 22px;
    line-height: 1.3;
    margin: 24px 0 16px 0;
    font-weight: 600;
    color: #374151;
}

h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 24px 0 12px 0;
    font-weight: 600;
    color: #4b5563;
}

/* Fließtext 17-18px, Line-height 1.6 */
p {
    margin: 24px 0;
    font-size: 17px;
    line-height: 1.6;
    color: #374151;
}

/* Listen mit runden Bullets, einheitliche Einzüge */
ul, ol {
    margin: 24px 0;
    padding-left: 24px;
    font-size: 17px;
    line-height: 1.6;
}

li {
    margin: 8px 0;
    color: #374151;
}

ul li {
    list-style-type: disc;
}

/* Links */
a {
    color: #667eea;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Testsieger-Kachel direkt unter H1 */
.testsieger-card {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin: 24px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}

.testsieger-card .anzeige-label {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 12px;
    color: #6b7280;
    background: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.testsieger-card h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    color: #1f2937;
}

.testsieger-card .btn {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.testsieger-card .btn:hover {
    background: #5a67d8;
    text-decoration: none;
}

/* Info-/Alternativen-Blöcke als dezente Cards */
.warning-box,
.related-box,
.alt-box,
section[aria-label] {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    padding: 16px;
    margin: 24px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.warning-box {
    background: #fef3c7;
    border-color: #f59e0b;
    border-left: 4px solid #f59e0b;
}

.warning-box strong {
    color: #92400e;
}

/* Kommentare */
#comments {
    margin: 40px 0 0 0;
    padding: 24px 0 0 0;
    border-top: 2px solid #e5e7eb;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.comment {
    border: 1px solid #e5e7eb;
    padding: 16px;
    margin: 16px 0;
    border-radius: 8px;
    background: #f9fafb;
}

.comment-form {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin: 24px 0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    margin: 6px 0;
}

.comment-form input[type="submit"] {
    background: #667eea;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.comment-form input[type="submit"]:hover {
    background: #5a67d8;
}

/* Footer */
footer {
    background: #1f2937;
    color: white;
    margin-top: 40px;
    padding: 30px 0 15px;
}

footer .wrap {
    max-width: 740px;
}

footer h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer li {
    margin: 8px 0;
}

footer a {
    color: #d1d5db;
    text-decoration: none;
}

footer a:hover {
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 15px;
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
}

/* Bilder */
img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Mobile Responsive - volle Breite mit angenehmen Seitenabständen */
@media (max-width: 768px) {
    .wrap {
        padding: 0 16px;
    }
    
    main .wrap {
        padding: 30px 16px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 18px;
    }
    
    p, li {
        font-size: 16px;
    }
    
    #site-header .wrap {
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
    }
    
    #mainnav {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Verstecke störende Elemente */
.cta-line,
.space-title-box,
.space-overlay,
.space-header-search,
.desktop-search-button,
.space-mobile-menu-icon {
    display: none !important;
}
