/* ============================================================
   NCS Noailles Computer Service – Modernes Redesign
   ============================================================ */

/* ── Reset & Custom Properties ───────────────────────────── */

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

:root {
  --ncs-primary:      #1a3a5c;
  --ncs-primary-dark: #0f2540;
  --ncs-accent:       #2d7dd2;
  --ncs-accent-dark:  #1a5fa8;
  --ncs-accent-glow:  rgba(45,125,210,.35);
  --ncs-light:        #e8eef5;
  --ncs-lighter:      #f4f7fb;
  --ncs-gray:         #6b7280;
  --ncs-gray-light:   #9ca3af;
  --ncs-border:       #d1d5db;
  --ncs-white:        #ffffff;
  --ncs-dark:         #111827;
  --bg-page:          #ffffff;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm:  4px;
  --r-md:  8px;
  --r-lg: 16px;
  --r-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.1),  0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);

  --ease: cubic-bezier(.4,0,.2,1);
  --dur: .2s;

  --header-h: 64px;
  --max-w: 1100px;
}

/* ── Dark Mode ───────────────────────────────────────────── */
/*
   Two activation paths:
   1. OS dark preference  →  :root:not([data-theme="light"])
   2. Manual toggle       →  :root[data-theme="dark"]
   All element styles use CSS vars, so only this block changes.
*/

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ncs-white:   #1e2a3a;
    --ncs-lighter: #162030;
    --ncs-light:   #1e3050;
    --ncs-dark:    #e8eef5;
    --ncs-gray:    #9ca3af;
    --ncs-border:  #2d4060;
    --bg-page:     #111e2d;
  }
}
:root[data-theme="dark"] {
  --ncs-white:   #1e2a3a;
  --ncs-lighter: #162030;
  --ncs-light:   #1e3050;
  --ncs-dark:    #e8eef5;
  --ncs-gray:    #9ca3af;
  --ncs-border:  #2d4060;
  --bg-page:     #111e2d;
}

/* Theme-toggle icon switching */
#theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] #theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] #theme-toggle .icon-sun  { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #theme-toggle .icon-moon { display: none; }
  :root:not([data-theme="light"]) #theme-toggle .icon-sun  { display: block; }
}

/* ── Reduced Motion ──────────────────────────────────────── */

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

/* ── Basis ───────────────────────────────────────────────── */

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ncs-dark);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ncs-accent);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--ncs-accent-dark); text-decoration: underline; }
a:focus-visible {
  outline: 2px solid var(--ncs-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

ul { list-style: none; }

/* ── Skip-Link ───────────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -100%;
  left: 8px;
  padding: 8px 16px;
  background: var(--ncs-primary);
  color: #fff;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-size: .875rem;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; color: #fff; text-decoration: none; }

/* ── Header ──────────────────────────────────────────────── */

#site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--ncs-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo:hover { color: var(--ncs-light); text-decoration: none; }

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--ncs-accent);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.5px;
  color: #fff;
  flex-shrink: 0;
  transition: background var(--dur) var(--ease);
}
.site-logo:hover .logo-icon { background: var(--ncs-accent-dark); }

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name    { font-size: .95rem; font-weight: 700; color: #fff; }
.logo-tagline { font-size: .65rem; color: rgba(255,255,255,.6); letter-spacing: .06em; text-transform: uppercase; }

/* Nav */
#main-nav { margin-left: auto; }

#main-nav ul {
  display: flex;
  align-items: center;
  gap: 2px;
}

#main-nav ul a {
  display: block;
  padding: 7px 14px;
  color: rgba(255,255,255,.82);
  font-size: .875rem;
  font-weight: 500;
  border-radius: var(--r-sm);
  white-space: nowrap;
  text-decoration: none;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
#main-nav ul a:hover,
#main-nav ul a[aria-current="page"] {
  background: rgba(255,255,255,.12);
  color: #fff;
  text-decoration: none;
}
#main-nav ul a[aria-current="page"] { background: var(--ncs-accent); }

