@font-face {
  font-family: "Abel";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/abel-regular.woff2") format("woff2");
}

/* ========================================
   KIMU GmbH – Website Styles
   ======================================== */

/* ---------- Custom Properties ---------- */
:root {
  --primary: #0ABAB5;
  --primary-dark: #089E9A;
  --primary-light: #0ADAD4;
  --dark: #0A0A0F;
  --dark-card: #12121A;
  --dark-border: #1E1E2A;
  --light: #FAFBFC;
  --light-card: #FFFFFF;
  --light-border: #E8EBF0;
  --text-dark: #0A0A0F;
  --text-light: #E8EBF0;
  --text-muted: #6B7280;
  --text-muted-light: #9CA3AF;
  --gradient: linear-gradient(135deg, #0ABAB5 0%, #06918D 100%);
  --gradient-text: linear-gradient(135deg, #0ABAB5, #0ADAD4);
  --gradient-hero: linear-gradient(180deg, #0ABAB5 0%, #000000 100%);
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(10,186,181,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --nav-height: 72px;
  --font: 'Abel', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Sections ---------- */
.section {
  padding: 120px 0;
  position: relative;
  overflow: clip;
}

/* Sticky background layer – stays fixed while content scrolls over it */
.section-dark::before {
  content: '';
  position: sticky;
  top: 0;
  display: block;
  height: 0;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-dark {
  background: var(--dark);
  color: var(--text-light);
}

.section-light {
  background: var(--light);
  color: var(--text-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(10,186,181,0.3);
  border-radius: 100px;
  background: rgba(10,186,181,0.08);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.7;
  line-height: 1.7;
}

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font);
  font-size: 0.95em;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 16px rgba(10,186,181,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,186,181,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
}

.btn-lg {
  padding: 0.9em 2em;
  font-size: 1em;
  border-radius: var(--radius-md);
}

.btn-full {
  width: 100%;
}

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1001;
  background: rgba(255,255,255,0.05);
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient);
  box-shadow: 0 0 8px rgba(10,186,181,0.5);
  transition: width 0.05s linear;
  border-radius: 0 2px 2px 0;
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  border-bottom-color: var(--dark-border);
}

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

.nav-logo { display: flex; align-items: center; }

.logo-img {
  height: 36px;
  width: auto;
}

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

.nav-link {
  font-size: 0.9em;
  font-weight: 500;
  color: var(--text-muted-light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

.nav-link.nav-cta {
  background: var(--gradient);
  color: #fff;
  margin-left: 8px;
}

.nav-link.nav-cta:hover {
  box-shadow: 0 4px 16px rgba(10,186,181,0.3);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(10,186,181,0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 6s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.9em;
  font-weight: 500;
  color: var(--primary);
  background: rgba(10,186,181,0.1);
  border: 1px solid rgba(10,186,181,0.2);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted-light);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.9em;
  color: var(--text-muted-light);
}

.stat-icon {
  color: var(--primary);
  display: flex;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll a {
  color: var(--text-muted-light);
  display: flex;
  padding: 8px;
}

.hero-scroll a:hover { color: var(--primary); }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text .text-lg {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 16px;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  padding: 24px;
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10,186,181,0.3);
}

.feature-icon {
  color: var(--primary);
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Services ---------- */
.service-block {
  margin-bottom: 80px;
}

.service-block:last-child { margin-bottom: 0; }

.service-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.service-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  min-width: 80px;
}

.service-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-desc {
  font-size: 1.05rem;
  opacity: 0.7;
  max-width: 600px;
}

/* Workflow Cards */
.workflow-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.workflow-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.workflow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.workflow-card:hover::before { transform: scaleX(1); }

.workflow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10,186,181,0.2);
  box-shadow: var(--shadow-glow);
}

.workflow-card-highlight {
  border-color: rgba(10,186,181,0.3);
  background: linear-gradient(180deg, rgba(10,186,181,0.05) 0%, var(--dark-card) 100%);
}

.workflow-card-highlight::before { transform: scaleX(1); }

.workflow-level {
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 16px;
}

.workflow-card h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.workflow-card p {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 20px;
  line-height: 1.6;
}

.workflow-examples li {
  font-size: 0.875rem;
  opacity: 0.7;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.workflow-examples li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* Mini Apps Grid */
.mini-apps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mini-app-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
}

.mini-app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10,186,181,0.3);
  box-shadow: var(--shadow-glow);
}

.mini-app-icon {
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.mini-app-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.mini-app-card p {
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.5;
}

/* Combined Flow */
.combined-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.flow-step {
  text-align: center;
  flex: 0 1 200px;
}

.flow-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: rgba(10,186,181,0.1);
  border: 1px solid rgba(10,186,181,0.2);
  color: var(--primary);
  transition: all var(--transition);
}

.flow-step:hover .flow-icon {
  background: rgba(10,186,181,0.2);
  transform: scale(1.1);
}

.flow-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.5;
}

.flow-arrow {
  color: var(--primary);
  opacity: 0.4;
  flex-shrink: 0;
}

.combined-examples {
  max-width: 700px;
  margin: 0 auto;
}

.example-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 0.95rem;
  opacity: 0.7;
  border-bottom: 1px solid var(--dark-border);
}

