/* ============================================================
   DAWAR ACCOUNTING — Hauptstylesheet
   Krefeld, Germany
   ============================================================ */

/* ──────────────────────────────────────────────────────────
   CSS Custom Properties
   ────────────────────────────────────────────────────────── */
:root {
  /* Brand Colors */
  --navy-950: #060F1E;
  --navy-900: #0D1F3C;
  --navy-800: #112749;
  --navy-700: #1B3A6B;
  --navy-600: #24508E;
  --navy-500: #2E66B2;
  --blue-500: #2563EB;
  --blue-400: #3B82F6;
  --blue-100: #EFF6FF;
  --blue-50:  #F0F7FF;

  /* Neutral Palette */
  --white:       #FFFFFF;
  --grey-50:     #F9FAFB;
  --grey-100:    #F3F4F6;
  --grey-200:    #E5E7EB;
  --grey-300:    #D1D5DB;
  --grey-400:    #9CA3AF;
  --grey-500:    #6B7280;
  --grey-600:    #4B5563;
  --grey-700:    #374151;
  --grey-800:    #1F2937;
  --grey-900:    #111827;

  /* Semantic */
  --color-text:       var(--grey-800);
  --color-text-muted: var(--grey-500);
  --color-border:     var(--grey-200);
  --color-bg:         var(--white);
  --color-bg-alt:     var(--grey-50);
  --color-primary:    var(--navy-700);
  --color-accent:     var(--blue-500);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-xs:   0.75rem;
  --font-sm:   0.875rem;
  --font-base: 1rem;
  --font-lg:   1.125rem;
  --font-xl:   1.25rem;
  --font-2xl:  1.5rem;
  --font-3xl:  1.875rem;
  --font-4xl:  2.25rem;
  --font-5xl:  3rem;

  /* Spacing scale (4px base) */
  --s1:  0.25rem;
  --s2:  0.5rem;
  --s3:  0.75rem;
  --s4:  1rem;
  --s5:  1.25rem;
  --s6:  1.5rem;
  --s8:  2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 24px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.05);

  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 10px;
  --radius-xl: 16px;

  --transition: 200ms ease;
  --transition-fast: 140ms ease;

  --header-height: 72px;
  --container-width: 1160px;
}

/* ──────────────────────────────────────────────────────────
   Reset & Base
   ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
p { margin-bottom: var(--s4); }
p:last-child { margin-bottom: 0; }

/* ──────────────────────────────────────────────────────────
   Typography
   ────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--grey-900);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, var(--font-5xl)); }
h2 { font-size: clamp(1.6rem, 3vw, var(--font-3xl)); }
h3 { font-size: var(--font-xl); }
h4 { font-size: var(--font-lg); font-weight: 600; }

/* ──────────────────────────────────────────────────────────
   Layout
   ────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--s6);
}

.section { padding: var(--s20) 0; }
.section--sm { padding: var(--s12) 0; }
.section--alt { background-color: var(--grey-50); }
.section--dark {
  background-color: var(--navy-900);
  background-image: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
}

.section-tag {
  display: inline-block;
  font-size: var(--font-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: var(--s3);
}

.section-title {
  font-size: clamp(1.6rem, 3vw, var(--font-3xl));
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: var(--s4);
  letter-spacing: -0.02em;
}

.section-title--white { color: var(--white); }

.section-subtitle {
  font-size: var(--font-lg);
  color: var(--grey-500);
  line-height: 1.7;
  max-width: 560px;
}

.section-subtitle--white { color: rgba(255,255,255,0.65); }

.section-header {
  margin-bottom: var(--s12);
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin-inline: auto;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s6); }

/* ──────────────────────────────────────────────────────────
   Buttons
   ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.6875rem 1.375rem;
  font-size: var(--font-sm);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.btn-primary {
  background-color: var(--blue-500);
  color: var(--white);
  border-color: var(--blue-500);
}
.btn-primary:hover {
  background-color: #1D4ED8;
  border-color: #1D4ED8;
  box-shadow: 0 4px 12px rgba(37,99,235,0.35);
}

.btn-dark {
  background-color: var(--navy-700);
  color: var(--white);
  border-color: var(--navy-700);
}
.btn-dark:hover {
  background-color: var(--navy-800);
  border-color: var(--navy-800);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--navy-700);
  border-color: var(--navy-700);
}
.btn-outline-dark:hover {
  background-color: var(--navy-700);
  color: var(--white);
}

/* ──────────────────────────────────────────────────────────
   Header / Navigation
   ────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 9000;
  background-color: var(--white);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow var(--transition);
}

.header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background-color: var(--navy-700);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.75;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-700);
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Nav links */
.nav {
  display: flex;
  align-items: center;
  gap: var(--s1);
}

