/* ==========================================================================
   My Online Concept GmbH – Stylesheet
   Schrift: Instrument Sans. Maße und Farben entsprechen der bisherigen Website.
   ========================================================================== */

@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/instrument-sans-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'Instrument Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/instrument-sans-italic.woff2') format('woff2');
}
@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/instrument-sans-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/instrument-sans-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/instrument-sans-700.woff2') format('woff2');
}

:root {
    --white: #ffffff;
    --black: #000000;
    --light: #f2f2f1;
    --grey: #e3e3e3;
    --dark: #2b2a2b;
    --orange: #ff8018;
    --green: #10a37f;

    --font: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

    /* Überschriften skalieren unterhalb von 768px mit der Fensterbreite */
    --fs-48: min(48px, 5.032vw + 9.36px);
    --fs-64: min(64px, 6.71vw + 12.5px);
    --fs-32: min(32px, 3.35vw + 6.25px);

    --container: 1250px;
    --container-wide: 1376px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--white);
    color: var(--black);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: var(--font);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.4px;
    margin: 0;
}

p {
    margin: 0;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--dark);
    color: var(--white);
    padding: 12px 20px;
    z-index: 200;
}
.skip-link:focus {
    left: 0;
}

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

.container {
    width: min(var(--container), 100% - 48px);
    margin-inline: auto;
}
.container--wide {
    width: min(var(--container-wide), 100% - 48px);
    margin-inline: auto;
}
.container--full {
    width: min(1400px, 100% - 48px);
    margin-inline: auto;
}

.section {
    position: relative;
    overflow: hidden;
}
.section--dark {
    background: var(--dark);
    color: var(--white);
}
.section--black {
    background: var(--black);
    color: var(--white);
}
.section--light {
    background: var(--light);
}
.section--grey {
    background: var(--grey);
}
.section--white {
    background: var(--white);
}

/* Überschriften-Größen */
.h-64 { font-size: var(--fs-64); line-height: 1.28; }
.h-48 { font-size: var(--fs-48); line-height: 1.28; }
.h-32 { font-size: var(--fs-32); line-height: 1.3; }
.h-24 { font-size: 24px; line-height: 1.31; }
.h-20 { font-size: 20px; line-height: 1.5; font-weight: 600; }

.lead {
    font-size: 20px;
    line-height: 1.5;
}
.text-18 {
    font-size: 18px;
    line-height: 1.4;
}

/* --- Buttons ------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font);
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: 0;
    cursor: pointer;
    transition: filter 0.2s ease;
}
.btn:hover,
.btn:focus-visible {
    filter: brightness(0.93);
}
.btn svg {
    flex: none;
}
.btn__label {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.btn__sub {
    font-weight: 400;
    font-size: 0.82em;
    opacity: 0.85;
}

.btn--primary {
    background: var(--orange);
    color: var(--white);
    font-size: 15px;
    padding: 16.75px 28px;
    border-radius: 8px;
}
.btn--gross {
    background: var(--orange);
    color: var(--white);
    font-size: 18px;
    padding: 14px 36px;
    border-radius: 4px;
}
.btn--outline {
    background: transparent;
    color: var(--white);
    font-size: 15px;
    padding: 15.75px 27px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;
}
.btn--outline:hover,
.btn--outline:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    filter: none;
}

/* --- Kopfbereich (Menü) --------------------------------------------------- */
.site-header {
    position: relative;
    z-index: 60;
    background: var(--dark);
    color: var(--white);
}
.site-header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 126px;
}
.site-header__logo img {
    width: 201px;
    height: auto;
}
.site-header__badge img {
    width: 113px;
    height: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: 40px;
}
.nav a,
.nav__item {
    font-size: 16.8px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--white);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}
