
/* Wir packen alles in einen spezifischen Wrapper, damit Divi nicht gestört wird */
    .tharoco-tool-container {
        --tharoco-green: #408c86;
        --text-color: #333;
        --border-radius: 4px;
        font-family: inherit; /* Nutzt automatisch deine Divi-Schriftart! */
        color: var(--text-color);
        width: 100%;
        display: block;
        justify-content: center;
        padding: 20px 0; /* Etwas Luft nach oben und unten im Divi-Modul */
    }

    .tharoco-tool-container * {
        box-sizing: border-box; /* Verhindert, dass Paddings das Layout sprengen */
    }

    .tharoco-tool-container .calculator-card {
        background: white;
        width: 100%;
        max-width: 800px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        border-radius: var(--border-radius);
        overflow: hidden;
        border-top: 5px solid var(--tharoco-green);
        margin: 0 auto; /* Zentriert die Karte sauber in deiner Divi-Spalte */
    }

    .tharoco-tool-container .header {
        background-color: white;
        padding: 15px 20px;
        border-bottom: 1px solid #ddd;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .tharoco-tool-container .header h2 {
        margin: 0;
        color: var(--tharoco-green);
        font-size: 1.5rem;
        padding-bottom: 0;
    }

    .tharoco-tool-container .controls-top {
        padding: 20px;
        background-color: #eef6f5;
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        border-bottom: 1px solid #ddd;
    }

    .tharoco-tool-container .toggle-group {
        display: flex;
        align-items: center;
        gap: 10px;
        background: white;
        padding: 5px 15px;
        border-radius: 20px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }

    .tharoco-tool-container .toggle-group label {
        font-weight: bold;
        font-size: 0.9rem;
        cursor: pointer;
        margin: 0;
    }

    .tharoco-tool-container .toggle-group input[type="radio"] {
        margin: 0;
    }

    .tharoco-tool-container .main-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    @media (max-width: 600px) {
        .tharoco-tool-container .main-content { grid-template-columns: 1fr; }
        .tharoco-tool-container .column-left { border-right: none; border-bottom: 1px solid #eee; }
    }

    .tharoco-tool-container .column {
        padding: 20px;
    }

    .tharoco-tool-container .column-left {
        border-right: 1px solid #eee;
    }

    .tharoco-tool-container .column-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
        color: #666;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: bold;
    }

    .tharoco-tool-container .input-group {
        margin-bottom: 15px;
    }

    .tharoco-tool-container .input-group label {
        display: block;
        font-size: 0.85rem;
        margin-bottom: 5px;
        color: #555;
    }

    .tharoco-tool-container .input-wrapper {
        display: flex;
        align-items: center;
    }

    .tharoco-tool-container .input-wrapper input[type="number"] {
        flex: 1;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: var(--border-radius) 0 0 var(--border-radius);
        font-size: 1rem;
        outline: none;
        width: 100%;
        margin: 0;
        background: white;
        color: #333;
    }

    .tharoco-tool-container .input-wrapper input[type="number"]:focus {
        border-color: var(--tharoco-green);
    }

    .tharoco-tool-container .input-wrapper span {
        background: #eee;
        padding: 8px 12px;
        border: 1px solid #ccc;
        border-left: none;
        border-radius: 0 var(--border-radius) var(--border-radius) 0;
        color: #666;
        font-size: 0.9rem;
        min-width: 45px;
        text-align: center;
    }

    .tharoco-tool-container .result-box {
        background-color: var(--tharoco-green);
        color: white;
        padding: 20px;
        text-align: center;
    }

    .tharoco-tool-container .result-label {
        font-size: 0.9rem;
        opacity: 0.9;
        margin-bottom: 5px;
    }

    .tharoco-tool-container .result-value {
        font-size: 2.5rem;
        font-weight: bold;
        line-height: 1.2;
    }

    .tharoco-tool-container .result-note {
        font-size: 0.8rem;
        margin-top: 10px;
        opacity: 0.8;
        font-style: italic;
    }

    .tharoco-tool-container input[type=range] {
        width: 100%;
        margin-top: 10px;
        accent-color: var(--tharoco-green);
    }

    .tharoco-tool-container .hidden {
        display: none !important;
    }
