/* ==========================================================================
   iM Group – öffentliche Webseite. Ein Stylesheet, keine fremden Quellen.
   Schriften: Outfit/Inter, sobald unter assets/fonts abgelegt; sonst Systemschrift.
   ========================================================================== */

/* Schriften liegen auf dem eigenen Server (SIL Open Font License, siehe assets/fonts/LICENSE.txt). Outfit hat keine kyrillischen
   Zeichen – für Russisch springt der Browser automatisch auf Inter bzw. die Systemschrift. */
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-cyrillic.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
    --font-head: "Outfit", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --bg: #ffffff;
    --bg-alt: #f4f5f7;
    --surface: #ffffff;
    --text: #1d2126;
    --muted: #5d6670;
    --line: #e3e6ea;
    --accent: #c4161c;
    --accent-ink: #ffffff;
    --dark: #111418;
    --shadow: 0 10px 30px rgba(17, 20, 24, .10);
    --shadow-lg: 0 24px 60px rgba(17, 20, 24, .18);
    --radius: 14px;
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --brand: var(--accent);
    color-scheme: light;
}
:root[data-theme="dark"] {
    --bg: #0f1216;
    --bg-alt: #161a20;
    --surface: #1b2027;
    --text: #e9edf1;
    --muted: #a3acb6;
    --line: #2a313a;
    --accent: #ff4d55;
    --shadow: 0 10px 30px rgba(0, 0, 0, .35);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
    color-scheme: dark;
}

