/**
 * KI Website Optimierung - Haupt-Stylesheet
 * Navy/Cyan Design-System
 */

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

:root {
    /* Farben - Navy/Cyan Theme */
    --color-navy-900: #0a1628;
    --color-navy-800: #0f1f3a;
    --color-navy-700: #1a2942;
    --color-cyan-500: #06b6d4;
    --color-cyan-600: #0891b2;
    --color-cyan-400: #22d3ee;
    
    /* Semantische Farben */
    --color-background: #ffffff;
    --color-foreground: #0a1628;
    --color-card: #ffffff;
    --color-border: #e5e7eb;
    --color-muted: #f3f4f6;
    --color-muted-foreground: #6b7280;
    --color-primary: #06b6d4;
    --color-primary-foreground: #ffffff;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === Layout === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: var(--spacing-md); }
.gap-6 { gap: var(--spacing-lg); }
.gap-8 { gap: var(--spacing-xl); }

/* === Header === */
header {
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-card);
    padding: 1rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.logo {
    width: auto;
    height: 60px;
}

/* === Progress Bar === */
.progress-container {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    padding: 0.75rem 0;
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background-color: var(--color-muted);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-cyan-500), var(--color-cyan-400));
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

.progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--color-muted-foreground);
}

/* === Main Content === */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.funnel-content {
    width: 100%;
    max-width: 1200px;
    animation: fadeIn 0.5s ease-in;
}

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

/* === Typography === */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

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

.text-muted {
    color: var(--color-muted-foreground);
}

.text-center {
    text-align: center;
}

.text-balance {
    text-wrap: balance;
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-cyan-600);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-foreground);
    border: 2px solid var(--color-border);
}

.btn-outline:hover {
    background-color: var(--color-muted);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-group {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

/* === Cards === */

.card {
    background-color: var(--color-card);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.2s;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.card-icon {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.7rem;
}

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

.card.selected {
    border-color: var(--color-primary);
    background-color: rgba(6, 182, 212, 0.05);
}

.card-grid {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
    grid-template-columns: 1fr;
}

.card1 {
    background-color: var(--color-card);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all 0.2s;
}

.card-header1 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.card-icon1 {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.7rem;
}

.card:hover1 {
    border-color: var(--color-primary);
}

.card.selected1 {
    border-color: var(--color-primary);
    background-color: rgba(6, 182, 212, 0.05);
}

.card-grid1 {
    display: grid;
    gap: 1rem;
    margin: 2rem 0;
    grid-template-columns: 1fr;
}

/* === Options === */
.option-button {
    width: 100%;
    text-align: left;
    background-color: var(--color-card);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.option-button:hover {
    border-color: var(--color-primary);
}

.option-button.selected {
    border-color: var(--color-primary);
    background-color: rgba(6, 182, 212, 0.05);
}

.option-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.option-icon {
    width: 3rem;
    height: 3rem;
    border-radius: var(--radius-md);
    background-color: var(--color-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-button.selected .option-icon {
    background-color: rgba(6, 182, 212, 0.2);
    color: var(--color-primary);
}

.option-text h3 {
    margin-bottom: 0.25rem;
}

.option-text p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    margin: 0;
}

/* === Forms === */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-container input[type="checkbox"] {
    margin-top: 0.25rem;
}

/* === Alert/Info Boxes === */
.alert {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin: 1rem 0;
    border: 1px solid;
}

.alert-info {
    background-color: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
    color: var(--color-foreground);
}

.alert-warning {
    background-color: rgba(251, 146, 60, 0.1);
    border-color: rgba(251, 146, 60, 0.3);
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

/* === Badge === */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* === Footer === */
footer {
    border-top: 1px solid var(--color-border);
    background-color: var(--color-card);
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-content > .text-muted {
    width: 100%;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.footer-links a {
    color: var(--color-muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

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

.responsible-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

.legal-content h1 {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.legal-content h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content h3 {
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p,
.legal-content li {
    font-size: 1rem;
    line-height: 1.6;
}

.legal-content ul {
    padding-left: 1.2rem;
}

.mobile-stack {
  display: flex !important;
  flex-direction: row !important;
  gap: 1rem !important;
}

/* === Responsive === */
@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .logo {
        width: auto;
        height: 60px;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .footer-content > .text-muted {
        width: auto;
        text-align: left;
    }
    
    .footer-links {
        justify-content: flex-end;
    }
    
    main {
        padding: 3rem 0;
    }

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .card-icon {
        font-size: 2rem;
    }

    .card-header {
        gap: 1rem;
    }
    
    .card-grid1 {
        grid-template-columns: repeat(3, 1fr);
    }

    .card-icon1 {
        font-size: 2rem;
    }

    .card-header1 {
        gap: 1rem;
    }

}

@media (max-width: 767px) {
  .mobile-stack {
    flex-direction: column !important;
    margin-bottom: 2.5rem;
  }
  .mobile-stack .btn {
    width: 100% !important;
  }
}

/* === Utility Classes === */
.mt-2 { margin-top: var(--spacing-sm); }
.mt-4 { margin-top: var(--spacing-md); }
.mt-6 { margin-top: var(--spacing-lg); }
.mt-8 { margin-top: var(--spacing-xl); }

.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-4 { margin-bottom: var(--spacing-md); }
.mb-6 { margin-bottom: var(--spacing-lg); }
.mb-8 { margin-bottom: var(--spacing-xl); }

.hidden { display: none; }





