// HVO Calculator Shortcode Functionnfunction hvo_calculator_shortcode($atts) {n $atts = shortcode_atts(array(n ‚max_width‘ => ‚800px‘,n ‚padding‘ => ’24px’n ), $atts, ‚hvo_calculator‘);nn ob_start();n ?>n <div class="hvo-calculator" style="max-width: <?php echo esc_attr($atts[‚max_width‘]); ?>; margin: 0 auto; padding: <?php echo esc_attr($atts[‚padding‘]); ?>; background: white; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); border: 1px solid #d1e7dd; font-family: inherit;">n <h2 style="color: #2f855a; font-size: 28px; text-align: center; margin-bottom: 12px; font-weight: bold;">HVO CO2-Einsparungsrechner
n <p style="color: #4a5568; text-align: center; margin-bottom: 32px; font-size: 16px;">Berechnen Sie Ihre CO2-Einsparung beim Umstieg von Diesel auf HVO
n n <div style="margin-bottom: 28px;">n <label style="display: block; color: #2d3748; font-weight: 600; margin-bottom: 12px; font-size: 16px;">Jährlicher Dieselverbrauch (Liter)n <input type="number" id="diesel-consumption-calc" value="10000" min="0" step="100" style="width: 100%; padding: 12px 16px; border: 2px solid #e2e8f0; border-radius: 8px; outline: none; font-size: 16px; transition: border-color 0.2s;" onchange="calculateHVOSavings()" oninput="calculateHVOSavings()">n