/* ==========================================================================
   InnoBlocks Trading — Design System
   Modern, ruhig, B2B-tauglich. Eine Datei für alle Sprachversionen.
   ========================================================================== */

:root {
  /* Brand */
  --brand-400: #4FA3F0;
  --brand-500: #1E7FD8;
  --brand-600: #1668B8;
  --accent-400: #FFB067;
  --accent-500: #F2994A;

  /* Ink */
  --ink-900: #0A1428;
  --ink-800: #0F1E38;
  --ink-700: #16294A;

  /* Surfaces */
  --surface: #FFFFFF;
  --surface-2: #F6F8FC;
  --surface-3: #EDF2F9;
  --line: #E3E9F3;
  --line-strong: #D3DCEB;

  /* Text */
  --text: #101B2E;
  --text-muted: #55647C;

  /* Radii */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(16, 27, 46, 0.06), 0 1px 3px rgba(16, 27, 46, 0.04);
  --shadow-md: 0 10px 28px -12px rgba(16, 27, 46, 0.18), 0 2px 6px rgba(16, 27, 46, 0.05);
  --shadow-lg: 0 30px 70px -28px rgba(16, 27, 46, 0.32), 0 10px 24px -16px rgba(16, 27, 46, 0.18);

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #2C8BE8 0%, #1E7FD8 48%, #1668B8 100%);
  --grad-warm: linear-gradient(135deg, #FFB067 0%, #F2994A 100%);
  --grad-ink: linear-gradient(165deg, #0A1428 0%, #0F1E38 48%, #12294B 100%);

  /* Type */
  --font-heading: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --max-width: 1180px;
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */

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

body, h1, h2, h3, h4, p, ul, ol, figure, fieldset, legend { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
fieldset { border: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.022em;
  color: var(--text);
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { color: var(--brand-600); }

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

::selection { background: rgba(30, 127, 216, 0.18); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--ink-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 200;
  transition: top 0.25s var(--ease);
}

.skip-link:focus { top: 14px; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll offset for sticky header */
main > section { scroll-margin-top: calc(var(--header-h) + 20px); }

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(16, 27, 46, 0.07);
}

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

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  height: 40px;
  width: auto;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 0.8125rem;
  font-weight: 700;
}

.lang-switch a,
.lang-switch .lang-current {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap;
}

.lang-switch a:hover {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.lang-switch .lang-current {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  opacity: 1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.main-nav a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.main-nav a.nav-cta {
  margin-left: 8px;
  padding: 11px 22px;
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 10px 22px -12px rgba(30, 127, 216, 0.9);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.main-nav a.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -14px rgba(30, 127, 216, 0.95);
  background: var(--grad-brand);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 16px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle::before {
  content: "";
  width: 16px;
  height: 10px;
  background:
    linear-gradient(var(--text), var(--text)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--text), var(--text)) 0 4px / 100% 2px no-repeat,
    linear-gradient(var(--text), var(--text)) 0 8px / 100% 2px no-repeat;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.btn-primary {
  color: #fff;
  background: var(--grad-brand);
  box-shadow: 0 14px 30px -14px rgba(30, 127, 216, 0.95);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -16px rgba(30, 127, 216, 1);
}

.btn-primary:active { transform: translateY(0); }

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 82vh, 820px);
  padding: 120px 0 190px;
  background: var(--grad-ink);
  color: #fff;
  isolation: isolate;
}

/* Mesh glow – kept subtle so it does not fight the video */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  z-index: -2;
  background:
    radial-gradient(46% 46% at 18% 22%, rgba(30, 127, 216, 0.34), transparent 70%),
    radial-gradient(38% 38% at 82% 12%, rgba(242, 153, 74, 0.16), transparent 70%);
  filter: blur(10px);
}

/* Fine grid */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 25%, transparent 78%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.hero-text { max-width: 46rem; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  margin-bottom: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-400);
  box-shadow: 0 0 0 4px rgba(242, 153, 74, 0.22);
  flex-shrink: 0;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 24px;
}

.hero-subhead {
  font-size: clamp(1rem, 1.4vw, 1.1875rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.76);
  max-width: 34em;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: 46px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stats strong {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-stats span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Background video – full-bleed, slightly desaturated and darkened */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.04) brightness(0.6);
  pointer-events: none;
}

/* Readability scrim on top of the video */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(
      100deg,
      rgba(9, 17, 30, 0.95) 0%,
      rgba(9, 17, 30, 0.86) 38%,
      rgba(9, 17, 30, 0.58) 72%,
      rgba(9, 17, 30, 0.42) 100%
    ),
    radial-gradient(55% 60% at 12% 18%, rgba(30, 127, 216, 0.3), transparent 72%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Trust bar (overlaps hero)
   -------------------------------------------------------------------------- */

.vertrauen {
  position: relative;
  z-index: 3;
  margin-top: -84px;
  padding-bottom: 24px;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-item {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.trust-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 127, 216, 0.35);
}

.trust-item::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background-color: var(--brand-500);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  box-shadow: 0 10px 20px -10px rgba(30, 127, 216, 0.85);
}

.trust-item:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M12 3c2.6 2.6 2.6 15.4 0 18M12 3c-2.6 2.6-2.6 15.4 0 18'/%3E%3C/svg%3E");
}

.trust-item:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7.5 3v6.2c0 4.6-3.1 7.7-7.5 9.3-4.4-1.6-7.5-4.7-7.5-9.3V6L12 3z'/%3E%3Cpath d='M9 12.2l2.1 2.1 4-4.2'/%3E%3C/svg%3E");
  background-color: var(--accent-500);
  box-shadow: 0 10px 20px -10px rgba(242, 153, 74, 0.9);
}

.trust-item:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 7.5h10.5v9H2.5z'/%3E%3Cpath d='M13 10.5h4l3.5 3.5v2.5H13z'/%3E%3Ccircle cx='6.5' cy='18.5' r='1.6'/%3E%3Ccircle cx='17' cy='18.5' r='1.6'/%3E%3C/svg%3E");
}

