/* ============================================================
   DAVID SCHNEIDER IT-SERVICES — style.css
   Design System v3.0
   ============================================================ */

/* ── 1. FONTS ─────────────────────────────────────────────── */
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v20-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-v20-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Old Standard TT';
  src: url('fonts/old-standard-tt-v22-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ── 2. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Colors */
  --color-bg:              #FFFFFF;
  --color-surface:         #F9FAFB;
  --color-surface-2:       #F3F4F6;
  --color-accent:          #295181;
  --color-accent-hover:    #1E3D63;
  --color-accent-light:    #EBF0F7;
  --color-highlight:       #B3CCE5;
  --color-cta-dark:        #1E3D63;
  --color-footer:          #111111;
  --color-footer-surface:  #1A1A1A;
  --color-text-primary:    #111111;
  --color-text-secondary:  #6B7280;
  --color-text-muted:      #6B7280;
  --color-border:          #E5E7EB;
  --color-border-strong:   #D1D5DB;
  --color-success:         #059669;
  --color-error:           #DC2626;

  /* Typography */
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Old Standard TT', Georgia, serif;

  /* Font sizes (Desktop) */
  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;  /* 14px */
  --fs-base: 1.125rem;  /* 18px */
  --fs-md:   1.125rem;  /* 18px */
  --fs-lg:   1.25rem;   /* 20px */
  --fs-xl:   1.5rem;    /* 24px */
  --fs-2xl:  1.875rem;  /* 30px */
  --fs-3xl:  2.25rem;   /* 36px */
  --fs-4xl:  3rem;      /* 48px */
  --fs-5xl:  3.5rem;    /* 56px */

  /* Spacing */
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;
  --sp-32:  8rem;

  /* Border radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);

  /* Focus */
  --focus-ring: 0 0 0 3px rgba(41,81,129,.4);

  /* Transitions */
  --trans-fast:   150ms ease;
  --trans-normal: 250ms ease;

  /* Layout */
  --container-max: 1200px;
  --container-pad: var(--sp-8);
  --nav-height: 112px;
}

/* ── 3. RESET ─────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ── 4. ACCESSIBILITY ─────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: -100%;
  left: var(--sp-4);
  z-index: 9999;
  padding: var(--sp-3) var(--sp-6);
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: top var(--trans-fast);
}

.skip-link:focus {
  top: var(--sp-4);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

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

/* ── Anker-Scroll: Abstand zur Nav + etwas Luft für Section-Label ── */
section[id],
div[id] {
  scroll-margin-top: calc(var(--nav-height) + 2rem);
}

/* ── 5. LAYOUT ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: var(--sp-24);
}

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

.section--dark {
  background-color: var(--color-footer);
  color: #fff;
}

.section--accent {
  background-color: var(--color-accent);
  color: #fff;
}

.section-header {
  margin-bottom: var(--sp-16);
  text-align: center;
}

.section-label {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-3);
}

.section--dark .section-label,
.section--accent .section-label,
.cta .section-label,
.section-label--light {
  color: var(--color-highlight);
}

.section-title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-bottom: var(--sp-4);
}

.section--dark .section-title,
.section--accent .section-title {
  color: #fff;
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.7;
}

.section--dark .section-subtitle,
.section--accent .section-subtitle {
  color: rgba(255,255,255,.8);
}

/* ── 6. TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}

.text-accent { color: var(--color-accent); }
.text-muted  { color: var(--color-text-secondary); }

/* ── 7. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius-md);
  transition: background-color var(--trans-fast),
              color var(--trans-fast),
              box-shadow var(--trans-fast),
              transform var(--trans-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn:active {
  transform: translateY(1px);
}

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

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 2px solid var(--color-border-strong);
}

.btn--secondary:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn--ghost-white {
  background-color: rgba(255,255,255,.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}

.btn--ghost-white:hover {
  background-color: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

.btn--lg {
  padding: 16px 36px;
  font-size: var(--fs-md);
}

/* ── 8. BADGE ─────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 5px 14px;           /* mehr Klickfläche, min 24px Höhe */
  font-size: var(--fs-sm);     /* 14px statt 12px */
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background-color: var(--color-accent-light);
  color: var(--color-accent);
}

/* ── 9. NAVIGATION ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: rgba(255,255,255,.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--trans-normal),
              box-shadow var(--trans-normal);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.nav.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-img {
  display: block;
  width: 320px;
  height: 80px;
  object-fit: contain;
}

/* Fallback – falls SVG nicht lädt */
.nav__logo-name {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1;
}

.nav__logo-sub {
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  letter-spacing: 0.03em;
  line-height: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav__link {
  font-size: var(--fs-base);   /* 16px – WCAG AA */
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--trans-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--trans-fast);
  border-radius: 1px;
}

