:root {
  --navy: #132D4E;
  --navy-deep: #0b1f37;
  --navy-light: #1a3a5c;
  --teal: #53B6BD;
  --teal-bright: #6dd0d7;
  --teal-dim: #3d9aa0;
  --teal-glow: rgba(83,182,189,0.15);
  --teal-soft: rgba(83,182,189,0.06);
  --teal-border: rgba(83,182,189,0.18);
  --bg: #070d16;
  --bg-elevated: #0d1520;
  --bg-card: #111c2b;
  --text: #e8ecf0;
  --text-dim: #7e92a6;
  --text-muted: #637a91;
  --border: rgba(83,182,189,0.08);
  --border-hover: rgba(83,182,189,0.18);
  --font-display: 'Syne', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-mono);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(83,182,189,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(83,182,189,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

/* ============ NAV ============ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(7,13,22,0.88);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
/* WordPress Admin-Bar: Nav nach unten verschieben */
.admin-bar nav { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar nav { top: 46px; } }

.nav-logo {
  display: flex !important;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  visibility: visible !important;
  opacity: 1 !important;
  flex-shrink: 0;
}
.nav-logo svg { height: 44px; width: auto; display: block !important; }
.nav-logo-info { display: flex; flex-direction: column; gap: 2px; }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1;
  display: block !important;
}
.nav-logo-tagline {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--teal);
  line-height: 1;
  display: block !important;
}

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a, .nav-link {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
  font-family: var(--font-mono);
}
.nav-links a:hover, .nav-link:hover { color: var(--teal); }
.nav-links a.nav-active, .nav-link.nav-active { color: var(--teal); }

.nav-cta {
  background: var(--teal) !important;
  color: var(--navy-deep) !important;
  padding: 8px 18px !important;
  font-weight: 700 !important;
  transition: background 0.3s !important;
}
.nav-cta:hover { background: var(--teal-bright) !important; }

.nav-controls {
  display: flex !important;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  visibility: visible !important;
  opacity: 1 !important;
}

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  color: var(--teal);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 40px 80px;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  top: 60px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 65%);
  pointer-events: none;
}
.hero-meta {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.hero-meta .line { width: 32px; height: 1px; background: var(--teal); }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6.5vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 780px;
  position: relative;
  z-index: 1;
}
.hero h1 .hl { color: var(--teal); position: relative; }
.hero h1 .hl::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0;
  width: 100%; height: 8px;
  background: var(--teal-glow);
  z-index: -1;
}
.hero-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.85;
  max-width: 600px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.hero-sub strong { color: var(--teal); font-weight: 700; }
.hero-claim {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.hero-canvas {
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}
@media (max-width: 900px) { .hero-canvas { width: 100%; opacity: 0.25; } }

/* ============ SECTIONS ============ */
section { padding: 100px 40px; position: relative; z-index: 1; }
.section-header { margin-bottom: 56px; }
.section-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--teal);
  letter-spacing: 0.15em;
  margin-bottom: 14px;
  display: block;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.08;
}

/* ============ COMPETENCIES ============ */
.comp-section { border-top: 1px solid var(--border); }
.comp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.comp-cell {
  background: var(--bg);
  padding: 48px 32px;
  position: relative;
  transition: background 0.5s;
}
.comp-cell:hover { background: var(--bg-elevated); }
.comp-cell::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--teal);
  transition: height 0.5s;
}
.comp-cell:hover::before { height: 100%; }
.comp-icon {
  width: 44px; height: 44px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal-border);
  background: var(--teal-soft);
}
.comp-icon svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.comp-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.comp-cell h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.2;
}
.comp-cell p {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.7;
}

/* ============ PROJECTS ============ */
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.project-cell {
  background: var(--bg);
  padding: 52px 36px;
  transition: background 0.4s;
}
.project-cell:hover { background: var(--bg-elevated); }
.project-cell .p-tag {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}
.project-cell h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.project-cell p {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.65;
  margin-bottom: 20px;
}
.p-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.p-status .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============ CONTACT BAR ============ */
.contact-bar {
  background: var(--teal);
  color: var(--navy-deep);
  padding: 56px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.contact-bar h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
}
.contact-bar-links { display: flex; gap: 32px; flex-wrap: wrap; align-items: center; }
.contact-bar a {
  color: var(--navy-deep);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  font-weight: 700;
  border-bottom: 2px solid rgba(19,45,78,0.3);
  padding-bottom: 2px;
  transition: border-color 0.3s;
}
.contact-bar a:hover { border-color: var(--navy-deep); }
.contact-bar .addr { font-size: 0.72rem; font-weight: 700; opacity: 0.7; }

