/* =========================================================================
   Perfofix Evo
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Fonts - self-hosted Poppins (SIL Open Font License 1.1)
   ------------------------------------------------------------------------- */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/poppins-400-latin.7d93459d.woff2') format('woff2');
    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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/poppins-400-latin-ext.0b1fcab4.woff2') format('woff2');
    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;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/poppins-500-latin.cd36de20.woff2') format('woff2');
    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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/poppins-500-latin-ext.af5fda16.woff2') format('woff2');
    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;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/poppins-600-latin.f4e80d9d.woff2') format('woff2');
    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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/poppins-600-latin-ext.bb1f2d58.woff2') format('woff2');
    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;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/poppins-700-latin.9338e65f.woff2') format('woff2');
    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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/poppins-700-latin-ext.ccfd87f6.woff2') format('woff2');
    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;
}

/* -------------------------------------------------------------------------
   2. Tokens
   ------------------------------------------------------------------------- */
:root {
    --red: #d90f16;
    --red-btn-hover: #b50c12;
    --red-link-hover: #a30b10;

    --text-dark: #3c3c3e;
    --text-body: #55575a;
    --text-secondary: #77797c;
    --text-muted: #8a8a8a;
    --text-muted-alt: #9a9c9e;
    --text-list: #4a4c4e;
    --num-grey: #c9c9c9;

    --surface: #ffffff;
    --surface-alt: #f0f0f1;
    --surface-muted: #e7e7e9;
    --surface-hover: #fbfbfb;
    --device-frame: #e4e4e6;

    --pink: #fdeeee;
    --pink-border: #f5d2d3;

    --border: #e8e8e8;
    --border-card: #e9e9e9;
    --border-soft: #ececec;
    --border-faq: #e6e6e6;
    --border-muted: #d3d3d6;
    --border-field: #d9d9d9;
    --border-ghost: #d3d3d3;
    --border-step: #dcdcde;

    --shell: 1200px;
    --shell-narrow: 860px;
    --gutter: 32px;
    --section-y: 88px;
    --header-h: 76px;

    --radius-card: 12px;
    --radius-card-lg: 14px;
    --radius-control: 8px;
    --radius-pill: 999px;

    --shadow-card: 0 16px 32px -18px rgba(0, 0, 0, 0.18);
    --shadow-card-soft: 0 16px 32px -18px rgba(0, 0, 0, 0.15);
    --shadow-device: 0 24px 48px -20px rgba(0, 0, 0, 0.3);
    --shadow-form: 0 20px 40px -24px rgba(0, 0, 0, 0.12);

    --ease: 0.25s ease;
}

/* -------------------------------------------------------------------------
   3. Base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: #333333;
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--red);
    text-decoration: none;
}

a:hover {
    color: var(--red-link-hover);
}

p {
    text-wrap: pretty;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--text-dark);
    text-wrap: pretty;
}

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

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

.sr-only {
    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 {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--red);
    color: #ffffff;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0 0 var(--radius-control) 0;
}

.skip-link:focus {
    left: 0;
    color: #ffffff;
}

.accent {
    color: var(--red);
}

.shell {
    max-width: var(--shell);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.shell--narrow {
    max-width: var(--shell-narrow);
}

/* -------------------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    padding: 11px 22px;
    border: 1.5px solid transparent;
    border-radius: var(--radius-control);
    cursor: pointer;
    text-align: center;
    transition: background-color var(--ease), border-color var(--ease), color var(--ease);
}

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

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

.btn--ghost {
    background: var(--surface);
    color: var(--text-dark);
    border-color: var(--border-ghost);
}

.btn--ghost:hover {
    border-color: var(--text-secondary);
    color: var(--text-dark);
}

.btn--lg {
    padding: 14px 28px;
}

.btn--block {
    display: block;
    width: 100%;
    padding: 15px;
}

/* -------------------------------------------------------------------------
   5. Header + navigation
   ------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header__brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-header__brand img {
    height: 50px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
    font-weight: 500;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 24px;
}

.site-nav__link {
    display: inline-block;
    color: var(--text-dark);
    border-bottom: 2px solid transparent;
    padding-bottom: 3px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link.is-active {
    color: var(--red);
}

.site-nav__link.is-active {
    border-bottom-color: var(--red);
}

/* Only present inside the mobile dropdown. */
.site-nav__mobile-cta {
    display: none;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--text-dark);
    background: none;
    border: 1.5px solid var(--border-ghost);
    border-radius: var(--radius-control);
    padding: 9px 14px;
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-dark);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bars {
    position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: '';
    position: absolute;
    left: 0;
}

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

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

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

