/**
 * AVATEL 2026 — corporate refresh
 * Kleuren afgestemd op bestaande site (custom.css)
 */
:root {
  --color-primary: #7329b0;
  --color-primary-hover: #812ec5;
  --color-primary-dark: #65249b;
  --color-accent: #3aabdd;
  --color-text: #2e353e;
  --color-text-muted: #5c6570;
  --color-bg: #f4f6f9;
  --color-surface: #ffffff;
  --color-border: rgba(46, 53, 62, 0.14);
  --shadow-soft: 0 14px 36px rgba(46, 53, 62, 0.09);
  --radius-lg: 10px;
  --radius-md: 8px;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: min(1120px, calc(100% - 2.5rem));
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background:
    linear-gradient(180deg, #fff 0, var(--color-bg) 620px),
    var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-primary-hover);
}

a:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  z-index: 10000;
  box-shadow: var(--shadow-soft);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 18px rgba(46, 53, 62, 0.04);
  min-height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.65rem 0;
}

.logo img {
  width: clamp(116px, 36vw, 200px);
  height: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.nav-desktop a {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--color-text);
  padding-block: 0.35rem;
}

.nav-desktop a:hover {
  color: var(--color-primary);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.nav-desktop a:hover::after {
  transform: scaleX(1);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.18rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.lang-switch a {
  text-decoration: none;
  padding: 0.35rem 0.45rem;
  border-radius: 6px;
  color: var(--color-text-muted);
}

.lang-switch a[aria-current="page"] {
  background: var(--color-primary);
  color: #fff;
}

.lang-switch a:not([aria-current="page"]):hover {
  background: rgba(115, 41, 176, 0.08);
  color: var(--color-primary);
}

.nav-mobile {
  order: 3;
}

.nav-mobile summary {
  position: relative;
  z-index: 1002;
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background:
    linear-gradient(var(--color-primary), var(--color-primary)) center 14px / 18px 2px no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) center 21px / 18px 2px no-repeat,
    linear-gradient(var(--color-primary), var(--color-primary)) center 28px / 18px 2px no-repeat,
    var(--color-surface);
  overflow: hidden;
  text-indent: 999px;
  white-space: nowrap;
  font-weight: 700;
  color: var(--color-primary);
  box-shadow: 0 8px 24px rgba(46, 53, 62, 0.08);
}

.nav-mobile summary::-webkit-details-marker {
  display: none;
}

.nav-mobile[open] summary {
  position: fixed;
  top: 1rem;
  left: min(276px, calc(100vw - 4.5rem));
  background:
    linear-gradient(45deg, transparent calc(50% - 1px), #fff calc(50% - 1px), #fff calc(50% + 1px), transparent calc(50% + 1px)) center / 20px 20px no-repeat,
    linear-gradient(-45deg, transparent calc(50% - 1px), #fff calc(50% - 1px), #fff calc(50% + 1px), transparent calc(50% + 1px)) center / 20px 20px no-repeat,
    var(--color-primary);
  border-color: transparent;
  box-shadow: 0 12px 36px rgba(46, 53, 62, 0.22);
}

.nav-mobile[open]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(30, 35, 41, 0.42);
  backdrop-filter: blur(2px);
}

.mobile-nav-inner {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 1001;
  width: min(320px, 86vw);
  padding: 5.25rem 1.35rem 1.5rem;
  background:
    linear-gradient(180deg, rgba(115, 41, 176, 0.08), transparent 160px),
    var(--color-surface);
  box-shadow: 24px 0 60px rgba(46, 53, 62, 0.22);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  animation: slide-menu-in 0.22s ease-out;
}

.mobile-nav-inner::before {
  content: "AVATEL";
  margin: 0 0 1rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-primary);
}

.mobile-nav-inner a {
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: var(--color-text);
  padding: 0.85rem 0.9rem;
}

.mobile-nav-inner a:hover {
  background: rgba(115, 41, 176, 0.08);
  color: var(--color-primary);
}

@keyframes slide-menu-in {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@media (min-width: 880px) {
  .header-inner {
    gap: 1rem;
  }

  .lang-switch {
    gap: 0.35rem;
  }

  .lang-switch a {
    padding-inline: 0.55rem;
  }

  .nav-desktop {
    display: flex;
  }

  .nav-mobile {
    display: none;
  }

  .header-inner {
    flex-wrap: nowrap;
  }
}

/* Sections */
.section {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section-alt {
  background: var(--color-surface);
}

.section-title {
  position: relative;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.section-title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.75rem;
  background: var(--color-accent);
  border-radius: 999px;
}

.section-lead {
  margin: 0 0 2rem;
  max-width: 62ch;
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

/* Hero — foto uit oude slider + donkere overlay */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: clamp(540px, 72vh, 660px);
  display: flex;
  align-items: center;
  padding-block: clamp(2.75rem, 7vw, 4.5rem);
  background-color: #1a1f26;
  background-image:
    linear-gradient(
      105deg,
      rgba(26, 31, 38, 0.92) 0%,
      rgba(26, 31, 38, 0.76) 48%,
      rgba(74, 31, 122, 0.48) 100%
    ),
    url("https://www.avatel.eu/site-assets/pics/slides/test.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 12px var(--color-accent);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-intro p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 58ch;
}

.hero-intro p:last-child {
  margin-bottom: 0;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.65rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.hero-panel h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero-panel .hero-panel-sub {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  line-height: 1.35;
}

.hero-panel p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--color-text);
  font-weight: 700;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(58, 171, 221, 0.16);
}

/* Snelle acties onder hero (geïnspireerd op oude site, zonder verhuur) */
.quick-actions {
  position: relative;
  z-index: 3;
  margin-top: -2.25rem;
  margin-bottom: 0;
}

.quick-actions .container {
  display: grid;
  gap: 0.85rem;
  overflow: visible;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .quick-actions .container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quick-action {
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-height: 5.5rem;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.2s ease;
}

.quick-action:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(46, 53, 62, 0.13);
}

.quick-action:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: -3px;
}

.quick-action--primary {
  background: var(--color-primary);
}

.quick-action--muted {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.quick-action--dark {
  background: #2e353e;
}

.quick-action strong {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quick-action span {
  font-size: 0.95rem;
  opacity: 0.9;
}

.partner-strip {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  position: relative;
  z-index: 2;
}

.partner-strip .container {
  background: transparent;
  color: var(--color-primary);
  border-block: 1px solid rgba(115, 41, 176, 0.16);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.partner-strip strong {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Value cards */
.value-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .value-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.value-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  box-shadow: 0 4px 20px rgba(46, 53, 62, 0.04);
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--color-accent);
}

.value-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--color-primary);
}

.value-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Products grid — 7 rijen × 2 kolommen desktop */
.products-grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 720px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: 0 4px 18px rgba(46, 53, 62, 0.035);
  transition: transform 0.18s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 640px) {
  .product-card {
    grid-template-columns: minmax(132px, 150px) 1fr;
    align-items: stretch;
  }

  .product-card-thumb {
    border-right: 1px solid var(--color-border);
    border-bottom: 0;
  }
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(115, 41, 176, 0.35);
  box-shadow: var(--shadow-soft);
}

.product-card-thumb {
  background: linear-gradient(180deg, #fff 0%, #f2f5f8 100%);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  min-height: 120px;
}

.product-card-thumb img {
  max-height: 112px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (min-width: 640px) {
  .product-card-thumb {
    border-right: 1px solid var(--color-border);
    border-bottom: 0;
  }
}

.product-card-body {
  padding: 1.2rem 1.35rem 1.35rem;
}

.product-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  color: var(--color-text);
}

.product-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* Brands */
.brands-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 540px) {
  .brands-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .brands-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.brand-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 96px;
  box-shadow: 0 4px 18px rgba(46, 53, 62, 0.035);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.brand-card:hover {
  transform: translateY(-2px);
  border-color: rgba(58, 171, 221, 0.38);
  box-shadow: var(--shadow-soft);
}

.brand-card img {
  display: block;
  max-height: 54px;
  width: auto;
  max-width: min(100%, 150px);
  margin-inline: auto;
  object-fit: contain;
}

@media (min-width: 540px) {
  .brand-card {
    padding: 1.25rem 1rem;
    min-height: 100px;
  }

  .brand-card img {
    max-height: 62px;
    max-width: min(100%, 190px);
  }
}

/* About — twee kolommen + afbeelding */
.about-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .about-split {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    gap: 2.5rem;
  }
}

.about-split-media {
  position: relative;
  background: linear-gradient(180deg, #fff 0%, #f2f5f8 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  box-shadow: 0 4px 18px rgba(46, 53, 62, 0.035);
  overflow: hidden;
}

.about-split-media::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--color-accent);
  z-index: 2;
}