/* ============ FOOTER ============ */
footer {
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo svg { height: 28px; width: auto; opacity: 0.6; }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--teal); }
.footer-copy { font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.04em; }

/* ============ JOBTICKET HERO ============ */
.jt-hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  position: relative;
}
.jt-hero::after {
  content: '';
  position: absolute;
  top: 60px; left: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--teal-glow) 0%, transparent 65%);
  pointer-events: none;
}
.jt-hero-content { max-width: 750px; position: relative; z-index: 1; }
.jt-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
  border: 1px solid var(--teal-border);
  padding: 10px 22px;
  margin-bottom: 28px;
  background: var(--teal-soft);
}
.jt-label svg { width: 16px; height: 16px; stroke: var(--teal); fill: none; stroke-width: 1.5; }
.jt-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.jt-hero h1 .hl { color: var(--teal); }
.jt-hero .sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 40px;
}
.jt-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ BUTTONS ============ */
.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--navy-deep);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 32px;
  transition: all 0.3s;
}
.btn-teal:hover { background: var(--teal-bright); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--teal);
  color: var(--teal);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 32px;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--teal-soft); }

/* ============ ADVANTAGES ============ */
.adv-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 56px;
}
.adv-cell {
  background: var(--bg);
  padding: 48px 28px;
  text-align: center;
  transition: background 0.3s;
}
.adv-cell:hover { background: var(--bg-elevated); }
.adv-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border: 1px solid var(--teal-border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-soft);
}
.adv-icon svg { width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.adv-cell h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.adv-cell p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.6; }

/* ============ PRICING ============ */
.jt-pricing { border-top: 1px solid var(--border); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 56px;
}
.price-cell {
  background: var(--bg);
  padding: 44px 28px;
  text-align: center;
  position: relative;
  transition: background 0.4s;
  display: flex;
  flex-direction: column;
}
.price-cell:hover { background: var(--bg-elevated); }
.price-cell.feat { border-top: 3px solid var(--teal); }
.price-cell.feat::after {
  content: 'Empfohlen';
  position: absolute;
  top: 12px; right: 12px;
  background: var(--teal);
  color: var(--navy-deep);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
}
.price-cell h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.price-cell .p-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.price-calc {
  background: var(--teal-soft);
  border: 1px solid var(--teal-border);
  padding: 12px 16px;
  margin-bottom: 16px;
  text-align: left;
}
.price-calc-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
  padding: 3px 0;
}
.price-calc-row.strike span:last-child { text-decoration: line-through; opacity: 0.6; }
.price-calc-row.highlight {
  color: var(--teal);
  font-weight: 700;
  border-top: 1px solid var(--teal-border);
  margin-top: 4px;
  padding-top: 7px;
}
.price-divider {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 8px;
}
.big-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}
.big-price span { font-size: 0.82rem; font-weight: 400; color: var(--text-dim); }
.feat-list {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
  flex: 1;
}
.feat-list li {
  font-size: 0.72rem;
  color: var(--text-dim);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 20px;
  position: relative;
  line-height: 1.4;
}
.feat-list li::before { content: '→'; position: absolute; left: 0; color: var(--teal); }
.price-cell .btn-teal {
  width: 100%;
  justify-content: center;
  font-size: 0.62rem;
  margin-top: auto;
}

/* ============ STEPS ============ */
.steps-section { border-top: 1px solid var(--border); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 56px;
}
.step-cell { background: var(--bg); padding: 48px 28px; }
.step-big-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(83,182,189,0.07);
  line-height: 1;
  margin-bottom: 12px;
}
.step-cell h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.step-cell p { font-size: 0.75rem; color: var(--text-dim); line-height: 1.65; }

/* ============ CTA FULL ============ */
.jt-cta-full {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-top: 3px solid var(--teal);
  padding: 80px 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.jt-cta-full h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.jt-cta-full p {
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

/* Datenschutzhinweis unter CTA */
.jt-privacy-note {
  font-size: 0.65rem !important;
  color: var(--text-muted) !important;
  max-width: 560px !important;
  margin: 20px auto 0 !important;
  line-height: 1.6 !important;
}
.jt-privacy-note a { color: var(--teal); text-decoration: underline; }

/* ============ FOCUS STYLES (BFSG / WCAG 2.1 AA) ============ */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}
/* Buttons mit eigenem Hintergrund: stärkerer Kontrast */
button:focus-visible,
.btn-teal:focus-visible,
.btn-outline:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  box-shadow: 0 0 0 4px rgba(83,182,189,0.25);
}
/* Nav-Links */
.nav-link:focus-visible,
.nav-links a:focus-visible,
.nav-logo:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ============ LEGAL PAGES ============ */
.legal-page {
  padding: 140px 40px 80px;
  max-width: 760px;
  position: relative;
  z-index: 1;
}
.legal-page h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.legal-page p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.8; margin-bottom: 10px; }
.legal-page a { color: var(--teal); text-decoration: none; border-bottom: 1px solid var(--teal-border); }
.legal-page a:hover { border-color: var(--teal); }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 16px;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-hover);
  padding: 24px 28px;
  z-index: 300;
  display: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.cookie-banner.show { display: block; }
