  :root {
    --blue:#003357; --blue-2:#00253f; --blue-3:#001825;
    --grey:#AAA9A8; --grey-2:#6c6b6a; --grey-3:#e8e7e5;
    --paper:#f4f3f1; --bone:#fafaf8; --ink:#0c1620; --red:#003357;
    --ok:#1f8f4e;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--bone); color: var(--ink);
    font-family: "Geist", system-ui, sans-serif;
    font-weight: 400; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; }

  /* TOPNAV */
  .topnav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 70;
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 22px; background: transparent; pointer-events: none; color: #fff;
  }
  .topnav > * { pointer-events: auto; }
  .hamburger {
    width: 42px; height: 42px; display: inline-flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 5px;
    background: transparent; border: none; cursor: pointer; padding: 0; color: inherit;
  }
  .hamburger span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .3s, opacity .2s; }
  body.menu-open .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.menu-open .hamburger span:nth-child(2) { opacity: 0; }
  body.menu-open .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .topnav .home { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }

  .navmenu {
    position: fixed; inset: 0; z-index: 65;
    background: rgba(8,15,23,0.58);
    backdrop-filter: blur(24px) saturate(125%); -webkit-backdrop-filter: blur(24px) saturate(125%);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity .45s ease;
  }
  .navmenu nav { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 0 8vw; }
  body.menu-open .hamburger span { background: #ffffff; }
  body.menu-open .home { color: #ffffff; }
  body.menu-open .navmenu { opacity: 1; pointer-events: auto; }
  .navmenu nav a {
    font-size: clamp(36px, 6.4vw, 84px); font-weight: 500;
    letter-spacing: -0.035em; line-height: 1.05;
    color: rgba(250,250,248,0.92); text-decoration: none;
    transform: translateY(20px); opacity: 0;
    transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .5s ease, color .2s ease;
  }
  body.menu-open .navmenu nav a { transform: translateY(0); opacity: 1; }
  body.menu-open .navmenu nav a:nth-child(1) { transition-delay: 0.08s; }
  body.menu-open .navmenu nav a:nth-child(2) { transition-delay: 0.12s; }
  body.menu-open .navmenu nav a:nth-child(3) { transition-delay: 0.16s; }
  body.menu-open .navmenu nav a:nth-child(4) { transition-delay: 0.20s; }
  body.menu-open .navmenu nav a:nth-child(5) { transition-delay: 0.24s; }
  body.menu-open .navmenu nav a:nth-child(6) { transition-delay: 0.28s; }
  body.menu-open .navmenu nav a:nth-child(7) { transition-delay: 0.32s; }
  body.menu-open .navmenu nav a:nth-child(8) { transition-delay: 0.36s; }
  body.menu-open .navmenu nav a:nth-child(9) { transition-delay: 0.40s; }
  body.menu-open .navmenu nav a:nth-child(10){ transition-delay: 0.44s; }
  .navmenu nav a:hover { color: #fff; }
  .navmenu nav a .n { display: inline-block; width: 60px; font-size: 13px; font-weight: 500; letter-spacing: 0.2em; color: rgba(250,250,248,0.4); vertical-align: middle; transform: translateY(-0.4em); }

  /* HERO HEAD */
  .form-hero { background: var(--blue); color: var(--bone); padding: 150px 7vw 64px; }
  .form-hero .inner { max-width: 1080px; margin: 0 auto; }
  .form-hero .eyebrow { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(250,250,248,0.6); font-weight: 500; display: inline-block; margin-bottom: 22px; }
  .form-hero h1 { margin: 0; font-weight: 500; letter-spacing: -0.035em; line-height: 1.0; font-size: clamp(38px, 5.4vw, 72px); }
  .form-hero p { margin: 22px 0 0; max-width: 56ch; color: rgba(250,250,248,0.8); font-size: 17px; font-weight: 300; }
  .form-hero .back { display: flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 26px; color: rgba(250,250,248,0.7); text-decoration: none; font-size: 14px; transition: color .2s ease; }
  .form-hero .back:hover { color: #fff; }

  /* FORM WRAP */
  .formwrap { max-width: 1080px; margin: -36px auto 0; padding: 0 7vw 120px; position: relative; z-index: 2; }
  .card { background: #fff; border: 1px solid var(--grey-3); border-radius: 20px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 30px 80px -40px rgba(12,22,32,0.25); }

  .field { margin-bottom: 26px; }
  .field > label, .block-label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 9px; }
  .field .req { color: var(--red); }
  .field .hint { font-weight: 400; color: var(--grey-2); font-size: 12.5px; margin-left: 6px; }
  .inp {
    width: 100%; padding: 15px 16px; border: 1px solid var(--grey-3); border-radius: 11px;
    font-family: inherit; font-size: 15.5px; color: var(--ink); background: var(--bone);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  }
  .inp::placeholder { color: var(--grey); }
  .inp:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0,51,87,0.08); }
  .inp:user-invalid { border-color: #c0392b; }
  textarea.inp { min-height: 140px; resize: vertical; line-height: 1.55; }
  .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

  /* CUSTOM SELECT (ausklappbares Feld) */
  .appselect { position: relative; }
  .appselect-btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 18px; border: 1px solid var(--grey-3); border-radius: 13px; background: var(--bone);
    cursor: pointer; font-family: inherit; text-align: left; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  }
  .appselect-btn:hover { border-color: var(--grey); }
  .appselect.open .appselect-btn { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0,51,87,0.08); }
  .appselect-btn .sel { display: flex; flex-direction: column; gap: 3px; }
  .appselect-btn .sel .t { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
  .appselect-btn .sel .d { font-size: 12.5px; color: var(--grey-2); }
  .appselect-btn.placeholder .sel .t { color: var(--grey-2); font-weight: 500; }
  .appselect-chev { width: 12px; height: 12px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg) translateY(-2px); transition: transform .3s cubic-bezier(.2,.7,.2,1); flex-shrink: 0; }
  .appselect.open .appselect-chev { transform: rotate(-135deg) translateY(-2px); }
  .appselect-list {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20;
    background: #fff; border: 1px solid var(--grey-3); border-radius: 14px;
    box-shadow: 0 26px 60px -24px rgba(12,22,32,0.3); padding: 7px;
    opacity: 0; transform: translateY(-8px); pointer-events: none;
    transition: opacity .22s ease, transform .22s cubic-bezier(.2,.7,.2,1);
    max-height: 340px; overflow-y: auto;
  }
  .appselect.open .appselect-list { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .appselect-opt { display: flex; align-items: flex-start; gap: 13px; padding: 13px 13px; border-radius: 10px; cursor: pointer; transition: background .15s ease; }
  .appselect-opt:hover { background: var(--paper); }
  .appselect-opt .ic { width: 30px; height: 30px; border-radius: 8px; background: rgba(0,51,87,0.08); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; margin-top: 1px; }
  .appselect-opt .tx .t { font-size: 15px; font-weight: 600; }
  .appselect-opt .tx .d { font-size: 12.5px; color: var(--grey-2); line-height: 1.4; }
  .appselect-opt[aria-selected="true"] { background: rgba(0,51,87,0.06); }

  /* CONDITIONAL BLOCKS */
  .cond { display: none; animation: condIn .45s cubic-bezier(.2,.7,.2,1); }
  .cond.show { display: block; }
  @keyframes condIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
  .cond-divider { height: 1px; background: var(--grey-3); margin: 30px 0; }

  /* DRAG & DROP */
  .dropzone {
    position: relative; border: 2px dashed var(--grey); border-radius: 16px;
    background: var(--bone); padding: 40px 28px; text-align: center; cursor: pointer;
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
    overflow: hidden;
  }
  .dropzone:hover { border-color: var(--blue); background: #fff; }
  .dropzone.dragover { border-color: var(--blue); background: rgba(0,51,87,0.05); transform: scale(1.01); border-style: solid; }
  .dropzone.dragover .dz-ico { transform: translateY(-6px) scale(1.12); }
  .dz-ico {
    width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px;
    background: rgba(0,51,87,0.08); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s cubic-bezier(.2,.7,.2,1), background .3s ease, color .3s ease;
  }
  .dz-ico svg { width: 26px; height: 26px; }
  .dz-title { font-size: 16px; font-weight: 600; }
  .dz-title b { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
  .dz-sub { font-size: 12.5px; color: var(--grey-2); margin-top: 6px; }
  .dropzone input[type=file] { display: none; }

  /* filled state */
  .dropzone.filled { border-style: solid; border-color: var(--ok); background: rgba(31,143,78,0.05); cursor: default; }
  .dropzone.filled .dz-default { display: none; }
  .dz-filled { display: none; align-items: center; gap: 16px; text-align: left; }
  .dropzone.filled .dz-filled { display: flex; animation: pop .45s cubic-bezier(.2,.9,.3,1.3); }
  @keyframes pop { 0% { opacity: 0; transform: scale(.92); } 100% { opacity: 1; transform: scale(1); } }
  .dz-check {
    width: 52px; height: 52px; border-radius: 13px; background: var(--ok); color: #fff;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  }
  .dz-check svg { width: 26px; height: 26px; }
  .dz-fileinfo { flex: 1; min-width: 0; }
  .dz-fname { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dz-fsize { font-size: 12.5px; color: var(--grey-2); margin-top: 2px; }
  .dz-remove { border: 1px solid var(--grey-3); background: #fff; color: var(--grey-2); border-radius: 9px; padding: 9px 14px; font-family: inherit; font-size: 13px; cursor: pointer; transition: color .2s ease, border-color .2s ease; flex-shrink: 0; }
  .dz-remove:hover { color: #c0392b; border-color: #c0392b; }

  /* consent + submit */
  .consent { display: flex; align-items: flex-start; gap: 12px; margin: 28px 0 26px; font-size: 13.5px; color: var(--grey-2); }
  .consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
  .consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
  .submit {
    display: inline-flex; align-items: center; gap: 14px; width: 100%; justify-content: center;
    background: var(--blue); color: var(--bone); border: none; cursor: pointer;
    font-family: inherit; font-weight: 500; font-size: 16px; letter-spacing: 0.02em;
    padding: 20px 30px; border-radius: 13px; transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  }
  .submit:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -16px rgba(0,51,87,0.55); }
  .submit:active { transform: translateY(0) scale(.99); }
  .submit .ar { transition: transform .2s ease; }
  .submit:hover .ar { transform: translateX(4px); }

  /* success state */
  .success { display: none; text-align: center; padding: 30px 10px; }
  .success.show { display: block; animation: condIn .5s cubic-bezier(.2,.7,.2,1); }
  .success .big { width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 20px; background: var(--ok); color: #fff; display: flex; align-items: center; justify-content: center; }
  .success .big svg { width: 38px; height: 38px; }
  .success h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); font-weight: 500; letter-spacing: -0.02em; }
  .success p { margin: 0 auto 24px; max-width: 46ch; color: var(--grey-2); }
  .success .btn-back { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: var(--bone); padding: 16px 26px; border-radius: 11px; text-decoration: none; font-weight: 500; }
  .note-ui { margin-top: 18px; font-size: 12px; color: var(--grey); text-align: center; }

  /* FOOTER */
  footer.site-footer { background: var(--ink); color: rgba(250,250,248,0.5); padding: 80px 7vw 32px; }
  .site-footer a { color: rgba(250,250,248,0.5); text-decoration: none; transition: color .2s ease; }
  .footer-inner { max-width: 1640px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.10); }
  .footer-inner h4 { margin: 0 0 18px; font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500; color: rgba(250,250,248,0.55); }
  .footer-inner ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .footer-inner a:hover { color: var(--bone); }
  .footer-bottom { max-width: 1640px; margin: 32px auto 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
  .footer-bottom .meta { display: flex; gap: 24px; }
  .footer-bottom a:hover { color: var(--bone); }

  @media (max-width: 600px) {
    .row2 { grid-template-columns: 1fr; gap: 0; }
    .form-hero { padding-top: 120px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
    .navmenu nav a { font-size: clamp(32px, 9vw, 56px); }
    .navmenu nav a .n { width: 40px; font-size: 11px; }
    .dz-filled { flex-wrap: wrap; gap: 12px; }
    .dz-check { width: 44px; height: 44px; }
    .dz-fileinfo { flex: 1 1 60%; }
    .dz-fname { white-space: normal; word-break: break-word; }
    .dz-remove { flex: 1 0 100%; order: 3; text-align: center; }
  }
