/* =========================================================
   Pro-Sim Theme – site.css
   Konsolidierte Version
   Stand: 2026-09-16
   ========================================================= */

/* =========================================================
   1. Grundvariablen
   ========================================================= */

:root {
    --bg: #f6f7f5;
    --paper: #ffffff;
    --ink: #10191f;
    --text: #34434b;
    --muted: #66737a;
    --line: #dce2df;
    --soft: #edf1ee;

    --accent: #ec9103;
    --accent-dark: #c93f22;
    --accent-soft: #fff2ed;

    --dark: #142128;
    --dark-2: #0a1115;
    --dark-text: #cad4d8;

    --radius: 22px;
    --max: 1220px;
    --text-max: 900px;
    --text-narrow: 780px;

    --shadow: 0 20px 60px rgba(16, 25, 31, 0.08);
}

/* =========================================================
   2. Reset & Basis
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);

    font-family: Inter, ui-sans-serif, system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;

    font-size: 20px;
    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

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

/* =========================================================
   3. Globales Layoutsystem
   ========================================================= */

.wrap {
    width: min(calc(100% - 48px), var(--max));
    margin: 0 auto;
}

.section {
    padding: clamp(78px, 8.2vw, 124px) 0;
}

.section-white {
    background: var(--paper);
}

.section-soft {
    background: var(--soft);
}

.section-dark {
    background: var(--dark);
    color: #f5f7f6;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark strong {
    color: #ffffff;
}

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

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(38px, 6vw, 88px);
    align-items: center;
}

.two-col > * {
    min-width: 0;
}

.cms-area::after {
    content: "";
    display: table;
    clear: both;
}

/* =========================================================
   4. Header & Navigation
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;

    background: rgba(246, 247, 245, 0.92);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(16, 25, 31, 0.08);
}

.header-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    font-size: 1rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand-mark {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 11px;
    background: var(--accent);
    color: #ffffff;

    font-size: 0.7rem;
}
.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo img {
    display: block;
    width: auto;
    height: 44px;
    max-width: 100%;
}

.main-nav {
    display: flex;
    gap: 24px;

    margin-left: auto;

    font-size: 0.92rem;
    font-weight: 750;
}

.main-nav a {
    transition: color 0.18s ease;
}

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

.nav-cta {
    margin-left: 8px;
}

/* =========================================================
   5. Mobile Navigation
   ========================================================= */

.mobile-menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    margin-left: auto;
    padding: 0;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    margin: 5px auto;

    border-radius: 999px;
    background: var(--ink);
}

.mobile-nav {
    display: none;

    background: var(--paper);
    border-top: 1px solid var(--line);
}

.mobile-nav.is-open {
    display: block;
}

.mobile-nav-inner {
    display: flex;
    flex-direction: column;

    padding-top: 18px;
    padding-bottom: 24px;
}

.mobile-nav-inner > a:not(.btn) {
    padding: 14px 0;

    border-bottom: 1px solid var(--line);

    font-weight: 750;
}

.mobile-nav-inner .btn {
    align-self: flex-start;
    margin-top: 20px;
}

/* =========================================================
   6. Typografie
   ========================================================= */

/*
   Typografie-Skala:
   - Fließtext: 20px auf Desktop / 18px mobil
   - Einleitungen: 22px
   - H3: ca. 24–28px
   - H2: ca. 36–52px
   - H1: ca. 48–72px
   - große Case-Aussagen bleiben bewusst größer
*/

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.04;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

h1 {
    max-width: 760px;
    margin-bottom: 26px;

    font-size: clamp(3rem, 4vw, 4.5rem);
}

h2 {
    max-width: 900px;
    margin-bottom: 24px;

    font-size: clamp(2.25rem, 3vw, 3.25rem);
}

h3 {
    margin-bottom: 10px;

    font-size: clamp(1.5rem, 1.8vw, 1.75rem);
}

p {
    max-width: 820px;
    margin-bottom: 16px;

    color: var(--text);
    font-size: 20px;
}

li {
    color: var(--text);
    font-size: 20px;
}