/* Header Actions (lang + theme + hamburger) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: 12px;
}

/* Language switch */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 1px;
  padding-right: 10px;
  border-right: 1px solid rgba(255,255,255,.2);
  margin-right: 4px;
}
.lang-btn {
  padding: 5px 8px;
  background: none;
  border: none;
  border-radius: var(--r-sm);
  color: rgba(255,255,255,.55);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  font-family: var(--font);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-btn:hover { background: rgba(255,255,255,.1); color: #fff; }
.lang-btn[aria-pressed="true"] {
  background: rgba(255,255,255,.12);
  color: #fff;
}
.lang-btn[aria-disabled="true"] {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Theme toggle */
#theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  color: #fff;
  flex-shrink: 0;
  transition: background var(--dur) var(--ease);
}
#theme-toggle:hover { background: rgba(255,255,255,.18); }
#theme-toggle svg { display: block; width: 17px; height: 17px; }

/* Hamburger */
#nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.1);
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  color: #fff;
  transition: background var(--dur) var(--ease);
}
#nav-toggle:hover { background: rgba(255,255,255,.18); }
#nav-toggle svg { display: block; width: 20px; height: 20px; }
.icon-close { display: none; }
#nav-toggle[aria-expanded="true"] .icon-open  { display: none; }
#nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ── Buttons ─────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--ncs-accent);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 16px var(--ncs-accent-glow);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn-primary:hover {
  background: var(--ncs-accent-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--ncs-accent-glow);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-md);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.35);
  color: #fff;
  text-decoration: none;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid rgba(255,255,255,.45);
  color: #fff;
  border-radius: var(--r-md);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
  color: #fff;
  text-decoration: none;
}

/* ── Hero (Startseite) ───────────────────────────────────── */

#hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--ncs-primary-dark) 0%, var(--ncs-primary) 55%, #1d4b7a 100%);
  color: #fff;
  padding: 80px 24px 96px;
  text-align: center;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

#hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45,125,210,.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--ncs-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

#hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.trust-num { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; }
.trust-label { font-size: .72rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; }

/* ── Page Hero (Unterseiten) ─────────────────────────────── */

.page-hero {
  background: linear-gradient(145deg, var(--ncs-primary-dark), var(--ncs-primary));
  color: #fff;
  padding: 64px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 600px; margin: 0 auto; }
.page-eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.page-hero p {
  margin-top: 14px;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Archive Notice ──────────────────────────────────────── */

.archive-notice {
  background: var(--ncs-light);
  border: 1px solid var(--ncs-border);
  border-left: 3px solid var(--ncs-accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 12px 16px;
  font-size: .8rem;
  color: var(--ncs-gray);
}
.archive-notice strong { color: var(--ncs-accent); }

/* ── Section Shared ──────────────────────────────────────── */

.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 52px; }
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ncs-accent);
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--ncs-dark);
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.section-header p {
  color: var(--ncs-gray);
  font-size: .97rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Services (Startseite-Grid) ──────────────────────────── */

#services {
  background: var(--ncs-lighter);
  padding: 80px 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--ncs-white);
  border: 1px solid var(--ncs-border);
  border-radius: var(--r-xl);
  padding: 32px 24px 28px;
  text-align: center;
  transition:
    box-shadow var(--dur) var(--ease),
    transform  var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--ncs-accent);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--r-md);
  background: var(--ncs-light);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  transition: background var(--dur) var(--ease);
}
.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--ncs-accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--dur) var(--ease);
}
.service-card:hover .service-icon { background: var(--ncs-accent); }
.service-card:hover .service-icon svg { stroke: #fff; }

.service-card h3 { font-size: 1rem; font-weight: 700; color: var(--ncs-dark); margin-bottom: 8px; }
.service-card p  { font-size: .83rem; color: var(--ncs-gray); line-height: 1.55; }

/* ── Über Uns Teaser (Startseite) ────────────────────────── */

#about-teaser {
  padding: 80px 24px;
  background: var(--bg-page);
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--ncs-light) 0%, var(--ncs-lighter) 100%);
  border: 1px solid var(--ncs-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual svg { width: 70%; opacity: .8; }

.about-text .eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ncs-accent);
  margin-bottom: 12px;
  display: block;
}
.about-text h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--ncs-dark);
  margin-bottom: 16px;
  line-height: 1.25;
  letter-spacing: -.01em;
}
.about-text p { color: var(--ncs-gray); font-size: .95rem; line-height: 1.7; margin-bottom: 14px; }

.about-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  background: var(--ncs-light);
  color: var(--ncs-accent);
  padding: 5px 13px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 600;
  border: 1px solid rgba(45,125,210,.2);
}

/* ── Kontakt-CTA-Band ────────────────────────────────────── */