.nav-link {
  display: block;
  padding: 0.45rem 0.75rem;
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--grey-700);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover {
  color: var(--navy-700);
  background-color: var(--grey-100);
}

.nav-link.is-active {
  color: var(--navy-700);
  background-color: var(--blue-50);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  margin-left: var(--s4);
  padding: 0.5rem 1.125rem;
  background-color: var(--navy-700);
  color: var(--white);
  font-size: var(--font-sm);
  font-weight: 600;
  border-radius: var(--radius);
  transition: background-color var(--transition-fast);
}

.nav-cta:hover {
  background-color: var(--navy-800);
  color: var(--white);
}

/* Mobile hamburger */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: var(--s2);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.menu-btn:hover { background-color: var(--grey-100); }

.menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--grey-700);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.menu-btn.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ──────────────────────────────────────────────────────────
   Hero
   ────────────────────────────────────────────────────────── */
.hero {
  background-color: var(--navy-900);
  background-image: linear-gradient(145deg, var(--navy-950) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  padding-top: calc(var(--header-height) + var(--s20));
  padding-bottom: var(--s20);
  position: relative;
  overflow: hidden;
}

/* Subtle geometric texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -55deg,
      rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px,
      transparent 1px, transparent 48px
    );
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--s16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.3rem 0.875rem;
  background-color: rgba(37,99,235,0.18);
  border: 1px solid rgba(37,99,235,0.28);
  border-radius: 100px;
  font-size: var(--font-xs);
  font-weight: 600;
  color: #93C5FD;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s5);
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #34D399;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--s5);
  letter-spacing: -0.025em;
  max-width: 560px;
}

.hero-desc {
  font-size: var(--font-lg);
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: var(--s8);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: var(--s4);
  flex-wrap: wrap;
  margin-bottom: var(--s10);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s5);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--font-xs);
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

.hero-trust-item svg {
  width: 14px;
  height: 14px;
  stroke: #34D399;
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
}

/* Hero side card */
.hero-panel {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--s6);
  backdrop-filter: blur(8px);
}

.hero-panel-label {
  font-size: var(--font-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--s5);
  padding-bottom: var(--s4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero-service-list {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.hero-service-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.8);
  font-size: var(--font-sm);
  font-weight: 500;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
  cursor: default;
}

.hero-service-item:hover {
  background-color: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.14);
}

.hero-service-item svg {
  width: 17px;
  height: 17px;
  stroke: #93C5FD;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.hero-panel-footer {
  margin-top: var(--s5);
  padding-top: var(--s5);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: var(--font-xs);
  color: rgba(255,255,255,0.35);
  text-align: center;
}

/* ──────────────────────────────────────────────────────────
   Stats Bar
   ────────────────────────────────────────────────────────── */
