/* ==========================================================================
   Allgenius Associates Ltd. – Website
   Design: AGA Design System (AGA_Business_Core/design/template, Brand Guidelines)
   Anthrazit + Ocker · Space Grotesk + Inter · self-hosted fonts (no third-party requests)
   ========================================================================== */

/* ---------- Fonts (SIL OFL, self-hosted) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-greek-400-normal.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-greek-500-normal.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-greek-600-normal.woff2') format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/space-grotesk-latin-600-normal.woff2') format('woff2'); }

/* ---------- Tokens ---------- */
:root {
  --primary: #1F2328;          /* Anthrazit */
  --primary-400: #575A5E;
  --accent: #C08A00;           /* Ocker */
  --accent-light: #F5C400;     /* Ocker hell (dark surfaces) */
  --accent-ink: #866100;       /* Ocker 700 – text accent on light */
  --on-accent: #231900;
  --accent-soft: #F6EFDB;
  --bg: #FFFFFF;
  --bg-alt: #F3F6FA;           /* Nebel */
  --surface: #FFFFFF;
  --border: #DCE3EC;
  --border-light: #EEF2F6;
  --text: #1F2328;
  --text-body: #2B3442;
  --text-secondary: #5B6B7F;
  --text-muted: #8A96A6;
  --dark: #1F2328;             /* always-dark sections */
  --dark-2: #2A2F35;
  --on-dark: #FFFFFF;
  --on-dark-2: #B9BCC1;
  --gradient: linear-gradient(135deg, #1F2328 0%, #39414B 60%, #4A5563 100%);
  --success: #15803D;
  --radius-sm: 6px; --radius: 10px; --radius-lg: 16px; --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(31,35,40,.06);
  --shadow: 0 8px 24px rgba(31,35,40,.08);
  --shadow-lg: 0 18px 40px rgba(31,35,40,.14);
  --focus-ring: 0 0 0 3px rgba(192,138,0,.45);
  --ease: cubic-bezier(.2,.7,.2,1);
  --font-head: 'Space Grotesk', 'Inter', 'Segoe UI', Arial, sans-serif;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --maxw: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #ECEDEE; --primary-400: #B9BCC1;
    --accent: #F5C400; --accent-ink: #F5C400; --accent-soft: #2B2509;
    --bg: #121417; --bg-alt: #16191C; --surface: #1A1D21; --border: #2A2E34; --border-light: #22262B;
    --text: #ECEDEE; --text-body: #D5D8DC; --text-secondary: #A3A8B0; --text-muted: #7D838C;
    --dark: #0E1012; --dark-2: #1E2226;
    --success: #4ADE80;
    --shadow: 0 8px 24px rgba(0,0,0,.4); --shadow-lg: 0 18px 40px rgba(0,0,0,.5);
    --focus-ring: 0 0 0 3px rgba(245,196,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --primary: #ECEDEE; --primary-400: #B9BCC1;
  --accent: #F5C400; --accent-ink: #F5C400; --accent-soft: #2B2509;
  --bg: #121417; --bg-alt: #16191C; --surface: #1A1D21; --border: #2A2E34; --border-light: #22262B;
  --text: #ECEDEE; --text-body: #D5D8DC; --text-secondary: #A3A8B0; --text-muted: #7D838C;
  --dark: #0E1012; --dark-2: #1E2226;
  --success: #4ADE80;
  --shadow: 0 8px 24px rgba(0,0,0,.4); --shadow-lg: 0 18px 40px rgba(0,0,0,.5);
  --focus-ring: 0 0 0 3px rgba(245,196,0,.5);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 16px/1.65 var(--font); color: var(--text-body); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
p { margin-bottom: 1em; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; font-weight: 600; }
.skip:focus { left: 16px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
section { padding: 88px 0; }
@media (max-width: 760px) { section { padding: 60px 0; } }
.alt { background: var(--bg-alt); }
.kicker { font: 600 12.5px var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.kicker::before { content: ""; width: 18px; height: 2px; background: var(--accent); }
.h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; max-width: 22ch; }
.lead { font-size: 18.5px; color: var(--text-body); max-width: 62ch; }
.muted { color: var(--text-secondary); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head p { max-width: 54ch; color: var(--text-secondary); margin: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--font); padding: 14px 22px; border-radius: var(--radius); border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: background .2s var(--ease), border-color .2s, transform .1s, filter .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { filter: brightness(1.07); }
.btn-dark { background: var(--primary); color: var(--bg); }
.btn-dark:hover { background: var(--primary-400); }
.btn-outline { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-outline:hover { border-color: var(--text-muted); }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.link { font-weight: 600; color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.link:hover { text-decoration-color: var(--text); }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text); text-decoration: none; }
.arrow-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); color: var(--accent-ink); }
.arrow-link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.brand svg { height: 38px; width: auto; }
.menu { display: flex; gap: 4px; list-style: none; padding: 0; margin: 0 0 0 auto; align-items: center; }
.menu > li { position: relative; }
.menu a.top { display: block; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--text-secondary); padding: 10px 12px; border-radius: var(--radius-sm); }
.menu a.top:hover, .menu a.top[aria-current="page"] { color: var(--text); }
.menu a.top[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.submenu { position: absolute; top: 100%; left: -8px; min-width: 320px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s var(--ease); }
.menu > li:hover .submenu, .menu > li:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; text-decoration: none; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 14.5px; color: var(--text); }
.submenu a small { display: block; color: var(--text-secondary); font-size: 12.5px; }
.submenu a:hover { background: var(--bg-alt); }
.submenu .sep { height: 1px; background: var(--border-light); margin: 6px 4px; }
.nav-cta { margin-left: 8px; }
.theme-btn, .menu-btn { background: none; border: 1px solid var(--border); color: var(--text); border-radius: var(--radius-sm); width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; flex: none; }
.theme-btn svg, .menu-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 1040px) {
  .menu-btn { display: grid; margin-left: auto; }
  .menu { position: fixed; inset: 72px 0 0 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 16px; gap: 0; overflow-y: auto; display: none; margin: 0; }
  .menu.open { display: flex; }
  .menu a.top { font-size: 18px; padding: 14px 8px; border-bottom: 1px solid var(--border-light); }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
  .nav-cta { margin: 16px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero { background: var(--gradient); color: var(--on-dark); padding: 96px 0 88px; position: relative; overflow: hidden; }
.hero .deco { position: absolute; right: -80px; bottom: -120px; width: 520px; opacity: .06; color: #fff; pointer-events: none; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.6vw, 66px); line-height: 1.02; letter-spacing: -0.035em; max-width: 17ch; }
.hero .lead { color: #D3D7DC; margin: 22px 0 32px; font-size: 19px; max-width: 58ch; }
.hero .eu { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 13.5px; color: #E5E7EA; margin-bottom: 26px; }
.hero .eu svg { width: 26px; height: 26px; }
.hero .eu { max-width: 100%; border-radius: 18px; }
@media (max-width: 640px) { .hero .deco { width: 280px; right: -60px; bottom: -60px; } }
.hero .eu svg { flex: none; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius-lg); overflow: hidden; margin-top: 64px; }
.hero-facts div { background: rgba(31,35,40,.55); padding: 20px 22px; }
.hero-facts b { display: block; font: 600 22px var(--font-head); color: #fff; letter-spacing: -0.01em; }
.hero-facts span { font-size: 13.5px; color: var(--on-dark-2); }
@media (max-width: 860px) { .hero-facts { grid-template-columns: 1fr 1fr; } }
.page-hero { background: var(--gradient); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.05; max-width: 20ch; letter-spacing: -0.03em; }
.page-hero .lead { color: #D3D7DC; margin-top: 18px; }
.page-hero .kicker { color: var(--accent-light); }
.page-hero .kicker::before { background: var(--accent-light); }
.crumbs { font-size: 13.5px; color: var(--on-dark-2); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--on-dark-2); text-decoration: none; } .crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 980px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: relative; transition: border-color .2s, box-shadow .2s var(--ease), transform .2s var(--ease); }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p { color: var(--text-secondary); font-size: 15.5px; }
.card.link-card { text-decoration: none; display: flex; flex-direction: column; }
.card.link-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.card.link-card .arrow-link { margin-top: auto; padding-top: 10px; }
.card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 18px; }
.card .ic svg { width: 24px; height: 24px; }
.card .tag { position: absolute; top: 22px; right: 22px; font: 600 11.5px var(--font); letter-spacing: .08em; color: var(--text-muted); }
.core-card { border-top: 3px solid var(--accent); }

/* ---------- Lists, steps ---------- */
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.check-list li { padding-left: 30px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23866100' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 2px solid var(--border); padding-top: 18px; }
.step::before { counter-increment: step; content: "0" counter(step); font: 600 14px var(--font-head); color: var(--accent-ink); display: block; margin-bottom: 8px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--text-secondary); font-size: 15px; margin: 0; }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Dark band ---------- */
.band { background: var(--dark); color: var(--on-dark-2); }
.band h2, .band h3 { color: #fff; }
.band .kicker { color: var(--accent-light); } .band .kicker::before { background: var(--accent-light); }
.band .card { background: var(--dark-2); border-color: #2E3339; }
.band .card p { color: var(--on-dark-2); }
.band .card .ic { background: rgba(245,196,0,.12); color: var(--accent-light); }
.eu-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .eu-points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .eu-points { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.ind { display: flex; flex-direction: column; gap: 6px; }
.ind .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text); }

/* ---------- Product ---------- */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 40px; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; padding: 28px; } }
.product .mods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.product .mods span { border: 1px solid var(--border); background: var(--bg-alt); border-radius: 8px; padding: 10px 4px; text-align: center; font: 600 13px var(--font-head); color: var(--text); }
.product .mods span small { display: block; font: 400 11px var(--font); color: var(--text-secondary); }
.product .mods span.on { border-color: var(--accent); background: var(--accent-soft); }

/* ---------- Detail pages ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
@media (max-width: 980px) { .detail { grid-template-columns: 1fr; } }
.detail h2 { font-size: 28px; margin: 0 0 14px; }
.detail .block + .block { margin-top: 56px; }
.aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.aside .box { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; background: var(--surface); }
.aside .box h3 { font-size: 16px; margin-bottom: 10px; }
.aside dl { display: grid; gap: 10px; font-size: 14.5px; }
.aside dt { color: var(--text-secondary); font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.aside dd { color: var(--text); }
.aside .box.dark { background: var(--dark); border-color: var(--dark); color: var(--on-dark-2); }
.aside .box.dark h3 { color: #fff; }
.problem { display: grid; gap: 12px; }
.problem div { background: var(--bg-alt); border-left: 3px solid var(--accent); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--text); }
.deliv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .deliv { grid-template-columns: 1fr; } }
.deliv div { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; background: var(--surface); }
.deliv b { display: block; color: var(--text); font-family: var(--font-head); margin-bottom: 4px; }
.deliv span { font-size: 14.5px; color: var(--text-secondary); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font: 600 17px var(--font-head); color: var(--text); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-ink); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-secondary); padding-bottom: 16px; margin: 0; }

/* ---------- Facts / about ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.facts div { padding: 18px 20px; border-bottom: 1px solid var(--border-light); background: var(--surface); }
.facts div:nth-child(odd) { border-right: 1px solid var(--border-light); }
.facts dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-secondary); font-weight: 600; }
.facts dd { color: var(--text); font-weight: 500; margin-top: 2px; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } .facts div:nth-child(odd) { border-right: 0; } }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { background: var(--gradient); border-radius: var(--radius-xl); padding: 56px; color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; font-size: clamp(26px, 3.2vw, 38px); }
.cta p { color: #D3D7DC; margin: 12px 0 0; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 32px; } .cta .actions { justify-content: flex-start; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.field .hint { font-size: 12.5px; color: var(--text-secondary); }
.input, .select, .textarea { width: 100%; font: 15px var(--font); color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }
.textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-secondary); }
.check input { margin-top: 4px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.form-note { font-size: 13px; color: var(--text-secondary); }
.form-ok { display: none; background: var(--accent-soft); border: 1px solid var(--accent); color: var(--text); border-radius: var(--radius); padding: 14px 16px; }

/* ---------- Legal ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--text-body); }
.legal .ph { background: var(--accent-soft); color: var(--accent-ink); padding: 0 4px; border-radius: 3px; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-2); padding: 64px 0 28px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; font-family: var(--font); font-weight: 600; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.7; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #2E3339; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.eu-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: #E5E7EA; }
.eu-badge svg { width: 22px; height: 22px; }

/* ---------- Teaser: own software in development ---------- */
.soon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 220px; border: 1px dashed var(--border); border-radius: var(--radius-lg); background: var(--bg-alt); text-align: center; padding: 28px; }
.soon span { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.soon span svg { width: 28px; height: 28px; }
.soon b { font: 600 22px var(--font-head); color: var(--text); }
.soon small { font-size: 14px; color: var(--text-secondary); }

/* ---------- Consent banner ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100; max-width: 880px; margin: 0 auto; display: flex; gap: 20px; align-items: center; background: var(--dark); color: var(--on-dark-2); border: 1px solid #2E3339; border-radius: var(--radius-lg); padding: 18px 20px; box-shadow: 0 16px 40px rgba(0,0,0,.28); }
.consent[hidden] { display: none; }
.consent b { color: #fff; font: 600 16px var(--font-head); }
.consent p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }
.consent .link { color: var(--accent-light); }
.consent-actions { display: flex; gap: 10px; flex: none; }
.consent-actions .btn { min-width: 112px; justify-content: center; }
@media (max-width: 720px) { .consent { flex-direction: column; align-items: stretch; } .consent-actions .btn { flex: 1; } }
.foot-bottom button.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Language switch ---------- */
.lang-switch { position: relative; flex: none; }
.lang-switch summary { list-style: none; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px 0 11px; border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); cursor: pointer; user-select: none; font: 600 13px/1 var(--font); letter-spacing: .05em; transition: border-color .2s var(--ease), background .2s var(--ease); }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { border-color: var(--accent); background: var(--accent-soft); }
.lang-switch summary svg { width: 17px; height: 17px; flex: none; }
.lang-switch summary svg:last-child { width: 14px; height: 14px; color: var(--text-secondary); transition: transform .2s var(--ease); }
.lang-switch[open] summary svg:last-child { transform: rotate(180deg); }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px; margin: 0; padding: 6px; list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 60; transform-origin: top right; animation: lang-pop .16s var(--ease); }
@keyframes lang-pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.lang-opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--text); font-size: 14.5px; }
.lang-opt svg { width: 16px; height: 16px; flex: none; color: var(--accent-ink); visibility: hidden; }
.lang-opt[aria-current] { font-weight: 600; background: var(--bg-alt); cursor: default; }
.lang-opt[aria-current] svg { visibility: visible; }
a.lang-opt:hover { background: var(--accent-soft); }
.lang-code { margin-left: auto; font: 600 11.5px/1 var(--font); letter-spacing: .06em; color: var(--text-secondary); border: 1px solid var(--border); border-radius: 4px; padding: 3px 5px; }
.lang-switch + .theme-btn { margin-left: -20px; }
@media (max-width: 1040px) { .nav { gap: 8px; } .lang-switch + .theme-btn { margin-left: 0; } }
@media (max-width: 380px) { .lang-switch summary > svg:first-child { display: none; } }

