/* ============================================================
   Barmettler ICT – style.css
   Stack: pure CSS, keine Build-Tools nötig
   Theme: dunkler ICT-Look mit Markenfarben
   ============================================================ */

/* ---------- 0. Self-hosted Fonts (Catamaran + Manrope, Variable) ----------
   Lokal aus /assets/fonts/ ausgeliefert — kein Google-Fonts-CDN nötig,
   funktioniert auch ohne externes Netzwerk und ohne installierte System-Schrift.
*/
@font-face {
  font-family: 'Catamaran';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/catamaran-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Catamaran';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/catamaran-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 1. Reset & Basics ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background-color: var(--c-bg);
  background-image:
    radial-gradient(circle at 15% 8%, rgba(53, 64, 158, 0.18), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(0, 191, 128, 0.10), transparent 55%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { font-family: inherit; cursor: pointer; }

ul { padding: 0; margin: 0; list-style: none; }

::selection { background: var(--c-accent); color: #08111f; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--c-accent);
  color: #08111f;
  padding: .6rem 1rem;
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- 2. Design Tokens ---------- */
:root {
  /* Marke (offizielles CI Barmettler ICT) */
  --c-brand-dark:    #222962;          /* abgedunkeltes Brand-Blau für Verläufe */
  --c-brand:         #35409E;          /* rgb(53, 64, 158) */
  --c-accent:        #00BF80;          /* rgb(0, 191, 128) */
  --c-anthracite:    #434955;          /* rgb(67, 73, 85) */
  --c-white:         #ffffff;

  /* Background System */
  --c-bg:            #0B1126;   /* sehr dunkles Blau, an Marke angelehnt */
  --c-bg-elev:       #111A36;
  --c-bg-card:       rgba(20, 28, 56, 0.65);
  --c-bg-card-strong:rgba(15, 22, 45, 0.85);
  --c-border:        rgba(255, 255, 255, 0.08);
  --c-border-strong: rgba(255, 255, 255, 0.15);

  --c-text:          #E4E7F1;
  --c-text-mute:     #9098B1;
  --c-text-dim:      #6E7693;
  --c-text-strong:   #ffffff;

  /* Typografie — Catamaran für Überschriften (CI-Logo-Schrift), Manrope für Fliesstext */
  --font-display: "Catamaran", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-body:    "Manrope", "Inter", "Helvetica Neue", system-ui, sans-serif;

  /* Spacing & Layout */
  --max:        1240px;
  --radius:     18px;
  --radius-sm:  10px;
  --radius-lg:  24px;

  /* Shadows */
  --shadow-card: 0 24px 60px -28px rgba(0, 0, 0, 0.7),
                 0 1px 0 rgba(255, 255, 255, 0.05) inset;
  --shadow-glow: 0 0 0 1px rgba(0, 191, 128, 0.45),
                 0 0 40px -8px rgba(0, 191, 128, 0.45);

  /* Easing */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-text-strong);
  margin: 0 0 .6em;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin: 0 0 1em; }

.text-accent {
  color: var(--c-accent);
  background: linear-gradient(120deg, #00BF80, #33D9A2);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  padding: .35rem .8rem;
  border: 1px solid var(--c-border);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin-bottom: 1.2rem;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--c-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--c-accent);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.55; }
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 2.4rem);
  position: relative;
}

.section {
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  position: relative;
}

.section-head { max-width: 740px; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section-head-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  max-width: 100%;
}
.section-head-split .section-lead { margin: 0; max-width: 460px; }

.section-title { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: .4em; }
.section-lead {
  color: var(--c-text-mute);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  max-width: 640px;
  line-height: 1.7;
}