.nav__link:hover,
.nav__link[aria-current="page"],
.nav__link--active {
  color: var(--color-text-primary);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after,
.nav__link--active::after {
  transform: scaleX(1);
}

.nav__link[aria-current="page"],
.nav__link--active {
  font-weight: 600;
}

.nav__cta {
  margin-left: var(--sp-4);
}

/* ── Dropdown ─────────────────────────────────────────────── */
.nav__item--dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.nav__dropdown-chevron {
  transition: transform var(--trans-fast);
  flex-shrink: 0;
}

.nav__item--dropdown.open .nav__dropdown-chevron {
  transform: rotate(180deg);
}

.nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-2);
  min-width: 200px;
  z-index: 200;
  list-style: none;
}

.nav__item--dropdown.open .nav__dropdown {
  display: block;
}

.nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-md);
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: background-color var(--trans-fast), color var(--trans-fast);
  white-space: nowrap;
}

.nav__dropdown-link:hover,
.nav__dropdown-link--active {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
}

.nav__dropdown-link svg {
  stroke: currentColor;
  flex-shrink: 0;
}

/* Mobile submenu */
.nav__mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.nav__mobile-dropdown-toggle[aria-expanded="true"] .nav__dropdown-chevron {
  transform: rotate(180deg);
}

.nav__mobile-submenu {
  display: flex;
  flex-direction: column;
  padding-left: var(--sp-4);
  border-left: 2px solid var(--color-accent-light);
  margin-bottom: var(--sp-2);
}

.nav__mobile-sublink {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding-block: var(--sp-2);
  transition: color var(--trans-fast);
}

.nav__mobile-sublink:hover {
  color: var(--color-accent);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  border-radius: 2px;
  transition: transform var(--trans-normal), opacity var(--trans-fast);
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background-color: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-6) var(--sp-6) var(--sp-8);
  z-index: 99;
  flex-direction: column;
  gap: var(--sp-4);
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile-link {
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--color-text-primary);
  text-decoration: none;
  padding-block: var(--sp-2);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--trans-fast);
}

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

.nav__mobile-link:hover {
  color: var(--color-accent);
}

.nav__mobile-cta {
  margin-top: var(--sp-2);
  align-self: stretch;
  justify-content: center;
}

/* ── 10. HERO ─────────────────────────────────────────────── */
.hero {
  padding-top: calc(var(--nav-height) + var(--sp-20));
  padding-bottom: var(--sp-24);
  background: linear-gradient(135deg, #fff 0%, var(--color-surface) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(41,81,129,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--sp-16);
  align-items: center;
}

.hero__badge {
  margin-bottom: var(--sp-6);
}

.hero__title {
  font-size: var(--fs-5xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  margin-bottom: var(--sp-6);
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: var(--sp-10);
}

.hero__actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: var(--sp-10);
  margin-top: var(--sp-12);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--color-border);
}

.hero__stat-value {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.hero__stat-label {
  font-size: var(--fs-base);   /* 16px */
  color: var(--color-text-secondary);
  margin-top: var(--sp-1);
}

.hero__image-wrap {
  position: relative;
}

.hero__image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center 15%;  /* Gesicht oben zentrieren */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Placeholder if no photo yet */
.hero__image-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-highlight) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  box-shadow: var(--shadow-lg);
  color: var(--color-accent);
}

.hero__image-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: .5;
}

.hero__image-placeholder p {
  font-size: var(--fs-sm);
  color: var(--color-text-secondary);
  text-align: center;
  padding-inline: var(--sp-6);
}

/* ── 11. TRUST STRIP ──────────────────────────────────────── */
.trust {
  padding-block: var(--sp-10);
  background-color: var(--color-accent);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
}

.trust__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: #fff;
}

.trust__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust__icon svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

.trust__text {
  font-size: var(--fs-base);   /* 16px */
  font-weight: 600;
  line-height: 1.3;
}

/* ── 12. LEISTUNGEN ───────────────────────────────────────── */
.leistungen__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  position: relative;          /* Anker für ::after-Klickfläche */
  transition: border-color var(--trans-normal),
              box-shadow var(--trans-normal),
              transform var(--trans-normal);
}

.card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-6);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: var(--color-accent-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-6);
}

.card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
}

.card__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--sp-3);
  color: var(--color-text-primary);
}

.card__text {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-base);   /* 16px */
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition: gap var(--trans-fast);
  /* Kein position:relative – ::after positioniert sich relativ zu .card */
}

/* Ganze Karte klickbar.
   ::after überdehnt den Link auf die gesamte .card (position:relative).
   Screen-Reader liest nur den sichtbaren Link-Text → WCAG AA-konform. */
.card__link::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
}

.card:hover .card__link {
  gap: var(--sp-3);
  color: var(--color-accent-hover);
}

.card__link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* ── 13. ÜBER MICH ────────────────────────────────────────── */
.ueber__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--sp-16);
  align-items: start;
}

.ueber__image-wrap {
  position: sticky;
  top: calc(var(--nav-height) + var(--sp-8));
}

.ueber__image {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 20%;  /* Gesicht/Oberkörper ins Bild rücken */
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.ueber__image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-highlight));
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  color: var(--color-accent);
  box-shadow: var(--shadow-lg);
}

