/*
Theme Name: HHosting Minimal
Theme URI: https://hhosting.nl/
Author: HHosting
Description: Licht, modern en rustig HHosting-childthema met royale typografie, zachte diepte en subtiele animaties.
Template: generatepress
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: hhosting-minimal
*/

:root {
  --hh-ink: #1d1d1f;
  --hh-muted: #6e6e73;
  --hh-blue: #0674d8;
  --hh-blue-dark: #0059aa;
  --hh-paper: #ffffff;
  --hh-soft: #f5f5f7;
  --hh-soft-blue: #f0f7ff;
  --hh-line: rgba(29, 29, 31, 0.12);
  --hh-shadow: 0 18px 50px rgba(24, 39, 75, 0.08);
  --hh-shadow-hover: 0 24px 70px rgba(24, 39, 75, 0.14);
  --hh-radius: 28px;
  --hh-radius-small: 18px;
  --hh-max: 1160px;
}

html { scroll-behavior: smooth; }

body {
  color: var(--hh-ink);
  background: var(--hh-paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--hh-blue);
  text-underline-offset: 0.18em;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--hh-ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.25rem, 7.2vw, 6.35rem);
}

h2 { font-size: clamp(2.35rem, 5vw, 4.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -0.025em; }

p { text-wrap: pretty; }

::selection {
  color: #fff;
  background: var(--hh-blue);
}

:focus-visible {
  outline: 3px solid rgba(6, 116, 216, 0.42);
  outline-offset: 4px;
}

.grid-container { max-width: var(--hh-max); }

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 1px 0 var(--hh-line);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.inside-header { padding: 18px 20px; }
.site-logo img { width: auto; height: 52px; }
.wp-custom-logo .site-branding { display: none; }
.site-branding .main-title { font-size: 1.45rem; font-weight: 700; letter-spacing: -0.035em; }
.site-branding .main-title a { color: var(--hh-ink); }
.site-description { margin-top: 3px; color: var(--hh-muted); font-size: 0.86rem; }

.main-navigation {
  position: sticky;
  top: 0;
  z-index: 19;
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 0 var(--hh-line);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}

.main-navigation .main-nav ul { gap: 4px; padding: 8px 0; }

.main-navigation .main-nav ul li a {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--hh-ink);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li:focus > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  color: var(--hh-ink);
  background: var(--hh-soft);
}

.main-navigation .main-nav ul li a:active { transform: scale(0.96); }

.mobile-menu-control-wrapper .menu-toggle,
.mobile-menu-control-wrapper .menu-toggle:hover,
.mobile-menu-control-wrapper .menu-toggle:focus {
  border-radius: 999px;
  color: var(--hh-ink);
  background: var(--hh-soft);
}

#page { max-width: none; }
.site-content { padding: 0; }
.content-area { width: 100%; }
.inside-article { padding: 0; }
.entry-content { margin: 0; }
.entry-content > * { margin-bottom: 0; }

.container,
.narrow {
  width: min(calc(100% - 48px), var(--hh-max));
  margin-right: auto;
  margin-left: auto;
}