#contact-cta {
  background: linear-gradient(135deg, var(--ncs-primary) 0%, #1d4b7a 100%);
  padding: 72px 24px;
  text-align: center;
  color: #fff;
}
#contact-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
#contact-cta p {
  color: rgba(255,255,255,.72);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}
.contact-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ── Footer ──────────────────────────────────────────────── */

#site-footer {
  background: var(--ncs-primary-dark);
  color: rgba(255,255,255,.65);
  padding: 48px 24px 24px;
}

.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-name { font-size: 1rem; font-weight: 700; color: #fff; }
.footer-brand p { margin-top: 10px; font-size: .82rem; line-height: 1.6; }

.footer-col h4 {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  color: rgba(255,255,255,.65);
  font-size: .85rem;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
.footer-col ul a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 20px auto 0;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* ═══════════════════════════════════════════════════════════
   Seiten-spezifische Styles
   ═══════════════════════════════════════════════════════════ */

/* ── Über Uns ─────────────────────────────────────────────── */

.content-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.content-wrap > .archive-notice { margin-bottom: 40px; }

.profile-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.profile-card {
  background: var(--ncs-lighter);
  border: 1px solid var(--ncs-border);
  border-radius: var(--r-xl);
  padding: 32px 24px;
  text-align: center;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ncs-primary) 0%, var(--ncs-accent) 100%);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.05em;
}
.profile-name { font-size: 1.1rem; font-weight: 700; color: var(--ncs-dark); margin-bottom: 4px; }
.profile-role { font-size: .8rem; color: var(--ncs-gray); margin-bottom: 20px; }

.profile-badges { display: flex; flex-direction: column; gap: 8px; text-align: left; margin-top: 20px; }
.badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--ncs-gray);
}
.badge-row svg {
  width: 16px;
  height: 16px;
  stroke: var(--ncs-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  flex-shrink: 0;
}

.profile-text h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ncs-dark);
  letter-spacing: -.01em;
  margin-bottom: 16px;
}
.profile-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ncs-dark);
  margin: 28px 0 10px;
}
.profile-text p {
  color: var(--ncs-gray);
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: .97rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.value-card {
  background: var(--ncs-lighter);
  border: 1px solid var(--ncs-border);
  border-radius: var(--r-lg);
  padding: 24px 20px;
}
.value-card svg {
  width: 28px;
  height: 28px;
  stroke: var(--ncs-accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 12px;
}
.value-card h4 { font-size: .95rem; font-weight: 700; color: var(--ncs-dark); margin-bottom: 6px; }
.value-card p { font-size: .82rem; color: var(--ncs-gray); line-height: 1.55; margin: 0; }

/* ── Leistungen ──────────────────────────────────────────── */

.services-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.services-wrap > .archive-notice { margin-bottom: -16px; }

.service-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--ncs-border);
}
.service-block:last-child { border-bottom: none; }

.service-block-icon {
  width: 64px;
  height: 64px;
  background: var(--ncs-light);
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
}
.service-block-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--ncs-accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-block-text h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ncs-dark);
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.service-block-text p {
  color: var(--ncs-gray);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.service-block-text p:last-of-type { margin-bottom: 0; }

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.service-tag {
  background: var(--ncs-lighter);
  border: 1px solid var(--ncs-border);
  color: var(--ncs-gray);
  padding: 3px 10px;
  border-radius: 12px;
  font-size: .75rem;
  font-weight: 500;
}

/* ── Support ─────────────────────────────────────────────── */

.support-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}
.support-wrap > .archive-notice {
  grid-column: 1 / -1;
  margin-top: 0;
  margin-bottom: 0;
}

.form-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--ncs-dark);
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.form-section > p {
  color: var(--ncs-gray);
  font-size: .93rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ncs-dark); }
.field input,
.field select,
.field textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--ncs-border);
  border-radius: var(--r-md);
  font-size: .9rem;
  font-family: var(--font);
  color: var(--ncs-dark);
  background: var(--ncs-white);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ncs-accent);
  box-shadow: 0 0 0 3px rgba(45,125,210,.15);
}
.field textarea { resize: vertical; min-height: 130px; }

.contact-form .btn-primary {
  align-self: flex-start;
  padding: 12px 28px;
}
.contact-form .btn-primary svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.form-hint {
  font-size: .8rem;
  color: var(--ncs-gray);
  line-height: 1.6;
  margin-top: -4px;
}

