/*
Theme Name: Erft Digital
Author: Mert Enes Ülkü
Version: 3.5.0
Text Domain: erft-digital
*/

/* =============================================
   BRAND TOKENS (aus dem echten Logo)
   ============================================= */
:root {
  --navy:       #0C447C;
  --blue:       #185FA5;
  --blue-mid:   #2272BA;
  --blue-light: #378ADD;
  --blue-pale:  #EBF4FF;
  --gray-text:  #888780;
  --gradient:   linear-gradient(135deg, #185FA5 0%, #378ADD 100%);
  --gradient-v: linear-gradient(180deg, #185FA5 0%, #378ADD 100%);
  --dark:       #0C1A2E;
  --dark-2:     #0F2240;
  --gray-1:     #F7F9FC;
  --gray-2:     #6B7280;
  --gray-3:     #CBD5E1;
  --gray-4:     #E2E8F0;
  --white:      #FFFFFF;
  --font:       -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none; /* custom cursor */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font-family: var(--font); }

/* =============================================
   CUSTOM CURSOR
   ============================================= */
.ed-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  /* starts off-screen — JS snaps it to mouse on first move */
  transform: translate(-300px, -300px);
  transition: width 0.25s var(--ease-spring), height 0.25s var(--ease-spring), background 0.2s;
  /* NOTE: no opacity/opacity-transition → never flickers on mouseleave */
}
.ed-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(24,95,165,0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-300px, -300px);
  transition: width 0.3s var(--ease-spring), height 0.3s var(--ease-spring);
}
.ed-cursor.hovering      { width: 16px; height: 16px; background: var(--blue-light); }
.ed-cursor-ring.hovering { width: 56px; height: 56px; border-color: rgba(55,138,221,0.55); }
.ed-cursor.clicking      { width: 8px;  height: 8px; }
.ed-cursor-ring.clicking { width: 28px; height: 28px; }

@media (hover: none) {
  .ed-cursor, .ed-cursor-ring { display: none; }
  body, button { cursor: auto; }
}

/* =============================================
   NAVIGATION
   ============================================= */
.ed-nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 48px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-bottom: 1px solid rgba(12,68,124,0.08);
  transition: box-shadow 0.4s var(--ease-out), background 0.4s;
}
.ed-nav.scrolled {
  box-shadow: 0 4px 32px rgba(12,68,124,0.12);
  background: rgba(255,255,255,0.94);
}

/* LOGO */
.ed-nav-logo { display: flex; align-items: center; gap: 12px; }
.ed-logo-icon {
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring);
}
.ed-nav-logo:hover .ed-logo-icon { transform: rotate(-5deg) scale(1.08); }

.ed-nav-wordmark { display: flex; align-items: baseline; gap: 1px; }
.ed-nav-word-erft {
  font-size: 20px; font-weight: 700;
  color: var(--navy); letter-spacing: -0.04em;
}
.ed-nav-word-digital {
  font-size: 20px; font-weight: 300;
  color: var(--blue-light); letter-spacing: -0.04em;
}

/* NAV LINKS – always centred via grid parent */
.ed-nav-links { display: flex; align-items: center; gap: 36px; justify-self: center; }
.ed-nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--dark); opacity: 0.65;
  position: relative;
  transition: opacity 0.2s;
}
.ed-nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transition: width 0.3s var(--ease-out);
}
.ed-nav-links a:hover { opacity: 1; }
.ed-nav-links a:hover::after,
.ed-nav-links a.active::after { width: 100%; }
.ed-nav-links a.active { opacity: 1; }

.ed-nav-cta {
  background: var(--gradient) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 980px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  opacity: 1 !important;
  box-shadow: 0 4px 18px rgba(24,95,165,0.35) !important;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s !important;
}
.ed-nav-cta:hover {
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 8px 28px rgba(24,95,165,0.45) !important;
}
.ed-nav-cta::after { display: none !important; }

/* Nav right: CTA always visible + hamburger */
.ed-nav-right { display: flex; align-items: center; gap: 12px; justify-self: end; }

.ed-nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.ed-nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; }

/* =============================================
   LAYOUT
   ============================================= */
.ed-main { padding-top: 64px; }
.ed-container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

.ed-section-header { text-align: center; margin-bottom: 56px; }
.ed-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue);
  background: var(--blue-pale); padding: 6px 16px;
  border-radius: 980px; margin-bottom: 16px;
  border: 1px solid rgba(24,95,165,0.15);
}
.ed-tag::before {
  content: ''; width: 5px; height: 5px;
  background: var(--blue-light); border-radius: 50%;
  animation: blink 2.5s ease-in-out infinite;
}
.ed-section-title {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 16px; color: var(--dark);
}
.ed-section-sub {
  font-size: 18px; color: var(--gray-2);
  line-height: 1.75; max-width: 560px; margin: 0 auto;
}

/* =============================================
   BUTTONS
   ============================================= */
.ed-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gradient);
  color: var(--white);
  padding: 15px 34px; border-radius: 980px;
  font-size: 16px; font-weight: 600;
  box-shadow: 0 6px 24px rgba(24,95,165,.38);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
  position: relative; overflow: hidden;
}
.ed-btn-primary::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  transform: translate(-50%,-50%);
  transition: width 0.5s, height 0.5s, opacity 0.5s;
  opacity: 0;
}
.ed-btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 36px rgba(24,95,165,.46); }
.ed-btn-primary:active::after { width: 300px; height: 300px; opacity: 0; }

