/* =========================================================
   S.L. PHOTOVOLTAIK & ENERGIESYSTEME — globales Stylesheet
   Farben und Formen nach dem Firmenbanner (Anthrazit, Orange,
   Limette). Aufbau: Tokens → Basis → Layout → Komponenten.
   ========================================================= */

/* ---------- Schriften (lokal gehostet, OFL) ---------- */
@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
        U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
        U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
        U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
    --ink: #161c1e;
    --graphite: #242c2f;
    --graphite-deep: #1a2123;
    --orange: #e8752a;
    --orange-deep: #cd6019;
    --orange-soft: rgba(232, 117, 42, 0.1);
    --lime: #a9c63c;
    --paper: #ffffff;
    --sand: #f5f3ee;
    --line: #e6e2d9;
    --muted: #66707a;
    --radius-lg: 24px;
    --radius-md: 14px;
    --radius-pill: 999px;
    --shadow-card: 0 22px 44px -28px rgba(20, 26, 28, 0.45);
    --container: 1240px;
    --pad: clamp(20px, 4vw, 40px);
    --section-y: clamp(64px, 8vw, 112px);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    font-size: 16.5px;
    line-height: 1.62;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    transition: color 0.18s var(--ease);
}

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

h1,
h2,
h3,
h4 {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.022em;
    line-height: 1.08;
    color: var(--ink);
    text-wrap: balance;
}

p {
    margin: 0 0 1em;
    text-wrap: pretty;
}

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

::selection {
    background: var(--orange);
    color: #fff;
}

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

/* ---------- Layout ---------- */
.container {
    width: min(var(--container), 100% - (var(--pad) * 2));
    margin-inline: auto;
}

.section {
    padding-block: var(--section-y);
    position: relative;
}

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

.section--tight {
    padding-block: clamp(44px, 5vw, 68px);
}

.site-main {
    min-height: 40vh;
}

/* Breiter Standardinhalt für Gutenberg-Seiten */
.page-content > .container > * + * {
    margin-top: 1.1em;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--orange);
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--orange);
    border-radius: 2px;
}

.section-head {
    max-width: 660px;
    margin-bottom: clamp(30px, 4vw, 52px);
}

.section-head h2 {
    font-size: clamp(27px, 3.5vw, 43px);
}

.section-head p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 17px;
    max-width: 56ch;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 15.5px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s var(--ease), background 0.18s var(--ease),
        border-color 0.18s var(--ease), color 0.18s var(--ease),
        box-shadow 0.18s var(--ease);
}

.btn svg {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
}

.btn--primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 14px 28px -16px rgba(232, 117, 42, 0.85);
}

.btn--primary:hover {
    background: var(--orange-deep);
    transform: translateY(-2px);
}

.btn--ghost {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.btn--dark {
    background: var(--graphite);
    color: #fff;
}

.btn--dark:hover {
    background: var(--graphite-deep);
    transform: translateY(-2px);
}

.btn--outline {
    border-color: var(--line);
    color: var(--ink);
    background: #fff;
}

.btn--outline:hover {
    border-color: var(--ink);
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    color: var(--orange);
}

.link-more span {
    transition: transform 0.18s var(--ease);
}

.link-more:hover span {
    transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.site-header__inner {
    width: min(var(--container), 100% - (var(--pad) * 2));
    margin-inline: auto;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

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

.brand__mark {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
}

.brand__text {
    display: block;
    line-height: 1.16;
}

.brand__name {
    display: block;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--ink);
}

.brand__claim {
    display: block;
    margin-top: 3px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

.primary-navigation {
    margin-left: auto;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu a {
    position: relative;
    display: block;
    padding: 6px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}

.primary-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s var(--ease);
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after {
    transform: scaleX(1);
}

.primary-menu .menu-cta {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    color: var(--ink);
}

.header-phone svg {
    width: 17px;
    height: 17px;
    color: var(--orange);
}

.header-phone:hover {
    color: var(--orange);
}

.header-actions .btn {
    padding: 13px 22px;
    font-size: 14.5px;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    color: var(--ink);
}

.menu-toggle__bars {
    position: relative;
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s var(--ease), top 0.2s var(--ease);
}

.menu-toggle__bars::before {
    top: -6px;
}

.menu-toggle__bars::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(560px, 84vh, 800px);
    background: var(--graphite-deep);
    color: #fff;
    overflow: hidden;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 68%;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
            100deg,
            rgba(16, 21, 23, 0.94) 0%,
            rgba(16, 21, 23, 0.8) 34%,
            rgba(16, 21, 23, 0.35) 64%,
            rgba(16, 21, 23, 0.12) 100%
        ),
        linear-gradient(to top, rgba(16, 21, 23, 0.72) 0%, rgba(16, 21, 23, 0) 42%);
}

.hero__inner {
    position: relative;
    width: min(var(--container), 100% - (var(--pad) * 2));
    margin-inline: auto;
    padding-block: clamp(64px, 10vw, 132px);
    max-width: min(var(--container), 100% - (var(--pad) * 2));
}

.hero__content {
    max-width: 680px;
}

.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 20px;
    padding: 7px 16px 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
}

.hero__kicker i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 4px rgba(169, 198, 60, 0.25);
}