.narrow { max-width: 800px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 118px 0 112px;
  border-bottom: 0;
  background:
    radial-gradient(circle at 84% 12%, rgba(112, 189, 255, 0.28), transparent 31%),
    radial-gradient(circle at 10% 92%, rgba(185, 224, 255, 0.34), transparent 32%),
    linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

.hero::after {
  position: absolute;
  right: -150px;
  bottom: -250px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(6, 116, 216, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid,
.split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 82px;
  align-items: center;
}

.hero-grid > div:first-child {
  animation: hh-fade-up 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--hh-blue-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lead {
  max-width: 740px;
  margin-top: 24px;
  color: var(--hh-muted);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.55;
  letter-spacing: -0.012em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--hh-blue);
  border-radius: 999px;
  color: #fff;
  background: var(--hh-blue);
  box-shadow: 0 8px 20px rgba(6, 116, 216, 0.18);
  font-weight: 650;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus,
.wp-block-button__link:hover {
  border-color: var(--hh-blue-dark);
  color: #fff;
  background: var(--hh-blue-dark);
  box-shadow: 0 12px 30px rgba(6, 116, 216, 0.25);
  transform: translateY(-2px);
}

.button:active,
.wp-block-button__link:active { transform: translateY(0) scale(0.97); }
.button.secondary { color: var(--hh-blue); background: rgba(255, 255, 255, 0.65); box-shadow: none; }
.button.secondary:hover,
.button.secondary:focus { color: #fff; background: var(--hh-blue); }

.hero-card,
.price-card,
.feature-panel {
  padding: 34px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: var(--hh-radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--hh-shadow);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.hero-card {
  animation: hh-fade-up 720ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-card:hover,
.price-card:hover,
.feature-panel:hover {
  box-shadow: var(--hh-shadow-hover);
  transform: translateY(-4px);
}

.browser-bar { display: none; }

.status {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  color: #26743a;
  font-size: 0.9rem;
  font-weight: 700;
}

.status::before {
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: #34a853;
  box-shadow: 0 0 0 5px rgba(52, 168, 83, 0.1);
  content: "";
}

.metric {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--hh-line);
}

.metric:last-child { border-bottom: 0; }
.metric span { color: var(--hh-muted); }
.metric strong { text-align: right; }

.trust-strip {
  padding: 22px 0;
  border-block: 1px solid var(--hh-line);
  background: #fff;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 44px;
  margin: 0;
  padding: 0;
  color: var(--hh-muted);
  list-style: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.trust-list li::before { margin-right: 8px; color: #26743a; content: "✓"; }

.section { padding: 118px 0; }
.section.alt { border-block: 0; background: var(--hh-soft); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 52px;
}

.section-heading > div { max-width: 760px; }
.section-heading p { max-width: 500px; color: var(--hh-muted); font-size: 1.08rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  padding: 32px;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: var(--hh-radius);
  background: #fff;
  box-shadow: 0 10px 35px rgba(24, 39, 75, 0.055);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.card:hover {
  box-shadow: var(--hh-shadow-hover);
  transform: translateY(-6px);
}

.card p { color: var(--hh-muted); }

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(145deg, #1398ff, #0667c4);
  box-shadow: 0 9px 24px rgba(6, 116, 216, 0.24);
  font-size: 0.78rem;
  font-weight: 750;
}

.text-link { font-weight: 650; text-decoration: none; }
.text-link::after { display: inline-block; transition: transform 180ms ease; }
.text-link:hover::after { transform: translateX(3px); }
.feature-panel { background: rgba(255, 255, 255, 0.9); }

.check-list {
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 30px;
  color: var(--hh-muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: #26743a;
  content: "✓";
  font-weight: 750;
}

.steps { counter-reset: step; display: grid; gap: 0; margin-top: 26px; }

.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hh-line);
}

.step::before {
  color: var(--hh-blue);
  content: "0" counter(step);
  font-weight: 750;
}

.step h3 { margin-bottom: 5px; }
.step p { margin: 0; color: var(--hh-muted); }

.price {
  margin: 14px 0 22px;
  color: var(--hh-ink);
  font-size: clamp(2.7rem, 5vw, 4.2rem);
  font-weight: 750;
  letter-spacing: -0.05em;
}

.price small { color: var(--hh-muted); font-size: 0.95rem; font-weight: 500; letter-spacing: 0; }

.content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.notice {
  padding: 24px 26px;
  border: 1px solid rgba(6, 116, 216, 0.2);
  border-radius: var(--hh-radius-small);
  color: var(--hh-muted);
  background: var(--hh-soft-blue);
}

.notice strong { color: var(--hh-ink); }

.cta-band {
  position: relative;
  overflow: hidden;
  width: min(calc(100% - 48px), var(--hh-max));
  margin: 0 auto 118px;
  padding: 68px;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(49, 164, 255, 0.58), transparent 34%),
    linear-gradient(135deg, #071b36, #083d75);
  box-shadow: 0 28px 80px rgba(5, 33, 66, 0.2);
}

.cta-band h2 { max-width: 850px; color: #fff; }
.cta-band p { max-width: 700px; color: #d9eaff; font-size: 1.08rem; }
.cta-band .eyebrow { color: #a8d4ff; }
.cta-band .button { border-color: #fff; color: #073b72; background: #fff; box-shadow: none; }
.cta-band .button:hover { color: #fff; background: transparent; }

.contact-card { margin-top: 34px; }

.contact-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--hh-line);
}

.contact-list li:last-child { border-bottom: 0; }
.contact-list span { color: var(--hh-muted); }

.contact-form {
  padding: 36px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: var(--hh-radius);
  background: #fff;
  box-shadow: var(--hh-shadow);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: block; margin-bottom: 7px; font-weight: 650; }
.contact-form label span { color: var(--hh-muted); font-size: 0.85rem; font-weight: 450; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid rgba(29, 29, 31, 0.18);
  border-radius: 13px;
  color: var(--hh-ink);
  background: var(--hh-soft);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--hh-blue);
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(6, 116, 216, 0.12);
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  border-top: 0;
  background: #111827;
}

.site-info { color: #cbd5e1; background: #111827; }
.site-info a { color: #fff; }

@keyframes hh-fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero-grid,
  .split { grid-template-columns: 1fr; gap: 44px; }

  .cards { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .content-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .inside-header { padding: 14px 18px; }
  .main-navigation { position: relative; }
  .main-navigation .main-nav ul { gap: 0; padding: 6px; }
  .main-navigation .main-nav ul li a { border-radius: 12px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }

  h1 { font-size: clamp(2.75rem, 14vw, 4.15rem); }
  h2 { font-size: clamp(2.15rem, 10.5vw, 3.2rem); }

  .container,
  .narrow { width: min(calc(100% - 30px), var(--hh-max)); }

  .hero { padding: 72px 0 76px; }
  .site-logo img { height: 45px; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 38px; }

  .hero-card,
  .price-card,
  .feature-panel,
  .card,
  .contact-form { padding: 24px; border-radius: 22px; }

  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }

  .cta-band {
    width: calc(100% - 30px);
    margin-bottom: 78px;
    padding: 42px 25px;
    border-radius: 24px;
  }

  .trust-list { justify-content: flex-start; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* HHosting project examples */
.project-hero .lead { max-width: 780px; }

.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: stretch;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--hh-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--hh-shadow, 0 18px 50px rgba(24, 39, 75, 0.08));
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.project-card:hover {
  box-shadow: var(--hh-shadow-hover, 0 24px 70px rgba(24, 39, 75, 0.14));
  transform: translateY(-5px);
}

.project-shot {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--hh-line);
  background: var(--hh-soft);
}

.project-shot img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  object-position: top center;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-shot img { transform: scale(1.025); }
.project-content { padding: 34px; }
.project-content h2 { margin-bottom: 14px; font-size: clamp(2rem, 4vw, 3.2rem); }
.project-content p { color: var(--hh-muted); }

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.project-tags li {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--hh-ink);
  background: var(--hh-soft);
  font-size: 0.82rem;
  font-weight: 650;
}

.project-card-placeholder {
  display: flex;
  min-height: 100%;
  align-items: center;
  background:
    radial-gradient(circle at 90% 10%, rgba(80, 168, 255, 0.2), transparent 35%),
    #fff;
}

.project-card-placeholder .project-content { padding: 42px 34px; }

@media (max-width: 900px) {
  .project-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .project-card { border-radius: 22px; }
  .project-content,
  .project-card-placeholder .project-content { padding: 25px; }
}

/* HHosting services two-column grid */
#diensten-overzicht .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { #diensten-overzicht .cards { grid-template-columns: 1fr; } }