.nav-toggle[aria-expanded='true'] .nav-toggle__bars::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* -------------------------------------------------------------------------
   6. Bands (Aktion / Bestandskunden)
   ------------------------------------------------------------------------- */
.band--accent {
    background: var(--pink);
    border-bottom: 1px solid var(--pink-border);
}

.band--muted {
    background: var(--surface-muted);
    border-top: 1px solid var(--border-muted);
    border-bottom: 1px solid var(--border-muted);
}

/* Two levels on purpose: the row keeps badge, text and link on one line,
   the optional hint sits underneath the whole row rather than under the text
   alone - otherwise the row would centre itself against a two-line block and
   badge and link would drift out of alignment. */
.band__inner {
    padding-top: 13px;
    padding-bottom: 13px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.band__row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.band__inner--center {
    text-align: center;
}

.band__inner--center .band__row {
    justify-content: center;
}

.band__text {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text-dark);
}

.band__hint {
    font-size: 11.5px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.3;
    color: var(--text-secondary);
}

.band__links {
    display: flex;
    gap: 16px;
}

.band__link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--text-dark);
    padding-bottom: 1px;
}

.band__link:hover {
    color: #000000;
    border-bottom-color: #000000;
}

.band__link--accent {
    color: var(--red);
    border-bottom-color: var(--red);
}

.band__link--accent:hover {
    color: var(--red-link-hover);
    border-bottom-color: var(--red-link-hover);
}

.pill {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    padding: 3px 10px;
    white-space: nowrap;
}

.pill--accent {
    color: var(--red);
    border: 1.5px solid var(--red);
}

.pill--muted {
    color: var(--text-dark);
    border: 1.5px solid var(--text-dark);
}

/* -------------------------------------------------------------------------
   7. Sections
   ------------------------------------------------------------------------- */
.section,
.hero,
.site-footer {
    scroll-margin-top: 90px;
}

.section {
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
}

.section--alt {
    background: var(--surface-alt);
}

.section__head {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 44px;
}

.section__head--wide {
    max-width: 760px;
    gap: 14px;
    margin-bottom: 48px;
}

.section__head--center {
    text-align: center;
    align-items: center;
    margin-bottom: 40px;
}

.overline {
    margin: 0;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--red);
    text-transform: uppercase;
}

.section__title {
    font-size: 32px;
    font-weight: 700;
}

.section__lead {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--text-body);
}

/* -------------------------------------------------------------------------
   8. Hero
   ------------------------------------------------------------------------- */
.hero {
    background: var(--surface-alt);
}

.hero__grid {
    padding-top: 40px;
    padding-bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 48px;
    align-items: center;
}

.hero__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 40px;
}

.hero__title {
    font-size: 40px;
    line-height: 1.12;
    font-weight: 700;
}

.hero__lead {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-body);
    max-width: 540px;
}

.hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.hero__origin {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    display: inline-block;
    flex-shrink: 0;
}

.hero__media {
    align-self: end;
    display: flex;
    justify-content: center;
}

/* The photo is a gallery item, so the link carries the sizing the image
   used to have and stays the flex child of .hero__media. */
.hero__media-link {
    position: relative;
    display: block;
    width: 100%;
    max-width: 460px;
    cursor: zoom-in;
}

.hero__image {
    width: 100%;
    display: block;
    /* The product shot is on a studio-white ground; multiply blends it into the section. */
    mix-blend-mode: multiply;
}

/* Same cue as on the device screens, but placed clear of the device body. */
.hero__zoom {
    position: absolute;
    right: 4px;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-dark);
    box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity var(--ease), transform var(--ease);
}

.hero__media-link:hover .hero__zoom,
.hero__media-link:focus-visible .hero__zoom {
    opacity: 1;
    transform: scale(1);
}

@media (hover: none) {
    .hero__zoom {
        opacity: 1;
        transform: none;
    }
}

/* Hidden by JS when a group holds a single image. */
.lightbox__counter[hidden] {
    display: none;
}

/* -------------------------------------------------------------------------
   9. Checklists
   ------------------------------------------------------------------------- */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.checklist__item {
    display: flex;
    gap: 11px;
    align-items: baseline;
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-dark);
}

.checklist__mark {
    color: var(--red);
    font-weight: 700;
    flex-shrink: 0;
}

