/* ============================================================
   RESET & GRUNDLAGEN
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    background: radial-gradient(ellipse at center, #0a0f2a 0%, #030617 100%);
    color: #e2e8f0;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    padding: clamp(1rem, 4vw, 3rem) clamp(0.8rem, 3vw, 2rem);
    position: relative;
    overflow-x: hidden;
}
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.star {
    position: absolute;
    background: radial-gradient(circle, #ffffff, #fff8e7);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 240, 180, 0.6);
    opacity: 0;
    animation: twinkle infinite ease-in-out;
}
.star.small { width: 1.5px; height: 1.5px; }
.star.medium { width: 2.5px; height: 2.5px; }
.star.large { width: 3.5px; height: 3.5px; }
@keyframes twinkle {
    0% { opacity: 0.1; transform: scale(1); box-shadow: 0 0 2px rgba(255,240,200,0.3); }
    25% { opacity: 1; transform: scale(1.2); box-shadow: 0 0 8px rgba(255,240,180,0.9); }
    50% { opacity: 0.6; transform: scale(0.9); box-shadow: 0 0 5px rgba(255,235,160,0.6); }
    75% { opacity: 0.9; transform: scale(1.1); box-shadow: 0 0 7px rgba(255,245,200,0.8); }
    100% { opacity: 0.15; transform: scale(1); box-shadow: 0 0 2px rgba(255,240,200,0.3); }
}

.container {
    max-width: min(900px, 95vw);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.card {
    background: rgba(20, 25, 45, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: clamp(1.2rem, 4vw, 2rem);
    padding: clamp(1.2rem, 4vw, 2.5rem);
    margin-bottom: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid rgba(120, 100, 180, 0.4);
    box-shadow: 0 20px 35px -15px rgba(0, 0, 0, 0.5);
}
h1 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 800;
    background: linear-gradient(135deg, #f5e6d3, #c9b6e0, #a0d0ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-align: center;
    letter-spacing: 0.05em;
    line-height: 1.2;
}
.sub {
    text-align: center;
    color: #b0b8d0;
    margin-bottom: clamp(1.2rem, 3vw, 2rem);
    font-style: italic;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.language-selector {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    background: rgba(26, 31, 46, 0.4);
    border-radius: 2rem;
    border: 1px solid #334155;
}
.lang-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #9aa2c0;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    cursor: pointer;
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    transition: all 0.2s;
    font-family: inherit;
}
.lang-btn:hover {
    color: #d0d8f0;
    border-color: #5a4a8a;
}
.lang-btn.active {
    color: #c084fc;
    border-color: #c084fc;
    background: rgba(192, 132, 252, 0.1);
}
.lang-btn .flag {
    margin-right: 0.3rem;
}

.form-group {
    margin-bottom: clamp(0.8rem, 2vw, 1.5rem);
}
label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #d0d8f0;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
}
input, select {
    width: 100%;
    padding: clamp(0.5rem, 1.2vw, 0.75rem) clamp(0.6rem, 1.2vw, 1rem);
    background: rgba(26, 31, 46, 0.8);
    border: 1px solid #334155;
    border-radius: clamp(0.6rem, 1.5vw, 1rem);
    color: #f0f3fa;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
input:focus, select:focus {
    outline: none;
    border-color: #c084fc;
    box-shadow: 0 0 8px rgba(192, 132, 252, 0.3);
}
input::placeholder { color: #6a6f87; }
small {
    color: #9aa2c0;
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    display: block;
    margin-top: 0.2rem;
}

.horoscope-select {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
    gap: 0.5rem;
    background: rgba(26, 31, 46, 0.4);
    padding: clamp(0.5rem, 1.5vw, 1rem);
    border-radius: clamp(0.6rem, 1.5vw, 1rem);
    border: 1px solid #334155;
}
.horoscope-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.7rem;
    border-radius: 0.7rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
    background: rgba(26, 31, 46, 0.3);
}
.horoscope-option:hover { background: rgba(192, 132, 252, 0.08); }
.horoscope-option.selected {
    background: rgba(46, 125, 50, 0.15);
    border-color: #4CAF50;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.15);
}
.horoscope-option input[type="checkbox"] {
    position: relative;
    width: clamp(20px, 2.5vw, 26px);
    height: clamp(20px, 2.5vw, 26px);
    flex-shrink: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(26, 31, 46, 0.8);
    border: 2px solid #556;
    border-radius: 0.3rem;
    transition: all 0.25s ease;
    margin: 0;
}
.horoscope-option input[type="checkbox"]:checked {
    background: #4CAF50;
    border-color: #4CAF50;
    box-shadow: 0 0 12px rgba(76, 175, 80, 0.4);
}
.horoscope-option input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: clamp(14px, 1.8vw, 18px);
    font-weight: 700;
    line-height: 1;
}
.horoscope-option.selected:hover {
    background: rgba(46, 125, 50, 0.25);
    border-color: #66BB6A;
}
.horoscope-option label {
    font-weight: 400;
    font-size: clamp(0.8rem, 1.3vw, 0.95rem);
    color: #b0b8d0;
    cursor: pointer;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s;
}
.horoscope-option.selected label { color: #e8f5e9; }
.horoscope-option .icon { font-size: clamp(1rem, 1.5vw, 1.2rem); }
.horoscope-option.synastry {
    grid-column: 1 / -1;
    border-top: 1px solid #334155;
    padding-top: 0.7rem;
    margin-top: 0.2rem;
    justify-content: center;
}
.horoscope-option.synastry label {
    font-weight: 600;
    color: #c084fc;
}
.horoscope-option.synastry.selected {
    border-color: #c084fc;
    background: rgba(192, 132, 252, 0.12);
}
.horoscope-option.synastry input[type="checkbox"]:checked {
    background: #c084fc;
    border-color: #c084fc;
    box-shadow: 0 0 12px rgba(192, 132, 252, 0.4);
}
.horoscope-option.synastry.selected label { color: #e8d4ff; }
.horoscope-option.sex-option.selected {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.12);
}
.horoscope-option.sex-option input[type="checkbox"]:checked {
    background: #ff6b6b;
    border-color: #ff6b6b;
    box-shadow: 0 0 12px rgba(255, 107, 107, 0.4);
}
.horoscope-option.sex-option.selected label { color: #ffd4d4; }
.horoscope-option.cultural {
    border-top: 1px solid #334155;
    margin-top: 0.2rem;
    padding-top: 0.5rem;
}
.horoscope-option.cultural label { color: #a0c0e0; }
.horoscope-option.cultural.selected {
    border-color: #64b5f6;
    background: rgba(100, 181, 246, 0.12);
}
.horoscope-option.cultural input[type="checkbox"]:checked {
    background: #64b5f6;
    border-color: #64b5f6;
    box-shadow: 0 0 12px rgba(100, 181, 246, 0.4);
}
.horoscope-option.cultural.selected label { color: #bbdefb; }

.select-all-wrapper {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}
.select-all-btn {
    background: rgba(192, 132, 252, 0.15);
    color: #c084fc;
    border: 1px solid #c084fc;
    padding: 0.25rem 0.8rem;
    border-radius: 2rem;
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}
.select-all-btn:hover { background: rgba(192, 132, 252, 0.3); }
.selected-count {
    color: #9aa2c0;
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    display: flex;
    align-items: center;
}

.partner-entry {
    background: rgba(26, 31, 46, 0.4);
    padding: clamp(0.5rem, 1.5vw, 0.8rem);
    border-radius: clamp(0.6rem, 1.5vw, 1rem);
    margin-bottom: 0.5rem;
    border: 1px solid #334155;
}
.partner-entry .partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(140px, 100%), 1fr));
    gap: 0.4rem;
    align-items: end;
}
.partner-entry .partner-grid .field { min-width: 0; }
.partner-entry .partner-grid .field label {
    font-size: clamp(0.6rem, 1vw, 0.7rem);
    color: #9aa2c0;
    font-weight: 400;
    margin-bottom: 0.1rem;
}
.partner-entry .partner-grid .field input,
.partner-entry .partner-grid .field select {
    padding: clamp(0.3rem, 0.8vw, 0.5rem) clamp(0.4rem, 0.8vw, 0.6rem);
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
    border-radius: clamp(0.4rem, 1vw, 0.6rem);
}
.partner-entry .remove-partner {
    background: none;
    border: none;
    color: #f5a5a5;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    cursor: pointer;
    padding: 0 0.3rem;
    line-height: 1;
    align-self: center;
    justify-self: end;
}
.partner-entry .remove-partner:hover { color: #ff6b6b; }
.secondary-btn {
    background: rgba(192, 132, 252, 0.15);
    color: #c084fc;
    border: 1px solid #c084fc;
    padding: clamp(0.3rem, 0.8vw, 0.5rem) clamp(0.8rem, 2vw, 1.5rem);
    border-radius: 2rem;
    font-size: clamp(0.8rem, 1.2vw, 0.9rem);
    cursor: pointer;
    transition: background 0.2s;
    width: auto;
}
.secondary-btn:hover { background: rgba(192, 132, 252, 0.3); }
.partner-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.partner-info small {
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    margin: 0;
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.5rem;
}
button[type="submit"] {
    background: linear-gradient(135deg, #6d5acf, #4a3a8a);
    color: white;
    border: none;
    padding: clamp(0.7rem, 1.5vw, 0.9rem) clamp(1rem, 2vw, 2rem);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 600;
    border-radius: 2rem;
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px #5a4ab0;
}
button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.story-btn {
    background: rgba(192, 132, 252, 0.15);
    color: #c084fc;
    border: 1px solid #c084fc;
    padding: clamp(0.5rem, 1vw, 0.6rem) clamp(1rem, 2vw, 1.5rem);
    border-radius: 2rem;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    font-weight: 500;
    box-sizing: border-box;
}
.story-btn:hover {
    background: rgba(192, 132, 252, 0.3);
    transform: translateY(-1px);
}
.story-btn a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
}

.loading {
    text-align: center;
    padding: clamp(1.5rem, 4vw, 3rem);
}
.spinner {
    border: 4px solid rgba(109, 90, 207, 0.3);
    border-radius: 50%;
    border-top: 4px solid #c084fc;
    width: clamp(35px, 6vw, 50px);
    height: clamp(35px, 6vw, 50px);
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.result {
    background: rgba(15, 20, 35, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: clamp(1rem, 3vw, 1.5rem);
    padding: clamp(1rem, 2.5vw, 1.8rem);
    line-height: 1.8;
    border-left: 4px solid #c084fc;
    font-size: clamp(0.9rem, 1.3vw, 1rem);
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.result h2 {
    color: #c084fc;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #334155;
    padding-bottom: 0.3rem;
}
.result h2:first-of-type { margin-top: 0; }
.result h3 {
    color: #a0d0ff;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-top: 1.2rem;
    margin-bottom: 0.3rem;
}
.result h4 {
    color: #d9c8ff;
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    margin-top: 0.8rem;
    margin-bottom: 0.2rem;
}
.result strong { color: #c9b0ff; font-weight: 600; }
.result em { color: #d0d8f0; }
.result p { margin-bottom: 0.8rem; }
.result ul, .result ol { padding-left: 1.5rem; margin-bottom: 0.8rem; }
.result li { margin-bottom: 0.3rem; }
.result hr {
    border-color: #334155;
    margin: 1.5rem 0;
    display: none;
}
.result .astro-info {
    background: rgba(30, 35, 55, 0.7);
    border-radius: clamp(0.6rem, 1.5vw, 1rem);
    padding: clamp(0.5rem, 1.2vw, 0.8rem) clamp(0.8rem, 1.5vw, 1.2rem);
    margin-bottom: 1.5rem;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(0.3rem, 1vw, 1.2rem);
    font-weight: 500;
}
.result .astro-info span {
    background: rgba(30, 31, 46, 0.8);
    padding: 0.2rem clamp(0.5rem, 1.2vw, 1rem);
    border-radius: 2rem;
    font-size: clamp(0.75rem, 1.2vw, 0.95rem);
    border: 1px solid #5a4a8a;
    white-space: nowrap;
}

.planet-wheel-container {
    margin: 1.5rem 0;
    text-align: center;
}
.planet-wheel {
    background: rgba(15, 20, 34, 0.9);
    border-radius: 50%;
    border: 1px solid #5a4a8a;
    box-shadow: 0 0 25px rgba(192, 132, 252, 0.15);
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
.planet-wheel-caption {
    font-size: clamp(0.6rem, 1vw, 0.75rem);
    color: #9aa2c0;
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
}
.planet-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem 0.8rem;
    justify-content: center;
    margin-top: 0.75rem;
    font-size: clamp(0.6rem, 0.9vw, 0.7rem);
    color: #b0b8d0;
}
.planet-legend-item {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.planet-legend-dot {
    display: inline-block;
    width: clamp(8px, 1.2vw, 12px);
    height: clamp(8px, 1.2vw, 12px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

#sex-positions { margin-top: 1.5rem; }
#sex-positions h3 {
    color: #c084fc;
    border-bottom: 1px solid #334155;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.partner-sex-group { margin-bottom: 2rem; }
.partner-sex-group h4 {
    color: #ff6b6b;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 0.5rem;
    border-left: 3px solid #ff6b6b;
    padding-left: 0.8rem;
}
.position-card {
    background: rgba(30, 35, 55, 0.6);
    border-radius: 1rem;
    padding: 1.2rem;
    border: 1px solid #5a4a8a;
    transition: all 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.position-card:hover {
    border-color: #c084fc;
    box-shadow: 0 0 20px rgba(192, 132, 252, 0.1);
}
.position-card h4 {
    color: #f0e6ff;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 0.3rem;
}
.position-card .kurz {
    font-size: clamp(0.75rem, 1vw, 0.85rem);
    color: #b0b8d0;
    margin-bottom: 0.8rem;
    font-style: italic;
}
.position-card .beschreibung {
    font-size: clamp(0.85rem, 1.1vw, 0.95rem);
    line-height: 1.6;
    color: #d0d8f0;
    white-space: pre-line;
    flex: 1;
}
.position-card .tags {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}
.position-card .tags span {
    background: rgba(192, 132, 252, 0.15);
    color: #c084fc;
    padding: 0.1rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.6rem;
}
.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
    margin-top: 0.5rem;
}

.share-section {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #334155;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}
.share-btn {
    padding: clamp(0.3rem, 0.8vw, 0.5rem) clamp(0.6rem, 1.5vw, 1rem);
    border-radius: 2rem;
    font-size: clamp(0.7rem, 1vw, 0.85rem);
    border: none;
    background: #1e293b;
    color: #e2e8f0;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}
.share-btn:hover { transform: scale(1.04); }
.share-btn.whatsapp { background: #25D366; color: white; }
.share-btn.telegram { background: #0088cc; color: white; }
.share-btn.email { background: #ea4335; color: white; }
.share-btn.copy { background: #64748b; color: white; }
.share-btn.download { background: #3b82f6; color: white; }

.toast {
    position: fixed;
    bottom: clamp(1rem, 3vw, 2rem);
    left: 50%;
    transform: translateX(-50%);
    background: #1a202c;
    color: #f0e6ff;
    padding: clamp(0.4rem, 1vw, 0.6rem) clamp(0.8rem, 2vw, 1.2rem);
    border-radius: 2rem;
    font-size: clamp(0.75rem, 1.2vw, 0.85rem);
    z-index: 1000;
    animation: fadeOut 2.8s forwards;
    border: 1px solid #c084fc;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    max-width: 90vw;
    text-align: center;
}
@keyframes fadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

#story {
    scroll-margin-top: 2rem;
    margin: 2rem 0;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: rgba(20, 25, 45, 0.6);
    backdrop-filter: blur(6px);
    border-radius: clamp(1.2rem, 2vw, 2rem);
    border: 1px solid rgba(120, 100, 180, 0.3);
}
#story h2 {
    color: #f0e6ff;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    text-align: center;
    margin-bottom: 1.5rem;
}
#story p {
    color: #d0d8f0;
    line-height: 1.8;
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    margin-bottom: 1rem;
}
#story p:last-child { margin-bottom: 0; }
#story .story-quote {
    font-style: italic;
    color: #c084fc;
    text-align: center;
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    margin: 1.5rem 0;
    padding: 0 1rem;
}

.donation-card {
    border: 2px solid #c084fc;
    background: rgba(192, 132, 252, 0.08);
    margin-top: 2rem;
}
.donation-card .donation-icon {
    flex: 0 0 60px;
    text-align: center;
    font-size: 3rem;
}
.donation-card .donation-content {
    flex: 1;
    min-width: 200px;
}
.donation-card .donation-content h3 {
    color: #f0e6ff;
    margin-bottom: 0.3rem;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}
.donation-card .donation-content p {
    color: #b0b8d0;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 600px;
}
.donation-card .donation-content p .highlight { color: #c084fc; font-weight: 600; }
.donation-btn {
    background: linear-gradient(135deg, #c084fc, #6d5acf);
    color: white;
    border: none;
    padding: 0.6rem 1.8rem;
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    white-space: nowrap;
}
.donation-btn:hover { transform: scale(1.05); }
.donation-amounts {
    margin-top: 0.8rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}
.donation-amounts .label {
    font-size: 0.7rem;
    color: #6a6f87;
}
.donate-amount {
    background: rgba(192, 132, 252, 0.15);
    border: 1px solid #5a4a8a;
    border-radius: 2rem;
    padding: 0.2rem 1rem;
    color: #b0b8d0;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
}
.donate-amount:hover {
    border-color: #c084fc;
    color: #f0e6ff;
}
.donate-amount.active {
    border-color: #c084fc;
    background: rgba(192, 132, 252, 0.25);
    color: #f0e6ff;
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.2);
}
.donation-footer {
    margin-top: 0.5rem;
    font-size: 0.7rem;
    color: #6a6f87;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

footer {
    text-align: center;
    margin-top: 2rem;
    font-size: clamp(0.6rem, 0.9vw, 0.7rem);
    color: #6a6f87;
}
footer a { color: #9b8ed0; text-decoration: none; }

/* ============================================================
   MEDIA QUERIES
   ============================================================ */
