:root {
    --bg: #EFE3D3;
    --bg-soft: #C8A986;
    --text: #4A3428;
    --muted: #4A3428;
    --accent: #C8A986;
    --accent-dark: #4A3428;
    --card: #ffffff;
    --focus-bg: #C8A986;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    --shadow-soft: 0 6px 18px rgba(0, 0, 0, 0.06);
    --radius-xl: 44px;
    --max-width: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: #4A3428;
    font-weight: 600;
}

a:hover {
    color: #4A3428;
}

.container {
    width: min(100% - 32px, var(--max-width));
    margin: 0 auto;
}

/* ================= HEADER ================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 120;
    background: var(--bg);
    backdrop-filter: blur(10px);
    border-bottom: none;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 18px 0;
}

.logo-link {
    display: inline-block;
    flex-shrink: 0;
}

.logo {
    width: 200px;
    height: auto;
}

/* ================= MENÜ ================= */

.main-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ================= BUTTONS ================= */
.main-nav a,
.nav-btn,
.btn,
.formular-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border: 2px solid var(--text);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.main-nav a:hover,
.nav-btn:hover,
.btn:hover,
.formular-button:hover {
    background: transparent;
    color: var(--text);
    transform: translateY(-2px);
}

.main-nav a:active,
.nav-btn:active,
.btn:active,
.formular-button:active {
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--text);
    outline-offset: 4px;
}

/* ================= TITELBILD ================= */

.hero-image-top {
    position: relative;
    width: min(100% - 32px, var(--max-width));
    margin: 28px auto 40px;
    overflow: hidden;
    border-radius: 90px 22px 90px 22px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.hero-top-img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: center center;
    display: block;
    opacity: 1;
    filter: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.18) 0%,
            rgba(0, 0, 0, 0.28) 45%,
            rgba(0, 0, 0, 0.42) 100%
        );
}

.hero-title {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    color: white;
}

.hero-title h1 {
    margin: 0 0 16px;
    font-size: clamp(2.6rem, 6vw, 5.2rem);
    font-weight: 700;
    line-height: 1.05;
    color: white;
    text-shadow:
        0 3px 10px rgba(0, 0, 0, 0.55),
        0 6px 24px rgba(0, 0, 0, 0.35);
}

.hero-title p {
    margin: 0;
    font-size: 1.28rem;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.50);
}

/* ================= INHALT ================= */

.eyebrow {
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 14px;
    font-weight: 700;
}

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

h1,
h2,
h3 {
    line-height: 1.1;
    font-weight: 500;
    margin-top: 0;
}/* ================= RECHTSSEITEN / LEGAL PAGES ================= */

.legal-section {
    padding: 50px 0 90px;
}

.legal-card {
    background: var(--card);
    border-radius: 44px;
    padding: 55px;
    box-shadow: none;
    max-width: 980px;
    margin: 0 auto;
}

.legal-card h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 0 0 22px;
    color: #4A3428;
}

.legal-card h2 {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    margin: 42px 0 14px;
    color: #4A3428;
    line-height: 1.2;
}

.legal-card p,
.legal-card li {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #4A3428;
    margin: 0 0 16px;
}

.legal-card strong {
    color: #4A3428;
}

.legal-card ul,
.legal-card ol {
    margin: 0 0 20px 22px;
    padding: 0;
}

.legal-card hr {
    border: none;
    border-top: 1px solid var(--accent);
    margin: 38px 0;
}

.legal-card a {
    color: #4A3428;
    font-weight: 600;
}

.legal-card a:hover {
    color: #4A3428;
}

/* oberer kleiner Hinweis */

.legal-eyebrow {
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4A3428;
    font-weight: 700;
    margin-bottom: 14px;
}

/* ================= MOBILE ================= */

@media (max-width: 960px) {

    .legal-card {
        padding: 38px;
        border-radius: 34px;
    }
}

@media (max-width: 680px) {

    .legal-section {
        padding: 24px 0 60px;
    }

    .legal-card {
        padding: 24px;
        border-radius: 24px;
    }

    .legal-card h1 {
        margin-bottom: 16px;
    }

    .legal-card h2 {
        margin: 28px 0 10px;
    }

    .legal-card p,
    .legal-card li {
        font-size: 1rem;
        line-height: 1.65;
    }
}

h2 {
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
}

.intro,
.positions,
.advantages,
.focus-section,
.care-section,
.contact-section {
    padding: 36px 0 30px;
}

.intro-grid,
.focus-grid,
.care-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    align-items: center;
}

.soft-card {
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: 38px;
    box-shadow: none;
}

