/* ============================================
   Business Consultant Website — Style
   ============================================ */

/* --- Fonts --- */
@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/ubuntu-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/ubuntu-italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/ubuntu-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/ubuntu-500italic.woff2') format('woff2');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/ubuntu-700.woff2') format('woff2');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/ubuntu-700italic.woff2') format('woff2');
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #192b26;
    --color-secondary: #618C8F;
    --color-accent: #d00040;
    --color-teal: #b0cdcf;
    --color-text: #000;
    --color-text-light: #000;
    --color-bg: #fff;
    --color-bg-alt: #f2f7f6;
    --color-border: #b4d6d4;
    --font-sans: "Ubuntu", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --container-width: 1100px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

p + p {
    margin-top: 0.75rem;
}

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

/* --- Header --- */
.site-header {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-logo {
    display: block;
    height: 50px;
}

.site-logo img {
    height: 100%;
    width: auto;
    display: block;
}

.site-logo:hover {
    opacity: 0.8;
}

.site-nav {
    display: flex;
    gap: 1.5rem;
}

.site-nav a {
    color: var(--color-secondary);
    font-size: 1.35rem;
    font-weight: 400;
    transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--color-accent);
}

/* --- Hero --- */
.hero {
    background: #b0cdcf;
    color: #000;
    padding: 6rem 0 0 0;
    text-align: left;
}

.hero h1 {
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    max-width: 800px;
}

.hero-subline {
    font-size: 1.75rem;
    font-weight: 400;
    color: #000;
    max-width: 640px;
    margin: 0;
    line-height: 1.6;
}

/* --- Button --- */
.btn {
    display: inline-block;
    background: #d10057;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 400;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
}

.btn:hover {
    background: #b00048;
    color: #fff;
    transform: translateY(-1px);
}

.btn-dark {
    background: #d10057;
    color: #fff;
}

.btn-dark:hover {
    background: #b00048;
    color: #fff;
}

.section-button {
    text-align: left;
    margin-top: 3rem;
}

/* --- Sections --- */
.section {
    padding: 4rem 0;
    background: #b0cdcf;
    color: #000;
}

.section-alt {
    background: #fff;
    color: var(--color-text);
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 400;
    color: inherit;
    margin-bottom: 1.5rem;
}

.nutzenversprechen-wrapper {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.nutzenversprechen-text {
    flex: 2;
    font-size: 1.1rem;
    color: #000;
    line-height: 1.8;
}

.nutzenversprechen-text ul,
.nutzenversprechen-text ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    list-style-position: outside;
}

.nutzenversprechen-text li {
    margin: 0.25rem 0;
    line-height: 1.6;
}

.nutzenversprechen-btn {
    margin-top: 2rem;
}

.nutzenversprechen-image {
    flex: 1;
    min-width: 0;
}

.nutzenversprechen-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nutzenversprechen-image .image-caption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #000;
    text-align: center;
    font-style: italic;
}

.page-intro {
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 2.5rem;
    max-width: 640px;
}

/* --- Customer Logos --- */
.customer-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.customer-logo {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    padding: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.customer-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.customer-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: filter 0.3s, opacity 0.3s;
}

.customer-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 2rem;
    transition: box-shadow 0.2s;
    text-align: center;
}

.service-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.service-icon {
    width: 100%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 0 auto 1.5rem;
    display: block;
    object-fit: cover;
    border-radius: 6px;
}

.service-card h3 {
    font-size: 1.15rem;
    color: #618c8f;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-quote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--color-teal);
    background: rgba(97, 140, 143, 0.1);
    font-style: italic;
    color: var(--color-text);
    font-size: 0.95rem;
    text-align: left;
}

.service-section {
    margin-top: 1.5rem;
    text-align: left;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.service-section h4 {
    font-size: 1rem;
    color: #618c8f;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.service-section p {
    margin: 0.5rem 0;
}

.service-section ul,
.service-section ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    list-style-position: outside;
}

.service-section li {
    margin: 0.25rem 0;
    color: var(--color-text);
    line-height: 1.6;
}

/* --- About --- */
.about-bio {
    font-size: 1.05rem;
    max-width: 780px;
    line-height: 1.8;
    color: #000;
}

.about-content {
    font-size: 1.05rem;
    max-width: 780px;
    line-height: 1.8;
    color: #000;
}

/* --- Articles Grid --- */
.articles-grid {
    display: grid;
    gap: 2rem;
}

.article-card {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 2rem;
    transition: box-shadow 0.2s;
}

.article-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.article-card h2 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.article-card h2 a {
    color: #000;
}

.article-card h2 a:hover {
    color: var(--color-bg-alt);
}

.article-date {
    display: block;
    font-size: 0.85rem;
    color: #000;
    margin-bottom: 0.75rem;
}

.article-intro {
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more {
    font-weight: 400;
    font-size: 0.9rem;
    color: #000;
}

/* --- Über uns --- */
.ueberuns-einleitung {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 3rem;
}

.ueberuns-einleitung h3,
.ueberuns-abschluss h3,
.ueberuns-text h3 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 1rem;
}

