/* =====================================================================
   Jonas Lorenz IT-Dienstleistungen – zentrales Stylesheet
   Ein Stylesheet für die gesamte Seite. Wird in includes/header.php
   absolut eingebunden (/css/main.css), damit es aus jeder Verzeichnis-
   ebene funktioniert.
   ===================================================================== */

/* ------------------------------ Tokens ------------------------------ */

:root {
    /* Markenfarben */
    --brand-900: #0d1b2a;
    --brand-800: #142838;
    --brand-700: #1b3a53;
    --brand-600: #235272;

    --accent: #0b76c4;
    --accent-strong: #095e9c;
    --accent-soft: #e6f2fb;

    --signal: #d94a2b;
    --signal-soft: #fdeeea;

    /* Flächen und Text */
    --bg: #f6f8fa;
    --surface: #ffffff;
    --surface-alt: #eef2f6;
    --border: #dde4ec;
    --border-strong: #c3cedb;

    --text: #1c2733;
    --text-muted: #5a6b7c;
    --text-invert: #ffffff;
    --text-invert-muted: #b9c6d3;

    /* Form */
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(13, 27, 42, .06), 0 2px 6px rgba(13, 27, 42, .05);
    --shadow: 0 4px 12px rgba(13, 27, 42, .08), 0 12px 28px rgba(13, 27, 42, .06);
    --shadow-lg: 0 10px 24px rgba(13, 27, 42, .10), 0 28px 60px rgba(13, 27, 42, .10);

    /* Raster */
    --container: 1140px;
    --container-narrow: 760px;
    --gutter: clamp(1rem, 4vw, 2.5rem);

    --header-h: 68px;

    /* Typografie */
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --step--1: clamp(.86rem, .83rem + .15vw, .94rem);
    --step-0: clamp(1rem, .96rem + .2vw, 1.075rem);
    --step-1: clamp(1.13rem, 1.05rem + .35vw, 1.3rem);
    --step-2: clamp(1.35rem, 1.2rem + .7vw, 1.7rem);
    --step-3: clamp(1.6rem, 1.35rem + 1.2vw, 2.25rem);
    --step-4: clamp(1.95rem, 1.5rem + 2.1vw, 3.1rem);

    --ease: cubic-bezier(.2, .7, .3, 1);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0e1720;
        --surface: #16222e;
        --surface-alt: #1c2b39;
        --border: #2a3b4c;
        --border-strong: #3a4e62;

        --text: #e8eef4;
        --text-muted: #a3b3c2;

        --accent: #4aa8ea;
        --accent-strong: #7cc2f2;
        --accent-soft: #16303f;

        --signal: #ff7a5c;
        --signal-soft: #33201b;

        --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
        --shadow: 0 6px 18px rgba(0, 0, 0, .40);
        --shadow-lg: 0 18px 48px rgba(0, 0, 0, .50);
    }
}

/* ------------------------------ Reset ------------------------------- */

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

* {
    margin: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

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

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

body {
    min-height: 100vh;
    min-height: 100svh;
    font-family: var(--font);
    font-size: var(--step-0);
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    text-wrap: balance;
    font-weight: 700;
    letter-spacing: -.015em;
}

p,
li {
    text-wrap: pretty;
}

a {
    color: var(--accent);
    text-decoration-thickness: 1px;
    text-underline-offset: .18em;
}

a:hover {
    color: var(--accent-strong);
}

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

/* --------------------------- Grundgerüst ---------------------------- */

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
}

