/* ==================================================================
   NAVE – Design-System fir all Säiten
   Faarwen, Schrëften a Komponenten sinn hei zentral definéiert.
   Eng Ännerung hei gëllt direkt op all Säit.
   ================================================================== */

/* Inter, selwer gehost (keng Donnéeë fir Google, méi séier) – SIL Open Font License */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-wght-normal.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: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-ext-wght-normal.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;
}

:root {
    --navy: #090040;
    --navy-2: #110a52;
    --navy-3: #1b1468;
    --navy-deep: #05002b;
    --accent: #F9862D;
    --accent-2: #ffb366;
    /* Orange fir klengen Text op hellem Fong: dat helle Orange huet do ze wéineg Kontrast */
    --accent-ink: #a64b06;
    --blue: #2f7bf5;
    --lavender: #D1D3EB;

    --bg: #ffffff;
    --bg-soft: #f5f5f7;
    --text: #1d1d1f;
    --text-2: #5f5f6b;
    --on-dark: #f5f5f7;
    --on-dark-2: rgba(245, 245, 247, 0.7);
    --line: rgba(9, 0, 64, 0.09);
    --line-dark: rgba(255, 255, 255, 0.12);

    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius: 18px;
    --radius-sm: 12px;

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
    --shadow-sm: 0 1px 2px rgba(9, 0, 64, 0.05), 0 6px 18px rgba(9, 0, 64, 0.06);
    --shadow: 0 2px 8px rgba(9, 0, 64, 0.06), 0 22px 56px rgba(9, 0, 64, 0.12);

    --header-h: 68px;
    --max: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
}

/* ---------- Basis ---------- */

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    /* Sprongmarken (#…) net ënnert der fixer Kopfzeil verstoppen */
    scroll-padding-top: calc(var(--header-h) + 72px);
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 'clip' amplaz 'hidden': soss funktionéiert position: sticky net méi */
    overflow-x: clip;
}

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

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
    margin: 0;
}

a {
    color: inherit;
}

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

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

::selection {
    background: rgba(249, 134, 45, 0.3);
}

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

.container--narrow {
    width: min(100% - 2 * var(--gutter), 880px);
    margin-inline: auto;
}

/* Iconen aus dem SVG-Sprite (assets/img/icons.svg) */
.icon {
    display: inline-block;
    flex-shrink: 0;
    width: 1em;
    height: 1em;
    fill: currentColor;
    vertical-align: -0.125em;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 3000;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--navy);
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.3s var(--ease);
}

.skip-link:focus {
    transform: none;
}

/* ---------- Typographie ---------- */

.display {
    font-size: clamp(2.5rem, 1.3rem + 5.4vw, 6rem);
    line-height: 1.03;
    letter-spacing: -0.035em;
    font-weight: 800;
}

.h1 {
    font-size: clamp(2.3rem, 1.3rem + 4.4vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.032em;
    font-weight: 800;
}

.h2 {
    font-size: clamp(1.9rem, 1.15rem + 3vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -0.028em;
    font-weight: 700;
    color: var(--navy);
}

.h3 {
    font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.75rem);
    line-height: 1.2;
    letter-spacing: -0.018em;
    font-weight: 700;
    color: var(--navy);
}

.lead {
    font-size: clamp(1.1rem, 1rem + 0.45vw, 1.4rem);
    line-height: 1.45;
    color: var(--text-2);
}

.eyebrow {
    display: inline-block;
    font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
    font-weight: 600;
    letter-spacing: 0.005em;
    color: var(--accent-ink);
    margin-bottom: 14px;
}

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

.dark,
.section--dark {
    color: var(--on-dark);
}

.dark .h2,
.dark .h3,
.section--dark .h2,
.section--dark .h3 {
    color: #fff;
}

.dark .lead,
.section--dark .lead {
    color: var(--on-dark-2);
}

.dark .eyebrow,
.section--dark .eyebrow {
    color: var(--accent);
}

.text-gradient {
    background: linear-gradient(120deg, var(--accent-2), var(--accent) 45%, #ff6a3d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Knäppercher a Linken ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    min-height: 50px;
    padding: 12px 28px;
    border: 0;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: translate 0.5s var(--ease), background-color 0.3s ease,
                box-shadow 0.3s ease, color 0.3s ease;
}

.btn .icon {
    font-size: 0.95em;
}

.btn-primary {
    background: var(--accent);
    color: var(--navy);
    box-shadow: 0 6px 20px rgba(249, 134, 45, 0.28);
}

.btn-primary:hover {
    background: #ff9a4d;
    box-shadow: 0 10px 30px rgba(249, 134, 45, 0.4);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    box-shadow: inset 0 0 0 1.5px rgba(9, 0, 64, 0.22);
}

.btn-outline:hover {
    background: var(--navy);
    color: #fff;
}

.btn-sm {
    min-height: 40px;
    padding: 8px 18px;
    font-size: 0.92rem;
}

.btn:active {
    translate: 0 1px;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    color: var(--accent-ink);
    font-weight: 600;
    text-decoration: none;
}

.link-arrow::after {
    content: '\203A';
    font-size: 1.35em;
    line-height: 0.8;
    transition: translate 0.35s var(--ease);
}

.link-arrow:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.link-arrow:hover::after {
    translate: 4px 0;
}

.dark .link-arrow,
.section--dark .link-arrow {
    color: var(--accent);
}

/* ---------- Kopfzeil ----------
   Grouss Schiirmer: Logo | all Säiten | Sprooch + Rendez-vous op enger Zeil.
   Ënner 1240px: zweet Zeil mat de Säiten als Tabs (op dem Handy scrollbar),
   domat een ëmmer gesäit, wéi eng Säiten et gëtt an op wéi enger een ass. */

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: var(--header-h);
    background: rgba(9, 0, 64, 0.78);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background-color 0.4s ease;
}

.site-header.is-scrolled {
    background: rgba(9, 0, 64, 0.9);
}

.header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav actions";
    align-items: center;
    column-gap: 22px;
    height: 100%;
    width: min(100% - 2 * var(--gutter), 1320px);
    margin-inline: auto;
}

.brand {
    grid-area: brand;
    display: flex;
    align-items: center;
    border-radius: 8px;
}

.brand img {
    height: 44px;
    width: auto;
}

.main-nav {
    grid-area: nav;
    position: relative;
    display: flex;
    min-width: 0;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2px;
    width: max-content;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Déi aktuell Säit: wäisse Pill, gutt ze gesinn */
.main-nav a[aria-current="page"] {
    background: #fff;
    color: var(--navy);
    font-weight: 600;
}

.nav-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--navy);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.4;
}

