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

  :root {
    --black:    #0a0a0a;
    --dark:     #111111;
    --darkgray: #1c1c1c;
    --green1:   #7ec820;
    --green2:   #4a9400;
    --green3:   #3a7500;
    --blue:     #0078d4;
    --blue-lt:  #e6f3fc;
    --white:    #ffffff;
    --offwhite: #f4f4f4;
    --gray:     #888888;
    --midgray:  #555555;
    --border:   #2a2a2a;
    --border-lt:#d8d8d8;

    /* Dark mode defaults (already the design) */
    --bg-body:      #f4f4f4;
    --bg-dark:      #111111;
    --bg-card:      #1a1a1a;
    --bg-section:   #111111;
    --bg-partner:   #ffffff;
    --text-main:    #1a1a1a;
    --text-muted:   #666666;
    --text-card:    #888888;
    --text-heading: #ffffff;
    --card-border:  #2a2a2a;
    --nav-bg:       #111111;
  }

  /* ── LIGHT MODE ── */
  @media (prefers-color-scheme: light) {
    :root {
      --bg-body:      #f0f2f5;
      --bg-dark:      #ffffff;
      --bg-card:      #ffffff;
      --bg-section:   #1a2a3a;
      --bg-partner:   #ffffff;
      --text-main:    #1a1a1a;
      --text-muted:   #555555;
      --text-card:    #444444;
      --text-heading: #ffffff;
      --card-border:  #dddddd;
      --nav-bg:       #1a2a3a;
    }
    body { color: var(--text-main); background: var(--bg-body); }

    /* Nav light */
    nav { background: var(--nav-bg) !important; }

    /* Leistungen cards light */
    .leistung-card {
      background: #ffffff !important;
      border-color: #dddddd !important;
      box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }
    .leistung-card h3 { color: #111111 !important; }
    .leistung-card p  { color: #555555 !important; }

    /* Über uns panel light */
    .ueber-panel { background: #1a2a3a !important; }
    #ueber { background: #f0f2f5 !important; }
    .ueber-text h3 { color: #111111 !important; }
    .ueber-text p  { color: #555555 !important; }
    .sp-label { color: #111111 !important; }
    .sp-sub   { color: #777777 !important; }

    /* Leistungen section stays dark */
    #leistungen { background: #1a2a3a !important; }

    /* Kontakt section stays dark */
    #kontakt { background: #1a2a3a !important; }
    .kontakt-card { background: #243447 !important; border-color: #2e4460 !important; }

    /* Impressum stays dark */
    #impressum { background: #0f1a26 !important; }

    /* Partner section light */
    #partner { background: #f0f2f5 !important; }

    /* Footer */
    footer { background: #0f1a26 !important; }

    /* Stats text in hero */
    .stat-lbl { color: #aaaaaa !important; }
  }

  html { scroll-behavior: smooth; }
  body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #1a1a1a;
    background: #111111;
    line-height: 1.7;
  }
  a { color: inherit; text-decoration: none; }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0;
    background: #111111;
    padding: 0 2.5rem;
    height: 70px;
    display: flex; align-items: center; justify-content: space-between;
    z-index: 1000;
  }
  @keyframes stripe-slide {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }

  nav::after {
    content: '';
    position: fixed;
    top: 70px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--green3) 0%, var(--green1) 25%, var(--blue) 100%);
    z-index: 1000;
    pointer-events: none;
  }

  .nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-top: 6px;
    margin-left: calc(33% - 90px);
  }
  .nav-logo img:first-child {
    width: 180px;
    height: auto;
    display: block;
    border-radius: 4px;
  }
  .nav-schrift {
    width: 180px;
    height: auto;
    display: block;
    mix-blend-mode: screen;
  }

  .nav-links { display: flex; gap: 0.4rem; align-items: center; }
  .nav-links a { color: #aaaaaa; font-size: 14px; font-weight: 500; transition: color .2s; }
  .nav-links a:hover { color: var(--green1); }

  .nav-cta {
    background: linear-gradient(135deg, var(--green1), var(--green2)) !important;
    color: var(--white) !important;
    padding: 9px 20px !important;
    border-radius: 10px;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: opacity .2s !important;
  }
  .nav-cta:hover { opacity: .88 !important; color: var(--white) !important; }

  /* ── HERO ── */
  .hero {
    margin-top: 70px;
    background: var(--dark);
    color: var(--white);
    padding: 90px 2.5rem 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .hero-keyboard {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;
    opacity: 0.12;
    pointer-events: none;
  }

  .hero-eyebrow {
    display: inline-block;
    background: rgba(126,200,32,0.12);
    color: var(--green1);
    border: 1px solid rgba(126,200,32,0.3);
    border-radius: 20px;
    padding: 5px 18px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    max-width: 780px;
    margin-left: auto; margin-right: auto;
  }
  .hero h1 .green { color: var(--green1); }
  .hero h1 .blue  { color: var(--blue);   }

  .hero p {
    font-size: 1.05rem; color: #999999;
    max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.85;
  }

  .hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

  .btn-green {
    background: linear-gradient(135deg, var(--green1), var(--green2));
    color: var(--white);
    padding: 14px 30px; border-radius: 12px;
    font-weight: 700; font-size: 15px;
    transition: opacity .2s;
    box-shadow: 0 4px 16px rgba(126,200,32,0.35);
  }
  .btn-green:hover { opacity: .88; }

  .btn-outline {
    background: transparent; color: var(--white);
    border: 1.5px solid #444; padding: 14px 30px; border-radius: 12px;
    font-weight: 500; font-size: 15px; transition: border-color .2s, color .2s;
  }
  .btn-outline:hover { border-color: var(--green1); color: var(--green1); }

  .hero-stats {
    margin-top: 4rem;
    display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
    padding-top: 2.5rem;
  }
  .stat-item { text-align: center; }
  .stat-num { font-size: 2rem; font-weight: 700; color: var(--green1); line-height: 1; }
  .stat-lbl { font-size: 11px; color: #666; text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; }

  /* ── DIVIDER ── */
  .section-divider {
    height: 4px;
    background: linear-gradient(90deg, var(--green2), var(--green1), var(--blue), var(--green1), var(--green2));
    background-size: 200% 100%;
    animation: stripe-slide 3s ease-in-out infinite;
  }

  /* ── SECTION BASE ── */
  section { padding: 80px 2.5rem; }
  .section-inner { max-width: 1100px; margin: 0 auto; }

  .section-eyebrow {
    display: inline-block;
    color: var(--green2);
    font-size: 11px; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: .75rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700; color: #111; margin-bottom: 1rem; line-height: 1.2;
  }

  .section-lead {
    color: #666; font-size: 1rem; max-width: 620px; line-height: 1.85;
  }

  /* ── LEISTUNGEN ── */
  #leistungen { background: var(--dark); }
  #leistungen .section-eyebrow { color: var(--green1); }
  #leistungen .section-title { color: var(--white); }
  #leistungen .section-lead { color: #888; }

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

  .leistung-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 1.75rem;
    transition: border-color .25s, transform .2s;
    border-color: var(--green1);
    transform: translateY(-2px);
  }

  .leistung-icon {
    width: 50px; height: 50px;
    background: rgba(126,200,32,0.1);
    border: 1px solid rgba(126,200,32,0.2);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.1rem; width: 24px; height: 24px; stroke: var(--green1); fill: none; stroke-width: 1.8; }

  .leistung-card h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
  .leistung-card p  { font-size: 14px; color: #888; line-height: 1.7; }

  /* ── ÜBER UNS ── */
  #ueber { background: var(--offwhite); }

  .ueber-grid {
    margin-top: 3rem;
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 3.5rem; align-items: start;
  }
  @media (max-width: 760px) { .ueber-grid { grid-template-columns: 1fr; gap: 2rem; } }

  .ueber-panel {
    background: var(--dark);
    border-radius: 18px;
    padding: 2.25rem;
    border-top: 3px solid var(--green1);
  }

  .profile-header {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #2a2a2a;
  }
  .profile-avatar {
    width: 54px; height: 54px; border-radius: 50%;
    background: linear-gradient(135deg, var(--green1), var(--green2));
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800; color: var(--white); flex-shrink: 0;
  }
  .profile-name { font-size: 17px; font-weight: 700; color: var(--white); }
  .profile-role { font-size: 13px; color: #777; margin-top: 3px; white-space: nowrap; }

  .skill-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 1.25rem 0; }
  .skill-tag {
    background: rgba(126,200,32,0.1);
    color: var(--green1);
    border: 1px solid rgba(126,200,32,0.25);
    border-radius: 8px;
    padding: 3px 10px; font-size: 12px; font-weight: 600;
    background: rgba(0,120,212,0.1);
    color: #4da6e8;
    border-color: rgba(0,120,212,0.25);
  }

  .cert-list { margin-top: 1.25rem; }
  .cert-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: #888; padding: 6px 0;
    border-bottom: 1px solid #1e1e1e;
  }
  .cert-item::before { content: '✓'; color: var(--green1); font-weight: 800; font-size: 12px; }

  .ueber-text h3 { font-size: 1.25rem; font-weight: 700; color: #111; margin-bottom: 1rem; }
  .ueber-text p { color: #555; font-size: 15px; line-height: 1.85; margin-bottom: 1.25rem; }

  .sp-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 1.1rem; }
  .sp-dot {
    width: 3px; flex-shrink: 0; margin-top: 4px;
    background: linear-gradient(180deg, var(--green1), var(--green2));
    align-self: stretch; border-radius: 2px; min-height: 36px;
  }
  .sp-label { font-size: 14px; font-weight: 700; color: #111; }
  .sp-sub { font-size: 13px; color: #777; margin-top: 2px; }

  /* ── PARTNER ── */
  #partner { background: var(--offwhite); }
  #partner .section-eyebrow { color: var(--green2); }
  #partner .section-title   { color: #111; }
  #partner .section-lead    { color: #666; }

  .partner-card {
    margin-top: 3rem;
    background: var(--white);
    border: 1.5px solid var(--border-lt);
    border-radius: 18px;
    padding: 2.25rem 2.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border-left: 4px solid var(--green1);
    transition: border-color .2s, box-shadow .2s;
  }
  .partner-card:hover {
    border-color: var(--green1);
    box-shadow: 0 4px 24px rgba(126,200,32,0.1);
  }

  .partner-logo-box {
    background: #000000;
    border: none;
    border-radius: 6px;
    padding: 1rem 1.5rem;
    flex-shrink: 0;
    text-align: center;
    min-width: 130px;
  }

  .partner-info h3 { font-size: 17px; font-weight: 700; color: #111; margin-bottom: .5rem; }
  .partner-info p  { font-size: 14px; color: #666; line-height: 1.75; }
  .partner-info a  { color: var(--green2); font-weight: 600; }
  .partner-info a:hover { color: var(--green1); }

  @media (max-width: 600px) {
    .partner-card { grid-template-columns: 1fr; }
  }

  /* ── TOOLS / EIGENENTWICKLUNGEN ── */
  #tools { background: var(--dark); }
  #tools .section-eyebrow { color: var(--green1); }
  #tools .section-title   { color: var(--white); }
  #tools .section-lead    { color: #888; }

  .tools-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
  }

  .tool-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 2rem;
    transition: border-color .25s, transform .2s;
  }
  .tool-card:hover {
    border-color: var(--green1);
    transform: translateY(-2px);
  }

  .tool-header {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .tool-icon {
    width: 52px; height: 52px; flex-shrink: 0;
    background: rgba(126,200,32,0.1);
    border: 1px solid rgba(126,200,32,0.2);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--green1);
  }
  .tool-icon svg { width: 26px; height: 26px; }

  .tool-header h3 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 4px; }

  .tool-badge {
    display: inline-block;
    background: rgba(0,120,212,0.15);
    color: #4da6e8;
    border: 1px solid rgba(0,120,212,0.25);
    border-radius: 6px;
    padding: 2px 10px;
    font-size: 11px; font-weight: 600; letter-spacing: .5px;
  }

  .tool-card > p { font-size: 14px; color: #888; line-height: 1.75; margin-bottom: 1.25rem; }

  .tool-features { margin-bottom: 1.25rem; }
  .tool-feature {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 13px; color: #999; padding: 4px 0;
  }
  .tool-feature svg { width: 14px; height: 14px; stroke: var(--green1); flex-shrink: 0; margin-top: 2px; }

  .tool-stack { display: flex; flex-wrap: wrap; gap: 6px; }
  .tool-tag {
    background: rgba(126,200,32,0.08);
    color: var(--green1);
    border: 1px solid rgba(126,200,32,0.2);
    border-radius: 6px;
    padding: 3px 10px; font-size: 11px; font-weight: 600;
  }

  /* ── KONTAKT ── */
  #kontakt { background: var(--dark); color: var(--white); }
  #kontakt .section-eyebrow { color: var(--green1); }
  #kontakt .section-title   { color: var(--white); }
  #kontakt .section-lead    { color: #888; }

  .kontakt-grid {
    margin-top: 3rem;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem;
  }

  .kontakt-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 16px; padding: 1.4rem 1.5rem;
    display: flex; align-items: center; gap: 1.1rem;
    transition: border-color .2s;
  }
  .kontakt-card:hover { border-color: var(--green1); }

  .kontakt-icon {
    width: 46px; height: 46px;
    background: rgba(126,200,32,0.1);
    border: 1px solid rgba(126,200,32,0.2);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .kontakt-icon svg { width: 20px; height: 20px; stroke: var(--green1); fill: none; stroke-width: 1.8; }

  .kontakt-lbl { font-size: 11px; color: #666; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
  .kontakt-val { font-size: 14px; font-weight: 600; color: var(--green1); line-height: 1.4; }
  .kontakt-val a { color: var(--green1); }

  /* ── IMPRESSUM ── */
  #impressum { background: #0a0a0a; color: var(--white); padding: 60px 2.5rem; }
  #impressum .section-title { color: var(--white); font-size: 1.4rem; }

  .impressum-grid {
    margin-top: 2rem;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem;
  }
  .impressum-block h4 {
    font-size: 11px; font-weight: 700; color: var(--green1);
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: .75rem;
  }
  .impressum-block p,
  .impressum-block address { font-size: 14px; color: #666; font-style: normal; line-height: 1.95; }

  /* ── FOOTER ── */
  footer {
    background: #050505;
    color: #333; text-align: center; font-size: 13px; padding: 1.25rem 1rem 1.75rem;
    border-top: 1px solid #1a1a1a;
    display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  }
  footer svg { vertical-align: middle; margin: 0 0.3rem; }
  footer .g { color: var(--green1); }
  footer .b { color: var(--blue); }

  /* ── STICKY BOTTOM BAR ── */
  .sticky-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 6px;
    z-index: 999;
    background: linear-gradient(90deg, var(--green3) 0%, var(--green1) 25%, var(--blue) 100%);
  }
  @media (max-width: 640px) {
    .nav-links { display: none; }
    .hero { padding: 50px 1.25rem 40px; }
    section { padding: 60px 1.25rem; }
  }