/* =========================================================
   Arbeitsschutz Schuster – Modernes Website-Design
   ========================================================= */

:root {
    --green: #6daf2f;
    --green-dark: #4f8f1d;
    --green-soft: #eef7e8;
    --ink: #162024;
    --ink-2: #223036;
    --text: #586368;
    --light: #f6f8f7;
    --line: #e3e8e5;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(16, 31, 37, .10);
    --radius: 18px;
    --container: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,.05);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 48px;
    color: var(--green);
}

.brand-mark svg {
    width: 100%;
    display: block;
}

.brand-copy {
    line-height: 1;
    display: grid;
}

.brand-copy strong {
    font-size: 15px;
    letter-spacing: .02em;
}

.brand-copy b {
    margin-top: 4px;
    color: var(--green);
    font-size: 24px;
    letter-spacing: .01em;
}

.brand-copy small {
    margin-top: 5px;
    color: #8a9498;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 15px;
    font-weight: 600;
}

.main-nav a {
    position: relative;
    transition: color .2s ease;
}

.main-nav a:not(.nav-cta):hover,
.main-nav a.active {
    color: var(--green-dark);
}

.nav-cta {
    border: 1px solid var(--green);
    color: var(--green-dark);
    padding: 12px 18px;
    border-radius: 9px;
}

.nav-cta:hover {
    background: var(--green);
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--ink);
    margin: 6px 0;
}

/* Hero */
.hero {
    position: relative;
    min-height: 635px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(10,22,28,.96) 0%, rgba(10,22,28,.86) 42%, rgba(10,22,28,.28) 72%, rgba(10,22,28,.06) 100%),
        url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=2000&q=85") center 42% / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 140px;
    background: linear-gradient(to top, rgba(0,0,0,.22), transparent);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 740px;
    padding: 72px 0;
    color: #fff;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    font-size: 13px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.03;
    letter-spacing: -.045em;
    max-width: 760px;
}

.hero h1 span {
    color: #f5f7f6;
    position: relative;
}

.hero h1 span::after {
    content: "";
    display: inline-block;
    width: .14em;
    height: .14em;
    margin-left: .08em;
    background: var(--green);
    border-radius: 50%;
}

.hero p {
    max-width: 650px;
    color: rgba(255,255,255,.84);
    font-size: 19px;
    margin: 28px 0 0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 22px;
    border-radius: 8px;
    font-weight: 750;
    transition: all .2s ease;
    border: 1px solid transparent;
}

.button-primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 12px 28px rgba(109,175,47,.25);
}

.button-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

.button-secondary {
    border-color: rgba(255,255,255,.7);
    color: #fff;
    background: rgba(255,255,255,.03);
}

.button-secondary:hover {
    background: #fff;
    color: var(--ink);
}

.button-dark {
    background: var(--ink);
    color: #fff;
}

.button-dark:hover {
    background: #000;
    transform: translateY(-2px);
}

.hero-benefits {
    margin-top: 48px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.88);
}

.hero-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.hero-benefits span::before {
    content: "✓";
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--green);
    color: var(--green);
    border-radius: 50%;
}

/* Sections */
.section {
    padding: 90px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2,
.split-intro h2,
.contact-copy h2,
.audience-card h2 {
    margin: 0;
    font-size: clamp(36px, 4.2vw, 52px);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.section-heading p,
.split-intro p,
.contact-copy > p,
.audience-card p {
    color: var(--text);
    font-size: 17px;
    margin: 18px 0 0;
}

/* Services */
.services {
    background: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.service-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 22px rgba(0,0,0,.04);
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.service-card.featured {
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, #fff 0%, #fbfdf9 100%);
}

.service-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 52px;
    color: var(--green);
}

.service-icon svg {
    width: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 23px;
    line-height: 1.12;
    letter-spacing: -.02em;
}

.service-card p {
    margin: 0;
    color: var(--text);
    font-size: 14px;
}

.service-card a {
    margin-top: 24px;
    color: var(--green-dark);
    font-weight: 800;
    font-size: 14px;
}

.service-card a span {
    margin-left: 7px;
}

.service-image {
    aspect-ratio: 1.2 / .82;
    background-size: cover;
    background-position: center;
}

.playground {
    background-image:
        linear-gradient(rgba(16, 32, 25, .08), rgba(16, 32, 25, .08)),
        url("https://images.unsplash.com/photo-1575783970733-1aaedde1db74?auto=format&fit=crop&w=900&q=82");
}

.gravestone {
    background-image:
        linear-gradient(rgba(16, 32, 25, .08), rgba(16, 32, 25, .08)),
        url("https://images.unsplash.com/photo-1604608672516-f1b9b1d37076?auto=format&fit=crop&w=900&q=82");
}

.training {
    background-image:
        linear-gradient(rgba(16, 32, 25, .05), rgba(16, 32, 25, .05)),
        url("https://images.unsplash.com/photo-1524178232363-1fb2b075b655?auto=format&fit=crop&w=900&q=82");
}

.escape {
    background-image:
        linear-gradient(rgba(16, 32, 25, .06), rgba(16, 32, 25, .06)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=82");
}

.service-content {
    padding: 22px;
}

.mini-icon {
    width: 44px;
    height: 44px;
    margin-top: -44px;
    margin-bottom: 12px;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff;
    color: var(--green);
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
    font-size: 26px;
    font-weight: 800;
}

/* Dark section */
.dark-section {
    background: #102026;
    color: #fff;
}

.split {
    display: grid;
    grid-template-columns: .95fr 1.45fr;
    gap: 85px;
    align-items: center;
}

.split-intro p {
    color: rgba(255,255,255,.68);
}

.split-intro .button {
    margin-top: 28px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.14);
}

.benefit-grid article {
    min-height: 165px;
    padding: 28px;
    display: flex;
    gap: 18px;
    background: #102026;
}

.benefit-grid h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.benefit-grid p {
    margin: 0;
    color: rgba(255,255,255,.66);
    font-size: 14px;
}

.benefit-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--green);
    color: var(--green);
    border-radius: 12px;
    font-size: 20px;
}

