/* geldklar.io Sparplan-Rechner – sparplan.css */

.geldklar-sparplan *,
.geldklar-sparplan *::before,
.geldklar-sparplan *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.geldklar-sparplan {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #1a1a1a;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 680px;
}

/* Grid */
.gk-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 1.25rem;
}

@media (max-width: 480px) {
    .gk-grid { grid-template-columns: 1fr; }
}

.gk-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gk-field label {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    text-transform: none;
}

.gk-field input[type="number"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    font-size: 15px;
    color: #1a1a1a;
    background: #fafafa;
    -moz-appearance: textfield;
}

.gk-field input[type="number"]:focus {
    outline: none;
    border-color: #1D9E75;
    background: #fff;
}

.gk-field input[type="number"]::-webkit-inner-spin-button,
.gk-field input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

/* Slider rows */
.gk-slider-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.gk-slider-row label {
    font-size: 12px;
    color: #666;
    min-width: 80px;
    font-weight: 500;
}

.gk-slider-row input[type="range"] {
    flex: 1;
    height: 4px;
    cursor: pointer;
    accent-color: #1D9E75;
}

.gk-slider-val {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    min-width: 44px;
    text-align: right;
}

/* Result cards */
.gk-results {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin: 1.25rem 0;
}

@media (max-width: 400px) {
    .gk-results { grid-template-columns: 1fr; }
}

.gk-stat {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 12px;
}

.gk-stat-label {
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.gk-stat-val {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
}

.gk-accent {
    color: #1D9E75;
}

/* Chart */
.gk-chart-wrap {
    position: relative;
    height: 200px;
    margin: 0.5rem 0 1.25rem;
}

/* Branding / SEO link */
.gk-branding {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #ebebeb;
    margin-top: 0.5rem;
}

.gk-branding a {
    font-size: 12px;
    color: #999;
    text-decoration: none;
    transition: color 0.15s;
}

.gk-branding a:hover {
    color: #1D9E75;
}

.gk-branding a strong {
    font-weight: 600;
    color: #555;
}