@media (max-width: 800px) {
  .section-head-split { grid-template-columns: 1fr; align-items: start; }
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 600;
  padding: 0.95rem 1.5rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease-out), background .25s ease, box-shadow .25s ease, color .25s ease, filter .25s ease;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.2;
}
.btn:hover { transform: translate3d(0, -2px, 0); }
.btn:active { transform: translate3d(0, 0, 0); }
.btn:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-accent) 100%);
  color: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    0 10px 24px -10px rgba(0, 191, 128, 0.45);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-brand) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: -1;
}
.btn-primary:hover {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 14px 30px -10px rgba(0, 191, 128, 0.6);
  filter: brightness(1.04);
}
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  background: transparent;
  color: var(--c-text-strong);
  box-shadow: inset 0 0 0 1px var(--c-border-strong);
}
.btn-ghost:hover {
  background: rgba(0, 191, 128, 0.08);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px var(--c-accent);
}

.btn-sm  { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-lg  { padding: 1.1rem 1.8rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- 6. Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.1rem 0;
  transition: background .35s ease, padding .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 17, 38, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--c-border);
  padding: 0.7rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
}
.brand-logo {
  display: block;
  height: 52px;
  width: auto;
  transition: height .35s ease;
}
.site-header.scrolled .brand-logo { height: 42px; }
@media (max-width: 900px) {
  .brand-logo { height: 44px; }
  .site-header.scrolled .brand-logo { height: 36px; }
}
@media (max-width: 480px) {
  .brand-logo { height: 36px; }
  .site-header.scrolled .brand-logo { height: 32px; }
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.primary-nav a {
  font-size: .94rem;
  color: var(--c-text-mute);
  font-weight: 500;
  position: relative;
  padding: .4rem 0;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--c-accent);
  transition: width .3s var(--ease-out);
}
.primary-nav a:hover { color: var(--c-text-strong); }
.primary-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--c-border);
  border-radius: 12px;
  padding: 12px;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--c-text-strong);
  transition: transform .35s var(--ease-out), opacity .25s ease;
  transform-origin: center;
  border-radius: 2px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(11, 17, 38, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--c-border);
  padding: 1.5rem clamp(1.2rem, 4vw, 2.4rem) 2rem;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-bottom: 1.5rem;
}
.mobile-nav a {
  display: block;
  padding: .9rem 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text-strong);
  font-size: 1.05rem;
  font-weight: 500;
}
.mobile-nav .btn { border-bottom: none; padding: .95rem 1.5rem; }

.mobile-nav-support {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin-top: .9rem;
  padding: .85rem 1.2rem !important;
  border: none !important;
  border-bottom: none !important;
  border-radius: 999px;
  background: transparent;
  color: var(--c-accent) !important;
  font-family: var(--font-display);
  font-size: .95rem !important;
  font-weight: 600 !important;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(0,191,128,0.4);
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}
.mobile-nav-support:hover {
  background: rgba(0, 191, 128, 0.08);
  box-shadow: inset 0 0 0 1px var(--c-accent);
  color: #fff !important;
}
.mobile-nav-support svg { flex-shrink: 0; }

@media (max-width: 900px) {
  .primary-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(6rem, 14vw, 9rem) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  animation: floatGlow 14s ease-in-out infinite;
}
.hero-glow-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--c-brand) 0%, transparent 65%);
  top: -120px; left: -120px;
}
.hero-glow-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--c-accent) 0%, transparent 65%);
  bottom: -120px; right: -120px;
  animation-direction: reverse;
  animation-duration: 18s;
  opacity: 0.35;
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(40px, -30px); }
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 880px;
}

.hero-title {
  margin-bottom: 1.4rem;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.hero-title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  filter: blur(8px);
  animation: heroWord .9s var(--ease-out) forwards;
}
.hero-title .word:nth-child(1) { animation-delay: .15s; }
.hero-title .word:nth-child(2) { animation-delay: .27s; }
.hero-title .word:nth-child(3) { animation-delay: .39s; }
.hero-title .word:nth-child(4) { animation-delay: .51s; }

@keyframes heroWord {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--c-text-mute);
  max-width: 640px;
  margin-bottom: 2.4rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
  max-width: 100%;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
  flex: 1 1 0;
}
.meta-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--c-text-strong);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.meta-label {
  font-size: .78rem;
  color: var(--c-text-dim);
  line-height: 1.35;
}
.hero-meta-divider {
  flex-shrink: 0;
  width: 1px;
  height: 36px;
  background: var(--c-border);
}
@media (max-width: 700px) {
  .hero-meta { flex-wrap: wrap; gap: 1.2rem; }
  .hero-meta-divider { display: none; }
  .hero-meta-item { flex: 1 1 auto; min-width: 8rem; }
}

