Initial commit: Statischer Bootstrap-Onepager mit lokalen Assets, separate Impressum- und Datenschutz-Seiten, Google Maps Embed
This commit is contained in:
371
assets/css/styles.css
Normal file
371
assets/css/styles.css
Normal file
@@ -0,0 +1,371 @@
|
||||
:root {
|
||||
--brand-sand: #d9c2a0;
|
||||
--brand-earth: #745948;
|
||||
--brand-forest: #31453b;
|
||||
--brand-cream: #f7f1e8;
|
||||
--brand-ink: #1f2522;
|
||||
--brand-mist: #e7ece8;
|
||||
--shadow-soft: 0 24px 60px rgba(31, 37, 34, 0.14);
|
||||
--radius-lg: 28px;
|
||||
--radius-md: 20px;
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
|
||||
color: var(--brand-ink);
|
||||
background:
|
||||
radial-gradient(circle at top left, rgba(217, 194, 160, 0.28), transparent 28%),
|
||||
linear-gradient(180deg, #f4eee5 0%, #fcfaf7 32%, #f1f5f2 100%);
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
.brand-name {
|
||||
font-family: Georgia, "Times New Roman", serif;
|
||||
letter-spacing: 0.01em;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.site-header {
|
||||
position: relative;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
padding: 1rem 0;
|
||||
background: rgba(247, 241, 232, 0.82);
|
||||
backdrop-filter: blur(18px);
|
||||
border-bottom: 1px solid rgba(49, 69, 59, 0.08);
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.15rem;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.brand-kicker {
|
||||
font-size: 0.72rem;
|
||||
letter-spacing: 0.2em;
|
||||
text-transform: uppercase;
|
||||
color: rgba(31, 37, 34, 0.65);
|
||||
}
|
||||
|
||||
.brand-name {
|
||||
font-size: 1.25rem;
|
||||
color: var(--brand-forest);
|
||||
}
|
||||
|
||||
.navbar-toggler {
|
||||
border-color: rgba(49, 69, 59, 0.2);
|
||||
}
|
||||
|
||||
.navbar-toggler:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(116, 89, 72, 0.15);
|
||||
}
|
||||
|
||||
.navbar-toggler-icon {
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2849,69,59,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
color: var(--brand-ink);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.nav-link.active,
|
||||
.nav-link:hover,
|
||||
.nav-link:focus {
|
||||
color: var(--brand-earth);
|
||||
}
|
||||
|
||||
.btn-brand {
|
||||
background: var(--brand-earth);
|
||||
border-color: var(--brand-earth);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.btn-brand:hover,
|
||||
.btn-brand:focus {
|
||||
background: #5f4739;
|
||||
border-color: #5f4739;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.hero-section {
|
||||
padding: 8rem 0 5rem;
|
||||
}
|
||||
|
||||
.eyebrow {
|
||||
margin-bottom: 1rem;
|
||||
font-size: 0.8rem;
|
||||
letter-spacing: 0.22em;
|
||||
text-transform: uppercase;
|
||||
color: var(--brand-earth);
|
||||
}
|
||||
|
||||
.hero-section h1 {
|
||||
font-size: clamp(2.8rem, 5vw, 5.1rem);
|
||||
line-height: 0.98;
|
||||
max-width: 12ch;
|
||||
}
|
||||
|
||||
.hero-copy,
|
||||
.section p,
|
||||
.feature-card p,
|
||||
.timeline-card p,
|
||||
.contact-card p,
|
||||
.legal-card p {
|
||||
font-size: 1.05rem;
|
||||
line-height: 1.75;
|
||||
color: rgba(31, 37, 34, 0.8);
|
||||
}
|
||||
|
||||
.hero-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
margin: 2rem 0;
|
||||
}
|
||||
|
||||
.hero-facts {
|
||||
display: grid;
|
||||
gap: 0.75rem;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.hero-facts li {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
color: rgba(31, 37, 34, 0.78);
|
||||
}
|
||||
|
||||
.hero-facts li::before {
|
||||
content: "";
|
||||
width: 0.7rem;
|
||||
height: 0.7rem;
|
||||
border-radius: 999px;
|
||||
background: var(--brand-sand);
|
||||
box-shadow: 0 0 0 6px rgba(217, 194, 160, 0.2);
|
||||
}
|
||||
|
||||
.hero-gallery {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 1.25rem;
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.hero-card,
|
||||
.feature-card,
|
||||
.timeline-card,
|
||||
.contact-card,
|
||||
.contact-form,
|
||||
.legal-card {
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.hero-card {
|
||||
overflow: hidden;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.hero-card img,
|
||||
.gallery-grid img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.hero-card-large {
|
||||
min-height: 32rem;
|
||||
}
|
||||
|
||||
.hero-card-small {
|
||||
min-height: 15rem;
|
||||
}
|
||||
|
||||
.hero-card-accent {
|
||||
min-height: 15rem;
|
||||
}
|
||||
|
||||
.section {
|
||||
padding: 5rem 0;
|
||||
}
|
||||
|
||||
.section-light {
|
||||
background: rgba(255, 255, 255, 0.58);
|
||||
}
|
||||
|
||||
.section-accent {
|
||||
background: linear-gradient(135deg, rgba(49, 69, 59, 0.06), rgba(217, 194, 160, 0.16));
|
||||
}
|
||||
|
||||
.section-dark {
|
||||
background: linear-gradient(135deg, #24342d, #3f564b);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.section-dark .eyebrow,
|
||||
.section-dark h2,
|
||||
.section-dark p,
|
||||
.section-dark .form-label,
|
||||
.section-dark .text-link,
|
||||
.section-dark .form-note,
|
||||
.section-dark a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.section-heading {
|
||||
max-width: 44rem;
|
||||
margin: 0 auto 2.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.section-heading.text-start {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.section-heading h2 {
|
||||
font-size: clamp(2rem, 4vw, 3.3rem);
|
||||
line-height: 1.05;
|
||||
}
|
||||
|
||||
.feature-card,
|
||||
.timeline-card,
|
||||
.contact-card,
|
||||
.contact-form,
|
||||
.legal-card {
|
||||
padding: 2rem;
|
||||
background: rgba(255, 255, 255, 0.86);
|
||||
}
|
||||
|
||||
.feature-card h3,
|
||||
.legal-card h2 {
|
||||
margin-bottom: 1rem;
|
||||
font-size: 1.55rem;
|
||||
}
|
||||
|
||||
.gallery-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 1.25rem;
|
||||
}
|
||||
|
||||
.gallery-grid img {
|
||||
min-height: 20rem;
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: var(--shadow-soft);
|
||||
}
|
||||
|
||||
.section-dark .contact-card,
|
||||
.section-dark .contact-form {
|
||||
background: rgba(255, 255, 255, 0.08);
|
||||
backdrop-filter: blur(14px);
|
||||
}
|
||||
|
||||
.form-control {
|
||||
padding: 0.95rem 1rem;
|
||||
border-radius: 1rem;
|
||||
border: 1px solid rgba(255, 255, 255, 0.18);
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
}
|
||||
|
||||
.form-control:focus {
|
||||
border-color: rgba(217, 194, 160, 0.9);
|
||||
box-shadow: 0 0 0 0.2rem rgba(217, 194, 160, 0.18);
|
||||
}
|
||||
|
||||
.form-note {
|
||||
margin: 0;
|
||||
opacity: 0.86;
|
||||
}
|
||||
|
||||
.text-link {
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 0.2rem;
|
||||
}
|
||||
|
||||
.section-legal {
|
||||
padding-top: 4rem;
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
padding: 1.4rem 0 2.4rem;
|
||||
background: #f4eee5;
|
||||
}
|
||||
|
||||
.footer-inner {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.footer-inner p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.footer-links {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
@media (max-width: 991.98px) {
|
||||
.navbar-collapse {
|
||||
margin-top: 1rem;
|
||||
padding: 1rem;
|
||||
border-radius: 1.25rem;
|
||||
background: rgba(255, 255, 255, 0.88);
|
||||
}
|
||||
|
||||
.hero-section {
|
||||
padding-top: 7rem;
|
||||
}
|
||||
|
||||
.hero-gallery {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
|
||||
.hero-card-large {
|
||||
min-height: 24rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.hero-section h1 {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.hero-gallery,
|
||||
.gallery-grid,
|
||||
.footer-inner {
|
||||
grid-template-columns: 1fr;
|
||||
display: grid;
|
||||
}
|
||||
|
||||
.hero-card-large,
|
||||
.hero-card-small,
|
||||
.hero-card-accent,
|
||||
.gallery-grid img {
|
||||
min-height: 16rem;
|
||||
}
|
||||
|
||||
.section,
|
||||
.hero-section {
|
||||
padding-bottom: 4rem;
|
||||
}
|
||||
}
|
||||
23
assets/js/main.js
Normal file
23
assets/js/main.js
Normal file
@@ -0,0 +1,23 @@
|
||||
document.addEventListener("DOMContentLoaded", () => {
|
||||
const currentYear = document.getElementById("currentYear");
|
||||
if (currentYear) {
|
||||
currentYear.textContent = String(new Date().getFullYear());
|
||||
}
|
||||
|
||||
const navbar = document.getElementById("mainNav");
|
||||
if (!navbar) {
|
||||
return;
|
||||
}
|
||||
|
||||
const collapseElement = navbar.querySelector(".navbar-collapse");
|
||||
const navLinks = navbar.querySelectorAll(".nav-link");
|
||||
const collapse = collapseElement ? bootstrap.Collapse.getOrCreateInstance(collapseElement, { toggle: false }) : null;
|
||||
|
||||
navLinks.forEach((link) => {
|
||||
link.addEventListener("click", () => {
|
||||
if (window.innerWidth < 992 && collapse) {
|
||||
collapse.hide();
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user