.ed-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--blue); padding: 15px 34px; border-radius: 980px;
  font-size: 16px; font-weight: 600;
  border: 1.5px solid rgba(24,95,165,0.3);
  transition: all 0.25s var(--ease-out);
  background: transparent;
}
.ed-btn-secondary:hover {
  background: var(--blue-pale);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.ed-btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--navy);
  padding: 15px 34px; border-radius: 980px;
  font-size: 16px; font-weight: 700;
  box-shadow: 0 6px 28px rgba(0,0,0,.18);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.ed-btn-white:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 12px 40px rgba(0,0,0,.24); }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.ed-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.ed-reveal.ed-visible { opacity: 1; transform: translateY(0); }
.ed-reveal-left  { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.ed-reveal-right { opacity: 0; transform: translateX(50px);  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.ed-reveal-left.ed-visible, .ed-reveal-right.ed-visible { opacity: 1; transform: translateX(0); }
.ed-reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-spring); }
.ed-reveal-scale.ed-visible { opacity: 1; transform: scale(1); }

.ed-delay-1 { transition-delay: 0.1s !important; }
.ed-delay-2 { transition-delay: 0.2s !important; }
.ed-delay-3 { transition-delay: 0.3s !important; }
.ed-delay-4 { transition-delay: 0.4s !important; }

/* =============================================
   HERO (STARTSEITE)
   ============================================= */
.ed-hero {
  min-height: min(88vh, 780px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding: 72px 80px 64px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

/* Animated mesh background */
.ed-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(55,138,221,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(24,95,165,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 90% 10%, rgba(12,68,124,0.05) 0%, transparent 50%);
  pointer-events: none;
  animation: meshMove 12s ease-in-out infinite alternate;
}
@keyframes meshMove {
  0%   { transform: scale(1) translateX(0); }
  100% { transform: scale(1.05) translateX(-16px); }
}

/* Grid dots decoration */
.ed-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 420px; height: 420px;
  background-image: radial-gradient(rgba(24,95,165,0.14) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  opacity: 0.7;
  mask-image: radial-gradient(ellipse at top right, black 30%, transparent 70%);
  pointer-events: none;
}

.ed-hero-inner { position: relative; z-index: 1; }

.ed-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
  background: var(--blue-pale);
  border: 1px solid rgba(24,95,165,0.18);
  padding: 7px 16px; border-radius: 980px;
  margin-bottom: 24px;
}
.ed-eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--blue-light); border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(55,138,221,0.6);
}
@keyframes blink { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.75)} }

.ed-hero h1 {
  font-size: clamp(42px, 5.5vw, 80px);
  font-weight: 700; letter-spacing: -0.04em; line-height: 1.05;
  margin-bottom: 24px; color: var(--dark);
}
.ed-gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.ed-gradient-text::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(18px) opacity(0.35);
  z-index: -1;
  transform: translateY(6px);
}

.ed-hero-sub {
  font-size: 19px; color: var(--gray-2);
  line-height: 1.75; max-width: 500px;
  margin-bottom: 44px;
}
.ed-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Floating cards on the right */
.ed-hero-cards {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; padding: 16px;
}
.ed-hcard {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(24,95,165,0.12);
  border-radius: 20px; padding: 28px 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(12,68,124,0.1), 0 2px 8px rgba(12,68,124,0.06);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
  position: relative; overflow: hidden;
}
.ed-hcard::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.ed-hcard:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 24px 56px rgba(12,68,124,0.16), 0 4px 16px rgba(12,68,124,0.08); }
.ed-hcard:hover::before { transform: scaleX(1); }
.ed-hcard-icon { font-size: 34px; margin-bottom: 12px; }
.ed-hcard-label { font-size: 15px; font-weight: 600; color: var(--navy); }

.ed-hcard--1 { animation: floatA 6s ease-in-out infinite; }
.ed-hcard--2 { animation: floatB 7.5s ease-in-out infinite; }
.ed-hcard--3 { animation: floatB 6.8s ease-in-out infinite; }
.ed-hcard--4 { animation: floatA 8s ease-in-out infinite; }
@keyframes floatA { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
@keyframes floatB { 0%,100%{transform:translateY(-5px)} 50%{transform:translateY(5px)} }

.ed-hero-scroll-hint {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
}
.ed-scroll-line {
  width: 1.5px; height: 52px;
  background: linear-gradient(to bottom, var(--blue-mid), transparent);
  animation: scrollA 2.4s ease-in-out infinite;
}
@keyframes scrollA {
  0%{opacity:0;transform:scaleY(0);transform-origin:top}
  40%{opacity:1;transform:scaleY(1);transform-origin:top}
  80%{opacity:0;transform:scaleY(1);transform-origin:bottom}
  100%{opacity:0}
}

/* =============================================
   TRUST BAR
   ============================================= */
.ed-trust {
  background: var(--white);
  border-top: 1px solid var(--gray-4);
  border-bottom: 1px solid var(--gray-4);
  padding: 22px 48px;
}
.ed-trust-inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: center; gap: 36px; flex-wrap: wrap;
}
.ed-trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--gray-2); font-weight: 500;
}
.ed-trust-dot {
  width: 7px; height: 7px;
  background: var(--blue-light); border-radius: 50%;
  box-shadow: 0 0 6px rgba(55,138,221,0.6);
  flex-shrink: 0;
  animation: blink 3s ease-in-out infinite;
}
.ed-trust-item:nth-child(2) .ed-trust-dot { animation-delay: .5s; }
.ed-trust-item:nth-child(4) .ed-trust-dot { animation-delay: 1s; }
.ed-trust-item:nth-child(6) .ed-trust-dot { animation-delay: 1.5s; }
.ed-trust-sep { width: 1px; height: 18px; background: var(--gray-3); }

