/* ==========================================================================
   QR-Generator.de - Bereinigtes Stylesheet (Nur Google AdSense)
   ========================================================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    color: #2c3e50;
    line-height: 1.6;
}

/* Professional QR Icon */
.qr-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
    background: 
        linear-gradient(90deg, #34495e 40%, transparent 40%, transparent 60%, #34495e 60%),
        linear-gradient(#34495e 40%, transparent 40%, transparent 60%, #34495e 60%);
    background-size: 6px 6px;
    border-radius: 3px;
    position: relative;
}

.qr-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 6px;
    height: 6px;
    background: #34495e;
    border-radius: 1px;
}

.qr-icon::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: #34495e;
    border-radius: 1px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 16px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(52, 73, 94, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    color: #2c3e50;
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: #7f8c8d;
    font-weight: 500;
    transition: all 0.3s;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: #34495e;
    background: rgba(52, 73, 94, 0.08);
}

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

/* Header */
.header {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 48px;
    padding: 48px 0;
}

.header h1 {
    font-size: 2.8rem;
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -1px;
    color: #2c3e50;
}

.header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Content */
.main-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    margin-bottom: 32px;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Content Sections (für Info-Seite) */
.content-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.3);
}

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 32px;
    color: #2c3e50;
    text-align: center;
    font-weight: 600;
}

/* AdSense Banner Styles - NUR GOOGLE */
.ad-banner {
    text-align: center;
    margin: 24px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(52, 73, 94, 0.1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.ad-banner-small {
    text-align: center;
    margin: 20px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(52, 73, 94, 0.1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.ad-label {
    font-size: 12px;
    color: #95a5a6;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* QR Type Selection */
.qr-type-section {
    margin-bottom: 32px;
}

.qr-type-section h3 {
    color: #2c3e50;
    margin-bottom: 24px;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.qr-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.qr-type-card {
    background: #ffffff;
    border: 2px solid #ecf0f1;
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.qr-type-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 73, 94, 0.12);
    border-color: #bdc3c7;
}

.qr-type-card.active {
    border-color: #3498db;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafe 100%);
    box-shadow: 0 4px 16px rgba(52, 152, 219, 0.15);
}

.qr-type-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: block;
    color: #7f8c8d;
}

.qr-type-card.active .qr-type-icon {
    color: #3498db;
}

.qr-type-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2c3e50;
}

.qr-type-desc {
    font-size: 0.85rem;
    color: #7f8c8d;
    line-height: 1.4;
}

/* Dynamic Form Section */
.dynamic-form {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    border: 1px solid #e9ecef;
}

.dynamic-form h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Premium Features - Professioneller */
.premium-features {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
    position: relative;
}

.premium-features::before {
    content: 'PRO';
    position: absolute;
    top: -1px;
    right: 24px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 0 0 8px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

#premiumTitle {
    color: #2c3e50;
    margin-bottom: 24px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
}

.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.premium-option {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.2s;
}

.premium-option:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.premium-option label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #2c3e50;
    font-size: 0.9rem;
}

.premium-option input, 
.premium-option select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

/* Premium Overlay */
.premium-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(2px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.unlock-button {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.unlock-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Generate Button */
.generate-btn {
    width: 100%;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: none;
    letter-spacing: 0;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 204, 113, 0.3);
}

/* Status Messages */
.status-message {
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    border-left: 4px solid;
}

.status-success {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
    border-left-color: #27ae60;
}

.status-error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border-left-color: #e74c3c;
}

.status-info {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border-left-color: #3498db;
}

/* QR Result */
.qr-result {
    text-align: center;
    margin-top: 40px;
    display: none;
}

.qr-result h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.qr-display {
    display: inline-block;
    border: 3px solid #3498db;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    background: white;
    padding: 16px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.download-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.premium-btn {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.premium-btn:hover {
    box-shadow: 0 6px 20px rgba(155, 89, 182, 0.3);
}

/* Footer */
.footer {
    margin-top: 48px;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    backdrop-filter: blur(8px);
}

/* ============================================================================
   INFO-SEITE SPEZIFISCHE STYLES
   ============================================================================ */

/* Quick Navigation */
.quick-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    text-align: center;
    border: 1px solid rgba(52, 73, 94, 0.1);
}

.quick-nav h3 {
    color: #2c3e50;
    margin-bottom: 24px;
    font-size: 1.3rem;
    font-weight: 600;
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.nav-card {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
    font-size: 0.95rem;
}

.nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(52, 152, 219, 0.3);
}

/* Application Grid */
.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.app-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
    position: relative;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(52, 73, 94, 0.15);
}

.app-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    display: block;
    color: #3498db;
}

.app-card h3 {
    color: #2c3e50;
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: 600;
}

.app-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 16px;
}

