/* ============================================================
   BASE RESET & CUSTOM PROPERTIES
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg:           #FAFAF8;
  --color-surface:      #F2F1ED;
  --color-surface-alt:  #ECEAE4;
  --color-text:         #1C1C1A;
  --color-text-muted:   #6B6960;
  --color-accent:       #1B3A6B;
  --color-accent-hover: #152E55;
  --color-accent-light: #E5EBF2;
  --color-border:       #E2E0DA;
  --color-white:        #FFFFFF;

  /* Hero / dark sections */
  --color-dark:         #0B1929;
  --color-dark-mid:     #1B3A6B;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width:      1140px;
  --radius:         6px;
  --radius-lg:      12px;
  --radius-xl:      20px;

  --shadow-sm:  0 1px 2px rgba(0,0,0,0.05), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md:  0 2px 6px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,0,0,0.06);
}

/* ============================================================
   BASE
   ============================================================ */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Skip link — keyboard navigation */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 999;
  transition: top 0.15s;
  text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.125rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.0625rem, 2vw, 1.25rem); font-weight: 600; }

p { max-width: 65ch; text-wrap: pretty; }

/* scroll-margin-top for anchor targets */
[id] { scroll-margin-top: 88px; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section           { padding: 6rem 0; }
.section--tight    { padding: 4rem 0; }
.section--surface  { background-color: var(--color-surface); }
.section--dark     { background-color: var(--color-accent); color: var(--color-white); }

.grid       { display: grid; gap: 1.5rem; }
.grid--2    { grid-template-columns: repeat(2, 1fr); }
.grid--3    { grid-template-columns: repeat(3, 1fr); }
.grid--4    { grid-template-columns: repeat(4, 1fr); }

.two-col       { display: grid; grid-template-columns: 1fr 1fr;    gap: 4rem; align-items: start; }
.two-col--wide { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 250, 248, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--color-accent);
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
  white-space: nowrap;
  touch-action: manipulation;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--color-text);
}

.nav__cta {
  background-color: var(--color-accent) !important;
  color: var(--color-white) !important;
  padding: 0.5rem 1.125rem;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.875rem !important;
  transition: background-color 0.2s !important;
}

.nav__cta:hover {
  background-color: var(--color-accent-hover) !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: var(--radius);
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  border: none;
  white-space: nowrap;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}
.btn--primary:focus-visible,
.btn--white:focus-visible {
  outline-color: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-light);
}
.nav__links a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 3px;
}
details summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.btn--lg   { padding: 1rem 2rem; font-size: 1rem; }
.btn--sm   { padding: 0.5rem 1rem; font-size: 0.875rem; }

