Files
Gutti/style.css
Sebastian Köhler 4af47e1976 Füge Navigation und umfassende SEO-Optimierung hinzu
- Sticky Navigation mit Logo und Menü-Links
- Mobile Hamburger-Menü mit Smooth Scroll
- Back-to-Top Button mit Scroll-Effekt
- Umfassende SEO Meta-Tags (Keywords, Description, Geo)
- Open Graph und Twitter Card Tags für Social Media
- Schema.org strukturierte Daten (InsuranceAgency, Person)
- robots.txt und sitemap.xml für Suchmaschinen
- Canonical URLs auf allen Seiten
- Local SEO Optimierung für Kallmünz/Regensburg
2026-02-10 23:16:57 +01:00

641 lines
11 KiB
CSS

/* Reset & Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary-color: #00008f;
--secondary-color: #0047bb;
--accent-color: #ff1721;
--text-dark: #1a1a1a;
--text-light: #555;
--bg-light: #f8f9fa;
--white: #ffffff;
--shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}
html {
scroll-behavior: smooth;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
line-height: 1.6;
color: var(--text-dark);
background-color: var(--white);
padding-top: 70px;
}
/* Navigation */
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
background-color: var(--white);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
z-index: 1000;
transition: all 0.3s ease;
}
.navbar.scrolled {
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}
.nav-content {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
}
.nav-logo {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
color: var(--primary-color);
font-weight: 700;
font-size: 1.1rem;
}
.nav-logo-img {
height: 40px;
width: auto;
}
.nav-menu {
display: flex;
list-style: none;
gap: 35px;
margin: 0;
}
.nav-link {
text-decoration: none;
color: var(--text-dark);
font-weight: 600;
font-size: 1rem;
transition: color 0.3s ease;
position: relative;
}
.nav-link::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background-color: var(--primary-color);
transition: width 0.3s ease;
}
.nav-link:hover {
color: var(--primary-color);
}
.nav-link:hover::after {
width: 100%;
}
.nav-toggle {
display: none;
flex-direction: column;
gap: 5px;
background: none;
border: none;
cursor: pointer;
padding: 5px;
}
.nav-toggle span {
width: 25px;
height: 3px;
background-color: var(--primary-color);
transition: all 0.3s ease;
border-radius: 3px;
}
.nav-toggle.active span:nth-child(1) {
transform: rotate(45deg) translate(8px, 8px);
}
.nav-toggle.active span:nth-child(2) {
opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
transform: rotate(-45deg) translate(7px, -7px);
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Hero Section */
.hero {
background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
color: var(--white);
padding: 80px 20px;
min-height: 100vh;
display: flex;
align-items: center;
}
.hero-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
}
.hero-image {
display: flex;
justify-content: center;
}
.portrait {
width: 100%;
max-width: 400px;
border-radius: 20px;
box-shadow: var(--shadow-lg);
border: 8px solid rgba(255, 255, 255, 0.2);
}
.hero-text {
text-align: left;
}
.logo {
height: 60px;
margin-bottom: 20px;
}
.hero h1 {
font-size: 3rem;
font-weight: 700;
margin-bottom: 10px;
line-height: 1.2;
}
.subtitle {
font-size: 1.5rem;
font-weight: 300;
margin-bottom: 20px;
opacity: 0.9;
}
.tagline {
font-size: 1.2rem;
margin-bottom: 40px;
opacity: 0.85;
font-weight: 300;
}
.cta-buttons {
display: flex;
gap: 15px;
flex-wrap: wrap;
}
.btn {
display: inline-block;
padding: 15px 35px;
border-radius: 50px;
text-decoration: none;
font-weight: 600;
font-size: 1rem;
transition: all 0.3s ease;
border: 2px solid transparent;
}
.btn-primary {
background-color: var(--white);
color: var(--primary-color);
}
.btn-primary:hover {
background-color: transparent;
border-color: var(--white);
color: var(--white);
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
.btn-secondary {
background-color: transparent;
color: var(--white);
border: 2px solid var(--white);
}
.btn-secondary:hover {
background-color: var(--white);
color: var(--primary-color);
transform: translateY(-2px);
}
/* Services Section */
.services {
padding: 80px 20px;
background-color: var(--white);
}
.services h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 50px;
color: var(--primary-color);
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}
.service-card {
background: var(--white);
padding: 40px 30px;
border-radius: 15px;
text-align: center;
transition: all 0.3s ease;
border: 2px solid #e0e0e0;
}
.service-card:hover {
transform: translateY(-10px);
box-shadow: var(--shadow-lg);
border-color: var(--secondary-color);
}
.service-card .icon {
font-size: 3rem;
margin-bottom: 20px;
}
.service-card h3 {
font-size: 1.5rem;
margin-bottom: 15px;
color: var(--primary-color);
}
.service-card p {
color: var(--text-light);
line-height: 1.6;
}
/* About Section */
.about {
padding: 80px 20px;
background-color: var(--bg-light);
}
.about h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 50px;
color: var(--primary-color);
}
.about-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 40px;
}
.about-item {
text-align: center;
}
.about-item h3 {
font-size: 1.5rem;
margin-bottom: 15px;
color: var(--primary-color);
}
.about-item p {
color: var(--text-light);
font-size: 1.1rem;
line-height: 1.6;
}
/* Contact Section */
.contact {
padding: 80px 20px;
background-color: var(--white);
}
.contact h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 50px;
color: var(--primary-color);
}
.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
max-width: 1000px;
margin: 0 auto;
}
.contact-info h3 {
font-size: 1.8rem;
color: var(--primary-color);
margin-bottom: 10px;
}
.contact-title {
color: var(--text-light);
font-size: 1.1rem;
margin-bottom: 30px;
}
.contact-item {
margin-bottom: 25px;
}
.contact-item strong {
display: block;
color: var(--primary-color);
font-size: 1.1rem;
margin-bottom: 8px;
}
.contact-item p {
color: var(--text-light);
line-height: 1.8;
}
.contact-item a {
color: var(--secondary-color);
text-decoration: none;
transition: color 0.3s ease;
}
.contact-item a:hover {
color: var(--primary-color);
text-decoration: underline;
}
.contact-cta {
background: var(--bg-light);
padding: 40px;
border-radius: 15px;
text-align: center;
}
.contact-cta h3 {
font-size: 1.8rem;
color: var(--primary-color);
margin-bottom: 20px;
}
.contact-cta p {
color: var(--text-light);
font-size: 1.1rem;
line-height: 1.6;
margin-bottom: 30px;
}
.contact-buttons {
display: flex;
flex-direction: column;
gap: 15px;
}
.contact-buttons .btn {
width: 100%;
text-align: center;
}
.contact-buttons .btn-primary {
background-color: var(--primary-color);
color: var(--white);
}
.contact-buttons .btn-primary:hover {
background-color: var(--secondary-color);
border-color: var(--secondary-color);
}
.contact-buttons .btn-secondary {
background-color: transparent;
color: var(--primary-color);
border: 2px solid var(--primary-color);
}
.contact-buttons .btn-secondary:hover {
background-color: var(--primary-color);
color: var(--white);
}
/* Map */
.map-container {
margin-top: 60px;
border-radius: 15px;
overflow: hidden;
box-shadow: var(--shadow-lg);
}
#map {
width: 100%;
height: 450px;
}
/* Back to Top Button */
.back-to-top {
position: fixed;
bottom: 30px;
right: 30px;
width: 50px;
height: 50px;
background-color: var(--primary-color);
color: var(--white);
border: none;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
box-shadow: var(--shadow-lg);
opacity: 0;
visibility: hidden;
transform: translateY(20px);
transition: all 0.3s ease;
z-index: 1000;
}
.back-to-top.visible {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.back-to-top:hover {
background-color: var(--secondary-color);
transform: translateY(-3px);
box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}
.back-to-top:active {
transform: translateY(-1px);
}
/* Footer */
.footer {
background-color: var(--primary-color);
color: var(--white);
padding: 40px 20px;
text-align: center;
}
.footer p {
margin-bottom: 10px;
}
.footer .legal {
font-size: 0.9rem;
opacity: 0.8;
}
.footer a {
color: var(--white);
text-decoration: underline;
transition: opacity 0.3s ease;
}
.footer a:hover {
opacity: 0.7;
}
/* Responsive Design */
@media (max-width: 968px) {
.nav-toggle {
display: flex;
}
.nav-menu {
position: fixed;
top: 70px;
left: -100%;
flex-direction: column;
background-color: var(--white);
width: 100%;
text-align: center;
transition: left 0.3s ease;
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
padding: 20px 0;
gap: 0;
}
.nav-menu.active {
left: 0;
}
.nav-menu li {
padding: 15px 0;
border-bottom: 1px solid #f0f0f0;
}
.nav-menu li:last-child {
border-bottom: none;
}
.nav-link::after {
display: none;
}
body {
padding-top: 70px;
}
.hero-content {
grid-template-columns: 1fr;
gap: 40px;
text-align: center;
}
.hero-text {
text-align: center;
}
.hero h1 {
font-size: 2.5rem;
}
.cta-buttons {
justify-content: center;
}
.contact-grid {
grid-template-columns: 1fr;
gap: 40px;
}
}
@media (max-width: 768px) {
.hero {
padding: 60px 20px;
min-height: auto;
}
.hero h1 {
font-size: 2rem;
}
.subtitle {
font-size: 1.2rem;
}
.tagline {
font-size: 1rem;
}
.services,
.about,
.contact {
padding: 60px 20px;
}
.services h2,
.about h2,
.contact h2 {
font-size: 2rem;
}
.services-grid {
grid-template-columns: 1fr;
}
.about-content {
grid-template-columns: 1fr;
}
}
@media (max-width: 480px) {
.btn {
padding: 12px 25px;
font-size: 0.9rem;
}
.cta-buttons {
flex-direction: column;
width: 100%;
}
.cta-buttons .btn {
width: 100%;
}
.portrait {
max-width: 300px;
}
}