.hero-scroll {
  position: absolute;
  bottom: .6rem;
  right: 1.5rem;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--c-text-dim);
  font-size: .68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--c-accent));
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-text-strong);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}
@media (max-width: 900px), (max-height: 820px) {
  .hero-scroll { display: none; }
}

/* ---------- 8. Section: Leistungen ---------- */
.section-services { background: linear-gradient(to bottom, transparent, rgba(17, 26, 54, 0.6), transparent); }

/* ---------- Sektion: Kosten senken ---------- */
.section-savings {
  position: relative;
  background: linear-gradient(to bottom, transparent, rgba(0, 191, 128, 0.05), transparent);
}
.savings-note {
  margin: 2.4rem auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--c-text);
  font-family: var(--font-display);
  font-weight: 500;
}

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

.service-card {
  position: relative;
  padding: 2.2rem 1.9rem 2rem;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .45s var(--ease-out), border-color .35s ease, background .35s ease;
  isolation: isolate;
}
.service-card::before {
  /* Spotlight beim Hover */
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from 0deg, transparent 0%, var(--c-accent) 20%, transparent 40%);
  opacity: 0;
  transition: opacity .45s ease;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  z-index: -1;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 191, 128, 0.35);
  background: var(--c-bg-card-strong);
}
.service-card:hover::before { opacity: 0.6; }

.service-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 191, 128, 0.10), transparent 50%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.service-card:hover .service-shine { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  background: linear-gradient(135deg, rgba(53, 64, 158, 0.4), rgba(0, 191, 128, 0.25));
  color: var(--c-text-strong);
  border: 1px solid var(--c-border-strong);
  transition: transform .4s var(--ease-out);
}
.service-card:hover .service-icon { transform: scale(1.05) rotate(-3deg); }

.service-title {
  font-size: 1.3rem;
  margin-bottom: .8rem;
}
.service-text {
  color: var(--c-text-mute);
  font-size: .96rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.service-list {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--c-border);
}
.service-list li {
  font-size: .88rem;
  color: var(--c-text-dim);
  padding-left: 1.2rem;
  position: relative;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .65em;
  width: 6px; height: 1px;
  background: var(--c-accent);
}

/* ---------- 9. Section: Warum (Values) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
}
.value-card {
  position: relative;
  padding: 2rem 1.6rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background .3s ease, border-color .3s ease, transform .35s var(--ease-out);
}
.value-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40%;
  height: 1px;
  background: linear-gradient(to right, var(--c-accent), transparent);
  transform: translateX(-100%);
  transition: transform .8s var(--ease-out);
}
.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-border-strong);
  background: rgba(255, 255, 255, 0.045);
}
.value-card:hover::after { transform: translateX(0); }

.value-num {
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 500;
  color: var(--c-accent);
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 1rem;
}
.value-title { font-size: 1.25rem; margin-bottom: .5rem; }
.value-text { color: var(--c-text-mute); font-size: .94rem; line-height: 1.65; margin: 0; }

/* ---------- 10. Section: Prozess ---------- */
.section-process { padding-bottom: clamp(6rem, 12vw, 10rem); }

