:root {
    --primary: #1a3a5c;
    --secondary: #e8a54b;
    --accent: #2d5a87;
    --dark: #0f1c2e;
    --light: #f5f7fa;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --border: #dde3ea;
    --shadow: rgba(26, 58, 92, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

h1 { font-size: 2.75rem; margin-bottom: 1.25rem; }
h2 { font-size: 2.25rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--dark);
}

.btn-primary:hover {
    background-color: #d4942f;
    color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--dark);
    padding: 8px 0;
    font-size: 0.85rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ad-disclosure {
    color: var(--secondary);
    font-weight: 500;
}

.header-top-links a {
    color: var(--light);
    margin-left: 20px;
    font-size: 0.85rem;
}

.header-top-links a:hover {
    color: var(--secondary);
}

.header-main {
    padding: 16px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
}

nav ul li a {
    font-weight: 500;
    color: var(--text);
    padding: 8px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--dark);
    margin: 6px 0;
    transition: all 0.3s ease;
}

.split-section {
    display: flex;
    min-height: 80vh;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
}

.split-image {
    flex: 1;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-badge {
    display: inline-block;
    background-color: var(--light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.section {
    padding: 100px 0;
}

.section-alt {
    background-color: var(--light);
}

.section-dark {
    background-color: var(--dark);
    color: var(--white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.service-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px 32px;
    flex: 1 1 340px;
    max-width: 380px;
    box-shadow: 0 4px 24px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background-color: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary);
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    flex-grow: 1;
}

.service-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.service-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    background-color: var(--light);
    border-radius: 16px;
    overflow: hidden;
    min-height: 400px;
    position: relative;
}

.about-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.features-list {
    margin-top: 32px;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    list-style: none;
}

.features-list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonials-wrapper {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 36px;
    flex: 1 1 350px;
    max-width: 400px;
    box-shadow: 0 4px 24px var(--shadow);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 24px;
    color: var(--text);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--light);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.testimonial-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 24px;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 32px;
    opacity: 0.9;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
}

.contact-info-text h4 {
    margin-bottom: 4px;
}

.contact-info-text p {
    color: var(--text-light);
    margin-bottom: 0;
}

.contact-form-wrapper {
    flex: 1;
    background-color: var(--white);
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 8px 32px var(--shadow);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

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

footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 80px 0 0;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-col {
    flex: 1 1 200px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--light);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-about {
    max-width: 300px;
}

.footer-about p {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-bottom-links a {
    color: var(--light);
    opacity: 0.7;
    margin-left: 24px;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

.disclaimer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.6;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -4px 24px var(--shadow);
    padding: 24px;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.cookie-actions .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
}

.page-header {
    background-color: var(--light);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 12px;
}

.page-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.content-page {
    padding: 80px 0;
}

.content-page .container {
    max-width: 900px;
}

.content-page h2 {
    margin-top: 48px;
    margin-bottom: 24px;
}

.content-page h3 {
    margin-top: 32px;
    margin-bottom: 16px;
}

.content-page ul,
.content-page ol {
    margin-left: 24px;
    margin-bottom: 24px;
}

.content-page li {
    margin-bottom: 8px;
}

.thanks-wrapper {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}

.thanks-content {
    max-width: 600px;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
}

.thanks-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--secondary);
}

.thanks-content h1 {
    color: var(--primary);
    margin-bottom: 16px;
}

.thanks-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.services-detail {
    margin-top: 60px;
}

.service-detail-card {
    display: flex;
    gap: 40px;
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px var(--shadow);
    margin-bottom: 40px;
}

.service-detail-card:nth-child(even) {
    flex-direction: row-reverse;
}

.service-detail-image {
    flex: 0 0 40%;
    background-color: var(--light);
    min-height: 300px;
    position: relative;
}

.service-detail-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-detail-content {
    flex: 1;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-detail-content h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.service-detail-content p {
    color: var(--text-light);
    margin-bottom: 24px;
}

.service-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.service-detail-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.contact-page-grid {
    display: flex;
    gap: 60px;
}

.contact-page-info {
    flex: 1;
}

.contact-page-map {
    flex: 1;
    background-color: var(--light);
    border-radius: 16px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impressum-section {
    background-color: var(--light);
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
}

.impressum-section h3 {
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .split-section {
        flex-direction: column;
        min-height: auto;
    }

    .split-section.reverse {
        flex-direction: column;
    }

    .split-content {
        padding: 60px 40px;
    }

    .split-image {
        min-height: 400px;
    }

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

    .about-content,
    .contact-wrapper,
    .contact-page-grid {
        flex-direction: column;
    }

    .about-image {
        min-height: 350px;
    }

    .service-detail-card,
    .service-detail-card:nth-child(even) {
        flex-direction: column;
    }

    .service-detail-image {
        flex: none;
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }

    .header-top {
        display: none;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 10px 30px var(--shadow);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li a {
        display: block;
        padding: 12px 0;
    }

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

    .split-content {
        padding: 40px 24px;
    }

    .section {
        padding: 60px 0;
    }

    .footer-grid {
        gap: 32px;
    }

    .footer-col {
        flex: 1 1 45%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links a {
        margin: 0 12px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .service-detail-content {
        padding: 32px 24px;
    }
}