.eyebrow {
    margin: 0 0 14px;

    color: var(--accent);

    font-size: 0.79rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lead {
    max-width: 790px;

    color: #405059;

    font-size: 1.18rem;
    line-height: 1.55;
}

.muted {
    color: var(--muted);
}

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

/* =========================================================
   7. Buttons
   ========================================================= */

.btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 28px;
}

.btn {
    min-height: 50px;
    padding: 0 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid transparent;
    border-radius: 999px;

    font-weight: 800;

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    border-color: #aeb8ba;
    background: transparent;
}

.btn-secondary:hover {
    background: #ffffff;
}

/* =========================================================
   8. Startseite – Hero
   ========================================================= */

.hero {
    padding:
        clamp(66px, 7.4vw, 108px)
        0
        clamp(84px, 8.8vw, 128px);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    gap: clamp(42px, 5.2vw, 72px);
    align-items: center;
}

.hero-grid > * {
    min-width: 0;
}

.hero-copy h1 {
    margin-bottom: 24px;
}
.hero-copy p:first-child {
    margin-bottom: 22px;

    color: var(--accent);

    font-size: 14px;
    font-weight: 900;
    line-height: 1.3;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.hero-copy p:not(:first-child) {
    max-width: 700px;

    font-size: 22px;
    line-height: 1.62;
}

.hero-visual img,
.hero-image-area img {
    width: 100%;

    border-radius: 26px;
    box-shadow: var(--shadow);
}

/* =========================================================
   9. Startseite – Problem
   ========================================================= */

#simulation {
    background: var(--paper);
}

#simulation h2 {
    max-width: 820px;
}

#simulation p {
    max-width: 940px;
    font-size: 20px;
}

#simulation p + p {
    margin-top: 18px;
}

/* =========================================================
   10. Startseite – Featured Case
   ========================================================= */

#featured-case {
    position: relative;
    overflow: hidden;
}

#featured-case h2 {
    max-width: 760px;
    margin-bottom: 30px;

    font-size: clamp(2.8rem, 4.1vw, 4.5rem);
}

#featured-case p {
    max-width: 840px;

    font-size: 20px;
    line-height: 1.66;
}

#featured-case p:last-child {
    margin-top: 30px;
    padding-top: 24px;

    border-top: 1px solid rgba(255, 255, 255, 0.18);

    color: #ffffff;
    font-weight: 750;
}

/* =========================================================
   11. Startseite – Zusammenarbeit
   ========================================================= */

#zusammenarbeit {
    background: var(--paper);
}

#zusammenarbeit h2 {
    max-width: 760px;
}

#zusammenarbeit h2 + p {
    max-width: 900px;
    margin-bottom: 42px;

    font-size: 20px;
}

#zusammenarbeit h3 {
    max-width: 980px;

    margin-top: 28px;
    padding-top: 26px;

    border-top: 1px solid var(--line);
}

#zusammenarbeit h3 + p {
    max-width: 900px;
    margin-bottom: 24px;
}

/* =========================================================
   12. Startseite – Arbeitsweise
   ========================================================= */

#arbeitsweise h2 {
    max-width: 900px;
}

#arbeitsweise h2 + p {
    max-width: 900px;
    font-size: 20px;
}

#arbeitsweise ol {
    list-style: none;
    counter-reset: process;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;

    margin: 42px 0 28px;
    padding: 0;
}

#arbeitsweise ol li {
    counter-increment: process;

    min-height: 150px;
    padding: 22px;

    border: 1px solid #d6ded9;
    border-radius: 18px;

    background: #ffffff;

    font-weight: 720;
    line-height: 1.45;
}

#arbeitsweise ol li::before {
    content: counter(process);

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    margin-bottom: 20px;

    border-radius: 50%;

    background: var(--ink);
    color: #ffffff;

    font-size: 0.9rem;
    font-weight: 900;
}

#arbeitsweise ol + p {
    max-width: 760px;
    margin-top: 26px;

    color: var(--ink);

    font-size: 22px;
    font-weight: 800;
}