.checklist--muted .checklist__item {
    color: var(--text-body);
    gap: 12px;
    line-height: 1.55;
}

.checklist--muted .checklist__mark {
    color: var(--text-muted-alt);
}

/* -------------------------------------------------------------------------
   10. "Was ist neu" - feature list + device panel
   ------------------------------------------------------------------------- */
.neu__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.feature-list {
    display: flex;
    flex-direction: column;
}

.feature {
    display: flex;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-soft);
    border-radius: 2px;
    transition: padding-left 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.feature:hover {
    padding-left: 16px;
    box-shadow: inset 3px 0 0 var(--red);
    background: var(--surface-hover);
}

.feature__num {
    width: 34px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 700;
    color: var(--num-grey);
    padding-top: 2px;
}

.feature__body {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.feature__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.feature__text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-body);
    text-wrap: pretty;
}

.device {
    position: sticky;
    top: calc(var(--header-h) + 28px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.device__figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.device__frame {
    position: relative;
    display: block;
    background: var(--device-frame);
    border-radius: var(--radius-card);
    padding: 9px;
    cursor: zoom-in;
    transition: box-shadow var(--ease), transform var(--ease);
}

a.device__frame:hover,
a.device__frame:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -16px rgba(0, 0, 0, 0.35);
}

/* Zoom badge - shows the screens can be opened, without covering content. */
.device__zoom {
    position: absolute;
    right: 17px;
    bottom: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-dark);
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: scale(0.9);
    transition: opacity var(--ease), transform var(--ease);
}

.device__frame--lg .device__zoom {
    right: 22px;
    bottom: 22px;
    width: 38px;
    height: 38px;
}

a.device__frame:hover .device__zoom,
a.device__frame:focus-visible .device__zoom {
    opacity: 1;
    transform: scale(1);
}

/* Touch devices have no hover, so the hint stays visible there. */
@media (hover: none) {
    .device__zoom {
        opacity: 1;
        transform: none;
    }
}

.device__frame img {
    width: 100%;
    display: block;
    border-radius: 6px;
}

.device__frame--lg {
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow-device);
}

.device__frame--lg img {
    border-radius: 8px;
}

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

.device__caption {
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

/* -------------------------------------------------------------------------
   11. Cards
   ------------------------------------------------------------------------- */
.card-grid {
    display: grid;
    gap: 20px;
}

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

.card {
    background: var(--surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card--outline {
    background: transparent;
    padding: 32px 30px;
}

.card--hover {
    transition: transform var(--ease), box-shadow var(--ease);
}

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

.card--outline.card--hover:hover {
    box-shadow: var(--shadow-card-soft);
}

.card__num {
    font-size: 14px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.06em;
}

.card__title {
    font-size: 17px;
    font-weight: 600;
}

.card__text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-body);
}

/* -------------------------------------------------------------------------
   12. Comparison + highlight
   ------------------------------------------------------------------------- */
.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 44px;
}

.compare__card {
    border-radius: var(--radius-card-lg);
    padding: 34px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.compare__card--manual {
    background: var(--surface-alt);
}

.compare__card--evo {
    background: var(--surface);
    border: 2px solid var(--red);
}

.compare__title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-body);
}

.compare__title--logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.compare__title--logo img {
    height: 24px;
    width: auto;
    display: block;
}

.highlight {
    background: var(--pink);
    border: 1px solid var(--pink-border);
    border-radius: var(--radius-card-lg);
    padding: 40px 48px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 36px;
    align-items: center;
}

.highlight__claim {
    margin: 0;
    color: var(--text-dark);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    max-width: 300px;
}

.highlight__text {
    margin: 0;
    color: var(--text-body);
    font-size: 15.5px;
    line-height: 1.7;
}

/* -------------------------------------------------------------------------
   13. "Warum Perfofix" panels
   ------------------------------------------------------------------------- */
.warum__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.panel {
    background: var(--surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card-lg);
    padding: 38px 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Deliberately grey, not pink - do not align it with the accent bands. */
.panel--muted {
    background: var(--surface-muted);
    border-color: var(--border-muted);
    gap: 18px;
}

.panel--wide {
    margin-top: 20px;
    padding: 30px 40px;
    gap: 10px;
}

.panel__title {
    font-size: 20px;
    font-weight: 600;
}

.panel__title--sm {
    font-size: 17px;
}

.panel__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-body);
}

.panel--wide .panel__text {
    font-size: 14.5px;
}