.ueber__image-placeholder svg {
  width: 60px;
  height: 60px;
  opacity: .5;
}

.ueber__tag {
  margin-bottom: var(--sp-4);
}

.ueber__title {
  font-size: var(--fs-4xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--sp-6);
}

.ueber__intro {
  font-size: var(--fs-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.ueber__text p {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--sp-4);
}

.ueber__text h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}

.ueber__werte {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-10);
}

.ueber__wert {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-2) 0;
}

.ueber__wert-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--color-accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.ueber__wert-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-accent);
}

.ueber__wert-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.ueber__wert-text {
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ── 14. REFERENZEN ───────────────────────────────────────── */
.referenzen__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

.testimonial {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  transition: box-shadow var(--trans-normal), transform var(--trans-normal);
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonial__quote-icon {
  width: 36px;
  height: 36px;
  color: var(--color-accent);
  opacity: .3;
}

.testimonial__text {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--color-text-secondary);
  flex: 1;
}

.testimonial__text em {
  font-family: var(--font-body);
  font-style: normal;
  color: var(--color-text-primary);
  font-weight: 500;
}

.testimonial__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--color-border);
}

.testimonial__author-wrap {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
}

.testimonial__author {
  font-weight: 700;
  font-size: var(--fs-base);   /* 16px */
  color: var(--color-text-primary);
}

.testimonial__meta {
  font-size: var(--fs-sm);     /* 14px – Nebeninfo, kein interaktives Element */
  color: var(--color-text-muted);
  margin-top: 2px;
}

.testimonial__badge {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 4px 10px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ── 15. FAQ ──────────────────────────────────────────────── */
.faq__list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--trans-fast);
}

.faq__item.open {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  width: 100%;
  padding: var(--sp-6) var(--sp-6);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: left;
  background: var(--color-bg);
  cursor: pointer;
  transition: background-color var(--trans-fast), color var(--trans-fast);
}

.faq__item.open .faq__question {
  color: var(--color-accent);
  background-color: var(--color-accent-light);
}

.faq__question:hover {
  background-color: var(--color-surface);
}

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--trans-normal), border-color var(--trans-fast), background-color var(--trans-fast);
}

.faq__item.open .faq__icon {
  transform: rotate(45deg);
  border-color: var(--color-accent);
  background-color: var(--color-accent);
}

.faq__icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--color-text-secondary);
  transition: stroke var(--trans-fast);
}

.faq__item.open .faq__icon svg {
  stroke: #fff;
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--trans-normal);
}

.faq__item.open .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  overflow: hidden;
}

.faq__answer-content {
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
  font-size: var(--fs-base);
  color: var(--color-text-secondary);
  line-height: 1.75;
}

/* ── 16. CTA FINAL ────────────────────────────────────────── */
.cta {
  background: #295181;
  padding-block: var(--sp-24);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 60%);
  pointer-events: none;
}

.cta__content {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--sp-4);
}

.cta__subtitle {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,.8);
  margin-bottom: var(--sp-4);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.6;
}
/* Map */
.map-container {
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  position: relative;
  z-index: 0;
  isolation: isolate;
}

@media (max-width: 640px) {
  .map-container { height: 280px; }
}

.cta__joke {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.5);
  font-style: italic;
  margin-bottom: var(--sp-10);
  max-width: 540px;
  margin-inline: auto;
}

.cta__actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-subpage__inner {
  text-align: center;
}

.cta-subpage__actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--sp-8);
}

.btn--wa-subpage {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 13px 24px;
  background: #fff;
  color: var(--color-accent);
  font-size: var(--fs-base);
  font-weight: 700;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: background var(--trans-fast), transform var(--trans-fast);
}

.btn--wa-subpage:hover {
  background: #f0f4fa;
  transform: translateY(-1px);
}

.btn--mail {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.cta__contact {
  display: flex;
  gap: var(--sp-8);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--sp-10);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,.2);
}

.cta__contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-base);   /* 16px */
  color: rgba(255,255,255,.8);
}

.cta__contact-item svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,.7);
}

.cta__contact-item a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: opacity var(--trans-fast);
}

.cta__contact-item a:hover {
  opacity: .8;
}

.cta__contact-item--whatsapp {
  width: 100%;
  justify-content: center;
}

.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 28px;
  background: #25D366;
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 700;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: background var(--trans-fast), transform var(--trans-fast);
}

.btn--whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.cta__contact-subtle {
  margin-top: var(--sp-10);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.75) !important;
  text-align: center;
}

.cta__contact-subtle a {
  color: rgba(255,255,255,.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--trans-fast);
}

.cta__contact-subtle a:hover {
  color: rgba(255,255,255,.9);
}