.example-item:last-child { border-bottom: none; }

.example-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ---------- Einsatzfelder ---------- */
.fields-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.field-card {
  padding: 36px;
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.field-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(10,186,181,0.3);
}

.field-icon {
  color: var(--primary);
  margin-bottom: 20px;
}

.field-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.field-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Process Timeline ---------- */
.process-timeline {
  max-width: 700px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 32px;
  position: relative;
}

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  background: var(--gradient);
  color: #fff;
}

.step-line {
  width: 2px;
  flex: 1;
  background: var(--dark-border);
  margin: 8px 0;
}

.step-content {
  padding-bottom: 48px;
}

.step-label {
  font-size: 0.75em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 4px;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-content p {
  font-size: 0.95rem;
  opacity: 0.7;
  line-height: 1.7;
}

/* ---------- Care ---------- */
.care-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.care-card {
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}

.care-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.care-card-highlight {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.care-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.75em;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.care-name {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.care-hours {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.care-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.care-card > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.care-features {
  text-align: left;
}

.care-features li {
  font-size: 0.9rem;
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  border-bottom: 1px solid var(--light-border);
}

.care-features li:last-child { border-bottom: none; }

.care-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ABAB5' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

/* ---------- Infrastructure ---------- */
.infra-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.infra-content .section-title {
  text-align: left;
  margin-bottom: 24px;
}

.infra-content .section-tag {
  display: inline-block;
  margin-bottom: 16px;
}

.infra-content p {
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 16px;
  line-height: 1.7;
}

.infra-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.infra-shield {
  position: relative;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shield-pulse {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(10,186,181,0.2);
  animation: shieldPulse 3s ease-in-out infinite;
}

.shield-pulse::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(10,186,181,0.1);
  animation: shieldPulse 3s ease-in-out infinite 1.5s;
}

@keyframes shieldPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0; }
}

.infra-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.infra-tag {
  font-size: 0.8em;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(10,186,181,0.1);
  border: 1px solid rgba(10,186,181,0.2);
  color: var(--primary);
}

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.team-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--light-card);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

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

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform var(--transition);
}

.team-card:hover .team-avatar { transform: scale(1.1); }

.team-avatar span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.team-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.team-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85em;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-muted-light);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7em 1em;
  font-family: var(--font);
  font-size: 0.95em;
  color: #fff;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,186,181,0.1);
}

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

.form-privacy { margin-top: 4px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  font-size: 0.8em;
  color: var(--text-muted-light);
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.link {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.link:hover { opacity: 0.8; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  color: var(--primary);
}

.form-success.show { display: block; }

.form-success svg { margin: 0 auto 16px; }

.form-success p {
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}

.contact-card:hover {
  border-color: rgba(10,186,181,0.2);
}

.contact-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  padding: 64px 0 32px;
  color: var(--text-muted-light);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-logo {
  height: 32px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.6;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  opacity: 0.6;
  transition: all var(--transition);
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--dark-border);
  font-size: 0.85em;
  opacity: 0.5;
}

/* ---------- Sticky Section Effect ---------- */
.section {
  overflow: hidden;
}

.section > .container {
  position: relative;
}

.section-bg-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 0;
}

/* ---------- Animations ---------- */
.animate-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children within visible parents */
.animate-in:nth-child(2) { transition-delay: 0.1s; }
.animate-in:nth-child(3) { transition-delay: 0.2s; }
.animate-in:nth-child(4) { transition-delay: 0.3s; }
.animate-in:nth-child(5) { transition-delay: 0.35s; }
.animate-in:nth-child(6) { transition-delay: 0.4s; }