.app-card code {
    background: rgba(52, 73, 94, 0.08);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
    font-size: 0.85rem;
    color: #2c3e50;
}

.pro-tip {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 16px;
}

/* Facts Container */
.facts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.fact-card {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: white;
    padding: 28px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s;
    min-height: 130px;
}

.fact-card:hover {
    transform: scale(1.02);
}

.fact-number {
    font-size: 2.2rem;
    font-weight: 700;
    opacity: 0.9;
    min-width: 80px;
    flex-shrink: 0;
    line-height: 1;
}

.fact-content {
    flex: 1;
}

.fact-content h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    line-height: 1.3;
    font-weight: 600;
}

.fact-content p {
    opacity: 0.9;
    line-height: 1.4;
    font-size: 0.9rem;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.tip-card {
    background: white;
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-left: 4px solid #3498db;
    transition: transform 0.3s;
}

.tip-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.tip-card h3 {
    color: #2c3e50;
    margin-bottom: 16px;
    font-size: 1.2rem;
    font-weight: 600;
}

.tip-card ul {
    list-style: none;
    padding-left: 0;
}

.tip-card li {
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.tip-card li:before {
    content: '✓';
    color: #27ae60;
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.1rem;
}

.tip-card li:last-child {
    border-bottom: none;
}

/* Future Timeline */
.future-timeline {
    position: relative;
    margin-top: 32px;
}

.future-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #3498db, #2980b9);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 80px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 28px;
    border-radius: 12px;
    margin: 0 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    flex: 1;
    max-width: 400px;
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

.timeline-content p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Legal Grid */
.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.legal-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.legal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.legal-card h3 {
    color: #2c3e50;
    margin-bottom: 16px;
    font-size: 1.3rem;
    font-weight: 600;
}

.legal-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 16px;
}

.legal-link {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dotted #3498db;
    transition: color 0.3s;
}

.legal-link:hover {
    color: #2980b9;
    border-bottom-color: #2980b9;
}

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

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #95a5a6;
    transition: color 0.3s;
}

.close:hover {
    color: #2c3e50;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.2rem;
    }
    
    .main-content,
    .content-section {
        padding: 24px;
        margin: 16px;
    }

    .nav-menu {
        gap: 16px;
    }

    .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .qr-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .premium-grid,
    .application-grid,
    .facts-container,
    .tips-grid,
    .legal-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .timeline-item {
        flex-direction: column !important;
        text-align: center;
    }

    .timeline-content {
        margin: 20px 0 !important;
        max-width: none;
    }

    .future-timeline::before {
        display: none;
    }

    .fact-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .fact-number {
        min-width: auto;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-logo a {
        font-size: 1.2rem;
    }

    .header h1 {
        font-size: 1.9rem;
    }

    .header p {
        font-size: 1.1rem;
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .app-card,
    .tip-card,
    .legal-card {
        padding: 20px;
    }

    .qr-type-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   KEINE POPADS, CPAGRIP ODER ANDERE ANBIETER
   NUR GOOGLE ADSENSE
   ============================================================================ */