/* ── 17. KONTAKTFORMULAR ──────────────────────────────────── */
.kontakt-form {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  padding: var(--sp-8);
  max-width: 600px;
  margin-inline: auto;
  text-align: left;
  margin-top: var(--sp-10);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: var(--fs-base);   /* 16px */
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

.form-required {
  color: rgba(255,255,255,.5);
  font-weight: 400;
  margin-left: 2px;
}

.form-required-hint {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.65);
  margin-top: var(--sp-2);
  text-align: right;
}

.form-input,
.form-textarea {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: var(--fs-base);
  transition: border-color var(--trans-fast), background-color var(--trans-fast);
  -webkit-text-fill-color: #fff;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,.5);
  -webkit-text-fill-color: rgba(255,255,255,.5);
  opacity: 1;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: none;
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.15);
  box-shadow: none;
}

.form-counter {
  text-align: right;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-top: var(--sp-1);
  transition: color var(--trans-fast);
}
.form-counter--warn { color: #f59e0b; }
.form-counter--limit { color: #ef4444; font-weight: 600; }

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

.form-submit {
  width: 100%;
  padding: 14px;
  background: #fff;
  color: var(--color-accent);
  font-size: var(--fs-base);
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color var(--trans-fast), transform var(--trans-fast);
  margin-top: var(--sp-2);
}

.form-submit:hover {
  background-color: var(--color-accent-light);
}

.form-submit:active {
  transform: translateY(1px);
}

.form-note {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.7);
  text-align: center;
  margin-top: var(--sp-3);
}

.form-note__link {
  color: rgba(255,255,255,.65);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--trans-fast);
}

.form-note__link:hover {
  color: rgba(255,255,255,.9);
}

.form-success {
  text-align: center;
  padding: var(--sp-8) 0;
}

.form-success svg {
  display: block;
  margin: 0 auto var(--sp-4);
}

.form-success__title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-2);
}

.form-success__sub {
  color: rgba(255,255,255,.8);
}

.form-error {
  background: rgba(220,38,38,.2);
  border: 1px solid rgba(220,38,38,.4);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  color: #fff;
  font-size: var(--fs-sm);
  margin-top: var(--sp-3);
}

/* Weißer Button auf blauem CTA-Hintergrund */
.btn--cta-white {
  background: #fff;
  color: var(--color-accent);
}

.btn--cta-white:hover {
  background: #f0f4fa;
}

/* Button-Gruppe (flex row, wrap) */
.btn-group {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* Paket-Karten: CTA-Button am Ende */
.paket__cta {
  text-align: center;
  justify-content: center;
  margin-top: auto;
  width: 100%;
}

/* ── 18. FOOTER ───────────────────────────────────────────── */
.footer {
  background-color: var(--color-footer);
  color: rgba(255,255,255,.7);
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: var(--sp-8);
}

.footer__logo-img {
  display: block;
  width: 200px;
  height: 50px;
  object-fit: contain;
  margin-bottom: var(--sp-4);
}

/* Fallback-Klassen (falls Bild fehlt) */
.footer__logo-name {
  font-size: var(--fs-md);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-1);
}

.footer__logo-sub {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.5);
  margin-bottom: var(--sp-4);
}

.footer__claim {
  font-size: var(--fs-base);   /* 16px */
  color: rgba(255,255,255,.6);
  line-height: 1.6;
  margin-bottom: var(--sp-6);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);            /* etwas mehr Luft zwischen Kontaktzeilen */
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-base);   /* 16px – Links müssen gut lesbar sein */
}

.footer__contact-item svg {
  width: 18px;                 /* proportional zu 16px-Text */
  height: 18px;
  stroke: var(--color-accent);
  flex-shrink: 0;
}

.footer__contact-item a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color var(--trans-fast);
}

.footer__contact-item a:hover {
  color: #fff;
}

.footer__col-title {
  font-size: var(--fs-base);   /* 16px */
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);            /* mehr Klickfläche zwischen Links */
}

.footer__link {
  font-size: var(--fs-base);   /* 16px – WCAG AA Links */
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color var(--trans-fast);
}

.footer__link:hover {
  color: #fff;
}

.footer__gebiet {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.5);
  line-height: 1.7;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.55);
}

/* ── KONTAKT PAGE ─────────────────────────────────────────── */
.cta--page {
  min-height: 100vh;
  padding-top: calc(var(--nav-height) + var(--sp-16));
  padding-bottom: var(--sp-24);
}

.kontakt-back {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.7);
  text-decoration: none;
  margin-bottom: var(--sp-8);
  transition: color var(--trans-fast);
  width: fit-content;
  margin-inline: auto;
}

.kontakt-back:hover { color: rgba(255,255,255,.9); }

.kontakt-back svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* ── LEGAL PAGES (Impressum / Datenschutz) ────────────────── */
.legal-page {
  padding-top: calc(var(--nav-height) + var(--sp-16));
  padding-bottom: var(--sp-24);
  min-height: 100vh;
}

.legal-page__back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  margin-bottom: var(--sp-10);
  transition: color var(--trans-fast);
}

.legal-page__back:hover { color: var(--color-accent); }

.legal-page__back svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