.nav a:hover {
    opacity: 0.75;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex: none;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 6px auto;
    background: var(--white);
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded='true'] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded='true'] span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded='true'] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Deckblatt ------------------------------------------------------------ */
.hero {
    position: relative;
    background: var(--white);
    color: var(--black);
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
/* Wie auf der alten Seite: das Foto wird mittig beschnitten und ohne
   Farbschleier gezeigt. Es ist links und in der Mitte nahezu weiss,
   darum bleibt die schwarze Schrift gut lesbar. */
.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}
.hero__inner {
    position: relative;
    z-index: 1;
    padding-top: 230px;
    padding-bottom: 50px;
}
.hero__inner > * {
    max-width: 716px;
}
.hero__title {
    font-size: var(--fs-48);
    line-height: 1.28;
    margin-bottom: 22px;
}
.hero__text {
    font-size: 20px;
    line-height: 1.5;
    max-width: 630px;
    margin-bottom: 28px;
}
.hero__rating {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 26px;
    flex-wrap: wrap;
}
.hero__siegel {
    display: flex;
    align-items: center;
}
.hero__siegel img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-right: -19px;
    background: var(--white);
}
.hero__siegel img:last-child {
    margin-right: 0;
}
.hero__sterne {
    display: flex;
    gap: 3px;
    margin-bottom: 2px;
}
.hero__sterne svg {
    width: 16px;
    height: 16px;
    fill: var(--orange);
}
.hero__bewertung {
    font-size: 18px;
    line-height: 1.4;
}
.hero__bewertung strong {
    font-weight: 700;
}
.hero__title strong {
    font-weight: 600;
}
.hero .btn--gross {
    margin-top: 4px;
}

/* --- Kundenlogos ---------------------------------------------------------- */
.kunden__titel {
    text-align: center;
    color: rgba(0, 0, 0, 0.66);
    padding-top: 30px;
}
.logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    padding-bottom: 30px;
}
.logos__item {
    background: var(--white);
    border-radius: 10px;
    height: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
}
.logos__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Abschnitt mit mittigem Button ---------------------------------------- */
.cta-band {
    padding: 10px 0 34px;
    text-align: center;
}
.cta-band--tight {
    padding: 0 0 32px;
}

/* --- Leistungen ----------------------------------------------------------- */
.leistungen__kopf {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    padding-top: 70px;
    padding-bottom: 20px;
}
.leistungen__label {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 6px;
}
.leistungen__intro {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}
.leistungen__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    padding-bottom: 70px;
}
.kachel {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 289 / 144;
    display: flex;
    align-items: flex-end;
}
.kachel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.kachel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.72) 100%);
    z-index: 1;
}
.kachel__titel {
    position: relative;
    z-index: 2;
    font-size: 24px;
    line-height: 1.31;
    font-weight: 600;
    color: var(--white);
    padding: 12px 12px 12px 12px;
}

/* --- Zweispalter Bild / Text ---------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.split__bild img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.split__text h2 {
    margin-bottom: 22px;
}
.split__text p + p {
    margin-top: 22px;
}

/* ==========================================================================
   Responsiv
   ========================================================================== */
