/* landing.css - Speziell für die neue Startseite & Anleitung */

:root {
    --bg-main: #060606;
    --bg-panel: #111111;
    --bg-card: #161616;
    
    --accent-orange: #ff6b00;
    --accent-purple: #a200ff;
    --accent-blue: #00d2ff;
    
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

/* --- NAVIGATION --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
}

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

/* LOGO VERGRÖSSERT */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.8em;
    font-weight: bold;
    letter-spacing: 1px;
}

.logo img {
    height: 55px; /* Deutlich größer */
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.btn-login {
    background: transparent;
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange) !important;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease !important;
}

.btn-login:hover {
    background: var(--accent-orange);
    color: #000 !important;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 60px;
    background: radial-gradient(circle at 50% 30%, rgba(162, 0, 255, 0.15) 0%, rgba(6, 6, 6, 1) 60%);
}

.hero-small {
    min-height: 40vh;
    padding: 140px 20px 60px;
    background: radial-gradient(circle at 50% 0%, rgba(255, 107, 0, 0.15) 0%, rgba(6, 6, 6, 1) 70%);
}

.hero-content {
    max-width: 800px;
    animation: fadeUp 0.8s ease-out;
}

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

.badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.1);
    color: var(--accent-orange);
    border: 1px solid rgba(255, 107, 0, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4em;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.highlight {
    background: linear-gradient(90deg, var(--accent-orange), #ff9900);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-purple {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 35px;
}

.btn-primary {
    background: var(--accent-orange);
    color: #000;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.2s;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    background: #ff8533;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Chrome Hinweis (PWA) */
.chrome-hint {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9em;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.chrome-hint b {
    color: var(--text-primary);
}

/* --- PRODUKTE (Die 3 Säulen) --- */
.products {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.1em;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 15px;
}

.status.live { background: rgba(40, 167, 69, 0.1); color: #28a745; border: 1px solid rgba(40, 167, 69, 0.3); }
.status.dev { background: rgba(255, 107, 0, 0.1); color: var(--accent-orange); border: 1px solid rgba(255, 107, 0, 0.3); }
.status.concept { background: rgba(162, 0, 255, 0.1); color: var(--accent-purple); border: 1px solid rgba(162, 0, 255, 0.3); }

.product-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.product-card ul {
    list-style: none;
    margin-bottom: 25px;
    color: var(--text-secondary);
    font-size: 0.9em;
}

.product-card ul li {
    margin-bottom: 8px;
}

.card-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
    align-self: flex-start;
}

.card-link:hover {
    border-bottom-color: var(--text-primary);
}

.card-link.disabled {
    color: var(--text-secondary);
    cursor: not-allowed;
    border-bottom: none;
}

/* --- VORTEILE / GALERIE SECTION --- */
.features-detailed {
    padding: 60px 20px 100px;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto 100px auto;
}

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

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 1.15em;
    margin-bottom: 20px;
}

.feature-image {
    flex: 1;
}

.feature-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    object-fit: cover;
}

/* --- ANLEITUNG (SCHRITT-FÜR-SCHRITT) --- */
.guide-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 100px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
}

.step-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
}

.step-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 120px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.step-content {
    position: relative;
    z-index: 1;
}

.step-content h2 {
    color: var(--accent-orange);
    font-size: 1.8em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 1.1em;
    margin-bottom: 15px;
}

.step-content ul {
    list-style: none;
    margin-top: 15px;
}

.step-content ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: var(--text-primary);
    font-size: 1.05em;
}

.step-content ul li::before {
    content: '➔';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

.pro-tip {
    background: rgba(162, 0, 255, 0.1);
    border-left: 4px solid var(--accent-purple);
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 0 6px 6px 0;
}

.pro-tip h4 {
    color: var(--accent-purple);
    margin-bottom: 5px;
    font-size: 1.1em;
}

/* --- FOOTER --- */
footer {
    background: var(--bg-panel);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 20px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info p {
    color: var(--text-secondary);
    margin-top: 15px;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9em;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 1200px;
    margin: 0 auto;
}

/* --- LEGAL MODALS (AGB, Datenschutz, Impressum) --- */
.legal-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.legal-modal-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.legal-modal-content {
    background: var(--bg-panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.legal-modal-overlay.show .legal-modal-content {
    transform: translateY(0);
}

.legal-modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-modal-header h3 {
    margin: 0;
    font-size: 1.5em;
    color: var(--accent-orange);
}

.btn-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.btn-close:hover {
    color: var(--text-primary);
}

.legal-modal-body {
    padding: 30px;
    overflow-y: auto;
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.7;
}

.legal-modal-body h2 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.8em;
}

.legal-modal-body h3 {
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.legal-modal-body p {
    margin-bottom: 15px;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5em; }
    .hero-buttons { flex-direction: column; }
    .footer-container { grid-template-columns: 1fr; }
    .nav-links a:not(.btn-login) { display: none; }
    .chrome-hint { text-align: left; }
    
    .feature-row, .feature-row:nth-child(even) {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
    }
}