main {
    flex: 1 0 auto;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

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

.section {
    padding-block: clamp(2.5rem, 6vw, 5rem);
}

.section--tight {
    padding-block: clamp(1.75rem, 4vw, 3rem);
}

.section--alt {
    background: var(--surface-alt);
    border-block: 1px solid var(--border);
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    padding: .75rem 1.25rem;
    background: var(--surface);
    color: var(--text);
    border-radius: 0 0 var(--radius-sm) 0;
    font-weight: 600;
}

.skip-link:focus {
    left: 0;
}

/* ------------------------------ Header ------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--brand-900), var(--brand-700));
    box-shadow: 0 2px 14px rgba(13, 27, 42, .22);
}

.nav-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: var(--header-h);
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.logo {
    display: flex;
    align-items: center;
    gap: .7rem;
    flex: 0 0 auto;
    color: var(--text-invert);
    text-decoration: none;
}

.logo img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    transition: transform .2s var(--ease);
}

.logo:hover img {
    transform: scale(1.06);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-text strong {
    font-size: 1rem;
    letter-spacing: -.01em;
}

.logo-text span {
    font-size: .72rem;
    color: var(--text-invert-muted);
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Burger */
.nav-toggle {
    display: none;
    margin-left: auto;
    width: 46px;
    height: 46px;
    padding: 0;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius-sm);
    color: var(--text-invert);
    cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.nav-toggle span {
    position: relative;
    margin-inline: auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle span::before {
    top: -6px;
}

.nav-toggle span::after {
    top: 6px;
}

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

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

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

/* Menü */
.menu {
    display: flex;
    align-items: center;
    gap: .25rem;
    margin-left: auto;
    padding: 0;
    list-style: none;
}

.menu>li {
    position: relative;
}

.menu a {
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: .55rem .9rem;
    border-radius: var(--radius-pill);
    color: var(--text-invert);
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s var(--ease);
}

.menu a:hover,
.menu a:focus-visible {
    background: rgba(255, 255, 255, .14);
    color: var(--text-invert);
}

.menu a.active {
    background: rgba(255, 255, 255, .22);
}

.menu .caret {
    width: .55em;
    height: .55em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform .2s var(--ease);
}

/* Dropdown (Desktop) */
.dropdown-menu {
    position: absolute;
    top: calc(100% + .35rem);
    left: 0;
    min-width: 240px;
    padding: .4rem;
    margin: 0;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}

.dropdown:hover>.dropdown-menu,
.dropdown:focus-within>.dropdown-menu,
.dropdown.is-open>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    padding: .6rem .75rem;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 600;
    white-space: normal;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.dropdown-menu small {
    font-weight: 400;
    font-size: .8rem;
    color: var(--text-muted);
}

.dropdown-menu a:hover small {
    color: inherit;
    opacity: .85;
}

/* ------------------------------ Buttons ----------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 46px;
    padding: .7rem 1.4rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    background: var(--accent);
    color: #fff;
    font-weight: 650;
    font-size: .98rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}

.btn:hover {
    background: var(--accent-strong);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn:active {
    transform: translateY(0);
}

.btn--ghost {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}

.btn--ghost:hover {
    background: var(--surface);
    border-color: var(--accent);
    color: var(--accent-strong);
}

.btn--on-dark {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .35);
    color: #fff;
}

.btn--on-dark:hover {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

.btn--signal {
    background: var(--signal);
}

.btn--signal:hover {
    background: #b93c21;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
}

/* -------------------------------- Hero ------------------------------ */

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 55%, var(--brand-600) 100%);
    color: var(--text-invert);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -55% auto;
    width: 60vw;
    max-width: 620px;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(11, 118, 196, .55), transparent 65%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(2rem, 5vw, 3.5rem);
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    padding-block: clamp(2.75rem, 8vw, 5.5rem);
}

.hero h1 {
    font-size: var(--step-4);
    margin-bottom: 1rem;
}

.hero__lead {
    font-size: var(--step-1);
    color: #dfe9f2;
    max-width: 42ch;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .85rem;
    margin-bottom: 1.1rem;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, .10);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.eyebrow--light {
    border-color: var(--border);
    background: var(--accent-soft);
    color: var(--accent-strong);
}

.hero__facts {
    display: grid;
    gap: .75rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(4px);
}

.hero__fact {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
}