.panel__quote {
    margin: auto 0 0;
    padding-top: 14px;
    border-top: 1px solid var(--pink-border);
    font-size: 14.5px;
    color: var(--text-dark);
    font-style: italic;
}

.panel .checklist__item {
    color: var(--text-list);
    gap: 12px;
}

/* -------------------------------------------------------------------------
   14. Notice band ("Warum jetzt?")
   ------------------------------------------------------------------------- */
.notice {
    margin-top: 44px;
    border-radius: var(--radius-card);
    padding: 26px 32px;
    display: flex;
    gap: 20px;
    align-items: baseline;
    flex-wrap: wrap;
}

.notice--accent {
    background: var(--pink);
    border: 1px solid var(--pink-border);
}

.notice__label {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--red);
    flex-shrink: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.notice__text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-list);
    flex: 1;
    min-width: 260px;
}

/* -------------------------------------------------------------------------
   15. Service
   ------------------------------------------------------------------------- */
.service__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: start;
}

.service__intro {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.service__intro .section__title {
    margin: 0;
}

.infobox {
    background: var(--surface-muted);
    border: 1px solid var(--border-muted);
    border-radius: var(--radius-card);
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

.infobox__title {
    font-size: 15px;
    font-weight: 600;
}

.infobox__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-body);
}

.service__steps {
    display: flex;
    flex-direction: column;
}

.service__steps-title {
    font-size: 15px;
    font-weight: 600;
    padding-bottom: 18px;
}

.step {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--border-step);
}

.step__num {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--red);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 4px;
}

.step__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.step__text {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-secondary);
}

/* -------------------------------------------------------------------------
   16. FAQ
   ------------------------------------------------------------------------- */
.faq {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-faq);
}

.faq__item {
    border-bottom: 1px solid var(--border-faq);
}

.faq__question {
    width: 100%;
    padding: 18px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--text-dark);
    list-style: none;
}

.faq__question::-webkit-details-marker {
    display: none;
}

.faq__icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.faq__icon::before,
.faq__icon::after {
    content: '';
    position: absolute;
    background: var(--red);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq__icon::before {
    top: 7px;
    left: 0;
    width: 16px;
    height: 2px;
}

.faq__icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 16px;
}

.faq__item[open] .faq__icon::after {
    transform: scaleY(0);
    opacity: 0;
}

.faq__answer {
    padding: 0 4px 20px;
    max-width: 720px;
}

.faq__answer p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-body);
}

.faq__outro {
    margin: 40px 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.faq__outro a {
    font-weight: 600;
}

/* -------------------------------------------------------------------------
   17. Downloads
   ------------------------------------------------------------------------- */
.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.download__link {
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-card);
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--text-dark);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

a.download__link:hover {
    border-color: var(--red);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -18px rgba(0, 0, 0, 0.16);
}

.download__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    /* Without this the long document titles cannot wrap and push the card wide. */
    min-width: 0;
}

.download__title {
    font-size: 15px;
    font-weight: 600;
    /* German compounds like "Bedienungsanleitung" must break on narrow screens. */
    overflow-wrap: break-word;
}

.download__meta {
    font-size: 13px;
    color: var(--text-muted);
}

.download__badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.download__badge--muted {
    color: var(--text-muted-alt);
}

/* Not yet released: visible, but plainly not actionable. */
.download--pending .download__link {
    opacity: 0.55;
    cursor: default;
}

/* -------------------------------------------------------------------------
   18. Contact
   ------------------------------------------------------------------------- */
.kontakt__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 56px;
    align-items: start;
}

.kontakt__intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.person {
    background: var(--surface-alt);
    border-radius: var(--radius-card);
    padding: 28px 30px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    align-items: center;
}

.person__photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.person__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.person__name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.person__role {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.person__contact {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    color: var(--text-list);
}

.person__contact p {
    margin: 0;
}

.person__contact a {
    color: var(--text-dark);
    font-weight: 600;
}

.person__contact a:hover {
    color: var(--red);
}

/* -------------------------------------------------------------------------
   19. Form
   ------------------------------------------------------------------------- */
.form-card {
    background: var(--surface);
    border: 1px solid var(--border-faq);
    border-radius: var(--radius-card-lg);
    padding: 36px 38px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-form);
}

.form-card__title {
    font-size: 17px;
    font-weight: 600;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-list);
}

.field__required {
    color: var(--red);
}