.trust-item:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M4.8 20c0-3.6 3.2-6.2 7.2-6.2s7.2 2.6 7.2 6.2'/%3E%3C/svg%3E");
  background-color: var(--ink-700);
  box-shadow: 0 10px 20px -10px rgba(22, 41, 74, 0.9);
}

.trust-item h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

.trust-item p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */

.leistungen,
.ablauf,
.produktbereiche,
.referenzen,
.faq,
.kontakt,
.vorteile,
.ueber-uns {
  padding: 96px 0;
}

.leistungen h2,
.ablauf h2,
.produktbereiche h2,
.referenzen h2,
.faq h2,
.kontakt h2,
.vorteile h2,
.ueber-uns h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  text-align: center;
  margin-bottom: 18px;
}

.leistungen h2::after,
.ablauf h2::after,
.produktbereiche h2::after,
.referenzen h2::after,
.faq h2::after,
.kontakt h2::after,
.vorteile h2::after,
.ueber-uns h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin: 20px auto 0;
  border-radius: 999px;
  background: var(--grad-warm);
}

.section-intro {
  max-width: 620px;
  margin: 0 auto 52px;
  text-align: center;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Leistungen
   -------------------------------------------------------------------------- */

.leistungen { background: var(--surface); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.leistung-card,
.produkt-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease),
    border-color 0.32s var(--ease);
}

.leistung-card:hover,
.produkt-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 127, 216, 0.32);
}

.leistung-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 24px;
  background: var(--surface-3);
}

.leistung-card h3,
.produkt-card h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin-bottom: 12px;
}

.leistung-card p,
.produkt-card p {
  font-size: 0.9688rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.leistung-card ul {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.leistung-card ul li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
}

.leistung-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: rgba(30, 127, 216, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7FD8' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--brand-600);
  text-decoration: none;
  transition: gap 0.25s var(--ease), color 0.2s var(--ease);
}

.card-cta::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.card-cta:hover {
  color: var(--brand-500);
  text-decoration: none;
}

.card-cta:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Ablauf (Timeline)
   -------------------------------------------------------------------------- */

.ablauf { background: var(--surface-2); }

.ablauf-list {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.ablauf-step {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding-bottom: 18px;
}

.ablauf-step::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 56px;
  bottom: -6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--line-strong), rgba(211, 220, 235, 0.15));
}

.ablauf-step:last-child { padding-bottom: 0; }
.ablauf-step:last-child::before { display: none; }

.ablauf-num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-brand);
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 800;
  box-shadow: 0 12px 24px -12px rgba(30, 127, 216, 0.95);
}

.ablauf-step > div {
  flex: 1;
  padding: 20px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.ablauf-step:hover > div {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 127, 216, 0.3);
}