.about-split-media::after {
  content: "";
  position: absolute;
  inset: 0.85rem;
  background:
    linear-gradient(135deg, rgba(115, 41, 176, 0.22), rgba(58, 171, 221, 0.08)),
    rgba(46, 53, 62, 0.08);
  border-radius: 6px;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.about-split-media img {
  aspect-ratio: 5 / 4;
  filter: saturate(0.72) contrast(1.02) brightness(1.03);
  object-fit: cover;
  border-radius: 6px;
  width: 100%;
  height: 100%;
}

.about-split .prose {
  margin: 0;
}

/* About prose */
.prose p {
  margin: 0 0 1rem;
  max-width: none;
  color: var(--color-text-muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Contact */
.contact-card {
  position: relative;
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 4px 18px rgba(46, 53, 62, 0.035);
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--color-accent);
}

@media (min-width: 720px) {
  .contact-card {
    grid-template-columns: minmax(170px, 250px) 1fr;
    padding: 1.5rem 1.75rem;
  }
}

.contact-map {
  background: linear-gradient(180deg, #fff 0%, #f2f5f8 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.85rem;
  min-height: 200px;
}

.contact-map img {
  width: min(190px, 100%);
  height: auto;
}

.contact-content {
  min-width: 0;
}

.contact-card h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.contact-card p {
  margin: 0;
  color: var(--color-text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.btn-light {
  background: #fff;
  color: var(--color-primary);
}

.btn-light:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.95);
}

.contact-details-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.contact-details-list li {
  background: #fff;
  padding: 0.78rem 0.9rem;
}

.contact-details-list li + li {
  border-top: 1px solid var(--color-border);
}

.contact-details-list a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.contact-details-list a:hover {
  text-decoration: underline;
}

.contact-card .contact-details-list a {
  color: var(--color-text);
  text-decoration: none;
}

.contact-card .contact-details-list a:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

/* Footer */
.site-footer {
  background: #20262d;
  color: rgba(255, 255, 255, 0.82);
  padding: 2.5rem 0 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-footer a:hover {
  color: #fff;
}

.footer-copy {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}