@media (max-width: 1100px) {
    .logos {
        grid-template-columns: repeat(3, 1fr);
    }
    .leistungen__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .nav,
    .site-header__actions {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .site-header__inner {
        min-height: 96px;
        position: relative;
    }
    .site-header__logo img {
        width: 160px;
    }
    .site-header__badge img {
        width: 92px;
    }
    .nav.is-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 10px 0 16px;
        background: var(--dark);
        z-index: 70;
    }
    .nav.is-open a {
        padding: 13px 4px;
        font-size: 18px;
    }
    .nav.is-open .site-header__actions {
        display: flex;
        flex-direction: column;
        margin: 12px 0 0;
        gap: 10px;
    }
    .nav.is-open .btn {
        width: 100%;
    }

    .leistungen__kopf,
    .split {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .split__bild {
        order: -1;
    }
}

@media (max-width: 767px) {
    .container,
    .container--wide,
    .container--full {
        width: min(100% - 48px, 1400px);
    }
    .hero__inner {
        padding-top: 147px;
        padding-bottom: 40px;
        max-width: none;
    }
    .logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .leistungen__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .kachel__titel {
        font-size: 20px;
    }
    .btn--gross {
        width: 100%;
        max-width: 460px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* --- Problemstellung ------------------------------------------------------ */
.problem {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    padding: 50px 0 70px;
}
.problem__bild img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 0 0 8px;
}
.problem__karte {
    background: var(--dark);
    color: var(--white);
    padding: 56px 48px;
    border-radius: 0 8px 8px 0;
}
.problem__karte h2 {
    margin-bottom: 22px;
}
.problem__karte p {
    font-size: 20px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.72);
}
.problem__karte p + p {
    margin-top: 22px;
}

/* --- Zweispalter ---------------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 70px 0;
}
.split--umgekehrt .split__bild {
    order: 2;
}
.split__bild img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.split__text h2 {
    margin-bottom: 22px;
}
.split__text p + p {
    margin-top: 20px;
}
.split__text .btn {
    margin-top: 28px;
}

/* --- Methode und Schritte -------------------------------------------------- */
.methode {
    text-align: center;
    padding-top: 100px;
    padding-bottom: 10px;
}
.methode__lead {
    max-width: 1086px;
    margin: 22px auto 0;
}
.schritte {
    display: grid;
    gap: 40px;
    padding: 50px 0 10px;
}
.schritt {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 28px;
    align-items: start;
    background: var(--light);
    border-radius: 10px;
    padding: 36px 40px;
}
.schritt__nummer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    font-size: 32px;
    font-weight: 600;
}
.schritt__inhalt h3 {
    margin-bottom: 14px;
}
.schritt__inhalt p + p {
    margin-top: 14px;
}