.info-col { display: flex; flex-direction: column; gap: 16px; }
.info-card {
  background: var(--ncs-lighter);
  border: 1px solid var(--ncs-border);
  border-radius: var(--r-lg);
  padding: 22px;
}
.info-card h3 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ncs-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-card h3 svg {
  width: 17px;
  height: 17px;
  stroke: var(--ncs-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.info-card p { font-size: .84rem; color: var(--ncs-gray); line-height: 1.65; }
.info-card ul { display: flex; flex-direction: column; gap: 6px; }
.info-card ul li { font-size: .84rem; color: var(--ncs-gray); line-height: 1.5; }
.info-card ul li::before { content: '✓ '; color: var(--ncs-accent); font-weight: 700; }

.faq-section { grid-column: 1 / -1; margin-top: 16px; }
.faq-section h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ncs-dark);
  margin-bottom: 24px;
  letter-spacing: -.01em;
}

details { border-bottom: 1px solid var(--ncs-border); }
details:first-of-type { border-top: 1px solid var(--ncs-border); }
summary {
  padding: 18px 0;
  font-size: .97rem;
  font-weight: 600;
  color: var(--ncs-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--ncs-accent);
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease);
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 18px; color: var(--ncs-gray); font-size: .91rem; line-height: 1.75; }

/* ── Rechtstexte (Datenschutz etc.) ──────────────────────── */

.legal-text h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ncs-dark);
  margin: 40px 0 14px;
  letter-spacing: -.01em;
}
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ncs-dark);
  margin: 28px 0 10px;
}
.legal-text h4 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--ncs-dark);
  margin: 20px 0 8px;
}
.legal-text p,
.legal-text li {
  font-size: .9rem;
  color: var(--ncs-gray);
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-text ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal-text a { word-break: break-word; }

/* ── Impressum ───────────────────────────────────────────── */

.impressum-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.impressum-wrap > .archive-notice { margin-bottom: 40px; }

.imp-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--ncs-border);
}
.imp-section:last-child { border-bottom: none; margin-bottom: 0; }

.imp-section h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ncs-dark);
  letter-spacing: -.01em;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.imp-section h2 svg {
  width: 20px;
  height: 20px;
  stroke: var(--ncs-accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.imp-section p,
.imp-section address {
  font-size: .93rem;
  color: var(--ncs-gray);
  line-height: 1.8;
  font-style: normal;
  margin-bottom: 8px;
}
.imp-section p:last-child { margin-bottom: 0; }
.imp-section strong { color: var(--ncs-dark); }
.imp-section code {
  font-size: .82rem;
  background: var(--ncs-lighter);
  border: 1px solid var(--ncs-border);
  padding: 2px 6px;
  border-radius: var(--r-sm);
  word-break: break-all;
}

.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: 12px; }
.data-table td {
  padding: 9px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--ncs-border);
  color: var(--ncs-gray);
  line-height: 1.6;
}
.data-table td:first-child { width: 200px; font-weight: 600; color: var(--ncs-dark); padding-right: 16px; }
.data-table tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .support-wrap { grid-template-columns: 1fr; }
  .faq-section { grid-column: auto; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }

  #nav-toggle { display: inline-flex; }

  /* Nav becomes dropdown */
  #main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--ncs-primary);
    padding: 8px 12px 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height .3s var(--ease), opacity .2s var(--ease), visibility 0s .3s;
  }
  #main-nav.open {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
    transition: max-height .3s var(--ease), opacity .2s var(--ease), visibility 0s 0s;
  }
  #main-nav ul { flex-direction: column; gap: 2px; }
  #main-nav ul a { padding: 12px 14px; }

  /* Header-actions: push to right */
  .header-actions { margin-left: auto; }

  /* Hide lang-switch label text isn't needed; keep buttons */
  .logo-tagline { display: none; }

  #hero { padding: 56px 20px 72px; }
  .hero-trust { gap: 24px; }

  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-visual { display: none; }

  .profile-grid { grid-template-columns: 1fr; }
  .profile-card { position: static; }

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

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 600px) {
  .service-block { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: row; gap: 20px; }
  .values-grid { grid-template-columns: 1fr; }

  /* Compact lang-switch on very small screens */
  .lang-switch { padding-right: 6px; margin-right: 2px; }
  .lang-btn { padding: 4px 6px; }
}