.header-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.header-cta {
    white-space: nowrap;
}

.header-cta .icon {
    display: none;
}

/* ---------- Sproochwiessel: klengen Menü amplaz véier Knäppercher ---------- */

.lang-menu {
    position: relative;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.lang-toggle:hover,
.lang-toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.16);
}

.lang-toggle .icon {
    font-size: 0.95rem;
    opacity: 0.85;
}

.lang-toggle .chev {
    font-size: 0.6rem;
    opacity: 0.7;
    transition: rotate 0.3s var(--ease);
}

.lang-toggle[aria-expanded="true"] .chev {
    rotate: 180deg;
}

.lang-list {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 120;
    min-width: 220px;
    margin: 0;
    padding: 6px;
    list-style: none;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(9, 0, 64, 0.28), 0 0 0 1px rgba(9, 0, 64, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.2s ease, transform 0.3s var(--ease), visibility 0.2s;
}

.lang-menu.is-open .lang-list {
    opacity: 1;
    visibility: visible;
    transform: none;
    /* direkt sichtbar, soss kann den Tastatur-Fokus net drop */
    transition: opacity 0.2s ease, transform 0.3s var(--ease), visibility 0s;
}

.lang-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--text);
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.lang-list a:hover,
.lang-list a:focus-visible {
    background: var(--bg-soft);
    outline: none;
}

.lang-list .icon {
    font-size: 0.8rem;
    color: var(--accent-ink);
    visibility: hidden;
}

.lang-list [aria-checked="true"] {
    color: var(--navy);
    font-weight: 600;
}

.lang-list [aria-checked="true"] .icon {
    visibility: visible;
}

.lang-code {
    margin-left: auto;
    color: var(--text-2);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

/* D'Elementer an der Kopfzeil kommen just beim éischte Besuch (no dem Intro)
   liicht era. Beim Wiessele vun der Säit bleift d'Kopfzeil roueg stoen. */
.js:not(.intro-seen) .site-header .brand,
.js:not(.intro-seen) .main-nav li,
.js:not(.intro-seen) .header-actions > * {
    opacity: 0;
    translate: 0 -8px;
    transition: opacity 0.7s ease, translate 0.8s var(--ease);
}

.js:not(.intro-seen) .is-ready .site-header .brand,
.js:not(.intro-seen) .is-ready .main-nav li,
.js:not(.intro-seen) .is-ready .header-actions > * {
    opacity: 1;
    translate: 0 0;
}

.js:not(.intro-seen) .is-ready .main-nav li:nth-child(2) { transition-delay: 0.04s; }
.js:not(.intro-seen) .is-ready .main-nav li:nth-child(3) { transition-delay: 0.08s; }
.js:not(.intro-seen) .is-ready .main-nav li:nth-child(4) { transition-delay: 0.12s; }
.js:not(.intro-seen) .is-ready .main-nav li:nth-child(5) { transition-delay: 0.16s; }
.js:not(.intro-seen) .is-ready .main-nav li:nth-child(6) { transition-delay: 0.2s; }
.js:not(.intro-seen) .is-ready .main-nav li:nth-child(7) { transition-delay: 0.24s; }
.js:not(.intro-seen) .is-ready .header-actions > * { transition-delay: 0.2s; }

/* ---------- Intro: beim éischte Besuch just d'Logo ---------- */

.intro {
    display: none;
}

.js:not(.intro-seen) .intro {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 34px;
    background: var(--navy);
    transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1);
}

.intro::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 45%, rgba(249, 134, 45, 0.18), transparent 55%);
    pointer-events: none;
}

.js .intro.lift {
    transform: translateY(-100%);
}

.intro-logo {
    position: relative;
    z-index: 1;
    width: min(260px, 56vw);
    height: auto;
    opacity: 0;
    transform: scale(0.92) translateY(14px);
    filter: blur(6px);
    animation: introLogo 1.15s var(--ease) 0.15s forwards;
}

@keyframes introLogo {
    to { opacity: 1; transform: none; filter: blur(0); }
}

.intro-track {
    position: relative;
    z-index: 1;
    width: min(190px, 44vw);
    height: 2px;
    border-radius: 2px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
}

.intro-track i {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    animation: introTrack 1.4s var(--ease-io) 0.45s forwards;
}

@keyframes introTrack {
    to { width: 100%; }
}

.intro.lift .intro-logo,
.intro.lift .intro-track {
    opacity: 0;
    transition: opacity 0.45s ease;
}

.intro-open {
    overflow: hidden;
}

/* ---------- Eegene Cursor (just mat der Maus) ---------- */

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 6000;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
    background: var(--accent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.3s var(--ease), height 0.3s var(--ease),
                margin 0.3s var(--ease), background-color 0.3s ease;
}

.cursor-on .cursor-dot {
    opacity: 1;
}

/* De Punkt ersetzt de Mauszeiger just op fräie Flächen. Iwwer Linken a
   Knäppercher gëtt et déi normal Hand, ouni Krees ronderëm de Knäppchen. */
.cursor-on {
    cursor: none;
}

.cursor-on a,
.cursor-on button,
.cursor-on summary,
.cursor-on label,
.cursor-on select,
.cursor-on .tile,
.cursor-on input[type="range"] {
    cursor: pointer;
}

.cursor-on input,
.cursor-on textarea {
    cursor: text;
}

.cursor-hover .cursor-dot {
    opacity: 0;
}

/* ---------- Sektiounen ---------- */

main {
    display: block;
}

.section {
    position: relative;
    padding-block: clamp(84px, 11vw, 160px);
}

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

.section--dark {
    background: var(--navy);
}

.section--tight {
    padding-block: clamp(64px, 8vw, 110px);
}

.section-head {
    max-width: 840px;
    margin: 0 auto clamp(40px, 6vw, 72px);
    text-align: center;
}

.section-head .lead {
    margin-top: 18px;
}

.section-head--left {
    margin-left: 0;
    text-align: left;
}

.section-foot {
    margin-top: clamp(36px, 5vw, 56px);
    text-align: center;
}

/* ---------- Hero (Haaptsäit) ---------- */

.hero {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--header-h) + 48px) var(--gutter) 110px;
    overflow: hidden;
    background: var(--navy);
    color: #fff;
    text-align: center;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    transform: scale(calc(1 + var(--hp, 0) * 0.12));
    will-change: transform;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 2.6s var(--ease) both;
}

@keyframes heroZoom {
    from { transform: scale(1.12); opacity: 0.4; }
    to { transform: none; opacity: 1; }
}