.hero h1 {
    font-size: clamp(40px, 6.4vw, 78px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: #fff;
    margin: 0 0 22px;
}

.hero h1 em {
    font-style: normal;
    color: var(--orange);
}

.hero__lead {
    max-width: 50ch;
    font-size: clamp(16.5px, 1.35vw, 19px);
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 32px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Laufband der Leistungen unter dem Hero */
.ticker {
    background: var(--graphite);
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker__inner {
    width: min(var(--container), 100% - (var(--pad) * 2));
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 26px;
    padding-block: 15px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.ticker__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.ticker__item::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
}

/* ---------- Leistungskarten ---------- */
.grid {
    display: grid;
    gap: 18px;
}

.grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 30px 28px 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
        border-color 0.2s var(--ease);
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(232, 117, 42, 0.45);
    box-shadow: var(--shadow-card);
}

.card__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 4px;
    border-radius: 15px;
    background: var(--orange-soft);
    color: var(--orange);
}

.card__icon svg {
    width: 26px;
    height: 26px;
}

.card h3 {
    font-size: 18.5px;
    font-weight: 800;
    letter-spacing: -0.012em;
}

.card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.card__meta {
    margin-top: auto;
    padding-top: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--orange);
}

.card--accent {
    background: var(--graphite);
    border-color: var(--graphite);
    color: #fff;
}

.card--accent h3,
.card--accent .card__meta {
    color: #fff;
}

.card--accent p {
    color: rgba(255, 255, 255, 0.76);
}

.card--accent .card__icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--lime);
}

/* ---------- Split ---------- */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: clamp(28px, 4.4vw, 68px);
    align-items: center;
}

.split--reverse .split__media {
    order: 2;
}

.split__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--line);
}

.split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split__badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.split__badge svg {
    width: 18px;
    height: 18px;
    color: var(--orange);
}

.split h2 {
    font-size: clamp(26px, 3.2vw, 40px);
    margin-bottom: 16px;
}

.split p {
    color: var(--muted);
    font-size: 16.5px;
}

.check-list {
    display: grid;
    gap: 12px;
    margin: 26px 0 30px;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
}

.check-list svg {
    flex: 0 0 auto;
    width: 21px;
    height: 21px;
    margin-top: 3px;
    color: var(--lime);
}

/* ---------- Zielgruppen ---------- */
.audience {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.audience__card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 400px;
    padding: 30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    isolation: isolate;
}

.audience__card img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.audience__card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        to top,
        rgba(12, 17, 19, 0.94) 0%,
        rgba(12, 17, 19, 0.72) 38%,
        rgba(12, 17, 19, 0.28) 72%,
        rgba(12, 17, 19, 0.06) 100%
    );
}

.audience__card:hover img {
    transform: scale(1.04);
}

.audience__body {
    max-width: 34ch;
}

.audience__label {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--lime);
}

.audience__card h3 {
    color: #fff;
    font-size: clamp(21px, 2vw, 26px);
    margin-bottom: 8px;
}

.audience__card p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    margin-bottom: 14px;
}

.audience__card .link-more {
    color: #fff;
}

/* ---------- Ablauf ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.5vw, 34px);
}

.step {
    padding-top: 24px;
    border-top: 2px solid var(--line);
}

.step:first-child {
    border-top-color: var(--orange);
}

.step__num {
    display: block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: var(--orange);
}

.step h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.step p {
    color: var(--muted);
    font-size: 15.5px;
}

/* ---------- Abschluss / Kontaktband ---------- */
.cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 28px;
    color: #fff;
    background: var(--graphite-deep);
}

.cta__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.cta__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        95deg,
        rgba(14, 19, 21, 0.94) 0%,
        rgba(14, 19, 21, 0.82) 45%,
        rgba(14, 19, 21, 0.55) 100%
    );
}

.cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 32px;
    align-items: center;
    padding: clamp(32px, 5vw, 64px);
}

.cta h2 {
    color: #fff;
    font-size: clamp(26px, 3.4vw, 42px);
    margin-bottom: 14px;
}

.cta p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 48ch;
}

.cta__contact {
    display: grid;
    gap: 14px;
    justify-items: start;
}

.cta__phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(21px, 2.2vw, 27px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    text-decoration: none;
}

.cta__phone svg {
    width: 24px;
    height: 24px;
    color: var(--lime);
}

