/* exam.css — online-hunde.schule · Darling Dogs */
:root { --blue: #1a4d8f; --green: #059669; --red: #dc2626; --gray: #64748b; --light: #f8fafc; }

.ex-center { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 80vh; }
.ex-card { max-width: 480px; width: 100%; margin: 0 auto; padding: 40px 32px; background: #fff; border-radius: 16px; box-shadow: 0 4px 24px rgba(0,0,0,0.08); text-align: center; }
.ex-card h1 { font-size: 24px; color: #1e293b; margin: 0 0 4px; }
.ex-logo { font-size: 48px; margin-bottom: 16px; }
.ex-sub { color: var(--gray); font-size: 14px; margin: 4px 0 24px; }
.ex-form { display: flex; flex-direction: column; gap: 12px; text-align: left; }
.ex-input { padding: 12px 16px; border: 2px solid #e2e8f0; border-radius: 10px; font-size: 15px; outline: none; transition: border 0.2s; }
.ex-input:focus { border-color: var(--blue); }
.ex-label { font-size: 12px; color: var(--gray); margin-top: -8px; }
.ex-btn { padding: 12px 24px; border: none; border-radius: 10px; font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.ex-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.ex-btn-primary { background: var(--blue); color: #fff; }
.ex-btn-primary:hover:not(:disabled) { background: #15407a; }
.ex-btn-secondary { background: #e2e8f0; color: #334155; }
.ex-btn-secondary:hover:not(:disabled) { background: #cbd5e1; }
.ex-btn-success { background: var(--green); color: #fff; }
.ex-btn-success:hover { background: #047857; }
.ex-link { text-align: center; font-size: 14px; color: var(--gray); }
.ex-link a { color: var(--blue); text-decoration: none; }
.ex-error { background: #fef2f2; color: var(--red); padding: 12px; border-radius: 8px; font-size: 14px; margin-top: 12px; }
.ex-info-box { background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 12px; padding: 20px; text-align: left; margin: 20px 0; font-size: 14px; line-height: 1.8; }

/* EXAM */
.ex-exam { max-width: 768px; margin: 0 auto; padding: 0 16px; }
.ex-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; background: var(--light); z-index: 10; }
.ex-brand { font-weight: 700; color: #1e293b; font-size: 14px; }
.ex-timer { font-family: monospace; font-size: 20px; font-weight: 700; background: #f1f5f9; padding: 6px 14px; border-radius: 8px; }
.ex-timer.warn { background: #fef2f2; color: var(--red); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: 0.7; } }
.ex-count { font-size: 13px; color: var(--gray); }

.ex-dots { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 16px 0; }
.ex-dot { width: 32px; height: 32px; border-radius: 8px; border: none; font-size: 12px; font-weight: 700; cursor: pointer; background: #e2e8f0; color: #94a3b8; transition: all 0.15s; }
.ex-dot.done { background: var(--blue); color: #fff; }
.ex-dot.active { box-shadow: 0 0 0 3px var(--blue); }

.ex-question-card { background: #fff; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); padding: 24px; margin-bottom: 16px; }
.ex-q-header { display: flex; justify-content: space-between; margin-bottom: 16px; }
.ex-q-nr { font-weight: 700; color: #1e293b; }
.ex-q-type { font-size: 12px; background: #f1f5f9; color: var(--gray); padding: 4px 10px; border-radius: 6px; }
.ex-q-text { font-size: 16px; line-height: 1.6; color: #334155; margin-bottom: 20px; }

.ex-options { display: flex; flex-direction: column; gap: 10px; }
.ex-option { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 2px solid #e2e8f0; border-radius: 10px; background: #fff; cursor: pointer; text-align: left; font-size: 14px; line-height: 1.5; transition: all 0.15s; }
.ex-option:hover { border-color: #cbd5e1; }
.ex-option.selected { border-color: var(--blue); background: #eff6ff; }

.ex-radio, .ex-check { width: 20px; height: 20px; border: 2px solid #cbd5e1; flex-shrink: 0; margin-top: 1px; display: flex; align-items: center; justify-content: center; }
.ex-radio { border-radius: 50%; }
.ex-check { border-radius: 4px; }
.ex-radio.checked, .ex-check.checked { border-color: var(--blue); background: var(--blue); }
.ex-radio.checked::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.ex-check.checked::after { content: '✓'; color: #fff; font-size: 13px; font-weight: 700; }

.ex-nav { display: flex; justify-content: space-between; padding: 8px 0 24px; }
.ex-warn { text-align: center; color: #d97706; font-size: 14px; }

/* RESULT */
.ex-pass { color: var(--green); }
.ex-fail { color: var(--red); }
.ex-score { font-size: 20px; color: #1e293b; margin: 8px 0 16px; }
.ex-bar { width: 100%; height: 16px; background: #e2e8f0; border-radius: 8px; overflow: hidden; }
.ex-bar-fill { height: 100%; border-radius: 8px; transition: width 0.5s; }
.ex-bar-fill.pass { background: var(--green); }
.ex-bar-fill.fail { background: var(--red); }
.ex-message { margin-top: 16px; padding: 16px; border-radius: 10px; font-size: 14px; line-height: 1.6; }

/* RESPONSIVE */
@media (max-width: 600px) {
    .ex-card { padding: 24px 20px; margin: 16px; }
    .ex-question-card { padding: 16px; }
    .ex-dot { width: 28px; height: 28px; font-size: 11px; }
    .ex-products { grid-template-columns: 1fr; }
}

/* LANDING PAGE */
.landing { background: #fff; }

.hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a4d8f 100%); color: #fff; padding: 60px 24px 80px; text-align: center; position: relative; overflow: hidden; }
.hero-inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.hero-visual { position: absolute; right: -20px; bottom: -20px; font-size: 200px; opacity: 0.06; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); padding: 6px 16px; border-radius: 20px; font-size: 12px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 24px; }
.hero-title { font-size: 42px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.hero-accent { color: #60a5fa; }
.hero-sub { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.8); margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.ex-btn-hero { background: linear-gradient(135deg, #3b82f6, #2563eb); color: #fff; padding: 16px 32px; font-size: 17px; border-radius: 12px; border: none; font-weight: 700; cursor: pointer; box-shadow: 0 4px 20px rgba(37,99,235,0.4); transition: all 0.2s; }
.ex-btn-hero:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,99,235,0.5); }
.hero-price { color: rgba(255,255,255,0.6); font-size: 14px; }
.hero-trust { margin-top: 32px; font-size: 13px; color: rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; gap: 8px; }

/* USPs */
.usp-section { padding: 60px 24px; max-width: 900px; margin: 0 auto; }
.section-title { text-align: center; font-size: 28px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--gray); margin-bottom: 32px; }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 32px; }
.usp-card { background: #f8fafc; border-radius: 16px; padding: 28px 24px; text-align: center; transition: all 0.2s; }
.usp-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.usp-icon { font-size: 36px; display: block; margin-bottom: 12px; }
.usp-card h3 { font-size: 16px; margin-bottom: 8px; color: #0f172a; }
.usp-card p { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* VERGLEICH */
.compare-section { padding: 60px 24px; background: #f8fafc; }
.compare-table { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 700px; margin: 32px auto 0; }
.compare-col { border-radius: 16px; padding: 24px; }
.compare-other { background: #fff; border: 1px solid #e2e8f0; }
.compare-us { background: #eff6ff; border: 2px solid #3b82f6; }
.compare-header { font-weight: 700; font-size: 15px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #e2e8f0; }
.compare-item { font-size: 13px; padding: 8px 0; line-height: 1.5; }
.compare-item.bad { color: #94a3b8; }
.compare-item.good { color: #1e40af; font-weight: 500; }

/* PRICING */
.pricing-section { padding: 60px 24px; max-width: 900px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 32px; }
.price-card { background: #fff; border: 2px solid #e2e8f0; border-radius: 16px; padding: 28px 24px; position: relative; transition: all 0.2s; }
.price-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.price-card.featured { border-color: #3b82f6; background: #eff6ff; }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #3b82f6; color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.price-card h3 { font-size: 18px; margin-bottom: 8px; color: #0f172a; }
.price-desc { font-size: 13px; color: var(--gray); line-height: 1.5; margin-bottom: 16px; }
.price-amount { font-size: 32px; font-weight: 800; color: var(--blue); margin-bottom: 4px; }
.price-save { font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: 16px; }

/* ABOUT */
.about-section { padding: 60px 24px; background: #0f172a; color: #fff; }
.about-inner { max-width: 640px; margin: 0 auto; }
.about-text h2 { font-size: 28px; margin-bottom: 16px; }
.about-text p { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,0.75); margin-bottom: 12px; }
.about-stats { display: flex; gap: 32px; margin-top: 24px; }
.about-stats div { font-size: 13px; color: rgba(255,255,255,0.6); }
.about-stats strong { font-size: 24px; color: #60a5fa; display: block; margin-bottom: 4px; }

/* FOOTER */
.landing-footer { padding: 32px 24px; background: #f8fafc; border-top: 1px solid #e2e8f0; }
.footer-inner { max-width: 640px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-inner div:first-child { font-size: 14px; color: var(--gray); }
.footer-sub { text-align: center; margin-top: 16px; font-size: 13px; color: var(--gray); }
.footer-sub a { color: var(--blue); text-decoration: none; }

/* LOGIN OVERLAY */
.login-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; backdrop-filter: blur(4px); }

@media (max-width: 600px) {
    .hero-title { font-size: 28px; }
    .hero { padding: 40px 20px 60px; }
    .compare-table { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .about-stats { flex-direction: column; gap: 16px; }
}

/* PRODUCTS */
.ex-products { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 20px; text-align: left; }
.ex-product { border: 2px solid #e2e8f0; border-radius: 14px; padding: 20px; cursor: pointer; transition: all 0.2s; position: relative; }
.ex-product:hover { border-color: var(--blue); box-shadow: 0 4px 16px rgba(26,77,143,0.12); transform: translateY(-2px); }
.ex-product.featured { border-color: var(--blue); background: #eff6ff; }
.ex-product h3 { font-size: 16px; margin-bottom: 6px; }
.ex-product-desc { font-size: 13px; color: var(--gray); margin-bottom: 12px; }
.ex-price { font-size: 24px; font-weight: 700; color: var(--blue); }
.ex-badge { position: absolute; top: -10px; right: 16px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }

/* UPLOAD */
.ex-upload-area { border: 2px dashed #cbd5e1; border-radius: 12px; padding: 32px; text-align: center; cursor: pointer; transition: all 0.2s; color: var(--gray); font-size: 14px; }
.ex-upload-area:hover { border-color: var(--blue); background: #f8fafc; }

/* PAYMENT */
.ex-order-summary { background: #f8fafc; border-radius: 10px; padding: 16px 20px; margin: 16px 0; }
.ex-order-row { display: flex; justify-content: space-between; align-items: center; font-size: 16px; }