/* --- Fallstudien ----------------------------------------------------------- */
.fallstudien__kopf {
    text-align: center;
    padding-top: 30px;
}
.fallstudien__kopf .h-24 {
    font-weight: 600;
    margin-bottom: 8px;
}
.fall {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.fall:first-of-type {
    border-top: 0;
}
.fall__logo {
    width: auto;
    max-width: 240px;
    max-height: 62px;
    height: auto;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 30px;
}
.fall__daten li {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 18px;
}
.fall__label {
    display: block;
    font-weight: 600;
}
.fall__wert {
    display: block;
    color: rgba(255, 255, 255, 0.75);
}
.fall__bild {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.fall__stimme {
    margin: 26px 0 0;
}
.fall__stimme blockquote {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
}
.fall__stimme blockquote p + p {
    margin-top: 12px;
}
.fall__stimme figcaption {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
}
.fall__stimme figcaption strong {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}
.fall__foto {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
}

/* --- Branchen -------------------------------------------------------------- */
.branchen {
    padding: 100px 0 110px;
    text-align: center;
}
.branchen__lead {
    margin: 18px auto 0;
    max-width: 817px;
}
.branchen__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 50px;
}
.branche {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 285 / 171;
    display: flex;
    align-items: center;
    justify-content: center;
}
.branche img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.branche::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.branche__titel {
    position: relative;
    z-index: 1;
    font-size: var(--fs-32);
    line-height: 1.3;
    font-weight: 600;
    color: var(--white);
    padding: 10px 14px;
    white-space: pre-line;
}

/* --- Prozess --------------------------------------------------------------- */
.prozess {
    padding-top: 100px;
    text-align: center;
}
.prozess__titel {
    max-width: 998px;
    margin-inline: auto;
}
.prozess__bahn {
    overflow-x: auto;
    padding: 40px 0 20px;
    scrollbar-width: thin;
}
.prozess__liste {
    display: flex;
    gap: 44px;
    width: max-content;
    padding-inline: max(24px, calc((100vw - 1250px) / 2));
}
.prozess__karte {
    width: 429px;
    flex: none;
    text-align: left;
}
.prozess__bild {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 18px;
}
.prozess__nr {
    font-size: 20px;
    font-weight: 600;
    color: var(--orange);
    margin-bottom: 4px;
}
.prozess__karte h3 {
    margin-bottom: 10px;
}
.prozess__karte p {
    color: rgba(255, 255, 255, 0.78);
}

/* --- Über uns / Zahlen ------------------------------------------------------ */
.ueber {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 152px 0 100px;
}
.ueber h2 {
    margin-bottom: 22px;
}
.zahlen {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
}
.zahl {
    display: block;
    font-size: var(--fs-48);
    line-height: 1.28;
    font-weight: 600;
    letter-spacing: -0.4px;
}
.zahl__text {
    display: block;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 4px;
}

/* --- Galerie ---------------------------------------------------------------- */
.galerie {
    padding: 60px 0;
}
.galerie__bahn {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-inline: max(24px, calc((100vw - 1400px) / 2));
    scrollbar-width: thin;
}
.galerie__bahn li {
    flex: none;
}
.galerie__bahn img {
    height: 340px;
    width: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* --- Ansprechpartner --------------------------------------------------------- */
.person {
    margin: 0;
    text-align: center;
}
.person img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.person figcaption {
    display: grid;
    gap: 4px;
    margin-top: 20px;
}
.person figcaption .h-32 {
    font-weight: 600;
    letter-spacing: -0.4px;
}

/* --- Kontakt ------------------------------------------------------------------ */
.kontakt {
    position: relative;
}
.kontakt__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.kontakt__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.kontakt__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}
.kontakt__inner {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    text-align: center;
}
.kontakt__titel {
    margin-bottom: 44px;
}
.kontakt__spalten {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.kontakt__spalten li {
    display: grid;
    gap: 8px;
}
.kontakt__spalten a {
    text-decoration: none;
    font-weight: 600;
}
.kontakt__spalten a:hover {
    text-decoration: underline;
}
.kontakt__spalten span {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}
.kontakt__spalten .h-24 {
    color: var(--white);
    font-weight: 600;
}

/* --- Häufige Fragen ------------------------------------------------------------ */
.faq {
    padding: 50px 0 100px;
}
.faq__titel,
.faq__lead {
    text-align: center;
}
.faq__lead {
    max-width: 670px;
    margin: 16px auto 0;
}
.faq__liste {
    margin-top: 42px;
    display: grid;
    gap: 14px;
}
.faq__item {
    background: var(--white);
    border-radius: 10px;
    padding: 22px 28px;
}
.faq__item summary {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.faq__item summary::-webkit-details-marker {
    display: none;
}
.faq__item summary::after {
    content: '+';
    font-size: 26px;
    line-height: 1;
    color: var(--orange);
    flex: none;
}
.faq__item[open] summary::after {
    content: '–';
}
.faq__item p {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.55;
    color: rgba(0, 0, 0, 0.72);
}

/* --- Fußzeile -------------------------------------------------------------------- */
.site-footer {
    background: var(--black);
    color: var(--white);
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 150px 0 60px;
}
.site-footer__marke img {
    width: 188px;
    height: auto;
}
.site-footer__claim {
    margin: 16px 0 22px;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
}
.site-footer__badges {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    flex-wrap: wrap;
}
.site-footer__badges img {
    width: auto;
    max-height: 60px;
}
.site-footer__spalte h2 {
    margin-bottom: 18px;
}
.site-footer__spalte li {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}
.site-footer__spalte a {
    text-decoration: none;
}
.site-footer__spalte a:hover {
    text-decoration: underline;
}
.site-footer__haftung {
    padding: 50px 0 70px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer__haftung p {
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}

/* --- Responsiv für die neuen Bereiche ------------------------------------------- */
@media (max-width: 1100px) {
    .branchen__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 44px;
    }
}

@media (max-width: 900px) {
    .problem,
    .split,
    .ueber,
    .fall {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .problem__bild img {
        border-radius: 8px 8px 0 0;
        max-height: 380px;
    }
    .problem__karte {
        border-radius: 0 0 8px 8px;
        padding: 40px 28px;
    }
    .split--umgekehrt .split__bild {
        order: -1;
    }
    .schritt {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 28px 24px;
    }
    .kontakt__spalten {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .prozess__karte {
        width: 300px;
    }
}

@media (max-width: 767px) {
    .branchen__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .zahlen {
        gap: 28px 20px;
    }
    .site-footer__grid {
        grid-template-columns: 1fr;
        padding-top: 70px;
    }
    .galerie__bahn img {
        height: 240px;
    }
    .methode {
        padding-top: 60px;
    }
    .ueber {
        padding: 70px 0;
    }
}

/* Fallstudien als umrandete Karten (wie im Original) */
.fall {
    border: 2px solid var(--orange);
    border-radius: 12px;
    padding: 36px 40px;
    margin-bottom: 34px;
    gap: 44px;
}
.fall:first-of-type {
    border-top: 2px solid var(--orange);
}

/* --- Einwilligungs-Banner -------------------------------------------------- */
.consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    display: none;
    padding: 16px;
    justify-content: center;
}
.consent.is-open {
    display: flex;
}
.consent__box {
    width: 100%;
    max-width: 680px;
    background: var(--dark);
    color: var(--white);
    padding: 28px 30px 26px;
    border-radius: 12px;
    box-shadow: 0 8px 44px rgba(0, 0, 0, 0.4);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
}
.consent__titel {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 10px;
}
.consent__text {
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
}
.consent__text a {
    color: var(--orange);
}
.consent__optionen {
    display: grid;
    gap: 10px;
    margin: 18px 0 20px;
}
.consent__optionen label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
}
.consent__optionen input {
    margin-top: 3px;
    accent-color: var(--orange);
    flex: none;
}
.consent__aktionen {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.consent__aktionen .btn {
    flex: 1 1 170px;
    padding: 13px 20px;
    font-size: 14px;
}

@media (max-width: 560px) {
    .consent__aktionen .btn {
        flex: 1 1 100%;
    }
}

/* --- Video (wird erst auf Klick geladen) ------------------------------------ */
.video {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--dark);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.video__vorschau {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}
.video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 77px;
    height: 77px;
    border: 0;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.video__play svg {
    width: 34px;
    height: 34px;
    margin-left: 3px;
}
.video__play:hover,
.video__play:focus-visible {
    transform: translate(-50%, -50%) scale(1.07);
}
/* Wellen-Effekt wie im Original */
.video__play::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 128, 24, 0.55);
    animation: video-welle 2.2s infinite;
}
@keyframes video-welle {
    70% { box-shadow: 0 0 0 22px rgba(255, 128, 24, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 128, 24, 0); }
}
/* Der Hinweis steht unter dem Video – im Rahmen selbst wuerde ihn
   dessen overflow:hidden abschneiden. */
.video__hinweis {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    line-height: 1.4;
}
.section--white .video__hinweis,
.section--light .video__hinweis,
.section--grey .video__hinweis {
    color: rgba(0, 0, 0, 0.55);
}
.video.is-aktiv .video__play,
.video.is-aktiv .video__vorschau {
    display: none;
}
:has(> .video.is-aktiv) > .video__hinweis {
    display: none;
}

/* ==========================================================================
   Rechtstexte (Impressum, Datenschutzerklärung, AGB)
   ========================================================================== */
.rechtstext {
    max-width: 820px;
    margin-inline: auto;
    padding-top: 90px;
    padding-bottom: 90px;
    text-align: left;
}
.rechtstext h1 {
    margin-bottom: 32px;
}
.rechtstext h2 {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 12px;
}
.rechtstext h3 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    margin-top: 26px;
    margin-bottom: 10px;
}
.rechtstext__body p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}
.rechtstext__body p.blank {
    height: 16px;
    margin-bottom: 0;
}
.rechtstext__body a {
    color: var(--orange);
    overflow-wrap: anywhere;
}
.site-footer__spalte a.is-current {
    color: var(--orange);
}