.legal-page__header {
  margin-bottom: var(--sp-10);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--color-border);
}

.legal-page__title {
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--sp-2);
}

.legal-page__updated {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-4);
}

.legal-content h3 {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}

.legal-content p {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-4);
}

.legal-content ul, .legal-content ol {
  padding-left: var(--sp-6);
  margin-bottom: var(--sp-4);
}

.legal-content li {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-1);
}

.legal-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover { color: var(--color-accent-hover); }

.legal-content address {
  font-style: normal;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-4);
}

.legal-content code {
  font-family: monospace;
  font-size: 0.9em;
  background: var(--color-accent-light);
  color: var(--color-accent);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Inhaltsverzeichnis */
.toc {
  background: var(--color-accent-light);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  margin-bottom: var(--sp-10);
}

.toc__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
  margin-bottom: var(--sp-3);
}

.toc__list {
  list-style: decimal;
  padding-left: var(--sp-5);
  margin: 0;
}

.toc__list li {
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin-bottom: var(--sp-1);
  color: var(--color-text-muted);
}

.toc__list a {
  color: var(--color-accent);
  text-decoration: none;
}

.toc__list a:hover { text-decoration: underline; }

.footer__legal {
  display: flex;
  gap: var(--sp-6);
}

.footer__legal a {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--trans-fast);
}

.footer__legal a:hover {
  color: rgba(255,255,255,.8);
}

