/* ==========================================================================
   Fläminger PC-Service – Stylesheet
   Aufbau: 1) Reset  2) Tokens  3) Basis  4) Utilities  5) Header/Nav
           6) Hero  7) Sections  8) Cards  9) Steps/Stats  10) Referenzen
           11) Kontakt/Formular  12) Footer  13) Motion  14) Responsive
   ========================================================================== */

/* 1) Reset ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

input, button, textarea, select { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

ul[class], ol[class] { list-style: none; padding: 0; }

a { color: inherit; text-decoration: none; }

blockquote { margin: 0; }

/* 2) Tokens --------------------------------------------------------------- */
:root {
  /* Farbsystem */
  --ink-900: #070B14;
  --ink-800: #0B1222;
  --ink-700: #111A2E;
  --ink-600: #1B2740;
  --slate-500: #55617A;
  --slate-400: #6B7891;
  --slate-300: #94A3B8;
  --line: #E3E8F0;
  --line-dark: rgba(255, 255, 255, .1);
  --paper: #FFFFFF;
  --paper-soft: #F6F8FC;

  --accent: #2563EB;
  --accent-strong: #1D4ED8;
  --accent-soft: #EFF4FF;
  --cyan: #38BDF8;
  --ok: #22C55E;

  /* Typografie */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --font-display: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Roboto, sans-serif;

  /* Radius / Schatten */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(9, 17, 33, .06), 0 1px 3px rgba(9, 17, 33, .05);
  --shadow-md: 0 10px 24px -12px rgba(9, 17, 33, .18), 0 2px 6px rgba(9, 17, 33, .05);
  --shadow-lg: 0 30px 60px -28px rgba(9, 17, 33, .35), 0 8px 20px -12px rgba(9, 17, 33, .2);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-y: clamp(64px, 8vw, 112px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 3) Basis ---------------------------------------------------------------- */
body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate-500);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 600;
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--ink-900);
  color: #fff;
  border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.text-gradient {
  background: linear-gradient(100deg, var(--cyan), #818CF8 60%, #C084FC);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 4) Utilities ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section--soft {
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--dark {
  background: var(--ink-900);
  color: var(--slate-300);
  position: relative;
  overflow: hidden;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .7;
}
.eyebrow--light { color: var(--cyan); }

.section-title {
  font-size: clamp(1.75rem, 3.4vw, 2.65rem);
  margin-bottom: 18px;
}

.section-lead {
  font-size: clamp(1rem, 1.15vw, 1.075rem);
  color: var(--slate-500);
  max-width: 62ch;
}

.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: .94rem;
  letter-spacing: -.01em;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease);
  box-shadow: 0 1px 2px rgba(9, 17, 33, .08);
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary {
  background: linear-gradient(180deg, #3B7BF6, var(--accent));
  box-shadow: 0 10px 22px -12px rgba(37, 99, 235, .9),
              inset 0 1px 0 rgba(255, 255, 255, .24);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #3F7EF8, var(--accent-strong));
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(37, 99, 235, .95),
              inset 0 1px 0 rgba(255, 255, 255, .28);
}

.btn--outline {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--line);
}
.btn--outline:hover {
  border-color: var(--ink-900);
  background: rgba(7, 11, 20, .03);
}

.btn--ghost {
  background: transparent;
  color: var(--ink-700);
  border-color: transparent;
  box-shadow: none;
}
.btn--ghost:hover { background: var(--paper-soft); color: var(--ink-900); }

.btn--light {
  background: #fff;
  color: var(--ink-900);
}
.btn--light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--sm { padding: 10px 16px; font-size: .875rem; }
.btn--lg { padding: 15px 26px; font-size: 1rem; }
.btn--block { width: 100%; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border-radius: var(--r-pill);
  background: rgba(56, 189, 248, .1);
  border: 1px solid rgba(56, 189, 248, .3);
  color: #CFE9FF;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .01em;
}
.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .22);
}

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

/* 5) Header / Navigation -------------------------------------------------- */
/* Der Header liegt am Seitenanfang über dem weissen Grund (der Hero beginnt
   darunter). Deshalb ist die Basisfläche so dunkel, dass die weisse Wortmarke
   immer lesbar bleibt; beim Scrollen wird sie noch deckender. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-block: 14px;
  background: rgba(7, 11, 20, .88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              padding .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(7, 11, 20, .94);
  border-bottom-color: rgba(255, 255, 255, .09);
  padding-block: 8px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex: none;
}
/* Gelieferte Bildmarke (fl-logo). Sie hat einen weissen Bildgrund, deshalb
   steht sie auf dunklen Flächen auf einer weissen Plakette. */