@media (max-width: 767px) {
    /* h1 skaliert unterhalb von 768px mit; Unterüberschriften ziehen mit nach */
    .rechtstext h2 {
        font-size: 22px;
        margin-top: 34px;
    }
    .rechtstext h3 {
        font-size: 18px;
        margin-top: 24px;
    }
}

/* ==========================================================================
   Feinabgleich gegen das Original
   ========================================================================== */

/* Kundenlogos: helle Kacheln mit feinem Rahmen, dichter gesetzt, grössere Logos */
.logos {
    gap: 20px;
}
.logos__item {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 8px;
    padding: 4px 10px;
    height: 128px;
}

/* Leistungskacheln etwas höher, wie im Original */
.kachel {
    aspect-ratio: 289 / 160;
}
.leistungen__kopf {
    gap: 64px;
    padding-bottom: 46px;
}

/* Zeitstrahl: Aufzählungen mit grünen Häkchen */
.schritt__liste {
    display: grid;
    gap: 10px;
    margin: 16px 0;
}
.schritt__liste li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 18px;
    line-height: 1.4;
}
.schritt__liste svg {
    width: 20px;
    height: 20px;
    flex: none;
    margin-top: 3px;
    color: var(--green);
}

/* Fallstudien: Sterne, kursives Zitat, Reihenfolge */
.fall__sterne {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
}
.fall__sterne svg {
    width: 18px;
    height: 18px;
    fill: var(--orange);
}
.fall__stimme figcaption {
    margin-top: 0;
    margin-bottom: 14px;
}
.fall__stimme blockquote {
    font-style: italic;
}
.fall__daten li {
    margin-bottom: 26px;
}
.fall__label {
    margin-bottom: 6px;
}