.btn--primary {
  background: linear-gradient(160deg, #1E4A82 0%, var(--color-accent) 100%);
  color: var(--color-white);
  box-shadow: 0 1px 3px rgba(27,58,107,0.3), 0 4px 12px rgba(27,58,107,0.2);
}
.btn--primary:hover  {
  background: linear-gradient(160deg, #193F70 0%, var(--color-accent-hover) 100%);
  box-shadow: 0 2px 6px rgba(27,58,107,0.35), 0 6px 18px rgba(27,58,107,0.25);
  transform: translateY(-1px);
}
.btn--primary:active { background: #0f2340; transform: translateY(0); box-shadow: none; }

.btn--outline {
  background-color: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
}
.btn--outline:hover  { background-color: var(--color-accent-light); }
.btn--outline:active { background-color: #cdd8ea; }

.btn--white {
  background-color: var(--color-white);
  color: var(--color-accent);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
}
.btn--white:hover  {
  background-color: #f0f4fa;
  box-shadow: 0 2px 8px rgba(0,0,0,0.16);
  transform: translateY(-1px);
}
.btn--white:active { background-color: #dce6f5; transform: translateY(0); }

.btn--ghost-white {
  background-color: rgba(255,255,255,0.1);
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn--ghost-white:hover  { background-color: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }
.btn--ghost-white:active { background-color: rgba(255,255,255,0.28); }

/* ============================================================
   HERO  — dark full-bleed
   ============================================================ */
.hero {
  padding: 7rem 0 6rem;
  background: linear-gradient(150deg, #0B1929 0%, #1B3A6B 60%, #1a4070 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle dot-grid texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Soft radial glow bottom-right */
.hero::after {
  content: '';
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.88);
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.3rem 0.875rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: #FFFFFF;
  font-weight: 700;
  max-width: 16ch;
  margin-bottom: 1.5rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.hero__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2.25rem;
  max-width: 52ch;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   INTRO BAND
   ============================================================ */
.intro-band {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-white);
}

.intro-band p {
  font-size: 1.1875rem;
  font-weight: 450;
  color: var(--color-text);
  max-width: 68ch;
  line-height: 1.8;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header { margin-bottom: 3rem; }
.section-header--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 600px; }
.section-header--center p { margin-left: auto; margin-right: auto; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: 0.875rem;
}

.section-header h2 { margin-bottom: 1rem; }
.section-header p  { color: var(--color-text-muted); font-size: 1.0625rem; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}

/* Lift interactive white cards in grids */
.grid .card:not(.card--surface):not(.card--accent) {
  cursor: default;
}
.grid .card:not(.card--surface):not(.card--accent):hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card--surface {
  background-color: var(--color-surface);
  border-color: transparent;
  box-shadow: none;
}

.card--accent {
  background: linear-gradient(140deg, #1B3A6B 0%, #0e2548 100%);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-accent-light) 0%, #d0dcee 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.card h3 { margin-bottom: 0.625rem; }
.card p  { color: var(--color-text-muted); font-size: 0.9375rem; }

.card--accent p { color: rgba(255,255,255,0.75); }

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-accent);
  font-weight: 500;
  font-size: 0.875rem;
  margin-top: 1.25rem;
}

/* animate transform/opacity only — compositor-friendly */
.card__link svg {
  transition: transform 0.2s;
  flex-shrink: 0;
}
.card__link:hover svg { transform: translateX(4px); }
.card__link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ============================================================
   STEPS
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: 2rem; }

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.step__number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1E4A82 0%, var(--color-accent) 100%);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(27,58,107,0.3);
}

.step__content h3  { margin-bottom: 0.375rem; padding-top: 0.625rem; }
.step__content p   { color: var(--color-text-muted); font-size: 0.9375rem; }

/* ============================================================
   CHECK LIST
   ============================================================ */
.check-list { display: flex; flex-direction: column; }

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
}

.check-list li:first-child { border-top: 1px solid var(--color-border); }

.check-list__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--color-accent-light) 0%, #d0dcee 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-top: 2px;
}

/* ============================================================
   FAQ (native details/summary)
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--color-border);
  max-width: 720px;
}

details.faq-item {
  border-bottom: 1px solid var(--color-border);
}

details.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.375rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  user-select: none;
}

details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::marker               { display: none; content: ''; }

details.faq-item summary svg {
  flex-shrink: 0;
  color: var(--color-accent);
  transition: transform 0.2s;
}

details.faq-item[open] summary svg { transform: rotate(180deg); }

.faq-answer {
  padding-bottom: 1.375rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(150deg, #0B1929 0%, #1B3A6B 60%, #1a4070 100%);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  left: -5%;
  top: -30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta-banner h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
  max-width: 16ch;
}

.cta-banner p {
  color: rgba(255,255,255,0.72);
  font-size: 1.0625rem;
  margin-bottom: 2rem;
  max-width: 48ch;
}

.cta-banner__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(150deg, #0B1929 0%, #1B3A6B 60%, #1a4070 100%);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

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

.page-header .section-label {
  color: rgba(255,255,255,0.7);
}

.page-header h1 {
  color: #FFFFFF;
  margin-bottom: 1rem;
  font-weight: 700;
}

.page-header .page-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.72);
  max-width: 56ch;
  line-height: 1.75;
}

/* ============================================================
   DIENST DETAIL CARD (diensten pagina)
   ============================================================ */
.dienst {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--color-border);
  scroll-margin-top: 80px;
}

.dienst:last-of-type { border-bottom: none; }

.dienst__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.dienst__number {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 0.625rem;
}

.dienst h2 { margin-bottom: 0.75rem; }

.dienst__price {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  background-color: var(--color-accent-light);
  padding: 0.3rem 0.875rem;
  border-radius: 20px;
  margin-top: 0.75rem;
  letter-spacing: 0.01em;
}

.dienst .dienst-sub {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 56ch;
}

.dienst__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.dienst__body p { color: var(--color-text-muted); font-size: 0.9375rem; margin-bottom: 1rem; }

/* ============================================================
   PLACEHOLDER BLOCK
   ============================================================ */
