:root {
      --bg: #0a0d12;
      --surface: #111520;
      --surface2: #161c2a;
      --accent: #2f7fff;
      --accent2: #00c4a7;
      --text: #e8edf5;
      --text-muted: #7a8599;
      --border: rgba(255,255,255,0.07);
      --card-bg: rgba(22,28,42,0.8);
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html {
      scroll-behavior: smooth;
      width: 100%;
      overflow-x: clip;
    }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: 'DM Sans', sans-serif;
      font-weight: 300;
      line-height: 1.7;
      width: 100%;
      overflow-x: clip;
    }
    h1, h2, h3, h4 { font-family: 'Syne', sans-serif; line-height: 1.3; }

    /* ── NAV ── */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; align-items: center; justify-content: space-between;
      padding: 1.2rem 6vw;
      background: rgba(10,13,18,0.85);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
    }
    .logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.4rem; line-height: 1.4; color: var(--text); text-decoration: none; letter-spacing: -0.5px; }
    .logo span { color: var(--accent); }
    .nav-links { display: flex; gap: 2rem; list-style: none; }
    .nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.875rem; font-weight: 400; line-height: 1.45; transition: color 0.2s; }
    .nav-links a:hover { color: var(--text); }
    .nav-cta {
      background: var(--accent); color: #fff; padding: 0.68rem 1.4rem 0.78rem;
      border-radius: 4px; text-decoration: none; font-size: 0.875rem; font-weight: 500;
      font-family: 'Syne', sans-serif; line-height: 1.45; display: inline-flex; align-items: center;
      transition: opacity 0.2s;
    }
    .nav-cta:hover { opacity: 0.85; }
    .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
    .hamburger span { width: 24px; height: 2px; background: var(--text); display: block; }
    nav.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    nav.menu-open .hamburger span:nth-child(2) { opacity: 0; }
    nav.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hamburger span { transition: transform 0.2s ease, opacity 0.2s ease; }

    /* ── HERO ── */
    #hero {
      min-height: 100vh;
      display: grid; place-items: center;
      position: relative;
      padding: 10rem 6vw 5rem;
      overflow: hidden;
    }
    .hero-grid-bg {
      position: absolute; inset: 0;
      background-image:
        linear-gradient(rgba(47,127,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47,127,255,0.04) 1px, transparent 1px);
      background-size: 60px 60px;
    }
    .hero-glow {
      position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
      width: 900px; height: 600px;
      background: radial-gradient(ellipse at center, rgba(47,127,255,0.12) 0%, transparent 65%);
      pointer-events: none;
    }
    .hero-content { position: relative; max-width: 860px; width: 100%; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 0.5rem;
      background: rgba(47,127,255,0.1); border: 1px solid rgba(47,127,255,0.25);
      padding: 0.3rem 1rem; border-radius: 99px; font-size: 0.8rem; color: var(--accent);
      font-family: 'Syne', sans-serif; letter-spacing: 0.05em; margin-bottom: 1.5rem;
    }
    .hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
    @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
    h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; color: var(--text); margin-bottom: 1.25rem; }
    h1 em { font-style: normal; color: var(--accent); }
    .hero-sub { font-size: 1.1rem; color: var(--text-muted); max-width: 620px; margin: 0 auto 2.5rem; line-height: 1.8; }
    .hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; align-items: center; }
    .promo-cta-note {
      margin-top: 0.85rem;
      font-size: 0.8rem;
      color: var(--text-muted);
      text-align: center;
    }
    .btn-primary {
      background: var(--accent); color: #fff; padding: 1rem 2rem 1.12rem;
      border-radius: 4px; text-decoration: none; font-family: 'Syne', sans-serif;
      font-weight: 600; font-size: 0.95rem; line-height: 1.45; display: inline-flex; align-items: center;
      transition: opacity 0.2s, transform 0.2s;
    }
    .btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }
    .btn-outline {
      border: 1px solid rgba(255,255,255,0.2); color: var(--text);
      padding: 0.92rem 2rem 1.02rem; border-radius: 4px; text-decoration: none;
      font-family: 'Syne', sans-serif; font-weight: 500; font-size: 0.95rem; line-height: 1.45;
      display: inline-flex; align-items: center;
      transition: border-color 0.2s, background 0.2s;
    }
    .btn-outline:hover { border-color: var(--accent); background: rgba(47,127,255,0.06); }
    .hero-stats {
      display: flex; gap: 3rem; justify-content: center; margin-top: 4rem;
      padding-top: 2rem; border-top: 1px solid var(--border); flex-wrap: wrap;
    }
    .stat-item { text-align: center; }
    .stat-num { font-family: 'Syne', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--accent); }
    .stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }

    /* ── SECTIONS ── */
    section { padding: 5rem 6vw; }
    .section-label {
      font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 600; line-height: 1.45;
      letter-spacing: 0.15em; color: var(--accent); text-transform: uppercase; margin-bottom: 0.75rem;
    }
    .section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; }
    .section-sub { color: var(--text-muted); max-width: 560px; margin-bottom: 3rem; }
    .promo-banner {
      margin-bottom: 1rem;
      display: inline-flex;
      flex-direction: column;
      gap: 0.25rem;
      padding: 0.7rem 1rem;
      border: 1px solid rgba(47,127,255,0.3);
      background: rgba(47,127,255,0.1);
      border-radius: 4px;
      max-width: 560px;
    }
    .promo-banner strong {
      font-family: 'Syne', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--accent);
      line-height: 1.35;
    }
    .promo-banner span {
      font-size: 0.78rem;
      color: var(--text-muted);
      line-height: 1.4;
    }

    /* ── PACKAGES ── */
    #leistungen { background: var(--surface); }
    .packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5px; }
    .package-card {
      background: var(--surface2); padding: 2rem;
      position: relative; transition: transform 0.25s;
    }
    .promo-package-badge {
      position: absolute;
      top: 0.75rem;
      right: 0.75rem;
      background: rgba(47,127,255,0.12);
      border: 1px solid rgba(47,127,255,0.35);
      color: var(--accent);
      font-family: 'Syne', sans-serif;
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      line-height: 1.25;
      padding: 0.22rem 0.55rem;
      border-radius: 999px;
      z-index: 2;
    }
    .package-card.green .promo-package-badge {
      background: rgba(0,196,167,0.12);
      border-color: rgba(0,196,167,0.35);
      color: var(--accent2);
    }
    .package-card:hover { transform: translateY(-3px); }
    .package-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
      background: var(--accent);
    }
    .package-card.green::before { background: var(--accent2); }
    .pkg-letter {
      font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 800;
      color: rgba(47,127,255,0.12); position: absolute; top: 1rem; right: 1.5rem;
    }
    .pkg-title { font-family: 'Syne', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; }
    .pkg-price {
      font-family: 'Syne', sans-serif; font-size: 1.5rem; font-weight: 800;
      color: var(--accent); margin-bottom: 1.25rem;
    }
    .pkg-price.green { color: var(--accent2); }
    .pkg-price small { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }
    .pkg-features { list-style: none; }
    .pkg-features li {
      font-size: 0.875rem; color: var(--text-muted); padding: 0.35rem 0;
      border-bottom: 1px solid var(--border);
      display: flex; align-items: flex-start; gap: 0.6rem;
    }
    .pkg-features li::before { content: '—'; color: var(--accent); flex-shrink: 0; }
    .pkg-features li.note { color: rgba(255,200,80,0.8); font-style: italic; }
    .pkg-features li.note::before { content: '!'; color: rgba(255,200,80,0.8); }
    .pkg-benefit {
      margin-top: 1.25rem; padding: 0.875rem 1rem;
      background: rgba(47,127,255,0.06); border-left: 2px solid var(--accent);
      font-size: 0.82rem; color: var(--text-muted); font-style: italic;
    }
    .pkg-benefit.green { background: rgba(0,196,167,0.06); border-left-color: var(--accent2); }
    .price-note {
      margin-top: 2.5rem; text-align: center; font-size: 0.85rem; color: var(--text-muted);
      padding: 1.25rem 2rem; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 4px;
    }

    /* ── REFERENCE ── */
    #referenz { background: var(--bg); }
    .ref-projects {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.2rem;
    }
    .ref-project {
      background: var(--surface);
      border: 1px solid var(--border);
      display: grid;
      grid-template-rows: auto 1fr;
      min-height: 100%;
    }
    .ref-project-media {
      position: relative;
      aspect-ratio: 16/9;
      overflow: hidden;
      border-bottom: 1px solid var(--border);
      background: var(--surface2);
    }
    .ref-project-media img {
      width: 100%; height: 100%; object-fit: cover; display: block;
      transition: transform 0.4s; opacity: 1;
    }
    .ref-project-media img.loaded ~ .img-placeholder { display: none; }
    .ref-project:hover .ref-project-media img { transform: scale(1.04); }
    .img-placeholder {
      width: 100%; height: 100%; display: flex; flex-direction: column;
      align-items: center; justify-content: center; gap: 0.5rem;
      color: var(--text-muted); font-size: 0.8rem; text-align: center; padding: 1rem;
      position: absolute; inset: 0;
    }
    .img-placeholder svg { opacity: 0.3; }
    .ref-project-body { padding: 1.15rem 1.2rem 1.3rem; }
    .ref-project-kicker {
      font-family: 'Syne', sans-serif;
      font-size: 0.7rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 0.5rem;
    }
    .ref-project-title {
      font-family: 'Syne', sans-serif;
      font-size: 1.05rem;
      margin-bottom: 0.6rem;
    }
    .ref-project-text { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; }
    .ref-points {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.55rem;
      margin-bottom: 1rem;
    }
    .ref-point {
      background: var(--surface2);
      border-left: 2px solid var(--accent2);
      padding: 0.55rem 0.65rem;
      font-size: 0.8rem;
      color: var(--text-muted);
    }
    .ref-note { font-size: 0.78rem; color: var(--text-muted); opacity: 0.7; }
    h1,
    .section-title,
    .ref-point,
    .gallery-card-title {
      overflow-wrap: anywhere;
    }

    /* ── PROCESS ── */
    #ablauf { background: var(--surface); }
    .process-steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; position: relative; }
    .process-steps::before {
      content: ''; position: absolute; top: 2rem; left: 1.75rem; right: 1.75rem; height: 1px;
      background: linear-gradient(90deg, var(--accent), var(--accent2));
    }
    .process-step { text-align: center; padding: 0 0.5rem; position: relative; }
    .step-dot {
      width: 2.5rem; height: 2.5rem; border-radius: 50%;
      background: var(--surface2); border: 2px solid var(--accent);
      display: flex; align-items: center; justify-content: center;
      font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 700; color: var(--accent);
      margin: 0 auto 0.875rem;
      position: relative; z-index: 1;
      transition: background 0.2s;
    }
    .process-step:hover .step-dot { background: var(--accent); color: #fff; }
    .step-label { font-family: 'Syne', sans-serif; font-size: 0.75rem; font-weight: 600; line-height: 2ss; color: var(--text-muted); }

    /* ── FAQ ── */
    #faq { background: var(--bg); }
    .faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; }
    .faq-item { background: var(--surface2); padding: 1.75rem; cursor: pointer; }
    .faq-item:hover { background: var(--surface); }
    .faq-q { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text); display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
    .faq-q::after { content: '+'; color: var(--accent); font-size: 1.25rem; flex-shrink: 0; transition: transform 0.2s; }
    .faq-item.open .faq-q::after { transform: rotate(45deg); }
    .faq-a { font-size: 0.875rem; color: var(--text-muted); display: none; }
    .faq-item.open .faq-a { display: block; }

    /* ── CONTACT ── */
    #kontakt { background: var(--surface); }
    .contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 5rem; align-items: start; }
    .contact-info { }
    .info-item { margin-bottom: 1.5rem; }
    .info-label { font-family: 'Syne', sans-serif; font-size: 0.7rem; line-height: 1.45; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.3rem; }
    .info-value { font-size: 0.95rem; color: var(--text); }
    .region-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
    .region-tag {
      background: rgba(47,127,255,0.1); border: 1px solid rgba(47,127,255,0.2);
      padding: 0.25rem 0.75rem; border-radius: 99px; font-size: 0.75rem; color: var(--accent);
    }
    form { display: flex; flex-direction: column; gap: 1rem; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    label { font-family: 'Syne', sans-serif; font-size: 0.72rem; line-height: 1.45; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 0.4rem; }
    input, select, textarea {
      width: 100%; background: var(--surface2); border: 1px solid var(--border);
      color: var(--text); padding: 0.75rem 1rem; border-radius: 3px;
      font-family: 'DM Sans', sans-serif; font-size: 0.9rem; outline: none;
      transition: border-color 0.2s;
    }
    input:focus, select:focus, textarea:focus { border-color: var(--accent); }
    select option { background: var(--surface2); }
    textarea { resize: vertical; min-height: 100px; }
    .privacy-row { display: flex; gap: 0.75rem; align-items: flex-start; }
    .privacy-row input[type="checkbox"] { width: auto; margin-top: 3px; flex-shrink: 0; }
    .privacy-row label { font-size: 0.8rem; text-transform: none; letter-spacing: 0; }
    .privacy-row a { color: var(--accent); }
    button[type="submit"] {
      background: var(--accent); color: #fff; border: none; padding: 1.05rem 2rem 1.18rem;
      font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.95rem; line-height: 1.45;
      border-radius: 4px; cursor: pointer; transition: opacity 0.2s, transform 0.2s;
      align-self: flex-start;
    }
    button[type="submit"]:hover { opacity: 0.85; transform: translateY(-1px); }

    /* ── FOOTER ── */
    footer {
      padding: 2rem 6vw; background: var(--bg); border-top: 1px solid var(--border);
      display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
      font-size: 0.8rem; color: var(--text-muted);
    }
    footer a { color: var(--text-muted); text-decoration: none; }
    footer a:hover { color: var(--text); }

    /* ── RESPONSIVE ── */
    @media (max-width: 900px) {
      .ref-projects, .contact-layout { grid-template-columns: 1fr; gap: 1rem; }
      .faq-grid { grid-template-columns: 1fr; }
      .process-steps { grid-template-columns: repeat(4, 1fr); }
      .process-steps::before { display: none; }
      .form-row { grid-template-columns: 1fr; }
    }
    @media (max-width: 767px) {
      #hero {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 8rem 16px 4rem;
      }
      nav {
        padding-left: 16px;
        padding-right: 16px;
      }
      .hero-content {
        width: 100%;
        max-width: 42rem;
        margin: 0 auto;
        text-align: center;
        align-items: center;
        transform: none;
      }
      .hero-badge { justify-content: center; }
      .hero-btns {
        width: 100%;
        justify-content: center;
      }
      .hero-btns a { justify-content: center; }
      #hero h1 br,
      #hero .hero-sub br { display: none; }
      .hero-sub,
      .section-sub { font-size: 1rem; }
      .hero-stats {
        width: 100%;
        justify-content: center;
        gap: 1.25rem;
      }
      .stat-item { min-width: calc(50% - 0.7rem); }
      section { padding: 4rem 5vw; }
    }

    @media (max-width: 700px) {
      nav { padding: 1rem 16px; }
      .nav-links, .nav-cta { display: none; }
      .hamburger { display: flex; }
      nav.menu-open .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(10,13,18,0.97);
        padding: 1.25rem 16px;
        gap: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.07);
      }
      nav.menu-open .nav-cta {
        display: block;
        width: calc(100% - 32px);
        margin: 0.5rem 16px 1.2rem;
        text-align: center;
      }
      .packages-grid { grid-template-columns: 1fr; }
      .process-steps { grid-template-columns: repeat(3, 1fr); }
      .ref-points { grid-template-columns: 1fr; }
      #hero { padding: 8rem 5vw 4rem; }
      .hero-sub, .section-sub { font-size: 1rem; }
      #hero h1 br,
      #hero .hero-sub br { display: none; }
      .hero-stats { gap: 1.25rem; }
      .stat-item { min-width: calc(50% - 0.7rem); }
      section { padding: 4rem 5vw; }
    }

    @media (max-width: 480px) {
      .logo { font-size: 1.2rem; }
      .hero-btns a,
      button[type="submit"] { width: 100%; justify-content: center; }
      .promo-banner { width: 100%; }
      .promo-banner strong { font-size: 0.84rem; }
      .promo-package-badge { font-size: 0.64rem; padding: 0.2rem 0.45rem; }
      .promo-cta-note { font-size: 0.75rem; }
      .faq-item,
      .package-card,
      .gallery-card-body { padding: 1.1rem; }
      .process-steps { grid-template-columns: repeat(2, 1fr); gap: 1rem 0.5rem; }
    }

    @media (max-width: 480px) {
      .logo { font-size: 1.2rem; }
      .hero-btns a,
      button[type="submit"] { width: 100%; justify-content: center; }
      .faq-item,
      .package-card,
      .gallery-card-body { padding: 1.1rem; }
      .process-steps { grid-template-columns: repeat(2, 1fr); gap: 1rem 0.5rem; }
    }

    @media (max-width: 480px) {
      .logo { font-size: 1.2rem; }
      .hero-btns a,
      button[type="submit"] { width: 100%; justify-content: center; }
      .faq-item,
      .package-card,
      .gallery-card-body { padding: 1.1rem; }
      .process-steps { grid-template-columns: repeat(2, 1fr); gap: 1rem 0.5rem; }
    }

    /* ── GALLERY ── */
    .gallery-grid {
      display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5px;
    }
    .gallery-card { background: var(--bg); }
    .gallery-img-wrap {
      position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface2);
    }
    .gallery-img-wrap img {
      width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s;
    }
    .gallery-img-wrap img.loaded ~ .img-placeholder { display: none; }
    .gallery-card:hover .gallery-img-wrap img { transform: scale(1.05); }
    .gallery-type-badge {
      position: absolute; top: 0.75rem; left: 0.75rem;
      background: rgba(10,13,18,0.75); backdrop-filter: blur(6px);
      border: 1px solid var(--border); padding: 0.2rem 0.65rem;
      font-family: 'Syne', sans-serif; font-size: 0.7rem; font-weight: 600;
      color: var(--accent); border-radius: 3px; letter-spacing: 0.08em;
    }
    .gallery-card-body { padding: 1.25rem 1.25rem 1.5rem; }
    .gallery-card-title {
      font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 700;
      color: var(--text); margin-bottom: 0.4rem;
    }
    .gallery-card-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
    @media (max-width: 1000px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 600px)  { .gallery-grid { grid-template-columns: 1fr; } }

    /* scroll-reveal */
    .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s; }
    .reveal.visible { opacity: 1; transform: none; }
