:root {
  --ink: #111820;
  --ink-soft: #52606d;
  --surface: #ffffff;
  --surface-2: #f3f6f8;
  --surface-3: #e7edf1;
  --night: #0e141b;
  --night-2: #151e27;
  --line: rgba(14, 20, 27, 0.12);
  --radius: 20px;
  --shadow: 0 24px 70px rgba(12, 22, 31, 0.14);
  --shell: min(1180px, calc(100% - 40px));
  --page-accent: #1d82b7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
address { font-style: normal; }

.shell { width: var(--shell); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 14px;
  background: #fff; color: #000; border-radius: 8px; transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.topline { background: var(--night); color: rgba(255,255,255,.74); font-size: .78rem; letter-spacing: .02em; }
.topline__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topline__links { display: flex; gap: 20px; }
.topline a:hover { color: #fff; }
.site-header {
  position: sticky; z-index: 100; top: 0; background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px); border-bottom: 1px solid rgba(14,20,27,.08);
}
.header-main { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { flex: 0 0 275px; }
.brand img { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 650; }
.site-nav > a, .nav-group__toggle {
  border: 0; background: transparent; border-radius: 10px; padding: 10px 11px; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.site-nav > a:hover, .site-nav > a[aria-current="page"], .nav-group__toggle:hover { background: var(--surface-2); }
.nav-group { position: relative; }
.nav-group__toggle { display: flex; align-items: center; gap: 5px; }
.nav-group__toggle span { font-size: .85rem; transition: transform .2s ease; }
.nav-group__toggle[aria-expanded="true"] span { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; width: 235px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-5px); transition: .2s ease;
}
.nav-group:hover .nav-dropdown, .nav-group:focus-within .nav-dropdown, .nav-group.is-open .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown a { display: block; padding: 10px 12px; border-radius: 9px; color: var(--ink-soft); }
.nav-dropdown a:hover, .nav-dropdown a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.site-nav .nav-cta { margin-left: 8px; background: var(--night); color: #fff; padding-inline: 15px; }
.site-nav .nav-cta:hover { background: var(--page-accent); color: #fff; }
.nav-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.nav-toggle > span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s ease; }

.eyebrow {
  margin: 0 0 14px; color: var(--page-accent); font-size: .78rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 7vw, 6.6rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 4.3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
p { margin: 0 0 1.2em; }
.lead { font-size: clamp(1.08rem, 2vw, 1.35rem); color: var(--ink-soft); max-width: 760px; }

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 750; font-size: .9rem;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--page-accent); color: #fff; }
.button--primary:hover { filter: brightness(.94); }
.button--ghost { border-color: var(--line); background: rgba(255,255,255,.6); }
.button--ghost:hover { border-color: var(--ink); }
.button--light { background: #fff; color: var(--night); }
.button--outline-light { border-color: rgba(255,255,255,.45); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.home-hero { position: relative; overflow: clip; background: linear-gradient(145deg, #f7f9fb 0%, #fff 55%, #eff3f6 100%); }
.home-hero__backdrop {
  position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    linear-gradient(rgba(14,20,27,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14,20,27,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}
.home-hero__grid { position: relative; min-height: 780px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 55px; align-items: center; }
.home-hero__copy { padding-block: 80px; }
.home-hero h1 span { color: var(--page-accent); }
.home-hero .lead { margin-top: 26px; max-width: 660px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 48px 0 0; }
.hero-facts div { padding-top: 16px; border-top: 1px solid var(--line); }
.hero-facts dt { font-weight: 800; font-size: .95rem; }
.hero-facts dd { margin: 4px 0 0; color: var(--ink-soft); font-size: .83rem; }
.home-hero__visual { position: relative; height: 590px; }
.visual-card { position: absolute; overflow: hidden; border-radius: 24px; box-shadow: var(--shadow); background: #fff; }
.visual-card img { width: 100%; height: 100%; object-fit: cover; }
.visual-card--event { width: 72%; height: 56%; top: 3%; right: 0; transform: rotate(2deg); }
.visual-card--pos { width: 67%; height: 42%; bottom: 6%; left: 0; transform: rotate(-2deg); padding: 22px; }
.visual-card--pos img { object-fit: contain; }
.visual-card--signal {
  width: 180px; height: 180px; left: 2%; top: 17%; display: flex; align-items: flex-end; gap: 8px;
  padding: 30px; background: var(--night); transform: rotate(-5deg);
}
.visual-card--signal span { flex: 1; background: #fff; border-radius: 4px 4px 0 0; }
.visual-card--signal span:nth-child(1) { height: 42%; }
.visual-card--signal span:nth-child(2) { height: 72%; }
.visual-card--signal span:nth-child(3) { height: 50%; }
.visual-card--signal span:nth-child(4) { height: 82%; }
.visual-card--signal span:nth-child(5) { height: 61%; }
.visual-card--signal span:nth-child(6) { height: 91%; }
.visual-label {
  position: absolute; z-index: 2; right: 2%; bottom: 18%; padding: 16px 18px;
  background: var(--page-accent); color: #fff; font-size: .78rem; letter-spacing: .14em;
  transform: rotate(4deg); box-shadow: var(--shadow);
}
.visual-label strong { font-size: 1.05rem; }

.home-intro { padding: 120px 0; }
.split-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.split-intro p { color: var(--ink-soft); font-size: 1.08rem; }

.services-section { padding: 120px 0; background: var(--night); color: #fff; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 50px; }
.section-heading > p { max-width: 450px; color: rgba(255,255,255,.58); }
.service-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.service-card {
  position: relative; min-height: 265px; padding: 27px; border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; background: rgba(255,255,255,.035); overflow: hidden;
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}
.service-card:nth-child(1), .service-card:nth-child(2), .service-card:nth-child(3) { grid-column: span 4; }
.service-card:nth-child(n+4) { grid-column: span 3; min-height: 235px; }
.service-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--card-accent); }
.service-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }
.service-card__num { color: var(--card-accent); font-weight: 800; font-size: .8rem; letter-spacing: .12em; }
.service-card h3 { margin-top: 48px; }
.service-card p { margin-top: 14px; color: rgba(255,255,255,.6); }
.service-card__arrow { position: absolute; right: 22px; top: 20px; font-size: 1.3rem; }

.feature-strip { padding: 110px 0; background: var(--surface-2); }
.feature-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.feature-strip article { padding: 42px; background: var(--surface-2); }
.feature-strip article span { color: var(--page-accent); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 800; }
.feature-strip article h3 { margin: 18px 0 14px; }
.feature-strip article p { color: var(--ink-soft); margin-bottom: 0; }

.page-hero { position: relative; overflow: clip; padding: 105px 0 80px; background: linear-gradient(145deg, #f3f6f8, #fff); }
.page-hero::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; right: -170px; top: -250px; background: color-mix(in srgb, var(--page-accent) 18%, transparent); filter: blur(3px); }
.page-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.page-hero__copy h1 { max-width: 830px; }
.page-hero__copy .lead { margin-top: 24px; }
.page-hero__media { margin: 0; height: 420px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media img[src*="duratec"], .page-hero__media img[src*="posmatic"], .page-hero__media img[src*="infotafel"] { object-fit: contain; padding: 28px; }
.page-hero__visual { height: 400px; display: flex; align-items: flex-end; justify-content: center; gap: 16px; padding: 50px; border-radius: 22px; background: var(--night); box-shadow: var(--shadow); }
.page-hero__visual span { width: 14%; background: #fff; border-radius: 10px 10px 0 0; }
.page-hero__visual span:nth-child(1) { height: 32%; }
.page-hero__visual span:nth-child(2) { height: 67%; }
.page-hero__visual span:nth-child(3) { height: 48%; }
.page-hero__visual span:nth-child(4) { height: 84%; }
.page-hero__visual span:nth-child(5) { height: 58%; }

.page-content { padding: 95px 0 120px; }
.content-shell { max-width: 980px; }
.content-shell--legal { max-width: 900px; }
.content-shell h2 { margin: 3.2rem 0 1.2rem; font-size: clamp(1.75rem, 3vw, 2.8rem); }
.content-shell h2:first-child { margin-top: 0; }
.content-shell h3 { margin: 2.2rem 0 .8rem; font-size: clamp(1.25rem, 2.3vw, 1.75rem); }
.content-shell h4 { margin: 1.6rem 0 .6rem; font-size: 1.05rem; }
.content-shell p, .content-shell li { color: #45525e; }
.content-shell strong { color: var(--ink); }
.content-shell a { color: var(--page-accent); text-decoration: underline; text-underline-offset: 3px; }
.content-shell ul, .content-shell ol { padding-left: 1.3rem; }
.content-shell li { margin: .45rem 0; }
.content-shell blockquote { margin: 2rem 0; padding: 28px 30px; border-left: 4px solid var(--page-accent); background: var(--surface-2); border-radius: 0 14px 14px 0; }
.content-shell blockquote p:last-child { margin-bottom: 0; }
.content-shell .grid-2, .content-shell .grid-3 { display: grid; gap: 18px; margin: 2rem 0; }
.content-shell .grid-2 { grid-template-columns: repeat(2, 1fr); }
.content-shell .grid-3 { grid-template-columns: repeat(3, 1fr); }
.content-shell .card { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.content-shell .card h3, .content-shell .card h4 { margin-top: 0; }
.content-shell .card p:last-child, .content-shell .card ul:last-child { margin-bottom: 0; }
.content-shell .pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 2.4rem 0; }
.content-shell .price-card { padding: 26px; border-radius: 18px; background: var(--night); color: #fff; }
.content-shell .price-card h3 { margin-top: 0; color: #fff; }
.content-shell .price-card p, .content-shell .price-card li { color: rgba(255,255,255,.7); }
.content-shell .price { font-size: 2rem; font-weight: 850; color: #fff; margin: 1rem 0; }
.content-shell .price small { font-size: .8rem; font-weight: 500; opacity: .65; }
.content-shell .tld-list { columns: 6 120px; column-gap: 24px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-2); }
.content-shell .tld-list span { display: block; break-inside: avoid; padding: 4px 0; color: var(--ink-soft); font-size: .85rem; }
.content-shell .notice { padding: 18px 20px; border-radius: 12px; background: color-mix(in srgb, var(--page-accent) 10%, white); border: 1px solid color-mix(in srgb, var(--page-accent) 28%, white); }
.content-shell .media-row { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: center; margin: 2.5rem 0; }
.content-shell .media-row img { border-radius: 16px; border: 1px solid var(--line); }

.contact-band { padding: 85px 0; background: var(--page-accent); color: #fff; }
.contact-band--home { background: linear-gradient(120deg, #1d82b7, #0f526f); }
.contact-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.contact-band h2 { max-width: 760px; font-size: clamp(2rem, 4vw, 3.8rem); }
.contact-band p { max-width: 700px; margin-top: 16px; color: rgba(255,255,255,.76); }
.contact-band .eyebrow { color: rgba(255,255,255,.75); }
.contact-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

.not-found { min-height: 60vh; padding-block: 120px; }
.not-found h1 { max-width: 850px; }
.not-found p { max-width: 600px; margin: 24px 0; color: var(--ink-soft); }

.site-footer { background: var(--night); color: rgba(255,255,255,.7); padding: 78px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 55px; }
.footer-grid h2 { color: #fff; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 17px; }
.footer-grid a:hover { color: #fff; }
.footer-brand img { width: 280px; filter: invert(1); }
.footer-brand p { margin-top: 18px; max-width: 380px; }
.footer-note { font-size: .82rem; opacity: .7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 55px; padding-top: 25px; display: flex; justify-content: space-between; gap: 20px; font-size: .78rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1120px) {
  .topline { display: none; }
  .header-main { min-height: 78px; }
  .brand { flex-basis: 245px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: 78px; right: 0; bottom: 0; width: min(430px, 100%); padding: 24px;
    background: #fff; display: block; overflow-y: auto; transform: translateX(105%); transition: transform .25s ease;
    box-shadow: -20px 30px 60px rgba(14,20,27,.15);
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav > a, .nav-group__toggle { width: 100%; display: flex; justify-content: space-between; padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-dropdown { position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 10px 14px; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav-group.is-open .nav-dropdown { display: block; }
  .site-nav .nav-cta { margin: 18px 0 0; justify-content: center; border: 0; border-radius: 999px; }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 28px, 720px); }
  .home-hero__grid, .page-hero__grid, .split-intro { grid-template-columns: 1fr; }
  .home-hero__grid { padding-block: 70px; min-height: auto; }
  .home-hero__copy { padding: 0; }
  .home-hero__visual { height: 500px; }
  .split-intro { gap: 35px; }
  .service-card:nth-child(n) { grid-column: span 6; }
  .feature-strip__grid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 80px; }
  .page-hero__media, .page-hero__visual { height: 360px; }
  .content-shell .grid-3, .content-shell .pricing-grid { grid-template-columns: 1fr; }
  .contact-band__inner { display: block; }
  .contact-band__actions { justify-content: flex-start; margin-top: 30px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 24px); --radius: 16px; }
  .brand { flex-basis: 210px; }
  h1 { font-size: clamp(2.6rem, 15vw, 4.2rem); }
  .home-hero__visual { height: 390px; }
  .visual-card--event { width: 82%; height: 53%; }
  .visual-card--pos { width: 77%; height: 38%; }
  .visual-card--signal { width: 125px; height: 125px; padding: 20px; }
  .visual-label { bottom: 20%; right: 0; }
  .hero-facts { grid-template-columns: 1fr; gap: 12px; }
  .home-intro, .services-section, .feature-strip, .page-content { padding-block: 75px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .service-card:nth-child(n) { grid-column: 1 / -1; min-height: 220px; }
  .page-hero__grid { gap: 40px; }
  .page-hero__media, .page-hero__visual { height: 270px; }
  .content-shell .grid-2, .content-shell .media-row { grid-template-columns: 1fr; }
  .content-shell .tld-list { columns: 2; }
  .contact-band { padding-block: 65px; }
  .contact-band__actions { display: grid; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