/* ── 19. RESPONSIVE ───────────────────────────────────────── */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  :root {
    --container-pad: var(--sp-6);
    --fs-5xl: 2.75rem;
    --fs-4xl: 2.25rem;
  }

  .hero__grid {
    grid-template-columns: 1fr 360px;
    gap: var(--sp-12);
  }

  .hero__title {
    font-size: 2.75rem;
  }

  .ueber__grid {
    grid-template-columns: 1fr 340px;
    gap: var(--sp-12);
  }

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

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }

  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6);
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  :root {
    --container-pad: var(--sp-5);
    --fs-5xl: 2.25rem;
    --fs-4xl: 1.875rem;
    --fs-3xl: 1.75rem;
  }

  .section {
    padding-block: var(--sp-16);
  }

  /* Nav */
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--nav-height) + var(--sp-10));
    padding-bottom: var(--sp-16);
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .hero__image-wrap {
    max-width: 320px;
    margin-inline: auto;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__stats {
    gap: var(--sp-6);
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Trust */
  .trust__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  /* Leistungen */
  .leistungen__grid {
    grid-template-columns: 1fr;
  }

  /* Über mich */
  .ueber__grid {
    grid-template-columns: 1fr;
  }

  .ueber__image-wrap {
    position: static;
    max-width: 300px;
    margin-inline: auto;
  }

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

  .ueber__title {
    font-size: 1.875rem;
  }

  /* Referenzen */
  .referenzen__grid {
    grid-template-columns: 1fr;
  }

  /* Section titles */
  .section-title {
    font-size: var(--fs-2xl);
  }

  /* Alignment: section-header linksbündig auf Mobile */
  .section-header {
    text-align: left;
  }

  .section-label {
    text-align: left;
  }

  /* Trust-Items linksbündig (Icon + Text nebeneinander) */
  .trust__item {
    text-align: left;
  }

  /* CTA */
  .cta__title {
    font-size: 1.875rem;
  }

  .cta__contact {
    gap: var(--sp-4);
    flex-direction: column;
    align-items: center;
  }

  /* Form */
  .form-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__legal {
    justify-content: center;
  }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  :root {
    --container-pad: var(--sp-4);
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .cta__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ── 20. VIEW TRANSITIONS ─────────────────────────────────── */
@view-transition {
  navigation: auto;
}

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: 200ms ease-out both fade-out;
  }
  ::view-transition-new(root) {
    animation: 200ms ease-in both fade-in;
  }
}

@keyframes fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ══════════════════════════════════════════════════════════════
   LEISTUNGSSEITEN (websites.html, shopify.html, it-support.html, it-beratung.html)
   ══════════════════════════════════════════════════════════════ */

/* ── Leistung-Hero (alle Leistungsseiten) ─────────────────── */
.leistung-hero {
  padding-top: calc(var(--nav-height) + var(--sp-20));
  padding-bottom: var(--sp-20);
  background: linear-gradient(135deg, #fff 0%, var(--color-surface) 100%);
}
.leistung-hero__back {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-base); font-weight: 500; color: var(--color-text-secondary);
  text-decoration: none; margin-bottom: var(--sp-8); transition: color var(--trans-fast);
}
.leistung-hero__back:hover { color: var(--color-accent); }
.leistung-hero__back svg { width: 18px; height: 18px; stroke: currentColor; }
.leistung-hero__grid {
  display: grid; grid-template-columns: 1fr 400px;
  gap: var(--sp-16); align-items: center;
}
.leistung-hero__title {
  font-size: var(--fs-4xl); font-weight: 700;
  letter-spacing: -0.03em; line-height: 1.1; margin-bottom: var(--sp-4);
}
.leistung-hero__subtitle {
  font-size: var(--fs-lg); color: var(--color-text-secondary);
  line-height: 1.7; margin-bottom: var(--sp-8); max-width: 520px;
}
.leistung-hero__img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* ── Pakete (websites.html, shopify.html) ─────────────────── */
.pakete__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6);
}
.pakete__grid--two {
  grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto;
}
.pakete__grid--centered {
  width: 100%; max-width: 900px; margin-left: auto; margin-right: auto;
}
.paket {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: var(--sp-8);
  display: flex; flex-direction: column; gap: var(--sp-4);
  transition: box-shadow var(--trans-normal), transform var(--trans-normal), border-color var(--trans-normal);
}
.paket:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.paket--featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent), var(--shadow-md);
}
.paket__badge {
  font-size: var(--fs-sm); font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--color-accent);
}
.paket__name { font-size: var(--fs-xl); font-weight: 700; }
.paket__price {
  font-size: var(--fs-3xl); font-weight: 700; color: var(--color-accent); line-height: 1.2;
}
.paket__price span { display: block; font-size: var(--fs-sm); color: var(--color-text-secondary); font-weight: 400; margin-top: var(--sp-1); }
.paket__desc { font-size: var(--fs-base); color: var(--color-text-secondary); line-height: 1.6; }
.paket__features { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.paket__features li {
  display: flex; gap: var(--sp-2); font-size: var(--fs-base);
  color: var(--color-text-secondary); align-items: flex-start;
}
.paket__features li svg { width: 16px; height: 16px; stroke: var(--color-success); flex-shrink: 0; margin-top: 3px; }

/* ── Prozess-Schritte (websites.html) ────────────────────── */
.prozess__steps { display: flex; flex-direction: column; gap: var(--sp-1); counter-reset: step; }
.prozess__step {
  display: grid; grid-template-columns: 56px 1fr;
  gap: var(--sp-6); align-items: start; padding: var(--sp-6);
  border-radius: var(--radius-lg); transition: background-color var(--trans-normal);
}
.prozess__step:hover { background: var(--color-surface); }
.prozess__step-num {
  width: 56px; height: 56px; border-radius: var(--radius-full);
  background: var(--color-accent-light); color: var(--color-accent);
  font-size: var(--fs-xl); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; counter-increment: step;
}
.prozess__step-title { font-size: var(--fs-lg); font-weight: 700; color: var(--color-text-primary); margin-bottom: var(--sp-2); }
.prozess__step-text { font-size: var(--fs-base); color: var(--color-text-secondary); line-height: 1.7; }

/* ── Includes-Grid (websites.html, shopify.html) ─────────── */
.includes-section__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.includes-item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.includes-item__icon {
  width: 44px; height: 44px; background: var(--color-accent-light);
  border-radius: var(--radius-md); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.includes-item__icon svg { width: 20px; height: 20px; stroke: var(--color-accent); }
.includes-item__title { font-size: var(--fs-base); font-weight: 700; margin-bottom: var(--sp-1); }
.includes-item__text { font-size: var(--fs-base); color: var(--color-text-secondary); line-height: 1.6; }

/* ── Praxis-Box (shopify.html) ───────────────────────────── */
.praxis-box {
  background: var(--color-accent); color: #fff; border-radius: var(--radius-xl);
  padding: var(--sp-10) var(--sp-12); display: grid;
  grid-template-columns: auto 1fr; gap: var(--sp-8); align-items: center;
}
.praxis-box__icon {
  width: 80px; height: 80px; background: rgba(255,255,255,.15);
  border-radius: var(--radius-lg); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.praxis-box__icon svg { width: 40px; height: 40px; stroke: #fff; }
.praxis-box__title { font-size: var(--fs-xl); font-weight: 700; margin-bottom: var(--sp-2); }
.praxis-box__text { font-size: var(--fs-base); opacity: .9; line-height: 1.7; }

/* ── Probleme-Grid (it-support.html) ────────────────────── */
.probleme__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  column-gap: var(--sp-16);
}
.problem-item {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-base); font-weight: 500; color: var(--color-text-primary);
}
.problem-item:last-child { border-bottom: none; }
.problem-item svg { width: 16px; height: 16px; stroke: var(--color-accent); flex-shrink: 0; }

/* ── Ablauf-Optionen (it-support.html) ──────────────────── */
.ablauf__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); align-items: start; }
.ablauf__option {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: var(--sp-8);
}
.ablauf__option-icon {
  width: 56px; height: 56px; background: var(--color-accent-light);
  border-radius: var(--radius-lg); display: flex; align-items: center;
  justify-content: center; margin-bottom: var(--sp-4);
}
.ablauf__option-icon svg { width: 28px; height: 28px; stroke: var(--color-accent); }
.ablauf__option-title { font-size: var(--fs-xl); font-weight: 700; margin-bottom: var(--sp-2); }
.ablauf__option-text { font-size: var(--fs-base); color: var(--color-text-secondary); line-height: 1.7; margin-bottom: var(--sp-4); }
.ablauf__option ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-2); }
.ablauf__option li { display: flex; gap: var(--sp-2); font-size: var(--fs-base); color: var(--color-text-secondary); }
.ablauf__option li svg { width: 16px; height: 16px; stroke: var(--color-success); flex-shrink: 0; margin-top: 3px; }

