:root {
    --primary-color: #2c5282;
    --secondary-color: #4a6fa5;
    --accent-color: #c9a227;
    --text-color: #2d3748;
    --text-light: #718096;
    --bg-color: #ffffff;
    --bg-alt: #f7fafc;
    --bg-dark: #1a365d;
    --border-color: #e2e8f0;
    --success-color: #38a169;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --max-width: 1200px;
    --content-width: 720px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1.25rem;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.content-narrow {
    max-width: var(--content-width);
    margin: 0 auto;
}

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

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

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

.ad-disclosure {
    color: #cbd5e0;
    font-style: italic;
}

.header-main {
    padding: 1rem 0;
}

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

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

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

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

nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-color: #1a365d;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    padding: 4rem 0;
}

.hero h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #b8911f;
    color: #ffffff;
}

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

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

.section {
    padding: 5rem 0;
}

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

.section-dark {
    background-color: var(--bg-dark);
    color: #ffffff;
}

.section-dark h2,
.section-dark h3 {
    color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-header p {
    color: var(--text-light);
    max-width: 600px;
    margin: 1rem auto 0;
}

.article-content {
    max-width: var(--content-width);
    margin: 0 auto;
}

.article-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-image {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-alt);
}

.article-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.article-image figcaption {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
}

.inline-cta {
    background-color: var(--bg-alt);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.inline-cta h4 {
    margin-bottom: 0.75rem;
}

.inline-cta p {
    margin-bottom: 1rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-card {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.service-card-inner {
    display: flex;
    align-items: stretch;
}

.service-image {
    width: 280px;
    min-height: 200px;
    flex-shrink: 0;
    background-color: var(--bg-alt);
}

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

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

.service-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.service-content p {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

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

.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    flex: 1 1 calc(50% - 1rem);
    min-width: 280px;
    padding: 1.5rem;
    background-color: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.25rem;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.team-section {
    padding: 5rem 0;
}

.team-intro {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.team-image {
    flex: 0 0 400px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--bg-alt);
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-text {
    flex: 1;
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-wrapper {
    display: flex;
    gap: 3rem;
}

.contact-info {
    flex: 1;
}

.contact-form-wrapper {
    flex: 1;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--bg-alt);
    border-radius: 8px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

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

footer {
    background-color: var(--bg-dark);
    color: #cbd5e0;
    padding: 4rem 0 0;
}

.footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    flex: 1 1 300px;
}

.footer-brand .logo {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    flex: 0 0 200px;
}

.footer-links h4 {
    color: #ffffff;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e0;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #a0aec0;
}

.disclaimer {
    background-color: rgba(0,0,0,0.2);
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 1.25rem;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    display: none;
}

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

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

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

.cookie-content a {
    color: var(--accent-color);
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-accept {
    background-color: var(--accent-color);
    color: #ffffff;
}

.cookie-accept:hover {
    background-color: #b8911f;
}

.cookie-reject {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.cookie-reject:hover {
    background-color: rgba(255,255,255,0.1);
}

.page-header {
    background-color: var(--bg-dark);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.legal-content {
    padding: 4rem 0;
}

.legal-content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.thanks-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

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

.thanks-icon {
    width: 80px;
    height: 80px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: #ffffff;
    font-size: 2.5rem;
}

.thanks-content h1 {
    margin-bottom: 1rem;
}

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

.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb span {
    margin: 0 0.5rem;
}

.impressum-box {
    background-color: var(--bg-alt);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.impressum-box h3 {
    margin-bottom: 1rem;
}

.impressum-box p {
    margin-bottom: 0.5rem;
}

@media (max-width: 968px) {
    .mobile-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-color);
        border-top: 1px solid var(--border-color);
        display: none;
        padding: 1rem;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav li {
        border-bottom: 1px solid var(--border-color);
    }

    nav a {
        display: block;
        padding: 1rem;
    }

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

    .team-intro {
        flex-direction: column;
    }

    .team-image {
        flex: none;
        width: 100%;
        height: 250px;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .service-card-inner {
        flex-direction: column;
    }

    .service-image {
        width: 100%;
        height: 200px;
    }

    .footer-main {
        flex-direction: column;
    }

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

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

    .stats-row {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .section {
        padding: 3rem 0;
    }

    .hero {
        min-height: 400px;
    }

    .feature-item {
        flex: 1 1 100%;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}
