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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    background: #1e293b;
    padding: 0.75rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
}

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

.nav-links a {
    text-decoration: none;
    color: #e2e8f0;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #60a5fa;
}

.nav-cta {
    background: #3b82f6;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.nav-cta:hover {
    background: #2563eb;
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

/* Hero Section mit Video */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    left: 0;
    right: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    margin-left: 0;
    margin-right: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(37,99,235,0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 2rem;
    animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37,99,235,0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid white;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: white;
    color: #2563eb;
}

/* Sections */
section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    max-width: none;
    padding: 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1e293b;
}

/* Service Cards Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

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

.service-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

/* Feature Cards - Neue Gestaltung */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.feature-card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.feature-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.feature-card-content h3 {
    color: #1e293b;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.feature-card-content p {
    color: #64748b;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.7;
}

.feature-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.feature-card-link:hover {
    gap: 0.75rem;
    color: #2563eb;
}

.feature-card-link::after {
    content: '→';
    font-size: 1.2rem;
}

/* Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1e293b;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: #3b82f6;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37,99,235,0.4);
}

/* Footer */
footer {
    background: #1e293b;
    color: #e2e8f0;
    text-align: center;
    padding: 3rem 2rem;
}

footer .logo {
    justify-content: center;
    margin-bottom: 1rem;
}

footer p {
    margin: 0.5rem 0;
}

/* ============================================ */
/* CONTENT TEMPLATE SPECIFIC STYLES */
/* ============================================ */

/* Simple Page Header (ohne Hintergrundbild) */
.simple-page-header {
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    color: white;
    padding: 8rem 2rem 3rem;
    margin-top: 70px;
    text-align: center;
}

.simple-page-header h1 {
    font-size: 2.5rem;
    margin: 0;
}

/* Profile Image - floats right with text wrapping around */
.profile-image {
    float: right;
    width: 250px;
    height: auto;
    margin: 0 0 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Content with image class for better flow */
.content-with-image::after {
    content: "";
    display: table;
    clear: both;
}

/* ============================================ */
/* POST TEMPLATE SPECIFIC STYLES */
/* ============================================ */

/* Page Header */
.page-header {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(37,99,235,0.5));
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
    max-width: 900px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-header .subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 2rem;
    display: flex;
    gap: 0.5rem;
    color: #64748b;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.content-main {
    background: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto;
}

.feature-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none; /* Versteckt, da Bild jetzt im Header */
}

.content-main h2 {
    color: #1e293b;
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #3b82f6;
}

.content-main h3 {
    color: #334155;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.content-main p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-main ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-main li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.highlight-box {
    background: #f0f9ff;
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.highlight-box h3 {
    margin-top: 0;
    color: #1e293b;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 900px;
    margin: 3rem auto 0;
}

.cta-box h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cta-button {
    background: white;
    color: #2563eb;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 968px) {
    .page-header {
        height: 300px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header .subtitle {
        font-size: 1.1rem;
    }

    .simple-page-header h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1e293b;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .content-main {
        padding: 1.5rem;
    }

    /* Profile image zentriert auf Mobile */
    .profile-image {
        float: none;
        display: block;
        margin: 0 auto 1.5rem;
        width: 200px;
    }
}
footer a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #93c5fd;
    text-decoration: underline;
}