.hero__fact dt {
    flex: 0 0 auto;
    width: 2.4rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #8fd0ff;
    line-height: 1.25;
}

.hero__fact dd {
    margin: 0;
    font-size: .95rem;
    color: #dfe9f2;
}

/* ------------------------------- Karten ----------------------------- */

.section-head {
    max-width: 62ch;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-head h2 {
    font-size: var(--step-3);
    margin-bottom: .6rem;
}

.section-head p {
    color: var(--text-muted);
    font-size: var(--step-1);
}

.grid {
    display: grid;
    gap: clamp(1rem, 2.2vw, 1.5rem);
}

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}

.card h3 {
    font-size: var(--step-1);
}

.card p {
    color: var(--text-muted);
}

.card__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: .3rem;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent-strong);
}

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

a.card,
.card--link {
    text-decoration: none;
    color: inherit;
}

a.card:hover,
.card--link:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.card__more {
    margin-top: auto;
    padding-top: .75rem;
    color: var(--accent);
    font-weight: 650;
    font-size: .95rem;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .25rem;
}

.tag {
    padding: .2rem .65rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background: var(--surface-alt);
    color: var(--text-muted);
    font-size: .78rem;
    font-weight: 600;
}

.tag--signal {
    background: var(--signal-soft);
    border-color: transparent;
    color: var(--signal);
}

.tag--accent {
    background: var(--accent-soft);
    border-color: transparent;
    color: var(--accent-strong);
}

/* --------------------------- Highlight-Block ------------------------ */

