/* EventPics - Gemeinsame Styles für alle Seiten */

/* CSS Variables */
:root {
    --black: #000000;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
}

/* Reset & Base */
* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    margin: 0;
    padding: 0;
}

/* Navigation */
.navbar {
    background: var(--white) !important;
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--black) !important;
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--black) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--gray-600) !important;
    transition: color 0.2s ease;
    padding: 0.5rem 1rem !important;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--black) !important;
}

.nav-link.active {
    color: var(--black) !important;
}

/* Hero Section */
.hero-section {
    background: var(--white);
    color: var(--black);
    padding: 120px 0 80px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-section p {
    font-size: clamp(1.1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    color: var(--gray-600);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* Alternative Hero (für Vergleichsseiten) */
.hero {
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--gray-200);
    text-align: center;
}

.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.hero p {
    color: var(--gray-600);
    max-width: 760px;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-200);
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: clamp(1.6rem, 3.8vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.section-subtitle {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Tables */
.table thead th {
    background: var(--gray-100);
    border-bottom: 2px solid var(--gray-300);
}

.table-bordered > :not(caption) > * {
    border-width: 1px;
}

.tbl-note {
    font-size: 0.9rem;
    color: var(--gray-600);
}

.muted {
    color: var(--gray-600);
}

.badge-neutral {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--gray-800);
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

/* Cards */
.card {
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
}

.card-header {
    background: var(--gray-100);
    font-weight: 700;
}

/* Footer */
footer {
    background: #111;
    color: #eee;
}

footer a {
    color: #eee;
    text-decoration: underline;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .section {
        padding: 40px 0;
    }
}

/* --- Additions: unified classes across pages --- */

/* Hero variations and content helpers */
.hero-content { text-align: center; }
.hero-title { font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 700; margin-bottom: 1.5rem; line-height: 1.1; letter-spacing: -0.02em; }
.hero-subtitle { font-size: clamp(1.05rem, 2.4vw, 1.25rem); margin: 0 auto 1.75rem; color: var(--gray-600); max-width: 540px; line-height: 1.6; }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; background: var(--gray-100); color: var(--gray-700); font-size: .85rem; font-weight: 600; margin-bottom: 1.5rem; }
.hero-list, .feature-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .5rem; text-align: left; }
.hero-list li, .feature-list li { display: flex; align-items: flex-start; gap: .5rem; color: var(--gray-700); font-size: 1rem; text-align: left; }
.hero-list li::before, .feature-list li::before { content: '✓'; color: var(--black); font-weight: 700; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; justify-content: center; }
.btn-hero { padding: .875rem 1.75rem; border-radius: 6px; font-weight: 600; font-size: 1rem; text-decoration: none; transition: all .2s ease; border: 1px solid var(--gray-300); display: inline-flex; align-items: center; gap: .5rem; }
.btn-hero.primary { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-hero.primary:hover { background: var(--gray-800); border-color: var(--gray-800); color: var(--white); transform: translateY(-1px); }
.btn-hero.secondary { background: var(--white); color: var(--black); border: 1px solid var(--gray-200); }
.btn-hero.secondary:hover { background: var(--gray-50); color: var(--black); border-color: var(--gray-300); }
.store-buttons { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; justify-content: center; }
.hero-footnote { margin-top: .5rem; color: var(--gray-500); font-size: .9rem; text-align: center; }
.hero-media { display: flex; justify-content: center; }
.hero-image { width: 100%; height: auto; max-width: 400px; }
.screenshot-placeholder { width: min(480px, 100%); border-radius: 16px; border: 1px dashed var(--gray-300); background: var(--gray-50); padding: 3rem 2rem; text-align: center; color: var(--gray-500); }
.screenshot-placeholder strong { display: block; font-size: 1.1rem; color: var(--gray-700); margin-bottom: .75rem; }
.placeholder-hint { font-size: .85rem; color: var(--gray-500); margin-bottom: .5rem; }

/* Feature cards */
.feature-icon { width: 48px; height: 48px; background: var(--gray-100); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 1.25rem; color: var(--black); }
.feature-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; color: var(--black); }
.feature-text { color: var(--gray-600); line-height: 1.6; }

/* Steps */
.step-number { width: 48px; height: 48px; background: var(--black); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 700; color: var(--white); margin: 0 auto 1.5rem; }
.step-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; color: var(--black); }
.step-text { color: var(--gray-600); line-height: 1.6; }

/* Platform blocks */
.platform-icon { font-size: 2rem; margin-bottom: 1.5rem; color: var(--black); }
.platform-title { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; color: var(--black); }
.platform-text { color: var(--gray-600); margin-bottom: 1.5rem; line-height: 1.6; }
.btn-platform { background: var(--black); color: var(--white); padding: .75rem 1.5rem; border-radius: 6px; text-decoration: none; font-weight: 600; transition: all .2s ease; display: inline-block; }
.btn-platform:hover { background: var(--gray-800); color: var(--white); transform: translateY(-1px); }

/* Pricing */
.pricing-card { border: 1px solid var(--gray-200); border-radius: 8px; overflow: hidden; background: var(--white); transition: all .2s ease; height: 100%; }
.pricing-card:hover { border-color: var(--gray-300); transform: translateY(-2px); }
.pricing-card.free { border-color: var(--gray-400); }
.pricing-card.premium { border-color: var(--gray-800); }
.pricing-header { padding: 1.5rem; text-align: center; color: var(--white); }
.pricing-header.free { background: var(--gray-800); }
.pricing-header.premium { background: var(--black); }
.pricing-title { font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; }
.pricing-price { font-size: 2.5rem; font-weight: 700; margin-bottom: .5rem; }
.pricing-subtitle { opacity: .9; font-size: .9rem; }
.pricing-body { padding: 1.5rem; }
.pricing-features { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.pricing-features li { padding: .5rem 0; color: var(--gray-600); display: flex; align-items: center; gap: .5rem; }
.pricing-features li::before { content: '✓'; color: var(--black); font-weight: bold; }
.pricing-alert { background: var(--gray-50); border-radius: 6px; padding: 1rem; margin: 1rem 0; text-align: center; border: 1px solid var(--gray-200); }
.pricing-alert.success { background: var(--gray-50); border-color: var(--gray-300); color: var(--gray-800); }
.pricing-alert.info { background: var(--gray-50); border-color: var(--gray-300); color: var(--gray-800); }
.btn-pricing { width: 100%; padding: .875rem; border-radius: 6px; font-weight: 600; text-decoration: none; text-align: center; transition: all .2s ease; border: 1px solid; display: inline-block; }
.btn-pricing.success, .btn-pricing.primary { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-pricing.success:hover, .btn-pricing.primary:hover { background: var(--gray-800); border-color: var(--gray-800); transform: translateY(-1px); }

/* Forms */
.form-label { font-weight: 600; color: var(--gray-700); margin-bottom: .5rem; }
.form-control { border: 1px solid var(--gray-300); border-radius: 6px; padding: .75rem; transition: border-color .2s ease; }
.form-control:focus { border-color: var(--gray-600); outline: none; box-shadow: 0 0 0 3px rgba(0,0,0,.1); }
.option-button { width: 52px; height: 52px; padding: 0; border-width: 2px; border-color: var(--gray-300); transition: all .2s ease; }
.option-button:hover { border-color: var(--gray-600); }
.option-button.active { background-color: var(--gray-100); border-color: var(--gray-800); }
#qrPreview { width: 300px; height: 300px; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gray-200); border-radius: 8px; background: var(--white); }

/* Layout helpers */
.main-content { padding: 120px 0 80px; }
html { scroll-behavior: smooth; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.02em; }
code { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace; background: var(--gray-100); color: var(--gray-700); padding: .1rem .35rem; border-radius: 4px; font-size: .9rem; }

/* Footer (class-based to avoid element conflicts) */
.footer { background: var(--black); color: var(--white); padding: 3rem 0 2rem; }
.footer h5 { color: var(--white); margin-bottom: 1.5rem; font-weight: 600; }
.footer p, .footer li { color: var(--gray-300); margin-bottom: .5rem; }
.footer a { color: var(--gray-300); text-decoration: none; transition: color .2s ease; }
.footer a:hover { color: var(--white); }
.social-links a { color: var(--gray-300); margin-right: 1rem; font-size: 1.5rem; transition: color .2s ease; }
.social-links a:hover { color: var(--white); }

/* 404 helpers */
.error-container { text-align: center; max-width: 600px; margin: 0 auto; }
.error-code { font-size: clamp(6rem, 15vw, 12rem); font-weight: 900; color: var(--gray-200); line-height: 1; margin-bottom: 1rem; }
.error-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; margin-bottom: 1.5rem; color: var(--black); }
.error-message { font-size: clamp(1.1rem, 2.5vw, 1.25rem); color: var(--gray-600); margin-bottom: 3rem; line-height: 1.6; }
.btn-home { background: var(--black); color: var(--white); padding: 1rem 2rem; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 1.1rem; transition: all .2s ease; display: inline-block; }
.btn-home:hover { background: var(--gray-800); color: var(--white); transform: translateY(-2px); text-decoration: none; }

/* Landing page scoped styles */
body.landing-page { display: flex; align-items: center; justify-content: center; height: 100vh; background: #f8f9fa; }
body.landing-page .landing-card { text-align: center; padding: 2rem 3rem; border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.05); background: #fff; max-width: 420px; }
body.landing-page .landing-title { font-weight: 700; font-size: 1.8rem; margin-bottom: 1rem; }
body.landing-page .btn-lang { display: block; width: 100%; margin-top: 1rem; font-weight: 600; padding: .75rem; }
body.landing-page .flag { width: 24px; margin-right: 8px; }
