/* 
 * INSERATGOLD - Classic CSS Stylesheet
 * Elegant Gold & Anthracite Design (Digital Gold Theme)
 * Fully responsive, modern, and clean.
 */

/* --- DESIGN TOKENS (Vorgaben & Variablen) --- */
:root {
    --primary: #d4af37; /* Echtes Gold */
    --primary-hover: #b89328;
    --primary-light: rgba(212, 175, 55, 0.1);
    --bg-dark: #121212; /* Edles Anthrazit */
    --bg-light: #ffffff;
    --bg-card: #1e1e1e;
    --bg-card-light: #f9f9f9;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-muted: #888888;
    --border-color: #2a2a2a;
    --border-color-light: #e5e5e5;
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --- RESET & BASIC STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* --- UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--text-muted); }

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #121212;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #1a1a1a;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color-light);
    color: var(--text-dark);
}

.btn-outline:hover {
    background-color: rgba(0, 0, 0, 0.02);
    border-color: var(--text-dark);
}

/* --- HEADER & NAVIGATION --- */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-b: 1px solid var(--border-color-light);
    border-bottom: 1px solid var(--border-color-light);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: var(--text-dark);
}

.logo span {
    color: var(--primary);
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

nav a:hover {
    color: var(--text-dark);
}

/* --- TOP BANNER --- */
.top-banner {
    background-color: #121212;
    color: #ffffff;
    text-align: center;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* --- HERO SECTION --- */
.hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-col: column;
    flex-direction: column;
    gap: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    width: fit-content;
}

.hero h1 {
    font-size: 54px;
    color: var(--text-dark);
}

.hero h1 span.underline-wavy {
    text-decoration: underline;
    text-decoration-style: wavy;
    text-decoration-color: var(--primary);
    text-underline-offset: 6px;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
}

.hero-btns {
    display: flex;
    gap: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color-light);
}

.stat-item h3 {
    font-size: 32px;
    color: var(--primary);
}

.stat-item p {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 4px;
}

/* --- PREVIEW CARD --- */
.preview-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    position: relative;
}

.preview-card .tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary);
    color: #121212;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 16px;
    border-bottom-left-radius: var(--radius);
    letter-spacing: 0.1em;
}

/* --- VORTEILE SECTION --- */
.vorteile {
    background-color: #121212;
    color: #ffffff;
    padding: 100px 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 64px auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-header h2 {
    font-size: 40px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

.vorteile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.vorteil-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 40px;
    transition: var(--transition);
}

.vorteil-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.vorteil-icon {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--primary);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.vorteil-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.vorteil-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* --- COMPARISON SECTION --- */
.beispiele-section {
    padding: 100px 0;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.tab-btn {
    background-color: #f5f5f5;
    border: 1px solid var(--border-color-light);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background-color: var(--primary);
    color: #121212;
    border-color: var(--primary);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.comp-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.comp-card.premium {
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.05);
}

.comp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.comp-tag {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.05em;
}

.comp-tag.before { background-color: #fee2e2; color: #991b1b; }
.comp-tag.after { background-color: var(--primary-light); color: var(--primary); }

.comp-body {
    border-left: 2px solid var(--border-color-light);
    padding-left: 20px;
    margin-bottom: 24px;
}

.comp-body.premium {
    border-left-color: var(--primary);
}

.comp-body h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.comp-body p {
    font-size: 14px;
    color: var(--text-muted);
}

.comp-body.premium p {
    color: var(--text-dark);
}

.comp-footer {
    border-top: 1px solid var(--border-color-light);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- IMAGE SLIDER --- */
.slider-container {
    max-width: 600px;
    margin: 64px auto 0 auto;
    background-color: #ffffff;
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    cursor: ew-resize;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-img.before {
    z-index: 1;
}

.slider-img.after {
    z-index: 0;
}

/* Spezifische Bildhintergründe für Slider 1 (Kaffee) */
.slider-coffee-before {
    background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310419663029474153/SDHEC9nsNw27STEJ5LQ7Yn/coffee_before-SLDnYqkikFQwNsmMvwyZTu.webp');
}
.slider-coffee-after {
    background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310419663029474153/SDHEC9nsNw27STEJ5LQ7Yn/coffee_after-RtU8FSvD4gbmkdugqiVhUt.webp');
}

/* Spezifische Bildhintergründe für Slider 2 (Sofa) */
.slider-sofa-before {
    background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310419663029474153/SDHEC9nsNw27STEJ5LQ7Yn/sofa_before-mHfgTcHJWM8UM68o5yKdCP.webp');
}
.slider-sofa-after {
    background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310419663029474153/SDHEC9nsNw27STEJ5LQ7Yn/sofa_after-eYkj8oya6im4JPMpjxJyrS.webp');
}

.slider-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--primary);
    z-index: 2;
    cursor: ew-resize;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* --- RECHNER SECTION --- */
.rechner-section {
    background-color: #121212;
    color: #ffffff;
    padding: 100px 0;
}

.rechner-box {
    background-color: #1e1e1e;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.rechner-inputs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.range-slider {
    width: 100%;
    height: 6px;
    background: #333333;
    border-radius: 5px;
    outline: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.rechner-results {
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rechner-results h4 {
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.rechner-results .gain {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
}

/* --- PRICING SECTION --- */
.pricing {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.pricing-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color-light);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    position: relative;
}

.pricing-card.popular .popular-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary);
    color: #121212;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.pricing-card .price {
    font-size: 36px;
    font-weight: 900;
    margin: 24px 0;
}

.pricing-card .price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

.pricing-features {
    list-style: none;
    border-top: 1px solid var(--border-color-light);
    padding-top: 24px;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-features li {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
}

/* --- FAQ SECTION --- */
.faq-section {
    background-color: #121212;
    color: #ffffff;
    padding: 100px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: #1e1e1e;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
    font-size: 14px;
}

/* --- CALL TO ACTION (CTA) --- */
.cta-section {
    padding: 100px 0;
    position: relative;
}

.cta-box {
    background-color: #ffffff;
    border: 1px solid var(--border-color-light);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

/* --- MODAL FORM --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #ffffff;
    border-radius: var(--radius);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 48px rgba(0,0,0,0.15);
    animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-body {
    padding: 24px;
}

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.form-control {
    padding: 12px 16px;
    border: 1px solid var(--border-color-light);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
}

/* --- FOOTER --- */
footer {
    background-color: #121212;
    color: #ffffff;
    padding: 64px 0 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 32px;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 992px) {
    .hero-grid, .rechner-box, .cta-box {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pricing-grid, .vorteile-grid {
        grid-template-columns: 1fr;
    }
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        display: none; /* Einfachheitshalber mobil ausblenden */
    }
    .hero h1 {
        font-size: 38px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