.ueberuns-einleitung ul,
.ueberuns-einleitung ol,
.ueberuns-abschluss ul,
.ueberuns-abschluss ol,
.ueberuns-text ul,
.ueberuns-text ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    list-style-position: outside;
}

.ueberuns-einleitung li,
.ueberuns-abschluss li,
.ueberuns-text li {
    margin: 0.25rem 0;
    color: var(--color-text);
    line-height: 1.6;
}

.ueberuns-einleitung h4,
.ueberuns-abschluss h4,
.ueberuns-text h4 {
    font-size: 1rem;
    color: #618c8f;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.ueberuns-abschluss {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin-top: 3rem;
}

.ueberuns-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.ueberuns-item {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.ueberuns-item:nth-child(even) {
    flex-direction: row-reverse;
}

.ueberuns-text {
    flex: 2;
    font-size: 1.05rem;
    color: #000;
    line-height: 1.8;
}

.person-name {
    font-size: 1.5rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 1rem;
}

.ueberuns-image {
    flex: 1;
    min-width: 0;
}

.ueberuns-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.ueberuns-image .image-caption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #000;
    text-align: center;
    font-style: italic;
}

/* --- FAQ Accordion --- */
.faq-accordion {
    max-width: 100%;
    margin: 0;
}

.faq-item {
    margin-bottom: 1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: #fff;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-primary);
    list-style: none;
    transition: background 0.2s;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    display: none;
}

.faq-question:hover {
    background: var(--color-bg-alt);
}

.faq-item[open] .faq-question {
    background: var(--color-bg-alt);
}

.faq-icon {
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s;
    color: var(--color-teal);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text);
    line-height: 1.7;
}

.faq-answer-content p {
    margin-bottom: 0.75rem;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* --- Article Content --- */
.article-content {
    max-width: 720px;
}

.back-link {
    display: inline-block;
    font-size: 0.9rem;
    color: #000;
    margin-bottom: 2rem;
}

.back-link:hover {
    color: #000;
}

.article-lead {
    font-size: 1.15rem;
    color: #000;
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 1.25rem;
}

.article-body strong {
    color: #000;
}

.article-body ul,
.article-body ol {
    margin: 1rem 0 1.25rem 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

/* --- Footer --- */
.site-footer {
    background: #fff;
    color: var(--color-text-light);
    padding: 3rem 0 1.5rem;
    font-size: 0.9rem;
    border-top: 1px solid var(--color-border);
}

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

.footer-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-text {
    font-size: 1.05rem;
    color: var(--color-primary);
    margin: 0;
}

.footer-contact {
    border-left: 2px solid var(--color-border);
    padding-left: 2rem;
}

.footer-contact-heading {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.contact-icon {
    flex-shrink: 0;
    color: var(--color-teal);
    margin-top: 2px;
}

.contact-item a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: var(--color-teal);
}

.contact-item div {
    color: var(--color-text);
    line-height: 1.5;
}

.copyright {
    font-size: 0.8rem;
    color: var(--color-text-light);
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-links {
    font-size: 0.8rem;
    text-align: center;
    margin-top: 1rem;
}

.footer-links a {
    color: var(--color-text-light);
    text-decoration: underline;
}

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

/* --- Page Headings --- */
.section h1 {
    font-size: 2.25rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 1.5rem;
}

.page-content {
    max-width: 800px;
    line-height: 1.8;
}

.page-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #000;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content h3 {
    font-size: 1.3rem;
    font-weight: 400;
    color: #618c8f;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #b0cdcf;
}

.page-content h3:first-of-type {
    margin-top: 0;
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.page-content li {
    margin: 0.5rem 0;
    line-height: 1.8;
}

.page-content a {
    color: #618c8f;
    text-decoration: underline;
}

.catchphrase {
    margin-top: 3rem;
    padding: 2rem 0;
    font-size: 2rem;
    line-height: 1.4;
    color: #d10057;
    text-align: left;
    font-weight: 400;
    font-style: italic;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }

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

    .hero-subline {
        font-size: 1.05rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section h1 {
        font-size: 1.75rem;
        color: #000;
    }

    .section-heading {
        font-size: 1.4rem;
    }

    .site-header .container {
        flex-direction: column;
        text-align: center;
    }

    .site-nav {
        gap: 1rem;
    }

    .nutzenversprechen-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .nutzenversprechen-image {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }

    .ueberuns-item {
        flex-direction: column !important;
        gap: 2rem;
    }

    .ueberuns-image {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .site-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .customer-logos {
        grid-template-columns: repeat(auto-fit, minmax(150px, 150px));
        gap: 1.5rem;
    }

    .customer-logo {
        width: 150px;
        height: 150px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-contact {
        border-left: none;
        border-top: 2px solid var(--color-border);
        padding-left: 0;
        padding-top: 2rem;
    }
}
