/* ============================================
   NextGen Web Solutions – Design System
   ============================================ */

:root {
  --color-bg: #0c0f14;
  --color-bg-elevated: #141922;
  --color-bg-card: #1a1f2a;
  --color-surface: #222938;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #e8eaef;
  --color-text-muted: #8b92a3;
  --color-accent: #00d4aa;
  --color-accent-hover: #00f0c0;
  --color-accent-muted: rgba(0, 212, 170, 0.15);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.4);
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--color-accent-hover);
}
/* Bessere Touch-Bedienung auf Mobilgeräten */
@media (hover: none) {
  a, button {
    -webkit-tap-highlight-color: rgba(0, 212, 170, 0.2);
  }
}

/* Tastatur-Fokus für Barrierefreiheit */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  padding: 12px 20px;
  background: var(--color-accent);
  color: var(--color-bg);
  font-weight: 600;
  z-index: 200;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

/* ========== Typography ========== */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 16px;
}

.section-lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 560px;
}

.section-head {
  margin-bottom: 48px;
  max-width: 640px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform 0.2s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 212, 170, 0.35);
}
.btn-primary:focus-visible {
  box-shadow: 0 0 0 2px var(--color-bg), 0 0 0 4px var(--color-accent);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(12, 15, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: padding var(--transition), background var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  background: transparent !important;
  border: none;
  padding: 0;
}
.logo:hover {
  color: #fff;
  background: transparent !important;
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-accent), #00a884);
  color: var(--color-bg);
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
}

.logo-img {
  display: block;
  height: auto;
  max-height: 48px;
  width: auto;
  object-fit: contain;
  background: transparent !important;
  border: none;
  vertical-align: middle;
}
.logo-img-footer {
  max-height: 40px;
}
@media (max-width: 480px) {
  .logo-img {
    max-height: 40px;
    max-width: 160px;
  }
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
}

.nav-list a {
  color: var(--color-text-muted);
  font-weight: 500;
}
.nav-list a:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-call-link {
  display: none;
}
@media (max-width: 900px) {
  .header-actions .btn-primary {
    display: none;
  }
  .header-call-link {
    display: inline-flex;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .nav-list li {
    border-bottom: 1px solid var(--color-border);
  }
  .nav-list a {
    display: flex;
    align-items: center;
    padding: 14px 0;
    min-height: 44px;
  }
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

.header.is-scrolled {
  padding: 12px 0;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 15, 20, 0.88) 0%, rgba(12, 15, 20, 0.75) 50%, rgba(12, 15, 20, 0.92) 100%);
}

/* Logo als Hintergrund im Hero */
.hero-logo-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}
.hero-logo-bg img {
  width: auto;
  height: auto;
  max-width: min(90vw, 900px);
  max-height: min(85vh, 700px);
  object-fit: contain;
  opacity: 0.12;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  width: 100%;
}

.hero-text {
  min-width: 0;
  padding: 40px 0;
}

.hero-badge {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  background: var(--color-accent-muted);
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.18;
  color: #fff;
  margin: 0 0 28px;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.hero-title em {
  color: var(--color-accent);
  font-style: normal;
}

.hero-lead {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0 0 40px;
  max-width: 540px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--color-accent), transparent);
  border-radius: 1px;
  animation: scrollPulse 2s ease-in-out infinite;
}