.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 45%, rgba(9, 0, 64, 0.35), rgba(9, 0, 64, 0.75) 75%),
        linear-gradient(180deg, rgba(9, 0, 64, 0.55) 0%, rgba(9, 0, 64, 0.35) 40%, var(--navy) 100%);
}

.glow {
    position: absolute;
    z-index: 1;
    width: 62vmax;
    height: 62vmax;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(70px);
    opacity: 0.32;
}

.glow--orange {
    top: -26vmax;
    left: -18vmax;
    background: radial-gradient(circle, var(--accent), transparent 62%);
    animation: drift 18s ease-in-out infinite alternate;
}

.glow--blue {
    right: -20vmax;
    bottom: -30vmax;
    background: radial-gradient(circle, var(--blue), transparent 62%);
    animation: drift 24s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); }
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    transform: translateY(calc(var(--hp, 0) * -70px)) scale(calc(1 - var(--hp, 0) * 0.06));
    opacity: calc(1 - var(--hp, 0) * 1.35);
    will-change: transform, opacity;
}

.hero-kicker {
    display: block;
    margin-bottom: 20px;
    font-size: clamp(0.95rem, 0.85rem + 0.45vw, 1.2rem);
    font-weight: 600;
    letter-spacing: 0.005em;
    color: var(--accent);
}

.hero-title {
    display: block;
}

.hero-tagline {
    margin-top: 22px;
    font-size: clamp(1.15rem, 1rem + 0.7vw, 1.6rem);
    font-weight: 600;
    color: var(--lavender);
}

.hero-sub {
    max-width: 720px;
    margin: 16px auto 0;
    color: var(--on-dark-2);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 38px;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 30px;
    z-index: 2;
    width: 26px;
    height: 42px;
    margin-left: -13px;
    border-radius: 14px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4);
    opacity: calc(1 - var(--hp, 0) * 4);
}

.scroll-cue::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 2px;
    background: #fff;
    animation: cue 1.9s var(--ease-io) infinite;
}

@keyframes cue {
    0% { transform: translateY(0); opacity: 1; }
    70% { transform: translateY(14px); opacity: 0; }
    100% { transform: translateY(0); opacity: 0; }
}

/* Titel Wuert fir Wuert erop */
/* All Wuert gëtt just ënne geclippt (do kënnt et eran). Uewen a op de
   Säite bleift alles sichtbar, sou datt d'Akzenter op Groussbuschtawen
   (Ä, Ë, É, À) an all Browser ganz bleiwen. Polster a negativ Marge
   ënnen loossen den Ënnerlängen Plaz, ouni den Zeilenofstand z'änneren. */
.split-words .w {
    display: inline-block;
    -webkit-clip-path: inset(-0.5em -0.25em 0 -0.25em);
    clip-path: inset(-0.5em -0.25em 0 -0.25em);
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
    vertical-align: bottom;
}

.split-words .w > i {
    display: inline-block;
    font-style: normal;
}

/* 135 %: och d'Akzenter vun engem verstoppte Wuert leien ënnert der Clip-Kant */
.js .split-words .w > i {
    transform: translateY(135%);
    transition: transform 1s var(--ease);
    transition-delay: calc(var(--i, 0) * 70ms + 120ms);
}

.js .split-words.is-in .w > i {
    transform: none;
}

/* ---------- Hero vun den Ënnersäiten ---------- */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-h) + clamp(64px, 9vw, 130px)) var(--gutter) clamp(76px, 9vw, 130px);
    background: var(--navy);
    color: #fff;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 10%, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 10%, transparent 70%);
    pointer-events: none;
}

.page-hero .hero-inner {
    max-width: 960px;
    margin-inline: auto;
}

.page-hero .eyebrow {
    color: var(--accent);
}

.page-hero .h2 {
    color: #fff;
}

.page-hero .lead {
    max-width: 740px;
    margin: 22px auto 0;
    color: var(--on-dark-2);
}

.page-hero--sme {
    padding-bottom: clamp(96px, 11vw, 160px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 7px 16px 7px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--on-dark);
}

.hero-badge b {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--navy);
    font-weight: 700;
}

/* ---------- Grousse Saz, deen sech beim Scrollen opliicht ---------- */

.statement {
    max-width: 1040px;
    margin: 0 auto;
    font-size: clamp(1.65rem, 1rem + 2.7vw, 3.25rem);
    line-height: 1.2;
    letter-spacing: -0.028em;
    font-weight: 700;
    color: #fff;
}

.js .statement .w {
    opacity: 0.16;
    transition: opacity 0.35s ease;
}

.js .statement .w.on {
    opacity: 1;
}

.statement .w > i {
    font-style: normal;
}

/* ---------- Bento-Gitter mat de Servicer ---------- */

.bento {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}

.tile {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 440px;
    padding: clamp(28px, 3.4vw, 44px);
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: translate 0.7s var(--ease), box-shadow 0.5s ease;
}

a.tile:hover {
    translate: 0 -6px;
    box-shadow: var(--shadow);
}

.tile--web { grid-column: span 4; }
.tile--app { grid-column: span 2; }
.tile--ai { grid-column: span 2; }
.tile--sme { grid-column: span 4; }

.tile-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--navy), #2b2394);
    color: var(--accent);
    font-size: 1.3rem;
}

.tile h3 {
    margin-bottom: 10px;
}

.tile p {
    max-width: 520px;
    color: var(--text-2);
}

.tile .link-arrow {
    margin-top: 18px;
}

.tile-visual {
    margin-top: auto;
    padding-top: 30px;
}

.tile--sme {
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(47, 123, 245, 0.5) 0%, transparent 45%),
        radial-gradient(90% 120% at 0% 100%, rgba(249, 134, 45, 0.35) 0%, transparent 50%),
        var(--navy);
    color: var(--on-dark);
}

.tile--sme h3 {
    color: #fff;
}

.tile--sme p {
    color: var(--on-dark-2);
}

.tile--sme .link-arrow {
    color: var(--accent);
}

.tile--sme .tile-visual {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.big-num {
    display: block;
    font-size: clamp(4.5rem, 2.6rem + 7vw, 9rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.055em;
    background: linear-gradient(135deg, var(--accent-2), var(--accent) 55%, #ff6a3d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.big-num-label {
    display: block;
    margin-top: 10px;
    color: var(--on-dark-2);
    font-size: 0.95rem;
}

/* Spotlight, deen der Maus nogeet */
.spot::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(249, 134, 45, 0.11), transparent 42%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.spot:hover::before {
    opacity: 1;
}

.section--dark .spot::before,
.tile--sme.spot::before {
    background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.1), transparent 42%);
}

/* ---------- Mockups (Browser, Handy, Chat) aus reng CSS ---------- */

.mock-browser {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 60px rgba(9, 0, 64, 0.16), 0 0 0 1px rgba(9, 0, 64, 0.06);
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: #f1f1f4;
    border-bottom: 1px solid rgba(9, 0, 64, 0.06);
}

.mock-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
}