/* Process */
.process {
    background: var(--light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    min-height: 230px;
}

.step {
    display: inline-block;
    margin-bottom: 36px;
    color: var(--green);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .08em;
}

.process-grid h3 {
    font-size: 21px;
    margin: 0 0 10px;
}

.process-grid p {
    color: var(--text);
    margin: 0;
    font-size: 14px;
}

/* Audience */
.audience {
    padding-top: 70px;
    padding-bottom: 70px;
}

.audience-card {
    background: var(--green-soft);
    border-radius: 24px;
    padding: 46px 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.audience-card > div {
    max-width: 800px;
}

/* Contact */
.contact-section {
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.2fr;
    gap: 90px;
    align-items: start;
}

.contact-details {
    margin-top: 35px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: var(--text);
}

.contact-details p {
    margin: 7px 0;
}

.contact-details a:hover {
    color: var(--green-dark);
}

.contact-form {
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    margin-bottom: 17px;
    color: #354047;
    font-size: 14px;
    font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: 1px solid #d9e0dc;
    background: #fff;
    border-radius: 9px;
    padding: 13px 14px;
    color: var(--ink);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(109,175,47,.12);
}

.contact-form textarea {
    resize: vertical;
}

.checkbox {
    grid-template-columns: auto 1fr !important;
    align-items: flex-start;
    gap: 10px !important;
    font-weight: 400 !important;
    color: var(--text) !important;
}

.checkbox input {
    width: 17px;
    margin-top: 4px;
}

/* Footer */
.site-footer {
    background: #0c171c;
    color: #fff;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 70px;
}

.footer-brand .brand-copy strong {
    color: #fff;
}

.site-footer p {
    color: rgba(255,255,255,.6);
}

.site-footer h3 {
    margin: 0 0 15px;
    font-size: 15px;
}

.site-footer .footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-footer .footer-grid a:not(.brand) {
    color: rgba(255,255,255,.64);
    font-size: 14px;
}

.site-footer .footer-grid a:hover {
    color: var(--green);
}

.footer-bottom {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255,255,255,.45);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1100px) {
    .main-nav {
        gap: 18px;
    }

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

    .service-card.featured {
        min-height: 360px;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

@media (max-width: 860px) {
    .header-inner {
        min-height: 76px;
    }

    .nav-toggle {
        display: block;
        position: relative;
        z-index: 120;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px 20px 28px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        border-top: 1px solid var(--line);
        box-shadow: 0 14px 30px rgba(0,0,0,.08);
        transform: translateY(-140%);
        opacity: 0;
        pointer-events: none;
        transition: all .25s ease;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav a {
        padding: 10px 4px;
    }

    .nav-cta {
        text-align: center;
        margin-top: 6px;
    }

    .hero {
        min-height: 650px;
        background-position: 63% center;
    }

    .hero {
        background-image:
            linear-gradient(90deg, rgba(10,22,28,.97), rgba(10,22,28,.86) 60%, rgba(10,22,28,.55)),
            url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1600&q=82");
    }

    .hero-content {
        max-width: 670px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .audience-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 38px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .brand-mark {
        width: 40px;
    }

    .brand-copy strong {
        font-size: 12px;
    }

    .brand-copy b {
        font-size: 20px;
    }

    .brand-copy small {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 82px 0 60px;
    }

    .hero h1 {
        font-size: clamp(44px, 14vw, 62px);
    }

    .hero p {
        font-size: 17px;
    }

    .hero-actions {
        display: grid;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-benefits {
        gap: 15px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 68px 0;
    }

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

    .service-card.featured {
        min-height: 310px;
    }

    .service-image {
        aspect-ratio: 16 / 9;
    }

    .benefit-grid,
    .process-grid,
    .form-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .benefit-grid {
        gap: 0;
    }

    .audience-card {
        padding: 30px 24px;
    }

    .contact-form {
        padding: 24px;
    }

    .footer-grid {
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}


/* =========================================================
   Unterseiten / Rechtliches / Formulare
   ========================================================= */

.page-hero {
    padding: 105px 0 78px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 15%, rgba(109,175,47,.22), transparent 25%),
        linear-gradient(135deg, #0d1a20, #172c33);
}

.page-hero .eyebrow { margin-bottom: 12px; }

.page-hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.02;
    letter-spacing: -.045em;
}

.page-hero p {
    max-width: 760px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 18px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 24px;
    color: rgba(255,255,255,.58);
    font-size: 13px;
}

.breadcrumbs a:hover { color: var(--green); }

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 315px;
    gap: 70px;
    align-items: start;
}

.prose {
    max-width: 840px;
}

.prose h2 {
    margin: 52px 0 15px;
    font-size: 31px;
    line-height: 1.16;
    letter-spacing: -.025em;
}

.prose h2:first-child { margin-top: 0; }

.prose h3 {
    margin: 32px 0 10px;
    font-size: 21px;
}

.prose p,
.prose li {
    color: var(--text);
}

.prose ul {
    padding-left: 20px;
}

.prose a {
    color: var(--green-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose .notice {
    padding: 18px 20px;
    border-left: 4px solid var(--green);
    background: var(--green-soft);
    border-radius: 0 12px 12px 0;
}

.service-sidebar {
    position: sticky;
    top: 115px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 25px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.service-sidebar h3 {
    margin: 0 0 15px;
}

.service-sidebar nav {
    display: grid;
    gap: 3px;
}

.service-sidebar nav a {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-weight: 650;
}

.service-sidebar nav a:hover,
.service-sidebar nav a.active {
    color: var(--green-dark);
    background: var(--green-soft);
}

.service-sidebar .button {
    width: 100%;
    margin-top: 20px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 28px 0;
}

.feature-list article {
    padding: 22px;
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: 15px;
}

.feature-list h3 {
    margin: 0 0 7px;
    font-size: 17px;
}

.feature-list p {
    margin: 0;
    font-size: 14px;
}

.service-cta {
    margin-top: 55px;
    padding: 34px;
    border-radius: 20px;
    color: #fff;
    background: #102026;
}

.service-cta h2 {
    margin: 0 0 10px;
    color: #fff;
}

.service-cta p {
    color: rgba(255,255,255,.68);
}

.service-cta .button {
    margin-top: 12px;
}

.legal-page .prose {
    max-width: 900px;
}

.legal-placeholder {
    display: inline-block;
    padding: 2px 7px;
    color: #7a4a00;
    background: #fff0c9;
    border-radius: 5px;
    font-weight: 700;
}

.form-message {
    margin: 0 0 22px;
    padding: 15px 18px;
    border-radius: 10px;
    font-size: 14px;
}

.form-message.success {
    background: #e9f7df;
    color: #315e12;
    border: 1px solid #bddd9f;
}

.form-message.error {
    background: #fff0f0;
    color: #861d1d;
    border: 1px solid #efb9b9;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-mini {
    margin-top: 25px;
    padding: 22px;
    border-radius: 15px;
    background: var(--light);
    border: 1px solid var(--line);
}

.contact-mini p { margin: 4px 0; }

@media (max-width: 900px) {
    .content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-sidebar {
        position: static;
    }
}

@media (max-width: 620px) {
    .page-hero {
        padding: 75px 0 55px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }
}


.captcha-field small {
    color: var(--text);
    font-weight: 400;
    font-size: 12px;
}

.captcha-field input {
    max-width: 180px;
}


/* Kontaktformular – kompakter Statusbereich */
.form-status-slot {
    display: contents;
}

.form-status-slot .form-message {
    margin: 0 0 10px 0;
}

.contact-form > .form-row:first-of-type,
.contact-form > label:first-of-type {
    margin-top: 0;
}


/* Mobile Hero: kleinere Schrift, Wörter nicht trennen */
@media (max-width: 620px) {
    .hero h1 {
        font-size: 36px;
        line-height: 1.08;
        letter-spacing: -0.025em;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
        max-width: 100%;
    }

    .hero-content {
        max-width: 100%;
        overflow: visible;
    }
}
