/* ---------- Grundlagen ---------- */
:root {
    --primary: #0f2b3d;
    --primary-dark: #071a26;
    --secondary: #e67e22;
    --secondary-light: #f39c12;
    --text: #2c3e50;
    --text-light: #5d6f7e;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Animationen */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typografie */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--secondary);
    color: white;
    padding: 0.75rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background: var(--secondary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Header */
.top-bar {
    background: var(--primary-dark);
    color: white;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
}

.main-nav {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    min-height: 80px;
}

.logo-link img {
    max-height: 55px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-list a {
    font-weight: 600;
    color: var(--primary);
    padding: 0.5rem 0.8rem;
}

.nav-list a:hover, .nav-list a.active {
    color: var(--secondary);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        background: white;
        position: absolute;
        top: 80px;
        left: 0;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    .nav-list.open { display: flex; }
}

/* Hero Block */
.block-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content-inner {
    background: rgba(255,255,255,0.92);
    padding: 3rem;
    border-radius: var(--border-radius);
    max-width: 650px;
    backdrop-filter: blur(2px);
}

.hero-content-inner h1 {
    font-size: 3.5rem;
    color: var(--primary);
}

.hero-content-inner p {
    font-size: 1.2rem;
    margin: 1.5rem 0;
}

/* Leistungen (Cards) */
.block-cards-3 {
    padding: 5rem 0;
    background: var(--bg-light);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    padding: 2rem;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card .btn {
    margin-top: 1rem;
    background: none;
    color: var(--secondary);
    padding: 0.5rem 1rem;
}

.card .btn:hover {
    background: var(--secondary);
    color: white;
}

/* Text Block */
.block-text {
    padding: 5rem 0;
}

.block-text .container > div {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Galerie (Referenzen) */
.block-gallery {
    padding: 5rem 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: transform 0.3s;
    cursor: pointer;
}

.gallery-item img:hover {
    transform: scale(1.02);
}

/* Kontaktformular */
.block-contact-form {
    padding: 5rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 12px;
}

.btn-submit {
    background: var(--secondary);
    color: white;
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 40px;
    cursor: pointer;
}

/* Google Maps */
.block-google-maps {
    padding: 5rem 0;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-logo {
    max-height: 50px;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}