/* === GRUNDEINSTELLUNGEN & VARIABLEN === */
:root {
    --color-background: #FFFFFF;
    --color-text: #1F2937;
    --color-primary: #1E3A8A; /* Dunkles Blau */
    --color-primary-hover: #1C347A;
    --color-contrast: #F59E0B; /* Passende Kontrastfarbe (Bernstein) */
    --color-surface: #F9FAFB;
    --color-border: #E5E7EB;
    
    --font-headline: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    --header-height: 70px;
    --border-radius: 8px;
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.07);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

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

main {
    padding-top: var(--header-height);
}

/* === GLOBALE HELPER === */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* === HEADER === */
.main-header {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 50%, #1E3A8A 100%);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.15);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 769px) {
    .hide-on-desktop {
        display: none;
    }
}

.logo {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.5rem;
    color: #F59E0B;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.logo img {
    height: 150px; /* Desktop: 50px + 60px + 20px + 20px = 150px */
    width: auto;
    vertical-align: middle;
    transition: height 0.3s ease;
}

/* Spezifische Größe für Index-Seite */
body:has(.hero-section) .logo img {
    height: 150px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    transition: all 0.2s;
}

.main-nav a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Header-spezifische Button-Styles */
.main-header .btn-secondary {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

.main-header .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.logo span {
    vertical-align: middle;
    margin-left: 10px;
    font-size: 1.3rem; /* Schriftgröße anpassen */
}

.language-switcher {
    display: flex;
    gap: 0.25rem;
    margin-left: 1rem;
    align-items: center;
}

.language-switcher a {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 3px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 28px;
    text-align: center;
}

.language-switcher a:hover {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.language-switcher a.active {
    color: #FFFFFF;
    background-color: #F59E0B;
    border-color: #F59E0B;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.3);
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: white;
    padding: 0.5rem;
}

/* === BUTTONS === */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}
.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
}

/* === SEKTIONEN ALLGEMEIN === */
section {
    padding: 0; /* Entferne generisches Padding */
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.features-section,
.how-it-works-section,
.pricing-section,
.privacy-section {
    padding: 6rem 2rem;
}

.section-title {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 3rem;
}

/* === HERO SEKTION === */
.hero-section {
    padding-top: 5rem; /* Abstand oben */
    padding-bottom: 5rem; /* Abstand unten */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 2rem;
    padding-right: 2rem;
    min-height: 80vh;
}
.hero-content {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.hero-content h1 {
    font-family: var(--font-headline);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    line-height: 1.6;
}
.hero-mockup {
    flex: 0.8;
}
.hero-mockup img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Chatbot preview image styles removed */

/* === RESPONSIVE HERO === */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem;
        min-height: 70vh;
        justify-content: center;
        align-items: center;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        text-align: center;
        width: 100%;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    
    .hero-mockup {
        flex: 1;
        order: -1;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1rem 0.75rem;
        gap: 1.5rem;
        min-height: 60vh;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        text-align: center;
        width: 100%;
    }
    
    .hero-content p {
        font-size: 1rem;
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}


/* === FEATURES SEKTION === */
.features-section {
    background-color: var(--color-surface);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--color-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-headline);
    margin-bottom: 0.5rem;
}

/* === RESPONSIVE FEATURES === */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
}


/* === HOW-IT-WORKS SEKTION === */
.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    margin-top: 4rem;
}
.steps-container::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--color-border);
    z-index: -1;
}

.step-card {
    background: var(--color-background);
    padding: 1.5rem;
    flex: 1;
    text-align: center;
}
.step-number {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
    border: 4px solid var(--color-surface);
    outline: 2px solid var(--color-primary);
}
.step-card h3 {
    font-family: var(--font-headline);
    margin-bottom: 0.5rem;
}