.image-card,
.focus-image-wrap,
.care-image-wrap {
    overflow: hidden;
    border-radius: 70px 22px 70px 22px;
    box-shadow: var(--shadow);
}

.section-image,
.focus-image {
    width: 100%;
    object-fit: cover;
    display: block;
}

.image-card .section-image {
    height: 520px;
    object-position: center center;
}

.focus-image-wrap .focus-image {
    height: 560px;
    object-position: center top;
}

.care-image-wrap .section-image {
    height: 500px;
    object-position: center 35%;
}

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

.contact-box {
    background: var(--card);
    border-radius: 44px;
    padding: 48px;
    text-align: center;
    box-shadow: none;
}

.contact-box p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ================= FOOTER ================= */

.site-footer {
    padding: 22px 0 34px;
    border-top: 1px solid var(--accent);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

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

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

/* ================= RESPONSIVE ================= */

@media (max-width: 960px) {
    .header-inner {
        flex-direction: column;
        justify-content: center;
    }

    .logo {
        width: 170px;
    }

    .main-nav {
        justify-content: center;
    }

    .intro-grid,
    .focus-grid,
    .care-grid {
        grid-template-columns: 1fr;
    }

    .hero-top-img {
        height: 400px;
    }

    .image-card .section-image {
        height: 420px;
    }

    .focus-image-wrap .focus-image {
        height: 430px;
        object-position: center top;
    }

    .care-image-wrap .section-image {
        height: 400px;
        object-position: center 30%;
    }
}

@media (max-width: 680px) {
    .logo {
        width: 140px;
    }

    .main-nav {
        width: 100%;
        gap: 10px;
        justify-content: center;
    }

    .main-nav a,
    .nav-btn {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .hero-image-top {
        margin: 18px auto 26px;
        border-radius: 42px 16px 42px 16px;
    }

    .hero-top-img {
        height: 300px;
    }

    .hero-title {
        padding: 18px;
    }

    .hero-title h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .hero-title p {
        font-size: 1rem;
    }

    .image-card .section-image {
        height: 280px;
    }

    .focus-image-wrap .focus-image {
        height: 300px;
        object-position: center top;
    }

    .care-image-wrap .section-image {
        height: 280px;
        object-position: center 28%;
    }

    .soft-card,
    .contact-box {
        padding: 26px;
    }

    .intro,
    .positions,
    .advantages,
    .focus-section,
    .care-section,
    .contact-section {
        padding: 24px 0 60px;
    }
}

/*-------*/

/* ================= RECHTSSEITEN / LEGAL PAGES ================= */

.legal-section {
    padding: 50px 0 90px;
}

.legal-card {
    background: var(--card);
    border-radius: 44px;
    padding: 55px;
    box-shadow: none;
    max-width: 980px;
    margin: 0 auto;
}

.legal-card h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 0 0 22px;
    color: #4A3428;
}

.legal-card h2 {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    margin: 42px 0 14px;
    color: #4A3428;
    line-height: 1.2;
}

.legal-card p,
.legal-card li {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #4A3428;
    margin: 0 0 16px;
}

.legal-card strong {
    color: #4A3428;
}

.legal-card ul,
.legal-card ol {
    margin: 0 0 20px 22px;
    padding: 0;
}

.legal-card hr {
    border: none;
    border-top: 1px solid var(--accent);
    margin: 38px 0;
}

.legal-card a {
    color: #4A3428;
    font-weight: 600;
}

.legal-card a:hover {
    color: #4A3428;
}

/* oberer kleiner Hinweis */

.legal-eyebrow {
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4A3428;
    font-weight: 700;
    margin-bottom: 14px;
}

/* ================= MOBILE ================= */

@media (max-width: 960px) {

    .legal-card {
        padding: 38px;
        border-radius: 34px;
    }
}

@media (max-width: 680px) {

    .legal-section {
        padding: 24px 0 60px;
    }

    .legal-card {
        padding: 24px;
        border-radius: 24px;
    }

    .legal-card h1 {
        margin-bottom: 16px;
    }

    .legal-card h2 {
        margin: 28px 0 10px;
    }

    .legal-card p,
    .legal-card li {
        font-size: 1rem;
        line-height: 1.65;
    }
}

/* Einheitliche Farbgestaltung und umrahmte Navigation */
.main-nav a,
.nav-btn {
    padding: 11px 18px;
    border: 2px solid #4A3428;
    border-radius: 14px;
    background: transparent;
    color: var(--text);
    box-shadow: none;
    text-decoration: none;
}
.main-nav { gap: 24px; }
.main-nav a:hover,
.nav-btn:hover,
.main-nav a:active,
.nav-btn:active {
    background: transparent;
    color: var(--text);
    text-decoration: none;
    transform: none;
}
.hero-overlay { background: rgba(0, 0, 0, 0.30); }
.hero-title,
.hero-title h1,
.hero-title p {
    color: #F5EFE7;
    text-shadow: none;
}

/* Region und Slogan im Titelbild der Startseite */
.main-nav { align-items: center; }
.hero-title-home .hero-region {
    margin: 0 0 18px;
    max-width: none;
    font-size: clamp(0.85rem, 1.8vw, 1.25rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.5;
}
.hero-title-home h1 {
    margin: 0;
    max-width: 100%;
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

/* Kompetenz: Überschrift links, Inhalt rechts */
.competence-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
    text-align: left;
}
.competence-heading h2 { margin-bottom: 0; }
.competence-content > p:first-child { margin-top: 0; }
.competence-content ul { padding-left: 1.3em; margin-bottom: 0; }
.competence-content li + li { margin-top: 8px; }
@media (max-width: 960px) {
    .competence-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Zwei Hinweise über dem Kompetenzblock, ohne Linkfunktion */
.audience-section { padding: 12px 0 0; }
.audience-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 34px;
}
.audience-box {
    padding: 28px;
    border: 2px solid #4A3428;
    border-radius: 14px;
    background: transparent;
    color: var(--text);
}
.audience-box h2 {
    margin: 0 0 16px;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    line-height: 1.3;
}
.audience-box p { margin: 0; }
@media (max-width: 680px) {
    .audience-grid { grid-template-columns: 1fr; gap: 20px; }
    .audience-box { padding: 24px; }
}

/* Ablauf in drei Schritten */
.process-section { padding: 36px 0 30px; }
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: process;
}
.process-steps > li {
    counter-increment: process;
    border-top: 2px solid var(--accent);
    padding-top: 20px;
}
.process-steps > li::before {
    content: counter(process) ".";
    display: block;
    margin-bottom: 14px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}
.process-steps h3 { margin: 0 0 12px; font-size: 1.3rem; font-weight: 600; }
.process-steps p { margin: 0; }
@media (max-width: 680px) {
    .process-section { padding: 24px 0 30px; }
    .process-steps { grid-template-columns: 1fr; gap: 24px; }
}

/* Überschriften, Labels und Ablaufzahlen */
h1, h2, h3,
.legal-card h1, .legal-card h2,
.hero-title-home h1,
.process-steps h3 {
    font-weight: 700;
}
.eyebrow,
.legal-eyebrow,
.form-eyebrow {
    text-decoration-line: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.35em;
}
.process-steps > li {
    position: relative;
    padding-left: 64px;
}
.process-steps > li::before {
    position: absolute;
    top: 14px;
    left: 0;
    margin: 0;
    color: var(--accent);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

/* Einheitliche Titelgröße auf den drei Hauptseiten */
.hero-title h1 {
    font-size: clamp(1.9rem, 4.5vw, 3.2rem);
}

/* Gleiche obere Textkante im Fachkräfte-Einstieg */
.specialist-intro .competence-heading > .eyebrow { margin-top: 0; }

/* Leistungen für Betriebe */
.services-section { padding: 36px 0 30px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
}
.service-card {
    padding: 28px;
    background: var(--card);
    border: 1px solid var(--accent);
    border-radius: 14px;
}
.service-card h3 { margin: 0 0 18px; font-size: 1.4rem; font-weight: 700; }
.service-card p:last-child { margin-bottom: 0; }
.service-card small { font-size: 0.875rem; }
@media (max-width: 960px) {
    .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .services-section { padding: 24px 0 30px; }
    .service-card { padding: 24px; }
}

/* Unternehmens-Einstieg: beide Textspalten vertikal zentrieren */
.company-intro .competence-grid { align-items: center; }
.company-intro .competence-heading > .eyebrow { margin-top: 0; }
.company-intro .competence-content > p:last-child { margin-bottom: 0; }

/* Gemeinsamer Rahmen um den vollständigen Leistungsblock */
.services-panel {
    padding: 38px;
    border: none;
    border-radius: var(--radius-xl);
    background: var(--card);
}
.services-panel > .eyebrow { margin-top: 0; }
.services-panel .service-card {
    background: var(--card);
    border: 1px solid var(--accent);
    box-shadow: var(--shadow-soft);
}
@media (max-width: 680px) {
    .services-panel { padding: 26px; }
}