/* ---------- Greek: headings fall back to Inter (Space Grotesk has no Greek glyphs) ---------- */
:lang(el) h1, :lang(el) h2, :lang(el) h3 { letter-spacing: -0.015em; }
:lang(el) .kicker { letter-spacing: .06em; }

/* ---------- UI effects ---------- */
html { scroll-behavior: smooth; }
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--accent), var(--accent-light)); z-index: 60; pointer-events: none; }
.site-header { transition: box-shadow .25s var(--ease), background .25s var(--ease); }
.site-header.scrolled { box-shadow: 0 8px 24px rgba(15,18,22,.10); }

/* Hero: slow ochre glow and floating mark */
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(245,196,0,.16), rgba(245,196,0,0)); animation: glow 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glow { from { transform: translate(0,0) scale(1); } to { transform: translate(-120px,80px) scale(1.15); } }
.hero .deco { animation: float 9s ease-in-out infinite alternate; }
@keyframes float { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-18px) rotate(-2deg); } }
.hero .wrap > * { animation: rise .7s var(--ease) both; }
.hero .wrap > *:nth-child(2) { animation-delay: .08s; } .hero .wrap > *:nth-child(3) { animation-delay: .16s; }
.hero .wrap > *:nth-child(4) { animation-delay: .24s; } .hero .wrap > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Scroll reveal (only when JS is active) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Cards: spotlight that follows the pointer */
.card { overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s var(--ease); background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%); }
.card:hover::after { opacity: 1; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); }
.card .ic { transition: transform .3s var(--ease); }
.card:hover .ic { transform: translateY(-2px) scale(1.06); }

/* Buttons */
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-accent { position: relative; overflow: hidden; }
.btn-accent::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s var(--ease); }
.btn-accent:hover::after { left: 120%; }

/* Steps: line fills in when revealed */
.step { position: relative; }
.step::after { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--accent); transition: width .9s var(--ease) .15s; }
.step.is-in::after, html:not(.js) .step::after { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .hero::before, .hero .deco, .hero .wrap > * { animation: none !important; }
  .scroll-progress { display: none; }
}
