:root {
    --color-primary: #003366;
    /* Deep Corporate Blue */
    --color-primary-dark: #002244;
    --color-secondary: #0099cc;
    /* Lighter Blue for accents */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg-light: #f4f4f4;
    --color-bg-white: #ffffff;
    --color-white: #ffffff;

    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Roboto', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    --border-radius: 4px;
    --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Height of sticky header + buffer */
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg-white);
}

p {
    margin-bottom: var(--spacing-sm);
}

/* Bio Section */
.bio-section {
    align-items: center;
}

.bio-section .text-block p:last-child {
    margin-bottom: 0;
}

.bio-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bio-image {
    width: 100%;
    max-width: 320px;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    display: block;
}

@media (min-width: 768px) {
    .bio-image-container {
        height: auto;
    }

    .bio-image {
        position: static;
        width: 100%;
        max-width: 340px;
        height: auto;
        aspect-ratio: 2 / 3;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

.grid-4 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.text-white {
    color: var(--color-white) !important;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    border: none;
    margin-top: 1.5rem;
    /* Increased spacing */
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 1px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--color-white);
}

/* Header */
.header {
    background-color: var(--color-bg-white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    flex-direction: column;
}

.logo-highlight {
    font-weight: 300;
}

.logo-sub {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--color-text);
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-secondary);
}

.nav-button {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

/* Hero */
.hero {
    background-image: linear-gradient(rgba(10, 37, 64, 0.78), rgba(10, 37, 64, 0.72)), url('hero_verkauf_kundenzufriedenheit.jpg');
    background-size: cover;
    background-position: center center;
    color: var(--color-white);
    padding: 8.5rem 0 7.5rem 0;
    text-align: center;
    position: relative;
}

.hero-title {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

/* Section */
.section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

.section-header {
    margin-bottom: var(--spacing-md);
    max-width: 800px;
}

/* Cards */
.card {
    background: var(--color-bg-white);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: transform 0.2s;
    border-top: 4px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.card-link {
    display: inline-block;
    margin-top: auto;
    font-weight: 500;
    color: var(--color-secondary);
}

/* Footer */
.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-col h3 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

.footer-col a {
    color: #cccccc;
}

.footer-col a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-sm);
    text-align: center;
    font-size: 0.9rem;
    color: #cccccc;
}

/* Industry List */
.industry-list li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
}

.industry-list li:last-child {
    border-bottom: none;
}

/* Placeholder Styling (User Request) - styles removed as images are now real */
.placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    object-fit: cover;
    min-height: 200px;
}

/* Mobile Optimization */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: var(--spacing-sm) var(--spacing-md);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 2000;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
}

.cookie-content p {
    margin-bottom: 0;
}

.cookie-content a {
    color: var(--color-secondary);
    text-decoration: underline;
}

.cookie-buttons .btn-sm {
    padding: 0.5rem 1rem;
    margin-top: 0;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .logo {
        max-width: calc(100% - 60px);
    }

    .logo img {
        max-width: 100%;
        height: auto !important;
        max-height: 60px;
    }

    .hamburger {
        display: flex;
    }

    /* Animate Hamburger to X */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .nav {
        width: 100%;
        display: none;
        /* Hide by default */
        margin-top: 1rem;
        order: 3;
        /* Force to bottom */
    }

    .nav.active {
        display: block;
        /* Show when active */
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        text-align: center;
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }

    .hero {
        padding: 4rem 0;
        background-position: center center;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .bio-image-container {
        height: auto;
        margin-bottom: 1.5rem;
    }

    .bio-image {
        max-width: 320px;
        height: auto;
        aspect-ratio: 2 / 3;
        object-position: center top;
        margin: 0 auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mobile-reverse {
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
    }
}

/* ==========================================================================
   Consulting UI Components (Kundenprozesskette, Säulen, Formate, Formular)
   ========================================================================== */

/* Hero Extensions */
.hero-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    padding: 0.35rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-target-note {
    font-size: 1.05rem;
    color: #e0eaf5;
    max-width: 820px;
    margin: 0 auto 1.75rem;
    line-height: 1.5;
}

.hero-buttons .btn {
    margin-top: 0.5rem;
}

/* Scope Box: B2B & B2C */
.scope-banner {
    background: var(--color-bg-white);
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--color-secondary);
    border-radius: var(--border-radius);
    padding: 1.75rem 2rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 3rem;
}

.scope-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .scope-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.scope-item h4 {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.scope-item p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Pain Points (Problemstellung) */
.pain-point-card {
    background: var(--color-bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border-top: 4px solid #cc3333;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s;
}

.pain-point-card:hover {
    transform: translateY(-4px);
}

.pain-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pain-num {
    font-size: 1.4rem;
    font-weight: 700;
    color: #cc3333;
}

.pain-impact {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.88rem;
    color: #991b1b;
    font-weight: 500;
}

/* Die zwei Kernsäulen */
.pillar-card {
    background: var(--color-bg-white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--color-primary);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pillar-badge {
    display: inline-block;
    background: #e6f0fa;
    color: var(--color-primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.pillar-card h3 {
    font-size: 1.45rem;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    line-height: 1.3;
}

.check-list {
    list-style: none;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.98rem;
    color: var(--color-text);
}

.check-icon {
    color: var(--color-secondary);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.pillar-footer-box {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid #edf2f7;
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
}

/* Format-Übersicht: Tabs */
.tabs-wrapper {
    background: var(--color-bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-top: 2rem;
}

.tabs-nav {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    background-color: #fafafa;
    overflow-x: auto;
}

.tab-nav-btn {
    padding: 1.2rem 1.75rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-align: left;
}

.tab-nav-btn:hover {
    color: var(--color-primary);
    background-color: #f0f4f8;
}

.tab-nav-btn.active {
    color: var(--color-primary);
    font-weight: 700;
    border-bottom-color: var(--color-primary);
    background-color: var(--color-bg-white);
}

.tab-panel {
    display: none;
    padding: 2.5rem;
    animation: fadeInTab 0.25s ease-in-out;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-panel h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.tab-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .tab-details-grid {
        grid-template-columns: 1.3fr 0.7fr;
        align-items: start;
    }
}

.tab-sidebar-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.tab-sidebar-item {
    margin-bottom: 1rem;
}

.tab-sidebar-item:last-child {
    margin-bottom: 0;
}

.tab-sidebar-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-text-light);
    display: block;
    margin-bottom: 0.25rem;
}

.tab-sidebar-val {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-primary-dark);
}

/* Warum Werdelmann Argumente */
.why-card {
    background: var(--color-bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--color-secondary);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.why-card-img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.why-card-body {
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.why-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.why-card p {
    color: var(--color-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Contact Form & CTA */
.contact-section-wrapper {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--color-text);
    font-size: 0.92rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    background-color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.15);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-consent {
    font-size: 0.85rem;
    color: var(--color-text-light);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.form-consent input {
    margin-top: 0.25rem;
}

/* Success Feedback */
.form-success-msg {
    display: none;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.form-success-msg.active {
    display: block;
}