/* =============================================
   PREVIEW SECTION (STARTSEITE)
   ============================================= */
.ed-preview-section { padding: 80px 0; background: var(--gray-1); }
.ed-preview-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 2px; background: var(--gray-3);
  border-radius: 28px; overflow: hidden;
}
.ed-preview-card {
  background: var(--white); padding: 44px 32px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: background 0.3s;
}
.ed-preview-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.ed-preview-card:hover { background: #F9FBFF; }
.ed-preview-card:hover::before { transform: scaleX(1); }

.ed-preview-icon {
  font-size: 32px; margin-bottom: 18px;
  transition: transform 0.3s var(--ease-spring);
}
.ed-preview-card:hover .ed-preview-icon { transform: scale(1.15) rotate(-5deg); }
.ed-preview-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--navy); }
.ed-preview-card p { font-size: 14px; color: var(--gray-2); line-height: 1.7; flex: 1; }
.ed-preview-arrow {
  display: inline-block; margin-top: 20px;
  font-size: 18px; color: var(--blue);
  transition: transform 0.25s var(--ease-spring);
}
.ed-preview-card:hover .ed-preview-arrow { transform: translateX(6px); }

/* =============================================
   CTA SECTION
   ============================================= */
.ed-cta-section {
  background: var(--dark);
  padding: 72px 0;
  position: relative; overflow: hidden;
}
.ed-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(24,95,165,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 50%, rgba(55,138,221,0.15) 0%, transparent 55%);
  pointer-events: none;
}
.ed-cta-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center;
  justify-content: space-between; gap: 48px; flex-wrap: wrap;
}
.ed-cta-text h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; letter-spacing: -.025em;
  color: var(--white); margin-bottom: 10px;
}
.ed-cta-text p { font-size: 18px; color: rgba(255,255,255,.6); }

/* =============================================
   PAGE HERO (Unterseiten)
   ============================================= */
.ed-page-hero {
  padding: 64px 0 52px;
  text-align: center;
  position: relative; overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--gray-4);
}
.ed-page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 50% 120%, rgba(55,138,221,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.ed-page-hero h1 {
  position: relative;
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 700; letter-spacing: -.035em;
  margin-bottom: 16px; color: var(--dark);
}
.ed-page-hero p {
  position: relative;
  font-size: 19px; color: var(--gray-2);
  max-width: 580px; margin: 0 auto; line-height: 1.7;
}

/* =============================================
   LEISTUNGEN PAGE
   ============================================= */
.ed-service-section { padding: 80px 0; }
.ed-service-section--alt { background: var(--gray-1); }
.ed-service-section--cards { padding-bottom: 16px; }

.ed-service-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 88px; align-items: center;
}
.ed-service-row--reverse .ed-service-content { order: 2; }
.ed-service-row--reverse .ed-service-visual  { order: 1; }

.ed-service-content h2 {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700; letter-spacing: -.025em;
  margin: 10px 0 18px; color: var(--dark);
}
.ed-service-lead { font-size: 17px; color: var(--gray-2); line-height: 1.8; margin-bottom: 26px; }
.ed-service-list { margin-bottom: 36px; display: flex; flex-direction: column; gap: 12px; }
.ed-service-list li {
  font-size: 15px; color: var(--dark); padding-left: 24px;
  position: relative; line-height: 1.65;
}
.ed-service-list li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 6px rgba(24,95,165,.4);
}

