/* Allgemeine Styles */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Logo Styles */
.logo-container {
    position: relative;
    padding: 0 10px;
}

.logo-oval {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: -1;
}

.logo-text {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.inside-logo {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Hero Section */
.hero-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.starburst {
    position: relative;
    background: #ef4444;
    width: 120px;
    height: 120px;
    text-align: center;
    color: white;
    transform: rotate(15deg);
}

.starburst:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ef4444;
    transform: rotate(45deg);
    z-index: -1;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* How it Works Section */
.step-number {
    position: relative;
    width: 40px;
    height: 40px;
    background-color: #ef4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    left: -20px;
}

/* Pricing Cards */
.pricing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover:not(.transform) {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Testimonial Cards */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Form Styles */
input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-badge {
        top: 10px;
        right: 10px;
    }
    
    .starburst {
        width: 80px;
        height: 80px;
        font-size: 0.8rem;
    }
}

/* Accessibility Improvements */
.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;
}

.sr-only.focus:not-sr-only {
    position: fixed;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    z-index: 9999;
}

/* Focus Styles */
a:focus, button:focus, input:focus, textarea:focus, select:focus, summary:focus {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}

a:focus:not(:focus-visible), button:focus:not(:focus-visible), 
input:focus:not(:focus-visible), textarea:focus:not(:focus-visible), 
select:focus:not(:focus-visible), summary:focus:not(:focus-visible) {
    outline: none;
}

a:focus-visible, button:focus-visible, input:focus-visible, 
textarea:focus-visible, select:focus-visible, summary:focus-visible {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.3);
}

/* Improved Form Elements */
.agb-checkbox-container {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
}

/* Details/Summary for FAQ */
details {
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

details summary {
    cursor: pointer;
    position: relative;
    padding: 1rem;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
}

details summary:hover {
    background-color: #f3f4f6;
}

details summary:focus {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}

details[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

details[open] summary ~ * {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Generated Content Styles */
.generated-content {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    animation: fadeIn 0.5s ease-in-out;
}

.generated-content h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.generated-content-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.generated-content-actions button {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Loading Indicator */
.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.loading-spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 4px solid rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Messages */
.error-message {
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    background-color: #fee2e2;
    color: #b91c1c;
    border-radius: 0.375rem;
    border-left: 4px solid #ef4444;
}

/* Success Messages */
.success-message {
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    background-color: #d1fae5;
    color: #047857;
    border-radius: 0.375rem;
    border-left: 4px solid #10b981;
}