@media (max-width: 600px) {
  .hero {
    padding: 88px 0 72px;
  }
  .hero-text {
    padding: 24px 0;
  }
  .hero-badge {
    margin-bottom: 20px;
  }
  .hero-title {
    margin-bottom: 20px;
  }
  .hero-lead {
    margin-bottom: 32px;
    font-size: 1.0625rem;
  }
  .hero-actions {
    gap: 14px;
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; transform: scaleY(0.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ========== Trust strip ========== */
.trust.strip {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}
.trust-text {
  margin: 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.trust-badges.strip {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}
.trust-badges-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.trust-badge {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
@media (max-width: 480px) {
  .trust-badges-inner { gap: 12px; }
  .trust-badge { font-size: 0.8125rem; }
}

/* ========== Kundenlogos ========== */
.clients {
  background: var(--color-bg);
}
.clients-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: center;
}
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 12px;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
}
.client-logo img {
  max-height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0.4);
  opacity: 0.9;
}
.client-logo:hover {
  border-color: rgba(0, 212, 170, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}
@media (max-width: 900px) {
  .clients-logos { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
  .clients-logos { grid-template-columns: repeat(2, 1fr); }
  .client-logo { min-height: 64px; }
  .client-logo img { max-height: 44px; }
}

/* ========== Video-Section ========== */
.video-section {
  background: var(--color-bg-elevated);
  padding: 64px 0;
}
.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
}
.video-wrapper .section-head { text-align: center; }
.video-wrapper .section-head .section-lead { margin-left: auto; margin-right: auto; }
.video-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}
.hero-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.video-caption {
  margin: 16px 0 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  text-align: center;
}
.video-caption a { color: var(--color-accent); }
@media (max-width: 480px) {
  .video-section {
    padding: 48px 0;
  }
  .video-container {
    border-radius: var(--radius-md);
  }
}

/* ========== Case Study ========== */
.case-study {
  background: var(--color-bg);
}
.case-study-inner .section-title {
  margin-bottom: 32px;
}
.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.case-study-content h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-accent);
  margin: 24px 0 12px;
}
.case-study-content h3:first-of-type { margin-top: 0; }
.case-study-content p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.case-study-quote {
  margin: 28px 0 0;
  padding: 24px;
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
  font-style: italic;
  color: var(--color-text);
}
.case-study-quote cite {
  display: block;
  margin-top: 12px;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--color-text-muted);
}
.case-study-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.case-study-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
@media (max-width: 900px) {
  .case-study-grid { grid-template-columns: 1fr; }
  .case-study-visual { order: -1; }
}

/* ========== Reveal (Scroll-Animation) ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Sections global ========== */
.section {
  padding: 100px 0;
}
@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }
}
@media (max-width: 480px) {
  .section {
    padding: 48px 0;
  }
}

/* ========== Stats ========== */
.stats {
  background: var(--color-bg-elevated);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item {
  padding: 24px 16px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}
.stat-label {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ========== Process (So arbeiten wir) ========== */
.process {
  background: var(--color-bg-elevated);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-step {
  padding: 32px 24px;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: border-color var(--transition), transform var(--transition);
}
.process-step:hover {
  border-color: rgba(0, 212, 170, 0.3);
  transform: translateY(-2px);
}
.process-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 16px;
}
.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.process-step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ========== Tech badges (in About) ========== */
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.tech-badge {
  padding: 8px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-accent);
  background: var(--color-accent-muted);
  border-radius: 100px;
}

/* ========== Pricing ========== */
.pricing {
  background: var(--color-bg);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  padding: 36px 28px;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pricing-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 212, 170, 0.08);
}
.pricing-card-featured {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px var(--color-accent-muted);
}
.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-bg);
  background: var(--color-accent);
  border-radius: 100px;
}
.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.pricing-desc {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0 0 20px;
}
.pricing-price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 24px;
}
.price-from {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-right: 4px;
}
.pricing-features {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}
.pricing-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ========== Testimonials ========== */
.testimonials {
  background: var(--color-bg-elevated);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  padding: 32px 28px;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  margin: 0;
}
.testimonial-stars {
  color: #f0c14b;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 20px;
  font-style: italic;
}
.testimonial-card footer {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ========== FAQ ========== */
.faq {
  background: var(--color-bg);
}
.faq-list {
  max-width: 720px;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
  margin: 0;
}
.faq-item summary {
  padding: 24px 0;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--color-accent);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  margin: 0 0 24px;
  padding-right: 40px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========== Blog / Ressourcen ========== */
.blog {
  background: var(--color-bg-elevated);
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  margin: 0;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  border-color: rgba(0, 212, 170, 0.3);
  box-shadow: var(--shadow-lg);
}
.blog-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.blog-card-link:hover { color: inherit; }
.blog-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
  display: block;
}
.blog-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.3;
}
.blog-card-body p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ========== Newsletter ========== */
.newsletter {
  background: var(--color-bg);
  padding: 72px 0;
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  padding: 48px 56px;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}
.newsletter-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
.newsletter-text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 280px;
}
.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}
.newsletter-form input::placeholder { color: var(--color-text-muted); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-accent);
}
@media (max-width: 700px) {
  .newsletter-inner { grid-template-columns: 1fr; padding: 32px 24px; }
  .newsletter-form { min-width: 100%; }
}

