/* =====================================================
       RESET & BASE
    ===================================================== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
      background: #0e1114;
      color: #f0ece4;
      line-height: 1.6;
      overflow-x: hidden;
    }
    a { text-decoration: none; color: inherit; touch-action: manipulation; }
    button { touch-action: manipulation; }
    img { display: block; max-width: 100%; }

    /* =====================================================
       DESIGN TOKENS
    ===================================================== */
    :root {
      --teal:      #2a9ec8;
      --orange:    #e8592a;
      --bg:        #0e1114;
      --bg2:       #161a1f;
      --bg3:       #1e2329;
      --white:     #f0ece4;
      --muted:     #6b7580;
      --border:    rgba(255,255,255,0.07);
      --radius:    8px;
      --radius-lg: 12px;
    }

    /* =====================================================
       UTILITIES
    ===================================================== */
    .container { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
    .section-label {
      display: flex; align-items: center; gap: 10px;
      font-size: 11px; font-weight: 700; color: var(--teal);
      letter-spacing: .18em; text-transform: uppercase;
      margin-bottom: 12px;
    }
    .section-label::before { content: ''; width: 22px; height: 1px; background: var(--teal); }
    .section-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--teal), transparent); }

    /* =====================================================
       NAVIGATION
    ===================================================== */
    .nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      height: 66px;
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 clamp(20px, 4vw, 64px);
      background: rgba(14,17,20,0);
      border-bottom: 1px solid transparent;
      transition: background .35s, border-color .35s, backdrop-filter .35s;
    }
    .nav.scrolled {
      background: rgba(14,17,20,0.94);
      border-color: var(--border);
      backdrop-filter: blur(18px);
    }
    .nav__logo svg { height: 40px; width: auto; }
    .nav__links { display: flex; gap: 28px; list-style: none; }
    .nav__links a {
      font-size: 14px; font-weight: 500; color: var(--muted);
      transition: color .2s; position: relative;
    }
    .nav__links a::after {
      content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
      height: 1px; background: var(--teal);
      transform: scaleX(0); transition: transform .3s;
    }
    .nav__links a:hover { color: var(--white); }
    .nav__links a:hover::after { transform: scaleX(1); }
    .nav__cta {
      display: flex; align-items: center; gap: 8px;
      padding: 10px 22px; border-radius: var(--radius);
      background: var(--orange); color: #fff;
      font-size: 13px; font-weight: 700;
      transition: transform .2s, box-shadow .2s;
    }
    .nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,89,42,.4); }
    .nav__cta-dot {
      width: 7px; height: 7px; border-radius: 50%; background: #fff;
      animation: pulse 1.8s ease-in-out infinite;
    }
    @keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.2;transform:scale(2.2)} }

    /* =====================================================
       HERO
    ===================================================== */
    .hero {
      position: relative; min-height: 100vh;
      display: flex; align-items: center;
      overflow: hidden;
    }
    .hero__bg {
      position: absolute; inset: 0;
      width: 58%; left: auto; right: 0;
      -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,.9) 15%, rgba(0,0,0,.45) 55%, transparent 85%);
      mask-image: linear-gradient(to left, rgba(0,0,0,.9) 15%, rgba(0,0,0,.45) 55%, transparent 85%);
    }
    .hero__bg img {
      width: 100%; height: 100%;
      object-fit: cover; object-position: center top;
      filter: saturate(.6) brightness(.7);
    }
    .hero__overlay {
      position: absolute; inset: 0;
      background: linear-gradient(to right, var(--bg) 42%, transparent 100%);
      pointer-events: none;
    }
    .hero__content {
      position: relative; z-index: 2;
      padding: 120px clamp(20px,5vw,64px) 80px;
      max-width: 660px;
    }
    .hero__eyebrow {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 6px 14px; border: 1px solid rgba(42,158,200,.3); border-radius: 4px;
      font-size: 11px; font-weight: 600; color: var(--teal);
      letter-spacing: .14em; text-transform: uppercase;
      margin-bottom: 26px;
    }
    .hero__eyebrow-line { width: 18px; height: 1px; background: var(--teal); }
    .hero__title {
      font-size: clamp(42px, 6vw, 78px);
      font-weight: 900; line-height: 1.05;
      letter-spacing: -.02em; margin-bottom: 22px;
    }
    .hero__title em { font-style: italic; color: var(--teal); }
    .hero__title .accent { color: var(--orange); }
    .hero__subtitle {
      font-size: clamp(15px, 1.5vw, 17px);
      color: rgba(240,236,228,.65);
      line-height: 1.75; max-width: 440px;
      margin-bottom: 36px;
    }
    .hero__subtitle strong { color: var(--white); font-weight: 600; }
    .hero__buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
    .btn-primary {
      padding: 14px 30px; border-radius: var(--radius);
      background: var(--orange); color: #fff;
      font-size: 14px; font-weight: 700;
      transition: transform .2s, box-shadow .2s;
    }
    .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(232,89,42,.4); }
    .btn-secondary {
      padding: 14px 30px; border-radius: var(--radius);
      border: 1px solid rgba(255,255,255,.15); color: var(--white);
      font-size: 14px; font-weight: 500;
      transition: border-color .2s, color .2s;
    }
    .btn-secondary:hover { border-color: var(--teal); color: var(--teal); }
    .hero__stats {
      display: flex;
      border-top: 1px solid rgba(255,255,255,.07);
      padding-top: 28px;
    }
    .hero__stat { flex: 1; padding-right: 24px; }
    .hero__stat + .hero__stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.07); }
    .hero__stat-value {
      font-size: 28px; font-weight: 800; color: var(--white);
      line-height: 1; margin-bottom: 4px;
    }
    .hero__stat-value span { color: var(--teal); }
    .hero__stat-label { font-size: 12px; color: var(--muted); font-weight: 500; }
    .hero__scroll {
      position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
      display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 2;
    }
    .hero__scroll span { font-size: 10px; color: var(--muted); letter-spacing: .2em; text-transform: uppercase; }
    .hero__scroll-line {
      width: 1px; height: 36px;
      background: linear-gradient(to bottom, var(--teal), transparent);
      animation: scrollline 1.6s ease-in-out infinite;
    }
    @keyframes scrollline {
      0%{transform:scaleY(0);transform-origin:top}
      50%{transform:scaleY(1);transform-origin:top}
      51%{transform-origin:bottom}
      100%{transform:scaleY(0);transform-origin:bottom}
    }

    /* =====================================================
       SERVICES
    ===================================================== */
    .services { background: var(--bg2); padding: 96px 0; }
    .services__header { margin-bottom: 52px; }
    .services__desc { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 500px; }
    .services__grid {
      display: grid; grid-template-columns: repeat(3, 1fr);
      border: 1px solid var(--border);
    }
    .service-card {
      padding: 34px 30px; background: var(--bg2);
      position: relative; overflow: hidden;
      border-right: 1px solid var(--border);
      transition: background .25s;
    }
    .service-card:last-child { border-right: none; }
    .service-card::before {
      content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
      background: var(--teal); transform: scaleX(0); transform-origin: left;
      transition: transform .4s;
    }
    .service-card:first-child::before { transform: scaleX(1); background: linear-gradient(90deg, var(--teal), var(--orange)); }
    .service-card:hover { background: var(--bg3); }
    .service-card:hover::before { transform: scaleX(1); }
    .service-card__icon { color: var(--teal); margin-bottom: 18px; }
    .service-card__icon.muted { color: var(--muted); }
    .service-card__title { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
    .service-card__text { font-size: 14px; color: var(--muted); line-height: 1.7; }

    /* =====================================================
       TEAM
    ===================================================== */
    .team { background: var(--bg); padding: 96px 0; }
    .team__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
    .team__image-wrap { position: relative; }
    .team__image {
      border-radius: 4px; overflow: hidden; aspect-ratio: 16/10; position: relative;
    }
    .team__image img {
      width: 100%; height: 100%;
      object-fit: cover; object-position: center 25%;
      filter: saturate(.85);
    }
    .team__image::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(14,17,20,.55) 0%, transparent 55%);
    }
    .team__corner {
      position: absolute; width: 32px; height: 32px;
    }
    .team__corner--tl { top: -7px; left: -7px; border-top: 2px solid var(--teal); border-left: 2px solid var(--teal); }
    .team__corner--br { bottom: -7px; right: -7px; border-bottom: 2px solid var(--teal); border-right: 2px solid var(--teal); }
    .team__title { font-size: clamp(30px, 3.5vw, 44px); font-weight: 800; margin-bottom: 16px; line-height: 1.1; }
    .team__text { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 14px; }
    .team__facts { display: flex; flex-direction: column; gap: 9px; margin-top: 24px; }
    .team__fact {
      display: flex; align-items: center; gap: 13px;
      padding: 13px 16px;
      background: var(--bg2); border: 1px solid var(--border);
      border-left: 2px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0;
      transition: transform .2s, border-left-color .2s;
    }
    .team__fact:hover { transform: translateX(4px); border-left-color: var(--orange); }
    .team__fact svg { flex-shrink: 0; color: var(--teal); }
    .team__fact span { font-size: 14px; font-weight: 500; }

    /* =====================================================
       PROCESS
    ===================================================== */
    .process { background: var(--bg2); padding: 96px 0; }
    .process__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
    .process__image { border-radius: 4px; overflow: hidden; aspect-ratio: 4/3; position: relative; }
    .process__image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); }
    .process__image::after {
      content: ''; position: absolute; inset: 0;
      background: linear-gradient(to top, rgba(14,17,20,.65) 0%, transparent 60%);
    }
    .process__title { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; margin-bottom: 12px; line-height: 1.1; }
    .process__subtitle { color: var(--muted); font-size: 15px; line-height: 1.75; margin-bottom: 0; }
    .process__steps { margin-top: 28px; }
    .process__step {
      display: flex; gap: 16px; align-items: flex-start;
      padding: 18px 0; border-bottom: 1px solid var(--border);
      transition: padding-left .2s;
    }
    .process__step:last-child { border-bottom: none; }
    .process__step:hover { padding-left: 4px; }
    .process__step-num {
      font-size: 32px; font-weight: 900; color: rgba(42,158,200,.2);
      line-height: 1; width: 40px; flex-shrink: 0;
      transition: color .2s;
    }
    .process__step:hover .process__step-num { color: var(--teal); }
    .process__step-title { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
    .process__step-desc { font-size: 13px; color: var(--muted); }

    /* =====================================================
       CONTACT
    ===================================================== */
    .contact { background: var(--bg); padding: 96px 0; }
    .contact__header { margin-bottom: 44px; }
    .contact__subtitle { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 480px; margin-top: 12px; }
    .contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

    /* Form card */
    .contact__form-card {
      background: var(--bg2); border: 1px solid rgba(232,89,42,.18);
      border-radius: var(--radius-lg); padding: 30px;
    }
    .contact__card-label {
      font-size: 10px; font-weight: 700; color: var(--muted);
      letter-spacing: .15em; text-transform: uppercase; margin-bottom: 18px;
    }
    .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
    .form__field { margin-bottom: 10px; }
    .form__input,
    .form__textarea {
      width: 100%; padding: 12px 14px;
      background: var(--bg3); border: 1px solid var(--border); border-radius: var(--radius);
      color: var(--white); font-family: inherit; font-size: 14px;
      outline: none; transition: border-color .2s; resize: vertical;
    }
    .form__input:focus,
    .form__textarea:focus { border-color: rgba(42,158,200,.45); }
    .form__input::placeholder,
    .form__textarea::placeholder { color: var(--muted); }
    .form__textarea { height: 110px; }
    /* Honeypot */
    .form__honeypot { display: none; }
    /* DSGVO checkbox */
    .form__consent {
      display: flex; gap: 10px; align-items: flex-start;
      margin-bottom: 14px;
    }
    .form__consent input[type="checkbox"] {
      width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
      accent-color: var(--teal); cursor: pointer;
    }
    .form__consent label {
      font-size: 12px; color: var(--muted); line-height: 1.55; cursor: pointer;
    }
    .form__consent a { color: var(--teal); text-decoration: underline; }
    .form__submit {
      width: 100%; padding: 14px; border: none; border-radius: var(--radius);
      background: var(--orange); color: #fff;
      font-size: 14px; font-weight: 700; cursor: pointer;
      transition: transform .2s, box-shadow .2s, opacity .2s;
    }
    .form__submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,89,42,.35); }
    .form__submit:disabled { opacity: .5; transform: none; cursor: not-allowed; }
    .form__message {
      display: none; padding: 10px 14px; border-radius: var(--radius);
      font-size: 13px; margin-top: 10px;
    }
    .form__message--success { display: block; background: rgba(42,158,200,.1); border: 1px solid rgba(42,158,200,.25); color: var(--teal); }
    .form__message--error   { display: block; background: rgba(232,89,42,.1);  border: 1px solid rgba(232,89,42,.25);  color: var(--orange); }
    .form__message--blocked { display: block; background: rgba(255,255,255,.04); border: 1px solid var(--border); color: var(--muted); }

    /* Direct contact card */
    .contact__direct {
      display: flex; flex-direction: column; gap: 12px;
    }
    .contact__phone {
      display: flex; align-items: center; gap: 16px;
      padding: 18px 20px; background: var(--orange); border-radius: var(--radius-lg);
      transition: transform .2s, box-shadow .2s;
    }
    .contact__phone:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(232,89,42,.4); }
    .contact__phone-number { font-size: 19px; font-weight: 800; color: #fff; }
    .contact__phone-sub { font-size: 12px; color: rgba(255,255,255,.65); margin-top: 2px; }
    .contact__row {
      display: flex; align-items: center; gap: 12px;
      padding: 13px 16px;
      background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
      transition: border-color .2s, transform .2s;
    }
    .contact__row:hover { border-color: rgba(42,158,200,.35); transform: translateX(3px); }
    .contact__row-label { font-size: 14px; font-weight: 500; color: var(--white); }
    .contact__row-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
    .contact__hours {
      background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
    }
    .contact__hours-head {
      padding: 14px 18px; border-bottom: 1px solid var(--border);
      font-size: 10px; font-weight: 700; color: var(--muted); letter-spacing: .15em; text-transform: uppercase;
    }
    .contact__hours-row {
      display: flex; justify-content: space-between; align-items: center;
      padding: 13px 18px; border-bottom: 1px solid var(--border);
      font-size: 14px;
    }
    .contact__hours-row:last-child { border-bottom: none; }
    .contact__hours-day { color: var(--white); font-weight: 500; }
    .contact__hours-time { color: var(--teal); font-weight: 700; }
    .contact__hours-closed { color: var(--muted) !important; }

    /* =====================================================
       FOOTER
    ===================================================== */
    .footer {
      background: var(--bg2); border-top: 1px solid var(--border);
      padding: 22px clamp(20px,4vw,64px);
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    }
    .footer__logo svg { height: 28px; opacity: .5; }
    .footer__info { font-size: 11px; color: var(--muted); text-align: right; line-height: 1.8; }
    .footer__info a { color: var(--muted); }
    .footer__info a:hover { color: var(--teal); }
    .footer__legal { display: flex; gap: 18px; margin-top: 6px; justify-content: flex-end; }
    .footer__legal a { font-size: 11px; color: var(--muted); }
    .footer__legal a:hover { color: var(--teal); }

    /* =====================================================
       MODAL (Impressum + Datenschutz)
    ===================================================== */
    .modal {
      display: none; position: fixed; inset: 0; z-index: 200;
      background: rgba(0,0,0,.75);
      align-items: center; justify-content: center; padding: 20px;
    }
    .modal.is-open { display: flex; }
    .modal__box {
      background: var(--bg3); border: 1px solid rgba(255,255,255,.08);
      border-radius: var(--radius-lg); padding: 36px;
      max-width: 540px; width: 100%; max-height: 84vh; overflow-y: auto;
      position: relative;
    }
    .modal__close {
      position: absolute; top: 14px; right: 16px;
      background: none; border: none; color: var(--muted);
      font-size: 22px; line-height: 1; cursor: pointer;
    }
    .modal__title { font-size: 20px; font-weight: 800; margin-bottom: 22px; }
    .modal__section-label {
      font-size: 10px; font-weight: 700; color: var(--teal);
      letter-spacing: .14em; text-transform: uppercase; margin: 18px 0 7px;
    }
    .modal__text { font-size: 14px; color: var(--muted); line-height: 1.8; }
    .modal__text strong { color: var(--white); }
    .modal__text a { color: var(--teal); }

    /* =====================================================
       COOKIE BANNER
    ===================================================== */
    .cookie {
      position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
      background: var(--bg3); border-top: 1px solid var(--border);
      padding: 14px clamp(20px,4vw,60px);
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    }
    .cookie__text { font-size: 13px; color: var(--muted); line-height: 1.6; max-width: 680px; }
    .cookie__text a { color: var(--teal); }
    .cookie__btn {
      padding: 9px 22px; border: none; border-radius: var(--radius);
      background: var(--teal); color: #fff;
      font-size: 13px; font-weight: 700; cursor: pointer;
      white-space: nowrap; flex-shrink: 0;
    }

    /* =====================================================
       REVEAL ANIMATIONS
    ===================================================== */
    .reveal {
      opacity: 0; transform: translateY(24px);
      transition: opacity .65s cubic-bezier(.25,.46,.45,.94), transform .65s cubic-bezier(.25,.46,.45,.94);
    }
    .reveal.visible { opacity: 1; transform: translateY(0); }
    .reveal--d1 { transition-delay: .1s; }
    .reveal--d2 { transition-delay: .2s; }
    .reveal--d3 { transition-delay: .3s; }

    /* =====================================================
       RESPONSIVE
    ===================================================== */
    @media (max-width: 900px) {
      /* NAV */
      .nav__links { display: none; }
      .nav__cta { padding: 9px 16px; font-size: 13px; }

      /* HERO: full-bg portrait, content at bottom */
      .hero { min-height: 100svh; flex-direction: column; justify-content: flex-end; }
      .hero__bg {
        width: 100%; left: 0; height: 72%;
        -webkit-mask-image: none; mask-image: none; opacity: 1;
      }
      .hero__bg img { object-position: center 12%; filter: saturate(.55) brightness(.6); }
      .hero__overlay {
        background: linear-gradient(to top,
          rgba(14,17,20,1) 35%, rgba(14,17,20,.8) 58%, rgba(14,17,20,.2) 80%, transparent 100%
        );
      }
      .hero__content { padding: 0 22px 40px; max-width: 100%; }
      .hero__eyebrow { font-size: 10px; padding: 5px 12px; margin-bottom: 18px; }
      .hero__title { font-size: clamp(36px, 9.5vw, 50px); margin-bottom: 14px; }
      .hero__subtitle { font-size: 15px; max-width: 100%; margin-bottom: 22px; }
      .hero__buttons { flex-direction: column; gap: 10px; margin-bottom: 30px; }
      .btn-primary, .btn-secondary { width: 100%; text-align: center; padding: 15px; font-size: 15px; }
      /* Stats: stacked */
      .hero__stats { flex-direction: column; gap: 0; }
      .hero__stat {
        padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.07);
        display: flex; align-items: center; justify-content: space-between;
      }
      .hero__stat + .hero__stat { padding-left: 0; border-left: none; }
      .hero__stat:last-child { border-bottom: none; }
      .hero__stat-value { font-size: clamp(26px, 7vw, 34px); }
      .hero__scroll { display: none; }
      /* Eyebrow kollidiert mit Nav auf Mobile → ausblenden */
      .hero__eyebrow { display: none; }
      /* Nav höhe fixieren damit Logo nicht überläuft */
      .nav { height: 60px; }
      .nav__logo svg { height: 34px; }

      /* SECTIONS */
      section.services,
      section.team,
      section.process,
      section.contact { padding: 56px 0; }

      /* SERVICES: stacked cards */
      .services__grid { grid-template-columns: 1fr; border: none; }
      .service-card {
        border-right: none; border-bottom: 1px solid var(--border);
        padding: 26px 0;
      }
      .service-card:last-child { border-bottom: none; }
      .service-card::before { display: none; }

      /* TEAM */
      .team__grid { grid-template-columns: 1fr; gap: 26px; }
      .team__image { aspect-ratio: 4/3; }
      .team__title { font-size: clamp(26px, 7vw, 34px); }

      /* PROCESS */
      .process__grid { grid-template-columns: 1fr; gap: 26px; }
      .process__image { aspect-ratio: 16/9; }
      .process__title { font-size: clamp(26px, 7vw, 34px); }

      /* CONTACT */
      .contact__grid { grid-template-columns: 1fr; gap: 18px; }
      .form__row { grid-template-columns: 1fr; }

      /* FOOTER */
      .footer { flex-direction: column; align-items: flex-start; }
      .footer__info { text-align: left; }
      .footer__legal { justify-content: flex-start; }

      /* MODALS as bottom sheet */
      .modal { align-items: flex-end; padding: 0; }
      .modal__box { border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 88vh; max-width: 100%; }

      /* COOKIE */
      .cookie { flex-direction: column; align-items: stretch; }
      .cookie__btn { width: 100%; padding: 12px; text-align: center; }
    }

    @media (max-width: 380px) {
      .hero__content { padding: 0 16px 34px; }
      .hero__title { font-size: 34px; }
      section.services,
      section.team,
      section.process,
      section.contact { padding: 46px 0; }
    }