.cookie-banner h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cookie-banner p { font-size: 0.72rem; color: var(--text-dim); line-height: 1.6; margin-bottom: 16px; }
.cookie-banner p a { color: var(--teal); text-decoration: none; }
.cookie-btns { display: flex; gap: 6px; }
.cookie-btns button {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.c-a { background: var(--teal); color: var(--navy-deep); }
.c-a:hover { background: var(--teal-bright); }
.c-d { background: transparent; color: var(--text-dim); border: 1px solid var(--border-hover) !important; }
.c-d:hover { color: var(--text); }

/* ============ SKIP LINK ============ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--teal);
  color: var(--navy-deep);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ============ NARRATIVE SECTION ============ */
.narrative-section { border-top: 1px solid var(--border); }
.narrative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 56px;
}
.narrative-col h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.narrative-col h2 .hl { color: var(--teal); }
.narrative-col p { font-size: 0.82rem; color: var(--text-dim); line-height: 1.85; }
.narrative-col .col-label {
  font-size: 0.65rem;
  color: var(--teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
@media (max-width: 900px) {
  .narrative-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ============ PROMISE SECTION ============ */
.promise-section {
  border-top: 3px solid var(--teal);
  background: var(--bg-elevated);
  padding: 80px 40px;
  position: relative;
  z-index: 1;
}
.promise-inner { max-width: 760px; }
.promise-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
  display: block;
}
.promise-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--teal);
  line-height: 0.95;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.promise-text { font-size: 0.85rem; color: var(--text-dim); line-height: 1.85; max-width: 640px; }
@media (max-width: 900px) {
  .promise-section { padding: 60px 20px; }
}

/* ============ THEME TOGGLE ============ */
.theme-toggle {
  background: none;
  border: 1px solid var(--border-hover);
  color: var(--text-dim);
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--teal); color: var(--teal); }
.theme-toggle svg { width: 16px; height: 16px; }
.icon-moon { display: block; }
.icon-sun  { display: none; }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: block; }

/* ============ COMP ICON ANIMATIONS ============ */
@keyframes drawCompPath {
  from { stroke-dashoffset: 60; opacity: 0; }
  10%  { opacity: 1; }
  to   { stroke-dashoffset: 0; opacity: 1; }
}
.pm-anim line, .pm-anim polyline {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawCompPath 0.5s ease forwards;
  opacity: 0;
}
.pm-anim .r1 { animation-delay: 0.2s; }
.pm-anim .r2 { animation-delay: 0.4s; }
.pm-anim .r3 { animation-delay: 0.6s; }
.pm-anim .c1 { animation-delay: 0.55s; }
.pm-anim .c2 { animation-delay: 0.75s; }
.pm-anim .c3 { animation-delay: 0.95s; }
.digi-anim path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawCompPath 0.6s ease forwards;
  opacity: 0;
}
.digi-anim .d1 { animation-delay: 0.1s; }
.digi-anim .d2 { animation-delay: 0.3s; }
.digi-anim .d3 { animation-delay: 0.5s; }
.digi-anim .d4 { animation-delay: 0.7s; }

/* ============ DS ANIMATION ============ */
.ds-anim { margin-top: 20px; height: 52px; position: relative; overflow: hidden; }
.ds-anim rect.ds-bars {
  transform-origin: 50% 100%;
  animation: growBar 1.8s ease-out forwards;
  animation-delay: calc(var(--i) * 0.12s);
  transform: scaleY(0);
  fill: var(--teal);
  opacity: 0.55;
}
.ds-anim rect.ds-bars:hover { opacity: 1; }
@keyframes growBar { to { transform: scaleY(1); } }
.ds-line-path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawLine 2.2s ease-out 0.4s forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.ds-dot { fill: var(--teal); opacity: 0; animation: popDot 0.3s ease-out forwards; }
@keyframes popDot { to { opacity: 1; } }

/* ============ PM ANIM LARGE ============ */
.pm-anim-large { margin-top: 20px; height: 52px; overflow: hidden; }
.gantt-bar {
  fill: var(--teal);
  opacity: 0.55;
  transform-box: fill-box;
  transform-origin: left center;
  transform: scaleX(0);
  animation: growGantt 0.8s ease-out forwards;
  animation-delay: calc(var(--i) * 0.28s + 0.2s);
}
.gantt-dot { fill: var(--teal); opacity: 0; animation: popDot 0.3s ease-out forwards; }
@keyframes growGantt { to { transform: scaleX(1); } }