.stats-bar {
  background-color: var(--white);
  border-bottom: 1px solid var(--grey-200);
  padding: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: var(--s8) var(--s6);
  text-align: center;
  border-right: 1px solid var(--grey-200);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-size: var(--font-3xl);
  font-weight: 700;
  color: var(--navy-700);
  line-height: 1;
  margin-bottom: var(--s2);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: var(--font-xs);
  font-weight: 500;
  color: var(--grey-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ──────────────────────────────────────────────────────────
   Service Cards
   ────────────────────────────────────────────────────────── */
.service-card {
  background-color: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: var(--s8);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--grey-300);
}

.service-icon {
  width: 52px;
  height: 52px;
  background-color: var(--blue-50);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin-bottom: var(--s5);
  flex-shrink: 0;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--navy-700);
  fill: none;
  stroke-width: 1.5;
}

.service-card h3 {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: var(--s3);
}

.service-card p {
  font-size: var(--font-sm);
  color: var(--grey-600);
  line-height: 1.7;
  margin-bottom: var(--s5);
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--blue-500);
  margin-top: auto;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.service-link:hover { gap: var(--s3); }

.service-link svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

/* ──────────────────────────────────────────────────────────
   Feature / Value Items
   ────────────────────────────────────────────────────────── */
.feature-item {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  background-color: var(--navy-700);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-icon-wrap svg {
  width: 24px;
  height: 24px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.5;
}

.feature-body h3 {
  font-size: var(--font-lg);
  font-weight: 600;
  color: var(--grey-900);
  margin-bottom: var(--s2);
}

.feature-body p {
  font-size: var(--font-sm);
  color: var(--grey-600);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ──────────────────────────────────────────────────────────
   CTA Strip
   ────────────────────────────────────────────────────────── */
.cta-strip {
  background-color: var(--navy-700);
  padding: var(--s16) 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s8);
}

.cta-strip-text h2 {
  font-size: var(--font-2xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--s2);
}

.cta-strip-text p {
  color: rgba(255,255,255,0.60);
  font-size: var(--font-base);
  margin-bottom: 0;
}

.cta-strip-actions {
  display: flex;
  gap: var(--s4);
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────
   Page Header (Inner Pages)
   ────────────────────────────────────────────────────────── */
.page-header {
  background-color: var(--navy-900);
  background-image: linear-gradient(145deg, var(--navy-950) 0%, var(--navy-800) 100%);
  padding-top: calc(var(--header-height) + var(--s16));
  padding-bottom: var(--s16);
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -55deg,
      rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px,
      transparent 1px, transparent 48px
    );
  pointer-events: none;
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s4);
  font-size: var(--font-xs);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: rgba(255,255,255,0.75); }
.breadcrumb-sep { color: rgba(255,255,255,0.2); }
.breadcrumb-current { color: rgba(255,255,255,0.75); }

.page-header h1 {
  color: var(--white);
  margin-bottom: var(--s4);
  letter-spacing: -0.025em;
}

.page-header p {
  font-size: var(--font-lg);
  color: rgba(255,255,255,0.60);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ──────────────────────────────────────────────────────────
   About Page
   ────────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s16);
  align-items: start;
}

.about-body p {
  font-size: var(--font-base);
  color: var(--grey-600);
  line-height: 1.8;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  margin-top: var(--s6);
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s3);
  font-size: var(--font-sm);
  color: var(--grey-700);
  line-height: 1.5;
}

.checklist-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue-500);
  fill: none;
  stroke-width: 2.5;
  flex-shrink: 0;
  margin-top: 1px;
}

.about-visual {
  background-color: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: center;
  text-align: center;
  gap: var(--s4);
}

.about-visual-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
  padding: var(--s8);
}

.about-visual svg {
  width: 56px;
  height: 56px;
  stroke: var(--grey-400);
  fill: none;
  stroke-width: 1;
}

.about-visual p {
  font-size: var(--font-sm);
  color: var(--grey-400);
  margin-bottom: 0;
}

.value-card {
  background-color: var(--white);
  border: 1px solid var(--grey-200);
  border-top: 3px solid var(--navy-700);
  border-radius: var(--radius-lg);
  padding: var(--s8);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.value-num {
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--grey-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--s3);
}

.value-card h3 {
  font-size: var(--font-xl);
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: var(--s3);
}