/* ---------- Prozess-Timeline ---------- */
.process-list {
  list-style: none;          /* killt die doppelten 1. 2. 3. 4. der <ol> */
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  position: relative;
}
/* Verbindungslinie — eigene Spur oberhalb der Karten, durch die Badge-Zentren */
.process-list::before {
  content: "";
  position: absolute;
  top: 31px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(to right, var(--c-brand) 0%, var(--c-accent) 100%);
  box-shadow: 0 0 18px rgba(0, 191, 128, 0.4);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  margin-top: 96px;          /* eigene Spur für Badge + Verbindungslinie */
  padding: 1.9rem 1.5rem;
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
  transition: transform .35s var(--ease-out), border-color .3s ease, background .3s ease;
}
/* Vertikaler Steg — verbindet Badge sauber mit der Karte darunter */
.process-step::before {
  content: "";
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 32px;
  background: linear-gradient(to bottom, rgba(0, 191, 128, 0.55), rgba(0, 191, 128, 0));
  z-index: 0;
}
.process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 191, 128, 0.4);
  background: var(--c-bg-card-strong);
}
/* Nummer-Badge — sitzt vollständig über der Karte, auf der Verbindungslinie */
.process-step-num {
  position: absolute;
  top: -96px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  border: 5px solid var(--c-bg);   /* maskiert die Linie sauber unter dem Badge */
  box-shadow: 0 10px 26px -8px rgba(0, 191, 128, 0.55),
              inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  z-index: 2;
  transition: transform .35s var(--ease-out), box-shadow .3s ease;
}
/* Journey-Verlauf: Schritt 1 blau → Schritt 4 grün */
.process-step:nth-child(1) .process-step-num { background: linear-gradient(135deg, #2c3690, #41499f); }
.process-step:nth-child(2) .process-step-num { background: linear-gradient(135deg, #35409E, #2f7ba0); }
.process-step:nth-child(3) .process-step-num { background: linear-gradient(135deg, #1f9a8e, #00BF80); }
.process-step:nth-child(4) .process-step-num { background: linear-gradient(135deg, #00BF80, #4ad9a8); }
.process-step:hover .process-step-num {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 14px 34px -8px rgba(0, 191, 128, 0.7),
              inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.process-step-title {
  font-size: 1.18rem;
  margin-bottom: .55rem;
}
.process-step-text {
  color: var(--c-text-mute);
  font-size: .92rem;
  line-height: 1.62;
  margin: 0;
}

@media (max-width: 980px) {
  .process-list { grid-template-columns: repeat(2, 1fr); gap: 7rem 1.4rem; }
  .process-list::before { display: none; }
}
@media (max-width: 540px) {
  .process-list { grid-template-columns: 1fr; }
}

/* ---------- 11. Section: Vertrauen ---------- */
.section-trust {
  background:
    linear-gradient(to bottom, transparent, rgba(17, 26, 54, 0.5), transparent);
}
.trust-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2rem;
}
.trust-item {
  display: flex;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  transition: border-color .3s ease, background .3s ease;
}
.trust-item:hover {
  border-color: rgba(0, 191, 128, 0.3);
  background: rgba(255, 255, 255, 0.04);
}
.trust-check {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--c-brand), var(--c-accent));
  color: #fff;
}
.trust-item h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.trust-item p { font-size: .9rem; color: var(--c-text-mute); margin: 0; line-height: 1.55; }

/* Trust Card */
.trust-card {
  background: linear-gradient(160deg, rgba(34, 47, 97, 0.7), rgba(17, 26, 54, 0.6));
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  position: sticky;
  top: 100px;
}
.trust-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
}
.trust-pill {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-mute);
  padding: .35rem .7rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 100px;
  border: 1px solid var(--c-border);
}
.trust-card-status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--c-text-mute);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 12px var(--c-accent);
  animation: pulse 2.6s ease-in-out infinite;
}

.trust-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 1.2rem;
  margin: 0 0 2rem;
  padding: 0;
}
.trust-stats > div {
  border-left: 1px solid var(--c-accent);
  padding-left: .9rem;
}
.trust-stats dt {
  font-size: .72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-bottom: .3rem;
}
.trust-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--c-text-strong);
  font-weight: 500;
  line-height: 1.3;
}

.trust-meter {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
}
.trust-meter-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: center;
  font-size: .85rem;
  color: var(--c-text-mute);
}
.trust-meter-bar {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.trust-meter-bar > span {
  position: absolute;
  inset: 0;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--c-brand), var(--c-accent));
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease-out) .2s;
}
.reveal.is-visible .trust-meter-bar > span,
.is-visible .trust-meter-bar > span { transform: scaleX(1); }