.field__control {
    font-family: inherit;
    font-size: 14.5px;
    color: var(--text-dark);
    background: var(--surface);
    padding: 12px 14px;
    border: 1.5px solid var(--border-field);
    border-radius: var(--radius-control);
    width: 100%;
    min-width: 0;
    transition: border-color 0.2s ease;
}

.field__control:hover {
    border-color: var(--text-muted-alt);
}

.field__control:focus {
    border-color: var(--red);
    outline: none;
    box-shadow: 0 0 0 3px rgba(217, 15, 22, 0.15);
}

.field__control--area {
    resize: vertical;
    min-height: 110px;
}

.field__control--error {
    border-color: var(--red);
}

.field__error {
    margin: 0;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--red);
}

/* The paragraph is always rendered so JS can fill it - while empty it must
   not take up space or the fields would sit apart for no reason. */
.field__error:empty {
    display: none;
}

.field--consent {
    gap: 8px;
}

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
}

.consent__box {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    accent-color: var(--red);
}

.consent__text {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--text-secondary);
}

.form__hint {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted-alt);
    text-align: center;
}

/* Honeypot: off-screen rather than display:none, which some bots detect. */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    margin: 0;
    padding: 13px 16px;
    border-radius: var(--radius-control);
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid transparent;
}

.alert--success {
    background: #eef8f1;
    border-color: #cbe6d4;
    color: #1f6b3a;
}

.alert--error {
    background: var(--pink);
    border-color: var(--pink-border);
    color: #9c1015;
}

/* -------------------------------------------------------------------------
   20. Footer
   ------------------------------------------------------------------------- */
.site-footer {
    background: var(--surface-alt);
    border-top: 1px solid #e3e3e4;
    padding-top: 56px;
    padding-bottom: 40px;
}

.site-footer__top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 340px;
}

.site-footer__logo {
    height: 48px;
    width: auto;
    display: block;
    align-self: flex-start;
    mix-blend-mode: multiply;
}

.site-footer__description {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text-secondary);
}

.site-footer__claim {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--red);
    text-transform: uppercase;
}

.site-footer__columns {
    display: flex;
    gap: 72px;
    flex-wrap: wrap;
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__heading {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.site-footer__column li,
.site-footer__column a {
    font-size: 13.5px;
    color: var(--text-secondary);
}

.site-footer__column a:hover {
    color: var(--red);
}

.site-footer__bottom {
    border-top: 1px solid #dcdcdd;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--text-muted-alt);
}

.site-footer__bottom p {
    margin: 0;
}

/* Agency credit - deliberately quiet: same size and colour as the
   copyright line, only the name itself reads as a link. */
.site-footer__credit {
    margin: 0;
    color: var(--text-muted-alt);
}

.site-footer__credit a {
    color: var(--text-muted-alt);
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer__credit a:hover,
.site-footer__credit a:focus-visible {
    color: var(--red);
    border-bottom-color: currentColor;
}

.site-footer__legal {
    display: flex;
    gap: 24px;
}

.site-footer__legal a {
    color: var(--text-muted-alt);
}

.site-footer__legal a:hover {
    color: var(--red);
}

/* -------------------------------------------------------------------------
   21. Error pages
   ------------------------------------------------------------------------- */
.errorpage {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-alt);
    padding: 40px var(--gutter);
}

.errorpage__inner {
    max-width: 520px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.errorpage__logo {
    height: 50px;
    width: auto;
    margin-bottom: 18px;
}

.errorpage__code {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--red);
}

.errorpage__title {
    font-size: 28px;
    font-weight: 700;
}

.errorpage__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-body);
}

.errorpage__actions {
    margin: 12px 0 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* -------------------------------------------------------------------------
   26. Gallery lightbox
   ------------------------------------------------------------------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox[hidden] {
    display: none;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 22, 0.88);
    cursor: zoom-out;
}

.lightbox__panel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
}

.lightbox__figure {
    margin: 0;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.lightbox__image {
    display: block;
    max-width: 100%;
    /* Leaves room for the caption regardless of viewport height. */
    max-height: calc(100vh - 160px);
    width: auto;
    border-radius: 10px;
    background: var(--surface);
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.8);
}

.lightbox__caption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 13.5px;
    line-height: 1.5;
    color: #e8e8ea;
    max-width: 720px;
}

.lightbox__counter {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9a9c9e;
}

