/* generiert aus rechner/tools/schichten-finder.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;
        }

        /* Print Cover */
        .fm24-tool .print-cover {
            display: none;
            background: linear-gradient(135deg, var(--primary) 0%, #0066AA 100%);
            color: white;
            padding: 100px 40px;
            text-align: center;
            min-height: 100vh;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .fm24-tool .print-cover h1 {
            font-size: 48px;
            margin-bottom: 20px;
            font-weight: 700;
        }

        .fm24-tool .print-cover .logo {
            font-size: 32px;
            font-weight: 700;
            margin-bottom: 40px;
            letter-spacing: 1px;
        }

        .fm24-tool .print-cover p {
            font-size: 18px;
            margin-bottom: 10px;
            opacity: 0.95;
        }

        .fm24-tool .print-cover .date {
            margin-top: 60px;
            font-size: 14px;
            opacity: 0.8;
        }

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

        /* Main Layout */
        .fm24-tool .main-content {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 30px;
            padding: 0 20px 40px;
        }

        @media (max-width: 768px) {
            .fm24-tool .main-content {
                grid-template-columns: 1fr;
            }
        }

        /* Sidebar */
        .fm24-tool .sidebar {
            position: sticky;
            top: 20px;
            height: fit-content;
        }

        .fm24-tool .progress-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 .progress-card h3 {
            font-size: 12px;
            font-weight: 600;
            color: var(--text-light);
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .fm24-tool .progress-bar {
            height: 6px;
            background: var(--muted);
            border-radius: 3px;
            overflow: hidden;
            margin-bottom: 15px;
        }

        .fm24-tool .progress-fill {
            height: 100%;
            background: 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 {
            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 {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.1);
        }

        .fm24-tool .radio-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .fm24-tool .radio-option {
            display: flex;
            align-items: center;
            padding: 12px;
            border: 2px solid var(--border);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

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

        .fm24-tool .radio-option:hover {
            border-color: var(--primary);
            background-color: rgba(0, 136, 204, 0.05);
        }

        .fm24-tool .radio-option input[type="radio"]:checked + label {
            font-weight: 600;
            color: var(--primary);
        }

        .fm24-tool .radio-option input[type="radio"]:checked {
            accent-color: var(--primary);
        }

        .fm24-tool .info-text {
            background-color: #f0f7ff;
            border-left: 4px solid var(--primary);
            padding: 12px;
            border-radius: 4px;
            font-size: 12px;
            color: var(--text-light);
            margin-top: 8px;
        }

        /* Buttons */
        .fm24-tool .button-group {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            justify-content: space-between;
        }

        .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;
        }

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

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

        .fm24-tool .results-header {
            background: linear-gradient(135deg, var(--primary) 0%, #0066AA 100%);
            color: white;
            padding: 30px;
            border-radius: 8px;
            margin-bottom: 30px;
            text-align: center;
        }

        .fm24-tool .results-header h2 {
            font-size: 28px;
            margin-bottom: 10px;
        }

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

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

        .fm24-tool .layer-card.recommended {
            border-color: var(--primary);
            background: linear-gradient(135deg, rgba(0, 136, 204, 0.05) 0%, rgba(0, 136, 204, 0.02) 100%);
        }

        .fm24-tool .layer-card.not-recommended {
            opacity: 0.7;
        }

        .fm24-tool .layer-card h3 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 10px;
            color: var(--text);
        }

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

        .fm24-tool .layer-card .recommendation-badge {
            display: inline-block;
            background-color: var(--primary);
            color: white;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            margin-bottom: 15px;
        }

        .fm24-tool .layer-card .recommendation-badge.not {
            background-color: #999;
        }

        .fm24-tool .layer-card p {
            font-size: 13px;
            color: var(--text-light);
            line-height: 1.6;
            margin-bottom: 12px;
        }

        .fm24-tool .layer-card .details {
            background: white;
            border-top: 1px solid var(--border);
            padding-top: 12px;
            margin-top: 12px;
            font-size: 12px;
        }

        .fm24-tool .layer-card .detail-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }

        .fm24-tool .layer-card .detail-label {
            font-weight: 600;
            color: var(--text);
        }

        .fm24-tool .layer-card .detail-value {
            color: var(--text-light);
        }

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

        .fm24-tool .explanation-section h3 {
            color: var(--text);
            margin-bottom: 20px;
            font-size: 18px;
            font-weight: 600;
        }

        .fm24-tool .explanation-section p {
            color: var(--text-light);
            font-size: 13px;
            line-height: 1.8;
            margin-bottom: 15px;
        }

        .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-top: 30px;
        }

        .fm24-tool .result-buttons {
            display: flex;
            gap: 15px;
            margin-top: 30px;
            justify-content: center;
            flex-wrap: wrap;
        }

        @media (max-width: 768px) {
            .fm24-tool .layer-cards {
                grid-template-columns: 1fr;
            }

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

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

            .fm24-tool .radio-group {
                gap: 10px;
            }
        }

        @media print {
            .fm24-tool .sidebar, .fm24-tool .header, .fm24-tool .button-group, .fm24-tool .result-buttons {
                display: none;
            }

            .fm24-tool .print-cover {
                display: flex !important;
                page-break-after: always;
            }

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

            .fm24-tool .form-card {
                display: none;
            }

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

            .fm24-tool {
                background: white;
            }

            .fm24-tool .results-header, .fm24-tool .layer-cards, .fm24-tool .explanation-section {
                page-break-inside: avoid;
                box-shadow: none;
            }
        }
    
/* 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; }
