/* =============================================
   HR LEGAL – Custom Stylesheet
   Farbschema: Blau-Grau + Orange
   Typografie: System Font Stack
   ============================================= */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    --primary:        #2C3E50;
    --primary-dark:   #1a252f;
    --secondary:      #ECF0F1;
    --accent:         #0D9488;
    --accent-dark:    #0B7A70;
    --text-primary:   #333333;
    --text-secondary: #7F8C8D;
    --white:          #FFFFFF;
    --border:         #BDC3C7;
    --shadow-sm:      rgba(0, 0, 0, 0.06);
    --shadow-md:      rgba(0, 0, 0, 0.10);
    --shadow-lg:      rgba(0, 0, 0, 0.16);
}

/* ===== BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

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

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

/* Section subtitle (kicker) */
.section-subtitle {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 10px;
}

/* Section headline */
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

/* ===== DECORATIVE 3-DOT LINE ===== */
.line {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
    gap: 8px;
}

.line li {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.line li:nth-child(1) { background: var(--accent); }
.line li:nth-child(2) { background: var(--primary); opacity: 0.45; }
.line li:nth-child(3) { background: var(--primary); opacity: 0.20; }

/* ===== SECTION SPACING ===== */
.section-padding {
    padding-top: 110px;
    padding-bottom: 115px;
}

.bg-light-custom {
    background-color: var(--secondary);
}

/* ===== BUTTON ===== */
.btn-primary-custom {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 14px 34px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
    background: var(--accent-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(13, 148, 136, 0.38);
    outline: none;
}

/* ===== NAVIGATION ===== */
#navbar {
    background: var(--white);
    box-shadow: 0 2px 12px var(--shadow-md);
    padding: 14px 0;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    z-index: 1050;
}

#navbar.navbar-scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 20px var(--shadow-lg);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.3px;
}

.navbar-logo {
    height: 80px;
    width: auto;
}

.brand-hr {
    color: var(--accent);
}

.brand-legal {
    color: var(--primary);
}

.navbar-nav .nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
    padding: 8px 14px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 24px;
}

.lang-btn {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 4px 9px;
    border-radius: 3px;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.lang-btn:hover {
    color: var(--accent);
    background: rgba(230, 126, 34, 0.08);
}

.lang-btn.active {
    color: var(--accent);
    background: rgba(230, 126, 34, 0.12);
}

.lang-divider {
    color: var(--border);
    font-size: 14px;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 180px;
    padding-bottom: 150px;
    display: flex;
    align-items: center;
    background: var(--primary);
}

/* Breitformat-Bild: bricht rechts aus dem Container heraus */
.hero-bleed-image {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 58%;
    z-index: 0;
}

.hero-wide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

/* Weicher Übergang von weiß zu transparent (links → rechts) */
.hero-image-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        var(--white) 0%,
        rgba(255, 255, 255, 0.85) 25%,
        rgba(255, 255, 255, 0.30) 55%,
        transparent 100%
    );
}

/* Inhalt über dem Bild */
.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    margin-bottom: 14px;
    color: var(--accent);
    opacity: 0.9;
}

.hero-title {
    font-size: 46px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 18px;
}

.hero-tagline {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 22px;
}

.hero-slogan {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 34px;
}

.hero-slogan span {
    color: var(--accent);
    margin-right: 6px;
}

.hero-body {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 34px;
    max-width: 540px;
}

/* Portrait Placeholder (Fallback) */
.portrait-placeholder {
    width: 100%;
    max-width: 380px;
    height: 460px;
    background: var(--secondary);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    margin: 0 auto;
    border: 2px dashed var(--border);
}

.portrait-placeholder i {
    font-size: 72px;
    margin-bottom: 16px;
    color: var(--border);
}

.portrait-placeholder span {
    font-size: 13px;
    text-align: center;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== SITUATION CARDS ===== */
.situation-card {
    background: var(--white);
    padding: 32px 26px;
    border-radius: 8px;
    box-shadow: 0 2px 12px var(--shadow-sm);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid transparent;
    text-align: left;
}

.situation-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px var(--shadow-md);
    border-top-color: var(--accent);
}