.trust-note {
  margin: 1.5rem 0 0;
  font-size: .78rem;
  color: var(--c-text-dim);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .trust-container { grid-template-columns: 1fr; }
  .trust-card { position: static; }
}
@media (max-width: 460px) {
  .trust-stats { grid-template-columns: 1fr; }
}

/* ---------- 12. Section: Kontakt ---------- */
.section-contact {
  position: relative;
}
.section-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at 70% 50%, rgba(0, 191, 128, 0.08), transparent 60%);
  pointer-events: none;
}
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
  position: relative;
}

.contact-intro .section-title { margin-bottom: .4em; }

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}
.contact-meta li {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  font-size: .95rem;
}
.contact-meta-label {
  font-size: .78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  min-width: 90px;
}
.contact-meta-value { color: var(--c-text-strong); font-weight: 500; }
.contact-meta-value a:hover { color: var(--c-accent); }

/* Form */
.contact-form {
  background: var(--c-bg-card-strong);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.form-label {
  font-size: .8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  font-weight: 500;
}
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  color: var(--c-text-strong);
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease;
  width: 100%;
  resize: vertical;
}
.form-field textarea { min-height: 140px; line-height: 1.55; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--c-text-dim); }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: rgba(0, 191, 128, 0.05);
  box-shadow: 0 0 0 4px rgba(0, 191, 128, 0.10);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  align-items: flex-start;
}
.form-hint {
  font-size: .8rem;
  color: var(--c-text-dim);
  margin: 0;
  max-width: 460px;
  line-height: 1.55;
}

.form-feedback {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  display: none;
}
.form-feedback.success {
  display: block;
  background: rgba(0, 191, 128, 0.1);
  border: 1px solid rgba(0, 191, 128, 0.35);
  color: #BBE9D2;
}
.form-feedback.error {
  display: block;
  background: rgba(214, 90, 90, 0.1);
  border: 1px solid rgba(214, 90, 90, 0.35);
  color: #F6C1C1;
}

@media (max-width: 900px) {
  .contact-container { grid-template-columns: 1fr; }
}

/* ---------- 13. Footer ---------- */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--c-border);
  background: rgba(8, 13, 30, 0.6);
}
.footer-container {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  align-items: center;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.footer-logo { display: block; height: 64px; width: auto; max-width: 100%; }
.footer-tag { margin: 0; font-size: .85rem; color: var(--c-text-dim); }

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  justify-content: center;
}
.footer-nav a {
  font-size: .9rem;
  color: var(--c-text-mute);
}
.footer-nav a:hover { color: var(--c-accent); }

.footer-meta {
  text-align: right;
  font-size: .85rem;
  color: var(--c-text-dim);
}
.footer-meta p { margin: 0 0 .15rem; }
.footer-meta a:hover { color: var(--c-accent); }
.footer-legal {
  display: flex;
  gap: 1rem;
  margin: .8rem 0 0;
  padding: 0;
  list-style: none;
  justify-content: flex-end;
}
.footer-legal a {
  color: var(--c-text-mute);
  font-size: .82rem;
}
.footer-legal a:hover { color: var(--c-accent); }

@media (max-width: 800px) {
  .footer-container { grid-template-columns: 1fr; text-align: center; gap: 1.6rem; }
  .footer-brand { align-items: center; }
  .footer-nav ul { justify-content: center; }
  .footer-meta { text-align: center; }
  .footer-legal { justify-content: center; }
}

/* ---------- Support-FAB (Fernwartung) ---------- */
.support-fab {
  position: fixed;
  left: 1.25rem;
  bottom: .25rem;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1.05rem;
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-accent) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .9rem;
  border-radius: 999px;
  border: none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.10),
    0 6px 16px -6px rgba(0,0,0,0.45);
  transition: transform .25s var(--ease-out), box-shadow .25s ease, filter .25s ease;
  text-decoration: none;
  transform: translateZ(0);
  will-change: transform;
  -webkit-font-smoothing: antialiased;
}
.support-fab:hover {
  transform: translate3d(0, -2px, 0) scale(1.03);
  filter: brightness(1.08);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.18),
    0 10px 22px -8px rgba(0,191,128,0.45);
}
.support-fab:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}
body:has(.cookie-banner:not([hidden])) .support-fab {
  bottom: 6rem;
}
@media (max-width: 700px) {
  /* Auf Mobile ausgeblendet — Fernwartung ist im Burger-Menü erreichbar,
     damit der Hero nicht durch den Button überlagert wird. */
  .support-fab { display: none; }
}

