This commit is contained in:
cemGr
2026-05-18 22:26:32 +02:00
parent 0e457f3c40
commit ac2c2be559
22 changed files with 5727 additions and 0 deletions

49
src/components/CTA.astro Normal file
View File

@@ -0,0 +1,49 @@
---
---
<section class="cta-section">
<div>
<h2 data-reveal>Bereit, das <em>nächste<br>komplexe Projekt</em> anzugehen?</h2>
<p class="cta-sub" data-reveal style="--reveal-delay:100ms">Wir hören zu, bevor wir reden. Kein Proposal ohne Verständnis.</p>
</div>
<div class="cta-actions" data-reveal style="--reveal-delay:200ms">
<a href="#kontakt" class="btn-white">Beratungstermin vereinbaren</a>
<div class="cta-loc">Regensburg · Bayern · International</div>
</div>
</section>
<style>
.cta-section {
background: var(--fa-navy); padding: 7rem var(--content-pad);
display: grid; grid-template-columns: 1fr auto;
align-items: center; gap: 4rem;
}
.cta-section h2 {
font-family: 'Syne', sans-serif; font-size: clamp(1.8rem,3vw,2.8rem);
font-weight: 700; letter-spacing: -1.2px; line-height: 1.08; color: #fff;
}
.cta-section h2 em { font-style: normal; color: var(--fa-blue-light); }
.cta-sub { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.65); margin-top: 0.9rem; }
.cta-actions { display: flex; flex-direction: column; gap: 0.9rem; align-items: flex-end; }
.btn-white {
font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
color: var(--fa-navy); background: #fff; border: none;
padding: 0.9rem 2.25rem; cursor: pointer; white-space: nowrap;
transition: background 0.2s; text-decoration: none;
display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-white:hover { background: var(--fa-blue-light); }
.cta-loc { font-size: 11px; color: rgba(255,255,255,0.55); letter-spacing: 2px; text-transform: uppercase; }
@media (max-width: 1280px) {
.cta-section { padding-top: 5.5rem; padding-bottom: 5.5rem; }
}
@media (max-width: 900px) {
.cta-section { grid-template-columns: 1fr; padding: 4.5rem var(--content-pad); }
.cta-actions { align-items: flex-start; }
}
@media (max-width: 480px) {
.cta-section h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }
.cta-actions { width: 100%; }
.btn-white { width: 100%; text-align: center; justify-content: center; }
}
</style>