.value-card p {
  font-size: var(--font-sm);
  color: var(--grey-600);
  line-height: 1.75;
  margin-bottom: 0;
}

/* Team Card */
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--s8);
  background-color: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
}

.team-avatar {
  width: 72px;
  height: 72px;
  background-color: var(--navy-700);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: var(--s4);
}

.team-avatar svg {
  width: 36px;
  height: 36px;
  stroke: rgba(255,255,255,0.6);
  fill: none;
  stroke-width: 1.25;
}

.team-card h4 { font-size: var(--font-lg); margin-bottom: var(--s1); }
.team-card .team-role {
  font-size: var(--font-sm);
  color: var(--blue-500);
  font-weight: 500;
  margin-bottom: var(--s4);
}
.team-card p {
  font-size: var(--font-sm);
  color: var(--grey-600);
  margin-bottom: 0;
}

/* ──────────────────────────────────────────────────────────
   Services Page — Detailed View
   ────────────────────────────────────────────────────────── */
.service-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--s12);
  padding: var(--s12) 0;
  border-bottom: 1px solid var(--grey-200);
}

.service-detail:last-child { border-bottom: none; }

.service-detail-aside {
  /* left sticky column */
}

.service-detail-aside .service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--s5);
}

.service-detail-aside .service-icon svg {
  width: 32px;
  height: 32px;
}

.service-detail-aside .service-number {
  font-size: var(--font-4xl);
  font-weight: 800;
  color: var(--grey-200);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--s2);
}

.service-detail-aside .service-tag {
  display: inline-block;
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--navy-600);
  background-color: var(--blue-50);
  padding: var(--s1) var(--s3);
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-detail-body h2 {
  font-size: var(--font-2xl);
  font-weight: 700;
  color: var(--grey-900);
  margin-bottom: var(--s5);
  letter-spacing: -0.02em;
}

.service-detail-body p {
  font-size: var(--font-base);
  color: var(--grey-600);
  line-height: 1.8;
}

.service-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s2) var(--s6);
  margin-top: var(--s6);
}

.service-bullet {
  display: flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--font-sm);
  color: var(--grey-700);
  font-weight: 500;
}

.service-bullet::before {
  content: '';
  width: 5px;
  height: 5px;
  background-color: var(--navy-700);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s6);
  counter-reset: step;
}

.process-step {
  position: relative;
}

.process-step-num {
  width: 40px;
  height: 40px;
  background-color: var(--navy-700);
  color: var(--white);
  font-size: var(--font-sm);
  font-weight: 700;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: var(--s4);
  position: relative;
  z-index: 1;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 20px;
  left: calc(40px + var(--s2));
  right: calc(-1 * var(--s6) - var(--s2));
  height: 1px;
  background-color: var(--grey-300);
  background-image: linear-gradient(to right, var(--navy-700), var(--grey-300));
}

.process-step h4 {
  font-size: var(--font-base);
  font-weight: 600;
  color: var(--grey-900);
  margin-bottom: var(--s2);
}

.process-step p {
  font-size: var(--font-sm);
  color: var(--grey-500);
  margin-bottom: 0;
}

/* ──────────────────────────────────────────────────────────
   Contact Page
   ────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--s12);
  align-items: start;
}

.contact-info-card {
  background-color: var(--navy-900);
  background-image: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  border-radius: var(--radius-lg);
  padding: var(--s8);
  color: var(--white);
}

.contact-info-card h3 {
  font-size: var(--font-xl);
  color: var(--white);
  margin-bottom: var(--s6);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--s5);
}

.contact-info-row {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
}

.contact-info-row-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-info-row-icon svg {
  width: 18px;
  height: 18px;
  stroke: #93C5FD;
  fill: none;
  stroke-width: 1.5;
}

.contact-info-row-body strong {
  display: block;
  font-size: var(--font-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s1);
}

.contact-info-row-body span,
.contact-info-row-body a {
  font-size: var(--font-sm);
  color: rgba(255,255,255,0.80);
  line-height: 1.5;
}

.contact-info-row-body a:hover { color: var(--white); text-decoration: underline; }

.hours-block {
  margin-top: var(--s6);
  padding-top: var(--s6);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hours-block h4 {
  font-size: var(--font-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--s4);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr + tr td {
  padding-top: var(--s2);
}

.hours-table td {
  font-size: var(--font-sm);
  color: rgba(255,255,255,0.65);
  vertical-align: top;
  line-height: 1.5;
}

.hours-table td:first-child {
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding-right: var(--s4);
  white-space: nowrap;
}

/* Contact Form */
.contact-form-card {
  background-color: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: var(--s10);
}