.ablauf-step h3 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.ablauf-step p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Produktbereiche
   -------------------------------------------------------------------------- */

.produktbereiche { background: var(--surface); }

.produkt-card {
  padding: 30px 28px;
  overflow: hidden;
}

.produkt-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 22px;
  background: var(--surface-3);
}

/* Media block for product cards without a photo – keeps the grid heights even */
.produkt-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background:
    radial-gradient(70% 70% at 30% 20%, rgba(30, 127, 216, 0.14), transparent 70%),
    radial-gradient(60% 60% at 80% 85%, rgba(242, 153, 74, 0.14), transparent 70%),
    var(--surface-3);
}

.produkt-card-media::before {
  content: "";
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background-color: var(--surface);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px 30px;
  box-shadow: 0 14px 28px -14px rgba(10, 20, 35, 0.35);
  transition: background-color 0.3s var(--ease);
}

.produkt-card:hover .produkt-card-media::before {
  background-color: rgba(30, 127, 216, 0.12);
}

.produkt-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.produkt-card:hover::before { opacity: 1; }

.produkt-card h3 {
  display: flex;
  align-items: center;
  gap: 14px;
}

.produkt-card:nth-child(3) .produkt-card-media::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7FD8' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3v7a3 3 0 006 0V3'/%3E%3Cpath d='M9 10v11'/%3E%3Cpath d='M17.5 3c-1.6 2.2-2.2 4.2-2.2 6.2 0 1.9.7 2.9 2.2 2.9s2.2-1 2.2-2.9c0-2-.6-4-2.2-6.2z'/%3E%3Cpath d='M17.5 12.1V21'/%3E%3C/svg%3E");
}

.produkt-card:nth-child(4) .produkt-card-media::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7FD8' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20c0-8.5 6-14.5 16-16 0 10-6 16-16 16z'/%3E%3Cpath d='M4 20L14.5 9.5'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Vorteile (dark)
   -------------------------------------------------------------------------- */

.vorteile {
  position: relative;
  overflow: hidden;
  background: var(--grad-ink);
  color: #fff;
  isolation: isolate;
}

.vorteile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 55% at 12% 15%, rgba(30, 127, 216, 0.4), transparent 70%),
    radial-gradient(35% 45% at 88% 85%, rgba(242, 153, 74, 0.22), transparent 70%);
}

.vorteile h2 { color: #fff; }

.vorteile-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.vorteile-list li {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.vorteile-list li:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.24);
}

.vorteile-list li::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--grad-warm);
}

.vorteile-list h3 {
  font-size: 1.0625rem;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 8px;
}

.vorteile-list p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.68);
}

/* --------------------------------------------------------------------------
   Referenzen
   -------------------------------------------------------------------------- */

.referenzen { background: var(--surface); }

.case-study-placeholder {
  max-width: 680px;
  margin: 0 auto;
  padding: 44px 32px;
  text-align: center;
  color: var(--text-muted);
  background: var(--surface-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   Über uns
   -------------------------------------------------------------------------- */

.ueber-uns { background: var(--surface-2); }

.ueber-uns-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.ueber-uns-image {
  display: flex;
  justify-content: center;
}

.ueber-uns-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid rgba(30, 127, 216, 0.18);
  box-shadow: 0 28px 60px -28px rgba(10, 20, 35, 0.45);
  background: var(--surface);
}

.ansprechpartner-avatar {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-brand);
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 30px 60px -24px rgba(30, 127, 216, 0.75);
}

.ansprechpartner-avatar::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(30, 127, 216, 0.28);
}

.ueber-uns-text h2 {
  text-align: left;
  margin-bottom: 22px;
}

.ueber-uns-text p {
  font-size: 1.0313rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.ueber-uns-text p:last-child { margin-bottom: 0; }

.ueber-uns-text a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--brand-600);
  text-decoration: none;
  border-bottom: 2px solid rgba(30, 127, 216, 0.25);
  padding-bottom: 2px;
  transition: border-color 0.2s var(--ease);
}

.ueber-uns-text a:hover { border-color: var(--brand-500); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq { background: var(--surface); }

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 22px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
}

.faq-list details:hover { border-color: var(--line-strong); }

