{"id":6937,"date":"2022-07-19T08:36:51","date_gmt":"2022-07-19T06:36:51","guid":{"rendered":"https:\/\/p-hhqhmu.project.space\/bedarfsrechner\/"},"modified":"2026-05-22T09:02:04","modified_gmt":"2026-05-22T07:02:04","slug":"bedarfsrechner","status":"publish","type":"page","link":"https:\/\/vialit.at\/en\/bedarfsrechner\/","title":{"rendered":"Consumption Calculator"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"6937\" class=\"elementor elementor-6937 elementor-3491\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-0c8090a e-flex e-con-boxed e-con e-parent\" data-id=\"0c8090a\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e1844a7 elementor-widget elementor-widget-shortcode\" data-id=\"e1844a7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">\t<div class=\"ritec-bedarfsrechner-wrap\">\n\t\t<h1 class=\"rechner_headline\">Bedarfsrechner<\/h1>\n\n\t\t<form class=\"bedarfsrechner\" onsubmit=\"return false;\">\n\t\t\t<div>\n\t\t\t\t<label for=\"produkt\">Produkt<\/label>\n\t\t\t\t<select id=\"produkt\">\n\t\t\t\t\t<option value=\"2.5\">Rephalt<\/option>\n\t\t\t\t\t<option value=\"2.5\">Dosenasphalt<\/option>\n\t\t\t\t\t<option value=\"1.08\">Refug<\/option>\n\t\t\t\t\t<option value=\"2.5\">Resist Mortar<\/option>\n\t\t\t\t<\/select>\n\t\t\t<\/div>\n\n\t\t\t<div>\n\t\t\t\t<label for=\"laenge\">L\u00e4nge (cm)<\/label>\n\t\t\t\t<input type=\"number\" id=\"laenge\" placeholder=\"0\">\n\t\t\t<\/div>\n\n\t\t\t<div>\n\t\t\t\t<label for=\"breite\">Breite (cm)<\/label>\n\t\t\t\t<input type=\"number\" id=\"breite\" placeholder=\"0\">\n\t\t\t<\/div>\n\n\t\t\t<div>\n\t\t\t\t<label for=\"tiefe\">Tiefe (cm)<\/label>\n\t\t\t\t<input type=\"number\" id=\"tiefe\" placeholder=\"0\">\n\t\t\t<\/div>\n\n\t\t\t<div>\n\t\t\t\t<label for=\"dichte\">Dichte (g\/cm<sup>3<\/sup>)<\/label>\n\t\t\t\t<input type=\"number\" id=\"dichte\" placeholder=\"2,5\" disabled>\n\t\t\t<\/div>\n\t\t<\/form>\n\n\t\t<div class=\"materialverbrauch\">\n\t\t\t<h4>Materialverbrauch<\/h4>\n\t\t\t<p id=\"verbrauch\">0 kg<\/p>\n\t\t<\/div>\n\n\t\t<h2>Alle Dichten sind in g\/cm<sup>3<\/sup> angegeben:<\/h2>\n\t\t<div class=\"verbrauchstabelle\">\n\t\t\t<table>\n\t\t\t\t<tr>\n\t\t\t\t\t<th>Produkt<\/th>\n\t\t\t\t\t<th>Dichte<\/th>\n\t\t\t\t<\/tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td>Rephalt<\/td>\n\t\t\t\t\t<td>2,5<\/td>\n\t\t\t\t<\/tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td>Dosenasphalt<\/td>\n\t\t\t\t\t<td>2,5<\/td>\n\t\t\t\t<\/tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td>Refug<\/td>\n\t\t\t\t\t<td>1,08<\/td>\n\t\t\t\t<\/tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td>Resist Mortar<\/td>\n\t\t\t\t\t<td>2,5<\/td>\n\t\t\t\t<\/tr>\n\t\t\t<\/table>\n\t\t<\/div>\n\t<\/div>\n\n\t<script>\n\tdocument.addEventListener('DOMContentLoaded', function () {\n\t\tconst produkt = document.getElementById('produkt');\n\t\tconst laenge  = document.getElementById('laenge');\n\t\tconst breite  = document.getElementById('breite');\n\t\tconst tiefe   = document.getElementById('tiefe');\n\t\tconst dichte  = document.getElementById('dichte');\n\t\tconst verbrauch = document.getElementById('verbrauch');\n\n\t\tfunction berechneBedarf() {\n\t\t\tconst l = parseFloat(laenge.value) || 0;\n\t\t\tconst b = parseFloat(breite.value) || 0;\n\t\t\tconst t = parseFloat(tiefe.value) || 0;\n\t\t\tconst d = parseFloat(produkt.value) || 0;\n\n\t\t\tconst kg = Math.round((l * b * t * d) \/ 1000);\n\n\t\t\tdichte.value = d;\n\t\t\tverbrauch.textContent = kg + ' kg';\n\t\t}\n\n\t\t[produkt, laenge, breite, tiefe].forEach(el => {\n\t\t\tel.addEventListener('input', berechneBedarf);\n\t\t\tel.addEventListener('change', berechneBedarf);\n\t\t});\n\n\t\tberechneBedarf();\n\t});\n\t<\/script>\n\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_angie_page":false,"footnotes":""},"class_list":["post-6937","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/vialit.at\/en\/wp-json\/wp\/v2\/pages\/6937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vialit.at\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/vialit.at\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/vialit.at\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/vialit.at\/en\/wp-json\/wp\/v2\/comments?post=6937"}],"version-history":[{"count":3,"href":"https:\/\/vialit.at\/en\/wp-json\/wp\/v2\/pages\/6937\/revisions"}],"predecessor-version":[{"id":9841,"href":"https:\/\/vialit.at\/en\/wp-json\/wp\/v2\/pages\/6937\/revisions\/9841"}],"wp:attachment":[{"href":"https:\/\/vialit.at\/en\/wp-json\/wp\/v2\/media?parent=6937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}