.cta__note {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
}

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 0;
    padding-block: clamp(48px, 6vw, 76px) 26px;
    background: var(--graphite-deep);
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
    gap: clamp(24px, 4vw, 56px);
}

.footer__brand .brand__name {
    color: #fff;
}

.footer__brand .brand__claim {
    color: rgba(255, 255, 255, 0.5);
}

.footer__brand p {
    margin: 18px 0 0;
    max-width: 34ch;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14.5px;
}

.footer__claim {
    display: block;
    margin-top: 18px;
    font-size: 15px;
    font-weight: 700;
    color: var(--lime);
}

.site-footer h4 {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.footer-menu {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 15px;
}

.footer-menu a:hover {
    color: #fff;
}

.footer__contact a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
}

.footer__contact a:hover {
    color: var(--orange);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: clamp(36px, 5vw, 60px);
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.45);
}

.footer__bottom a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer__bottom a:hover {
    color: #fff;
}

.footer__legal em {
    font-style: normal;
    opacity: 0.6;
}

/* ---------- Beiträge / 404 ---------- */
.content-shell {
    width: min(820px, 100% - (var(--pad) * 2));
    margin: clamp(56px, 8vw, 96px) auto;
}

.content-shell h1 {
    font-size: clamp(28px, 3.4vw, 42px);
    margin-bottom: 18px;
}

.content-shell p {
    color: var(--muted);
}

.post-card + .post-card {
    margin-top: 44px;
    padding-top: 44px;
    border-top: 1px solid var(--line);
}

.post-card h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.post-card__title a {
    text-decoration: none;
}

.post-card__title a:hover {
    color: var(--orange);
}

.entry-meta {
    font-size: 13.5px;
    color: var(--muted);
    margin-bottom: 10px;
}

/* ---------- Barrierefreiheit ---------- */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link.screen-reader-text:focus {
    position: fixed;
    z-index: 100000;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 12px 18px;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: #fff;
    border-radius: 10px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ---------- Gutenberg-Hilfen ---------- */
.alignwide {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100%;
    max-width: none;
}

/* ---------- Responsiv ---------- */
@media (max-width: 1180px) {
    .grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card--accent h3 {
        font-size: 17.5px;
    }
}

@media (max-width: 1080px) {
    .grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .primary-menu {
        gap: 20px;
    }

    .header-phone {
        display: none;
    }

    .primary-menu {
        gap: 20px;
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 36px;
    }
}

@media (max-width: 900px) {
    .split,
    .cta__inner,
    .audience,
    .steps {
        grid-template-columns: 1fr;
    }

    .split--reverse .split__media {
        order: 0;
    }

    .audience__card {
        min-height: 320px;
    }

    .steps {
        gap: 22px;
    }
}

@media (max-width: 980px) {
    .site-header__inner {
        min-height: 72px;
        gap: 12px;
        position: relative;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: inline-flex;
        order: 3;
        margin-left: auto;
    }

    .primary-navigation {
        display: none;
        order: 4;
        width: 100%;
        margin-left: 0;
        padding-bottom: 18px;
    }

    .primary-navigation.is-open {
        display: block;
    }

    .primary-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .primary-menu li {
        border-bottom: 1px solid var(--line);
    }

    .primary-menu a {
        padding: 14px 2px;
        font-size: 16.5px;
    }

    .primary-menu a::after {
        display: none;
    }

    .header-actions {
        order: 2;
        gap: 10px;
    }

    .header-phone,
    .header-actions .btn {
        display: none;
    }

    .primary-menu .menu-cta {
        display: block;
        margin-top: 12px;
        padding-top: 6px;
        border-bottom: 0;
    }

    .primary-menu .menu-cta a {
        display: flex;
        justify-content: center;
        padding: 14px 20px;
        border-radius: var(--radius-pill);
        background: var(--orange);
        color: #fff;
        font-weight: 700;
    }

    .hero {
        min-height: clamp(520px, 78vh, 640px);
    }

    .hero__media img {
        object-position: center 55%;
    }
}

@media (max-width: 760px) {
    .grid--3,
    .grid--2,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    .brand__mark {
        width: 40px;
        height: 40px;
    }

    .brand__name {
        font-size: 15.5px;
    }

    .brand__claim {
        font-size: 9.5px;
        letter-spacing: 0.12em;
    }

    .card {
        padding: 26px 22px 24px;
    }

    .split__media {
        aspect-ratio: 4 / 3;
    }

    .ticker__inner {
        flex-wrap: nowrap;
        gap: 18px;
        overflow-x: auto;
        padding-block: 13px;
        font-size: 12.5px;
        scrollbar-width: none;
    }

    .ticker__inner::-webkit-scrollbar {
        display: none;
    }

    .card {
        padding: 22px 20px;
    }

    .card__icon {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .card__icon svg {
        width: 23px;
        height: 23px;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