.faq-list details[open] {
  background: var(--surface-2);
  border-color: rgba(30, 127, 216, 0.3);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: rgba(30, 127, 216, 0.1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E7FD8' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px 13px;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.faq-list details[open] summary::after {
  transform: rotate(135deg);
  background-color: rgba(30, 127, 216, 0.16);
}

.faq-list details p {
  padding: 0 0 20px;
  font-size: 0.9688rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

.kontakt {
  position: relative;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(30, 127, 216, 0.09), transparent 70%),
    var(--surface-2);
}

.kontakt-form {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label,
.form-row legend {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  padding: 0;
}

.form-row legend { margin-bottom: 10px; }

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.9688rem;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.form-row input::placeholder,
.form-row textarea::placeholder { color: #93a1b8; }

.form-row input:hover,
.form-row textarea:hover { border-color: var(--line-strong); }

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(30, 127, 216, 0.14);
}

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

fieldset.form-row {
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

fieldset.form-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 18px 8px 0;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
}

fieldset.form-row input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: var(--brand-500);
  cursor: pointer;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-note {
  font-size: 0.8438rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.privacy-note a {
  color: var(--brand-600);
  font-weight: 600;
}

.kontakt-form .btn-primary {
  width: 100%;
  margin-top: 4px;
}

#form-feedback {
  font-size: 0.9375rem;
  font-weight: 600;
  min-height: 0;
}

#form-feedback.success { color: #157347; }
#form-feedback.error { color: #b3261e; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  margin-top: 0;
  padding: 64px 0 40px;
  background: var(--ink-900);
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-company p {
  margin-bottom: 6px;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-name {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 10px !important;
}

.footer-company a,
.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-company a:hover,
.footer-links a:hover { color: #fff; }

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.footer-links a { margin-right: 0; }

.footer-copyright {
  width: 100%;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8438rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   Legal pages
   -------------------------------------------------------------------------- */

.legal-page {
  padding: 72px 24px 96px;
  max-width: 800px;
}

.legal-page h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 12px;
}

.legal-page h1::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  margin-top: 20px;
  border-radius: 999px;
  background: var(--grad-warm);
}

.legal-page h2 {
  font-size: 1.1875rem;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-page p {
  margin-bottom: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.legal-page a { color: var(--brand-600); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .main-nav a { padding: 9px 10px; font-size: 0.9rem; }
  .main-nav a.nav-cta { padding: 10px 16px; }
  .hero-inner { gap: 44px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }

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

  .main-nav a {
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
  }

  .main-nav a.nav-cta {
    margin: 8px 0 0;
    text-align: center;
    justify-content: center;
  }

  .header-inner { position: relative; }

  .hero {
    min-height: 0;
    padding: 72px 0 140px;
  }

  .hero-inner,
  .ueber-uns-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .ueber-uns-text h2 { text-align: center; }

  .ueber-uns-image { order: -1; }

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

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

  .leistungen,
  .ablauf,
  .produktbereiche,
  .referenzen,
  .faq,
  .kontakt,
  .vorteile,
  .ueber-uns { padding: 72px 0; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }

  .container { padding: 0 18px; }

  .logo { height: 34px; }

  .header-controls { gap: 10px; }

  .lang-switch { font-size: 0.75rem; }
  .lang-switch a,
  .lang-switch .lang-current { padding: 5px 8px; }

  .hero { padding: 48px 0 120px; }

  .hero-eyebrow {
    font-size: 0.75rem;
    padding: 7px 14px 7px 11px;
  }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; }

  .hero-stats {
    gap: 18px 28px;
    margin-top: 34px;
    padding-top: 24px;
  }

  .vertrauen { margin-top: -72px; }

  .trust-bar { grid-template-columns: 1fr; gap: 12px; }

  .trust-item { padding: 22px 20px; }

  .trust-item::before {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background-size: 19px 19px;
    margin-bottom: 14px;
  }

  .leistung-card,
  .produkt-card { padding: 22px; }

  .ablauf-step { gap: 14px; }

  .ablauf-num {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 0.9375rem;
  }

  .ablauf-step::before { left: 19px; top: 48px; }

  .ablauf-step > div { padding: 16px 18px; }

  .ansprechpartner-avatar { width: 160px; height: 160px; font-size: 2.25rem; }

  .kontakt-form { padding: 24px 20px; border-radius: var(--radius-lg); }

  .faq-list details { padding: 2px 18px; }

  .footer-inner { flex-direction: column; gap: 24px; }

  .site-footer { padding: 48px 0 32px; }
}

/* --------------------------------------------------------------------------
   Motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}