/* === RESPONSIVE STEPS === */
@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .step-card {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .steps-container {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .step-card {
        padding: 1rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* === PRICING SEKTION === */
.pricing-section {
    background-color: var(--color-surface);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-border);
}

.pricing-card.popular {
    transform: scale(1.05);
    border-color: var(--color-primary);
}

.pricing-card h3 {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.price-term {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text);
}

.pricing-card ul {
    flex-grow: 1;
    margin: 0 0 2rem 0;
    padding: 0;
    list-style: none;
    text-align: left;
}

.pricing-card li {
    padding: 0.5rem 0;
    color: #475569;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.pricing-card .btn {
    width: 100%;
}


/* Billing Toggle Styles */
.billing-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 1rem;
    background: #f8fafc; /* --color-surface */
    border-radius: 0.5rem; /* --border-radius */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.billing-label {
    font-weight: 600;
    color: #0f172a; /* --color-text */
    font-size: 1rem;
}

.save-badge {
    background: #10B981;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.billing-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.billing-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.billing-toggle input:checked + .toggle-slider {
    background-color: #3b82f6; /* --color-primary */
}

.billing-toggle input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

/* Price transition animation */
.price {
    transition: all 0.3s ease;
}

/* === RESPONSIVE PRICING === */
@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.popular {
        transform: none;
        grid-column: span 2;
        order: -1;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .pricing-card.popular {
        grid-column: span 1;
    }
    
    .pricing-card {
        padding: 1.5rem 1rem;
    }
    
    .price {
        font-size: 2rem;
    }
}

/* === PRIVACY SEKTION === */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.privacy-item {
    margin-bottom: 2rem;
}
.privacy-item h3 {
    font-family: var(--font-headline);
    margin-bottom: 0.5rem;
}

/* === FOOTER === */
.main-footer {
    background-color: var(--color-text);
    color: var(--color-surface);
    padding: 1rem 2rem;
    margin-top: auto; /* Push footer to bottom */
}

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

.footer-container p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #FFFFFF;
}

/* === RESPONSIVE FOOTER === */
@media (max-width: 768px) {
    .main-footer {
        padding: 1rem;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-nav {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 0.75rem;
    }
    
    .footer-container {
        gap: 0.75rem;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
}

/* === ANIMATIONEN === */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* === PORTAL SEITE STILE === */
.portal-main {
    background-color: var(--color-surface);
    min-height: 100vh;
    flex: 1;
}

.portal-header-section {
    background-color: var(--color-background);
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.portal-header-section h1 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    color: var(--color-primary);
}

.welcome-message {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.portal-content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.portal-card {
    background: var(--color-background);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.card-title {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

/* === TABS FÜR FORMULARE === */
.tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.tab-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    color: #6B7280;
    transition: color 0.2s;
}

.tab-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-link.active {
    color: var(--color-primary);
}

.tab-link.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}
.tab-content.active {
    display: block;
}

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

/* === FORMULAR STILE === */
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"], /* <-- DIESE ZEILE IST NEU */
.form-group select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus,
.form-group select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-hint {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.75rem;
    line-height: 1.5;
}

.stacked-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.color-picker-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* === MODERN COLOR PICKER STYLES === */
.color-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.color-picker-wrapper input[type="text"] {
    width: 200px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
}

.color-preview {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    cursor: pointer;
}

.form-footer {
    text-align: right;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

/* === CODE BLOCK === */
.code-block {
    background-color: var(--color-text);
    color: #E5E7EB;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    white-space: pre-wrap;
    word-break: break-all;
    font-family: 'Courier New', Courier, monospace;
}
.code-block pre, .code-block code {
    white-space: pre-wrap;
    word-break: break-all;
}
/* === AUTH SEITEN STILE (Login & Registrierung) === */
.auth-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--color-surface);
    padding: 2rem;
}

.auth-card {
    background: var(--color-background);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 450px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo {
    text-decoration: none;
    display: block;
    margin-bottom: 1.5rem;
    color: #F59E0B;
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.25rem;
}

.auth-header h1 {
    font-family: var(--font-headline);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #6B7280;
}

.auth-card .form-group {
    margin-bottom: 1.25rem;
}

.auth-card .btn.full-width {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 1rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
}

.auth-footer .terms {
    font-size: 0.8rem;
    color: #6B7280;
    margin-bottom: 1rem;
}

.auth-footer .sub-link {
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
}
.auth-footer a:hover {
    text-decoration: underline;
}
/* === GRUNDEINSTELLUNGEN & VARIABLEN === */
:root {
    --color-background: #FFFFFF;
    --color-text: #1F2937;
    --color-primary: #1E3A8A; /* Dunkles Blau */
    --color-primary-hover: #1C347A;
    --color-contrast: #F59E0B; /* Passende Kontrastfarbe (Bernstein) */
    --color-surface: #F9FAFB;
    --color-border: #E5E7EB;
    
    --font-headline: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    --header-height: 70px;
    --border-radius: 8px;
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.07);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

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

/* === HEADER === */
.main-header {
    background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 50%, #1E3A8A 100%);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(30, 58, 138, 0.15);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right-group {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-family: var(--font-headline);
    font-weight: 700;
    font-size: 1.5rem;
    color: #F59E0B;
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.logo img {
    height: 150px; /* Standardhöhe für Desktop: 50px + 60px + 20px + 20px = 150px */
    width: auto;
    vertical-align: middle;
}

/* Spezifische Größe für Index-Seite */
body:has(.hero-section) .logo img {
    height: 150px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    transition: all 0.2s;
}

.main-nav a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* === BUTTONS === */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}
.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
}


/* === PORTAL SEITE STILE === */
.portal-main {
    background-color: var(--color-surface);
    min-height: 100vh;
    flex: 1;
}

.portal-header-section {
    background-color: var(--color-background);
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.portal-header-section h1 {
    font-family: var(--font-headline);
    font-size: 2.5rem;
    color: var(--color-primary);
}

.welcome-message {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.portal-content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.portal-card {
    background: var(--color-background);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.card-title {
    font-family: var(--font-headline);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

/* === TABS FÜR FORMULARE === */
.tabs {
    display: flex;
    flex-wrap: wrap; /* ### NEU ### */
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.tab-link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border: none;
    background: none;
    cursor: pointer;
    position: relative;
    color: #6B7280;
    transition: color 0.2s;
    text-align: center; /* ### NEU ### */
}

.tab-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-link.active {
    color: var(--color-primary);
}

.tab-link.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}
.tab-content.active {
    display: block;
}

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

/* === FORMULAR STILE === */
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
/* Ersetzen Sie den alten Block durch diesen */
.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="email"], /* <-- DIESE ZEILE IST NEU */
.form-group select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus,
.form-group select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-hint {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.75rem;
    line-height: 1.5;
}

.stacked-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.color-picker-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.color-input {
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    background-color: transparent;
}

.form-footer {
    text-align: right;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}

/* === CODE BLOCK === */
.code-container {
    position: relative;
}
.code-block {
    background-color: var(--color-text);
    color: #E5E7EB;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    white-space: pre-wrap;
    word-break: break-all;
    font-family: 'Courier New', Courier, monospace;
}
#copy-code-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #4A5568;
    color: white;
    border: none;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.2s;
}
#copy-code-btn:hover {
    background-color: #2D3748;
}

/* ################################### */
/* ### NEU: RESPONSIVE ANPASSUNGEN ### */
/* ################################### */

@media (max-width: 768px) {
    /* === TYPOGRAFIE === */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }

    /* === HEADER === */
    .header-container {
        flex-direction: row; /* Stellt sicher, dass die Elemente nebeneinander bleiben */
        justify-content: space-between; /* Verteilt Logo und andere Elemente */
        padding: 0 1rem; /* Passt den seitlichen Abstand an */
        height: var(--header-height); /* Feste Höhe beibehalten */
        align-items: center;
    }

    .header-right-group {
        display: none;
        position: absolute;
        top: var(--header-height); /* Direkt unter dem Header positionieren */
        left: 0;
        width: 100%;
        background: linear-gradient(180deg, #1E3A8A 0%, #2c52ac 100%);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }

    .header-right-group.active {
        display: flex;
    }

    .main-nav {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .main-nav a, .header-actions a {
        color: white;
        padding: 1rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
        gap: 0;
    }
    
    .header-actions .btn {
        border: none;
        background: transparent;
        width: 100%;
        margin: 0;
        border-radius: 0;
    }

    .language-switcher {
        flex-direction: row;
        gap: 1rem;
        padding: 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        justify-content: center;
    }

    .mobile-nav-toggle {
        display: block; /* Hamburger-Icon anzeigen */
    }

    .logo img {
        height: 75px !important; /* Logo Größe für Mobile */
    }

    .portal-content-section {
        padding: 1.5rem 1rem;
    }

    .portal-main {
        overflow-x: hidden;
    }
}

/* === ACCORDION STYLES === */
.accordion-container {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
}
.accordion-item:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
}
.accordion-header {
    background-color: var(--color-surface);
    color: var(--color-text);
    cursor: pointer;
    padding: 1.25rem 1.5rem;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-item.active .accordion-header,
.accordion-header:hover {
    background-color: #f0f2f5;
}
.accordion-icon {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-primary);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: white;
}
.chat-history-messages {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.message-bubble {
    padding: 0.75rem 1.25rem;
    border-radius: 18px;
    max-width: 80%;
    line-height: 1.5;
}
.message-bubble.user {
    background-color: var(--color-primary);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.message-bubble.bot {
    background-color: var(--color-surface);
    color: var(--color-text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.message-timestamp {
    display: block;
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.25rem;
    text-align: right;
}
.pagination {
    margin-top: 2rem;
    text-align: center;
}
.pagination a {
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-small);
    margin: 0 0.25rem;
}
.pagination a:hover {
    background-color: var(--color-surface);
}
/* === UTILITY-KLASSEN === */
.hidden {
    display: none !important;
}

/* ===== MODERN CHATBOT CONFIGURATION STYLES ===== */

/* Modern Labels */
.modern-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #374151;
    margin-bottom: 0.75rem;
    letter-spacing: 0.025em;
}

/* URL Input Section */
.url-input-section {
    margin-bottom: 1.5rem;
}

.input-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Modern Input Fields */
.modern-input {
    flex: 1;
    min-width: 250px;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-family: inherit;
    background-color: #ffffff;
    color: #1f2937;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.modern-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background-color: #ffffff;
}

.modern-input::placeholder {
    color: #9ca3af;
}

/* Generate Button */
.generate-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    white-space: nowrap;
    min-width: 180px;
}

.generate-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.generate-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.generate-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.btn-icon {
    font-size: 1rem;
}

.btn-text {
    font-weight: 600;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.loading-spinner .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    animation: loading-dots 1.4s infinite ease-in-out;
}

.loading-spinner .dot:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-spinner .dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loading-dots {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Textarea Wrapper */
.textarea-wrapper {
    margin-bottom: 1rem;
}

/* Modern Textarea */
.modern-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    font-family: inherit;
    line-height: 1.6;
    background-color: #ffffff;
    color: #1f2937;
    resize: vertical;
    min-height: 200px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.modern-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background-color: #ffffff;
}

.modern-textarea::placeholder {
    color: #9ca3af;
}

/* Form Hint */
.form-hint {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.75rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .input-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modern-input {
        min-width: 100%;
    }
    
    .generate-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== END MODERN CHATBOT CONFIGURATION STYLES ===== */

/* ===== PREVIEW TAB STYLES ===== */

/* Preview Container */
.preview-container {
    margin-top: 1.5rem;
}

/* Preview Website */
.preview-website {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: relative;
    min-height: 500px;
}

.preview-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.preview-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.preview-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.preview-content {
    padding: 2rem;
    position: relative;
    min-height: 400px;
}

.preview-text h4 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.preview-text p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Preview Chatbot Container - Removed old iframe preview system */



/* Responsive Design für Preview */
@media (max-width: 1024px) {
    .preview-container {
        /* Full width on smaller screens */
    }
}

@media (max-width: 768px) {
    .preview-content {
        padding: 1.5rem;
    }
}

/* ===== END PREVIEW TAB STYLES ===== */

/* ===== MODERN RESPONSIVE FAQ STYLES ===== */

/* FAQ Main Container */
.faq-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* FAQ Hero Section */
.faq-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.faq-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.faq-hero-section .container {
    position: relative;
    z-index: 2;
}

.faq-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-headline);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.faq-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* FAQ Content Section */
.faq-content-section {
    padding: 4rem 0;
    position: relative;
}

.faq-content-section .container {
    max-width: 900px;
}

/* FAQ Categories */
.faq-category {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.faq-category:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--color-primary);
}

.category-icon {
    font-size: 1.75rem;
    background: linear-gradient(135deg, var(--color-primary), #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.faq-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.1);
}

.faq-item.active {
    background: white;
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
}

/* FAQ Questions */
.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background-color: rgba(30, 64, 175, 0.05);
}

.faq-question:focus {
    outline: none;
    background-color: rgba(30, 64, 175, 0.1);
}

.question-text {
    flex: 1;
    line-height: 1.5;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    transition: all 0.3s ease;
    min-width: 24px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* FAQ Answers */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    margin: 0;
    color: var(--color-text);
    line-height: 1.7;
    font-size: 1rem;
}

.faq-answer p:first-child {
    padding-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .faq-content-section .container {
        max-width: 800px;
    }
    
    .faq-category {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .faq-hero-section {
        padding: 3rem 0;
    }
    
    .faq-title {
        font-size: 2.5rem;
    }
    
    .faq-subtitle {
        font-size: 1.1rem;
    }
    
    .faq-content-section {
        padding: 3rem 0;
    }
    
    .faq-category {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .faq-category-title {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .faq-answer p:first-child {
        padding-top: 1.25rem;
    }
}

@media (max-width: 480px) {
    .faq-hero-section {
        padding: 2rem 0;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
    }
    
    .faq-content-section {
        padding: 2rem 0;
    }
    
    .faq-category {
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    
    .faq-category-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .faq-icon {
        align-self: flex-end;
        margin-top: -1.5rem;
    }
    
    .faq-answer p {
        padding: 0 1rem 1rem;
        font-size: 0.9rem;
    }
    
    .faq-answer p:first-child {
        padding-top: 1rem;
    }
    
    /* Prevent horizontal scrolling on mobile */
    .faq-main {
        overflow-x: hidden;
        width: 100%;
    }
    
    .faq-content-section {
        overflow-x: hidden;
    }
    
    .faq-category {
        overflow-x: hidden;
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .faq-question {
        min-height: 60px; /* Larger touch target */
    }
    
    .faq-icon {
        min-width: 32px;
        min-height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ===== END MODERN RESPONSIVE FAQ STYLES ===== */

/* === SPEICHERPLATZ-STATUS === */
.storage-status {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.storage-bar {
    width: 100%;
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.storage-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 6px;
    transition: width 0.3s ease, background 0.3s ease;
    position: relative;
}

.storage-fill.warning {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.storage-fill.danger {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

.storage-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #64748b;
}

.storage-info span:first-child {
    font-weight: 500;
}

.storage-info span:last-child {
    font-weight: 600;
    color: #1e293b;
}

/* === PRODUKTFEED-STYLES === */
.productfeed-container {
    margin-top: 1rem;
}

.productfeed-input-section {
    margin-bottom: 1.5rem;
}

.productfeed-status {
    margin-top: 1.5rem;
}

.status-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.status-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #E2E8F0;
}

.status-icon {
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.status-title {
    font-weight: 600;
    color: #1F2937;
    font-size: 1.1rem;
}

.status-content {
    margin-bottom: 1.5rem;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #F1F5F9;
}

.status-item:last-child {
    border-bottom: none;
}

.status-label {
    font-weight: 500;
    color: #64748B;
    font-size: 0.9rem;
}

.status-value {
    font-weight: 600;
    color: #1F2937;
    font-size: 0.9rem;
    text-align: right;
    word-break: break-all;
}

.status-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.status-actions .btn {
    flex: 1;
    min-width: 140px;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.btn-danger {
    background-color: #EF4444;
    border-color: #EF4444;
    color: white;
}

.btn-danger:hover {
    background-color: #DC2626;
    border-color: #DC2626;
}

.productfeed-progress {
    margin-top: 1rem;
    padding: 1rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
}

.productfeed-progress .progress-bar {
    height: 8px;
    background-color: #E2E8F0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.productfeed-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3B82F6, #1D4ED8);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.productfeed-progress p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748B;
    text-align: center;
}

/* Responsive Design für Produktfeed */
@media (max-width: 768px) {
    .status-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .status-value {
        text-align: left;
        font-size: 0.85rem;
    }
    
    .status-actions {
        flex-direction: column;
    }
    
    .status-actions .btn {
        min-width: auto;
        width: 100%;
    }
}

/* === BLOG STYLES === */

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

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-headline);
    text-align: center;
    width: 100%;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    font-size: 1.1rem;
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    color: #F59E0B;
}

/* Blog Grid */
.blog-content {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--color-border);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.card-header {
    position: relative;
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-meta {
    padding: 1rem 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #6B7280;
}

.publish-date {
    color: #6B7280;
}

.author {
    color: var(--color-primary);
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

.title-link {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
}

.title-link:hover {
    color: var(--color-primary);
}

.card-excerpt {
    margin-bottom: 1.5rem;
    color: #6B7280;
    line-height: 1.6;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag {
    background: #F3F4F6;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.card-footer {
    padding: 0 1.5rem 1.5rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.read-more-btn:hover {
    color: var(--color-primary-hover);
}

.arrow-icon {
    transition: transform 0.2s;
}

.read-more-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-state h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.empty-state p {
    color: #6B7280;
    margin-bottom: 2rem;
}

/* Article Styles */
.article-header {
    padding: 2rem 0;
}

.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-meta {
    margin-bottom: 2rem;
}

.meta-top {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #6B7280;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--color-text);
}

.article-excerpt {
    font-size: 1.125rem;
    color: #6B7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #F9FAFB;
    border-radius: 8px;
}

.author-avatar img {
    border-radius: 50%;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--color-text);
}

.author-role {
    font-size: 0.875rem;
    color: #6B7280;
}

.featured-image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: auto;
}

.article-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text);
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.article-body h1 { font-size: 2rem; }
.article-body h2 { font-size: 1.75rem; }
.article-body h3 { font-size: 1.5rem; }
.article-body h4 { font-size: 1.25rem; }

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.article-body a {
    color: var(--color-primary);
    text-decoration: underline;
}

.article-body a:hover {
    color: var(--color-primary-hover);
}

.article-body blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6B7280;
}

/* Article Footer */
.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.share-section {
    margin-bottom: 2rem;
}

.share-section h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: all 0.2s;
    background: white;
}

.share-btn:hover {
    background: #F9FAFB;
    border-color: var(--color-primary);
}

.share-btn.twitter:hover {
    color: #1DA1F2;
    border-color: #1DA1F2;
}

.share-btn.linkedin:hover {
    color: #0077B5;
    border-color: #0077B5;
}

.share-btn.copied {
    background: #10B981;
    color: white;
    border-color: #10B981;
}

.cta-section {
    margin-top: 2rem;
}

.cta-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-hover) 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.article-navigation {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-primary-hover);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .blog-hero {
        padding: 2rem 1rem;
        min-height: 200px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .author-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Mobile Header Styles */
    .main-header {
        padding: 0.75rem;
    }
    
    .header-container {
        gap: 0.75rem;
    }
    
    .main-nav {
        gap: 0.25rem;
    }
    
    .main-nav a {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .header-actions .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .logo img {
        height: 65px !important; /* Logo Größe für sehr kleine Screens */
    }

    .billing-toggle-container {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    .billing-label {
        font-size: 0.9rem;
    }
}

/* === LANGUAGE SWITCHER === */
.language-switcher {
    display: flex;
    gap: 0.25rem;
    margin-left: 1rem;
    align-items: center;
}

.language-switcher a {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 3px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 28px;
    text-align: center;
}

.language-switcher a:hover {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.language-switcher a.active {
    color: #FFFFFF;
    background-color: #F59E0B;
    border-color: #F59E0B;
    box-shadow: 0 1px 3px rgba(245, 158, 11, 0.3);
}

/* Responsive adjustments for language switcher */
@media (max-width: 768px) {
    .language-switcher {
        margin-left: 0.5rem;
    }
    
    .language-switcher a {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
        min-width: 24px;
    }
}

/* === MAIN CONTENT LAYOUT === */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ################################### */
/* ###     PORTAL-SPEZIFISCHE STILE    ### */
/* ################################### */

.portal-body .portal-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

.portal-body .portal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.portal-body .tabs {
    background: linear-gradient(90deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 0 1.5rem;
    border-radius: 16px 16px 0 0;
}

.portal-body .tab-link {
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    margin: 0;
    color: #64748b;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 8px 8px 0 0;
}

.portal-body .tab-link:hover {
    color: #1e40af;
    background-color: rgba(30, 64, 175, 0.05);
}

.portal-body .tab-link.active {
    color: #1e40af;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 3px solid #1e40af;
    font-weight: 600;
}

.portal-body .tab-content {
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
}

.portal-body .form-group input[type="text"],
.portal-body .form-group input[type="email"],
.portal-body .form-group input[type="password"],
.portal-body .form-group input[type="url"],
.portal-body .form-group textarea,
.portal-body .form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.portal-body .form-group input[type="text"]:focus,
.portal-body .form-group input[type="email"]:focus,
.portal-body .form-group input[type="password"]:focus,
.portal-body .form-group input[type="url"]:focus,
.portal-body .form-group textarea:focus,
.portal-body .form-group select:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.portal-body .btn-primary {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(30, 64, 175, 0.2);
}

.portal-body .btn-primary:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e3a8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(30, 64, 175, 0.3);
}

.portal-body .btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(107, 114, 128, 0.2);
}

.portal-body .btn-secondary:hover {
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(107, 114, 128, 0.3);
}

.portal-body .card-title {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portal-body .portal-header-section {
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 1rem;
    border: none;
    box-shadow: none;
}

.portal-body .portal-header-section h1 {
    color: #1f2937;
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.portal-body .welcome-message {
    color: #6b7280;
    font-size: 1.1rem;
    margin-top: 0.5rem;
    line-height: 1.6;
}

.portal-body .welcome-message strong {
    color: #1e40af;
    font-weight: 600;
}

.portal-body .code-container {
    position: relative;
    margin-top: 1rem;
}

.portal-body .code-container button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

.portal-body .code-block {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #374151;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.portal-body .code-block pre {
    margin: 0;
    color: #e5e7eb;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.portal-body .code-block code {
    color: #60a5fa;
}

.portal-body .form-hint {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    line-height: 1.5;
}

.portal-body .summary-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
}

.portal-body .summary-section h4 {
    color: #1f2937;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.portal-body .summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.portal-body .summary-item:last-child {
    border-bottom: none;
}

.portal-body .summary-label {
    font-weight: 500;
    color: #6b7280;
}

.portal-body .summary-value {
    font-weight: 600;
    color: #1f2937;
}

.portal-body .status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portal-body .status-badge.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.portal-body .status-badge.inactive {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(107, 114, 128, 0.2);
}

.portal-body .color-preview {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 2px solid #e5e7eb;
    margin-right: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.portal-body .preview-notice {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #3b82f6;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.1);
}

.portal-body .notice-content h4 {
    color: #1e40af;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.portal-body .notice-content p {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.portal-body .notice-tips {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.portal-body .notice-tips p {
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #1e40af;
}

.portal-body .notice-tips ul {
    margin: 0;
    padding-left: 1.5rem;
}

.portal-body .notice-tips li {
    color: #4b5563;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* ===== POPUP SYSTEM STYLES ===== */

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1100; /* Höher als der Header */
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.popup-overlay.active .popup-container {
    transform: scale(1);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.popup-title {
    font-size: 1.5rem;
    font-family: var(--font-headline);
    color: var(--color-text);
}

.popup-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #9ca3af;
}

.popup-message {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
}

.popup-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* === SCREEN READER ONLY === */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ======================================================================== */
/* ### FINALE MOBILE HEADER OVERRIDES ### */
/* ======================================================================== */
/* Diese Regeln werden am Ende der Datei geladen, um alle vorherigen 
   Konflikte für die mobile Ansicht endgültig zu überschreiben. */

@media (max-width: 768px) {
    /* Erzwingt die vertikale Zentrierung für alle Elemente im Header */
    body .main-header .header-container {
        align-items: center !important;
    }

    /* Stellt die korrekte, vergrößerte Logo-Größe sicher */
    body .main-header .logo img {
        height: 75px !important;
    }
}

@media (max-width: 480px) {
    /* Stellt die korrekte, vergrößerte Logo-Größe für sehr kleine Bildschirme sicher */
    body .main-header .logo img {
        height: 65px !important;
    }
}

/* ======================================================================== */
/* ### ALLERLETZTER, SPEZIFISCHER MOBILE HEADER FIX ### */
/* ======================================================================== */
/* Dieser Block überschreibt alle widersprüchlichen Stile für den mobilen Header. */

@media (max-width: 768px) {

    /* 1. Vertikale Zentrierung mit passender Header-Höhe */
    body header.main-header div.header-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 105px !important; /* Etwas höher als das 95px Logo */
    }

    /* 2. Logo-Größe erzwingen - MOBILE: 95px */
    body header.main-header div.header-container a.logo img {
        height: 95px !important;
        width: auto !important;
    }
    
    /* 3. Header selbst auf die richtige Höhe setzen */
    body header.main-header {
        height: 105px !important;
    }
    
    /* 3. Hamburger-Menü vertikale Zentrierung und Positionierung */
    body header.main-header div.header-container button.mobile-nav-toggle {
        display: block !important;
        order: 3 !important;
        align-self: center !important;
        margin: 0 !important;
        padding: 0.5rem !important;
        background: none !important;
        border: none !important;
        color: white !important;
        font-size: 1.8rem !important;
    }
    
    /* 4. Mobile Menü unter dem höheren Header positionieren */
    body header.main-header div.header-right-group {
        top: 105px !important; /* Unter dem 105px hohen mobilen Header */
    }
}

.generate-btn > * {
    pointer-events: none; /* Stellt sicher, dass der Klick auf dem Button landet */
}

/* === SUCCESS BANNER === */
.success-banner {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-banner p {
    margin: 0;
    font-weight: 600;
    font-size: 1.1rem;
}