/* ========== CTA Visual buttons ========== */
.cta-visual-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
@media (max-width: 480px) {
  .cta-visual-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-visual-buttons .btn {
    width: 100%;
  }
}

/* ========== Sticky CTA ========== */
.sticky-cta {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 50;
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-bg);
  background: var(--color-accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s, transform 0.3s;
}
.sticky-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sticky-cta:hover {
  color: var(--color-bg);
  background: var(--color-accent-hover);
}

/* ========== Chat button ========== */
.chat-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-bg);
  background: var(--color-accent);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transition: background var(--transition), transform 0.2s;
}
.chat-button:hover {
  color: var(--color-bg);
  background: var(--color-accent-hover);
  transform: scale(1.05);
}
/* ========== Legal pages ========== */
.legal-page {
  padding: 120px 0 80px;
  max-width: 720px;
  margin: 0 auto;
}
.legal-page h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 32px;
}
.legal-page p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.legal-page a { color: var(--color-accent); }
.blog-article h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 24px 0 12px;
}
.blog-article ul {
  margin: 0 0 16px;
  padding-left: 24px;
  color: var(--color-text-muted);
}
.blog-meta {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0 0 20px !important;
}
.legal-page a:hover { color: var(--color-accent-hover); }

.breadcrumb {
  margin-bottom: 24px;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.breadcrumb a {
  color: var(--color-accent);
}
.breadcrumb span {
  margin: 0 6px;
}

/* ========== Services ========== */
.services {
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 170, 0.3);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 212, 170, 0.08);
}

.service-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 28px;
}
.service-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.service-card-body p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.service-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.service-card-link:hover { color: inherit; }
.service-card-demo {
  margin: 12px 28px 0;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.service-card-demo a {
  color: var(--color-primary);
  text-decoration: none;
}
.service-card-demo a:hover { text-decoration: underline; }

/* ========== Bewertungen ========== */
.reviews {
  background: var(--color-bg);
}
.reviews-widget {
  text-align: center;
  padding: 40px 24px;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.reviews-stars {
  font-size: 2rem;
  color: #f0c14b;
  letter-spacing: 4px;
  margin-bottom: 16px;
}
.reviews-cta {
  margin: 0;
  color: var(--color-text-muted);
}
.reviews-cta a { color: var(--color-accent); }

/* ========== Karte ========== */
.map-section {
  background: var(--color-bg-elevated);
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  max-width: 100%;
}
.map-note {
  margin: 12px 0 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}
.map-note a { color: var(--color-accent); }

/* ========== WhatsApp-Button ========== */
.whatsapp-button {
  position: fixed;
  bottom: 24px;
  right: 90px;
  z-index: 50;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s, background 0.2s;
}
.whatsapp-button:hover {
  color: #fff;
  background: #20bd5a;
  transform: scale(1.05);
}
@media (max-width: 900px) {
  .whatsapp-button {
    right: 90px;
    bottom: max(24px, env(safe-area-inset-bottom));
  }
}

/* ========== Cookie-Banner Buttons ========== */
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 480px) {
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cookie-buttons .btn { width: 100%; min-height: 44px; }
}

/* ========== Exit-Intent Popup ========== */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.exit-popup.is-visible {
  opacity: 1;
  visibility: visible;
}
.exit-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.exit-popup-inner {
  position: relative;
  max-width: 420px;
  width: 100%;
  padding: 40px 32px;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  text-align: center;
}
.exit-popup-inner h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}
.exit-popup-inner p {
  margin: 0 0 24px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}
.exit-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.exit-popup-close:hover {
  color: #fff;
  background: var(--color-surface);
}

/* ========== Ladeanimation ========== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  transition: opacity 0.4s ease, visibility 0.4s;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: loaderSpin 0.8s linear infinite;
}
.page-loader-text {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

.footer-hours {
  margin: 8px 0 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== About ========== */