/* Branchenkacheln: flacher, mehr Zeilenabstand, dunkler überlagert */
.branche {
    aspect-ratio: 289 / 145;
}
.branchen__grid {
    gap: 52px 32px;
    margin-top: 76px;
}
.branche::after {
    background: rgba(0, 0, 0, 0.58);
}

/* Prozess: Karten gleich hoch, Schrittangabe grün */
.prozess__liste {
    align-items: stretch;
}
.prozess__karte {
    display: flex;
    flex-direction: column;
}
.prozess__nr {
    color: var(--green);
}

/* Kontakt: dunklerer Hintergrund, Symbole, grössere Links */
.kontakt__bg::after {
    background: rgba(0, 0, 0, 0.84);
}
.kontakt__symbol {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
}
.kontakt__symbol svg {
    width: 26px;
    height: 26px;
}
.kontakt__spalten a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Häufige Fragen: Chevron statt Plus, mehr Innenabstand */
.faq__item {
    padding: 28px 32px;
}
.faq__item summary::after {
    content: '';
    width: 14px;
    height: 14px;
    margin-top: 6px;
    border-right: 2px solid rgba(0, 0, 0, 0.45);
    border-bottom: 2px solid rgba(0, 0, 0, 0.45);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}
.faq__item[open] summary::after {
    content: '';
    transform: rotate(-135deg);
    margin-top: 12px;
}
.faq__liste {
    gap: 18px;
}

/* Fusszeile: feine Trennlinie unter den Spaltenüberschriften */
.site-footer__spalte h2,
.site-footer__marke .site-footer__claim {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    margin-bottom: 18px;
}
.site-footer__spalte a:hover {
    color: var(--orange);
    text-decoration: none;
}

/* Bewertungssiegel im Deckblatt: oranger Ring wie auf der alten Seite */
.hero__siegel img {
    border: 2px solid rgb(250, 138, 7);
}