/* ============ DIGI ANIM LARGE ============ */
.digi-anim-large { margin-top: 20px; height: 52px; overflow: hidden; }
.digi-node-lg {
  opacity: 0;
  animation: fadeInNode 0.35s ease forwards;
  animation-delay: calc(var(--i) * 0.18s + 0.1s);
}
.digi-flow-lg {
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: drawFlowLg 0.4s ease forwards;
  animation-delay: calc(var(--i) * 0.18s + 0.38s);
}
@keyframes fadeInNode { to { opacity: 1; } }
@keyframes drawFlowLg { to { stroke-dashoffset: 0; } }

/* ============ PHOTO STRIP ============ */
.photo-strip { border-top: 1px solid var(--border); }
.photo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.photo-item { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.photo-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(25%) brightness(0.6);
  transition: filter 0.5s, transform 0.6s;
}
.photo-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(83,182,189,0.06) 0%, rgba(7,13,22,0.5) 100%);
  pointer-events: none;
  z-index: 1;
}
.photo-item-border {
  position: absolute;
  inset: 0;
  border: 1px solid var(--teal-border);
  pointer-events: none;
  z-index: 2;
}
.photo-item:hover img { filter: grayscale(5%) brightness(0.8); transform: scale(1.04); }

/* ============ SEITEN-NAVIGATION (Startseite) ============ */
.page-nav-strip {
  position: static;
  height: auto;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
  padding: 0;
  backdrop-filter: none;
  display: flex;
  justify-content: center;
  gap: 0;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.page-nav-strip a {
  display: block;
  padding: 28px 40px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-right: 1px solid var(--border);
  transition: color 0.3s, background 0.3s;
}
.page-nav-strip a:first-child { border-left: 1px solid var(--border); }
.page-nav-strip a:hover {
  color: var(--teal);
  background: var(--bg);
}
@media (max-width: 900px) {
  .page-nav-strip { flex-wrap: wrap; }
  .page-nav-strip a {
    flex: 1 1 50%;
    text-align: center;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }
  .page-nav-strip a:first-child { border-left: none; }
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: rgba(7,13,22,0.97);
    border-bottom: 1px solid var(--border-hover);
    padding: 20px;
    gap: 20px;
  }
  .nav-mobile-btn { display: block; }
  section, .hero, .jt-hero { padding-left: 20px; padding-right: 20px; }
  .comp-grid, .price-grid, .steps-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .adv-strip { grid-template-columns: repeat(2, 1fr); }
  .contact-bar { flex-direction: column; text-align: center; padding: 40px 20px; }
  .contact-bar-links { flex-direction: column; gap: 12px; }
  footer { flex-direction: column; text-align: center; padding: 32px 20px; }
  .legal-page { padding: 120px 20px 60px; }
  .cookie-banner { left: 8px; right: 8px; max-width: none; bottom: 20px; }
  .photo-grid-3 { grid-template-columns: 1fr; }
}

/* ============ LIGHT MODE ============ */
[data-theme="light"] {
  --bg: #f0f4f8;
  --bg-elevated: #e2eaf2;
  --bg-card: #ffffff;
  --text: #0d1f35;
  --text-dim: #2d4a65;
  --text-muted: #4a6d8c;
  --border: rgba(19,45,78,0.1);
  --border-hover: rgba(19,45,78,0.22);
  --teal-glow: rgba(83,182,189,0.12);
  --teal-soft: rgba(83,182,189,0.08);
  --teal-border: rgba(83,182,189,0.28);
}
[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(19,45,78,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,45,78,0.04) 1px, transparent 1px);
}
[data-theme="light"] nav {
  background: rgba(240,244,248,0.94);
  border-bottom-color: rgba(19,45,78,0.12);
}
[data-theme="light"] .comp-cell,
[data-theme="light"] .project-cell,
[data-theme="light"] .price-cell,
[data-theme="light"] .step-cell,
[data-theme="light"] .adv-cell { background: var(--bg-card); }
[data-theme="light"] .comp-cell:hover,
[data-theme="light"] .project-cell:hover,
[data-theme="light"] .price-cell:hover,
[data-theme="light"] .adv-cell:hover { background: var(--bg-elevated); }
[data-theme="light"] .comp-grid,
[data-theme="light"] .project-grid,
[data-theme="light"] .price-grid,
[data-theme="light"] .steps-grid,
[data-theme="light"] .adv-strip { background: rgba(19,45,78,0.08); }
[data-theme="light"] .jt-cta-full h2 { color: var(--teal); }
[data-theme="light"] .jt-cta-full p  { color: #ffffff; }