.placeholder {
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-style: italic;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  background-color: var(--color-white);
  color: var(--color-text);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6960' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6,9 12,15 18,9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.875rem center;
  padding-right: 2.5rem;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: -0.25rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(160deg, #0B1929 0%, #111f35 100%);
  color: rgba(255,255,255,0.55);
  padding: 4rem 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem 4rem;
  align-items: start;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand {
  font-weight: 700;
  font-size: 1.0625rem;
  color: white;
  margin-bottom: 0.625rem;
  display: block;
}

.footer__tagline {
  font-size: 0.875rem;
  max-width: 30ch;
  line-height: 1.6;
}

.footer__nav {
  display: flex;
  gap: 3.5rem;
}

.footer__nav-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.footer__nav-col li + li { margin-top: 0.625rem; }

.footer__nav-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

.footer__nav-col a:hover { color: white; }

.footer__bottom {
  padding: 1.25rem 0;
  font-size: 0.8125rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ============================================================
   DIENSTEN — quick nav links (inline overrides replacement)
   ============================================================ */
.diensten-subnav a {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.diensten-subnav a:hover { color: var(--color-text); }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .dienst__body { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bg);
    padding: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    overflow-y: auto;
    border-top: 1px solid var(--color-border);
  }

  .nav__links.open { display: flex; }

  .nav__links li { width: 100%; border-bottom: 1px solid var(--color-border); }
  .nav__links li:last-child { border-bottom: none; }

  .nav__links a {
    display: block;
    padding: 1rem 0;
    font-size: 1rem;
    color: var(--color-text);
  }

  .nav__cta {
    margin-top: 0.5rem;
    padding: 0.875rem 0 !important;
    background: none !important;
    background-color: transparent !important;
    color: var(--color-accent) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    width: 100%;
  }

  .nav__hamburger { display: flex; }

  .grid--2,
  .grid--3,
  .grid--4     { grid-template-columns: 1fr; }
  .two-col,
  .two-col--wide { grid-template-columns: 1fr; }

  .section     { padding: 4rem 0; }
  .hero        { padding: 4rem 0 3.5rem; }
  .cta-banner  { padding: 4rem 0; }
  .page-header { padding: 3.5rem 0 2.5rem; }

  .footer__inner  { grid-template-columns: 1fr; }
  .footer__nav    { flex-direction: column; gap: 2rem; }

  .dienst__header { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }

  .hero__actions,
  .cta-banner__actions { flex-direction: column; }

  .btn--lg { width: 100%; text-align: center; justify-content: center; }
}

/* ============================================================
   SPINNER — form loading state
   ============================================================ */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .skip-link { transition: none; }
  .card__link { transition: none; }
  .btn { transition: none; }
  .card { transition: none; }
}

/* ============================================================
   FONT NUMERIC
   ============================================================ */
.tabular-nums { font-variant-numeric: tabular-nums; }

/* ============================================================
   BLOG — overview grid
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.blog-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-card__meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding: 1.5rem 1.5rem 0;
}

.blog-card__tag {
  background: var(--color-accent-light);
  color: var(--color-accent);
  font-weight: 600;
  padding: 0.2rem 0.625rem;
  border-radius: 20px;
  font-size: 0.75rem;
}

.blog-card__body {
  padding: 1rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
  margin-bottom: 0.625rem;
}

.blog-card__excerpt {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.25rem;
}

.blog-card__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap 0.2s;
}

.blog-card__link:hover { gap: 0.625rem; }

/* ============================================================
   BLOG — article reading layout
   ============================================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr min(680px, 100%) 1fr;
  gap: 0;
}

.article-layout > * { grid-column: 2; }

.article-header {
  padding: 5rem 0 3rem;
  background: linear-gradient(150deg, #0B1929 0%, #1B3A6B 60%, #1a4070 100%);
  position: relative;
  overflow: hidden;
}

.article-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.article-header .container { position: relative; }

.article-header__tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.85);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.3rem 0.875rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.article-header h1 {
  color: #FFFFFF;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 720px;
  margin-bottom: 1rem;
}

.article-header__meta {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.article-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.article-body p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 1.375rem;
}

.article-body h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 2.75rem 0 1rem;
  line-height: 1.3;
}

.article-body h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 2rem 0 0.75rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.375rem 1.5rem;
}

.article-body li {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.article-body strong { color: var(--color-text); font-weight: 700; }

.article-body blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 0.75rem 1.25rem;
  margin: 2rem 0;
  background: var(--color-accent-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-body blockquote p {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--color-accent);
  margin-bottom: 0;
}

.article-cta {
  background: linear-gradient(135deg, #0B1929 0%, #1B3A6B 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  margin: 3rem 0 0;
  text-align: center;
}

.article-cta h3 {
  color: #fff;
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.article-cta p {
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.5rem;
  font-size: 1rem !important;
}

/* ============================================================
   CASES — overview grid
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.case-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
}

.case-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.case-card__sector {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding: 0.2rem 0.625rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1rem;
}

.case-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.case-card__problem {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.case-card__results {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.case-card__results li {
  font-size: 0.9rem;
  color: var(--color-text);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.case-card__results li::before {
  content: '✓';
  color: #22C55E;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.case-card--placeholder {
  border: 2px dashed var(--color-border);
  background: var(--color-surface);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 260px;
  gap: 0.75rem;
}

.case-card--placeholder:hover {
  transform: none;
  box-shadow: none;
}

.case-card__placeholder-icon {
  font-size: 2rem;
  opacity: 0.35;
}

.case-card--placeholder p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