/* =========================================================
   13. Startseite – Cases
   ========================================================= */

#cases {
    background: var(--paper);
}

#cases h2 {
    max-width: 780px;
    margin-bottom: 42px;
}

#cases h3 {
    max-width: 1040px;

    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
    align-items: start;

    margin: 0;
    padding-top: 26px;

    border-top: 1px solid var(--line);
}

#cases h3::before {
    content: "→";

    padding-top: 2px;

    color: var(--accent);

    font-size: 1.25rem;
    line-height: 1.1;
}

#cases h3 + p {
    max-width: 900px;
    margin: 10px 0 30px 60px;
}

/* =========================================================
   14. Startseite – Team
   ========================================================= */

#team .two-col {
    align-items: center;
}

#team h2 {
    max-width: 720px;
}

#team p {
    max-width: 700px;
}

#team .two-col > div:last-child:empty {
    min-height: 380px;

    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 24px;
}

.team-image-area img,
#team img {
    width: 100%;
    border-radius: 24px;
}

/* =========================================================
   15. Startseite – FlexSim
   ========================================================= */

#flexsim {
    background: var(--paper);
}

#flexsim h2 {
    max-width: 850px;
}

#flexsim p {
    max-width: 900px;
}

#flexsim p:last-child {
    max-width: 760px;

    margin-top: 28px;
    padding: 20px 22px;

    border-left: 4px solid var(--accent);
    border-radius: 0 14px 14px 0;

    background: var(--accent-soft);
    color: #4c3a34;
}

/* =========================================================
   16. Startseite – Ownership
   ========================================================= */

#ownership h2 {
    max-width: 800px;
}

#ownership p {
    max-width: 860px;
    font-size: 20px;
}

#ownership p:last-child {
    margin-top: 28px;

    color: var(--ink);

    font-size: 22px;
    font-weight: 820;
}

/* =========================================================
   17. Kontaktformular
   ========================================================= */

#kontakt .two-col {
    align-items: start;
}

#kontakt .two-col > div {
    min-width: 0;
}

#kontakt h2 {
    max-width: 650px;
    font-size: clamp(2.1rem, 3vw, 3.25rem);
}

#kontakt p {
    max-width: 620px;
    font-size: 20px;
}

#kontakt .ccm-block-express-form {
    padding: clamp(22px, 3vw, 34px);

    border-radius: 24px;

    background: #ffffff;
    color: var(--ink);

    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.14);
}

#kontakt .ccm-block-express-form p,
#kontakt .ccm-block-express-form label,
#kontakt .ccm-block-express-form .form-label,
#kontakt .ccm-block-express-form .form-check-label {
    color: var(--ink);
}

#kontakt .ccm-block-express-form .form-label {
    display: block;

    margin: 0 0 7px;

    font-size: 0.9rem;
    font-weight: 800;
}

#kontakt .ccm-block-express-form .mb-3 {
    margin-bottom: 18px !important;
}

#kontakt .ccm-block-express-form input[type="text"],
#kontakt .ccm-block-express-form input[type="email"],
#kontakt .ccm-block-express-form input[type="tel"],
#kontakt .ccm-block-express-form select {
    width: 100%;
    max-width: 100%;
    min-height: 48px;

    padding: 11px 13px;

    border: 1px solid #cfd8d9;
    border-radius: 10px;

    background: #ffffff;
    color: var(--ink);
}

#kontakt .ccm-block-express-form textarea {
    width: 100%;
    max-width: 100%;
    min-height: 130px;

    padding: 11px 13px;

    border: 1px solid #cfd8d9;
    border-radius: 10px;

    background: #ffffff;
    color: var(--ink);

    resize: vertical;
}

#kontakt .ccm-block-express-form input[type="text"]:focus,
#kontakt .ccm-block-express-form input[type="email"]:focus,
#kontakt .ccm-block-express-form input[type="tel"]:focus,
#kontakt .ccm-block-express-form select:focus,
#kontakt .ccm-block-express-form textarea:focus {
    outline: none;

    border-color: var(--accent);

    box-shadow: 0 0 0 3px rgba(230, 79, 46, 0.12);
}