@media (max-width: 767px) {
    /* Wie auf der alten Seite: eine Kachel je Zeile über die volle Breite,
       Verhältnis 2:1, Überschrift in voller Größe. */
    .branchen__grid {
        gap: 52px;
        margin-top: 44px;
    }
    .branche {
        aspect-ratio: 2 / 1;
    }
    .branche__titel {
        font-size: 32px;
    }
    /* Leistungskacheln ebenso: 2:1, volle Schriftgröße, Titel mittig */
    .leistungen__grid {
        gap: 52px;
    }
    .kachel {
        aspect-ratio: 2 / 1;
        align-items: center;
        justify-content: center;
    }
    .kachel::after {
        background: rgba(0, 0, 0, 0.58);
    }
    .kachel__titel {
        font-size: 32px;
        text-align: center;
        padding: 10px 14px;
    }
}

/* Kundenlogos der Fallstudien: zugeschnitten, dadurch gross genug */
.fall__logo {
    width: auto;
    max-width: 240px;
    max-height: 62px;
    height: auto;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 30px;
}

/* --- Karussells: Pfeile zum Blättern ---------------------------------------- */
.karussell {
    position: relative;
}
.karussell__pfeil {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.3);
    transition: filter 0.2s ease, opacity 0.2s ease;
}
.karussell__pfeil:hover {
    filter: brightness(0.92);
}
.karussell__pfeil[disabled] {
    opacity: 0.3;
    cursor: default;
}
.karussell__pfeil svg {
    width: 22px;
    height: 22px;
}
.karussell__pfeil--zurueck {
    left: 14px;
}
.karussell__pfeil--vor {
    right: 14px;
}

/* Bildlaufleiste dezent ausblenden, es wird über die Pfeile geblättert */
.prozess__bahn,
.galerie__bahn {
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.prozess__bahn::-webkit-scrollbar,
.galerie__bahn::-webkit-scrollbar {
    display: none;
}

@media (max-width: 767px) {
    .karussell__pfeil {
        width: 44px;
        height: 44px;
    }
    .karussell__pfeil--zurueck { left: 6px; }
    .karussell__pfeil--vor { right: 6px; }
    .logos__item { height: 96px; }
}

/* ==========================================================================
   Korrekturen für die Handy-Ansicht
   ========================================================================== */

/* Karussell-Pfeile: heller Ring, damit sie auf jedem Untergrund sichtbar sind */
.karussell__pfeil {
    border: 2px solid rgba(255, 255, 255, 0.85);
}
.karussell__pfeil[disabled] {
    opacity: 0.45;
}

@media (max-width: 767px) {
    /* Prozess-Karussell: Karte etwas schmaler, damit die nächste anschneidet
       und erkennbar ist, dass man blättern kann. Pfeile wandern unter die
       Bahn – über den Karten haben sie den Text verdeckt. */
    .prozess__karte {
        width: 78vw;
        max-width: 320px;
    }
    .prozess__liste {
        gap: 20px;
        padding-inline: 24px;
    }
    .karussell {
        padding-bottom: 68px;
    }
    .karussell__pfeil {
        top: auto;
        bottom: 0;
        transform: none;
        width: 48px;
        height: 48px;
    }
    .karussell__pfeil--zurueck {
        left: 50%;
        margin-left: -56px;
    }
    .karussell__pfeil--vor {
        right: 50%;
        margin-right: -56px;
    }
    .karussell__pfeil:hover,
    .karussell__pfeil:focus-visible {
        transform: none;
    }

    /* Bewertung: Siegel und Text nebeneinander wie auf der alten Seite,
       der Text bricht dabei innerhalb seiner Spalte um. */
    .hero__rating {
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    .hero__siegel {
        flex: 0 0 auto;
    }
    .hero__rating > span + span {
        min-width: 0;
    }

    /* Fallstudien: weniger Innenabstand, dadurch mehr Platz für den Text */
    .fall {
        padding: 26px 20px;
        gap: 28px;
    }
    .fall__daten li {
        margin-bottom: 20px;
    }

    /* Kontakt: Text nicht bis an den Rand */
    .kontakt__spalten a {
        word-break: break-word;
    }
}
