:root {
    --bg: #f8f5ef;
    --bg2: #f2ede4;
    --weiss: #ffffff;
    --g1: #2c3e2c;
    --g2: #3d6b4a;
    --g3: #4a7c59;
    --g4: #7aab8a;
    --g5: #c8dcc8;
    --g6: #e8f2e8;
    --g7: #f2f8f2;
    --txt1: #2c3e2c;
    --txt2: #5a6e5a;
    --txt3: #8a9e8a;
  }
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--txt1); font-size: 16px; line-height: 1.7; min-height: 100vh; }


    /* DEMO BANNER */
    .demo-banner {
      background: var(--g1);
      color: rgba(255,255,255,0.65);
      text-align: center;
      padding: 10px 24px;
      font-size: 12px;
      letter-spacing: 0.05em;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    .demo-banner span { color: var(--g4); font-weight: 500; }

    /* NAV */
    nav {
      background: rgba(248,245,239,0.96);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--g5);
      padding: 1rem 3rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .nav-logo { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--txt1); text-decoration: none; }
    .nav-logo span { color: var(--g3); font-style: italic; }
    .nav-badge {
      font-size: .75rem; color: var(--g3);
      background: var(--g6); padding: .3rem .9rem;
      border-radius: 100px; border: 1px solid var(--g5);
      font-weight: 500;
    }

    /* PROGRESS BAR */
    .progress-wrap { height: 3px; background: var(--g5); position: sticky; top: 0; z-index: 50; }
    .progress-bar { height: 100%; background: var(--g3); width: 0%; transition: width .1s; }

    /* HERO mit Bild */
    .hero-img-wrap {
      position: relative;
      min-height: 380px;
      display: flex;
      align-items: center;
      overflow: hidden;
    }
    .hero-img-bg {
      position: absolute; inset: 0; z-index: 0;
      background-image: url('../../images/hero-anamnese.jpg');
      background-size: cover;
      background-position: center 30%;
      filter: brightness(0.55) saturate(0.8);
    }
    .hero-img-overlay {
      position: absolute; inset: 0; z-index: 1;
      background: linear-gradient(
        to bottom,
        rgba(44,62,44,0.72) 0%,
        rgba(44,62,44,0.60) 60%,
        rgba(248,245,239,0.15) 100%
      );
    }
    .hero-img-content {
      position: relative;
      z-index: 10;
      padding: 4rem 2rem 3.5rem;
      text-align: center;
      width: 100%;
      color: #ffffff;
    }
    .hero-img-content *,
    .hero-img-content h1,
    .hero-img-content h1 em,
    .hero-img-content p,
    .hero-img-content .hero-eyebrow {
      color: #ffffff !important;
      text-shadow: 0 2px 16px rgba(0,0,0,0.7);
    }

    /* HERO (shared styles) */

    .hero-eyebrow {
      display: inline-flex; align-items: center; gap: .5rem;
      background: rgba(255,255,255,0.15);
      border: 1px solid rgba(255,255,255,0.3);
      color: #ffffff;
      font-size: .72rem; letter-spacing: .12em;
      text-transform: uppercase; padding: .3rem 1rem;
      border-radius: 100px; margin-bottom: 1.2rem;
    }
    .hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 700; color: #ffffff !important;
      text-shadow: 0 3px 16px rgba(0,0,0,0.6);
      margin-bottom: .8rem; line-height: 1.2;
    }
    .hero h1 em { font-style: italic; color: #a8d8a8; text-shadow: 0 3px 16px rgba(0,0,0,0.6); }
    .hero p {
      color: #ffffff !important;
      text-shadow: 0 2px 10px rgba(0,0,0,0.5);
      font-size: .96rem; max-width: 480px;
      margin: 0 auto; font-weight: 300;
    }
    .hero-steps {
      display: flex; justify-content: center;
      gap: .6rem; flex-wrap: wrap; margin-top: 1.5rem;
    }
    .hero-step {
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.3);
      color: rgba(255,255,255,0.95);
      font-size: .75rem; padding: .3rem .9rem;
      border-radius: 100px;
    }
    .hero-step.active {
      background: var(--g3);
      border-color: var(--g3);
      color: var(--weiss);
      font-weight: 500;
    }

    /* DEMO INFO */
    .demo-info {
      max-width: 680px;
      margin: 1.5rem auto 0;
      background: rgba(255,255,255,0.07);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 10px;
      padding: 1rem 1.2rem;
      display: flex; gap: .8rem;
      align-items: flex-start;
      text-align: left;
    }
    .demo-info-text { font-size: .8rem; color: #ffffff; line-height: 1.6; }
    .demo-info-text strong { color: var(--weiss); }

    /* MAIN */
    main { max-width: 680px; margin: 0 auto; padding: 2.5rem 1.5rem 5rem; }

    /* FORM SECTION */
    .fs {
      background: var(--weiss);
      border-radius: 16px;
      border: 1px solid var(--g5);
      padding: 2rem;
      margin-bottom: 1.2rem;
      box-shadow: 0 2px 12px rgba(44,62,44,0.04);
      animation: fadeUp .5s ease both;
    }
    .fs:nth-child(1) { animation-delay: 0s; }
    .fs:nth-child(2) { animation-delay: .08s; }
    .fs:nth-child(3) { animation-delay: .16s; }
    .fs:nth-child(4) { animation-delay: .24s; }
    .fs:nth-child(5) { animation-delay: .32s; }
    .fs:nth-child(6) { animation-delay: .4s; }
    @keyframes fadeUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }

    .fs-header {
      display: flex; align-items: center; gap: .9rem;
      margin-bottom: 1.5rem; padding-bottom: 1.2rem;
      border-bottom: 1px solid var(--g5);
    }
    .fs-icon {
      width: 38px; height: 38px;
      background: var(--g6); border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      font-size: 17px; flex-shrink: 0;
    }
    .fs-title {
      font-family: 'Playfair Display', serif;
      font-size: 1.05rem; color: var(--txt1);
    }
    .fs-sub { font-size: .78rem; color: var(--txt3); margin-top: .1rem; }

    /* FIELDS */
    .fg { margin-bottom: 1.2rem; }
    .fg:last-child { margin-bottom: 0; }
    .fg label {
      display: block; font-size: .88rem;
      font-weight: 500; color: var(--txt1);
      margin-bottom: .5rem;
    }
    .fg label .hint { font-weight: 300; color: var(--txt3); }
    .fg label .req { color: #e05a5a; margin-left: 2px; font-weight: 500; }
    .req-hint { font-size: .75rem; color: var(--txt3); margin-bottom: 1.5rem; display: flex; align-items: center; gap: .3rem; }
    .req-hint span { color: #e05a5a; font-weight: 500; font-size: .85rem; }
    .fg input:required:focus:invalid,
    .fg select:required:focus:invalid {
      border-color: #e05a5a;
      box-shadow: 0 0 0 3px rgba(224,90,90,0.1);
    }
    .fg input[type=text],
    .fg input[type=email],
    .fg input[type=tel],
    .fg select,
    .fg textarea {
      width: 100%;
      padding: .7rem 1rem;
      border: 1px solid var(--g5);
      border-radius: 8px;
      font-family: 'DM Sans', sans-serif;
      font-size: .9rem;
      color: var(--txt1);
      background: var(--bg);
      transition: border-color .2s, box-shadow .2s;
      outline: none;
    }
    .fg input:focus, .fg select:focus, .fg textarea:focus {
      border-color: var(--g3);
      box-shadow: 0 0 0 3px rgba(74,124,89,0.1);
      background: var(--weiss);
    }
    .fg textarea { resize: vertical; min-height: 80px; }

    /* OPTIONS */
    .opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: .5rem; }
    .opt {
      display: flex; align-items: center; gap: .5rem;
      padding: .6rem .9rem;
      border: 1px solid var(--g5);
      border-radius: 8px;
      cursor: pointer;
      font-size: .85rem;
      color: var(--txt2);
      transition: all .15s;
      background: var(--bg);
    }
    .opt:hover { border-color: var(--g3); background: var(--g7); }
    .opt.checked { border-color: var(--g3); background: var(--g6); color: var(--g2); font-weight: 500; }
    .opt input { display: none; }

    /* SCALE */
    .scale-wrap {
      display: flex; align-items: center; gap: .8rem;
    }
    .scale-wrap input[type=range] {
      flex: 1;
      accent-color: var(--g3);
      height: 4px;
    }
    .scale-val {
      min-width: 32px; height: 32px;
      background: var(--g3); color: var(--weiss);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-weight: 500; font-size: .85rem;
      flex-shrink: 0;
    }
    .scale-label { font-size: .78rem; color: var(--txt3); flex-shrink: 0; }

    /* SUBMIT */
    .submit-wrap { text-align: center; margin-top: 2rem; }
    .submit-btn {
      background: var(--g3); color: var(--weiss);
      border: none; cursor: pointer;
      padding: 1rem 3rem;
      border-radius: 8px;
      font-family: 'DM Sans', sans-serif;
      font-size: .96rem; font-weight: 500;
      transition: background .2s, transform .15s;
      width: 100%; max-width: 360px;
    }
    .submit-btn:hover { background: var(--g2); transform: translateY(-2px); }
    .submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
    .submit-note {
      font-size: .78rem; color: var(--txt3);
      margin-top: .8rem; display: flex;
      align-items: center; justify-content: center; gap: .4rem;
    }

    /* SUCCESS */
    .success {
      display: none;
      text-align: center;
      padding: 3rem 1.5rem;
    }
    .success-check {
      width: 72px; height: 72px;
      background: var(--g6); border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 1.5rem;
      border: 2px solid var(--g5);
    }
    .success-check svg { width: 32px; height: 32px; }
    .success h2 {
      font-family: 'Playfair Display', serif;
      font-size: 1.8rem; margin-bottom: .8rem;
    }
    .success h2 em { font-style: italic; color: var(--g3); }
    .success p { color: var(--txt2); font-weight: 300; max-width: 440px; margin: 0 auto .8rem; }
    .success-box {
      background: var(--g6); border: 1px solid var(--g5);
      border-radius: 12px; padding: 1.2rem 1.5rem;
      max-width: 440px; margin: 1.5rem auto 0;
      font-size: .84rem; color: var(--txt2); line-height: 1.7;
    }
    .success-box strong { color: var(--g2); }

    /* FOOTER */
    footer {
      background: var(--g1);
      padding: 1.5rem;
      text-align: center;
      font-size: .78rem;
      color: rgba(255,255,255,0.3);
    }
    footer span { color: var(--g4); }