#kontakt .ccm-block-express-form .form-check {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 10px;
    padding-left: 0;
}

#kontakt .ccm-block-express-form .form-check-input {
    flex: 0 0 auto;

    width: 18px;
    height: 18px;
    min-height: 0;

    margin: 0;
}

#kontakt .ccm-block-express-form .form-check-label {
    display: inline;

    margin: 0;

    font-weight: 500;
    line-height: 1.4;
}

#kontakt .ccm-block-express-form button,
#kontakt .ccm-block-express-form input[type="submit"] {
    min-height: 48px;
    padding: 0 22px;

    border: 0;
    border-radius: 999px;

    background: var(--accent);
    color: #ffffff;

    font-weight: 850;

    cursor: pointer;

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

#kontakt .ccm-block-express-form button:hover,
#kontakt .ccm-block-express-form input[type="submit"]:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* =========================================================
   18. Footer
   ========================================================= */

.site-footer {
    padding: 38px 0;

    background: var(--dark-2);
    color: #b8c4c9;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
}

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

.footer-links a:hover {
    color: #ffffff;
}

/* =========================================================
   19. Kompatibilitätsklassen
   ========================================================= */

.question-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;

    margin-top: 46px;
}

.question {
    min-height: 118px;
    padding: 23px;

    display: flex;
    align-items: flex-end;

    border: 1px solid var(--line);
    border-radius: 18px;

    background: var(--bg);

    font-size: 20px;
    font-weight: 800;
}

.note {
    max-width: 880px;

    margin-top: 28px;
    padding: 19px 22px;

    border-left: 4px solid var(--accent);
    border-radius: 0 15px 15px 0;

    background: var(--accent-soft);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;

    margin-top: 44px;
}

.card {
    min-height: 300px;
    padding: 28px;

    border: 1px solid var(--line);
    border-radius: 22px;

    background: #ffffff;
}

.text-link {
    color: var(--accent);
    font-weight: 850;
}

.text-link::after {
    content: " →";
}

/* =========================================================
   20. Case-Seiten – gemeinsames Raster
   ========================================================= */

.case-hero {
    padding: 88px 0 96px;
    background: var(--paper);
}

.case-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 72px;
    align-items: center;
}

.case-hero-grid > * {
    min-width: 0;
}

.case-hero-content {
    max-width: var(--text-max);
}