.lightbox__btn {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.lightbox__btn:hover {
    background: var(--red);
}

.lightbox__btn[hidden] {
    display: none;
}

.lightbox__btn--close {
    position: absolute;
    top: -12px;
    right: -6px;
    z-index: 2;
    width: 42px;
    height: 42px;
}

/* Locks the page behind the overlay. */
body.has-lightbox {
    overflow: hidden;
}

@media (max-width: 940px) {
    .lightbox {
        padding: 16px;
    }

    /* Arrows beside the image would leave it barely wider than the thumbnail.
       On small screens they move below it so the image gets the full width. */
    .lightbox__panel {
        flex-direction: column;
        gap: 16px;
    }

    .lightbox__figure {
        order: 1;
        width: 100%;
    }

    .lightbox__btn--prev {
        order: 2;
    }

    .lightbox__btn--next {
        order: 3;
    }

    .lightbox__btn--prev,
    .lightbox__btn--next {
        position: absolute;
        bottom: 0;
    }

    .lightbox__btn--prev {
        left: 50%;
        transform: translateX(-56px);
    }

    .lightbox__btn--next {
        left: 50%;
        transform: translateX(10px);
    }

    .lightbox__btn {
        width: 46px;
        height: 46px;
    }

    .lightbox__btn--close {
        top: -6px;
        right: 0;
        width: 40px;
        height: 40px;
    }

    .lightbox__image {
        /* Room for caption plus the arrow row underneath. */
        max-height: calc(100vh - 250px);
    }

    .lightbox__figure {
        padding-bottom: 62px;
    }
}

/* -------------------------------------------------------------------------
   22. Scroll reveal
   ------------------------------------------------------------------------- */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.55s ease, transform 0.55s ease;
}

/* -------------------------------------------------------------------------
   23. Responsive - single breakpoint at 940px, as specified
   ------------------------------------------------------------------------- */
@media (max-width: 940px) {
    :root {
        --gutter: 20px;
        --section-y: 64px;
    }

    .site-nav__list {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 18px 24px -20px rgba(0, 0, 0, 0.35);
        padding: 8px var(--gutter) 16px;
    }

    .site-nav__list.is-open {
        display: flex;
    }

    .site-nav__link {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--border-soft);
    }

    .site-nav__link.is-active {
        border-bottom-color: var(--border-soft);
    }

    .site-nav__mobile-cta {
        display: block;
        padding-top: 16px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav__cta {
        display: none;
    }

    .hero__grid,
    .neu__grid,
    .warum__grid,
    .card-grid--3,
    .service__grid,
    .kontakt__grid,
    .compare,
    .download-grid,
    .highlight,
    .person,
    .field-row {
        grid-template-columns: 1fr;
    }

    .hero__grid {
        gap: 32px;
    }

    .hero__title {
        font-size: 34px;
    }

    .section__title {
        font-size: 27px;
    }

    .device {
        position: static;
    }

    .highlight {
        padding: 32px 28px;
        gap: 20px;
    }

    .highlight__claim {
        max-width: none;
    }

    .compare__card,
    .panel {
        padding: 28px 26px;
    }

    .form-card {
        padding: 28px 24px;
    }

    .person {
        justify-items: center;
        text-align: center;
    }

    .person__body {
        align-items: center;
    }

    .service__grid,
    .kontakt__grid {
        gap: 40px;
    }

    .site-footer__columns {
        gap: 40px;
    }
}

@media (max-width: 560px) {
    .hero__actions .btn,
    .errorpage__actions .btn {
        width: 100%;
    }

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

    /* Logo and toggle together must fit the narrowest phones (320px). */
    .site-header__brand img {
        height: 38px;
    }

    .nav-toggle {
        padding: 8px 11px;
        gap: 8px;
    }

    /* Label and text side by side leave too little room for the text to wrap,
       so the notice stacks on small phones. */
    .notice {
        padding: 22px;
        flex-direction: column;
        gap: 10px;
    }

    .notice__text {
        min-width: 0;
    }

    .compare__card,
    .panel {
        padding: 24px 20px;
    }

    .form-card {
        padding: 24px 18px;
    }

    .highlight {
        padding: 26px 20px;
    }
}

/* -------------------------------------------------------------------------
   24. Reduced motion - reveal and smooth scrolling switched off entirely
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

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

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }
}

/* -------------------------------------------------------------------------
   25. Print
   ------------------------------------------------------------------------- */
@media print {
    .site-header,
    .nav-toggle,
    .band,
    .form-card,
    .hero__actions {
        display: none !important;
    }

    body {
        color: #000000;
    }

    .section {
        padding: 24px 0;
        break-inside: avoid;
    }

    .faq__answer {
        display: block !important;
    }
}