.mock-bar i:nth-child(2) { background: #febc2e; }
.mock-bar i:nth-child(3) { background: #28c840; }

.mock-bar span {
    flex: 1;
    max-width: 220px;
    height: 18px;
    margin-left: 12px;
    border-radius: 6px;
    background: #e4e4ea;
}

.mock-body {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 12px;
    padding: 16px;
}

.mock-hero {
    grid-column: 1 / -1;
    height: 84px;
    border-radius: 10px;
    background: linear-gradient(120deg, var(--navy), #2b2394 55%, var(--accent));
    background-size: 200% 100%;
    animation: slideBg 8s ease-in-out infinite alternate;
}

@keyframes slideBg {
    to { background-position: 100% 0; }
}

.mock-card {
    height: 64px;
    border-radius: 10px;
    background: #f4f4f8;
}

.mock-line {
    display: block;
    height: 9px;
    border-radius: 5px;
    background: linear-gradient(90deg, #ececf2 0%, #f8f8fb 50%, #ececf2 100%);
    background-size: 200% 100%;
    animation: shimmer 2.4s linear infinite;
}

.mock-lines {
    grid-column: 1 / -1;
    display: grid;
    gap: 8px;
}

.mock-line.w80 { width: 80%; }
.mock-line.w60 { width: 60%; }
.mock-line.w40 { width: 40%; }

@keyframes shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

.mock-phone {
    width: 158px;
    height: 300px;
    margin: 0 auto -84px;
    padding: 9px;
    border-radius: 34px;
    background: var(--navy);
    box-shadow: 0 30px 60px rgba(9, 0, 64, 0.28);
}

.mock-screen {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 26px 10px 10px;
    border-radius: 26px;
    background: #fff;
}

.mock-screen::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 46px;
    height: 10px;
    margin-left: -23px;
    border-radius: 6px;
    background: var(--navy);
}

.mock-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 12px;
    background: #f4f4f8;
}

.mock-row b {
    flex: 0 0 24px;
    height: 24px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.mock-row:nth-child(2) b { background: linear-gradient(135deg, var(--blue), #7aa7ff); }
.mock-row:nth-child(3) b { background: linear-gradient(135deg, var(--navy), #2b2394); }

.mock-row span {
    flex: 1;
    height: 7px;
    border-radius: 4px;
    background: #e2e2ea;
}

.mock-chat {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bubble {
    display: grid;
    gap: 6px;
    max-width: 82%;
    padding: 12px 14px;
    border-radius: 18px;
}

.bubble span {
    display: block;
    height: 7px;
    border-radius: 4px;
}

.bubble--me {
    align-self: flex-end;
    width: 64%;
    border-bottom-right-radius: 6px;
    background: var(--blue);
}

.bubble--me span { background: rgba(255, 255, 255, 0.55); }

.bubble--ai {
    align-self: flex-start;
    width: 78%;
    border-bottom-left-radius: 6px;
    background: #f0f0f5;
}

.bubble--ai span { background: #d9d9e3; }

.bubble span.short { width: 55%; }

.typing {
    display: inline-flex;
    align-self: flex-start;
    gap: 5px;
    padding: 12px 14px;
    border-radius: 18px 18px 18px 6px;
    background: #f0f0f5;
}

.typing i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9a9ab0;
    animation: typing 1.3s ease-in-out infinite;
}

.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* ---------- Prozess-Iwwerbléck (Haaptsäit) ---------- */

.steps-row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.steps-row::before {
    content: '';
    position: absolute;
    top: 27px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(249, 134, 45, 0.15));
}

.step-mini {
    position: relative;
    text-align: center;
}

.step-mini .num {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    font-weight: 700;
    box-shadow: 0 0 0 2px rgba(249, 134, 45, 0.6), var(--shadow-sm);
}

.step-mini h3 {
    font-size: 1.08rem;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.step-mini p {
    margin-top: 6px;
    font-size: 0.93rem;
    color: var(--text-2);
}

/* ---------- Clienten ---------- */

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 22px;
    max-width: 960px;
    margin: 0 auto;
}

.client-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: translate 0.7s var(--ease), box-shadow 0.5s ease;
}

a.client-card:hover {
    translate: 0 -6px;
    box-shadow: var(--shadow);
}

.client-logo-box {
    display: grid;
    place-items: center;
    height: 220px;
    padding: 30px;
    background: var(--logo-bg, var(--bg-soft));
}

.client-logo-box img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
    transition: transform 1s var(--ease);
}

.client-card:hover .client-logo-box img {
    transform: scale(1.05);
}

.client-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 28px 28px;
}

.client-body h3 {
    font-size: 1.3rem;
}

.tag {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(249, 134, 45, 0.13);
    color: var(--accent-ink);
    font-size: 0.82rem;
    font-weight: 600;
}

/* SauerBeen a de Faarwe vum App-Icon: wäisst Logo op engem Verlaf vu Pink op Royalblo */
.client-card--sauerbeen {
    --logo-bg: linear-gradient(135deg, #e0336b 0%, #a33a98 30%, #5c45bd 62%, #2d55d4 100%);
}

.client-card--sauerbeen .tag {
    background: linear-gradient(135deg, rgba(224, 51, 107, 0.12), rgba(45, 85, 212, 0.12));
    color: #4a3ab4;
}

.client-body .link-arrow {
    margin-top: 6px;
}

/* ---------- Team ---------- */

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 340px));
    justify-content: center;
    gap: 24px;
}

.member {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: translate 0.7s var(--ease), box-shadow 0.5s ease;
}

.member:hover {
    translate: 0 -6px;
    box-shadow: var(--shadow);
}

.member-photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--lavender);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}

.member:hover .member-photo img {
    transform: scale(1.04);
}

.member figcaption {
    padding: 20px 24px 24px;
}

.member-name {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--navy);
}

.member-meta {
    display: block;
    margin-top: 4px;
    color: var(--text-2);
    font-size: 0.95rem;
}

/* ---------- Text-Block fir Google a Lieser ---------- */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

.prose p + p {
    margin-top: 1em;
}

.prose p {
    color: var(--text-2);
}

.dark .prose p,
.section--dark .prose p {
    color: var(--on-dark-2);
}

.prose strong {
    color: var(--text);
    font-weight: 600;
}

.section--dark .prose strong {
    color: #fff;
}

.keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
}