/* BROWSER MOCKUP */
.ed-visual-web { display: flex; justify-content: center; }
.ed-browser {
  width: 100%; max-width: 480px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 32px 80px rgba(12,68,124,.18), 0 8px 24px rgba(12,68,124,.08);
  overflow: hidden;
  border: 1px solid var(--gray-4);
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s var(--ease-out);
}
.ed-browser:hover { transform: perspective(800px) rotateY(0deg) rotateX(0deg); }
.ed-browser-bar {
  background: var(--gray-1); padding: 12px 16px;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--gray-4);
}
.ed-dot { width: 10px; height: 10px; border-radius: 50%; }
.ed-dot--red    { background: #FF5F57; }
.ed-dot--yellow { background: #FEBC2E; }
.ed-dot--green  { background: #28C840; }
.ed-url-bar {
  flex: 1; background: var(--white);
  border-radius: 6px; padding: 5px 12px;
  font-size: 11px; color: var(--gray-2);
  margin-left: 8px; border: 1px solid var(--gray-4);
}
.ed-mock-nav   { height: 38px; background: var(--navy); }
.ed-mock-hero  { background: var(--gradient); padding: 32px 24px 28px; }
.ed-mock-h1    { height: 18px; background: rgba(255,255,255,.85); border-radius: 5px; width: 68%; margin-bottom: 10px; }
.ed-mock-h2    { height: 12px; background: rgba(255,255,255,.5);  border-radius: 5px; width: 48%; margin-bottom: 18px; }
.ed-mock-btn   { height: 30px; background: rgba(255,255,255,.9); border-radius: 15px; width: 130px; }
.ed-mock-cards { display: flex; gap: 8px; padding: 16px; background: var(--gray-1); }
.ed-mock-card  { flex: 1; height: 64px; background: var(--white); border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }

/* NETWORK NODES */
.ed-visual-digital { display: flex; justify-content: center; align-items: center; padding: 24px; }
.ed-nodes {
  position: relative; width: 300px; height: 300px;
}
.ed-node {
  position: absolute; display: flex;
  align-items: center; justify-content: center;
  font-size: 28px; width: 58px; height: 58px;
  border-radius: 16px; background: var(--white);
  box-shadow: 0 10px 32px rgba(12,68,124,.12);
  border: 1px solid rgba(24,95,165,.12);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.ed-node:hover { transform: scale(1.15) !important; box-shadow: 0 16px 48px rgba(12,68,124,.22); }
.ed-node--center { top: 50%; left: 50%; transform: translate(-50%,-50%); width: 68px; height: 68px; animation: none; z-index: 2; }
.ed-node--1 { top: 8%; left: 8%; animation: floatA 5s ease-in-out infinite; }
.ed-node--2 { top: 8%; right: 8%; animation: floatB 6.5s ease-in-out infinite; }
.ed-node--3 { bottom: 8%; left: 8%; animation: floatB 5.8s ease-in-out infinite; }
.ed-node--4 { bottom: 8%; right: 8%; animation: floatA 7s ease-in-out infinite; }
.ed-node--5 { top: 6%; left: 50%; transform: translateX(-50%); animation: floatA 6s ease-in-out infinite; }
.ed-node-lines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* PHONE MOCKUP */
.ed-visual-menu { display: flex; justify-content: center; align-items: center; gap: 28px; }
.ed-phone {
  width: 210px; background: #1a1a1a;
  border-radius: 36px; padding: 14px;
  box-shadow: 0 32px 80px rgba(0,0,0,.28), 0 8px 24px rgba(0,0,0,.14);
  transform: perspective(600px) rotateY(6deg);
  transition: transform 0.5s var(--ease-out);
}
.ed-phone:hover { transform: perspective(600px) rotateY(0deg); }
.ed-phone-notch { width: 66px; height: 20px; background: #1a1a1a; border-radius: 12px; margin: 0 auto 10px; }
.ed-phone-screen { background: var(--white); border-radius: 26px; overflow: hidden; padding: 16px 14px; }
.ed-menu-header  { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-4); }
.ed-menu-logo-mock { width: 30px; height: 30px; background: var(--gradient); border-radius: 8px; flex-shrink: 0; }
.ed-menu-name  { font-size: 12px; font-weight: 700; color: var(--navy); }
.ed-menu-item  { display: flex; gap: 10px; margin-bottom: 12px; align-items: center; }
.ed-menu-item-img { width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0; background: linear-gradient(135deg,#FF9500,#FF2D55); }
.ed-menu-item-img--2 { background: linear-gradient(135deg,#34C759,#007AFF); }
.ed-menu-item-img--3 { background: linear-gradient(135deg,#5856D6,#FF2D55); }
.ed-menu-item-name  { height: 9px; background: var(--gray-4); border-radius: 4px; width: 78%; margin-bottom: 5px; }
.ed-menu-item-price { height: 9px; background: var(--blue-pale); border-radius: 4px; width: 38%; }
.ed-qr-badge {
  background: var(--white);
  border: 1px solid var(--gray-4);
  border-radius: 20px; padding: 22px 18px; text-align: center;
  box-shadow: 0 10px 32px rgba(12,68,124,.1);
}
.ed-qr-badge span { display: block; font-size: 11px; color: var(--gray-2); margin-top: 10px; font-weight: 500; }

/* MINI CARDS */
.ed-mini-cards {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.ed-mini-card {
  background: var(--white); border-radius: 28px;
  padding: 44px 38px;
  box-shadow: 0 4px 24px rgba(12,68,124,.07);
  border: 1px solid rgba(24,95,165,.08);
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s;
  position: relative; overflow: hidden;
}
.ed-mini-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.ed-mini-card:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(12,68,124,.14); }
.ed-mini-card:hover::after { transform: scaleX(1); }
.ed-mini-icon { font-size: 38px; margin-bottom: 20px; transition: transform 0.3s var(--ease-spring); }
.ed-mini-card:hover .ed-mini-icon { transform: scale(1.15) rotate(-8deg); }
.ed-mini-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.ed-mini-card p  { font-size: 15px; color: var(--gray-2); line-height: 1.8; margin-bottom: 22px; }
.ed-mini-link { font-size: 14px; font-weight: 700; color: var(--blue); transition: gap 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.ed-mini-link:hover { opacity: .8; gap: 10px; }

/* =============================================
   ÜBER UNS PAGE
   ============================================= */
.ed-about-section { padding: 80px 0; }
.ed-about-row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 88px; align-items: start; }

.ed-portrait-frame {
  width: 210px; height: 210px;
  background: var(--gradient);
  border-radius: 44px; display: flex;
  align-items: center; justify-content: center;
  position: relative; margin-bottom: 28px;
  box-shadow: 0 24px 60px rgba(24,95,165,.35);
  transition: transform 0.4s var(--ease-spring);
}
.ed-portrait-frame:hover { transform: rotate(-3deg) scale(1.04); }
.ed-portrait-avatar { font-size: 68px; font-weight: 800; color: rgba(255,255,255,.92); letter-spacing: -.03em; }
.ed-portrait-badge {
  position: absolute; bottom: -14px; right: -14px;
  background: var(--white);
  border: 2px solid rgba(24,95,165,.12);
  border-radius: 14px; padding: 9px 14px;
  font-size: 12px; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 6px 20px rgba(12,68,124,.12);
}

.ed-about-facts { display: flex; flex-direction: column; gap: 14px; }
.ed-fact {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--gray-1); border-radius: 16px; padding: 18px;
  border: 1px solid rgba(24,95,165,.06);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
}
.ed-fact:hover { transform: translateX(4px); box-shadow: 0 4px 16px rgba(12,68,124,.08); }
.ed-fact-icon { font-size: 26px; flex-shrink: 0; }
.ed-fact strong { font-size: 14px; font-weight: 700; display: block; margin-bottom: 3px; color: var(--navy); }
.ed-fact div { font-size: 13px; color: var(--gray-2); line-height: 1.5; }

.ed-about-bio h2 { font-size: clamp(30px, 3.5vw, 46px); font-weight: 700; letter-spacing: -.025em; margin-bottom: 6px; }
.ed-about-title { font-size: 15px; color: var(--blue); font-weight: 600; margin-bottom: 28px; }
.ed-about-bio p { font-size: 17px; color: var(--gray-2); line-height: 1.85; margin-bottom: 18px; }
.ed-blockquote {
  border-left: 3px solid var(--blue-light);
  padding: 18px 28px; margin-top: 32px;
  background: var(--blue-pale); border-radius: 0 16px 16px 0;
  font-size: 18px; font-style: italic;
  color: var(--navy); line-height: 1.7;
  position: relative;
}
.ed-blockquote::before {
  content: '"';
  position: absolute; top: -14px; left: 20px;
  font-size: 80px; color: var(--blue-light);
  opacity: 0.4; font-style: normal; line-height: 1;
  font-family: Georgia, serif;
}

/* PHILOSOPHIE */
.ed-philosophy-section { padding: 72px 0 52px; background: var(--dark); position: relative; overflow: hidden; }
.ed-philosophy-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 15% 50%, rgba(24,95,165,.2) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 85% 50%, rgba(55,138,221,.12) 0%, transparent 50%);
  pointer-events: none;
}
.ed-philosophy-section .ed-tag { color: rgba(255,255,255,.5); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.1); }
.ed-philosophy-section .ed-tag::before { background: rgba(255,255,255,.5); }
.ed-philosophy-section .ed-section-title { color: var(--white); }

.ed-philosophy-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; position: relative; z-index: 1; }
.ed-philosophy-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px; padding: 48px 44px;
  transition: background 0.3s, transform 0.35s var(--ease-spring), border-color 0.3s;
}
.ed-philosophy-card:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-4px);
  border-color: rgba(55,138,221,.3);
}
.ed-phil-number {
  font-size: 12px; font-weight: 800; letter-spacing: .1em;
  color: var(--blue-light); background: rgba(55,138,221,.18);
  display: inline-block; padding: 5px 14px;
  border-radius: 8px; margin-bottom: 20px;
}
.ed-philosophy-card h3 { font-size: 23px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.ed-philosophy-card p  { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.85; }

/* REGION */
.ed-region-section { padding: 52px 0 64px; background: var(--gray-1); }
.ed-region-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.ed-region-text h2 { font-size: clamp(28px, 3vw, 44px); font-weight: 700; letter-spacing: -.025em; margin: 10px 0 16px; }
.ed-region-text p  { font-size: 17px; color: var(--gray-2); line-height: 1.8; }
.ed-region-card {
  background: var(--gradient); border-radius: 32px;
  padding: 40px 36px; color: var(--white); text-align: center;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 64px rgba(24,95,165,.35);
}
.ed-region-card::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
}
.ed-region-card h3 { font-size: 34px; font-weight: 700; margin-bottom: 8px; }
.ed-region-card > p { font-size: 16px; opacity: .85; margin-bottom: 28px; }
.ed-tags-wrap  { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.ed-region-tag {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  border-radius: 980px; padding: 7px 18px;
  font-size: 13px; font-weight: 500;
  transition: background 0.2s;
}
.ed-region-tag:hover { background: rgba(255,255,255,.28); }

/* =============================================
   KONTAKT PAGE
   ============================================= */
.ed-contact-section { padding: 64px 0 80px; }
.ed-contact-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 88px; align-items: start; }

.ed-contact-info h2 { font-size: 34px; font-weight: 700; letter-spacing: -.025em; margin-bottom: 14px; }
.ed-contact-info > p { font-size: 17px; color: var(--gray-2); line-height: 1.75; margin-bottom: 40px; }

.ed-contact-items { display: flex; flex-direction: column; gap: 6px; margin-bottom: 36px; }
.ed-contact-item {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px; border-radius: 18px;
  transition: background 0.25s, transform 0.25s var(--ease-spring);
  color: var(--dark);
}
.ed-contact-item:hover { background: var(--gray-1); transform: translateX(4px); }
.ed-contact-icon {
  width: 52px; height: 52px; background: var(--gradient);
  border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 24px; flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(24,95,165,.28);
  transition: transform 0.3s var(--ease-spring);
}
.ed-contact-item:hover .ed-contact-icon { transform: scale(1.1) rotate(-5deg); }
.ed-contact-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-2); margin-bottom: 3px; }
.ed-contact-value { font-size: 16px; font-weight: 600; color: var(--navy); }

