<script lang="ts">
	export let heading: string;
	export let price: number;
	export let href: string;
</script>

<div class="rpt_plan">
	<div class="rpt_title">
		<img
			src="/images/icon_wohnhaus_plan_01.png"
			class="rpt_icon rpt_icon_0"
			alt="Energieausweis erstellen"
		/>
		{heading}
	</div>
	<div class="rpt_head">
		<div class="rpt_recurrence">inkl. 19% MwSt</div>
		<div class="rpt_price">
			<span class="rpt_currency">€</span>{price}
		</div>
	</div>
	<slot></slot>
	<a target="_self" {href} class="rpt_foot"
		>jetzt sofort Energieausweis online erstellen</a
	>
</div>