.keyword-list li {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    font-size: 0.9rem;
    color: var(--on-dark);
}

/* ---------- Lokal Navigatioun (Servicer, SME Package) ---------- */

.local-nav {
    position: sticky;
    top: var(--header-h);
    z-index: 50;
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--line);
}

.local-nav ul {
    display: flex;
    gap: 6px;
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px var(--gutter);
    overflow-x: auto;
    list-style: none;
    scrollbar-width: none;
}

.local-nav ul::-webkit-scrollbar {
    display: none;
}

.local-nav a {
    display: block;
    padding: 8px 15px;
    border-radius: 999px;
    color: var(--text-2);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.local-nav a:hover {
    color: var(--navy);
    background: rgba(9, 0, 64, 0.06);
}

.local-nav a.is-active {
    background: var(--navy);
    color: #fff;
}

/* ---------- Servicer am Detail ---------- */

.feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
}

.feature--reverse .feature-visual {
    order: 2;
}

.feature-visual {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: 440px;
    padding: clamp(28px, 4vw, 52px);
    overflow: hidden;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(80% 80% at 80% 10%, rgba(47, 123, 245, 0.18), transparent 60%),
        radial-gradient(70% 70% at 10% 90%, rgba(249, 134, 45, 0.16), transparent 60%),
        var(--bg-soft);
}

.section--soft .feature-visual {
    background:
        radial-gradient(80% 80% at 80% 10%, rgba(47, 123, 245, 0.18), transparent 60%),
        radial-gradient(70% 70% at 10% 90%, rgba(249, 134, 45, 0.16), transparent 60%),
        #fff;
}

.feature-visual > * {
    width: 100%;
    max-width: 440px;
}

.feature-visual .mock-phone {
    width: 170px;
    margin: 0 auto;
}

.feature-text .h2 {
    margin-bottom: 18px;
}

.checklist {
    display: grid;
    gap: 13px;
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checklist li::before {
    content: '';
    flex: 0 0 22px;
    height: 22px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-4.9' fill='none' stroke='%23090040' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.feature-text .btn,
.feature-text .link-arrow {
    margin-top: 30px;
}

/* ---------- Firwat Nave (Virdeeler) ---------- */

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.why {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 30px 26px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 0 0 1px var(--line-dark);
}

.why > .icon {
    display: block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 1.5rem;
}

.why h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
    color: #fff;
}

.why p {
    color: var(--on-dark-2);
    font-size: 0.97rem;
}

.section--soft .why,
.section:not(.section--dark) .why {
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.section:not(.section--dark) .why h3 {
    color: var(--navy);
}

.section:not(.section--dark) .why p {
    color: var(--text-2);
}

/* ---------- Gestapelt Kaarten (Prozess) ---------- */

.stack {
    display: flex;
    flex-direction: column;
    gap: clamp(22px, 3vw, 36px);
    padding-bottom: 8vh;
}

.stack-card {
    position: sticky;
    top: calc(var(--header-h) + 26px + var(--i, 0) * 14px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(24px, 4.5vw, 64px);
    align-items: center;
    min-height: min(400px, 64vh);
    padding: clamp(28px, 5vw, 64px);
    overflow: hidden;
    border-radius: var(--radius-xl);
    color: #fff;
    background:
        radial-gradient(90% 120% at 100% 0%, rgba(47, 123, 245, 0.32), transparent 55%),
        linear-gradient(160deg, var(--navy-3), var(--navy) 70%);
    box-shadow: 0 -12px 40px rgba(9, 0, 64, 0.18), 0 24px 60px rgba(9, 0, 64, 0.22);
    transform-origin: 50% 0;
    transform: scale(calc(1 - var(--sp, 0) * 0.05));
    filter: brightness(calc(1 - var(--sp, 0) * 0.3));
}

.stack-card:nth-child(even) {
    background:
        radial-gradient(90% 120% at 0% 0%, rgba(249, 134, 45, 0.26), transparent 55%),
        linear-gradient(160deg, var(--navy-3), var(--navy) 70%);
}

.stack-visual {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(110px, 16vw, 200px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 20px 50px rgba(249, 134, 45, 0.35);
    color: #fff;
    font-size: clamp(2.2rem, 1.6rem + 2.4vw, 4rem);
}

.stack-num {
    display: block;
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.22em;
}

.stack-card h2,
.stack-card h3 {
    margin-bottom: 14px;
    font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-weight: 700;
    color: #fff;
}

.stack-card p {
    max-width: 620px;
    color: var(--on-dark-2);
    font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem);
}

.stack-card::after {
    content: attr(data-step);
    position: absolute;
    right: clamp(16px, 3vw, 40px);
    bottom: -0.18em;
    z-index: 0;
    font-size: clamp(7rem, 5rem + 8vw, 14rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.06em;
    color: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.stack-card > * {
    position: relative;
    z-index: 1;
}

/* ---------- SME Package: Zuelen ---------- */

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.stat {
    padding: 30px 22px;
    border-radius: var(--radius-lg);
    background: #fff;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-num {
    display: block;
    font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--navy);
    white-space: nowrap;
}

.stat:first-child .stat-num {
    color: var(--accent-ink);
}

.stat-label {
    display: block;
    margin-top: 10px;
    color: var(--text-2);
    font-size: 0.95rem;
}

.stats--float {
    position: relative;
    z-index: 3;
    margin-top: calc(clamp(56px, 7vw, 96px) * -1);
}

/* ---------- SME Package: Rechner ---------- */

.calc {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow);
}

.calc-input {
    padding: clamp(26px, 4vw, 52px);
}

.calc-input label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-2);
    font-size: 0.95rem;
    font-weight: 600;
}

.calc-amount {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 22px;
}

.calc-amount input {
    width: 5.6ch;
    min-width: 0;
    padding: 4px 0;
    border: 0;
    border-bottom: 2px solid var(--line);
    background: transparent;
    color: var(--navy);
    font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    -moz-appearance: textfield;
    appearance: textfield;
}

.calc-amount input:focus {
    outline: none;
    border-bottom-color: var(--accent);
}

.calc-amount input::-webkit-outer-spin-button,
.calc-amount input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calc-amount span {
    color: var(--text-2);
    font-size: 1.6rem;
    font-weight: 700;
}

.calc input[type="range"] {
    width: 100%;
    height: 8px;
    margin: 6px 0 10px;
    border-radius: 4px;
    background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--fill, 30%), #e6e6ee var(--fill, 30%));
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.calc input[type="range"]::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(9, 0, 64, 0.25);
    -webkit-appearance: none;
    appearance: none;
}

.calc input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(9, 0, 64, 0.25);
}