/* Markenfarben (Bereiche) */
[data-brand="security"]    { --brand: #fe0000; }
[data-brand="electrics"]   { --brand: #ff7800; }
[data-brand="craft"]       { --brand: #683c11; }
[data-brand="sanitary"]    { --brand: #009fe3; }
[data-brand="gardening"]   { --brand: #638701; }
[data-brand="advertising"] { --brand: #394247; }
[data-brand="graphics"]    { --brand: #ae40a0; }
[data-brand="lockers"]     { --brand: #683c11; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* „hidden“ gilt immer, auch bei Elementen mit eigenem display (z. B. Formulare im Raster) */
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 400 17px/1.65 var(--font-body);
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
    transition: background-color .4s var(--ease), color .4s var(--ease);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
/* Einheitliche Inhaltsbreite auf allen Seiten (wie Apps-Seite); „narrow“ bleibt als Name, ist aber gleich breit */
.container.narrow { width: min(1180px, 100% - 40px); }
.center { text-align: center; }
.lead { font-size: 1.2rem; line-height: 1.7; color: var(--text); }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: .5em; }
.section-lead { color: var(--muted); max-width: 720px; margin-bottom: 2rem; }
.h-accent { font-size: 1.5rem; margin-top: 1.6em; position: relative; padding-left: 18px; }
.h-accent::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 5px; border-radius: 3px; background: var(--brand); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

/* ---------- Schaltflächen ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
    font: 600 1rem/1 var(--font-head); text-decoration: none; cursor: pointer; position: relative; overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px color-mix(in srgb, var(--brand) 35%, transparent); }
.btn-outline-light { border-color: rgba(255, 255, 255, .9); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--brand); }
.btn-light { background: #fff; color: var(--dark); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); text-decoration: none; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

/* ---------- Kopfzeile ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, #fe0000, #ff7800, #638701, #009fe3); }
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
    color: var(--text);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
    transition: height .35s var(--ease), color .35s, border-color .35s;
}
/* Glas-Effekt auf eigener Ebene: backdrop-filter direkt am Header würde das Vollbild-Menü (position: fixed) auf die Header-Höhe begrenzen */
.site-header::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
    transition: opacity .35s;
}
.page-home .site-header:not(.is-scrolled) { border-color: transparent; color: #fff; }
.page-home .site-header:not(.is-scrolled)::before { opacity: 0; }
.site-header.is-scrolled { --header-h: 64px; height: 64px; box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.nav-open .site-header::before { opacity: 0; }
.header-inner { height: 100%; width: min(1400px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 24px; }
/* Original-Logo (weiße Schrift, durchsichtig); auf hellem Kopf dunkel eingefärbt */
.logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.logo img { height: 26px; width: auto; transition: filter .35s; }
.site-header .logo img { filter: brightness(0) saturate(100%); }
:root[data-theme="dark"] .site-header .logo img,
.page-home .site-header:not(.is-scrolled) .logo img,
.nav-open .site-header .logo img { filter: none; }
.footer-brand .logo img { height: 30px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link {
    position: relative; display: inline-flex; align-items: center; padding: 8px 9px; border-radius: 8px;
    font: 500 .95rem/1.2 var(--font-head); text-decoration: none; white-space: nowrap; transition: color .2s;
}
.nav-link::after {
    content: ""; position: absolute; left: 9px; right: 9px; bottom: 2px; height: 2px; border-radius: 2px;
    background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--brand); }
.page-home .site-header:not(.is-scrolled) .nav-link.is-active { color: #fff; }
.nav-cta { background: var(--accent); color: #fff !important; margin-left: 8px; padding: 9px 18px; border-radius: 999px; }
.nav-cta::after { display: none; }
.nav-cta:hover { filter: brightness(1.08); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; border: 1px solid color-mix(in srgb, currentColor 30%, transparent); border-radius: 999px; padding: 3px; }
.lang-link { font: 600 .78rem/1 var(--font-head); padding: 6px 9px; border-radius: 999px; text-decoration: none; opacity: .75; transition: background-color .2s, opacity .2s; }
.lang-link:hover { opacity: 1; }
.lang-link.is-active { background: color-mix(in srgb, currentColor 18%, transparent); opacity: 1; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: inherit; cursor: pointer; transition: background-color .2s, transform .3s var(--ease); }
.icon-btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.theme-toggle .theme-moon, :root[data-theme="dark"] .theme-toggle .theme-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .theme-moon { display: inline; }
.theme-toggle:active { transform: rotate(40deg); }
.burger { display: none; margin-left: auto; }
.burger-lines { position: relative; width: 22px; height: 16px; }
.burger-lines span { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease); }
.burger-lines span:nth-child(1) { top: 0; }
.burger-lines span:nth-child(2) { top: 7px; }
.burger-lines span:nth-child(3) { top: 14px; }
.nav-open .burger-lines span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-open .burger-lines span:nth-child(2) { opacity: 0; }
.nav-open .burger-lines span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

@media (max-width: 1400px) { /* darunter passt das Menü (v. a. Russisch, 3 Sprachen) nicht mehr in eine Zeile */
    .burger { display: inline-grid; position: relative; z-index: 2; }
    .main-nav {
        position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 28px; margin: 0;
        background: color-mix(in srgb, var(--dark) 96%, transparent); color: #fff; padding: 90px 24px 40px;
        clip-path: circle(0 at calc(100% - 40px) 38px); visibility: hidden;
        transition: clip-path .6s var(--ease), visibility 0s .6s;
    }
    .nav-open .main-nav { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; transition: clip-path .7s var(--ease); }
    .nav-open .site-header { color: #fff; }
    .nav-list { flex-direction: column; gap: 4px; }
    .nav-list li { opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .4s var(--ease); }
    .nav-open .nav-list li { opacity: 1; transform: none; }
    .nav-open .nav-list li:nth-child(n) { transition-delay: calc(.15s + var(--i, 0) * 40ms); }
    .nav-link { font-size: 1.35rem; padding: 10px 16px; }
    .nav-link.is-active, .page-home .site-header .nav-link.is-active { color: #fff; }
    .nav-cta { margin: 12px 0 0; }
}

/* ---------- Startseite: Kopfbereich ---------- */
.hero { position: relative; overflow: hidden; }
.hero-home { min-height: 100svh; display: grid; place-items: center; color: #fff; background: #1a1512; isolation: isolate; }
.hero-bg { position: absolute; inset: -4%; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-in-out infinite alternate; }
.hero-home::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 45%, rgba(0, 0, 0, 0), rgba(0, 0, 0, .35) 85%); }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -2%); } }
.hero-glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-glow span { position: absolute; z-index: -1; width: 220px; height: 220px; border-radius: 50%; filter: blur(50px); opacity: .14; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.hero-glow span:nth-child(1) { background: #fe0000; left: 6%; top: 18%; }
.hero-glow span:nth-child(2) { background: #ff7800; right: 8%; top: 12%; animation-delay: -4s; }
.hero-glow span:nth-child(3) { background: #009fe3; left: 18%; bottom: 10%; animation-delay: -8s; }
.hero-glow span:nth-child(4) { background: #638701; right: 16%; bottom: 14%; animation-delay: -12s; }
.hero-glow span:nth-child(5) { background: #683c11; left: 45%; top: 4%; animation-delay: -6s; }
.hero-glow span:nth-child(6) { background: #ffffff; left: 50%; bottom: -10%; opacity: .12; animation-delay: -10s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, -40px) scale(1.3); } }
.hero-content { text-align: center; padding: 100px 20px 120px; }
.qr-card {
    width: clamp(120px, 15vw, 170px); margin: 0 auto 34px; padding: 10px; border-radius: 18px; background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45); animation: pop-in 1s var(--ease) .2s both, float 6s ease-in-out 1.4s infinite;
    transform-style: preserve-3d; transition: transform .2s;
}
.qr-card img { width: 100%; border-radius: 8px; }
@keyframes pop-in { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.hero-logo { margin: 0; line-height: 1; }
.hero-logo img { width: clamp(240px, 38vw, 480px); height: auto; margin: 0 auto; animation: logo-reveal 1.3s var(--ease) .6s both; }
@keyframes logo-reveal { from { opacity: 0; clip-path: inset(0 100% 0 0); transform: translateY(14px); filter: blur(6px); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; filter: none; } }
.split { display: inline-flex; align-items: flex-start; }
.split .ch { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(6deg); animation: letter .8s var(--ease) both; animation-delay: calc(.6s + var(--d, 0s)); }
.split sup.ch { font-size: .32em; margin-left: .15em; margin-top: .1em; }
@keyframes letter { to { opacity: 1; transform: none; } }
.hero-url { font: 400 clamp(1rem, 2vw, 1.4rem)/1.3 var(--font-head); letter-spacing: .12em; margin: 14px 0 0; opacity: 0; animation: fade-up .9s var(--ease) 1.5s both; }
.hero-claim { margin: 26px 0 0; font: 500 .95rem/1 var(--font-head); letter-spacing: .3em; text-transform: uppercase; opacity: 0; animation: fade-up .9s var(--ease) 1.8s both; color: rgba(255, 255, 255, .8); }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; display: grid; color: #fff; opacity: .85; animation: fade-up 1s var(--ease) 2.2s both; }
.scroll-hint .icon { width: 44px; height: 44px; margin-top: -26px; animation: chevron 1.8s ease-in-out infinite; }
.scroll-hint .icon:first-child { margin-top: 0; }
.scroll-hint .icon:last-child { animation-delay: .15s; }
@keyframes chevron { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(8px); opacity: 1; } }

/* ---------- Zahlen ---------- */
.intro .narrow { text-align: center; }
.stats { display: flex; justify-content: center; gap: clamp(24px, 6vw, 80px); margin-top: 48px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-value { display: block; font: 700 clamp(2.6rem, 5vw, 3.6rem)/1 var(--font-head); color: var(--accent); }
.stat-label { color: var(--muted); font-size: .95rem; }

/* ---------- Marken-Kacheln ---------- */
.brands .section-title, .steps-section .section-title { text-align: center; margin-bottom: 1.4em; }
.brand-tile {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; min-height: 340px; margin: 0 auto 34px;
    border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--brand); color: #fff; text-decoration: none;
    transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.brand-tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.brand-photo { position: relative; overflow: hidden; display: block; min-height: 240px; }
.brand-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.brand-tile:hover .brand-photo img { transform: scale(1.08); }
.brand-panel { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: clamp(26px, 4vw, 46px); overflow: hidden; }
.brand-panel::before { /* Lichtstreifen beim Überfahren */
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .22), transparent); transform: skewX(-18deg); transition: left .9s var(--ease);
}
.brand-tile:hover .brand-panel::before { left: 130%; }
.brand-panel p { margin: 0; font-size: 1rem; line-height: 1.6; max-width: 34em; }
.brand-name { margin: 0; }
.brand-logo { height: clamp(26px, 3.4vw, 38px); width: auto; }
.brand-wordmark { font: 600 clamp(1.6rem, 3vw, 2.2rem)/1 var(--font-head); letter-spacing: .03em; }
.brand-tile .btn { margin-top: 8px; }

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 32px; height: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 6%; right: 6%; top: 32px; height: 2px; background: linear-gradient(90deg, #fe0000, #ff7800, #638701, #009fe3); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .3s; }
.steps.is-visible::after { transform: scaleX(1); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-no {
    position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
    background: var(--surface); border: 2px solid var(--line); font: 700 1.4rem/1 var(--font-head); color: var(--accent); box-shadow: var(--shadow);
}
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- Apps-Hinweis ---------- */
.apps-teaser-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(26px, 5vw, 64px); align-items: center; background: var(--bg-alt); border-radius: calc(var(--radius) * 1.4); padding: clamp(20px, 3vw, 34px); }
.apps-teaser-inner img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Kontaktblock ---------- */
.contact-block { padding: clamp(56px, 7vw, 96px) 0; background: var(--dark); color: #fff; text-align: center; position: relative; overflow: hidden; }
.contact-block::before { content: ""; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--brand) 40%, transparent), transparent 60%); opacity: .55; pointer-events: none; }
.contact-block .container { position: relative; }
.contact-block .section-lead { color: rgba(255, 255, 255, .75); margin-inline: auto; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.contact-card {
    display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 30px 18px; border-radius: var(--radius);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); text-decoration: none;
    transition: transform .35s var(--ease), background-color .35s, border-color .35s;
}
.contact-card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.contact-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--brand); margin-bottom: 6px; transition: transform .5s var(--ease); }
.contact-wa .contact-icon { background: #25d366; }
.contact-card:hover .contact-icon { transform: rotate(-10deg) scale(1.08); }
.contact-icon .icon { width: 28px; height: 28px; }
.contact-label { font: 600 1.1rem/1.2 var(--font-head); }
.contact-value { color: rgba(255, 255, 255, .7); font-size: .95rem; word-break: break-word; }

/* ---------- Bewertung ---------- */
.review { padding: 46px 0; background: linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 70%, #000)); color: #fff; }
.review-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.review-text { flex: 1 1 320px; }
.review-text h2 { font-size: 1.5rem; margin-bottom: .2em; }
.review-text p { margin: 0; opacity: .9; }
.review-stars { display: flex; gap: 4px; color: #ffc93c; }
.review-stars .star { display: inline-flex; animation: star-pop .6s var(--ease) both; }
.review-stars .star:nth-child(2) { animation-delay: .1s; }
.review-stars .star:nth-child(3) { animation-delay: .2s; }
.review-stars .star:nth-child(4) { animation-delay: .3s; }
.review-stars .star:nth-child(5) { animation-delay: .4s; }
.review:not(.is-visible) .star { animation-play-state: paused; }
@keyframes star-pop { from { opacity: 0; transform: scale(.3) rotate(-40deg); } to { opacity: 1; transform: none; } }

/* ---------- Bereichsseite ---------- */
.hero-brand { padding-top: var(--header-h); background: var(--bg); color: #fff; }
.brand-band { background: var(--brand); }
.brand-head { max-height: 46vh; overflow: hidden; background: #fff; }
.brand-head img { width: 100%; height: 46vh; object-fit: cover; animation: head-zoom 1.4s var(--ease) both; }
@keyframes head-zoom { from { transform: scale(1.12); opacity: .4; } to { transform: none; opacity: 1; } }
.brand-band { text-align: center; padding: clamp(34px, 6vw, 70px) 20px; position: relative; overflow: hidden; }
.brand-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .18) 50%, transparent 70%); transform: translateX(-100%); animation: sweep 2.2s var(--ease) .8s both; }
@keyframes sweep { to { transform: translateX(100%); } }
.brand-band-logo { margin: 0 auto; display: flex; justify-content: center; }
.brand-band-logo img { height: clamp(30px, 5.4vw, 56px); width: auto; max-width: 100%; animation: fade-up 1s var(--ease) .4s both; }
.brand-band .hero-url { animation-delay: .9s; }
.service-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.service-tiles .brand-tile { margin: 0; } /* alle Kacheln gleich breit (volle Seitenbreite) */
/* Einleitung und Leistungs-Kacheln gehören zusammen: kein doppelter Abschnittsabstand */
.section-intro { padding-bottom: clamp(20px, 3vw, 36px); }
.section-intro .container > :last-child { margin-bottom: 0; }
.section-intro + .service-tiles-section { padding-top: clamp(20px, 3vw, 36px); }
.brand-tile-link .service-title { font: 700 clamp(1.5rem, 2.6vw, 2rem)/1.2 var(--font-head); }
.brand-tile-link .service-sub { font-size: 1.02rem; opacity: .95; }
.service { border-top: 1px solid var(--line); padding-bottom: clamp(40px, 5vw, 64px); }
.service .block:last-child { margin-bottom: 0; }
.service-head { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.service-kicker { display: inline-block; padding: 6px 14px; border-radius: 999px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); font: 600 .82rem/1 var(--font-head); letter-spacing: .08em; text-transform: uppercase; }
:root[data-theme="dark"] .service-kicker { color: color-mix(in srgb, var(--brand) 55%, #fff); }
.service-h { font-size: clamp(2rem, 4vw, 3rem); margin: 14px 0 8px; }
.service-head-inline { text-align: left; max-width: none; margin: 0 0 28px; }
.service-head-inline .service-h { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.service-head-inline .service-lead { margin-bottom: 0; }
.service-lead { color: var(--muted); font-size: 1.15rem; }
.block { margin: 0 auto 44px; }
.block h3 { font-size: 1.45rem; }
.block-media { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.block-img { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); width: 80%; justify-self: center; } /* ein Fünftel kleiner, ruhigeres Bild */
.block-img img { width: 100%; transition: transform 1s var(--ease); }
.block-img:hover img { transform: scale(1.05); }
.check-list { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: #fff; background: var(--brand); border-radius: 50%; padding: 3px; width: 24px; height: 24px; margin-top: 2px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 10px 0; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.feature::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature:hover::before { transform: scaleY(1); }
.feature h4 { font-size: 1.1rem; margin-bottom: .4em; }
.feature p { margin: 0; color: var(--muted); font-size: .97rem; }
/* Kasten mit Preis darunter: Kasten füllt die Spalte, Preis sitzt bündig darunter */
.feature-wrap { display: flex; flex-direction: column; gap: 16px; }
.feature-wrap .feature { flex: 1 1 auto; }
.feature-wrap .price-box { display: flex; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 220px; object-fit: contain; padding: 8px; transition: transform .8s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }

.brand-back { position: absolute; left: 20px; top: 18px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font: 600 .9rem/1 var(--font-head); opacity: .9; }
.brand-back .icon { transform: rotate(180deg); transition: transform .25s var(--ease); }
.brand-back:hover .icon { transform: rotate(180deg) translateX(4px); }
.brand-band .brand-wordmark { font-size: clamp(1.6rem, 4.6vw, 3rem); display: inline-block; animation: fade-up 1s var(--ease) .4s both; }

/* Preis-Kasten */
.price-box {
    display: inline-flex; flex-direction: column; gap: 4px; margin: 6px 0 22px; padding: 20px 28px; border-radius: var(--radius);
    background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 65%, #000)); color: #fff; box-shadow: 0 14px 30px color-mix(in srgb, var(--brand) 30%, transparent);
}
.price-label { font: 600 .82rem/1.2 var(--font-head); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.price-value { font: 700 clamp(1.6rem, 4vw, 2.3rem)/1.15 var(--font-head); }
.price-hint { font-size: .9rem; opacity: .85; }
.block-text > .price-box:last-child { margin-bottom: 0; }
.block:has(> .block-text > .price-box:only-child) { margin-bottom: 28px; }

/* Kleine Schritte */
.mini-steps { list-style: none; margin: 10px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.mini-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--bg-alt); }
.mini-steps div { display: flex; flex-direction: column; gap: 4px; }
.mini-steps span:not(.mini-no) { color: var(--muted); font-size: .95rem; }
.mini-no { flex-shrink: 0; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; font: 700 1rem/1 var(--font-head); }

/* Schlagworte */
.tags { list-style: none; margin: 6px 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .95rem; transition: background-color .25s, color .25s, border-color .25s; }
.tags li:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Fotostrecke mit Vergrößern */
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 12px 0 20px; }
.photo { display: block; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); cursor: zoom-in; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .35), transparent 50%); opacity: 0; transition: opacity .35s; }
.photo:hover img { transform: scale(1.08); }
.photo:hover::after { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(8, 10, 12, .92); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; padding: 60px 16px; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transform: scale(.94); transition: transform .45s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; transition: background-color .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; translate: 0 -50%; }
.lb-prev .icon { transform: rotate(180deg); }
.lb-next { right: 14px; top: 50%; translate: 0 -50%; }
.lb-count { position: absolute; bottom: 18px; left: 50%; translate: -50% 0; color: rgba(255, 255, 255, .7); font-size: .9rem; }

/* Spind-Modelle */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; margin: 12px 0 18px; }
/* Zeilen (Bild, Titel, Unterzeile, Preise, Maße) aller Karten einer Reihe liegen auf gleicher Höhe (Subgrid) */
.product { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; transition: transform .35s var(--ease), box-shadow .35s; }
.products { row-gap: 18px; }
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-imgs { position: relative; height: 200px; margin-bottom: 14px; border-radius: 10px; background: #fff; overflow: hidden; }
.product-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.product-img.alt { opacity: 0; transform: scale(.96); }
.product:hover .product-img.alt { opacity: 1; transform: none; }
.product:hover .product-img:not(.alt) { opacity: 0; }
.product h4 { font-size: 1.2rem; margin-bottom: 2px; }
.product-sub { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.product-prices { margin: 0 0 10px; display: grid; gap: 8px; }
.product-prices div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 0; border-top: 1px dashed var(--line); }
.product-prices dt { font-size: .92rem; }
.product-prices dd { margin: 0; text-align: right; display: flex; flex-direction: column; }
.product-prices strong { color: var(--brand); font: 700 1.1rem/1.2 var(--font-head); }
:root[data-theme="dark"] .product-prices strong { color: color-mix(in srgb, var(--brand) 60%, #fff); }
.product-prices small { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.product-prices strong { white-space: nowrap; }
.product-size { margin: auto 0 0; font-size: .88rem; color: var(--muted); }
.note { font-size: .9rem; color: var(--muted); border-left: 3px solid var(--brand); padding: 6px 0 6px 14px; margin: 10px 0 18px; }

/* ---------- Kontaktformular ---------- */
.contact-form-link { margin-top: 28px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-form-card, .contact-aside { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.3); padding: clamp(20px, 3.5vw, 36px); box-shadow: var(--shadow); }
.form-title { font-size: 1.5rem; margin-bottom: 18px; }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { font: 600 .92rem/1.3 var(--font-head); }
.req { color: var(--accent); }
.opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
    background: var(--bg); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field [aria-invalid="true"], .check-field [aria-invalid="true"] { border-color: #d93a3a; }
.field-error { color: #d93a3a; font-size: .88rem; }
:root[data-theme="dark"] .field-error { color: #ff8585; }
.check-field { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; line-height: 1.5; cursor: pointer; }
.check-field input { flex-shrink: 0; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.check-field a { color: var(--accent); }
.form-hint { margin: 0; color: var(--muted); font-size: .88rem; }
/* Sicherheitsfrage */
.captcha { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 12px; background: var(--bg-alt); border: 1.5px dashed var(--line); }
.captcha.has-error { border-color: #d93a3a; }
.captcha-icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--accent); color: #fff; }
.captcha-icon .icon { width: 26px; height: 26px; }
.captcha-body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; cursor: text; }
.captcha-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.captcha-question { font: 700 1.2rem/1.2 var(--font-head); letter-spacing: .02em; white-space: nowrap; }
.captcha input { width: 90px; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--text); font: 700 1.15rem/1 var(--font-head); text-align: center; }
.captcha input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.captcha input[aria-invalid="true"] { border-color: #d93a3a; }
@media (max-width: 480px) {
    .captcha { padding: 14px; }
    .captcha-icon { display: none; }
    .captcha-row { flex-wrap: wrap; gap: 10px; }
    .captcha-question { font-size: 1.1rem; }
    .captcha input { width: 76px; }
}
.form-notice { margin: 0 0 18px; padding: 12px 16px; border-radius: 10px; background: color-mix(in srgb, #d93a3a 12%, transparent); color: #b42323; border: 1px solid color-mix(in srgb, #d93a3a 35%, transparent); }
:root[data-theme="dark"] .form-notice { color: #ffb0b0; }
.btn-send { justify-self: start; min-width: 220px; }
.btn-send.is-sending { opacity: .7; pointer-events: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: 20px 0; }
.success-icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: #2e9e57; color: #fff; animation: pop-in .7s var(--ease) both; }
.success-icon .icon { width: 44px; height: 44px; }
.form-success h2 { font-size: 1.6rem; }
.form-success p { color: var(--muted); }
.contact-aside { display: grid; gap: 12px; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; text-decoration: none; transition: background-color .25s; }
.contact-line:hover { background: var(--bg-alt); }
.contact-line > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.contact-line > span:last-child span { color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.contact-line .contact-icon { width: 48px; height: 48px; margin: 0; flex-shrink: 0; color: #fff; }
.contact-line .contact-icon .icon { width: 22px; height: 22px; }
.contact-img { margin-top: 8px; border-radius: var(--radius); }
/* minmax(0, …) statt 1fr: lange Auswahl-Einträge (z. B. Russisch) dürfen das Raster nicht breiter als den Bildschirm machen */
.form-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.field select, .field input, .field textarea { max-width: 100%; min-width: 0; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .form-row { grid-template-columns: minmax(0, 1fr); } .btn-send { width: 100%; justify-self: stretch; } }

/* ---------- App-Lizenz kaufen ---------- */
.page-hero-compact { padding-bottom: clamp(30px, 4vw, 50px); }
.license-section { padding-top: clamp(30px, 5vw, 56px); }
.license-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.3); padding: clamp(20px, 3.5vw, 36px); box-shadow: var(--shadow); }
.license-app { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; padding: 18px 20px; margin-bottom: 24px; border-radius: 12px; background: var(--bg-alt); }
.license-app > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.license-app strong { font: 700 1.1rem/1.3 var(--font-head); overflow-wrap: anywhere; }
.license-app code { font-family: Consolas, "Courier New", monospace; letter-spacing: .06em; }
.license-app .form-hint { grid-column: 1 / -1; }
.license-cap { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.plan { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 10px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; text-align: center; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s; }
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan input { position: absolute; opacity: 0; pointer-events: none; }
.plan-name { font: 600 1rem/1.2 var(--font-head); }
.plan-price { font: 700 1.5rem/1.2 var(--font-head); color: var(--accent); }
.plan:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent); }
.plan:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-block; padding: 10px 20px; border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .2s, background-color .2s, color .2s; }
.pill:has(input:checked) span { border-color: var(--accent); background: var(--accent); color: #fff; }
.pill:has(input:focus-visible) span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field.has-error .plans, .field.has-error .pills span, .captcha.has-error { border-color: #d93a3a; }
.form-row-street { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.form-row-zip { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.form-hint-tight { margin-top: -8px; }
.license-pay { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.license-pay img { max-width: 240px; width: 100%; height: auto; }
.license-switch { margin: 6px 0 0; text-align: center; }
.link-btn { border: 0; background: none; padding: 6px; color: var(--accent); font: 600 1rem/1.3 var(--font-body); text-decoration: underline; cursor: pointer; }
.form-success-note { margin: 0; padding: 14px 16px; border-radius: 10px; background: color-mix(in srgb, #2e9e57 14%, transparent); border: 1px solid color-mix(in srgb, #2e9e57 40%, transparent); }
.license-return { text-align: center; }
.license-return h2 { font-size: 1.6rem; }
.license-return p { color: var(--muted); }
.return-icon { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--bg-alt); color: #fff; }
.return-icon .icon { width: 44px; height: 44px; }
.license-return.is-done .return-icon { background: #2e9e57; animation: pop-in .7s var(--ease) both; }
.license-return.is-failed .return-icon { background: #d93a3a; animation: pop-in .7s var(--ease) both; }
.spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
    .license-app { grid-template-columns: 1fr; }
    .form-row-street, .form-row-zip { grid-template-columns: minmax(0, 1fr); }
    .plans { grid-template-columns: 1fr 1fr; }
    .license-pay { flex-direction: column; align-items: stretch; }
    .license-pay img { align-self: center; }
}

/* ---------- Apps ---------- */
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; margin-bottom: clamp(40px, 6vw, 70px); }
.app-card { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: calc(var(--radius) * 1.3); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.app-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--brand); }
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.app-head { display: flex; align-items: center; gap: 16px; }
.app-icon { display: grid; place-items: center; width: 64px; height: 64px; flex-shrink: 0; border-radius: 18px; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #000)); color: #fff; font: 700 1.35rem/1 var(--font-head); box-shadow: 0 10px 22px color-mix(in srgb, var(--brand) 35%, transparent); transition: transform .5s var(--ease); }
.app-card:hover .app-icon { transform: rotate(-8deg) scale(1.06); }
.app-name { font-size: 1.35rem; margin: 0; }
.app-platform { font-size: .85rem; color: var(--muted); }
.app-desc { margin: 0; color: var(--muted); flex: 1 1 auto; }
.app-meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 6px 26px; margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--bg-alt); }
.app-meta dt { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.app-meta dd { margin: 0; font-weight: 700; }
.app-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.app-license-hint { font-size: .88rem; color: var(--muted); min-height: 1.5em; }
@media (max-width: 600px) { .app-license-hint.is-empty { display: none; } } /* einspaltig: kein Platzhalter nötig */
.empty-note { padding: 22px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }
.install .section-title { margin-bottom: 18px; }
@media (max-width: 600px) {
    .app-grid { grid-template-columns: 1fr; }
    .app-meta { grid-template-columns: 1fr 1fr; }
    .app-actions .btn { width: 100%; }
}

/* ---------- Rechtstexte ---------- */
.legal-section { padding-top: clamp(30px, 5vw, 56px); }
.legal-pdf { margin: 0 0 20px; text-align: right; }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.legal-content { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.3); padding: clamp(20px, 4vw, 48px); box-shadow: var(--shadow); font-size: 1rem; line-height: 1.7; overflow-wrap: anywhere; }
.legal-content h1, .legal-content h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 1.8em 0 .6em; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-content h3, .legal-content h4 { font-size: 1.12rem; margin: 1.5em 0 .5em; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-content > :first-child { margin-top: 0; }
.legal-content [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.legal-content p, .legal-content li { color: var(--text); }
.legal-content ul, .legal-content ol { padding-left: 1.3em; }
.legal-content a { color: var(--accent); }
.legal-content table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.legal-content td, .legal-content th { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.legal-content a.legal-jump { text-decoration: none; }
.legal-content a.legal-jump:hover { text-decoration: underline; }
.doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.doc:hover { transform: translateX(4px); }
.doc-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.doc-title { flex: 1; font: 600 1.02rem/1.35 var(--font-head); min-width: 0; }
.doc-actions { display: flex; gap: 8px; flex-shrink: 0; }
.doc-actions .btn { min-height: 42px; padding: 0 18px; }
@media (max-width: 600px) {
    .doc { flex-wrap: wrap; }
    .doc-title { flex-basis: calc(100% - 60px); }
    .doc-actions { width: 100%; }
    .doc-actions .btn { flex: 1; }
    .legal-pdf { text-align: left; }
}

/* ---------- App-Detailseite ---------- */
.app-icon-img { width: 64px; height: 64px; flex-shrink: 0; border-radius: 16px; box-shadow: var(--shadow); background: #fff; }
.app-theme-security { --app-a: #fe0000; --app-b: #8a0000; --brand: #fe0000; }
.app-theme-mmb { --app-a: #e5398f; --app-b: #f39a1d; --brand: #e5398f; }
.app-theme-default { --app-a: var(--accent); --app-b: #3a1010; }
.app-hero { position: relative; z-index: 2; isolation: isolate; color: #fff; padding: calc(var(--header-h) + clamp(30px, 5vw, 60px)) 0 clamp(40px, 6vw, 80px);
    background: radial-gradient(ellipse at 15% 0%, color-mix(in srgb, var(--app-a) 55%, transparent), transparent 60%), linear-gradient(135deg, #14161a 0%, #1d1f24 55%, color-mix(in srgb, var(--app-b) 45%, #14161a) 100%); }
.app-hero-glow { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.app-hero-glow span { position: absolute; z-index: -1; width: 380px; height: 380px; border-radius: 50%; filter: blur(70px); opacity: .35; animation: drift 16s ease-in-out infinite alternate; }
.app-hero-glow span:nth-child(1) { background: var(--app-a); right: 10%; top: 5%; }
.app-hero-glow span:nth-child(2) { background: var(--app-b); left: 35%; bottom: -20%; animation-delay: -6s; }
.app-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(26px, 5vw, 60px); align-items: center; }
.app-back { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); text-decoration: none; font: 600 .9rem/1 var(--font-head); margin-bottom: 18px; }
.app-back .icon { transform: rotate(180deg); }
.app-back:hover { color: #fff; }
.app-hero-head { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.app-hero-icon { width: 88px; height: 88px; border-radius: 22px; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .45); animation: pop-in .9s var(--ease) both; }
.app-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 0 0 4px; }
.app-hero .app-platform { color: rgba(255, 255, 255, .7); }
.app-claim { font-size: 1.15rem; color: rgba(255, 255, 255, .88); margin-bottom: 24px; }
.app-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.05rem; }
/* Download-Knopf mit integriertem Pfeil (Google Play / APK / App Store) */
.dl-split { position: relative; display: inline-flex; min-height: 56px; border-radius: 999px; background: #fff; color: var(--dark); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.split-main { display: inline-flex; align-items: center; gap: 10px; padding: 0 26px 0 24px; border-radius: 999px; color: inherit; text-decoration: none; font: 700 1.05rem/1.2 var(--font-head); transition: background-color .2s; }
.split-main .icon { color: var(--brand, var(--accent)); flex-shrink: 0; }
.dl-split:has(.split-toggle) .split-main { border-radius: 999px 0 0 999px; padding-right: 18px; }
.split-toggle { display: grid; place-items: center; width: 54px; border: 0; border-left: 1px solid rgba(0, 0, 0, .12); border-radius: 0 999px 999px 0; background: none; color: inherit; cursor: pointer; transition: background-color .2s; }
.split-toggle .icon { transition: transform .25s var(--ease); }
.split-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.split-main:hover, .split-toggle:hover, .split-toggle[aria-expanded="true"] { background: rgba(0, 0, 0, .06); }
.split-menu { position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 100%; width: max-content; max-width: min(380px, calc(100vw - 32px)); padding: 6px; border-radius: 16px; background: var(--surface); color: var(--text); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); animation: split-in .2s var(--ease) both; }
@keyframes split-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.split-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 11px; color: inherit; text-decoration: none; transition: background-color .2s; }
button.split-main, button.split-item { border: 0; background: none; cursor: pointer; font-family: inherit; text-align: left; }
button.split-item { width: 100%; font-size: inherit; }
.split-item:hover, .split-item:focus-visible { background: var(--bg-alt); }
.split-item-icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px; background: color-mix(in srgb, var(--brand, var(--accent)) 14%, transparent); color: var(--brand, var(--accent)); }
.split-item-text { display: grid; gap: 2px; min-width: 0; }
.split-item-text strong { font: 600 .98rem/1.25 var(--font-head); }
.split-item-text small { color: var(--muted); font-size: .84rem; }
/* Overlay „noch nicht im Store“ mit APK als Alternative */
.store-overlay { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(8, 10, 12, .7); backdrop-filter: blur(4px); animation: store-fade .25s ease both; }
@keyframes store-fade { from { opacity: 0; } to { opacity: 1; } }
.store-dialog { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 30px 28px 26px; border-radius: 22px; background: var(--surface); color: var(--text); text-align: center; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: store-pop .35s var(--ease) both; }
@keyframes store-pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.store-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-alt); color: var(--text); cursor: pointer; }
.store-close:hover { background: var(--line); }
.store-dialog-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 14px; border-radius: 18px; background: color-mix(in srgb, var(--brand, var(--accent)) 14%, transparent); color: var(--brand, var(--accent)); }
.store-dialog-icon .icon { width: 30px; height: 30px; }
.store-dialog h2 { font-size: 1.35rem; margin: 0 0 8px; }
.store-dialog p { color: var(--muted); margin: 0 0 12px; }
.store-dialog-btn { width: 100%; justify-content: center; margin-top: 6px; background: var(--brand, var(--accent)); border-color: var(--brand, var(--accent)); }
.store-dialog-hint { display: block; margin-top: 8px; color: var(--muted); font-size: .84rem; }
.app-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 0; }
.app-hero-meta dt { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.app-hero-meta dd { margin: 0; font: 700 1.05rem/1.3 var(--font-head); }
.app-soon { color: rgba(255, 255, 255, .75); }
.app-hero-visual { display: flex; justify-content: center; }
.app-hero-shot { width: 100%; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); transform: perspective(1200px) rotateY(-8deg) rotateX(3deg); transition: transform .8s var(--ease); }
.app-hero-shot:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.app-hero-bigicon { width: min(320px, 70%); border-radius: 60px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: float 6s ease-in-out infinite; }
.feature-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.feature-card { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px; background: color-mix(in srgb, var(--brand, var(--accent)) 14%, transparent); color: var(--brand, var(--accent)); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feature-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.shots-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.shots-head .section-title { margin: 0; }
.shots-tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.shots-tab { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 600 .92rem/1 var(--font-head); color: var(--text); cursor: pointer; transition: background-color .2s, color .2s; }
.shots-tab.is-active { background: var(--accent); color: #fff; }
.shots-wrap { position: relative; }
.shots { display: grid; grid-auto-flow: column; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: thin; }
.shots-tv { grid-auto-columns: min(560px, 85%); }
.shots-phone { grid-auto-columns: 220px; }
.shot { scroll-snap-align: start; display: block; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); cursor: zoom-in; background: #000; }
.shot img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shots-nav { position: absolute; top: 45%; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); cursor: pointer; transition: transform .2s; }
.shots-nav:hover { transform: scale(1.08); }
.shots-prev { left: -14px; }
.shots-prev .icon { transform: rotate(180deg); }
.shots-next { right: -14px; }
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); }
.info-card { padding: 22px 24px; border-radius: var(--radius); background: var(--bg-alt); border-left: 4px solid var(--brand, var(--accent)); }
.info-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.info-card p { margin: 0; color: var(--muted); }
.info-card a, .feature-card a, .lead a { color: var(--brand, var(--accent)); font-weight: 600; }
@media (max-width: 960px) { .app-hero-grid { grid-template-columns: minmax(0, 1fr); } .app-hero-shot { transform: none; } }
@media (max-width: 600px) {
    .app-hero-actions .btn, .app-hero-actions .dl-split { width: 100%; }
    .split-main { flex: 1; justify-content: center; }
    .split-menu { width: 100%; max-width: none; }
    .store-dialog { padding: 26px 18px 20px; }
    .store-dialog-btn { min-height: 52px; padding: 8px 16px; font-size: 1rem; }
    .shots-nav { display: none; }
    .shots-phone { grid-auto-columns: 62%; }
    .app-hero-icon { width: 68px; height: 68px; border-radius: 18px; }
}

/* ---------- Webseite aufgelöst (Einzelseite ohne Menü) ---------- */
.closed-page { position: relative; isolation: isolate; overflow: hidden; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 40px 16px; background: var(--bg-alt); }
.closed-glow span { position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%; filter: blur(90px); opacity: .28; animation: drift 18s ease-in-out infinite alternate; }
.closed-glow span:nth-child(1) { background: var(--accent); left: -8%; top: -10%; }
.closed-glow span:nth-child(2) { background: #009fe3; right: -8%; bottom: -12%; animation-delay: -7s; }
.closed-card { width: min(640px, 100%); padding: clamp(28px, 5vw, 48px); border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-lg); text-align: center; }
.closed-icon { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.closed-icon .icon { width: 32px; height: 32px; }
.closed-domain { display: inline-block; margin: 0 0 12px; padding: 6px 14px; border-radius: 999px; background: var(--bg-alt); font: 600 .95rem/1.2 var(--font-head); color: var(--muted); word-break: break-all; }
.closed-card h1 { font-size: clamp(1.6rem, 4.4vw, 2.3rem); margin: 0 0 12px; }
.closed-lead { color: var(--muted); font-size: 1.08rem; margin: 0 auto 26px; max-width: 30em; }
.closed-owner { padding: 22px; border-radius: 18px; background: var(--bg-alt); text-align: left; }
.closed-owner h2 { font-size: 1.15rem; margin: 0 0 6px; }
.closed-owner p { margin: 0 0 16px; color: var(--muted); }
.closed-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.closed-actions .btn { flex: 1 1 auto; justify-content: center; }
.closed-visitor { margin: 20px 0 0; font-size: .9rem; color: var(--muted); }
.closed-foot { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.closed-logo { height: 24px; width: auto; filter: brightness(0) saturate(100%); opacity: .75; }
:root[data-theme="dark"] .closed-logo { filter: none; }
.closed-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: .88rem; color: var(--muted); }
.closed-links a { color: var(--muted); text-decoration: none; }
.closed-links a:hover, .closed-links a[aria-current] { color: var(--text); font-weight: 600; }
@media (max-width: 600px) { .closed-actions .btn { width: 100%; } .closed-owner { padding: 18px 16px; } .closed-glow span { width: 260px; height: 260px; opacity: .2; } }

/* ---------- Unterseiten-Kopf ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(50px, 8vw, 100px)) 0 clamp(40px, 6vw, 80px); background: var(--bg-alt); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero .lead { max-width: 820px; color: var(--muted); }
.page-hero-img { color: #fff; background: #1a1512; }
.page-hero-img .lead { color: rgba(255, 255, 255, .85); }
.page-hero-bg { position: absolute; inset: -4%; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-in-out infinite alternate; }
.page-hero .container { position: relative; }
.big-404 { font: 800 clamp(5rem, 16vw, 10rem)/1 var(--font-head); margin: 0; background: linear-gradient(90deg, #fe0000, #ff7800, #638701, #009fe3); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Karten / Spalten ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card-no { font: 700 .9rem/1 var(--font-head); color: var(--accent); letter-spacing: .1em; }
.card h3 { font-size: 1.2rem; margin: 10px 0 8px; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); margin-bottom: 40px; }

/* ---------- Fußzeile ---------- */
.site-footer { background: #0b0d10; color: rgba(255, 255, 255, .78); padding: 64px 0 26px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; }
.footer-title { color: #fff; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a, .footer-contact a { text-decoration: none; transition: color .2s, padding-left .25s var(--ease); display: inline-flex; align-items: center; gap: 10px; }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-links a[data-brand]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.footer-contact a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: rgba(255, 255, 255, .55); }
.footer-privacy { display: inline-flex; align-items: center; gap: 8px; }
.footer-privacy .icon { color: #5fd17a; }

/* ---------- Schwebende Knöpfe ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; gap: 10px; }
.fab-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; color: #fff; background: var(--dark); box-shadow: var(--shadow-lg); cursor: pointer; text-decoration: none; transform: scale(0); transition: transform .4s var(--ease); }
.fab-call { background: var(--accent); }
.fab-wa { background: #25d366; }
.fab.is-visible .fab-btn { transform: scale(1); }
.fab.is-visible .fab-btn:nth-child(2) { transition-delay: .05s; }
.fab.is-visible .fab-btn:nth-child(3) { transition-delay: .1s; }
.fab-btn:hover { transform: scale(1.1) !important; }
@media (min-width: 761px) { .fab-call, .fab-wa { display: none; } }
@media (max-width: 760px) {
    .fab { right: 10px; bottom: 12px; gap: 8px; }
    .fab-btn { width: 44px; height: 44px; }
    .fab-btn .icon { width: 20px; height: 20px; }
    .fab.is-hidden .fab-btn { transform: scale(0) !important; } /* ausgeblendet, solange der Kontaktblock sichtbar ist */
}

/* ---------- Einblenden beim Scrollen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--delay, 0) * 110ms); }
.js [data-reveal="left"] { transform: translateX(-60px); }
.js [data-reveal="right"] { transform: translateX(60px); }
.js [data-reveal="zoom"] { transform: scale(.9); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-delay="1"] { --delay: 1; } [data-delay="2"] { --delay: 2; } [data-delay="3"] { --delay: 3; }
[data-delay="4"] { --delay: 4; } [data-delay="5"] { --delay: 5; } [data-delay="6"] { --delay: 6; }
.split .ch[data-i="1"] { --d: .06s; } .split .ch[data-i="2"] { --d: .12s; } .split .ch[data-i="3"] { --d: .18s; }
.split .ch[data-i="4"] { --d: .24s; } .split .ch[data-i="5"] { --d: .30s; } .split .ch[data-i="6"] { --d: .36s; }
.split .ch[data-i="7"] { --d: .42s; } .split .ch[data-i="8"] { --d: .55s; }
.nav-list li:nth-child(1) { --i: 1; } .nav-list li:nth-child(2) { --i: 2; } .nav-list li:nth-child(3) { --i: 3; }
.nav-list li:nth-child(4) { --i: 4; } .nav-list li:nth-child(5) { --i: 5; } .nav-list li:nth-child(6) { --i: 6; }
.nav-list li:nth-child(7) { --i: 7; } .nav-list li:nth-child(8) { --i: 8; } .nav-list li:nth-child(9) { --i: 9; }
.nav-list li:nth-child(10) { --i: 10; }

/* ---------- Handy / Tablet ---------- */
@media (max-width: 960px) {
    .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .steps::before, .steps::after { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .block-media, .two-col, .apps-teaser-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
    .container, .container.narrow { width: calc(100% - 32px); }
    .brand-tile { grid-template-columns: minmax(0, 1fr); min-height: 0; }
    .brand-photo { min-height: 210px; }
    .contact-cards { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .gallery img { height: 160px; }
    .lead { font-size: 1.08rem; }
    .lang-switch { margin-top: 6px; }
    .js [data-reveal="left"] { transform: translateX(-28px); }
    .js [data-reveal="right"] { transform: translateX(28px); }
    .js [data-reveal="left"].is-visible, .js [data-reveal="right"].is-visible { transform: none; }
    .brand-head img { height: 34vh; }
    .brand-head { max-height: 34vh; }
    .brand-band { padding: 30px 16px 26px; }
    .brand-back { left: 14px; top: 10px; font-size: .82rem; }
    .brand-tile-link .service-title { font-size: 1.35rem; }
    .service-h { font-size: 1.75rem; }
    .block h3 { font-size: 1.25rem; }
    .price-box { display: flex; padding: 18px 20px; }
    .products { grid-template-columns: 1fr; }
    .photos { grid-template-columns: 1fr 1fr; gap: 10px; }
    .feature-grid { grid-template-columns: 1fr; }
    .review-inner { flex-direction: column; text-align: center; }
    .review .btn { width: 100%; }
    .contact-card { padding: 22px 16px; }
    .section { padding: 48px 0; }
    .lb-prev, .lb-next { top: auto; bottom: 10px; translate: none; }
    .block-img { width: 100%; }
    .tags { gap: 8px; }
    .tags li { padding: 7px 13px; font-size: .88rem; }
}
@media (max-width: 480px) {
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .logo img { height: 22px; }
    .hero-claim { letter-spacing: .16em; font-size: .8rem; }
}

/* Bewegung reduzieren (Systemeinstellung) */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}