@media (max-width: 400px) {
    .partner-entry .partner-grid { grid-template-columns: 1fr 1fr; }
    .horoscope-select { grid-template-columns: 1fr 1fr; }
    .result .astro-info span { white-space: normal; font-size: 0.7rem; }
    .positions-grid { grid-template-columns: 1fr; }
    .language-selector { gap: 0.2rem; }
    .lang-btn { padding: 0.2rem 0.5rem; font-size: 0.7rem; }
    .donation-card .donation-icon { flex: 0 0 40px; font-size: 2rem; }
    .donation-btn { padding: 0.4rem 1rem; font-size: 0.85rem; }
    .donation-amounts .label { font-size: 0.6rem; }
    .donate-amount { padding: 0.15rem 0.6rem; font-size: 0.7rem; }
    #story { padding: 1rem; }
}
@media (min-width: 401px) and (max-width: 768px) {
    .partner-entry .partner-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .horoscope-select { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .positions-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) {
    .container { max-width: 1000px; }
    .horoscope-select { grid-template-columns: repeat(4, 1fr); }
    .horoscope-option.synastry { grid-column: 1 / -1; }
    .partner-entry .partner-grid { grid-template-columns: repeat(5, 1fr); }
    .positions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-height: 500px) and (orientation: landscape) {
    .card { padding: 0.8rem; }
    .form-group { margin-bottom: 0.5rem; }
    h1 { font-size: 1.5rem; }
    .sub { margin-bottom: 0.8rem; font-size: 0.8rem; }
    button[type="submit"] { padding: 0.4rem 1rem; font-size: 0.85rem; }
    .story-btn { padding: 0.3rem 0.8rem; font-size: 0.8rem; }
    .partner-entry .partner-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .positions-grid { grid-template-columns: 1fr 1fr; }
    #story { padding: 0.8rem; }
    #story p { font-size: 0.9rem; }
}
@media print {
    .stars { display: none; }
    body { background: white; color: black; padding: 0.5cm; }
    .card { background: white; border: 1px solid #ccc; box-shadow: none; backdrop-filter: none; }
    .result { border-left-color: #666; background: #f9f9f9; }
    .result h2 { color: #333; border-color: #ccc; }
    .result h3 { color: #444; }
    .result strong { color: #333; }
    .result hr { display: none; }
    .result .astro-info span { border-color: #ccc; background: #eee; color: #333; }
    button, .share-btn, .secondary-btn, .select-all-btn, .story-btn { display: none !important; }
    #story { border: 1px solid #ccc; background: #f9f9f9; }
    #story h2 { color: #333; }
    #story p { color: #333; }
    #story .story-quote { color: #666; }
}
@media (prefers-reduced-motion: reduce) {
    .star { animation: none !important; opacity: 0.5 !important; }
    .spinner { animation: none !important; border: 4px solid #c084fc; }
    .toast { animation: none !important; opacity: 1 !important; visibility: visible !important; }
}
@media (prefers-color-scheme: light) {
    body { background: radial-gradient(ellipse at center, #e8e0f0 0%, #d0c8e0 100%); color: #1a1a2e; }
    .card { background: rgba(255,255,255,0.85); border-color: rgba(120,100,180,0.3); }
    input, select { background: rgba(255,255,255,0.9); border-color: #b0a8c0; color: #1a1a2e; }
    .horoscope-select { background: rgba(240,235,250,0.5); border-color: #b0a8c0; }
    .horoscope-option { background: rgba(240,235,250,0.3); }
    .horoscope-option.selected { background: rgba(46,125,50,0.12); border-color: #4CAF50; }
    .horoscope-option input[type="checkbox"] { background: rgba(255,255,255,0.9); border-color: #b0a8c0; }
    .horoscope-option input[type="checkbox"]:checked { background: #4CAF50; border-color: #4CAF50; }
    .horoscope-option label { color: #4a4a6a; }
    .horoscope-option.selected label { color: #1a1a2e; }
    .horoscope-option.synastry.selected { border-color: #6d5acf; background: rgba(109,90,207,0.1); }
    .horoscope-option.synastry input[type="checkbox"]:checked { background: #6d5acf; border-color: #6d5acf; }
    .horoscope-option.sex-option.selected { border-color: #e53935; background: rgba(229,57,53,0.1); }
    .horoscope-option.sex-option input[type="checkbox"]:checked { background: #e53935; border-color: #e53935; }
    .horoscope-option.cultural.selected { border-color: #42a5f5; background: rgba(66,165,245,0.1); }
    .horoscope-option.cultural input[type="checkbox"]:checked { background: #42a5f5; border-color: #42a5f5; }
    .result { background: rgba(255,255,255,0.9); border-left-color: #6d5acf; }
    .result h2 { color: #4a3a8a; border-color: #d0c8e0; }
    .result h3 { color: #5a4a8a; }
    .result strong { color: #6d5acf; }
    .result hr { display: none; }
    .result .astro-info { background: rgba(240,235,250,0.7); }
    .result .astro-info span { background: rgba(255,255,255,0.8); border-color: #b0a8c0; color: #1a1a2e; }
    .planet-wheel { background: rgba(255,255,255,0.9); border-color: #b0a8c0; }
    .planet-legend { color: #4a4a6a; }
    .partner-entry { background: rgba(240,235,250,0.5); border-color: #b0a8c0; }
    .partner-entry .partner-grid .field label { color: #6a6a8a; }
    .partner-entry .partner-grid .field input, .partner-entry .partner-grid .field select { background: rgba(255,255,255,0.9); border-color: #b0a8c0; color: #1a1a2e; }
    .secondary-btn { color: #6d5acf; border-color: #6d5acf; }
    .select-all-btn { color: #6d5acf; border-color: #6d5acf; }
    footer { color: #8a8aaa; }
    .toast { background: #f0ecf5; color: #1a1a2e; border-color: #6d5acf; }
    .position-card { background: rgba(240,235,250,0.6); border-color: #b0a8c0; }
    .position-card h4 { color: #4a3a8a; }
    .position-card .beschreibung { color: #3a3a5a; }
    .position-card .kurz { color: #6a6a8a; }
    .position-card .tags span { background: rgba(109,90,207,0.1); color: #6d5acf; }
    .partner-sex-group h4 { color: #e53935; }
    .lang-btn { color: #6a6a8a; }
    .lang-btn:hover { color: #1a1a2e; border-color: #b0a8c0; }
    .lang-btn.active { color: #6d5acf; border-color: #6d5acf; background: rgba(109,90,207,0.08); }
    .donation-card { border-color: #6d5acf; background: rgba(109,90,207,0.06); }
    .donation-card .donation-content h3 { color: #4a3a8a; }
    .donation-card .donation-content p { color: #4a4a6a; }
    .donation-card .donation-content p .highlight { color: #6d5acf; }
    .donation-btn { background: linear-gradient(135deg, #6d5acf, #4a3a8a); }
    .donate-amount { color: #4a4a6a; border-color: #b0a8c0; }
    .donate-amount:hover { border-color: #6d5acf; color: #1a1a2e; }
    .donate-amount.active { border-color: #6d5acf; background: rgba(109,90,207,0.15); color: #1a1a2e; }
    .story-btn { background: rgba(109,90,207,0.1); border-color: #6d5acf; color: #6d5acf; }
    .story-btn:hover { background: rgba(109,90,207,0.2); }
    #story { background: rgba(245,240,255,0.7); border-color: #b0a8c0; }
    #story h2 { color: #4a3a8a; }
    #story p { color: #3a3a5a; }
    #story .story-quote { color: #6d5acf; }
}