.ed-response-badge {
  display: flex; align-items: center; gap: 9px;
  font-size: 13px; color: var(--gray-2); font-weight: 500;
  padding: 14px 18px;
  background: var(--gray-1); border-radius: 14px;
  border: 1px solid var(--gray-4);
}

/* FORM */
.ed-contact-form-wrap {
  background: var(--white);
  border: 1px solid rgba(24,95,165,.1);
  border-radius: 32px; padding: 52px 48px;
  box-shadow: 0 16px 60px rgba(12,68,124,.09), 0 4px 16px rgba(12,68,124,.05);
}
.ed-form { display: flex; flex-direction: column; gap: 22px; }
.ed-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ed-form-group { display: flex; flex-direction: column; gap: 8px; }
.ed-form-group label { font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.ed-form-group input,
.ed-form-group select,
.ed-form-group textarea {
  font-family: var(--font); font-size: 15px;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-4); border-radius: 12px;
  color: var(--dark); background: var(--white); outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.ed-form-group input:focus,
.ed-form-group select:focus,
.ed-form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(24,95,165,.12);
  transform: translateY(-1px);
}
.ed-form-group textarea { resize: vertical; min-height: 130px; }
.ed-form-success {
  background: #ECFDF5; color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: 14px; padding: 18px 22px;
  font-size: 15px; font-weight: 600; margin-bottom: 18px;
}
.ed-form-error {
  background: #FEF2F2; color: #991B1B;
  border: 1px solid #FECACA;
  border-radius: 14px; padding: 18px 22px;
  font-size: 15px; font-weight: 600; margin-bottom: 18px;
}