.situation-icon {
    font-size: 42px;
    color: var(--accent);
    margin-bottom: 18px;
    line-height: 1;
    display: flex;
    justify-content: flex-start;
}

.situation-icon svg {
    width: 42px;
    height: 42px;
    stroke: var(--accent);
    stroke-width: 1.5;
}

.situation-number {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.situation-lead {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.ansatz-topics {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ansatz-topics li {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding: 16px 0;
    border-top: 1px solid var(--border, rgba(0,0,0,0.08));
    text-align: center;
}

.ansatz-topics li:last-child {
    border-bottom: 1px solid var(--border, rgba(0,0,0,0.08));
}

.ansatz-topics-lead {
    font-weight: 700;
    color: var(--primary);
}

.situation-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.situation-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== ANSATZ SECTION ===== */
.ansatz-text {
    text-align: left;
}

.ansatz-text p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text-primary);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    background: var(--white);
    padding: 36px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px var(--shadow-sm);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-bottom-color 0.3s ease;
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px var(--shadow-md);
    border-bottom-color: var(--accent);
}

.service-icon {
    font-size: 50px;
    color: var(--accent);
    margin-bottom: 20px;
    line-height: 1;
}

.service-icon svg {
    width: 50px;
    height: 50px;
    stroke: var(--accent);
    stroke-width: 1.5;
}

.service-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== ÜBER MICH ===== */
.about-image-wrapper {
    padding-left: 30px;
}

.portrait-about {
    height: 500px;
}

.qualification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qualification-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--primary);
    border-bottom: 1px solid var(--secondary);
}

.qualification-list li:last-child {
    border-bottom: none;
}

.qualification-list li i {
    color: var(--accent);
    font-size: 22px;
    flex-shrink: 0;
}

/* ===== TIMELINE / PROZESS ===== */
.timeline {
    max-width: 860px;
    margin: 0 auto;
}

.timeline-row {
    position: relative;
    min-height: 120px;
}

/* Vertical connecting line between steps */
.timeline-middle {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.timeline-middle::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: var(--border);
}

.timeline-row.last .timeline-middle::before {
    display: none;
}

.timeline-number {
    position: relative;
    z-index: 2;
    width: 54px;
    height: 54px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
    margin: 30px 0;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.timeline-card {
    background: var(--white);
    padding: 26px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px var(--shadow-sm);
    margin-bottom: 0;
    transition: box-shadow 0.3s ease;
}

.timeline-card:hover {
    box-shadow: 0 6px 22px var(--shadow-md);
}

.timeline-card h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.timeline-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== KOSTEN SECTION ===== */
.cost-card {
    background: var(--white);
    padding: 42px 32px;
    border-radius: 8px;
    box-shadow: 0 2px 12px var(--shadow-sm);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cost-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px var(--shadow-md);
}

.cost-icon {
    font-size: 50px;
    color: var(--accent);
    margin-bottom: 20px;
    line-height: 1;
}

.cost-icon svg {
    width: 50px;
    height: 50px;
    stroke: var(--accent);
    stroke-width: 1.5;
    display: inline-block;
}

.cta-section .cost-icon svg {
    stroke: var(--accent);
}

.cost-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--primary);
}

.cost-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.cta-section .cost-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    box-shadow: none;
}

.cta-section .cost-card:hover {
    background: rgba(255, 255, 255, 0.10);
    box-shadow: none;
}

.cta-section .cost-card h3 {
    color: var(--white);
}

.cta-section .cost-card p {
    color: rgba(255, 255, 255, 0.75);
}

/* ===== FAQ / ACCORDION ===== */
.faq-accordion .accordion-item {
    border: 1px solid var(--border);
    border-radius: 8px !important;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px var(--shadow-sm);
}

.faq-accordion .accordion-button {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    background: var(--white);
    padding: 20px 26px;
    transition: all 0.3s ease;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--primary);
    color: var(--white);
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

