/* Ausbildungsportal – Landing Page */
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url('fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url('fonts/barlow-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }

:root {
    --brand: #630d00;
    --brand-700: #4a0a00;
    --brand-500: #8f1600;
    --brand-300: #d4480f;
    --flame: #ff8a3d;
    --amber: #ffc65c;
    --ink: #14161a;
    --ink-2: #3b3f47;
    --muted: #6b707a;
    --line: #e6e3df;
    --paper: #faf8f5;
    --card: #ffffff;
    --sand: #f4ede3;
    --ok: #1f6f4a;
    --radius: 20px;
    --shadow: 0 1px 2px rgba(20, 22, 26, .04), 0 12px 32px -12px rgba(20, 22, 26, .18);
    --shadow-lg: 0 30px 80px -24px rgba(40, 6, 0, .45);
    --font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-head: 'Barlow Condensed', 'Barlow', system-ui, sans-serif;
    --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-500); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -.005em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--font); padding: 16px 26px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: linear-gradient(135deg, var(--flame), var(--brand-300)); color: #fff; box-shadow: 0 10px 30px -8px rgba(212, 72, 15, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(212, 72, 15, .8); }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); }
.btn-dark { background: var(--brand); color: #fff; }
.btn-dark:hover { background: var(--brand-700); transform: translateY(-2px); }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav .wrap { display: flex; align-items: center; gap: 32px; height: 76px; }
.nav.scrolled { background: rgba(74, 10, 0, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; background: #fff; padding: 3px; }
.brand b { font: 700 22px/1 var(--font-head); letter-spacing: .01em; display: block; }
.brand small { font-size: 12px; opacity: .7; letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav .btn { padding: 12px 20px; font-size: 15px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding: 150px 0 0; background:
    radial-gradient(900px 500px at 85% 10%, rgba(255, 138, 61, .35), transparent 60%),
    radial-gradient(700px 600px at 5% 90%, rgba(212, 72, 15, .35), transparent 60%),
    linear-gradient(160deg, #2a0500 0%, var(--brand) 45%, #3a0700 100%);
    overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%); }
.hero .wrap { position: relative; }
.hero-copy { max-width: 820px; margin: 0 auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--flame); box-shadow: 0 0 0 4px rgba(255, 138, 61, .25); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(255, 138, 61, 0); } }
.hero h1 { font-size: clamp(44px, 7.4vw, 88px); margin: 22px 0 24px; text-transform: uppercase; letter-spacing: .005em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--amber), var(--flame) 55%, #ff6a3d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: rgba(255, 255, 255, .8); max-width: 680px; margin: 0 auto; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 36px 0 0; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 28px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 16px; height: 16px; color: var(--amber); }

.stage { position: relative; margin: 70px auto 0; max-width: 1080px; padding-bottom: 0; }
.browser { background: #1b1d22; border-radius: 14px 14px 0 0; padding: 10px 10px 0; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .08); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 4px 6px 10px; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin-left: 14px; flex: 1; max-width: 360px; font-size: 12px; color: #9aa0aa; background: #2a2d34; border-radius: 6px; padding: 4px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { border-radius: 6px 6px 0 0; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.phone { margin: 0; position: absolute; width: 23%; min-width: 150px; right: -3%; bottom: -40px; border-radius: 34px; padding: 9px; background: #0d0e10; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .12) inset; }
.phone img { border-radius: 26px; aspect-ratio: 390 / 844; object-fit: cover; width: 100%; }
.float-card { position: absolute; left: -4%; top: 32%; background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow-lg); font-size: 14px; animation: bob 6s ease-in-out infinite; }
.float-card b { display: block; font-size: 15px; }
.float-card small { color: var(--muted); }
.float-card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #e6f3ec; color: var(--ok); flex: none; }
.float-card .ico svg { width: 22px; height: 22px; }
.float-card.two { left: auto; right: 22%; top: 8%; animation-delay: -3s; }
.float-card.two .ico { background: #fff1e6; color: var(--brand-300); }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-300); }
.section-head h2 { font-size: clamp(36px, 5vw, 58px); margin: 12px 0 18px; }
.section-head p { font-size: 19px; color: var(--ink-2); }

/* Logos/Trust strip */
.strip { background: #fff; border-bottom: 1px solid var(--line); padding: 100px 0 40px; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat b { font: 700 46px/1 var(--font-head); color: var(--brand); display: block; }
.stat span { color: var(--ink-2); font-size: 15px; }

/* Problem → Lösung */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare > div { border-radius: var(--radius); padding: 36px; }
.compare .before { background: #fff; border: 1px dashed #d8d2ca; }
.compare .after { background: linear-gradient(160deg, var(--brand), #3a0700); color: #fff; box-shadow: var(--shadow-lg); }
.compare h3 { font-size: 28px; margin-bottom: 20px; display: flex; gap: 12px; align-items: center; }
.compare ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare li { display: flex; gap: 12px; align-items: flex-start; }
.compare li svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.compare .before li { color: var(--ink-2); }
.compare .before li svg { color: #b9b1a6; }
.compare .after li svg { color: var(--amber); }

/* Bento Features */
.features { background: var(--sand); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { background: var(--card); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); grid-column: span 2; display: flex; flex-direction: column; gap: 12px; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.tile:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(20, 22, 26, .04), 0 24px 48px -16px rgba(20, 22, 26, .25); }
.tile.wide { grid-column: span 3; }
.tile.xl { grid-column: span 4; }
.tile.dark { background: linear-gradient(160deg, #24262c, #14161a); color: #fff; }
.tile.dark p { color: rgba(255, 255, 255, .72); }
.tile.accent { background: linear-gradient(160deg, var(--brand-500), var(--brand-700)); color: #fff; }
.tile.accent p { color: rgba(255, 255, 255, .78); }
.tile h3 { font-size: 26px; }
.tile p { color: var(--ink-2); font-size: 16px; }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #fbeee6; color: var(--brand-300); }
.tile.dark .ico, .tile.accent .ico { background: rgba(255, 255, 255, .1); color: var(--amber); }
.tile .ico svg { width: 26px; height: 26px; }
.tile .shot { margin: 12px -30px -30px 0; border-radius: 12px 0 0 0; overflow: hidden; box-shadow: -1px -1px 0 var(--line); flex: 1; min-height: 180px; }
.tile .shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.chain { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.chain span { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.chain svg { width: 16px; height: 16px; opacity: .6; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.tags span { font-size: 13px; font-weight: 500; padding: 5px 11px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); }
.tile.dark .tags span { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8); }

/* Gallery */
.gallery { background: #14161a; color: #fff; overflow: hidden; }
.gallery .section-head p { color: rgba(255, 255, 255, .7); }
.gallery .kicker { color: var(--flame); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.tabs button { font: 600 15px/1 var(--font); color: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); padding: 12px 18px; border-radius: 999px; cursor: pointer; transition: all .2s; }
.tabs button:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, var(--flame), var(--brand-300)); border-color: transparent; }
.viewer { max-width: 1040px; margin: 0 auto; }
.viewer .browser { border-radius: 14px; padding-bottom: 10px; cursor: zoom-in; }
.viewer .browser img { border-radius: 6px; transition: opacity .35s; }
.viewer .browser img.fading { opacity: 0; }
.caption { text-align: center; margin-top: 26px; min-height: 56px; }
.caption b { font: 700 26px/1.1 var(--font-head); display: block; margin-bottom: 4px; }
.caption span { color: rgba(255, 255, 255, .68); }
.glow { position: absolute; width: 900px; height: 500px; left: 50%; top: 40%; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(212, 72, 15, .35), transparent); pointer-events: none; }

/* App section */
.app-section { background: linear-gradient(180deg, var(--paper), #fff); }
.app-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 16px; }
.checks li { display: flex; gap: 14px; }
.checks li svg { width: 24px; height: 24px; flex: none; color: var(--ok); margin-top: 1px; }
.checks b { display: block; }
.checks span { color: var(--ink-2); font-size: 16px; }
.phones { display: flex; gap: 22px; justify-content: center; align-items: flex-start; }
.phones .phone { position: relative; right: auto; bottom: auto; width: calc((100% - 44px) / 3); min-width: 0; flex: none; }
.phones .phone:nth-child(2) { margin-top: 60px; }
.phones .phone:nth-child(3) { margin-top: 120px; }
.phones .phone figcaption { position: absolute; left: 50%; bottom: -40px; transform: translateX(-50%); font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }

/* Ablauf */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: step; position: relative; }
.flow::before { content: ''; position: absolute; top: 31px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--flame), var(--brand)); opacity: .35; }
.step { text-align: center; position: relative; }
.step .num { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: grid; place-items: center; font: 700 26px/1 var(--font-head); color: var(--brand); box-shadow: var(--shadow); position: relative; }
.step:hover .num { background: var(--brand); color: #fff; border-color: var(--brand); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-2); }
.step small { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--brand-300); }

/* Rollen */
.roles { background: var(--sand); }
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 4px solid var(--brand-300); }
.role:nth-child(2n) { border-top-color: var(--brand); }
.role:nth-child(3n) { border-top-color: var(--amber); }
.role h3 { font-size: 24px; margin-bottom: 6px; }
.role .who { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.role p { font-size: 16px; color: var(--ink-2); }

/* Sicherheit */
.secure { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.secure-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.secure-list div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.secure-list svg { width: 26px; height: 26px; color: var(--brand-300); margin-bottom: 10px; }
.secure-list b { display: block; font-size: 17px; margin-bottom: 4px; }
.secure-list span { font-size: 15px; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 600; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 28px/1 var(--font); color: var(--brand-300); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); }

/* Kontakt */
.contact { background: linear-gradient(160deg, #2a0500, var(--brand) 55%, #3a0700); color: #fff; overflow: hidden; }
.contact::before { content: ''; position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; background: radial-gradient(closest-side, rgba(255, 138, 61, .35), transparent); }
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; position: relative; }
.contact .kicker { color: var(--amber); }
.contact .section-head p { color: rgba(255, 255, 255, .78); }
.contact-info { display: grid; gap: 18px; margin-top: 8px; }
.contact-info div { display: flex; gap: 14px; align-items: center; }
.contact-info .ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: var(--amber); flex: none; }
.contact-info .ico svg { width: 22px; height: 22px; }
.contact-info a { color: #fff; }
.contact-info small { display: block; color: rgba(255, 255, 255, .6); font-size: 13px; }
form.card { background: #fff; color: var(--ink); border-radius: 24px; padding: 36px; box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand-300); background: #fff; box-shadow: 0 0 0 4px rgba(212, 72, 15, .15); }
.interest { display: flex; flex-wrap: wrap; gap: 8px; }
.interest label { cursor: pointer; position: relative; }
.interest input { position: absolute; opacity: 0; pointer-events: none; }
.interest span { display: inline-block; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); transition: all .15s; }
.interest input:checked + span { background: #fbeee6; border-color: var(--brand-300); color: var(--brand); }
.interest input:focus-visible + span { box-shadow: 0 0 0 3px rgba(212, 72, 15, .3); }
.consent { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); align-items: flex-start; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-msg { display: none; margin-top: 14px; padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.form-msg.ok { display: block; background: #e6f3ec; color: var(--ok); }
.form-msg.err { display: block; background: #fdecea; color: #a31500; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* Footer */
footer { background: #0f1013; color: rgba(255, 255, 255, .6); padding: 48px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
footer a:hover { color: #fff; }
footer nav { display: flex; gap: 22px; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 10, 12, .92); display: none; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 92vh; max-width: 96vw; width: auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .float-card, .eyebrow::before { animation: none; }
}

/* Legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 140px 24px 80px; }
.legal h1 { font-size: 52px; margin-bottom: 30px; }
.legal h2 { font-size: 28px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 12px; }
.legal-top { background: linear-gradient(160deg, #2a0500, var(--brand)); }
.legal-top .nav { position: static; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .tile, .tile.wide, .tile.xl { grid-column: span 1; }
    .tile.xl { grid-column: span 2; }
    .flow { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
    .flow::before { display: none; }
    .app-grid, .secure, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .role-grid { grid-template-columns: repeat(2, 1fr); }
    .float-card { display: none; }
}
@media (max-width: 860px) {
    .nav-links, .nav .btn { display: none; }
    .nav-toggle { display: block; }
    .nav.open { background: rgba(42, 5, 0, .97); }
    .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: rgba(42, 5, 0, .97); padding: 8px 24px 24px; gap: 4px; }
    .nav.open .nav-links a { padding: 12px 0; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
    .strip .wrap { grid-template-columns: repeat(2, 1fr); }
    .compare { grid-template-columns: 1fr; }
    .phone { width: 30%; right: -2%; bottom: -24px; border-radius: 24px; padding: 6px; }
    .phone img { border-radius: 19px; }

}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .wrap { padding: 0 16px; }
    .section { padding: 84px 0; }
    .hero { padding-top: 120px; }
    .bento, .role-grid, .secure-list, .form-grid { grid-template-columns: 1fr; }
    .tile.xl { grid-column: span 1; }
    .flow { grid-template-columns: 1fr 1fr; }
    .phones { gap: 10px; }
    .phones .phone { border-radius: 20px; padding: 5px; }
    .phones .phone img { border-radius: 16px; }
    .phones .phone::before { display: none; }
    .phones .phone figcaption { font-size: 12px; bottom: -30px; }
    form.card { padding: 24px; }
    .compare > div { padding: 26px; }
    .stat b { font-size: 38px; }
    .browser-bar span { display: none; }
}

/* Entwickler-Hinweis (PKS Solutions) */
.maker { display: inline-flex; flex-direction: column; gap: 10px; margin-top: 36px; padding: 16px 20px; background: #fff; border-radius: 16px; text-decoration: none; box-shadow: var(--shadow); }
.maker span { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.maker img { width: 170px; }
.brand img { background: none; padding: 0; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .28), 0 4px 14px rgba(0, 0, 0, .25); }
