/* Grundlegendes Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4efe9 100%);
    color: #333;
    line-height: 1.6;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    color: #2c3e50;
    margin-bottom: 5px;
}

header p {
    /* color: #7f8c8d;*/
    color: #5c6b72;
    font-style: italic;
}

/* Hero Bereich */
.hero {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero h2 {
    color: #2c3e50;
    margin-top: 0;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #2c3e50;
    margin-top: 0;
}

/* Buttons */
.btn {
    display: inline-block;
    background: #3498db;
    /* color: white; */
    color: #f2f2f2;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background 0.3s;
}

.btn:hover {
    background: #2980b9;
}

/* Warn-Banner */
.warning-banner {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
    text-align: center;
}

.warning-banner h3 {
    margin-top: 0;
}

/* Privacy Promise */
.privacy-promise {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.privacy-promise ul {
    list-style: none;
    padding: 0;
}

.privacy-promise li {
    padding: 8px 0;
    font-weight: bold;
}

/* Container */
.container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Formulare */
.analysis-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
}

.form-group input {
    width: 90%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
}


/* Responsive Design */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 20px;
    }

    .container {
        padding: 20px;
    }
}

.chart-container {
    height: 400px;
    margin: 30px 0;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.today-analysis {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid #3498db;
}

.check-date {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.check-date input {
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    flex: 1;
}

.check-date button {
    padding: 10px 20px;
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#termin-warnung {
    background: #ffebee;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
    border-left: 4px solid #f44336;
}

.privacy-hint {
    font-size: 12px;
    /* color: #666;*/
    color: #444;
    margin-top: 5px;
}


.kompatibilitaetsanalyse {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #3498db;
}

.gesamtanalyse h3,
.kompatibilitaetswerte h4,
.staerken h4,
.herausforderungen h4,
.tipps-liste h4,
.liebestipp h4,
.empathie-impuls h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.wert-karten {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.wert-karte {
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    color: white;
    font-weight: 600;
}

.wert-karte.compat-high {
    background: #27ae60;
}

.wert-karte.compat-mid {
    background: #f39c12;
}

.wert-karte.compat-low {
    background: #e74c3c;
}

.wert-karte .wert {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.tipps-liste ul {
    list-style: none;
    padding: 0;
}

.tipps-liste li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.tipps-liste li:last-child {
    border-bottom: none;
}

.liebes-zitat {
    font-style: italic;
    color: #e74c3c;
    text-align: center;
    font-size: 1.1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 8px;
}

.frage {
    background: rgba(52, 152, 219, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.couple-chart {
    height: 420px;
    margin: 2rem 0
}

.compat-box {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin: 1rem 0
}

.compat-box div {
    flex: 1;
    text-align: center;
    padding: .8rem;
    border-radius: 8px;
    color: #fff;
    font-weight: 600
}

.compat-high {
    background: #27ae60
}

.compat-mid {
    background: #f39c12
}

.compat-low {
    background: #e74c3c
}

/* Ladebalken Styles */
.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.loading-text {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: .5rem
}

.checkbox-row input {
    width: auto;
    margin: 0
}

.feature-grid-couple {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: fit-content;
}

@media (max-width: 768px) {
    .feature-grid-couple {
        flex-direction: column;
    }
}