/* ── Preis-Box (it-support.html) ────────────────────────── */
.preis-box {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); padding: var(--sp-10);
  text-align: center; max-width: 480px; margin-inline: auto;
}
.preis-box__value { font-size: var(--fs-5xl); font-weight: 700; color: var(--color-accent); line-height: 1; margin-bottom: var(--sp-2); }
.preis-box__label { font-size: var(--fs-lg); color: var(--color-text-secondary); margin-bottom: var(--sp-6); }
.preis-box__features { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); text-align: left; margin-bottom: var(--sp-8); }
.preis-box__features li { display: flex; gap: var(--sp-3); font-size: var(--fs-base); color: var(--color-text-secondary); }
.preis-box__features li svg { width: 18px; height: 18px; stroke: var(--color-success); flex-shrink: 0; margin-top: 2px; }

/* ── Wann-Grid (it-beratung.html) ───────────────────────── */
.wann__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.wann-item {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--sp-6);
  transition: border-color var(--trans-normal), box-shadow var(--trans-normal);
}
.wann-item:hover { border-color: var(--color-accent); box-shadow: var(--shadow-sm); }
.wann-item__icon {
  width: 40px; height: 40px; background: var(--color-accent-light);
  border-radius: var(--radius-md); display: flex; align-items: center;
  justify-content: center; margin-bottom: var(--sp-3);
}
.wann-item__icon svg { width: 20px; height: 20px; stroke: var(--color-accent); }
.wann-item__title { font-size: var(--fs-base); font-weight: 700; margin-bottom: var(--sp-1); }
.wann-item__text { font-size: var(--fs-base); color: var(--color-text-secondary); line-height: 1.6; }

/* ── USPs (it-beratung.html) ────────────────────────────── */
.usps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.usp { text-align: center; padding: var(--sp-8) var(--sp-6); }
.usp__value { font-size: var(--fs-4xl); font-weight: 700; color: var(--color-accent); line-height: 1; margin-bottom: var(--sp-2); }
.usp__label { font-size: var(--fs-base); color: var(--color-text-secondary); }

/* ── Ablauf-Schritte (it-beratung.html) ─────────────────── */
.ablauf__steps { display: flex; flex-direction: column; gap: 0; max-width: 680px; margin-inline: auto; }
.ablauf__step {
  display: grid; grid-template-columns: 56px 1fr;
  gap: var(--sp-6); padding: var(--sp-6) 0; border-bottom: 1px solid var(--color-border);
}
.ablauf__step:last-child { border-bottom: none; }
.ablauf__step-num {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  background: var(--color-accent); color: #fff;
  font-size: var(--fs-base); font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 4px;
}
.ablauf__step-title { font-size: var(--fs-lg); font-weight: 700; margin-bottom: var(--sp-1); }
.ablauf__step-text { font-size: var(--fs-base); color: var(--color-text-secondary); line-height: 1.7; }