.contact-form-card h3 {
  font-size: var(--font-xl);
  color: var(--grey-900);
  margin-bottom: var(--s2);
}

.contact-form-card > p {
  font-size: var(--font-sm);
  color: var(--grey-500);
  margin-bottom: var(--s8);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s5);
}

.form-field {
  margin-bottom: var(--s5);
}

.form-field label {
  display: block;
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--grey-700);
  margin-bottom: var(--s2);
}

.form-field label .req { color: #EF4444; margin-left: 2px; }

.form-input {
  width: 100%;
  padding: 0.65rem 0.875rem;
  background-color: var(--grey-50);
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  font-size: var(--font-base);
  color: var(--grey-900);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  appearance: none;
}

.form-input:focus {
  outline: none;
  border-color: var(--blue-500);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.08);
}

.form-input::placeholder { color: var(--grey-400); }

textarea.form-input {
  resize: vertical;
  min-height: 130px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236B7280' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-consent {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  margin-bottom: var(--s6);
}

.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--navy-700);
  cursor: pointer;
}

.form-consent label {
  font-size: var(--font-xs);
  color: var(--grey-600);
  line-height: 1.6;
  cursor: pointer;
}

.form-consent a { color: var(--blue-500); text-decoration: underline; }

.form-alert {
  display: none;
  padding: var(--s4) var(--s5);
  border-radius: var(--radius);
  font-size: var(--font-sm);
  margin-top: var(--s4);
}

.form-alert--success {
  background-color: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.form-alert--error {
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* Map */
.map-container {
  margin-top: var(--s16);
}

.map-container h3 {
  font-size: var(--font-xl);
  color: var(--grey-900);
  margin-bottom: var(--s5);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-200);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
  filter: grayscale(10%);
}

/* ──────────────────────────────────────────────────────────
   Legal Pages (Impressum / Datenschutz)
   ────────────────────────────────────────────────────────── */
.legal-wrapper {
  max-width: 820px;
  padding: var(--s20) 0;
}

.legal-wrapper h2 {
  font-size: var(--font-2xl);
  font-weight: 700;
  color: var(--grey-900);
  margin-top: var(--s12);
  margin-bottom: var(--s5);
  padding-bottom: var(--s4);
  border-bottom: 1px solid var(--grey-200);
}

.legal-wrapper h2:first-of-type { margin-top: 0; }

.legal-wrapper h3 {
  font-size: var(--font-xl);
  font-weight: 600;
  color: var(--grey-800);
  margin-top: var(--s8);
  margin-bottom: var(--s4);
}

.legal-wrapper p,
.legal-wrapper address {
  font-size: var(--font-base);
  color: var(--grey-600);
  line-height: 1.8;
  font-style: normal;
}

.legal-wrapper ul {
  list-style: disc;
  padding-left: var(--s6);
  margin-bottom: var(--s5);
}

.legal-wrapper ul li {
  font-size: var(--font-base);
  color: var(--grey-600);
  line-height: 1.8;
  margin-bottom: var(--s2);
}

.legal-wrapper a { color: var(--blue-500); text-decoration: underline; }
.legal-wrapper a:hover { color: #1D4ED8; }

.legal-info-box {
  background-color: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-left: 3px solid var(--navy-700);
  border-radius: var(--radius);
  padding: var(--s5) var(--s6);
  margin: var(--s6) 0;
}

.legal-info-box p { margin-bottom: var(--s2); }
.legal-info-box p:last-child { margin-bottom: 0; }

/* ──────────────────────────────────────────────────────────
   Footer
   ────────────────────────────────────────────────────────── */
.footer {
  background-color: var(--grey-900);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--s12);
  padding: var(--s16) 0 var(--s12);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s5);
  text-decoration: none;
}

