2025-06-06 18:12:46 +02:00
|
|
|
|
{{ define "main" }}
|
2025-07-24 00:06:23 +02:00
|
|
|
|
<header id="mainHeader">
|
2025-06-06 18:12:46 +02:00
|
|
|
|
|
|
|
|
|
|
{{ with .Params.banner }}
|
2025-07-30 00:35:15 +02:00
|
|
|
|
{{ if .enable }}
|
|
|
|
|
|
<!-- HERO / SLIDER -->
|
|
|
|
|
|
<section class="slider {{ if .bg_overlay }}overly{{ end }} gif-background"
|
|
|
|
|
|
style="height: 100vh; display: flex; align-items: center; justify-content: center; position: relative;">
|
|
|
|
|
|
<div class="my-container" style="position: relative; z-index: 2;">
|
|
|
|
|
|
|
|
|
|
|
|
<!-- *Logo-Zeile mit zwei Frames* -->
|
|
|
|
|
|
<div class="logo-container">
|
|
|
|
|
|
<div class="frame1">
|
|
|
|
|
|
<img src="{{ .logo_image1 | relURL }}" alt="Logo Frame 1" class="banner-logo">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="frame2">
|
|
|
|
|
|
<img src="{{ .logo_image2 | relURL }}" alt="Logo Frame 2" class="banner-logo">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2025-06-06 18:12:46 +02:00
|
|
|
|
|
2025-07-30 00:35:15 +02:00
|
|
|
|
<!-- *Haupttitel + Button* -->
|
|
|
|
|
|
<div class="block" style="display: flex; flex-direction: column; justify-content: flex-end; min-height: 10vh; padding: 1rem; box-sizing: border-box;">
|
|
|
|
|
|
{{ with .title }}
|
|
|
|
|
|
<h1 class="title-custom title-custom-margin fade-in-title">{{ . | markdownify }}</h1>
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{ with .button }}
|
|
|
|
|
|
{{ if .enable }}
|
|
|
|
|
|
<div class="scrolldown" onclick="document.getElementById('service').scrollIntoView({ behavior: 'smooth' });"
|
|
|
|
|
|
style="--color: rgb(0, 0, 0); cursor: pointer;">
|
|
|
|
|
|
<div class="chevrons">
|
|
|
|
|
|
<div class='chevrondown'></div>
|
|
|
|
|
|
<div class='chevrondown'></div>
|
2025-06-06 18:12:46 +02:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2025-07-30 00:35:15 +02:00
|
|
|
|
{{ end }}
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
{{ end }}
|
2025-06-06 18:12:46 +02:00
|
|
|
|
{{ end }}
|
|
|
|
|
|
</header>
|
|
|
|
|
|
|
2025-07-30 00:35:15 +02:00
|
|
|
|
<!-- Scroll/Hide Header -->
|
2025-06-06 18:12:46 +02:00
|
|
|
|
<script>
|
2025-07-30 00:35:15 +02:00
|
|
|
|
document.addEventListener('DOMContentLoaded', function () {
|
2025-06-06 18:12:46 +02:00
|
|
|
|
var scrolldown = document.querySelector('.scrolldown');
|
2025-07-30 00:35:15 +02:00
|
|
|
|
scrolldown?.addEventListener('click', function () {
|
2025-07-23 16:46:21 +02:00
|
|
|
|
const serviceSection = document.getElementById('service');
|
2025-07-30 00:35:15 +02:00
|
|
|
|
const offset = 100;
|
2025-07-23 16:46:21 +02:00
|
|
|
|
const targetPosition = serviceSection.getBoundingClientRect().top + window.pageYOffset - offset;
|
2025-07-30 00:35:15 +02:00
|
|
|
|
window.scrollTo({ top: targetPosition, behavior: 'smooth' });
|
2025-07-23 16:46:21 +02:00
|
|
|
|
});
|
|
|
|
|
|
|
2025-07-30 00:35:15 +02:00
|
|
|
|
window.addEventListener("scroll", function () {
|
2025-07-23 16:46:21 +02:00
|
|
|
|
if (window.scrollY > 100) {
|
2025-07-30 00:35:15 +02:00
|
|
|
|
scrolldown?.classList.add('hide');
|
2025-07-23 16:46:21 +02:00
|
|
|
|
} else {
|
2025-07-30 00:35:15 +02:00
|
|
|
|
scrolldown?.classList.remove('hide');
|
2025-07-23 16:46:21 +02:00
|
|
|
|
}
|
|
|
|
|
|
});
|
2025-06-06 18:12:46 +02:00
|
|
|
|
|
2025-07-24 00:06:23 +02:00
|
|
|
|
var header = document.getElementById('mainHeader');
|
|
|
|
|
|
var lastScrollPosition = window.scrollY;
|
|
|
|
|
|
|
2025-07-30 00:35:15 +02:00
|
|
|
|
window.addEventListener('scroll', function () {
|
2025-07-24 00:06:23 +02:00
|
|
|
|
var currentScrollPosition = window.scrollY;
|
2025-07-30 00:35:15 +02:00
|
|
|
|
header.style.top = (currentScrollPosition > lastScrollPosition) ? '-100vh' : '0';
|
|
|
|
|
|
if (currentScrollPosition === 0) header.style.top = '0';
|
2025-07-24 00:06:23 +02:00
|
|
|
|
lastScrollPosition = currentScrollPosition;
|
|
|
|
|
|
});
|
|
|
|
|
|
});
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
2025-07-23 16:46:21 +02:00
|
|
|
|
<div style="height: 200px;"></div>
|
|
|
|
|
|
|
2025-07-30 00:35:15 +02:00
|
|
|
|
<!-- WHY AMPERION (Kompakte Version) -->
|
|
|
|
|
|
{{ with site.GetPage "/whyamperion" }}
|
|
|
|
|
|
{{ with .Params.service }}
|
|
|
|
|
|
<section class="whyamperion section">
|
|
|
|
|
|
<div class="container my-container">
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
<div class="section-title text-center">
|
|
|
|
|
|
{{ with .title }}<h1>{{ . | markdownify }}</h1>{{ end }}
|
|
|
|
|
|
{{ with .description }}<h2><em>{{ . | markdownify }}</em></h2>{{ end }}
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
{{ range .service_item }}
|
|
|
|
|
|
<div class="col-sm-6 col-md-3">
|
|
|
|
|
|
<div class="service-item text-center">
|
|
|
|
|
|
<i class="{{ .icon }}" aria-hidden="true" style="font-size: 2rem; margin-bottom: 0.5rem;"></i>
|
|
|
|
|
|
<h3>{{ .name | markdownify }}</h3>
|
|
|
|
|
|
<p>{{ .content | markdownify }}</p>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
{{ end }}
|
2025-06-07 22:45:41 +02:00
|
|
|
|
{{ end }}
|
2025-07-23 16:46:21 +02:00
|
|
|
|
|
2025-07-30 00:35:15 +02:00
|
|
|
|
<!-- SERVICES -->
|
2025-06-06 18:12:46 +02:00
|
|
|
|
{{ with site.GetPage "/service" }}
|
|
|
|
|
|
{{ with .Params.service }}
|
|
|
|
|
|
<section id="service" class="service">
|
|
|
|
|
|
<div class="container-fluid my-container">
|
2025-07-23 16:46:21 +02:00
|
|
|
|
<div class="services-title">
|
2025-07-30 00:35:15 +02:00
|
|
|
|
{{ with .title }}<h1>{{ . | markdownify }}</h1>{{ end }}
|
2025-07-23 16:46:21 +02:00
|
|
|
|
</div>
|
|
|
|
|
|
<div class="services-description">
|
2025-07-30 00:35:15 +02:00
|
|
|
|
{{ with .description }}<h2><em>{{ . | markdownify }}</em></h2>{{ end }}
|
2025-06-06 18:12:46 +02:00
|
|
|
|
</div>
|
|
|
|
|
|
<div class="service-grid">
|
2025-07-30 00:35:15 +02:00
|
|
|
|
{{ range first 3 .service_item }}
|
2025-06-06 18:12:46 +02:00
|
|
|
|
<div class="service-item-fixed">
|
|
|
|
|
|
<div class="zoom-wrap">
|
|
|
|
|
|
<a href="{{ .link | relURL }}">
|
|
|
|
|
|
<img src="{{ .picture | relURL }}" alt="{{ .name }}">
|
2025-07-30 00:35:15 +02:00
|
|
|
|
<div class="overlay-text">{{ .name }}</div>
|
2025-06-06 18:12:46 +02:00
|
|
|
|
<div class="overlay"></div>
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
{{ end }}
|
2025-07-30 00:35:15 +02:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2025-06-06 18:12:46 +02:00
|
|
|
|
</section>
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
{{ end }}
|
2025-07-23 16:46:21 +02:00
|
|
|
|
|
2025-07-30 00:35:15 +02:00
|
|
|
|
<!-- FOCUSTOPICS -->
|
|
|
|
|
|
{{ with site.GetPage "/focustopic" }}
|
2025-07-23 16:46:21 +02:00
|
|
|
|
{{ with .Params.service }}
|
2025-07-30 00:35:15 +02:00
|
|
|
|
<section id="focustopic" class="service">
|
2025-07-23 16:46:21 +02:00
|
|
|
|
<div class="container-fluid my-container">
|
|
|
|
|
|
<div class="services-title">
|
2025-07-30 00:35:15 +02:00
|
|
|
|
{{ with .title }}<h1>{{ . | markdownify }}</h1>{{ end }}
|
2025-07-23 16:46:21 +02:00
|
|
|
|
</div>
|
|
|
|
|
|
<div class="services-description">
|
2025-07-30 00:35:15 +02:00
|
|
|
|
{{ with .description }}<h2><em>{{ . | markdownify }}</em></h2>{{ end }}
|
2025-07-23 16:46:21 +02:00
|
|
|
|
</div>
|
|
|
|
|
|
<div class="service-grid">
|
|
|
|
|
|
{{ range first 3 .service_item }}
|
|
|
|
|
|
<div class="service-item-fixed">
|
|
|
|
|
|
<div class="zoom-wrap">
|
|
|
|
|
|
<a href="{{ .link | relURL }}">
|
|
|
|
|
|
<img src="{{ .picture | relURL }}" alt="{{ .name }}">
|
2025-07-30 00:35:15 +02:00
|
|
|
|
<div class="overlay-text">{{ .name }}</div>
|
2025-07-23 16:46:21 +02:00
|
|
|
|
<div class="overlay"></div>
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2025-06-06 18:12:46 +02:00
|
|
|
|
{{ end }}
|
|
|
|
|
|
</div>
|
2025-07-23 16:46:21 +02:00
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
2025-07-30 00:35:15 +02:00
|
|
|
|
<!-- WHY AMPERION – kompakt & detailliert (Hardcoded Version) -->
|
|
|
|
|
|
<section class="whyamperion section" style="background-color:#f3f3f3">
|
|
|
|
|
|
<div class="container my-container">
|
2025-07-23 16:46:21 +02:00
|
|
|
|
|
2025-07-30 00:35:15 +02:00
|
|
|
|
<!-- Titelblock – eigener Wrapper statt .section-title -->
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
<div class="why-title text-center">
|
|
|
|
|
|
<h1>Darum AMPERION</h1>
|
|
|
|
|
|
<h2 class="why-sub"><em>Kompetenz, auf die Sie bauen können – von der Idee bis zur Inbetriebnahme.</em></h2>
|
|
|
|
|
|
</div>
|
2025-07-23 16:46:21 +02:00
|
|
|
|
</div>
|
2025-06-06 18:12:46 +02:00
|
|
|
|
|
2025-07-30 00:35:15 +02:00
|
|
|
|
<!-- Karten -->
|
|
|
|
|
|
<div class="why-grid mt-5">
|
|
|
|
|
|
<article class="service-card text-center">
|
|
|
|
|
|
<img src="icons/file-badge.svg" alt="Technische Planungskompetenz Icon" class="service-icon mb-3">
|
|
|
|
|
|
<h2 class="service-card-title">Technische Planungskompetenz</h2>
|
|
|
|
|
|
<p class="service-card-description">
|
|
|
|
|
|
<strong>Langjährige Erfahrung mit komplexer Energieplanung –</strong> normgerecht, effizient & zukunftssicher.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
|
|
|
|
<article class="service-card text-center">
|
|
|
|
|
|
<img src="icons/plug-zap.svg" alt="Intelligente Energiesysteme Icon" class="service-icon mb-3">
|
|
|
|
|
|
<h2 class="service-card-title">Intelligente Energiesysteme</h2>
|
|
|
|
|
|
<p class="service-card-description">
|
|
|
|
|
|
<strong>Von PV bis Speicher und Lastmanagement –</strong> für maximale Eigenversorgung und Netzverträglichkeit.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
|
|
|
|
<article class="service-card text-center">
|
|
|
|
|
|
<img src="icons/headset.svg" alt="Persönliche Betreuung Icon" class="service-icon mb-3">
|
|
|
|
|
|
<h2 class="service-card-title">Persönliche Betreuung</h2>
|
|
|
|
|
|
<p class="service-card-description">
|
|
|
|
|
|
<strong>Kurze Wege, schnelle Antworten –</strong> direkte Ansprechpartner, auch nach Projektabschluss.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
|
|
|
|
<article class="service-card text-center">
|
|
|
|
|
|
<img src="icons/hard-hat.svg" alt="Reibungslose Projektabwicklung Icon" class="service-icon mb-3">
|
|
|
|
|
|
<h2 class="service-card-title">Reibungslose Projektabwicklung</h2>
|
|
|
|
|
|
<p class="service-card-description">
|
|
|
|
|
|
<strong>Wir übernehmen die technische Koordination –</strong> von Einreichung bis Ausschreibung.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
|
|
|
|
<article class="service-card text-center">
|
|
|
|
|
|
<img src="icons/network.svg" alt="Vernetzte Energiezukunft Icon" class="service-icon mb-3">
|
|
|
|
|
|
<h2 class="service-card-title">Vernetzte Energiezukunft</h2>
|
|
|
|
|
|
<p class="service-card-description">
|
|
|
|
|
|
<strong>Wir denken Energie ganzheitlich –</strong> modular, digital und wachstumsfähig geplant.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
|
|
|
|
<article class="service-card text-center">
|
|
|
|
|
|
<img src="icons/circuit-board.svg" alt="Präzise Systemplanung Icon" class="service-icon mb-3">
|
|
|
|
|
|
<h2 class="service-card-title">Präzise Systemplanung</h2>
|
|
|
|
|
|
<p class="service-card-description">
|
|
|
|
|
|
<strong>Alle Komponenten exakt abgestimmt –</strong> wirtschaftlich und regelkonform.
|
|
|
|
|
|
</p>
|
|
|
|
|
|
</article>
|
|
|
|
|
|
</div>
|
2025-07-23 16:46:21 +02:00
|
|
|
|
|
2025-07-30 00:35:15 +02:00
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
2025-07-23 16:46:21 +02:00
|
|
|
|
|
2025-06-06 18:12:46 +02:00
|
|
|
|
|
2025-07-30 00:35:15 +02:00
|
|
|
|
<!-- ABOUT (unverändert) -->
|
2025-06-06 18:12:46 +02:00
|
|
|
|
{{ with .Params.about }}
|
|
|
|
|
|
{{ if .enable }}
|
|
|
|
|
|
<section id="about" class="about section">
|
|
|
|
|
|
<div class="my-container">
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
<div class="col-12 text-center">
|
2025-07-23 16:46:21 +02:00
|
|
|
|
<div class="services-title">
|
2025-07-30 00:35:15 +02:00
|
|
|
|
{{ with .title }}<h1>{{ . | markdownify }}</h1>{{ end }}
|
2025-07-23 16:46:21 +02:00
|
|
|
|
</div>
|
|
|
|
|
|
<div class="services-description">
|
2025-07-30 00:35:15 +02:00
|
|
|
|
{{ with .description }}<h2><em>{{ . | markdownify }}</em></h2>{{ end }}
|
2025-06-06 18:12:46 +02:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
<div class="col-md-9 col-sm-12">
|
2025-07-24 00:06:23 +02:00
|
|
|
|
<div class="text-left">
|
2025-07-30 00:35:15 +02:00
|
|
|
|
{{ with .content }}{{ . | markdownify }}{{ end }}
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="hover-link">
|
|
|
|
|
|
{{ with .link_text }}<a href="{{ "/about/" | relURL }}">{{ . }}</a>{{ end }}
|
2025-06-06 18:12:46 +02:00
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="col-md-3 col-sm-12">
|
|
|
|
|
|
<div class="block">
|
|
|
|
|
|
<img src="{{ .image | relURL }}" class="custom-image" alt="Img">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
2025-07-30 00:35:15 +02:00
|
|
|
|
<!-- CALL TO ACTION -->
|
2025-06-06 18:12:46 +02:00
|
|
|
|
{{ if .Params.cta.enable }}
|
|
|
|
|
|
{{ partial "cta.html" . }}
|
|
|
|
|
|
{{ end }}
|
2025-07-30 00:35:15 +02:00
|
|
|
|
|
|
|
|
|
|
<!-- FACTS -->
|
2025-06-06 18:12:46 +02:00
|
|
|
|
{{ with .Params.facts }}
|
|
|
|
|
|
{{ if .enable }}
|
|
|
|
|
|
<section class="facts">
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
{{ range .fact_item }}
|
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
|
<div class="fact-item text-center">
|
|
|
|
|
|
<img src="{{ .image | relURL }}" alt="{{ .name }}" class="fact-image">
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
|
2025-07-29 19:10:33 +02:00
|
|
|
|
{{ end }}
|