/* generiert aus rechner/tools/etf-sparplan-rechner.html – nicht direkt bearbeiten */
.fm24-tool h1, .fm24-tool h2, .fm24-tool h3, .fm24-tool h4, .fm24-tool h5, .fm24-tool h6, .fm24-tool p, .fm24-tool li, .fm24-tool label, .fm24-tool td, .fm24-tool th, .fm24-tool small, .fm24-tool strong { color: inherit; letter-spacing: normal; }
.fm24-tool h1, .fm24-tool h2, .fm24-tool h3, .fm24-tool h4 { line-height: 1.3; }

        .fm24-tool, .fm24-tool * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .fm24-tool {
            --primary: #0088CC;
            --secondary: #e36159;
            --tertiary: #2BAAB1;
            --light: #FFFFFF;
            --muted: #F5F5F5;
            --border: #E0E0E0;
            --text: #333333;
            --text-light: #666666;
        }

        .fm24-tool {
            font-family: Poppins, Arial, sans-serif;
            background-color: var(--muted);
            color: var(--text);
            line-height: 1.6;
            font-size: 16px;
        }

        .fm24-tool .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        .fm24-tool .header {
            background: linear-gradient(135deg, var(--primary) 0%, #0066AA 100%);
            color: white;
            padding: 30px 20px;
            margin-bottom: 40px;
        }

        .fm24-tool .header h1 {
            font-size: 28px;
            margin-bottom: 5px;
            font-weight: 700;
        }

        .fm24-tool .header p {
            font-size: 14px;
            opacity: 0.95;
        }

        /* Progress Bar */
        .fm24-tool .progress-container {
            background: white;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 30px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .fm24-tool .progress-bar {
            width: 100%;
            height: 8px;
            background-color: var(--border);
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 10px;
        }

        .fm24-tool .progress-fill {
            height: 100%;
            background-color: var(--primary);
            transition: width 0.3s ease;
        }

        .fm24-tool .progress-text {
            font-size: 12px;
            color: var(--text-light);
            text-align: center;
        }

        /* Form Card */
        .fm24-tool .form-card {
            background: white;
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 40px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .fm24-tool .form-card h2 {
            font-size: 24px;
            margin-bottom: 10px;
            color: var(--text);
            font-weight: 700;
        }

        .fm24-tool .form-card > p {
            color: var(--text-light);
            margin-bottom: 30px;
            font-size: 14px;
        }

        .fm24-tool .form-group {
            display: flex;
            flex-direction: column;
            margin-bottom: 25px;
        }

        .fm24-tool .form-group label {
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--text);
        }

        .fm24-tool .form-group input,
        .fm24-tool .form-group select,
        .fm24-tool .form-group textarea {
            padding: 10px 12px;
            border: 1px solid var(--border);
            border-radius: 6px;
            font-family: Poppins, Arial, sans-serif;
            font-size: 14px;
            transition: border-color 0.2s ease;
        }

        .fm24-tool .form-group input:focus,
        .fm24-tool .form-group select:focus,
        .fm24-tool .form-group textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
        }

        .fm24-tool .form-group textarea {
            resize: vertical;
            min-height: 80px;
        }

        .fm24-tool .etf-category {
            margin-bottom: 30px;
        }

        .fm24-tool .etf-category-title {
            font-size: 14px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 12px;
            padding-bottom: 8px;
            border-bottom: 2px solid var(--primary);
        }

        .fm24-tool .etf-checkbox {
            display: flex;
            align-items: center;
            padding: 12px;
            border: 1px solid var(--border);
            border-radius: 6px;
            margin-bottom: 10px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .fm24-tool .etf-checkbox:hover {
            background-color: var(--muted);
            border-color: var(--primary);
        }

        .fm24-tool .etf-checkbox input[type="checkbox"] {
            margin-right: 12px;
            cursor: pointer;
        }

        .fm24-tool .etf-info {
            flex: 1;
        }

        .fm24-tool .etf-name {
            font-weight: 600;
            color: var(--text);
            margin-bottom: 4px;
            font-size: 13px;
        }

        .fm24-tool .etf-details {
            font-size: 11px;
            color: var(--text-light);
        }

        .fm24-tool .tooltip {
            position: relative;
            display: inline-block;
            cursor: help;
            border-bottom: 1px dotted var(--primary);
            color: var(--primary);
            font-weight: 600;
        }

        .fm24-tool .tooltip .tooltiptext {
            visibility: hidden;
            width: 250px;
            background-color: var(--text);
            color: white;
            text-align: left;
            border-radius: 6px;
            padding: 8px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -125px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 12px;
            font-weight: normal;
        }

        .fm24-tool .tooltip:hover .tooltiptext {
            visibility: visible;
            opacity: 1;
        }

        /* Buttons */
        .fm24-tool button {
            padding: 12px 30px;
            border: none;
            border-radius: 6px;
            font-family: Poppins, Arial, sans-serif;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .fm24-tool .btn-primary {
            background-color: var(--primary);
            color: white;
        }

        .fm24-tool .btn-primary:hover {
            background-color: #0070a8;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
        }

        .fm24-tool .btn-secondary {
            background-color: #e8e8e8;
            color: var(--text);
        }

        .fm24-tool .btn-secondary:hover {
            background-color: #d0d0d0;
        }

        .fm24-tool .btn-warning {
            background-color: var(--secondary);
            color: white;
        }

        .fm24-tool .btn-warning:hover {
            background-color: #d63f42;
        }

        .fm24-tool .button-group {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            flex-wrap: wrap;
        }

        /* Results */
        .fm24-tool .results-section {
            display: none;
        }

        .fm24-tool .results-section.active {
            display: block;
        }

        .fm24-tool .metrics {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 30px;
        }

        .fm24-tool .metric-card {
            background: white;
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            border: 1px solid var(--border);
        }

        .fm24-tool .metric-card .label {
            color: var(--text-light);
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .fm24-tool .metric-card .value {
            font-size: 24px;
            font-weight: 700;
            color: var(--primary);
        }

        .fm24-tool .chart-container {
            background: white;
            border-radius: 8px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            border: 1px solid var(--border);
        }

        .fm24-tool .chart-container h3 {
            margin-bottom: 20px;
            color: var(--text);
            font-size: 16px;
            font-weight: 600;
        }

        .fm24-tool .results-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
            border: 1px solid var(--border);
        }

        .fm24-tool .results-table th {
            background-color: var(--primary);
            color: white;
            padding: 15px;
            text-align: left;
            font-weight: 600;
            font-size: 13px;
        }

        .fm24-tool .results-table td {
            padding: 15px;
            border-bottom: 1px solid var(--border);
            font-size: 13px;
        }

        .fm24-tool .results-table tr:last-child td {
            border-bottom: none;
        }

        .fm24-tool .results-table tr:nth-child(even) {
            background-color: var(--muted);
        }

        .fm24-tool .disclaimer {
            background-color: #f0f0f0;
            border-left: 4px solid var(--text-light);
            padding: 15px;
            border-radius: 6px;
            font-size: 12px;
            color: var(--text-light);
            margin-bottom: 30px;
        }

        .fm24-tool .comparison-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }

        .fm24-tool .comparison-card {
            background: white;
            border: 1px solid var(--border);
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }

        .fm24-tool .comparison-card h4 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--primary);
        }

        .fm24-tool .comparison-card .metric {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid var(--border);
            font-size: 13px;
        }

        .fm24-tool .comparison-card .metric:last-child {
            border-bottom: none;
        }

        .fm24-tool .comparison-card .metric-label {
            color: var(--text-light);
        }

        .fm24-tool .comparison-card .metric-value {
            font-weight: 600;
            color: var(--text);
        }

        @media (max-width: 768px) {
            .fm24-tool .metrics {
                grid-template-columns: repeat(2, 1fr);
            }

            .fm24-tool .comparison-grid {
                grid-template-columns: 1fr;
            }

            .fm24-tool .button-group {
                flex-direction: column;
            }

            .fm24-tool button {
                width: 100%;
            }

            .fm24-tool .form-card {
                padding: 20px;
            }
        }

        @media print {
            .fm24-tool .header, .fm24-tool .form-card, .fm24-tool .button-group, .fm24-tool .progress-container {
                display: none;
            }

            .fm24-tool .results-section {
                display: block !important;
            }

            .fm24-tool {
                background: white;
            }

            .fm24-tool .metric-card, .fm24-tool .chart-container, .fm24-tool .results-table, .fm24-tool .comparison-card {
                page-break-inside: avoid;
                box-shadow: none;
            }

            .fm24-tool #coverPage {
                display: flex !important;
            }
        }

        .fm24-tool .step {
            display: none;
        }

        .fm24-tool .step.active {
            display: block;
        }
    
/* Anpassung an finanzmanager24.de */
.fm24-tool { font-family: inherit; color: var(--fm24-text, #4f5b66); line-height: 1.6; font-size: 16px; border-radius: 12px; }
.fm24-tool .header, .fm24-tool header.top { display: none !important; }
.fm24-tool .container, .fm24-tool .app { max-width: none; padding-left: 0; padding-right: 0; }
.fm24-tool h1, .fm24-tool h2, .fm24-tool h3 { text-transform: none; }
.fm24-tool input, .fm24-tool select, .fm24-tool textarea, .fm24-tool button { font-family: inherit; }
.fm24-tool a { text-decoration: underline; }
.fm24-tool .btn, .fm24-tool button { box-shadow: none; }
@media (max-width: 575px) { .fm24-tool .form-card, .fm24-tool .results-card { padding: 20px; } .fm24-tool div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; } .fm24-tool input, .fm24-tool select { max-width: 100%; } }
.fm24-tool .sidebar { top: 110px; }
.fm24-tool output { font-family: inherit; }
