/* Kiniki24 Solution – Frontend */
:root {
    --ink: #0B1430;
    --ink-2: #111D42;
    --ink-3: #1A2856;
    --primary: #2F6BFF;
    --primary-600: #1F55E6;
    --primary-50: #EEF3FF;
    --teal: #16C2A3;
    --text: #0F172A;
    --muted: #5A6478;
    --line: #E3E8F1;
    --bg: #FFFFFF;
    --bg-alt: #F5F7FB;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 2px 8px rgba(15, 23, 42, .04);
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18), 0 2px 6px rgba(15, 23, 42, .05);
    --shadow-lg: 0 30px 60px -20px rgba(11, 20, 48, .35);
    --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "SF Pro Text", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Inter Tight", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "SF Pro Display", Roboto, Arial, sans-serif;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-600); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 750; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 720; }
h3 { font-size: 1.15rem; font-weight: 680; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(780px, 100% - 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--muted); font-size: .9rem; }

.icon { width: 22px; height: 22px; flex: none; }
.icon-xs { width: 13px; height: 13px; }
.icon-sm { width: 18px; height: 18px; }
.icon-xl { width: 52px; height: 52px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .8em 1.35em; border-radius: 999px; font: 600 .95rem/1.2 var(--font); border: 1.5px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .6em 1.1em; font-size: .9rem; }
.btn-lg { padding: .95em 1.6em; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(47, 107, 255, .7); }
.btn-primary:hover { background: var(--primary-600); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline { background: #fff; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--primary); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--primary); font-size: .95rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 20, 48, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .07); transition: background .2s ease, box-shadow .2s ease; }
.site-header.is-scrolled { background: rgba(11, 20, 48, .95); box-shadow: 0 8px 30px -15px rgba(0, 0, 0, .5); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font: 750 1.2rem/1.05 var(--font-display); letter-spacing: -.02em; }
.brand-text span { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: #9FB3E8; margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > a:not(.btn) { color: #D5DEF5; font-weight: 550; font-size: .95rem; padding: .5em .9em; border-radius: 999px; transition: color .15s, background .15s; }
.main-nav > a:not(.btn):hover, .main-nav > a.is-active:not(.btn) { color: #fff; background: rgba(255, 255, 255, .08); }
.main-nav .btn { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; border-radius: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 110px) 0 clamp(70px, 9vw, 130px); margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(56px, 8vw, 100px)); }
.hero-bg { position: absolute; inset: 0; background:
    radial-gradient(600px 400px at 85% 20%, rgba(47, 107, 255, .35), transparent 70%),
    radial-gradient(500px 380px at 70% 90%, rgba(22, 194, 163, .22), transparent 70%),
    radial-gradient(700px 500px at 0% 0%, rgba(61, 123, 255, .14), transparent 70%);
}
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead, .page-hero .lead, .project-hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #BCC8E6; max-width: 36em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--primary); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--primary), var(--teal)); }
.eyebrow-light { color: #7FE3D0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: #D5DEF5; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--teal); }

.hero-stack { position: relative; height: 440px; }
.stack-item { position: absolute; width: 78%; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.stack-1 { right: 0; top: 0; z-index: 1; transform: rotate(2deg); }
.stack-2 { left: 0; top: 110px; z-index: 2; transform: rotate(-2.5deg); }
.stack-3 { right: 6%; top: 215px; z-index: 3; width: 70%; }
.hero-stack:hover .stack-1 { transform: rotate(3deg) translate(10px, -8px); }
.hero-stack:hover .stack-2 { transform: rotate(-3.5deg) translate(-10px, 0); }
.hero-stack:hover .stack-3 { transform: translateY(8px); }

/* ---------- Browser-Mockup ---------- */
.browser { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(15, 23, 42, .08); }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px; background: #F1F4F9; border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #D4DAE5; }
.dots i:nth-child(1) { background: #FF6B5E; } .dots i:nth-child(2) { background: #FFC23D; } .dots i:nth-child(3) { background: #2BCB6B; }
.browser-url { flex: 1; display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: .72rem; color: #6B7488; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 3px 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser-url .icon { color: #1FA56B; }
.browser-view { aspect-ratio: 16 / 10; background: #F5F7FB; overflow: hidden; }
.browser-view img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.visual-placeholder { height: 100%; display: grid; place-content: center; justify-items: center; gap: 18px; background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 55%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 16%, #fff), color-mix(in srgb, var(--accent) 6%, #fff)); }
.visual-icon { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 26px; color: #fff; background: var(--accent); box-shadow: 0 18px 40px -14px var(--accent); }
.visual-lines { display: grid; gap: 8px; justify-items: center; }
.visual-lines i { display: block; height: 8px; border-radius: 8px; background: color-mix(in srgb, var(--accent) 28%, #fff); width: 160px; }
.visual-lines i:nth-child(2) { width: 120px; } .visual-lines i:nth-child(3) { width: 80px; }

/* ---------- Stats ---------- */
.stats-bar { position: relative; z-index: 2; margin-top: -44px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.stats-grid > div { padding: 24px 26px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.stats-grid > div:first-child { border-left: 0; }
.stats-grid strong { font: 750 1.9rem/1.1 var(--font-display); letter-spacing: -.02em; background: linear-gradient(90deg, var(--primary), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-grid span { color: var(--muted); font-size: .92rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head-row > div { max-width: 640px; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--primary-50); color: var(--primary); margin-bottom: 20px; }
.service-card p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Projekte ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.project-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; color: var(--text); transition: transform .25s ease, box-shadow .25s ease; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--text); }
.project-card .browser { border-radius: 0; box-shadow: none; border: 0; border-bottom: 1px solid var(--line); }
.project-card .browser-bar { padding: 7px 10px; }
.project-card .browser-view img { transition: transform .6s ease; }
.project-card:hover .browser-view img { transform: scale(1.04); }
.project-card .visual-icon { width: 70px; height: 70px; border-radius: 20px; }
.project-card .visual-icon .icon-xl { width: 36px; height: 36px; }
.project-card .visual-lines i { width: 110px; } .project-card .visual-lines i:nth-child(2) { width: 80px; } .project-card .visual-lines i:nth-child(3) { width: 50px; }
.project-card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.project-card h3 { margin: 10px 0 6px; font-size: 1.12rem; }
.project-card p { color: var(--muted); font-size: .92rem; margin-bottom: 16px; flex: 1; }
.project-cat { display: inline-flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 650; letter-spacing: .02em; color: var(--muted); }
.cat-icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--accent, var(--primary)); background: color-mix(in srgb, var(--accent, var(--primary)) 12%, #fff); }
.project-cat-light { color: #C9D4F0; }
.project-cat-light .cat-icon { background: color-mix(in srgb, var(--accent) 25%, transparent); color: #fff; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.steps li > .icon { color: var(--primary); width: 28px; height: 28px; margin-bottom: 18px; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.step-no { position: absolute; right: 20px; top: 18px; font: 800 2.2rem/1 var(--font-display); color: var(--primary-50); letter-spacing: -.03em; }

.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.lead-dark { font-size: 1.12rem; color: var(--muted); }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.values li { display: flex; gap: 18px; padding: 22px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.values li > span { width: 48px; height: 48px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--primary), var(--teal)); }
.values h3 { margin-bottom: 4px; }
.values p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(64px, 8vw, 100px); }
.section-alt + .cta, .section-alt + section.cta { background: var(--bg-alt); }
.cta-inner { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(36px, 5vw, 60px); border-radius: 24px; color: #fff; background: radial-gradient(500px 300px at 100% 0%, rgba(22, 194, 163, .35), transparent 70%), linear-gradient(120deg, var(--ink-2), var(--ink-3)); }
.cta-inner h2 { color: #fff; margin-bottom: .3em; }
.cta-inner p { color: #BCC8E6; margin: 0; max-width: 34em; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-mail { display: inline-flex; align-items: center; gap: 8px; color: #D5DEF5; font-size: .95rem; }
.cta-mail:hover { color: #fff; }

/* ---------- Seiten-Hero ---------- */
.page-hero, .project-hero { background: var(--ink); color: #fff; padding: calc(var(--header-h) + 50px) 0 64px; margin-top: calc(var(--header-h) * -1); position: relative; overflow: hidden; }
.page-hero::before, .project-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 320px at 90% 10%, rgba(47, 107, 255, .32), transparent 70%), radial-gradient(420px 300px at 10% 110%, rgba(22, 194, 163, .18), transparent 70%); }
.project-hero::before { background: radial-gradient(560px 360px at 88% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%), radial-gradient(420px 300px at 5% 110%, rgba(47, 107, 255, .25), transparent 70%); }
.page-hero .container, .project-hero .container { position: relative; }
.page-hero h1, .project-hero h1 { color: #fff; max-width: 18em; }
.page-hero-sm { padding-bottom: 48px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: #8FA0CC; margin-bottom: 22px; }
.breadcrumb a { color: #BCC8E6; }
.breadcrumb a:hover { color: #fff; }

.project-rows { display: grid; gap: clamp(56px, 7vw, 96px); }
.project-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.project-row.is-reversed .project-row-visual { order: 2; }
.project-row-visual { display: block; transition: transform .3s ease; }
.project-row-visual:hover { transform: translateY(-4px); }
.project-row h2 { margin: 14px 0 12px; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.project-row h2 a { color: var(--text); }
.project-row h2 a:hover { color: var(--primary); }
.project-row-body > p { color: var(--muted); font-size: 1.05rem; }
.mini-features { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; }
.mini-features li { display: flex; align-items: center; gap: 10px; font-weight: 550; font-size: .97rem; }
.mini-features .icon { color: var(--accent); }
.row-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Projekt-Detail ---------- */
.project-hero { padding-bottom: 190px; }
.project-hero .hero-actions { margin-bottom: 0; }
.project-visual-wrap { position: relative; margin-top: -150px; z-index: 2; max-width: 1040px; }
.project-detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose { font-size: 1.06rem; }
.prose p { color: #334155; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; color: #334155; }
.facts { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; }
.facts dl { margin: 0; }
.facts dl > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: #334155; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #A0A9BA; }
.status-live::before { background: #1FB871; box-shadow: 0 0 0 4px rgba(31, 184, 113, .15); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature-check { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--accent); }
.feature h3 { font-size: 1.02rem; margin-bottom: 4px; }
.feature p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.55; }

.project-pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; padding: 56px 0; }
.pager-link { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.pager-link:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); color: var(--text); }
.pager-link span { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.pager-link strong { font-family: var(--font-display); font-size: 1.1rem; }
.pager-next { text-align: right; align-items: flex-end; }
.pager-all { display: grid; place-items: center; width: 64px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--muted); }
.pager-all:hover { color: var(--primary); border-color: var(--primary); }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form { padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .88rem; font-weight: 600; color: #334155; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #FBFCFE; transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(47, 107, 255, .12); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 550; }
.alert-success { background: #E8F8F0; color: #0F6B43; border: 1px solid #BDEBD3; }
.alert-error { background: #FDEEEE; color: #9B1C1C; border: 1px solid #F6CACA; }
.contact-aside { display: grid; gap: 18px; }
.contact-card { padding: 28px; }
.contact-card h2 { font-size: 1.3rem; margin-bottom: 18px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; font-size: .97rem; }
.contact-list li > span { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--primary-50); color: var(--primary); }
.contact-list small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.contact-note { padding: 20px 22px; display: flex; gap: 14px; align-items: flex-start; background: var(--bg-alt); box-shadow: none; }
.contact-note .icon { color: var(--teal); }
.contact-note p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #A9B6D6; padding-top: 64px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { margin-top: 18px; max-width: 26em; }
.site-footer h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: #C9D4F0; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: center; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .87rem; }
.footer-bottom nav { display: flex; gap: 20px; }

/* ---------- Animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    * { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid, .steps { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    :root { --header-h: 68px; }
    .nav-toggle { display: inline-flex; }
    .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; background: var(--ink); border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); transform: translateY(-120%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
    .main-nav.is-open { transform: none; visibility: visible; }
    .main-nav > a:not(.btn) { padding: 12px 14px; font-size: 1rem; }
    .main-nav .btn { margin: 10px 0 0; }
    .hero-grid, .about-grid, .project-row, .project-detail-grid, .contact-grid { grid-template-columns: 1fr; }
    .project-row.is-reversed .project-row-visual { order: 0; }
    .hero-stack { height: auto; aspect-ratio: 1 / .95; max-width: 560px; width: 100%; }
    .stack-2 { top: 22%; } .stack-3 { top: 44%; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid > div:nth-child(3) { border-left: 0; }
    .stats-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { width: calc(100% - 32px); }
    .projects-grid, .services-grid, .steps, .features-grid, .form-row { grid-template-columns: 1fr; }
    .hero-stack { margin-bottom: 16px; }
    .stack-item { width: 84%; }
    .stack-3 { width: 76%; }
    .hero-actions .btn { flex: 1 1 100%; }
    .project-hero { padding-bottom: 120px; }
    .project-visual-wrap { margin-top: -90px; }
    .project-pager { grid-template-columns: 1fr 1fr; }
    .pager-all { display: none; }
    .pager-link { padding: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .stats-grid > div { padding: 18px; }
    .stats-grid strong { font-size: 1.5rem; }
}