/* ── REFERENZEN-SEITE ────────────────────────────────────── */
.referenz-hero {
  padding-top: calc(var(--nav-height) + var(--sp-12));
  padding-bottom: var(--sp-10);
  background: linear-gradient(135deg, #fff 0%, var(--color-surface) 100%);
}
.referenz-hero__back {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-base); font-weight: 500; color: var(--color-text-secondary);
  text-decoration: none; margin-bottom: var(--sp-8); transition: color var(--trans-fast);
}
.referenz-hero__back:hover { color: var(--color-accent); }
.referenz-hero__back svg { width: 18px; height: 18px; stroke: currentColor; }
.projekte__heading { font-size: var(--fs-2xl); font-weight: 700; color: var(--color-text-primary); margin-bottom: var(--sp-8); }
.projekte__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-10); }
.projekt-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-xl); overflow: hidden; position: relative;
  transition: box-shadow var(--trans-normal), transform var(--trans-normal);
  display: flex; flex-direction: column;
}
.projekt-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.projekt-card__screenshot-wrap { overflow: hidden; }
.projekt-card__screenshot {
  width: 100%; height: 260px; object-fit: cover; object-position: top center;
  display: block; border-bottom: 1px solid var(--color-border); transition: transform 600ms ease;
}
.projekt-card:hover .projekt-card__screenshot { transform: scale(1.02); }
.projekt-card__body { padding: 32px; display: flex; flex-direction: column; flex: 1; gap: 0; }
.projekt-card__header { display: flex; flex-direction: column; margin-bottom: 20px; }
.projekt-card__name { font-size: var(--fs-xl); font-weight: 700; color: var(--color-text-primary); line-height: 1.25; margin-bottom: 4px; }
.projekt-card__domain { font-size: var(--fs-base); color: var(--color-text-secondary); margin-bottom: 14px; }
.projekt-card__badges { display: flex; gap: 8px; flex-wrap: wrap; }
.projekt-card__focus { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; margin-bottom: 24px; }
.projekt-card__focus-item { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-base); color: var(--color-text-secondary); line-height: 1.6; }
.projekt-card__focus-item svg { width: 16px; height: 16px; stroke: var(--color-accent); flex-shrink: 0; margin-top: 3px; }
.projekt-card__quote {
  background: var(--color-surface); border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px; font-size: var(--fs-base); color: var(--color-text-secondary);
  line-height: 1.85; font-style: italic; flex: 1; margin-bottom: 24px;
}
.projekt-card__eigenprojekt { background: var(--color-surface); border-radius: var(--radius-md); padding: 16px 20px; flex: 1; margin-bottom: 24px; }
.projekt-card__eigenprojekt .projekt-card__author { margin-top: 0; }
.projekt-card__author { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-style: normal; }
.projekt-card__avatar { width: 44px; height: 44px; border-radius: var(--radius-full); object-fit: cover; border: 2px solid var(--color-border); flex-shrink: 0; }
.projekt-card__author-name { font-size: var(--fs-base); font-weight: 700; color: var(--color-text-primary); font-style: normal; }
.projekt-card__author-role { font-size: var(--fs-sm); color: var(--color-text-muted); font-style: normal; margin-top: 2px; }
.projekt-card__footer { padding-top: 20px; border-top: 1px solid var(--color-border); margin-top: auto; }
.projekt-card__link {
  display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-base);
  font-weight: 600; color: var(--color-accent); text-decoration: none;
  transition: gap var(--trans-fast), color var(--trans-fast);
}
.projekt-card__link::after { content: ''; position: absolute; inset: 0; }
.projekt-card:hover .projekt-card__link { gap: 12px; color: var(--color-accent-hover); }
.projekt-card__link svg { width: 16px; height: 16px; stroke: currentColor; }
.ref-cta {
  background: var(--color-accent-light); border: 1px solid var(--color-highlight);
  border-radius: var(--radius-xl); padding: 48px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8);
}
.ref-cta__text h2 { font-size: var(--fs-2xl); font-weight: 700; color: var(--color-text-primary); margin-bottom: var(--sp-2); }
.ref-cta__text p { font-size: var(--fs-lg); color: var(--color-text-secondary); }

/* ── Responsive: Leistungsseiten ────────────────────────── */
@media (max-width: 1024px) {
  .leistung-hero__grid { grid-template-columns: 1fr; }
  .leistung-hero__img { max-width: 480px; }
  .pakete__grid { grid-template-columns: 1fr; max-width: 480px; }
  .includes-section__grid { grid-template-columns: 1fr 1fr; }
  .ablauf__grid { grid-template-columns: 1fr; }
  .usps__grid { grid-template-columns: 1fr 1fr; }
  .praxis-box { grid-template-columns: 1fr; text-align: center; }
  .praxis-box__icon { margin-inline: auto; }
}
@media (max-width: 960px) {
  .projekte__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
}
@media (max-width: 640px) {
  .includes-section__grid { grid-template-columns: 1fr; }
  .pakete__grid--two { grid-template-columns: 1fr; }
  .prozess__step { grid-template-columns: 44px 1fr; }
  .prozess__step-num { width: 44px; height: 44px; font-size: var(--fs-lg); }
  .probleme__grid { grid-template-columns: 1fr; }
  .wann__grid { grid-template-columns: 1fr; }
  .usps__grid { grid-template-columns: 1fr; }
  .ablauf__step { grid-template-columns: 44px 1fr; }
  .projekt-card__body { padding: var(--sp-6); }
  .ref-cta { flex-direction: column; text-align: center; padding: var(--sp-8); }
}

/* ── Utility-Klassen ─────────────────────────────────────── */
.section-header--left       { text-align: left; margin-bottom: var(--sp-4); }
.section-title--hero        { font-size: var(--fs-4xl); }
.section-subtitle--left     { margin-inline: 0; max-width: 620px; }
.section--compact-top       { padding-top: var(--sp-10); }
.ref-cta--spaced            { margin-top: var(--sp-16); }


/* ── 404 SEITE ────────────────────────────────────────────── */
.error404 {
  min-height: calc(100vh - var(--nav-height) - 120px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + var(--sp-16));
  padding-bottom: var(--sp-24);
}

.error404__inner {
  text-align: center;
}

.error404__code {
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--sp-4);
  user-select: none;
}

.error404__title {
  font-size: var(--fs-3xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--sp-4);
}

.error404__subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--sp-10);
}

.error404__actions {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
}

.error404__links {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.error404__links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--trans-fast);
}

.error404__links a:hover {
  color: var(--color-accent);
}