.footer-logo .logo-mark { background-color: var(--navy-600); }
.footer-logo .logo-name { color: var(--white); font-size: 1rem; }
.footer-logo .logo-tagline { color: var(--grey-500); }

.footer-desc {
  font-size: var(--font-sm);
  color: var(--grey-500);
  line-height: 1.7;
  margin-bottom: var(--s6);
}

.footer-col-heading {
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--s5);
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.footer-nav-list a {
  font-size: var(--font-sm);
  color: var(--grey-400);
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover { color: var(--white); }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.footer-contact-row {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
}

.footer-contact-row svg {
  width: 15px;
  height: 15px;
  stroke: var(--grey-500);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-row span,
.footer-contact-row a {
  font-size: var(--font-sm);
  color: var(--grey-400);
  line-height: 1.5;
  transition: color var(--transition-fast);
}

.footer-contact-row a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: var(--s5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: var(--font-xs);
  color: var(--grey-500);
}

.footer-legal {
  display: flex;
  gap: var(--s6);
}

.footer-legal a {
  font-size: var(--font-xs);
  color: var(--grey-500);
  transition: color var(--transition-fast);
}

.footer-legal a:hover { color: var(--white); }

/* ──────────────────────────────────────────────────────────
   Utility
   ────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.divider {
  border: none;
  border-top: 1px solid var(--grey-200);
  margin: var(--s12) 0;
}

/* ──────────────────────────────────────────────────────────
   Responsive — Tablet (≤ 1024px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
  .hero h1 { max-width: 100%; }
  .hero-desc { max-width: 100%; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: 1px solid var(--grey-200); }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid var(--grey-200); }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }

  .service-detail { grid-template-columns: 1fr; gap: var(--s6); }
  .service-detail-aside { display: flex; align-items: center; gap: var(--s6); }
  .service-detail-aside .service-icon { margin-bottom: 0; }
  .service-detail-aside .service-number { display: none; }
  .service-bullets { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-step:not(:last-child)::after { display: none; }

  .contact-layout { grid-template-columns: 1fr; }

  .cta-strip-inner { flex-direction: column; text-align: center; }
  .cta-strip-actions { justify-content: center; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: var(--s8); }
}

/* ──────────────────────────────────────────────────────────
   Responsive — Mobile (≤ 768px)
   ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .section { padding: var(--s12) 0; }

  /* Mobile Nav */
  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0; right: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: var(--s4);
    border-bottom: 1px solid var(--grey-200);
    box-shadow: var(--shadow-lg);
    gap: var(--s1);
  }

  .nav.is-open { display: flex; }

  .nav-link {
    padding: var(--s3) var(--s4);
    font-size: var(--font-base);
    border-radius: var(--radius);
  }

  .nav-cta {
    margin-left: 0;
    margin-top: var(--s2);
    justify-content: center;
    padding: var(--s3) var(--s4);
  }

  .menu-btn { display: flex; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--grey-200); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .contact-form-card { padding: var(--s6); }
  .form-row-2 { grid-template-columns: 1fr; }

  .service-detail-aside { flex-direction: column; align-items: flex-start; gap: var(--s4); }

  .process-steps { grid-template-columns: 1fr; }

  .footer-main { grid-template-columns: 1fr; gap: var(--s8); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; gap: var(--s4); }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--s4); }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--grey-200) !important; }
  .stat-item:last-child { border-bottom: none !important; }
}