.case-hero-content p:first-child {
    margin-bottom: 24px;

    color: var(--accent);

    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-hero-content h1 {
    max-width: 760px;

    margin: 0 0 28px;

    font-size: clamp(3.5rem, 4.6vw, 4.5rem);
    line-height: 0.96;
    letter-spacing: -0.055em;
}

.case-hero-content h1 + p {
    max-width: 680px;
    margin: 0;

    font-size: 22px;
    line-height: 1.65;
}

.case-hero-visual:empty {
    min-height: 360px;

    border: 1px solid var(--line);
    border-radius: 24px;

    background: var(--soft);
}

/* ---------- Normale Case-Inhalte ---------- */

.case-content {
    max-width: var(--max);
}

.case-content > h2,
.case-content > h3,
.case-content > p,
.case-content > ul,
.case-content > ol {
    max-width: var(--text-max);
}

.case-content > h2 {
    margin: 0 0 28px;

    font-size: clamp(2.25rem, 3vw, 3.25rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.case-content > h3 {
    max-width: 820px;

    margin: 0 0 28px;

    font-size: clamp(1.5rem, 1.9vw, 1.8rem);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.case-content > p {
    max-width: var(--text-narrow);

    font-size: 20px;
    line-height: 1.75;
}

.case-content > p + p {
    margin-top: 22px;
}

/* ---------- Entscheidende Erkenntnis ---------- */

.case-result {
    max-width: var(--max);
}

.case-result > h2,
.case-result > h3,
.case-result > p {
    max-width: var(--text-max);
}

.case-result > h2 {
    margin: 0 0 24px;

    color: var(--accent);

    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.case-result > h3 {
    max-width: 900px;

    margin: 0 0 28px;

    color: #ffffff;

    font-size: clamp(3rem, 4.2vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
}

.case-result > p {
    max-width: 820px;
    margin: 0;

    color: var(--dark-text);

    font-size: 20px;
    line-height: 1.65;
}

/* ---------- Ergebnis ---------- */

.case-page .section-dark + .section .case-content > h2 {
    margin-bottom: 26px;
}

.case-page .section-dark + .section .case-content > h3 {
    max-width: 900px;

    margin: 0 0 34px;

    color: var(--ink);

    font-size: clamp(2.6rem, 3.8vw, 4rem);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.case-page .section-dark + .section .case-content > p {
    max-width: 800px;
}

/* ---------- Take-away ---------- */

.case-page .section-soft .case-content > h3 {
    max-width: 800px;

    font-size: clamp(1.7rem, 2.6vw, 2.5rem);
    line-height: 1.16;
}

/* ---------- CTA ---------- */

.case-cta {
    max-width: var(--max);
    text-align: left;
}

.case-cta > h2,
.case-cta > p,
.case-cta > a {
    max-width: var(--text-max);
}

.case-cta > h2 {
    margin: 0 0 28px;

    font-size: clamp(2.4rem, 3.3vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.case-cta > p {
    max-width: 700px;

    font-size: 20px;
    line-height: 1.7;
}


.case-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    margin-top: 18px;
    padding: 0 22px;

    border-radius: 999px;

    background: var(--accent);
    color: #ffffff;

    font-size: 18px;
    font-weight: 800;
    text-decoration: none;

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.case-cta a:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}


/* =========================================================
   21. Cases-Übersicht
   ========================================================= */

.cases-hero {
    padding: 88px 0 72px;
    background: var(--paper);
}

.cases-hero-content {
    max-width: 900px;
}

.cases-hero-content h1 {
    max-width: 900px;
    margin-bottom: 28px;

    font-size: clamp(3rem, 4vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.cases-hero-content p {
    max-width: 760px;

    font-size: 22px;
    line-height: 1.65;
}

.case-list-item {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: clamp(42px, 6vw, 84px);
    align-items: center;

    padding: 72px 0;
    border-top: 1px solid var(--line);
}

.case-list-item:last-child {
    border-bottom: 1px solid var(--line);
}

.case-list-item-reverse .case-list-copy {
    order: 2;
}

.case-list-item-reverse .case-list-visual {
    order: 1;
}

.case-list-copy {
    min-width: 0;
}

.case-list-copy h2 {
    max-width: 720px;
    margin-bottom: 18px;

    font-size: clamp(2.25rem, 3vw, 3.25rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.case-list-copy h3 {
    margin-bottom: 14px;

    color: var(--accent);

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.case-list-copy p {
    max-width: 680px;

    font-size: 20px;
    line-height: 1.7;
}

.case-list-copy a {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 14px;

    color: var(--accent);

    font-size: 18px;
    font-weight: 850;
}

.case-list-copy a::after {
    content: "→";
    transition: transform 0.18s ease;
}

.case-list-copy a:hover::after {
    transform: translateX(4px);
}

.case-list-visual {
    min-width: 0;
}

.case-list-visual:empty {
    min-height: 320px;

    border: 1px solid var(--line);
    border-radius: 24px;

    background: linear-gradient(145deg, #edf1ef, #d8dfdc);
}

.case-list-visual img {
    width: 100%;
    height: auto;

    border-radius: 24px;
    box-shadow: var(--shadow);
}

.cases-cta {
    max-width: var(--max);
    text-align: left;
}

.cases-cta > h2,
.cases-cta > p,
.cases-cta > a {
    max-width: 900px;
}

.cases-cta h2 {
    margin-bottom: 24px;

    font-size: clamp(2.4rem, 3.3vw, 3.4rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.cases-cta p {
    max-width: 700px;

    font-size: 20px;
    line-height: 1.7;
}

.cases-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;
    margin-top: 18px;
    padding: 0 22px;

    border-radius: 999px;

    background: var(--accent);
    color: #ffffff;

    font-size: 18px;
    font-weight: 800;

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.cases-cta a:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* =========================================================
   SIMULATION-SEITE
   ========================================================= */

.simulation-hero {
    padding: 88px 0 96px;
    background: var(--paper);
}

.simulation-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 72px;
    align-items: center;
}

.simulation-hero-grid > * {
    min-width: 0;
}

.simulation-hero-content {
    max-width: 900px;
}

.simulation-hero-content p:first-child {
    margin-bottom: 22px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.simulation-hero-content h1 {
    max-width: 760px;
    margin-bottom: 28px;
}

.simulation-hero-content h1 + p {
    max-width: 700px;
    font-size: 22px;
    line-height: 1.65;
}

.simulation-hero-visual:empty,
.simulation-visual:empty {
    min-height: 320px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: linear-gradient(145deg, #edf1ef, #d8dfdc);
}

.simulation-hero-visual img,
.simulation-visual img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.simulation-content {
    max-width: var(--max);
}

.simulation-content > h2,
.simulation-content > h3,
.simulation-content > p,
.simulation-content > ul,
.simulation-content > ol {
    max-width: 900px;
}

.simulation-content > p,
.simulation-content li {
    font-size: 20px;
}

.simulation-content ul,
.simulation-content ol {
    padding-left: 1.25em;
}

.simulation-content li + li {
    margin-top: 10px;
}

.simulation-page .section-dark .simulation-content p,
.simulation-page .section-dark .simulation-content li {
    color: var(--dark-text);
}

.simulation-cta {
    max-width: var(--max);
    text-align: left;
}

.simulation-cta > h2,
.simulation-cta > p,
.simulation-cta > a {
    max-width: 900px;
}

.simulation-cta > p {
    max-width: 700px;
}

.simulation-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-top: 18px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--accent);
    color: #ffffff;
    font-size: 18px;
    font-weight: 800;
    transition: background 0.18s ease, transform 0.18s ease;
}

.simulation-cta a:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .simulation-hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .simulation-hero {
        padding: 64px 0 72px;
    }

    .simulation-hero-visual:empty,
    .simulation-visual:empty {
        min-height: 240px;
    }
}

@media (max-width: 620px) {
    .simulation-hero {
        padding: 48px 0 56px;
    }

    .simulation-hero-content h1 + p {
        font-size: 20px;
    }

    .simulation-content > p,
    .simulation-content li {
        font-size: 18px;
    }

    .simulation-hero-visual:empty,
    .simulation-visual:empty {
        min-height: 190px;
        border-radius: 18px;
    }
}
/* =========================================================
   TEXT-LINKS
   ========================================================= */

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 14px;

    color: var(--accent);
    font-weight: 800;
    text-decoration: none;
}

.text-link::after {
    content: "→";
    transition: transform 0.18s ease;
}

.text-link:hover {
    color: var(--accent-dark);
}

.text-link:hover::after {
    transform: translateX(4px);
}
		/* =========================================================
   SCHULUNG & COACHING – SCHULUNGSKARTEN
   ========================================================= */

.logo-flat img {
    border-radius: 0;
    box-shadow: none;
}		
		
.training-courses-intro {
    max-width: 900px;
    margin-bottom: 42px;
}

.training-courses-intro > p {
    max-width: 780px;
}

.training-courses-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.training-course-card {
    min-width: 0;
    padding: clamp(26px, 3vw, 38px);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--paper);
}

.training-course-card h2 {
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.training-course-card h3 {
    margin-bottom: 18px;
    font-size: clamp(1.6rem, 2vw, 2rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.training-course-card p {
    max-width: 100%;
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 1.6;
}

.training-course-card p:last-child {
    margin-top: 24px;
    margin-bottom: 0;
    color: var(--ink);
    font-weight: 800;
}

.training-course-card .text-link {
    margin-top: 22px;
}

@media (max-width: 760px) {
    .training-courses-grid {
        grid-template-columns: 1fr;
    }

    .training-course-card {
        padding: 24px;
    }

    .training-course-card p {
        font-size: 18px;
    }

    .brand-logo img {
        height: 36px;
    }
}

/* =========================================================
   22. Responsive Breakpoints
   ========================================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 15px;
        font-size: 0.86rem;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
        gap: 38px;
    }
}

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .hero-grid,
    .two-col,
    .case-hero-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 58px;
    }

    .hero-visual {
        max-width: 760px;
    }

    #arbeitsweise ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .question-grid,
    .cards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .case-hero {
        padding: 64px 0 72px;
    }

    .case-hero-grid {
        gap: 44px;
    }

    .case-hero-visual:empty {
        min-height: 240px;
    }

    .case-list-item {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 58px 0;
    }

    .case-list-item-reverse .case-list-copy,
    .case-list-item-reverse .case-list-visual {
        order: initial;
    }

    .case-list-visual:empty {
        min-height: 240px;
    }
}


@media (max-width: 620px) {

    body {
        font-size: 18px;
    }

    .wrap {
        width: min(calc(100% - 28px), var(--max));
    }

    .header-inner {
        min-height: 68px;
    }

    .section {
        padding: 68px 0;
    }

    .hero {
        padding: 46px 0 72px;
    }

    h1 {
        font-size: clamp(2.6rem, 12vw, 3.8rem);
    }

    h2 {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
    }

    h3 {
        font-size: 1.35rem;
    }

    #kontakt h2 {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
    }

    #arbeitsweise ol,
    .question-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    #arbeitsweise ol li {
        min-height: 0;
        padding: 20px 22px;
    }

    #arbeitsweise ol li::before {
        margin-bottom: 14px;
    }

    #cases h3 {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 10px;
    }

    #cases h3 + p {
        margin-left: 44px;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .case-hero {
        padding: 48px 0 56px;
    }

    .case-hero-content h1 {
        font-size: clamp(2.6rem, 12vw, 3.9rem);
    }

    .case-hero-visual:empty {
        min-height: 190px;
        border-radius: 18px;
    }

    .case-content > p {
        font-size: 1rem;
    }

    .case-result > h3 {
        font-size: clamp(2.4rem, 12vw, 3.7rem);
    }

    .case-page .section-dark + .section .case-content > h3 {
        font-size: clamp(2.3rem, 11vw, 3.5rem);
    }

    p,
    li,
    #simulation p,
    #featured-case p,
    #zusammenarbeit h2 + p,
    #arbeitsweise h2 + p,
    #ownership p,
    #kontakt p,
    .case-content > p,
    .case-result > p,
    .case-cta > p,
    .case-list-copy p,
    .cases-cta p {
        font-size: 18px;
    }

    .hero-copy p:not(:first-child),
    .case-hero-content h1 + p,
    .cases-hero-content p {
        font-size: 20px;
    }

    .case-list-item {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 48px 0;
    }

    .case-list-item-reverse .case-list-copy,
    .case-list-item-reverse .case-list-visual {
        order: initial;
    }

    .case-list-visual:empty {
        min-height: 190px;
        border-radius: 18px;
    }

}
/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    background: #081116;
    color: #fff;
}

.site-footer__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 28px 28px;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 38px;
}

.site-footer__brand strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.site-footer__brand span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.5;
}

.site-footer__networks {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 36px;
    margin-bottom: 48px;
}

.site-footer__network {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.site-footer__network img {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.site-footer__network--flexperts img {
    height: 68px;
}

.site-footer__network--atc img {
    height: 68px;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 14px;
}

.site-footer__copyright {
    color: rgba(255, 255, 255, 0.62);
}

.site-footer__legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
}

.site-footer__legal a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
    color: #fff;
}

@media (max-width: 760px) {

    .site-footer__inner {
        padding: 44px 14px 24px;
    }

    .site-footer__brand {
        margin-bottom: 30px;
    }

    .site-footer__networks {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
        margin-bottom: 34px;
    }

    .site-footer__network--flexperts img {
        height: 58px;
    }

    .site-footer__network--atc img {
        height: 46px;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .site-footer__legal {
        gap: 10px 18px;
    }
}
