@font-face {
	font-family: "Concordia-Sans-Regular";
	src: url("./Concordia-Sans-Regular.woff2") format("woff2");
	font-weight: normal;
  }
  @font-face {
	font-family: "Concordia-Sans-Bold";
	src: url("./Concordia-Sans-Bold.woff2") format("woff2");
	font-weight: normal;
  }
  :root{
	--accent: #b2f21f;
	--bg: #E9EEFA;
	--track-bg: #ffffff;
	--track-fill: #b2f21f;
	--thumb-bg: #eef1f5;
	--text: #eef1f5;
	--muted: #8b91a0;
  }
  #ea_rechner *{ box-sizing: border-box; }
  /*body{
	margin:0;
	font-family: "Concordia-Sans-Regular", Arial, sans-serif;
	background: var(--bg);
	color: var(--text);
	display:flex;
	align-items:center;
	justify-content:center;
	min-height:100vh;
	padding: 10px 10px;
  }*/

  #ea_rechner {
	position: relative;
	width: inherit;
	max-width: 1200px;
	min-height: 625px;
	padding: 40px;
	border-radius: 20px;
	background-color: #002970;
	text-align: center;
	overflow: hidden;
  }
  @media screen and (max-width: 800px) {
	#ea_rechner .wrap{
	  padding: 20px 25px;
	  min-height: 90vh;
	}
  }
  
  @property --stop {
	syntax: '<percentage>';
	inherits: false;
	initial-value: 0%;
  }
  #ea_rechner .value-display{
	display: flex;
	justify-content: center;
	align-items: end;
	width: 100%;
	height: 80px;
	max-width: 320px;
	padding: 20px;
	text-align:center;
	font-family: "Concordia-Sans-Bold";
	font-size: 48px;
	font-weight: 700;
    color: white;
	margin: 0 auto;
	font-variant-numeric: tabular-nums;
	transition: color .15s ease;
	background: transparent;
	
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
  }
  #ea_rechner .value-display.active {
	
	background: linear-gradient(
	  to bottom,
	  #ff4e4d 0%,
	  #ff4e4d var(--stop),
	  #b2f21f var(--stop),
	  #b2f21f 100%
	);
	transition: --stop 1.8s ease;
  }
  #ea_rechner .value-display.dragging{ color: var(--accent); }

  #ea_rechner .sliderx{
	position: relative;
	height: 60px;
	display: flex;
	align-items: center;
	touch-action: none;
  }

  #ea_rechner .track{
	position: relative;
	width: 100%;
	height: 12px;
	background: var(--track-bg);
	border-radius: 999px;
  }

  #ea_rechner .track-fill{
	position: absolute;
	left: 0; top: 0;
	height: 100%;
	background: var(--track-fill);
	border-radius: 999px;
  }

  #ea_rechner .ticks{
	position: absolute;
	left: 0; right: 0; top: 50%;
	transform: translateY(-50%);
	display: flex;
	justify-content: space-between;
	pointer-events: none;
  }
  #ea_rechner .tick{
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--muted);
  }
  #ea_rechner .tick.active{ background: var(--track-fill); }

  #ea_rechner .thumb{
	position: absolute;
	top: 50%;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--thumb-bg);
	border: 8px solid var(--track-fill);
	transform: translate(-50%, -50%);
	cursor: grab;
	box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  }
  #ea_rechner .thumb:active{ cursor: grabbing; }
  #ea_rechner .thumb.snapping{ transition: left 0.18s ease; }
  #ea_rechner .thumb:focus-visible{
	outline: 2px solid var(--accent);
	outline-offset: 3px;
  }
  #ea_rechner .labels{
	display:flex;
	justify-content: space-between;
	margin-top: 14px;
	font-size: 13px;
	color: white;
	transform: scale(1.02);
  }
  #ea_rechner .headline {
	font-family: "Concordia-Sans-Bold";
	font-size: 36px;
	color: white;
	width: 100%;
	margin-bottom: 0px;
  }
  @media screen and (max-width: 800px) {
	#ea_rechner .labels{
	  font-size: 11px;
	  transform: scale(1.1);
	}
	#ea_rechner .labels span:nth-child(odd) { opacity: 0; }
	#ea_rechner .headline {
	  font-family: "Concordia-Sans-Bold";
	  font-size: 28px;
	  margin-bottom: 0px;
	  min-height: 110px;
	}
  }
  #ea_rechner .legende {
	font-size: 20px;
    color: white;
	display: block;
	flex-direction: column;
	padding: 10px;
	height: 90px;
	justify-content: center;
	margin-bottom: 20px;
  }
  #ea_rechner .legende-l1 {
	font-family: "Concordia-Sans-Bold";
  }
  #ea_rechner .legende-footer {
	font-size: 15px;
    color: white;
	display: none;
	padding: 30px 10px 10px 10px;
	height: auto;
	justify-content: center;
	flex-direction: column;
	gap: 10px;
	opacity: 0;
  }
  #ea_rechner .legende-footer * {
	vertical-align: middle;
  }
  #ea_rechner .bullet-green {
	display: inline-block;
	width: 20px;
	height: 20px;
	background-color: #b2f21f;
	border-radius: 3px;
	margin-right: 5px;
  }
  #ea_rechner .bullet-red {
	display: inline-block;
	width: 20px;
	height: 20px;
	background-color: #ff4e4d;
	border-radius: 3px;
	margin-right: 5px;
  }
  #ea_rechner .kosten {
	width: 100%;
	position: absolute;
	top: 30%;
	left: 0;
	pointer-events: none;
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-direction: row;
	flex-wrap: wrap;
  }
  #ea_rechner .kosten-item {
	width: 20%;
	height: auto;
	padding: 20px;
	background-color: #e8edfa;
	border-radius: 20px;
	transform: scale(0);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-family: "Concordia-Sans-Bold";
	font-size: 20px;
	color: #002970;
  }
  @media screen and (max-width: 800px) {
	#ea_rechner .kosten-item {
	  width: 40%;
	  transform: scale(0);
	}
  }
  #ea_rechner .kosten-item img {
	width: 90%;
	height: auto;
  }
  #ea_rechner .btn-beratung {
	background-color: #b2f21f;
	padding: 10px 20px;
	border-radius: 30px;
	color: #002970;
	display: none;
  }
  #ea_rechner a.btn-beratung {
	text-decoration: none; 
	font-family: "Concordia-Sans-Bold";
  }
  #ea_rechner .vl {
	position: absolute;
	width: 100%;
	text-align:center;
	font-family: "Concordia-Sans-Bold";
	font-size: 48px;
	font-weight: 700;
	color: white;
	display: block;
	font-variant-numeric: tabular-nums;
	white-space-collapse: collapse;
  }
  #ea_rechner .description {
	position: relative;
	width: 100%;
	height: auto;
	font-size: 20px;
    color: white;
	padding: 40px 0;
	display: none;
  }
  #ea_rechner .progressbar {
	position: absolute;
	width: 100%;
	height: 4px;
	max-width: 280px;
	background-color: #e8edfa;
	border-radius: 3px;
	left: 50%;
	transform: translate(-50%, -20px);
	padding: 0px;
	display: none;
  }
  #ea_rechner .progressbar-inner {
	position: absolute;
	width: 0%;
	height: 4px;
	background: #6588DE;
	border-radius: 3px;
  }
  #ea_rechner .pt1, #ea_rechner .pt2 {
	position: absolute;
	width: 2px;
	height: 4px;
	background: #002970;
	top: 0;
  }
  #ea_rechner .pt1 {left:33%;}
  #ea_rechner .pt2 {left:66%;}