.calc-scale {
    display: flex;
    justify-content: space-between;
    color: var(--text-2);
    font-size: 0.85rem;
}

.calc-hint {
    min-height: 1.5em;
    margin-top: 14px;
    color: var(--accent-ink);
    font-size: 0.9rem;
    font-weight: 500;
}

.calc-output {
    display: grid;
    align-content: center;
    gap: 20px;
    padding: clamp(26px, 4vw, 52px);
    background:
        radial-gradient(100% 100% at 100% 0%, rgba(47, 123, 245, 0.35), transparent 55%),
        var(--navy);
    color: #fff;
}

.calc-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-dark);
}

.calc-row:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

.calc-row span {
    min-width: 0;
    color: var(--on-dark-2);
    font-size: 0.98rem;
}

.calc-row strong {
    font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.calc-row--main strong {
    font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem);
    font-weight: 800;
    color: var(--accent);
}

.calc-bar {
    display: flex;
    height: 12px;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.15);
}

.calc-bar i {
    display: block;
    width: 70%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.calc-note {
    color: var(--on-dark-2);
    font-size: 0.84rem;
    line-height: 1.5;
}

/* ---------- SME Package: Viraussetzungen ---------- */

.req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 18px;
}

.req {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 30px 28px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.req-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--navy), #2b2394);
    color: var(--accent);
    font-size: 1.2rem;
}

.req h3 {
    margin-bottom: 8px;
    font-size: 1.12rem;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.req p {
    color: var(--text-2);
    font-size: 0.98rem;
}

/* ---------- SME Package: Zäitstrahl mat de Schrëtt ---------- */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 0 0 76px;
    list-style: none;
}

.timeline::before,
.timeline-fill {
    content: '';
    position: absolute;
    top: 28px;
    left: 27px;
    width: 2px;
    border-radius: 2px;
}

.timeline::before {
    bottom: 28px;
    background: var(--line);
}

.timeline-fill {
    height: calc((100% - 56px) * var(--tp, 0));
    background: linear-gradient(var(--accent), var(--accent-2));
}

.t-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.t-step {
    position: relative;
    padding-bottom: clamp(26px, 4vw, 40px);
}

.t-step:last-child {
    padding-bottom: 0;
}

.t-num {
    position: absolute;
    top: 0;
    left: -76px;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 0 0 2px var(--line), var(--shadow-sm);
    transition: background-color 0.5s ease, box-shadow 0.5s ease, color 0.5s ease;
}

.t-step.is-active .t-num {
    background: var(--accent);
    color: var(--navy);
    box-shadow: 0 0 0 7px rgba(249, 134, 45, 0.18);
}

.t-card {
    padding: 26px 30px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.t-card h3 {
    margin-bottom: 8px;
    font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
    color: var(--navy);
    letter-spacing: -0.015em;
}

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

.t-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.t-who {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--text-2);
    font-size: 0.84rem;
    font-weight: 600;
}

.t-who .icon {
    font-size: 0.9em;
}

.t-who--nave {
    background: rgba(249, 134, 45, 0.13);
    color: var(--accent-ink);
}

/* ---------- Hiweis-Këscht ---------- */

.callout {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    background: #fff7ef;
    box-shadow: inset 0 0 0 1px rgba(249, 134, 45, 0.4);
}

.callout > .icon {
    margin-top: 3px;
    color: var(--accent-ink);
    font-size: 1.35rem;
}

.callout strong {
    display: block;
    margin-bottom: 4px;
    color: var(--navy);
}

.callout p {
    color: var(--text-2);
}

.callout--info {
    background: #f1f5ff;
    box-shadow: inset 0 0 0 1px rgba(47, 123, 245, 0.3);
}

.callout--info > .icon {
    color: var(--blue);
}

.callouts {
    display: grid;
    gap: 16px;
}

/* ---------- Bannen (SME-Teaser op aneren Säiten) ---------- */

.promo {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    padding: clamp(30px, 5vw, 60px);
    overflow: hidden;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(80% 140% at 100% 0%, rgba(47, 123, 245, 0.45), transparent 50%),
        radial-gradient(60% 120% at 0% 100%, rgba(249, 134, 45, 0.3), transparent 55%),
        var(--navy);
    color: var(--on-dark);
}

.promo .big-num {
    font-size: clamp(3.6rem, 2.4rem + 4.4vw, 6.5rem);
}

.promo h2 {
    margin-bottom: 8px;
    font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
}

.promo p {
    color: var(--on-dark-2);
}

/* ---------- FAQ ---------- */

.faq {
    max-width: 880px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}

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

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    list-style: none;
    color: var(--navy);
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem);
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: '';
    flex: 0 0 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.5v9M1.5 6h9' stroke='%23090040' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
    transition: transform 0.45s var(--ease), background-color 0.3s ease;
}

.section--soft .faq summary::after {
    background-color: #fff;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
    background-color: rgba(249, 134, 45, 0.18);
}

.faq-a {
    max-width: 760px;
    padding: 0 0 26px;
    color: var(--text-2);
}

.faq-a p + p {
    margin-top: 0.8em;
}

@supports (interpolate-size: allow-keywords) {
    .faq {
        interpolate-size: allow-keywords;
    }

    .faq details::details-content {
        height: 0;
        overflow: clip;
        transition: height 0.5s var(--ease), content-visibility 0.5s allow-discrete;
    }

    .faq details[open]::details-content {
        height: auto;
    }
}

/* ---------- Kontakt ---------- */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: start;
}

.contact-list {
    display: grid;
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: var(--radius-lg);
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: translate 0.6s var(--ease), box-shadow 0.4s ease;
}

a.contact-item:hover {
    translate: 0 -3px;
    box-shadow: var(--shadow);
}

.contact-icon {
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy), #2b2394);
    color: var(--accent);
}

.contact-item small {
    display: block;
    color: var(--text-2);
    font-size: 0.84rem;
}

.contact-item strong {
    display: block;
    color: var(--navy);
    font-weight: 600;
    overflow-wrap: anywhere;
}

.contact-item address {
    font-style: normal;
}

.form-card {
    padding: clamp(24px, 4vw, 48px);
    border-radius: var(--radius-xl);
    background: #fff;
    box-shadow: var(--shadow);
}

.form-card .h3 {
    margin-bottom: 6px;
}

.form-card > p {
    margin-bottom: 24px;
    color: var(--text-2);
}

/* ---------- Formulairen ---------- */

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

.field {
    display: grid;
    gap: 7px;
    margin-bottom: 16px;
}