/* ---------- Back-to-Top-Button ---------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: .25rem;
  z-index: 90;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-accent) 100%);
  color: #fff;
  border: none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.10),
    0 6px 16px -6px rgba(0,0,0,0.45);
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, 8px, 0) scale(.95);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s var(--ease-out), box-shadow .25s ease;
  -webkit-font-smoothing: antialiased;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-brand) 100%);
  transform: translate3d(0, -2px, 0) scale(1.04);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.18),
    0 10px 22px -8px rgba(53,64,158,0.5);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

/* Wenn Cookie-Banner sichtbar ist, etwas höher anheben (über dem Banner halten) */
body:has(.cookie-banner:not([hidden])) .back-to-top {
  bottom: 6rem;
}

/* ---------- Cookie-Hinweisbanner ---------- */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  max-width: 880px;
  margin: 0 auto;
  padding: 1.05rem 1.3rem;
  background: rgba(15, 22, 45, 0.92);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  gap: 1.1rem;
  animation: cookieBannerIn .4s var(--ease-out) both;
}
.cookie-text {
  margin: 0;
  font-size: .88rem;
  color: var(--c-text);
  line-height: 1.55;
  flex: 1;
}
.cookie-text a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-text a:hover { color: var(--c-text-strong); }
.cookie-banner .btn { flex-shrink: 0; }

@keyframes cookieBannerIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; left: .6rem; right: .6rem; bottom: .6rem; padding: .9rem 1rem; }
  .cookie-text { font-size: .82rem; }
}

/* ---------- Legal-Seiten (Impressum / Datenschutz) ---------- */
.legal-page main {
  padding-top: 7rem;
  padding-bottom: 5rem;
}
.legal-page .legal-hero {
  padding: 2rem 0 1.5rem;
}
.legal-page .legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin: 0 0 .6rem;
  color: var(--c-text-strong);
}
.legal-page .legal-hero .legal-updated {
  color: var(--c-text-dim);
  font-size: .9rem;
  margin: 0;
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.7;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  margin: 2.2rem 0 .9rem;
  color: var(--c-text-strong);
}
.legal-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 1.6rem 0 .6rem;
  color: var(--c-text-strong);
}
.legal-content p { margin: 0 0 1rem; }
.legal-content ul {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
}
.legal-content ul li { margin-bottom: .35rem; }
.legal-content a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content a:hover { color: var(--c-text-strong); }
.legal-content .legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: .94rem;
}
.legal-content .legal-table th,
.legal-content .legal-table td {
  text-align: left;
  vertical-align: top;
  padding: .55rem .8rem;
  border-bottom: 1px solid var(--c-border);
}
.legal-content .legal-table th {
  color: var(--c-text-mute);
  font-weight: 500;
  width: 35%;
}
.legal-content .legal-table td {
  color: var(--c-text-strong);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 2.5rem;
  color: var(--c-text-mute);
  font-size: .9rem;
}
.legal-back:hover { color: var(--c-accent); }

/* ---------- 14. Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  will-change: opacity, transform;
}
.reveal[data-reveal="left"]  { transform: translateX(-30px); }
.reveal[data-reveal="right"] { transform: translateX(30px); }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------- 15. Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-title .word { opacity: 1; transform: none; filter: none; }
  .reveal { opacity: 1; transform: none; }
  .hero-glow { animation: none; }
  .status-dot, .eyebrow-dot { animation: none; }
  .reveal.is-visible .trust-meter-bar > span,
  .is-visible .trust-meter-bar > span { transform: scaleX(1); transition: none; }
}
