@font-face{font-family:'Fraunces';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/fraunces-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/fraunces-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/fraunces-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/fraunces-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'Schibsted Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/schibsted-grotesk-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Schibsted Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/schibsted-grotesk-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'Schibsted Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/schibsted-grotesk-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2');}


  
  
  :root{
    --ink:#123F46;
    --ink-soft:#4A5152;
    --primary:#1C5560;
    --primary-dark:#0D2E33;
    --primary-tint:#EDE4D2;
    --accent:#D99A36;
    --accent-dark:#96631A;
    --bg:#F7F3EA;
    --card:#FFFFFF;
    --border:#E1D9C8;
    --success:#1C5560;
    --radius:18px;
    --font-display:'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body:'Schibsted Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-mono:'JetBrains Mono', 'SF Mono', Consolas, Monaco, monospace;
  }
  *{box-sizing:border-box;}
  body{
    margin:0;
    font-family:var(--font-body);
    background:var(--bg);
    color:var(--ink);
    -webkit-font-smoothing:antialiased;
  }
  .app{
    max-width:640px;
    margin:0 auto;
    min-height:100vh;
    background:var(--bg);
    display:flex;
    flex-direction:column;
  }

  /* ---------- HEADER ---------- */
  header.top{
    background:linear-gradient(135deg, var(--primary-dark), var(--primary));
    color:#fff;
    padding:22px 24px 26px;
    position:relative;
    overflow:hidden;
  }
  header.top::after{
    content:"";
    position:absolute;
    right:-40px; top:-40px;
    width:160px; height:160px;
    border-radius:50%;
    background:radial-gradient(circle, rgba(201, 166, 107,0.3), transparent 70%);
  }
  .brand-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:relative;
    z-index:1;
  }
  .brand{
    display:flex;
    align-items:center;
    gap:10px;
    text-decoration:none;
    color:#fff;
    cursor:pointer;
  }
  .brand svg{ width:30px; height:30px; flex-shrink:0; }
  .brand-photo{
    width:44px; height:44px;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
    border:2px solid var(--accent);
  }
  .brand-name{
    font-family:var(--font-display);
    font-weight:700;
    font-size:20px;
    letter-spacing:0.2px;
  }
  .brand-name em{ font-style:normal; color:var(--accent); }
  .tagline{
    font-size:11px;
    opacity:0.75;
    letter-spacing:0.4px;
    text-transform:uppercase;
    margin-top:2px;
  }
  .by-line{
    font-size:11.5px;
    color:var(--accent);
    font-weight:600;
    margin-top:3px;
  }
  .header-right-group{ display:flex; align-items:center; gap:8px; }
  .back-home{ font-size:.85rem; font-weight:600; color:var(--ink-soft,#6b6b6b); text-decoration:none; white-space:nowrap; }
  .back-home:hover{ color:var(--petrol,#123F46); }
  @media(max-width:640px){ .back-home{ display:none; } }
  .lang-toggle-select{
    background:rgba(255,255,255,0.15); color:#fff; border:1px solid rgba(255,255,255,0.3);
    border-radius:20px; padding:9px 10px; font-size:11px; font-weight:700;
    cursor:pointer; font-family:var(--font-body);
  }
  .lang-option{ color:#20293a; }
  .step-badge{
    font-family:var(--font-mono);
    font-size:12px;
    background:rgba(255,255,255,0.12);
    padding:5px 10px;
    border-radius:20px;
  }

  /* pulse progress */
  .pulse-wrap{
    margin-top:18px;
    position:relative;
    height:26px;
  }
  .pulse-track{
    position:absolute; inset:0;
    display:flex;
    align-items:center;
  }
  .pulse-svg{ width:100%; height:20px; display:block; }
  .pulse-fill-mask rect{ transition:width .5s cubic-bezier(.65,0,.35,1); }
  .step-title{
    font-family:var(--font-display);
    font-size:26px;
    font-weight:600;
    margin:20px 0 4px;
    position:relative; z-index:1;
  }
  .step-subtitle{
    font-size:13.5px;
    opacity:0.85;
    line-height:1.5;
    max-width:46ch;
    position:relative; z-index:1;
  }

  /* ---------- MAIN ---------- */
  main{
    flex:1;
    padding:24px 20px 120px;
  }
  .welcome-wrap{ text-align:center; padding:16px 6px 8px; }
  .welcome-photo{
    width:104px; height:104px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid var(--accent);
    margin-bottom:20px;
  }
  .welcome-title{ font-family:var(--font-display); font-size:24px; font-weight:600; color:var(--primary-dark); margin:0 0 12px; }
  .welcome-text{ font-size:14px; color:var(--ink-soft); line-height:1.6; margin:0 0 26px; max-width:44ch; margin-left:auto; margin-right:auto; text-align:left; }
  .welcome-start-btn{ display:block; width:100%; background:var(--primary); color:#fff; border:none; cursor:pointer; padding:16px; font-size:16px; }
  .combo-optin{
    display:flex; align-items:flex-start; gap:10px; text-align:left;
    background:var(--primary-tint); border:1px solid var(--border); border-radius:12px;
    padding:14px 16px; margin:18px 0; font-size:13.5px; line-height:1.5; color:var(--ink-soft);
    cursor:pointer;
  }
  .combo-optin input{ margin-top:2px; flex-shrink:0; width:18px; height:18px; cursor:pointer; }
  .combo-banner{
    background:var(--primary-tint); border:1px solid var(--border); color:var(--primary-dark);
    font-weight:600; font-size:13.5px; text-align:center; padding:12px 16px;
  }
  .combo-other-card ul{ list-style:none; padding:0; margin:0 0 10px; }
  .combo-other-card li{ padding:6px 0; border-bottom:1px solid var(--border); font-size:13.5px; color:var(--ink-soft); }
  .combo-other-card li:last-child{ border-bottom:none; }
  .combo-other-card .combo-section-label{ font-weight:700; font-size:12.5px; color:var(--primary-dark); margin:14px 0 4px; }
  .combo-other-card .combo-section-label:first-of-type{ margin-top:4px; }
  .card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:var(--radius);
    padding:20px;
    margin-bottom:16px;
  }
  .group-label{
    font-family:var(--font-display);
    font-size:16px;
    font-weight:600;
    color:var(--primary-dark);
    margin:0 0 4px;
    display:flex;
    align-items:center;
    gap:8px;
  }
  .group-hint{
    font-size:12.5px;
    color:var(--ink-soft);
    margin:0 0 14px;
  }
  .group-note{
    display:flex;
    align-items:flex-start;
    gap:6px;
    font-size:12px;
    font-style:italic;
    color:var(--ink-soft);
    background:var(--primary-tint);
    border-radius:8px;
    padding:8px 10px;
    margin:0 0 12px;
    line-height:1.4;
  }
  .group-note svg{ width:13px; height:13px; flex-shrink:0; margin-top:2px; }

  .field{ margin-bottom:14px; }
  .req-star{ color:var(--accent-dark); }
  .field.invalid input{ border-color:#C0392B; background:#FDF3F2; }
  .consent-field .consent-item{ border:1.5px solid var(--border); border-radius:10px; padding:12px 12px; }
  .consent-field.invalid .consent-item{ border-color:#C0392B; background:#FDF3F2; }
  .consent-item .check-text{ font-size:13px; }
  .consent-link{ color:var(--primary); text-decoration:underline; white-space:nowrap; }
  .field-error{
    margin:6px 0 0;
    font-size:12px;
    font-weight:600;
    color:#C0392B;
  }
  .field label{
    display:block;
    font-size:12.5px;
    font-weight:600;
    color:var(--ink-soft);
    margin-bottom:6px;
    text-transform:uppercase;
    letter-spacing:0.3px;
  }
  .field input, .field select{
    width:100%;
    padding:12px 14px;
    border:1.5px solid var(--border);
    border-radius:10px;
    font-family:var(--font-body);
    font-size:15px;
    color:var(--ink);
    background:#fff;
    transition:border-color .15s;
  }
  .field input:focus, .field select:focus{
    outline:none;
    border-color:var(--primary);
  }
  .field-row{ display:flex; gap:12px; }
  .field-row .field{ flex:1; }

  .pill-row{ display:flex; flex-direction:column; gap:10px; }
  .pill-option{
    text-align:left;
    padding:12px 14px;
    border:1.5px solid var(--border);
    border-radius:10px;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    color:var(--ink-soft);
    background:#fff;
    transition:all .15s;
    user-select:none;
  }
  .pill-option.selected{
    border-color:var(--primary);
    background:var(--primary-tint);
    color:var(--primary-dark);
  }

  .check-item{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:12px 4px;
    border-bottom:1px solid var(--border);
    cursor:pointer;
    user-select:none;
  }
  .check-item:last-child{ border-bottom:none; }
  .check-box{
    flex-shrink:0;
    width:22px; height:22px;
    border-radius:7px;
    border:1.8px solid #DEDAD2;
    margin-top:1px;
    display:flex; align-items:center; justify-content:center;
    transition:all .15s;
    background:#fff;
  }
  .check-item.checked .check-box{
    background:var(--primary);
    border-color:var(--primary);
  }
  .check-box svg{ width:13px; height:13px; opacity:0; transition:opacity .1s; }
  .check-item.checked .check-box svg{ opacity:1; }
  .check-text{ font-size:14.5px; line-height:1.4; padding-top:1px; }
  .check-item.none-option{
    border-top:1px dashed var(--border);
    margin-top:2px;
    padding-top:14px;
  }
  .check-item.none-option .check-text{
    font-style:italic;
    color:var(--ink-soft);
  }
  .check-item.none-option.checked .check-text{
    color:var(--primary);
    font-weight:600;
    font-style:normal;
  }
  .check-item.none-option .check-box{ border-color:#C9C4B8; }
  .check-item.none-option.checked .check-box{ background:var(--primary); border-color:var(--primary); }
  .check-item.sonstiges-option.checked .check-text{ color:var(--primary-dark); font-weight:600; }
  .sonstiges-textarea-wrap{ padding:0 4px 12px; }
  .sonstiges-textarea{
    width:100%;
    min-height:70px;
    padding:10px 12px;
    border:1.5px solid var(--primary);
    border-radius:10px;
    font-family:var(--font-body);
    font-size:13.5px;
    color:var(--ink);
    background:var(--primary-tint);
    resize:vertical;
  }
  .sonstiges-textarea:focus{ outline:none; border-color:var(--primary-dark); }

  .max-note{
    font-size:11.5px;
    color:var(--accent-dark);
    font-weight:600;
    margin-top:8px;
  }

  /* ---------- FOOTER NAV ---------- */
  footer.nav{
    position:fixed;
    left:50%; transform:translateX(-50%);
    bottom:0;
    width:100%; max-width:640px;
    background:#fff;
    border-top:1px solid var(--border);
    padding:14px 20px calc(14px + env(safe-area-inset-bottom));
    display:flex;
    gap:12px;
    z-index:10;
  }
  .btn{
    flex:1;
    padding:14px 18px;
    border-radius:12px;
    border:none;
    font-family:var(--font-body);
    font-weight:700;
    font-size:15px;
    cursor:pointer;
    transition:transform .1s, opacity .15s;
  }
  .btn:active{ transform:scale(0.97); }
  .btn-primary{
    background:var(--primary);
    color:#fff;
    flex:2;
  }
  .btn-primary:hover{ background:var(--primary-dark); }
  .btn-ghost{
    background:transparent;
    color:var(--ink-soft);
    border:1.5px solid var(--border);
  }
  .btn:disabled{ opacity:0.4; cursor:not-allowed; }

  /* ---------- RESULT ---------- */
  .result-hero{
    text-align:center;
    padding:8px 4px 20px;
  }
  .result-hero .big{
    font-family:var(--font-mono);
    font-size:44px;
    font-weight:600;
    color:var(--primary-dark);
  }
  .result-hero .big span{ font-size:20px; color:var(--ink-soft); }
  .result-hero p{ color:var(--ink-soft); font-size:13.5px; margin-top:4px; }

  .bar-row{ margin-bottom:16px; }
  .bar-row .bar-label{
    display:flex; justify-content:space-between;
    font-size:13.5px; font-weight:600; margin-bottom:6px;
  }
  .bar-row .bar-label .n{ font-family:var(--font-mono); color:var(--primary-dark); }
  .bar-track{
    height:10px;
    background:var(--primary-tint);
    border-radius:6px;
    overflow:hidden;
  }
  .bar-fill{
    height:100%;
    background:linear-gradient(90deg, var(--primary), var(--accent));
    border-radius:6px;
    width:0%;
    transition:width 1s cubic-bezier(.65,0,.35,1);
  }

  .focus-list{ margin:10px 0 0; padding:0; list-style:none; }
  .focus-list li{
    display:flex; align-items:center; gap:10px;
    padding:10px 0;
    border-bottom:1px dashed var(--border);
    font-size:14px;
  }
  .focus-list li:last-child{ border-bottom:none; }
  .focus-num{
    width:24px; height:24px; border-radius:50%;
    background:var(--accent); color:#fff;
    font-family:var(--font-mono); font-size:12px; font-weight:700;
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }

  .cta-card{
    background:linear-gradient(135deg, var(--primary-dark), var(--primary));
    color:#fff;
    border-radius:var(--radius);
    padding:22px;
    text-align:center;
  }
  .cta-card h3{ font-family:var(--font-display); margin:0 0 6px; font-size:19px; }
  .cta-card p{ font-size:13px; opacity:0.85; margin:0 0 16px; line-height:1.5; }
  .detail-section{
    border:1px solid var(--border);
    border-radius:10px;
    margin-bottom:10px;
    overflow:hidden;
  }
  .detail-section summary{
    list-style:none;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 14px;
    cursor:pointer;
    font-weight:600;
    font-size:14px;
    color:var(--primary-dark);
    background:var(--primary-tint);
  }
  .detail-section summary::-webkit-details-marker{ display:none; }
  .detail-section summary::after{
    content:'+';
    font-family:var(--font-mono);
    font-weight:700;
    color:var(--primary);
    margin-left:8px;
  }
  .detail-section[open] summary::after{ content:'–'; }
  .detail-count{
    font-family:var(--font-mono);
    font-size:12px;
    background:#fff;
    color:var(--primary-dark);
    padding:2px 8px;
    border-radius:10px;
    margin-left:auto;
    margin-right:10px;
  }
  .detail-list{
    margin:0;
    padding:10px 16px 12px 30px;
    font-size:13.5px;
    color:var(--ink);
  }
  .detail-list li{ padding:3px 0; line-height:1.4; }

  .btn-cta{
    display:inline-block;
    background:var(--accent);
    color:var(--primary-dark);
    font-weight:700;
    padding:13px 22px;
    border-radius:10px;
    text-decoration:none;
    font-size:14.5px;
    font-family:var(--font-body);
  }
  .cta-card .btn-cta{ background:rgba(255,255,255,0.15); color:#fff; }
  .cta-avatar{ width:64px; height:64px; border-radius:50%; object-fit:cover; border:2px solid var(--accent); margin-bottom:12px; }
  .btn-cta-whatsapp{ display:block; width:100%; background:#25D366; color:#fff; }
  .btn-cta-stacked{ display:block; width:100%; margin-top:10px; }
  .btn-cta-button{ border:none; cursor:pointer; }
  .pdf-status{ margin-top:6px; font-size:12px; opacity:0.85; }
  .resume-banner-text{ margin:0; font-size:13.5px; color:var(--primary-dark); font-weight:600; }
  .btn-cta.welcome-start-btn{ color:#fff; }
  .secondary-link{
    display:block;
    text-align:center;
    margin-top:14px;
    font-size:12.5px;
    color:var(--ink-soft);
    text-decoration:underline;
    cursor:pointer;
  }

  .legal-modal-overlay{
    display:none;
    position:fixed; inset:0;
    background:rgba(15,20,30,0.55);
    z-index:1000;
    align-items:center;
    justify-content:center;
    padding:20px;
  }
  .legal-modal-overlay.open{ display:flex; }
  .legal-modal{
    background:#fff;
    border-radius:16px;
    max-width:480px;
    width:100%;
    max-height:80vh;
    overflow-y:auto;
    padding:30px 24px 24px;
    position:relative;
  }
  .legal-modal h3{ font-family:var(--font-display); color:var(--primary-dark); margin:0 0 12px; font-size:20px; }
  .legal-modal p{ font-size:13.5px; line-height:1.6; color:var(--ink); margin:0 0 12px; }
  .legal-modal-close{
    position:absolute; top:12px; right:14px;
    background:none; border:none; font-size:26px; line-height:1; cursor:pointer; color:var(--ink-soft);
  }
  .legal-footer{
    text-align:center;
    font-size:11.5px;
    color:var(--ink-soft);
    opacity:0.75;
    padding:14px 20px 90px;
  }
  .legal-footer a{ color:var(--ink-soft); text-decoration:underline; display:inline-block; padding:.5rem 0; margin:-.5rem 0; }

  @media (min-width:480px){
    .step-title{ font-size:29px; }
  }

  @media (min-width:701px){
    .app{ margin-top:32px; max-width:740px; }
    header.top{ border-radius:16px; box-shadow:0 6px 20px rgba(0,0,0,0.10); }
    .welcome-photo{ width:136px; height:136px; }
    .welcome-text{ max-width:60ch; }
    .step-subtitle{ max-width:62ch; }
  }
h1.brand-name{margin:0;font-size:inherit;font-weight:inherit;line-height:inherit}