.field label {
    color: var(--navy);
    font-size: 0.92rem;
    font-weight: 600;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(9, 0, 64, 0.14);
    border-radius: 14px;
    background: #fbfbfd;
    color: var(--text);
    font-size: 16px; /* verhënnert, datt Safari beim Tippen erazoomt */
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

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

.field select {
    padding-right: 42px;
    background: #fbfbfd url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%23090040' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center / 12px no-repeat;
    -webkit-appearance: none;
    appearance: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(249, 134, 45, 0.18);
}

.form-submit {
    width: 100%;
    margin-top: 6px;
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-privacy {
    margin-top: 14px;
    color: var(--text-2);
    font-size: 0.82rem;
    text-align: center;
}

.form-status {
    display: none;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-status.visible {
    display: block;
}

.form-status.success {
    background: #ecf9f1;
    color: #17663a;
    box-shadow: inset 0 0 0 1px rgba(23, 102, 58, 0.25);
}

.form-status.error {
    background: #fdf0ed;
    color: #a3301a;
    box-shadow: inset 0 0 0 1px rgba(163, 48, 26, 0.25);
}

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

/* ---------- Modal ---------- */

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(9, 0, 64, 0.5);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
    /* direkt sichtbar, domat den Tastatur-Fokus sécher an de Modal kënnt */
    transition: opacity 0.35s ease, visibility 0s;
}

.modal-panel {
    width: min(100%, 580px);
    max-height: min(90vh, 900px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: clamp(24px, 4vw, 44px);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(9, 0, 64, 0.4);
    transform: translateY(26px) scale(0.97);
    transition: transform 0.55s var(--ease);
}

.modal.is-open .modal-panel {
    transform: none;
}

.modal-panel--wide {
    width: min(100%, 760px);
}

.modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.modal-head .h3 {
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.modal-intro {
    margin-bottom: 24px;
    color: var(--text-2);
}

.modal-close {
    flex: 0 0 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--navy);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.25s ease, rotate 0.4s var(--ease);
}

.modal-close:hover {
    background: rgba(249, 134, 45, 0.2);
    rotate: 90deg;
}

.modal-open {
    overflow: hidden;
}

.policy-content {
    color: var(--text-2);
    line-height: 1.65;
}

.policy-content h3 {
    margin: 24px 0 8px;
    color: var(--navy);
    font-size: 1.1rem;
}

.policy-content p + p {
    margin-top: 0.6em;
}

/* ---------- Cookie-Banner ---------- */

.cookie {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 950;
    display: grid;
    gap: 14px;
    width: min(100% - 24px, 560px);
    padding: 20px 22px;
    border-radius: 22px;
    background: rgba(9, 0, 64, 0.95);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    transform: translate(-50%, 160%);
    transition: transform 0.8s var(--ease);
}

.cookie.is-visible {
    transform: translate(-50%, 0);
}

.has-cookie .footer-bottom {
    padding-bottom: calc(34px + var(--cookie-h, 0px));
}

.cookie p {
    font-size: 0.93rem;
    line-height: 1.5;
    color: var(--on-dark);
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-actions .btn {
    flex: 1 1 140px;
    min-height: 44px;
}

/* ---------- Foussnot ---------- */

.site-footer {
    background: var(--navy-deep);
    color: var(--on-dark-2);
}

.footer-cta {
    position: relative;
    overflow: hidden;
    padding: clamp(88px, 11vw, 150px) var(--gutter);
    background:
        radial-gradient(60% 90% at 50% 0%, rgba(47, 123, 245, 0.28), transparent 70%),
        radial-gradient(40% 60% at 50% 100%, rgba(249, 134, 45, 0.18), transparent 70%),
        var(--navy);
    color: #fff;
    text-align: center;
}

.footer-cta .h2 {
    max-width: 900px;
    margin: 0 auto;
    color: #fff;
}

.footer-cta .lead {
    max-width: 640px;
    margin: 18px auto 0;
    color: var(--on-dark-2);
}

.footer-cta .hero-actions {
    margin-top: 34px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
    gap: 40px;
    width: min(100% - 2 * var(--gutter), var(--max));
    margin-inline: auto;
    padding: 64px 0 36px;
}

.footer-brand img {
    height: 50px;
    width: auto;
}

.footer-brand p {
    max-width: 340px;
    margin-top: 18px;
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-col h2 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-col li {
    font-size: 0.95rem;
}

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

.footer-col a,
.footer-col .link-btn {
    padding: 0;
    border: 0;
    background: none;
    color: var(--on-dark-2);
    font-size: 0.95rem;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-col .link-btn:hover {
    color: #fff;
}

.footer-col address {
    font-style: normal;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    width: min(100% - 2 * var(--gutter), var(--max));
    margin-inline: auto;
    padding: 22px 0 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li + li::before {
    content: '\203A';
    margin-right: 6px;
    opacity: 0.5;
}

.breadcrumb a {
    color: var(--on-dark-2);
    text-decoration: none;
}

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

.breadcrumb [aria-current="page"] {
    color: #fff;
}

/* ---------- Säit net fonnt ---------- */

.notfound {
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100svh;
}

.notfound .big-num {
    font-size: clamp(6rem, 4rem + 10vw, 12rem);
}

/* ---------- Scroll-Animatiounen ---------- */

.js .reveal {
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition: opacity 1s var(--ease), transform 1.1s var(--ease),
                translate 0.7s var(--ease), box-shadow 0.5s ease;
    transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s, 0s;
}

.js .reveal.is-in {
    opacity: 1;
    transform: none;
}

.js .reveal-scale {
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 1s var(--ease), transform 1.2s var(--ease),
                translate 0.7s var(--ease), box-shadow 0.5s ease;
    transition-delay: calc(var(--d, 0) * 90ms), calc(var(--d, 0) * 90ms), 0s, 0s;
}

.js .reveal-scale.is-in {
    opacity: 1;
    transform: none;
}


/* ---------- Kleng Hëllefsklassen ---------- */

.mt-xl { margin-top: clamp(64px, 8vw, 112px); }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }
.mt-m { margin-top: 24px; }
.mb-m { margin-bottom: 24px; }

.h1-sub {
    display: block;
    margin-top: 18px;
    font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--lavender);
}

.feature-text .eyebrow .icon {
    margin-right: 6px;
}

.mock-btn {
    height: 28px;
    margin-top: auto;
    border-radius: 14px;
    background: var(--accent);
}

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

a.req {
    color: inherit;
    text-decoration: none;
    transition: translate 0.7s var(--ease), box-shadow 0.5s ease;
}

a.req:hover {
    translate: 0 -6px;
    box-shadow: var(--shadow);
}

.req--link .link-arrow {
    margin-top: 16px;
}

.contact-card h3 {
    margin-bottom: 4px;
}

.contact-sub {
    margin-bottom: 14px;
    color: var(--accent-ink) !important;
    font-size: 0.9rem !important;
    font-weight: 600;
}

.contact-card address {
    color: var(--text-2);
    font-size: 0.98rem;
    font-style: normal;
    line-height: 1.5;
}

.contact-lines {
    display: grid;
    gap: 4px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
    color: var(--text-2);
    font-size: 0.95rem;
}

.contact-lines a {
    color: var(--navy);
    font-weight: 500;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.contact-lines a:hover {
    color: var(--accent-ink);
    text-decoration: underline;
}

.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.link-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.link-list a:hover {
    background: var(--navy);
    color: #fff;
}

.link-list .icon {
    font-size: 0.8em;
    opacity: 0.6;
}

.disclaimer {
    max-width: 820px;
    margin-top: clamp(32px, 4vw, 48px);
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--text-2);
    font-size: 0.86rem;
}

.prose a {
    color: var(--accent-ink);
    font-weight: 600;
}

.section--dark .prose a {
    color: var(--accent);
}

.notfound .hero-inner {
    display: grid;
    justify-items: center;
}

.notfound .lead {
    margin-top: 16px;
}

/* ==================================================================
   Responsive
   ================================================================== */

@media (max-width: 1380px) and (min-width: 1240px) {
    .header-inner {
        column-gap: 16px;
    }

    .main-nav a {
        padding: 8px 10px;
        font-size: 0.88rem;
    }
}

/* Ab hei kommen d'Säiten op eng zweet Zeil */
@media (max-width: 1239px) {
    :root {
        --header-row: 60px;
        --nav-row: 48px;
        --header-h: calc(var(--header-row) + var(--nav-row));
    }

    .header-inner {
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: var(--header-row) var(--nav-row);
        grid-template-areas:
            "brand actions"
            "nav nav";
        width: 100%;
        padding-inline: var(--gutter);
    }

    .main-nav {
        margin-inline: calc(var(--gutter) * -1);
        padding-inline: var(--gutter);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        overflow-x: auto;
        scrollbar-width: none;
        align-self: stretch;
        align-items: center;
    }

    .main-nav::-webkit-scrollbar {
        display: none;
    }

    /* Wann d'Tabs net all op de Schierm passen: Kanten liicht ausblenden */
    .main-nav.is-scrollable {
        -webkit-mask-image: linear-gradient(to right, transparent, #000 22px, #000 calc(100% - 22px), transparent);
        mask-image: linear-gradient(to right, transparent, #000 22px, #000 calc(100% - 22px), transparent);
    }

    .main-nav a {
        padding: 7px 12px;
        font-size: 0.88rem;
    }

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

@media (max-width: 960px) {
    .tile--web,
    .tile--sme {
        grid-column: span 6;
    }

    .tile--app,
    .tile--ai {
        grid-column: span 3;
    }

    .feature,
    .about-grid,
    .contact-layout,
    .calc {
        grid-template-columns: minmax(0, 1fr);
    }

    .feature--reverse .feature-visual {
        order: 0;
    }

    .feature-visual {
        min-height: 360px;
    }

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

    .steps-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        max-width: 520px;
        margin-inline: auto;
    }

    .steps-row::before {
        top: 28px;
        bottom: 28px;
        left: 27px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--accent), rgba(249, 134, 45, 0.15));
    }

    .step-mini {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 4px 18px;
        padding-bottom: 22px;
        text-align: left;
    }

    .step-mini .num {
        grid-row: span 2;
        margin: 0;
    }

    .step-mini h3 {
        align-self: end;
        padding-top: 4px;
    }

    .step-mini p {
        margin-top: 0;
    }

    .promo {
        grid-template-columns: minmax(0, 1fr);
        text-align: left;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    :root {
        --header-row: 56px;
        --nav-row: 46px;
    }

    .header-actions {
        gap: 8px;
    }

    .brand img {
        height: 38px;
    }

    /* Rendez-vous-Knäppchen gëtt e klengen Icon-Knäppchen */
    .header-cta {
        width: 36px;
        min-height: 36px;
        height: 36px;
        padding: 0;
        border-radius: 50%;
    }

    .header-cta .icon {
        display: block;
        font-size: 1rem;
    }

    .header-cta [data-i18n] {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .bento {
        gap: 14px;
    }

    .tile--app,
    .tile--ai {
        grid-column: span 6;
    }

    .tile {
        min-height: 0;
    }

    .mock-phone {
        margin-bottom: -110px;
    }

    .team-grid {
        grid-template-columns: minmax(0, 420px);
    }

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

    .field-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .stack-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        min-height: 0;
        top: calc(var(--header-h) + 14px + var(--i, 0) * 10px);
    }

    .stack-visual {
        width: 76px;
        font-size: 1.8rem;
    }

    .timeline {
        padding-left: 58px;
    }

    .timeline::before,
    .timeline-fill {
        left: 21px;
        top: 22px;
    }

    .timeline::before {
        bottom: 22px;
    }

    .timeline-fill {
        height: calc((100% - 44px) * var(--tp, 0));
    }

    .t-num {
        left: -58px;
        width: 44px;
        height: 44px;
        font-size: 0.98rem;
    }

    .t-card {
        padding: 22px 20px;
    }

    .callout {
        flex-direction: column;
        gap: 10px;
        padding: 22px 20px;
    }

    .footer-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

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

    /* Modal kënnt um Handy vun ënnen eran */
    .modal {
        place-items: end stretch;
        padding: 0;
    }

    .modal-panel,
    .modal-panel--wide {
        width: 100%;
        max-height: 92vh;
        max-height: 92svh;
        border-radius: 26px 26px 0 0;
        transform: translateY(40px);
    }

    .cookie {
        bottom: 12px;
    }
}

@media (max-width: 420px) {
    .brand img {
        height: 34px;
    }

    .lang-toggle {
        gap: 5px;
        padding: 0 10px;
    }

    .stats {
        gap: 10px;
    }

    .stat {
        padding: 22px 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* ---------- Manner Beweegung, wann de Benotzer dat wëllt ---------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        transition-delay: 0s !important;
    }

    html {
        scroll-behavior: auto;
    }

    .js .reveal,
    .js .reveal-scale,
    .js .split-words .w > i {
        opacity: 1;
        transform: none;
    }

    .js .statement .w {
        opacity: 1;
    }

    .hero-media,
    .hero-inner,
    .stack-card {
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }

}

/* ---------- Touch-Geräter ---------- */

@media (hover: none), (pointer: coarse) {
    .cursor-dot {
        display: none;
    }
}