/* Alternate animation directions */
.animate-in.from-left {
  opacity: 0;
  transform: translateX(-40px);
}
.animate-in.from-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-in.from-right {
  opacity: 0;
  transform: translateX(40px);
}
.animate-in.from-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-in.scale-in {
  opacity: 0;
  transform: scale(0.9);
}
.animate-in.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .workflow-types { grid-template-columns: 1fr; }
  .mini-apps-grid { grid-template-columns: repeat(2, 1fr); }
  .fields-grid { grid-template-columns: repeat(2, 1fr); }
  .care-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .infra-block { grid-template-columns: 1fr; gap: 40px; }
  .infra-content .section-title { text-align: center; }
  .infra-content .section-tag { text-align: center; }
  .infra-content { text-align: center; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px 24px;
    border-bottom: 1px solid var(--dark-border);
    gap: 4px;
  }

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

  .nav-link { padding: 12px 16px; width: 100%; }
  .nav-link.nav-cta { margin-left: 0; text-align: center; }

  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-stats { flex-direction: column; gap: 16px; align-items: center; }

  .about-features { grid-template-columns: 1fr; }
  .service-header { flex-direction: column; }
  .service-number { font-size: 2rem; min-width: auto; }
  .mini-apps-grid { grid-template-columns: 1fr; }
  .fields-grid { grid-template-columns: 1fr; }

  .combined-flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }

  .footer-links { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ---------- Nav toggle animation ---------- */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Fallback: make content visible if JS fails */
.no-js .animate-in,
.no-js .animate-in.from-left,
.no-js .animate-in.from-right,
.no-js .animate-in.scale-in {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Contact Form 7 Styling ── */
.wpcf7 .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wpcf7 .form-group { margin-bottom: 20px; }
.wpcf7 .form-group label { display: block; font-size: 0.85em; font-weight: 600; margin-bottom: 6px; color: var(--text-muted-light); }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%; padding: 0.7em 1em; font-family: var(--font); font-size: 0.95em; color: #fff;
  background: rgba(255,255,255,0.05); border: 1px solid var(--dark-border); border-radius: var(--radius-sm);
  transition: all var(--transition); outline: none;
}
.wpcf7 input::placeholder, .wpcf7 textarea::placeholder { color: var(--text-muted); }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,186,181,0.1); }
.wpcf7 textarea { resize: vertical; min-height: 120px; }
.wpcf7 .form-privacy { margin-top: 4px; }
.wpcf7 .checkbox-label { display: flex; align-items: flex-start; gap: 0.6em; font-size: 0.8em; color: var(--text-muted-light); line-height: 1.5; }
.wpcf7 .wpcf7-acceptance input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); }
.wpcf7 input[type="submit"] {
  width: 100%; display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font); font-size: 1em; font-weight: 600; padding: 0.9em 2em;
  border-radius: var(--radius-md); border: none; cursor: pointer;
  background: var(--gradient); color: #fff; box-shadow: 0 4px 16px rgba(10,186,181,0.3);
  transition: all var(--transition);
}
.wpcf7 input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,186,181,0.4); }
.wpcf7 .wpcf7-spinner { display: none; }
.wpcf7 .wpcf7-response-output {
  margin: 16px 0 0 !important; padding: 12px 16px !important;
  border-radius: var(--radius-sm) !important; font-size: 14px;
  border: 1px solid rgba(10,186,181,0.3) !important; color: var(--primary) !important;
  background: rgba(10,186,181,0.08) !important;
}
.wpcf7 .wpcf7-not-valid-tip { font-size: 0.75em; color: #ff6b6b; margin-top: 4px; }
.wpcf7 .wpcf7-not-valid { border-color: #ff6b6b !important; }
@media (max-width: 768px) { .wpcf7 .form-row { grid-template-columns: 1fr; } }

/* ── Unterseiten (Impressum, Datenschutz) ── */
.page-content h2, .section-dark h2:not(.section-title) { font-size: 1.5rem; font-weight: 700; color: #fff; margin: 32px 0 12px; }
.page-content h3, .section-dark h3:not(.service-title):not(.step-content h3) { font-size: 1.2rem; font-weight: 600; color: var(--primary); margin: 24px 0 8px; }
.section-dark p + p { margin-top: 12px; }
.section-dark a:not(.btn):not(.nav-link):not(.nav-logo) { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.section-dark a:not(.btn):not(.nav-link):not(.nav-logo):hover { opacity: 0.8; }