.feature {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.feature--dark {
    background: linear-gradient(135deg, var(--brand-800), var(--brand-600));
    border-color: transparent;
    color: var(--text-invert);
}

.feature--dark p {
    color: #dfe9f2;
}

.feature--dark h2 {
    color: #fff;
}

.feature h2 {
    font-size: var(--step-2);
    margin-bottom: .75rem;
}

.check-list {
    display: grid;
    gap: .6rem;
    padding: 0;
    margin: 1.25rem 0 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 1.9rem;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .48em;
    width: .55rem;
    height: .95rem;
    border-right: 2.5px solid var(--accent);
    border-bottom: 2.5px solid var(--accent);
    transform: rotate(45deg);
}

.feature--dark .check-list li::before {
    border-color: #8fd0ff;
}

/* ------------------------------- Prose ------------------------------ */

.prose {
    max-width: 72ch;
}

.prose h2 {
    font-size: var(--step-3);
    margin-bottom: 1rem;
}

.prose h3 {
    font-size: var(--step-1);
    margin-top: 2.25rem;
    margin-bottom: .6rem;
    color: var(--accent-strong);
}

.prose p,
.prose ul,
.prose ol {
    margin-bottom: 1.15rem;
}

.prose ul,
.prose ol {
    padding-left: 1.35rem;
}

.prose li {
    margin-bottom: .45rem;
}

.prose li::marker {
    color: var(--accent);
}

.panel {
    padding: clamp(1.5rem, 4vw, 2.75rem);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.lead {
    font-size: var(--step-1);
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.note {
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--accent-soft);
    color: var(--text);
    font-size: var(--step--1);
}

/* ---------------------------- Projektseiten ------------------------- */

.project-hero {
    display: grid;
    gap: 1rem;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.project-image {
    width: 100%;
    margin-block: 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    background: var(--surface-alt);
}

figure {
    margin: 1.75rem 0;
}

figure .project-image {
    margin-block: 0 .6rem;
}

figcaption {
    font-size: var(--step--1);
    color: var(--text-muted);
    text-align: center;
}

.spec-list {
    display: grid;
    gap: 0;
    margin: 1.5rem 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.spec-list div {
    display: grid;
    grid-template-columns: minmax(120px, 30%) 1fr;
    gap: 1rem;
    padding: .8rem 1.1rem;
    background: var(--surface);
}

.spec-list div:nth-child(odd) {
    background: var(--surface-alt);
}

.spec-list dt {
    font-weight: 650;
}

.spec-list dd {
    margin: 0;
    color: var(--text-muted);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    padding: 0;
    margin-bottom: 1rem;
    list-style: none;
    font-size: var(--step--1);
    color: var(--text-muted);
}

.breadcrumb li+li::before {
    content: "/";
    margin-right: .4rem;
    color: var(--border-strong);
}

.breadcrumb a {
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ------------------------------ Formular ---------------------------- */

.form-grid {
    display: grid;
    gap: 1.1rem;
    max-width: 100%;
}

.field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.field>span {
    font-weight: 650;
    font-size: .95rem;
}

.field input,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: .75rem .9rem;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    font-size: 16px;
    /* verhindert Auto-Zoom auf iOS */
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.field small {
    color: var(--text-muted);
    font-size: .82rem;
}

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

.contact-list {
    display: grid;
    gap: .9rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.contact-list a {
    font-weight: 600;
    word-break: break-word;
}

.contact-list dt,
.contact-list .label {
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ------------------------------- Footer ----------------------------- */

.site-footer {
    margin-top: auto;
    background: var(--brand-900);
    color: var(--text-invert-muted);
    font-size: var(--step--1);
}

.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    padding-block: clamp(2rem, 5vw, 3rem);
}

.site-footer h2 {
    margin-bottom: .8rem;
    font-size: .8rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #ffffff;
}

.site-footer ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    gap: .5rem;
}

.site-footer a {
    color: var(--text-invert-muted);
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-brand p {
    max-width: 34ch;
}

.footer-brand .logo-text strong,
.footer-brand strong {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.25rem;
    align-items: center;
    justify-content: space-between;
    padding-block: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.25rem;
}

/* ----------------------------- Utilities ---------------------------- */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: .9rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    text-decoration: none;
    color: var(--text-muted);
    font-size: var(--step--1);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.partner-badge:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.partner-badge img {
    width: 110px;
}

.center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

/* ------------------------------ Mobile ------------------------------ */

@media (max-width: 900px) {
    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: grid;
        gap: .15rem;
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
        margin: 0;
        padding: .6rem var(--gutter) 1.25rem;
        background: var(--brand-800);
        border-top: 1px solid rgba(255, 255, 255, .12);
        box-shadow: 0 18px 32px rgba(0, 0, 0, .3);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    }

    .menu.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu a {
        min-height: 48px;
        border-radius: var(--radius-sm);
        font-size: 1rem;
    }

    .menu>li.dropdown>a {
        justify-content: space-between;
    }

    /* Untermenü im Mobilmenü immer ausgeklappt darstellen */
    .dropdown-menu {
        position: static;
        min-width: 0;
        margin: .2rem 0 .4rem .75rem;
        padding: .25rem;
        background: rgba(255, 255, 255, .06);
        border: 0;
        border-left: 2px solid rgba(255, 255, 255, .18);
        border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown-menu a {
        color: var(--text-invert);
        font-weight: 500;
    }

    .dropdown-menu a:hover,
    .dropdown-menu a:focus-visible {
        background: rgba(255, 255, 255, .14);
        color: #fff;
    }

    .dropdown-menu small {
        color: var(--text-invert-muted);
    }

    .menu .caret {
        display: none;
    }

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

    .hero__lead {
        max-width: none;
    }
}

@media (max-width: 560px) {
    .logo-text span {
        display: none;
    }

    .logo-text strong {
        font-size: .95rem;
    }

    .btn-row .btn {
        flex: 1 1 100%;
    }

    .spec-list div {
        grid-template-columns: 1fr;
        gap: .15rem;
    }

    .footer-bottom {
        justify-content: flex-start;
    }
}

/* ------------------------------- Print ------------------------------ */

@media print {

    .site-header,
    .site-footer,
    .btn-row,
    .skip-link {
        display: none;
    }

    body {
        background: #fff;
        color: #000;
    }
}