/* =============================================
   FOOTER
   ============================================= */
.ed-footer {
  background: var(--dark); padding: 40px 48px;
  border-top: 1px solid rgba(255,255,255,.07);
  position: relative; overflow: hidden;
}
.ed-footer::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient); opacity: 0.4;
}
.ed-footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 20px;
}
.ed-footer-logo { display: flex; align-items: center; gap: 10px; }
.ed-footer-logo svg rect { fill: rgba(255,255,255,.07); }
.ed-footer-copy { font-size: 13px; color: rgba(255,255,255,.35); }
.ed-footer-links { display: flex; gap: 28px; }
.ed-footer a { font-size: 13px; color: rgba(255,255,255,.4); transition: color 0.2s; }
.ed-footer a:hover { color: rgba(255,255,255,.85); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .ed-hero { grid-template-columns: 1fr; padding: 64px 40px 80px; text-align: center; }
  .ed-hero-inner { display: flex; flex-direction: column; align-items: center; }
  .ed-hero-cards { max-width: 460px; margin: 40px auto 0; }
  .ed-preview-grid { grid-template-columns: repeat(2,1fr); }
  .ed-service-row, .ed-service-row--reverse { grid-template-columns: 1fr; gap: 56px; }
  .ed-service-row--reverse .ed-service-content { order: 1; }
  .ed-service-row--reverse .ed-service-visual  { order: 2; }
  .ed-about-row { grid-template-columns: 1fr; }
  .ed-region-inner, .ed-contact-row { grid-template-columns: 1fr; gap: 56px; }
  .ed-philosophy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ed-nav { padding: 0 20px; }
  .ed-nav-links { display: none; }
  .ed-nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: 64px; left: 0; width: 100%;
    background: rgba(255,255,255,.97); backdrop-filter: blur(24px);
    padding: 24px 20px; gap: 20px;
    border-bottom: 1px solid var(--gray-4);
    box-shadow: 0 12px 40px rgba(12,68,124,.12);
    z-index: 999;
  }
  .ed-nav-links.open a { font-size: 18px; }
  .ed-nav-hamburger { display: flex; }
  /* CTA always visible on mobile – slightly smaller */
  .ed-nav-cta { padding: 9px 18px !important; font-size: 13px !important; }
  .ed-container { padding: 0 24px; }
  .ed-preview-grid, .ed-mini-cards { grid-template-columns: 1fr; }
  .ed-form-row { grid-template-columns: 1fr; }
  .ed-hero { padding: 48px 24px 80px; }
  .ed-trust-sep { display: none; }
  .ed-footer { padding: 28px 24px; }
  .ed-cta-inner { flex-direction: column; text-align: center; }
  .ed-contact-form-wrap { padding: 32px 24px; }
  .ed-browser { transform: none; }
  .ed-phone { transform: none; }
}

/* =============================================
   PREVIEW CARD VISUALS (v3.1)
   ============================================= */