.brand__plate {
  display: block;
  width: 232px;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 18px 34px -24px rgba(0, 0, 0, .95);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brand:hover .brand__plate {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -24px rgba(0, 0, 0, .95);
}
.brand__plate img { width: 100%; height: auto; }

/* SVG-Bildmarke im Header: Monogramm „F“ auf Gradient-Quadrat (wie favicon.svg). */
.brand__mark {
  display: block;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 10px;
  box-shadow: 0 8px 18px -10px rgba(56, 189, 248, .9),
              inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brand__mark svg { display: block; width: 100%; height: 100%; }
.brand:hover .brand__mark {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -12px rgba(56, 189, 248, .95),
              inset 0 1px 0 rgba(255, 255, 255, .26);
}

/* Wortmarke: bewusst einzeilig (white-space: nowrap). */
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .005em;
  line-height: 1.2;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  display: block;
  padding: 9px 10px;
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 500;
  color: #C6D0E0;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__link.is-active { color: #fff; background: rgba(255, 255, 255, .11); }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}
.site-header .btn--ghost {
  color: #D6DEEB;
}
.site-header .btn--ghost:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  padding: 12px 11px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* 6) Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(37, 99, 235, .34), transparent 60%),
    radial-gradient(90% 80% at 8% 0%, rgba(56, 189, 248, .16), transparent 55%),
    linear-gradient(180deg, var(--ink-900), #0A1120 55%, #070C16);
  color: #E7EDF7;
  padding-top: clamp(48px, 7vw, 88px);
  padding-bottom: clamp(40px, 5vw, 64px);
  overflow: hidden;
  isolation: isolate;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(85% 70% at 50% 20%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(85% 70% at 50% 20%, #000 25%, transparent 78%);
}

.hero__glow {
  position: absolute;
  width: 620px;
  height: 620px;
  right: -180px;
  top: -240px;
  z-index: -1;
  background: radial-gradient(circle, rgba(56, 189, 248, .22), transparent 68%);
  filter: blur(10px);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__title {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -.035em;
  margin-block: 22px 20px;
}

.hero__lead {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  color: #B4C1D6;
  max-width: 54ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero .btn--outline {
  color: #E7EDF7;
  border-color: rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .05);
}
.hero .btn--outline:hover {
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .88rem;
  color: #93A2BA;
}
.hero__meta li { display: flex; align-items: baseline; gap: 7px; }
.hero__meta strong { color: #fff; font-weight: 600; font-size: .95rem; }

/* Hero-Visual */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.panel {
  width: 100%;
  max-width: 430px;
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(24, 36, 58, .96), rgba(11, 18, 34, .98));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .07);
  overflow: hidden;
  transform: rotateX(2deg) rotateY(-4deg);
  animation: float 9s ease-in-out infinite;
}

.panel__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .03);
}
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot--red { background: #FF5F57; }
.dot--amber { background: #FEBC2E; }
.dot--green { background: #28C840; }
.panel__title {
  margin-left: auto;
  font-size: .72rem;
  letter-spacing: .06em;
  color: #93A2BA;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.panel__body { padding: 18px 16px 6px; }

.metric__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: #91A0B9;
}
.badge--live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: var(--r-pill);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7EF0A7;
  background: rgba(34, 197, 94, .14);
  border: 1px solid rgba(34, 197, 94, .32);
}

.metric__value {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 600;
  letter-spacing: -.03em;
  color: #fff;
  margin-top: 6px;
  line-height: 1.1;
}
.metric__value span { font-size: 1.05rem; color: #7F8FA8; margin-left: 3px; }

.spark { margin-top: 4px; height: 60px; }
.spark svg { width: 100%; height: 100%; }

.status-list {
  display: grid;
  gap: 1px;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 6px;
}
.status-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 2px;
  font-size: .82rem;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.status-list li:last-child { border-bottom: 0; }
.status-list__name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #C3CFE2;
}
.status-list__value {
  color: #8A98B0;
  font-variant-numeric: tabular-nums;
  font-size: .78rem;
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}
.status-dot--ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(34, 197, 94, .16); }
.status-dot--warn { background: #FBBF24; box-shadow: 0 0 0 3px rgba(251, 191, 36, .16); }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 15px;
  border-radius: var(--r-md);
  background: rgba(14, 22, 38, .92);
  border: 1px solid rgba(255, 255, 255, .13);
  box-shadow: 0 18px 34px -20px rgba(0, 0, 0, .9);
  backdrop-filter: blur(8px);
  font-size: .78rem;
  color: #93A2BA;
}
.float-card .icon {
  width: 20px;
  height: 20px;
  color: var(--cyan);
}
.float-card strong {
  display: block;
  color: #fff;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: -.01em;
}
.float-card--a {
  top: 12%;
  left: -6%;
  animation: float 7s ease-in-out .4s infinite;
}
.float-card--b {
  bottom: 9%;
  right: -4%;
  animation: float 8s ease-in-out 1.2s infinite;
}
.float-card--b .icon { color: #4ADE80; }

/* Kundenleiste */
.clients {
  margin-top: clamp(44px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.clients__label {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #7A889F;
  margin-bottom: 18px;
}
.clients__list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 42px;
}
.clients__list li {
  font-family: var(--font-display);
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: rgba(231, 237, 247, .62);
  transition: color .25s var(--ease);
}
.clients__list li:hover { color: rgba(231, 237, 247, .92); }

/* 7) Sections: Split ------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* Bildmarke auf hellen Flächen – transparente Fassung, damit kein weisser
   Kasten auf dem hellen Grund sichtbar wird. */
.about-logo {
  width: min(100%, 320px);
  height: auto;
  margin-bottom: clamp(20px, 3vw, 30px);
}
.legal__logo {
  width: min(100%, 240px);
  height: auto;
  margin-bottom: 26px;
}

.checklist {
  display: grid;
  gap: 13px;
  margin-block: 28px 32px;
}
.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: .96rem;
  color: var(--slate-500);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .18em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.fact {
  background: var(--paper);
  padding: clamp(20px, 3vw, 28px);
}
.fact__value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -.03em;
  line-height: 1.15;
}
.fact__label {
  font-size: .84rem;
  color: var(--slate-500);
  margin-top: 6px;
}

/* 8) Cards ---------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(37, 99, 235, .06), transparent 45%);
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #CFDBEE;
}
.card:hover::after { opacity: 1; }

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
  border: 1px solid #DBE6FB;
}
.card__icon svg { width: 24px; height: 24px; }

.card__title {
  font-size: 1.14rem;
  margin-bottom: 10px;
  letter-spacing: -.015em;
}
.card__text {
  font-size: .94rem;
  color: var(--slate-500);
  margin-bottom: 18px;
}

.card__list {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .875rem;
  color: var(--slate-500);
}
.card__list li {
  position: relative;
  padding-left: 18px;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: .55;
}

/* Hervorgehobene Karte über die volle Zeilenbreite: das Kernthema Software.
   Läuft im Raster über alle Spalten und stellt Text und Stichpunkte auf
   breiten Bildschirmen nebeneinander. */
.card--feature {
  grid-column: 1 / -1;
  display: grid;
  gap: clamp(20px, 2.6vw, 34px);
  background:
    radial-gradient(120% 150% at 100% 0%, rgba(56, 189, 248, .16), transparent 58%),
    linear-gradient(150deg, #FFFFFF, var(--accent-soft));
  border-color: #D2DEEE;
}
.card--feature .card__title { font-size: clamp(1.22rem, 1.9vw, 1.5rem); }
.card--feature .card__text { margin-bottom: 0; max-width: 58ch; }
.card--feature .card__list {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  align-content: start;
  gap: 9px;
}
.card--feature .card__list li {
  padding: 11px 14px 11px 38px;
  border: 1px solid #DCE6F7;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .8);
  font-size: .89rem;
}
.card--feature .card__list li::before {
  top: 50%;
  left: 16px;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  opacity: .85;
}

@media (min-width: 900px) {
  .card--feature {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
  }
}

/* 9) Steps / Stats -------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  counter-reset: step;
}
.step {
  position: relative;
  padding: clamp(22px, 2.4vw, 28px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 0 0 2px 2px;
  opacity: .8;
}
.step__num {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--accent);
}
.step__title {
  font-size: 1.08rem;
  margin-block: 10px 8px;
}
.step__text {
  font-size: .9rem;
  color: var(--slate-500);
}
.step__meta {
  display: inline-block;
  margin-top: 16px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--paper-soft);
  border: 1px solid var(--line);
  font-size: .74rem;
  font-weight: 600;
  color: var(--slate-500);
}

.stats { padding-block: clamp(52px, 7vw, 84px); }
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 120% at 50% 0%, rgba(37, 99, 235, .26), transparent 65%);
  pointer-events: none;
}
.stats__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 40px);
}
.stat { text-align: left; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -.035em;
  color: #fff;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: .87rem;
  color: #9AA8BE;
  margin-top: 10px;
  max-width: 22ch;
}
.stats__note {
  position: relative;
  margin-top: clamp(30px, 4vw, 44px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .78rem;
  color: #8593A9;
  letter-spacing: .02em;
}

/* 10) Referenzen ---------------------------------------------------------- */
.quote {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.quote__stars {
  color: #F5A623;
  letter-spacing: .18em;
  font-size: .88rem;
  margin-bottom: 14px;
}
.quote__text {
  font-size: .97rem;
  color: var(--ink-700);
  line-height: 1.7;
  margin-bottom: 22px;
}
.quote__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: .84rem;
}
.quote__author strong {
  display: block;
  color: var(--ink-900);
  font-size: .9rem;
  font-weight: 600;
}
.quote__author span span { color: var(--slate-500); }
.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(160deg, #DBE7FE, #EFF4FF);
  border: 1px solid #D6E3FB;
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.casestudy {
  margin-top: clamp(28px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(26px, 3.4vw, 42px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(90% 140% at 100% 0%, rgba(56, 189, 248, .22), transparent 60%),
    linear-gradient(140deg, var(--ink-800), var(--ink-900));
  color: #C9D5E6;
  box-shadow: var(--shadow-lg);
}
.casestudy__content { max-width: 640px; }
.casestudy__title {
  color: #fff;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  margin-bottom: 12px;
}
.casestudy__text {
  font-size: .95rem;
  color: #A7B5CA;
}
.casestudy__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin-top: 22px;
  font-size: .86rem;
  color: #93A2BA;
}
.casestudy__facts strong {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin-right: 4px;
}

/* 11) Kontakt / Formular -------------------------------------------------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact__list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.contact__list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: .95rem;
  color: var(--ink-700);
}
.contact__list a { transition: color .2s var(--ease); }
.contact__list a:hover { color: var(--accent); }
.contact__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border-radius: 11px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  color: var(--accent);
}
.contact__icon svg { width: 19px; height: 19px; }

.contact__card {
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}

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

.field { display: grid; gap: 7px; }

.field label {
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: -.005em;
}
.field label span { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-900);
  font-size: .94rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 104px; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7891' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}

.field input::placeholder,
.field textarea::placeholder { color: #9BA6B8; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #CBD5E5; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .14);
}

.field--check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
}
.field--check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
  border-radius: 4px;
}
.field--check label {
  font-weight: 400;
  font-size: .83rem;
  color: var(--slate-500);
  line-height: 1.6;
}
.field--check label a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.field__error {
  font-size: .78rem;
  color: #DC2626;
}
.field--check .field__error { grid-column: 1 / -1; }
.field__error[hidden] { display: none; }
.field.has-error input,
.field.has-error textarea { border-color: #F0A3A3; background: #FFF8F8; }
.field.has-error input:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }

.form__hint {
  font-size: .78rem;
  color: var(--slate-500);
  text-align: center;
  margin-top: -4px;
}
.form__status {
  font-size: .86rem;
  font-weight: 500;
  text-align: center;
  min-height: 1.2em;
  color: var(--ok);
}
.form__status.is-error { color: #DC2626; }

/* Honeypot-Feld: für Menschen unsichtbar, für Bots ein Köder. */
.field--honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

/* Während des Sendens */
.btn[disabled] {
  opacity: .65;
  cursor: progress;
  transform: none;
}

/* 12) Footer -------------------------------------------------------------- */
.site-footer {
  background: var(--ink-900);
  color: #8D9BB2;
  padding-top: clamp(52px, 6vw, 76px);
  padding-bottom: 30px;
  font-size: .9rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(36px, 4vw, 52px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.brand--footer { color: #fff; margin-bottom: 16px; }
.footer__text {
  max-width: 34ch;
  font-size: .875rem;
  color: #7C8AA1;
}
.footer__title {
  font-family: var(--font-sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer__col ul { display: grid; gap: 10px; font-size: .875rem; }
.footer__col a { transition: color .2s var(--ease); }
.footer__col a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 24px;
  font-size: .82rem;
  color: #7C8AA1;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__legal a { transition: color .2s var(--ease); }
.footer__legal a:hover { color: #fff; }

/* 12b) Rechtstexte ------------------------------------------------------- */
.legal-body { background: var(--paper-soft); }

.legal { padding-block: clamp(44px, 6vw, 76px) clamp(56px, 7vw, 96px); }

.legal__inner { max-width: 840px; }

.legal__title {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin-bottom: 16px;
}

.legal__lead {
  font-size: 1.02rem;
  color: var(--slate-500);
  max-width: 68ch;
}

.legal__note {
  margin-block: 28px 8px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--accent-soft);
  font-size: .88rem;
  color: #33415C;
}

.legal h2 {
  font-size: 1.14rem;
  margin-block: 34px 10px;
  letter-spacing: -.01em;
}

.legal p,
.legal li {
  font-size: .95rem;
  color: var(--slate-500);
}

.legal p { margin-bottom: 14px; max-width: 70ch; }

.legal a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.legal a:hover { color: var(--accent); }

.legal .legal__list {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  padding-left: 1.2em;
  list-style: disc;
}
.legal__list::marker,
.legal__list li::marker { color: var(--accent); }

.legal__back { margin-top: 44px; }
.legal__back a { text-decoration: none; }

/* 13) Motion -------------------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-4deg); }
  50% { transform: translateY(-11px) rotateX(2deg) rotateY(-4deg); }
}
.float-card--a,
.float-card--b { animation-name: float-card; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  /* "backwards" hält den Startzustand während der Verzögerung und gibt die
     Kontrolle danach frei – so bleiben Hover-Transitions unbeeinflusst. */
  animation: reveal-up .65s var(--ease) var(--reveal-delay, 0ms) backwards;
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* 14) Responsive ---------------------------------------------------------- */
/* Schmale Desktops: Header bleibt einzeilig. Die Telefonnummer weicht dem
   Symbol (der Link behält seinen aria-label), damit Name + Navigation
   nebeneinander Platz haben. */
@media (max-width: 1160px) {
  .brand { gap: 9px; }
  .brand__mark { width: 32px; height: 32px; border-radius: 9px; }
  .brand__name { font-size: .92rem; }
  .nav { gap: 16px; }
  .nav__link { padding: 9px 9px; font-size: .86rem; }
  .site-header .btn--ghost { padding: 10px 12px; }
  .site-header .btn--ghost .btn__label { display: none; }
}

@media (max-width: 1080px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; margin-bottom: 8px; }
  .panel { max-width: 460px; }
  .float-card--a { left: 0; }
  .float-card--b { right: 0; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .nav {
    position: fixed;
    inset: 66px 12px auto 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border-radius: var(--r-lg);
    background: rgba(9, 15, 27, .98);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease),
                visibility .25s;
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav__link {
    padding: 13px 14px;
    font-size: 1rem;
    border-radius: var(--r-sm);
  }
  .nav__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
  }
  .nav__actions .btn { width: 100%; padding: 13px 18px; font-size: .95rem; }
  .site-header .btn--ghost { border: 1px solid rgba(255, 255, 255, .16); }
  /* Im aufgeklappten Menü steht die Nummer wieder als Text. */
  .site-header .btn--ghost .btn__label { display: inline; }
  .nav-toggle { display: flex; }

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

  .casestudy { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 84px; }
  .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; gap: 22px; }
  .stat { display: flex; align-items: baseline; gap: 14px; }
  .stat__label { margin-top: 0; max-width: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__meta { gap: 10px 18px; font-size: .84rem; }
  .float-card { display: none; }
  .panel { animation: none; transform: none; }
  .clients__list { gap: 10px 24px; }
  .clients__list li { font-size: .86rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .casestudy__facts { gap: 8px 20px; }
}

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

@media print {
  .site-header, .nav-toggle, .hero__visual, .site-footer .footer__legal { display: none; }
  body { color: #000; }
  .reveal { opacity: 1; transform: none; }
}
