/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors - beyond-profit Brand Palette */
    --primary: #008b95;
    /* Petrol - Logo, Icons, Graphics */
    --primary-dark: #006b73;
    /* Darker Petrol */
    --primary-light: #00a5b1;
    /* Lighter Petrol */
    --secondary: #282828;
    /* Dunkelgrau - Text */
    --accent: #968732;
    /* Ocker - Highlights */
    --accent-red: #914b32;
    /* Rot - Highlights */
    --text-primary: #282828;
    /* Dunkelgrau */
    --text-secondary: #4a4a4a;
    /* Medium Gray */
    --text-light: #6a6a6a;
    /* Light Gray */
    --bg-primary: #ffffff;
    /* White */
    --bg-secondary: #f2efe2;
    /* Ocker 10% - Background */
    --bg-tertiary: #e8e5d8;
    /* Slightly darker Ocker */
    --border: #d4cfc0;
    /* Border from Ocker tones */

    /* Typography */
    --font-primary: 'TT Norms', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'TT Norms', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max-width: 1200px;

    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.nav-brand:hover {
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 0.08;
    transform: skewX(-12deg);
    transform-origin: top;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 850px;
    font-weight: 400;
}

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    color: var(--secondary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Text Link */
.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.text-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
}

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.about-intro-full {
    margin-bottom: 50px;
}

.about-intro-full .lead {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-weight: 400;
}

.about-intro-full .lead:last-child {
    margin-bottom: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text {
    font-size: 17px;
}

.about-heading {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    margin-top: 0;
}

.about-text .lead {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin: 24px 0;
}

.feature-list li {
    padding-left: 32px;
    margin-bottom: 12px;
    position: relative;
    color: var(--text-secondary);
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-photo {
    width: 100%;
    margin-bottom: 8px;
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border: 3px solid white;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    transition: var(--transition);
}

.profile-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 139, 149, 0.15);
}

.stat-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-detail {
    font-size: 14px;
    color: var(--text-light);
}

/* Differentiator Cards */
.differentiator-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.differentiator-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 139, 149, 0.1);
    border-color: var(--primary);
}

.differentiator-card h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 12px;
}

.diff-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.differentiator-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* About Testimonials */
.about-testimonials {
    margin-top: 40px;
}

.testimonials-heading {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.testimonials-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* Testimonials Section */
.testimonials {
    padding: var(--section-padding);
    background: white;
    text-align: center;
}

.testimonials .section-header {
    margin-bottom: 0;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 139, 149, 0.15);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--secondary);
    line-height: 1.3;
}

.service-card>p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
    font-size: 15px;
}

.service-subtitle {
    font-size: 14px !important;
    font-style: italic;
    color: var(--text-light) !important;
    margin-bottom: 16px !important;
    margin-top: -4px !important;
}

.service-intro {
    font-weight: 400;
    color: var(--text-secondary) !important;
    margin-bottom: 12px !important;
}

.service-label {
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    margin-top: 20px !important;
    margin-bottom: 12px !important;
    font-size: 15px !important;
}

.service-output {
    margin-top: 24px !important;
    padding-top: 20px !important;
    border-top: 1px solid var(--border);
    font-size: 15px !important;
    color: var(--text-primary) !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
}

.service-details {
    list-style: none;
    margin-top: 20px;
}

.service-details li {
    padding-left: 28px;
    margin-bottom: 10px;
    position: relative;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

.service-details li::before {
    content: "•";
    position: absolute;
    left: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: 20px;
}

/* Expertise Section */
.expertise {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.expertise-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.expertise-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.expertise-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--border);
}

.expertise-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary);
}

.expertise-card p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.expertise-card ul {
    margin: 16px 0;
    padding-left: 20px;
}

.expertise-card ul li {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.expertise-card strong {
    color: var(--accent);
    font-weight: 600;
}

/* Clients Section */
.clients {
    padding: var(--section-padding);
    background: white;
}

.clients-intro {
    text-align: center;
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.client-category {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.client-category h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

.client-category ul {
    list-style: none;
}

.client-category li {
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.client-category li:last-child {
    border-bottom: none;
}

.clients-experience {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    color: white;
}

.clients-experience h4 {
    font-family: var(--font-display);
    font-size: 22px;
    margin-bottom: 16px;
}

.clients-experience p {
    font-size: 18px;
    opacity: 0.95;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: white;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-header h2 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--secondary);
}

.contact-intro {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 50px;
}

.contact-manifesto {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 50px;
    text-align: left;
}

.contact-manifesto p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.contact-goals {
    list-style: none;
    margin: 24px 0 32px 0;
    padding: 0;
}

.contact-goals li {
    font-size: 18px;
    color: var(--text-primary);
    padding-left: 28px;
    margin-bottom: 12px;
    position: relative;
    line-height: 1.6;
}

.contact-goals li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.contact-closing {
    margin-top: 24px;
    font-size: 18px;
}

.contact-actions {
    text-align: center;
}

.btn-large {
    font-size: 20px;
    padding: 18px 48px;
    display: inline-block;
}

.contact-note {
    margin-top: 16px;
    font-size: 16px;
    color: var(--text-light);
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 12px;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Legal Pages (Imprint & Privacy) */
.legal-page {
    padding: 120px 0 80px;
    background: white;
    min-height: 100vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
}

.legal-intro {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 48px;
    font-style: italic;
}

.legal-content h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 48px;
    margin-bottom: 20px;
}

.legal-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--secondary);
    margin-top: 32px;
    margin-bottom: 16px;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.legal-content ul {
    margin: 16px 0 24px 0;
    padding-left: 24px;
}

.legal-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.legal-date {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    font-style: italic;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .about-intro-full .lead {
        font-size: 18px;
    }

    .about-content,
    .contact-content,
    .expertise-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px;
        gap: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .about-intro-full .lead {
        font-size: 17px;
    }

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

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .about-text .lead {
        font-size: 18px;
    }

    .about-photo {
        max-width: 300px;
        margin: 0 auto 24px;
    }

    .about-testimonials {
        margin-top: 40px;
    }

    .testimonials-heading {
        font-size: 24px;
    }

    .testimonials-text {
        font-size: 16px;
    }

    .contact-header h2 {
        font-size: 36px;
    }

    .contact-manifesto {
        padding: 24px;
    }

    .btn-large {
        font-size: 18px;
        padding: 16px 32px;
        width: 100%;
    }

    .clients-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .legal-content h1 {
        font-size: 32px;
    }

    .legal-content h2 {
        font-size: 24px;
        margin-top: 32px;
    }

    .legal-content h3 {
        font-size: 18px;
    }

    .legal-page {
        padding: 100px 0 60px;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.service-card,
.expertise-card {
    animation: fadeInUp 0.6s ease-out;
}