.ed-preview-card {
  padding-top: 0;
}
.ed-pvis {
  height: 148px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 28px;
  border-radius: 0;
  position: relative; overflow: hidden;
  flex-shrink: 0;
}
.ed-pvis--1 { background: linear-gradient(135deg, #0C447C 0%, #185FA5 60%, #378ADD 100%); }
.ed-pvis--2 { background: linear-gradient(135deg, #0F2240 0%, #185FA5 50%, #2272BA 100%); }
.ed-pvis--3 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.ed-pvis--4 { background: linear-gradient(135deg, #185FA5 0%, #6e3de8 50%, #9b59b6 100%); }

/* Shimmer overlay on card visuals */
.ed-pvis::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}
.ed-preview-card:hover .ed-pvis::after { transform: translateX(100%); }

/* dot grid on visuals */
.ed-pvis::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 20px 20px;
}

.ed-pcard-tags {
  display: flex; gap: 6px; flex-wrap: wrap; margin: 14px 0 0;
}
.ed-pcard-tags span {
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue);
  background: var(--blue-pale); padding: 4px 10px;
  border-radius: 980px;
  border: 1px solid rgba(24,95,165,0.15);
}

/* =============================================
   TERMINAL / CODE ANIMATION (v3.1)
   ============================================= */
.ed-terminal-section {
  padding: 48px 0 72px;
  background: var(--gray-1);
}
.ed-terminal-wrap {
  background: #0D1117;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.06);
  max-width: 100%;
}
.ed-term-titlebar {
  background: #161B22;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 7px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ed-term-btn { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.ed-term-btn--r { background: #FF5F57; }
.ed-term-btn--y { background: #FEBC2E; }
.ed-term-btn--g { background: #28C840; }
.ed-term-fname {
  flex: 1; text-align: center;
  font-size: 11px; color: rgba(255,255,255,.3);
  font-family: var(--font);
  letter-spacing: .02em;
}
.ed-term-body {
  padding: 32px 40px;
  font-family: 'SF Mono', 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 14.5px; line-height: 1.85;
}
.ed-term-line { display: block; overflow: hidden; white-space: pre; max-width: 0; }
.ed-term-line--cmd  { color: #58A6FF; }
.ed-term-line--out  { color: #3FB950; }
.ed-term-line--cmt  { color: rgba(255,255,255,.3); }
.ed-term-line--val  { color: #79C0FF; }
.ed-term-line--warn { color: #E3B341; }
.ed-term-line--str  { color: #A5D6FF; }
.ed-term-line--blank{ color: transparent; height: 14px; max-width: 100%; }

.ed-term-line:nth-child(1)  { animation: termType 0.6s steps(50) 0.4s forwards; }
.ed-term-line:nth-child(2)  { animation: termType 0.8s steps(60) 1.0s forwards; }
.ed-term-line:nth-child(3)  { animation: termType 0.5s steps(40) 2.0s forwards; }
.ed-term-line:nth-child(4)  { animation: termType 0.5s steps(40) 2.6s forwards; }
.ed-term-line:nth-child(5)  { animation: termType 0.4s steps(30) 3.3s forwards; }
.ed-term-line:nth-child(6)  { animation: termType 0.4s steps(30) 3.8s forwards; }
.ed-term-line:nth-child(7)  { animation: termType 0.5s steps(40) 4.4s forwards; }
.ed-term-line:nth-child(8)  { animation: termType 0.4s steps(30) 5.0s forwards; }
.ed-term-line:nth-child(9)  { animation: termType 0.6s steps(50) 5.6s forwards; }
.ed-term-line:nth-child(10) { animation: termType 0.4s steps(30) 6.4s forwards; }
.ed-term-line:nth-child(11) { animation: termType 0.6s steps(50) 7.0s forwards; }
.ed-term-line:nth-child(12) { animation: termType 0.4s steps(30) 7.8s forwards; }

@keyframes termType { to { max-width: 100%; } }

.ed-term-cursor {
  display: inline-block; width: 8px; height: 14px;
  background: #58A6FF; border-radius: 1px;
  animation: termCursor 0.9s step-end infinite;
  vertical-align: middle; margin-left: 2px;
}
@keyframes termCursor { 50% { opacity: 0; } }

/* Loop: repeat animation every 10s */
.ed-terminal-wrap:hover .ed-term-line { animation-play-state: paused; }

/* =============================================
   PHILOSOPHY STATS (v3.1)
   ============================================= */
.ed-phil-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 40px;
  position: relative; z-index: 1;
}
.ed-phil-stat {
  padding: 36px 32px;
  text-align: center;
  background: rgba(255,255,255,.03);
  transition: background 0.3s;
}
.ed-phil-stat:hover { background: rgba(255,255,255,.07); }
.ed-phil-stat-num {
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800; letter-spacing: -.04em;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block; margin-bottom: 8px;
}
.ed-phil-stat-label {
  font-size: 14px; color: rgba(255,255,255,.5);
  line-height: 1.5;
}

/* =============================================
   "WHY LOCAL" INTRO (v3.1)
   ============================================= */
.ed-why-local {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 28px;
  padding: 40px 52px;
  margin-bottom: 48px;
  position: relative; z-index: 1; overflow: hidden;
}
.ed-why-local::before {
  content: '';
  position: absolute; top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(55,138,221,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.ed-why-local h3 {
  font-size: 26px; font-weight: 700; color: var(--white);
  margin-bottom: 18px; letter-spacing: -.02em;
}
.ed-why-local p {
  font-size: 16px; color: rgba(255,255,255,.58); line-height: 1.85;
  max-width: 700px;
}
.ed-why-checks {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; margin-top: 32px;
}
.ed-why-check {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6;
}
.ed-why-check-icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: rgba(55,138,221,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 12px; margin-top: 1px;
}

/* =============================================
   IT ICON STRIP (v3.1)
   ============================================= */
.ed-it-strip {
  padding: 0 0 88px;
  background: var(--gray-1);
}
.ed-it-strip-inner {
  display: flex; align-items: center; gap: 0;
  overflow: hidden;
  position: relative;
}
.ed-it-strip-inner::before,
.ed-it-strip-inner::after {
  content: '';
  position: absolute; top: 0; bottom: 0; width: 80px;
  z-index: 1; pointer-events: none;
}
.ed-it-strip-inner::before { left: 0;  background: linear-gradient(to right, var(--gray-1), transparent); }
.ed-it-strip-inner::after  { right: 0; background: linear-gradient(to left,  var(--gray-1), transparent); }

.ed-it-scroll-track {
  display: flex; gap: 16px;
  animation: stripScroll 25s linear infinite;
  white-space: nowrap;
}
.ed-it-scroll-track:hover { animation-play-state: paused; }

.ed-it-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white);
  border: 1px solid rgba(24,95,165,0.1);
  border-radius: 12px; padding: 10px 20px;
  font-size: 13px; font-weight: 600; color: var(--navy);
  white-space: nowrap; flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(12,68,124,.06);
}
.ed-it-badge span { font-size: 16px; }
@keyframes stripScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .ed-phil-stats { grid-template-columns: 1fr; }
  .ed-why-checks { grid-template-columns: 1fr; }
  .ed-why-local { padding: 36px 28px; }
  .ed-terminal-section { padding: 0 0 56px; }
}

/* =============================================
   KONTAKT PAGE – ENHANCED (v3.3)
   ============================================= */

/* Dark hero for contact page */
.ed-contact-hero {
  background: var(--dark);
  padding: 80px 0 72px;
  position: relative; overflow: hidden;
  text-align: center;
}
.ed-contact-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 100% at 30% 60%, rgba(24,95,165,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(55,138,221,0.14) 0%, transparent 50%);
  pointer-events: none;
}
/* dot grid */
.ed-contact-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(55,138,221,0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.ed-contact-hero-inner {
  position: relative; z-index: 1;
  max-width: 700px; margin: 0 auto; padding: 0 40px;
}
.ed-contact-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700; letter-spacing: -.035em; line-height: 1.05;
  color: var(--white); margin: 16px 0 18px;
}
.ed-contact-hero p {
  font-size: 18px; color: rgba(255,255,255,.6);
  line-height: 1.7; margin-bottom: 40px;
}
/* Quick stat row inside hero */
.ed-contact-hero-stats {
  display: flex; justify-content: center; gap: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; overflow: hidden;
  max-width: 580px; margin: 0 auto;
}
.ed-chero-stat {
  flex: 1; padding: 20px 16px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
  transition: background 0.25s;
}
.ed-chero-stat:last-child { border-right: none; }
.ed-chero-stat:hover { background: rgba(255,255,255,.08); }
.ed-chero-stat-val {
  font-size: 24px; font-weight: 800; letter-spacing: -.03em;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; display: block; margin-bottom: 4px;
}
.ed-chero-stat-label {
  font-size: 11px; color: rgba(255,255,255,.45);
  font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}

/* Availability badge */
.ed-avail-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(52,199,89,.1);
  border: 1px solid rgba(52,199,89,.25);
  border-radius: 980px;
  padding: 10px 20px;
  font-size: 13px; font-weight: 600; color: #34C759;
  margin-bottom: 32px;
}
.ed-avail-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #34C759;
  box-shadow: 0 0 8px rgba(52,199,89,.7);
  animation: blink 2s ease-in-out infinite;
}

/* Promise cards (below contact info) */
.ed-promise-cards {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 36px;
}
.ed-promise-card {
  display: flex; align-items: flex-start; gap: 16px;
  background: var(--gray-1);
  border: 1px solid rgba(24,95,165,.08);
  border-radius: 18px; padding: 18px 20px;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.ed-promise-card:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 24px rgba(12,68,124,.09);
}
.ed-promise-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(24,95,165,.28);
}
.ed-promise-title  { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.ed-promise-text   { font-size: 13px; color: var(--gray-2); line-height: 1.55; }

/* Floating decoration on contact section */
.ed-contact-section { position: relative; }
.ed-contact-section::before {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(55,138,221,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* =============================================
   WARUM WEBSITE? SECTION (front-page v3.4)
   ============================================= */
.ed-why-web-section {
  padding: 72px 0;
  background: var(--dark);
  position: relative; overflow: hidden;
}
.ed-why-web-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 80% at 5% 50%,  rgba(24,95,165,.2) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 95% 50%, rgba(55,138,221,.12) 0%, transparent 50%);
  pointer-events: none;
}
.ed-why-web-header {
  text-align: center; margin-bottom: 48px;
  position: relative; z-index: 1;
}
.ed-why-web-header h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700; letter-spacing: -.03em;
  color: var(--white); margin: 12px 0 14px;
}
.ed-why-web-header p {
  font-size: 17px; color: rgba(255,255,255,.55);
  line-height: 1.75; max-width: 560px; margin: 0 auto;
}
.ed-why-web-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 16px; position: relative; z-index: 1;
}
.ed-why-web-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px; padding: 36px 28px;
  transition: background 0.3s, transform 0.35s var(--ease-spring), border-color 0.3s;
}
.ed-why-web-card:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-5px);
  border-color: rgba(55,138,221,.35);
}
.ed-why-web-num {
  font-size: 38px; font-weight: 800; letter-spacing: -.04em;
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 14px; display: block;
}
.ed-why-web-card h3 {
  font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 10px;
}
.ed-why-web-card p {
  font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.75;
}

@media (max-width: 1024px) { .ed-why-web-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px)  {
  .ed-why-web-grid { grid-template-columns: 1fr; }
  .ed-why-web-section { padding: 56px 0; }
}

@media (max-width: 768px) {
  .ed-contact-hero-stats { flex-direction: column; }
  .ed-chero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .ed-chero-stat:last-child { border-bottom: none; }
  .ed-contact-hero-inner { padding: 0 24px; }
}