.about {
  background: var(--color-bg-elevated);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-img-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 40%;
  background: linear-gradient(135deg, var(--color-accent-muted), transparent);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-content .section-title {
  margin-bottom: 20px;
}
.about-content > p {
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

.about-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}
.about-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--color-text);
}
.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-visual {
    order: -1;
  }
}

/* ========== References ========== */
.references {
  background: var(--color-bg);
}

.references-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
}

.ref-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-card);
}
.ref-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.ref-card:hover img {
  transform: scale(1.08);
}

.ref-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.ref-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12, 15, 20, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}
.ref-card:hover .ref-card-overlay {
  opacity: 1;
}

.ref-card-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.ref-card-overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.ref-card-overlay p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .references-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }
  .ref-card-large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* ========== CTA Visual ========== */
.cta-visual {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

.cta-visual-bg {
  position: absolute;
  inset: 0;
}
.cta-visual-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.25) 0%, rgba(12, 15, 20, 0.9) 70%);
}

.cta-visual-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.cta-visual-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
}
.cta-visual-text {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0 0 32px;
}
.cta-visual-content .btn {
  margin: 0 auto;
}

/* ========== Contact ========== */
.contact {
  background: var(--color-bg-elevated);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 16px;
}
.contact-info > p {
  color: var(--color-text-muted);
  margin: 0 0 28px;
}

.contact-details p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}
.contact-details a {
  color: var(--color-accent);
}

.contact-form {
  background: var(--color-bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
@media (max-width: 480px) {
  .contact-form {
    padding: 24px 20px;
  }
}

.form-row {
  margin-bottom: 20px;
}
.form-row label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 8px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}
@media (max-width: 480px) {
  .form-row input,
  .form-row textarea {
    padding: 14px 16px;
    font-size: 16px;
  }
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--color-text-muted);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form-row textarea {
  resize: vertical;
  min-height: 120px;
}
.form-row-checkbox {
  margin-bottom: 8px;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-accent);
}

.contact-form .btn {
  margin-top: 8px;
  width: 100%;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Footer ========== */
.footer {
  padding: 56px 0 32px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}
.footer-tagline {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 320px;
}
.footer-phone {
  margin: 12px 0 0;
  font-size: 0.9375rem;
}
.footer-phone a {
  color: var(--color-accent);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-links a {
  color: var(--color-text-muted);
  font-weight: 500;
}
.footer-links a:hover {
  color: var(--color-accent);
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}
.footer-legal p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

/* ========== Cookie-Banner ========== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 16px 24px;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.cookie-banner.is-visible {
  transform: translateY(0);
}
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  flex: 1;
  min-width: 260px;
}
.cookie-banner a { color: var(--color-accent); }
@media (max-width: 480px) {
  .cookie-banner {
    padding: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-banner p {
    min-width: 0;
  }
  .cookie-banner .btn {
    width: 100%;
    min-height: 44px;
  }
}

/* ========== Nach-oben-Button ========== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 50;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-bg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, visibility 0.3s, transform 0.3s, background 0.2s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  border-color: var(--color-accent);
}
/* Mobile: Safe Area für Notch/Home-Indikator */
@media (max-width: 900px) {
  .sticky-cta {
    bottom: max(24px, env(safe-area-inset-bottom));
    right: max(24px, env(safe-area-inset-right));
  }
  .chat-button {
    bottom: max(24px, env(safe-area-inset-bottom));
    right: max(24px, env(safe-area-inset-right));
  }
  .back-to-top {
    bottom: max(24px, env(safe-area-inset-bottom));
    left: max(24px, env(safe-area-inset-left));
  }
}
@media (max-width: 480px) {
  .sticky-cta {
    padding: 12px 20px;
    font-size: 0.875rem;
    bottom: max(80px, calc(env(safe-area-inset-bottom) + 56px));
  }
}
@media (min-width: 901px) {
  .back-to-top { bottom: 96px; left: 24px; }
  .chat-button { bottom: 24px; right: 24px; }
  .sticky-cta { right: 24px; bottom: 160px; }
}