.faq-accordion .accordion-body {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.75;
    padding: 20px 26px;
    background: var(--white);
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--primary);
}

.cta-subtitle-kicker {
    color: var(--accent);
}

.cta-about-text {
    color: rgba(255, 255, 255, 0.80);
    font-size: 15px;
    line-height: 1.8;
}

.qualification-list--light li {
    color: rgba(255, 255, 255, 0.90);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.cta-box {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 42px 36px;
}

.cta-box-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.3;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 18px;
}

.cta-body {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.65);
    max-width: 560px;
    margin: 0 auto 10px;
    line-height: 1.75;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    padding: 13px 22px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.20);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
}

.cta-section .btn-primary-custom {
    background: var(--accent);
}

.cta-section .btn-primary-custom:hover {
    background: var(--accent-dark);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 72px 0 32px;
}

.footer-brand {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.footer-logo {
    height: 72px;
    width: auto;
}

.footer-tagline {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-style: italic;
}

.footer-contact {
    font-size: 13px;
    line-height: 1.9;
    color: var(--text-secondary);
    font-style: normal;
}

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

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

.footer h5 {
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.language-switcher-footer {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-secondary);
}

.language-switcher-footer .lang-btn {
    color: var(--text-secondary);
}

.language-switcher-footer .lang-btn.active,
.language-switcher-footer .lang-btn:hover {
    color: var(--accent);
    background: transparent;
}

.footer-divider {
    border-color: var(--border);
    margin: 42px 0 22px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

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

.footer-legal-links a {
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===== TRUST BAR ===== */
.trust-bar {
    background: var(--primary-dark);
    padding: 44px 0;
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.trust-metric-value {
    font-size: 38px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.trust-suffix {
    font-size: 28px;
}

.trust-metric-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.60);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-weight: 500;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--primary-dark);
    border-top: 3px solid var(--accent);
    padding: 20px 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

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

.cookie-banner-text strong {
    display: block;
    color: var(--white);
    font-size: 15px;
    margin-bottom: 4px;
}

.cookie-banner-text p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.btn-cookie-accept {
    background: var(--accent);
    color: var(--white);
    border: none;
    padding: 10px 26px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease;
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    background: var(--accent-dark);
}

.btn-cookie-more {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.60);
    text-decoration: underline;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.btn-cookie-more:hover {
    color: var(--white);
}

/* ===== RESPONSIVE – TABLET (< 992px) ===== */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 28px;
    }

    .section-padding {
        padding-top: 72px;
        padding-bottom: 76px;
    }

    .hero-section {
        padding-top: 120px;
        padding-bottom: 80px;
    }

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

    .navbar-logo {
        height: 60px;
    }

    /* CTA */
    .cta-title {
        font-size: 32px;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    /* Nav language switcher */
    .language-switcher {
        margin-left: 0;
        padding: 6px 0;
    }

    /* Cookie Banner: stack on tablet */
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ===== RESPONSIVE – MOBILE (< 576px) ===== */
@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 100px;
        padding-bottom: 60px;
    }

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

    .section-title {
        font-size: 24px;
    }

    .navbar-logo {
        height: 48px;
    }

    .cta-title {
        font-size: 26px;
    }

    .cta-subtitle {
        font-size: 17px;
    }

    .contact-item {
        width: 100%;
        justify-content: center;
    }

    .btn-primary-custom {
        width: 100%;
        text-align: center;
    }

    /* Trust Bar: 3 Spalten bleiben, kleinere Schrift */
    .trust-bar {
        padding: 28px 0;
    }

    .trust-metric-value {
        font-size: 26px;
    }

    .trust-suffix {
        font-size: 20px;
    }

    .trust-metric-label {
        font-size: 10px;
        letter-spacing: 1px;
    }

    .trust-metric-value {
        font-size: 30px;
    }

    /* Cookie Banner: full-width button on mobile */
    .cookie-banner-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .btn-cookie-accept {
        text-align: center;
    }
}
