@font-face{
  font-family:'Inter';
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url('fonts/Inter-Variable.woff2') format('woff2');
}
@font-face{
  font-family:'Space Grotesk';
  font-style:normal;
  font-weight:500 700;
  font-display:swap;
  src:url('fonts/SpaceGrotesk-Variable.woff2') format('woff2');
}
  :root{
    --cream:#f4f1e8;
    --cream-soft:#ece7d9;
    --ink:#201d18;
    --ink-soft:#5c574d;
    --line:rgba(32,29,24,.14);
    --accent:#e2402a;
    --accent-ink:#fff5f0;
    --gold:#a9863f;
    --indigo:#33306f;
    --radius:18px;
    --wrap:1180px;
    --ff-head:'Space Grotesk', sans-serif;
    --ff-body:'Inter', sans-serif;
  }
  *{
    box-sizing:border-box;
  }
  html{
    scroll-behavior:smooth;
  }
  body{
    margin:0;
    background:var(--cream);
    color:var(--ink);
    font-family:var(--ff-body);
    font-size:16px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  img{
    max-width:100%;
    display:block;
  }
  a{
    color:inherit;
    text-decoration:none;
  }
  .wrap{
    max-width:var(--wrap);
    margin:0 auto;
    padding:0 28px;
    position:relative;
    z-index:1;
  }
  .eyebrow{
    font-family:var(--ff-body);
    font-weight:700;
    letter-spacing:.14em;
    text-transform:uppercase;
    font-size:12.5px;
    color:var(--accent);
    margin:0 0 10px;
  }
  h1,h2,h3{
    font-family:var(--ff-head);
    font-weight:600;
    line-height:1.08;
    margin:0;
    letter-spacing:-.01em;
  }
  h2{
    font-size:clamp(28px,4vw,44px);
  }
  h3{
    font-size:19px;
  }
  p{
    margin:0;
  }
  .lede{
    font-size:clamp(16px,1.7vw,19px);
    color:var(--ink-soft);
    max-width:640px;
  }
  section{
    padding:96px 0;
  }
  .btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:14px 26px;
    border-radius:999px;
    font-family:var(--ff-body);
    font-weight:600;
    font-size:15px;
    border:1.5px solid var(--ink);
    transition:transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
    white-space:nowrap;
  }
  .btn-primary{
    background:var(--ink);
    color:var(--cream);
  }
  .btn-primary:hover{
    background:var(--accent);
    border-color:var(--accent);
    color:#fff;
    transform:translateY(-2px);
  }
  .btn-ghost{
    background:transparent;
    color:var(--ink);
  }
  .btn-ghost:hover{
    background:var(--ink);
    color:var(--cream);
    transform:translateY(-2px);
  }
  .btn-accent{
    background:var(--accent);
    border-color:var(--accent);
    color:#fff;
  }
  .btn-accent:hover{
    background:var(--ink);
    border-color:var(--ink);
    transform:translateY(-2px);
  }
  .btn-row{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    margin-top:30px;
  }

  /* ---------- HEADER ---------- */
  header{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(244,241,232,.86);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  .nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 28px;
    max-width:var(--wrap);
    margin:0 auto;
  }
  .brand{
    display:flex;
    align-items:center;
    gap:12px;
    font-family:var(--ff-head);
    font-weight:700;
    font-size:15px;
    letter-spacing:.02em;
  }
  .wordmark{
    color:var(--ink);
  }
  .wordmark .wm-media{
    color:var(--ink-soft);
  }
  .wordmark .wm-gmbh{
    color:var(--ink-soft);
    font-size:.66em;
    font-weight:700;
    letter-spacing:.02em;
  }
  .navlinks{
    display:flex;
    gap:30px;
    align-items:center;
  }
  .navlinks a{
    font-size:14.5px;
    font-weight:600;
    position:relative;
    padding:4px 0;
  }
  .navlinks a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-3px;
    height:2px;
    width:0;
    background:var(--accent);
    transition:width .2s ease;
  }
  .navlinks a:hover::after{
    width:100%;
  }
  .nav-cta{
    display:none;
  }
  .burger{
    display:none;
    background:none;
    border:none;
    cursor:pointer;
    padding:6px;
  }
  .burger span{
    display:block;
    width:24px;
    height:2px;
    background:var(--ink);
    margin:5px 0;
    border-radius:2px;
  }

  @media (max-width:880px){
    .navlinks{
      position:fixed;
      top:64px;
      left:0;
      right:0;
      background:var(--cream);
      flex-direction:column;
      align-items:flex-start;
      padding:20px 28px 28px;
      gap:18px;
      border-bottom:1px solid var(--line);
      transform:translateY(-8px);
      opacity:0;
      pointer-events:none;
      transition:opacity .2s ease, transform .2s ease;
    }
    .navlinks.open{
      opacity:1;
      transform:translateY(0);
      pointer-events:auto;
    }
    .burger{
      display:block;
    }
  }

  /* ---------- HERO (+ Wer wir sind, zusammengelegt) ---------- */
  .hero{
    position:relative;
    overflow:hidden;
    padding:120px 0 90px;
    background:#f4ecd6;
  }
  .hero::before{
    content:'';
    position:absolute;
    top:-220px;
    right:-220px;
    width:640px;
    height:640px;
    border-radius:50%;
    background:radial-gradient(circle at 30% 30%, rgba(226,64,42,.22), transparent 70%);
    z-index:0;
  }
  .hero::after{
    content:'';
    position:absolute;
    bottom:-180px;
    left:-160px;
    width:420px;
    height:420px;
    border-radius:50%;
    background:radial-gradient(circle at 60% 60%, rgba(169,134,63,.24), transparent 70%);
    z-index:0;
  }
  .hero .wrap{
    position:relative;
    z-index:1;
  }
  .hero h1{
    font-size:clamp(38px,6.4vw,64px);
    max-width:760px;
    margin-top:8px;
  }
  .hero h1 span{
    color:var(--accent);
  }
  .hero .lede{
    margin-top:22px;
    max-width:720px;
  }

  /* ---------- SECTION HEAD ---------- */
  .section-head{
    max-width:680px;
    margin-bottom:52px;
  }

  /* ---------- LEISTUNGEN ---------- */
  .leistungen-section{
    position:relative;
    overflow:hidden;
    background:#fbe8e2;
  }
  .leistungen-section::before{
    content:'';
    position:absolute;
    top:-140px;
    right:8%;
    width:360px;
    height:360px;
    border-radius:36%;
    background:var(--indigo);
    opacity:.08;
    transform:rotate(16deg);
    z-index:0;
  }
  .leistungen-section::after{
    content:'';
    position:absolute;
    bottom:-160px;
    left:-110px;
    width:320px;
    height:320px;
    border-radius:50%;
    background:#2f7d5e;
    opacity:.10;
    transform:rotate(-10deg);
    z-index:0;
  }
  .services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
  }
  .service-card{
    position:relative;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:32px 26px 28px;
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .service-card::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:6px;
    background:var(--bar);
  }
  .service-card::after{
    content:'';
    position:absolute;
    top:0;
    right:0;
    width:130px;
    height:130px;
    border-radius:50%;
    background:var(--bar);
    opacity:.1;
    transform:translate(35%,-45%);
  }
  .service-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 34px rgba(32,29,24,.08);
  }
  .service-card.c1{--bar:#e2402a;}
  .service-card.c2{--bar:#a9863f;}
  .service-card.c3{--bar:#33306f;}
  .service-card.c4{--bar:#2f7d5e;}
  .service-card.c5{--bar:#d9a520;}
  .service-card.c6{--bar:#2f6690;}
  .service-card .tag{
    display:inline-block;
    font-family:var(--ff-head);
    font-weight:700;
    font-size:11.5px;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--bar);
    margin-bottom:14px;
    position:relative;
    z-index:1;
  }
  .service-card h3{
    margin-bottom:12px;
    position:relative;
    z-index:1;
  }
  .service-card ul{
    margin:0;
    padding:0;
    list-style:none;
    color:var(--ink-soft);
    font-size:14.5px;
    position:relative;
    z-index:1;
  }
  .service-card li{
    padding:5px 0 5px 18px;
    position:relative;
  }
  .service-card li::before{
    content:'-';
    position:absolute;
    left:0;
    color:var(--bar);
  }
  @media (max-width:900px){
    .services-grid{grid-template-columns:1fr 1fr;}
  }
  @media (max-width:600px){
    .services-grid{grid-template-columns:1fr;}
  }

  /* ---------- HOME ENTERTAINMENT ---------- */
  .he-section{
    position:relative;
    overflow:hidden;
    background:#e2ecf1;
  }
  .he-section::before{
    content:'';
    position:absolute;
    top:-100px;
    left:6%;
    width:260px;
    height:260px;
    border-radius:32%;
    background:#2f6690;
    opacity:.16;
    transform:rotate(14deg);
    z-index:0;
  }
  .he-section::after{
    content:'';
    position:absolute;
    bottom:-90px;
    right:4%;
    width:220px;
    height:220px;
    border-radius:50%;
    background:var(--gold);
    opacity:.16;
    transform:rotate(-10deg);
    z-index:0;
  }
  .he{
    position:relative;
    overflow:hidden;
    background:#1c4a5e;
    color:var(--cream);
    border-radius:28px;
    padding:64px;
    margin:0 auto;
    max-width:var(--wrap);
  }
  .he::before{
    content:'';
    position:absolute;
    top:-140px;
    right:-100px;
    width:340px;
    height:340px;
    border-radius:50%;
    background:radial-gradient(circle at 40% 40%, rgba(226,64,42,.30), transparent 70%);
    z-index:0;
  }
  .he::after{
    content:'';
    position:absolute;
    bottom:-160px;
    left:-120px;
    width:320px;
    height:320px;
    border-radius:50%;
    background:radial-gradient(circle at 60% 60%, rgba(169,134,63,.28), transparent 70%);
    z-index:0;
  }
  .he-grid{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:50px;
    align-items:center;
  }
  .he h2{
    color:#fff;
  }
  .he p{
    color:#d8d4c8;
    font-size:17px;
    max-width:560px;
  }
  .he-card{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.14);
    border-radius:16px;
    padding:26px;
  }
  .he-card h3{
    color:#fff;
    margin-bottom:8px;
  }
  .he-card p{
    color:#c9c5b8;
    font-size:15px;
    margin-bottom:18px;
  }
  .he .btn-ghost{
    border-color:rgba(255,255,255,.5);
    color:#fff;
  }
  .he .btn-ghost:hover{
    background:#fff;
    color:var(--ink);
  }
  @media (max-width:900px){
    .he{
      padding:40px 26px;
      border-radius:20px;
    }
    .he-grid{grid-template-columns:1fr;}
  }

  /* ---------- REFERENZEN ---------- */
  .referenzen-section{
    position:relative;
    overflow:hidden;
    background:#eae6f4;
  }
  .referenzen-section::before{
    content:'';
    position:absolute;
    top:-130px;
    left:-90px;
    width:300px;
    height:300px;
    border-radius:34%;
    background:var(--gold);
    opacity:.16;
    transform:rotate(-14deg);
    z-index:0;
  }
  .referenzen-section::after{
    content:'';
    position:absolute;
    bottom:-150px;
    right:-100px;
    width:340px;
    height:340px;
    border-radius:50%;
    background:var(--accent);
    opacity:.12;
    transform:rotate(12deg);
    z-index:0;
  }
  .ref-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:18px;
  }
  .ref-card{
    position:relative;
    border-radius:14px;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--line);
  }
  .ref-card .poster-wrap{
    aspect-ratio:2/3;
    overflow:hidden;
    background:#dedad0;
  }
  .ref-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:top center;
    transition:transform .35s ease;
  }
  .ref-card:hover img{
    transform:scale(1.06);
  }
  .ref-card .cap{
    padding:10px 12px 13px;
  }
  .ref-card .cap b{
    display:block;
    font-family:var(--ff-head);
    font-size:13.5px;
    line-height:1.25;
  }
  .ref-card .cap span{
    font-size:11.5px;
    color:var(--ink-soft);
  }
  @media (max-width:1040px){
    .ref-grid{grid-template-columns:repeat(4,1fr);}
  }
  @media (max-width:700px){
    .ref-grid{
      grid-template-columns:repeat(3,1fr);
      gap:12px;
    }
    .ref-card .cap b{font-size:12px;}
  }
  @media (max-width:460px){
    .ref-grid{grid-template-columns:repeat(2,1fr);}
  }

  /* ---------- TEAM ---------- */
  .team-section{
    position:relative;
    overflow:hidden;
    background:#dfeee6;
  }
  .team-section::before{
    content:'';
    position:absolute;
    top:-120px;
    left:-100px;
    width:300px;
    height:300px;
    border-radius:32%;
    background:var(--accent);
    opacity:.14;
    transform:rotate(-18deg);
    z-index:0;
  }
  .team-section::after{
    content:'';
    position:absolute;
    bottom:-130px;
    right:-90px;
    width:280px;
    height:280px;
    border-radius:50%;
    background:var(--gold);
    opacity:.18;
    transform:rotate(10deg);
    z-index:0;
  }
  .team-grid{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:22px;
  }
  .team-card{
    text-align:center;
  }
  .team-photo{
    width:100%;
    aspect-ratio:1/2;
    border-radius:20px;
    background:#fff;
    border:1px solid var(--line);
    margin-bottom:14px;
    overflow:hidden;
  }
  .team-photo img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:5%;
  }
  .team-photo .fallback{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:var(--ff-head);
    font-weight:700;
    font-size:26px;
    color:var(--ink-soft);
  }
  .team-card b{
    display:block;
    font-family:var(--ff-head);
    font-size:15px;
  }
  .team-card span{
    display:block;
    font-size:12.5px;
    color:var(--ink-soft);
    margin-top:3px;
  }
  @media (max-width:900px){
    .team-grid{grid-template-columns:repeat(3,1fr);}
    .team-photo{aspect-ratio:1/1;}
  }
  @media (max-width:520px){
    .team-grid{grid-template-columns:repeat(2,1fr);}
  }

  /* ---------- PARTNER ---------- */
  .partner-section{
    border-top:1px solid var(--line);
    padding:70px 0;
    background:#ebd9da;
  }
  .partner-head{
    font-size:12.5px;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:var(--ink-soft);
    font-weight:700;
    margin-bottom:34px;
    text-align:center;
  }
  .partner-row{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-around;
    gap:52px;
  }
  .partner-row .plogo{
    display:flex;
    align-items:center;
    justify-content:center;
    height:auto;
    width: 50px;
    opacity:.8;
    transition:opacity .2s ease, filter .2s ease;
  }
  .partner-row .plogo:hover{
    filter:grayscale(0);
    opacity:1;
  }
  .partner-row .plogo img{
    height:100%;
    width:auto;
    max-width:170px;
    object-fit:contain;
  }
  .partner-row .plogo.text{
    font-family:var(--ff-head);
    font-weight:700;
    font-size:18px;
    color:var(--ink-soft);
  }
  .partner-row .plogo.text:hover{
    color:var(--ink);
  }

  #w_b_logo {
    width: 150px;
  }

  @media (max-width:700px){
    .partner-row{
      display: grid;
      grid-template-columns: repeat(2,1fr);
      margin: 8px;
      gap: 8px;
    }
    .partner-row .plogo {
      height: 100px;
      width: auto;
    }
    .partner-row .plogo img {
      max-width: 100px;
    }

  }

  /* ---------- SMALL WORLDS ---------- */
  .sw{
    position:relative;
    padding:110px 0;
    overflow:hidden;
    background:var(--indigo);
    color:#fff;
  }
  .sw::before,.sw::after{
    content:'';
    position:absolute;
    border-radius:24px;
    z-index:0;
  }
  .sw::before{
    width:360px;
    height:360px;
    background:#e2402a;
    top:-120px;
    left:-90px;
    transform:rotate(18deg);
    opacity:.9;
  }
  .sw::after{
    width:260px;
    height:260px;
    background:#f2c14e;
    bottom:-110px;
    right:-60px;
    transform:rotate(-14deg);
    opacity:.9;
  }
  .sw .wrap{
    position:relative;
    z-index:2;
  }
  .sw-card{
    background:#f4f1e8;
    color:var(--ink);
    border-radius:22px;
    padding:54px;
    transform:rotate(-.6deg);
    box-shadow:0 30px 60px rgba(0,0,0,.28);
  }
  .sw-card .eyebrow{
    color:var(--accent);
  }
  .sw-card h2{
    font-size:clamp(34px,5vw,54px);
  }
  .sw-card .sub{
    font-family:var(--ff-head);
    font-weight:600;
    font-size:19px;
    color:var(--ink-soft);
    margin-top:8px;
  }
  .sw-card p.body{
    margin-top:20px;
    max-width:700px;
    color:var(--ink-soft);
    font-size:16.5px;
  }
  .chip-row{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:26px;
  }
  .chip{
    background:#fff;
    border:1px solid var(--line);
    border-radius:999px;
    padding:8px 16px;
    font-size:13.5px;
    font-weight:600;
  }
  .chip::before{
    content:'✺ ';
    color:var(--accent);
  }
  .sw-partner{
    margin-top:26px;
    font-size:14.5px;
    color:var(--ink-soft);
  }
  .sw-partner b{
    color:var(--ink);
  }
  @media (max-width:760px){
    .sw-card{
      padding:32px 24px;
      transform:none;
    }
  }

  /* ---------- LIZENZSYSTEM ---------- */
  .lizenz-section{
    position:relative;
    overflow:hidden;
    background:#faf0ce;
  }
  .lizenz-section::before{
    content:'';
    position:absolute;
    top:-130px;
    right:-90px;
    width:320px;
    height:320px;
    border-radius:34%;
    background:var(--indigo);
    opacity:.12;
    transform:rotate(-16deg);
    z-index:0;
  }
  .lizenz-section::after{
    content:'';
    position:absolute;
    bottom:-140px;
    left:8%;
    width:260px;
    height:260px;
    border-radius:50%;
    background:#2f7d5e;
    opacity:.14;
    transform:rotate(14deg);
    z-index:0;
  }
  .lic-grid{
    display:grid;
    grid-template-columns:1.15fr .85fr;
    gap:24px;
  }
  .lic-tiles{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
  }
  .lic-tile{
    position:relative;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:22px 20px;
  }
  .lic-tile::before{
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:5px;
    background:var(--bar);
  }
  .lic-tile.t1{--bar:#33306f;}
  .lic-tile.t2{--bar:#2f7d5e;}
  .lic-tile.t3{--bar:#2f6690;}
  .lic-tile.t4{--bar:#a9863f;}
  .lic-tile b{
    display:block;
    font-family:var(--ff-head);
    font-size:15.5px;
    margin-bottom:8px;
    margin-top:4px;
  }
  .lic-tile p{
    color:var(--ink-soft);
    font-size:14px;
    margin:0;
  }
  .lic-side{
    background:#fff;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:32px;
    align-self:start;
  }
  .lic-side h3{
    margin-bottom:14px;
  }
  .lic-side p{
    color:var(--ink-soft);
    font-size:15px;
    margin-bottom:20px;
  }
  .lic-side .tag{
    display:inline-block;
    background:var(--cream-soft);
    border-radius:999px;
    padding:5px 12px;
    font-size:12.5px;
    font-weight:700;
    letter-spacing:.04em;
    text-transform:uppercase;
    margin-bottom:18px;
  }
  @media (max-width:900px){
    .lic-grid{grid-template-columns:1fr;}
  }
  @media (max-width:560px){
    .lic-tiles{grid-template-columns:1fr;}
  }

  /* ---------- KONTAKT ---------- */
  .kontakt-section{
    position:relative;
    overflow:hidden;
    background:#e3edf1;
  }
  .kontakt-section::before{
    content:'';
    position:absolute;
    top:-120px;
    right:10%;
    width:280px;
    height:280px;
    border-radius:32%;
    background:var(--gold);
    opacity:.16;
    transform:rotate(18deg);
    z-index:0;
  }
  .kontakt-section::after{
    content:'';
    position:absolute;
    bottom:-140px;
    left:-90px;
    width:300px;
    height:300px;
    border-radius:50%;
    background:var(--accent);
    opacity:.14;
    transform:rotate(-12deg);
    z-index:0;
  }
  .contact{
    position:relative;
    background:#fff;
    border-radius:28px;
    max-width:var(--wrap);
    margin:0 auto;
    padding:70px;
  }
  .contact-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:50px;
    align-items:center;
  }
  .contact-card{
    background:var(--cream-soft);
    border:1px solid var(--line);
    border-radius:18px;
    padding:32px;
  }
  .contact-card .name{
    font-family:var(--ff-head);
    font-weight:700;
    font-size:20px;
  }
  .contact-card .role{
    color:var(--ink-soft);
    font-size:14px;
    margin-bottom:20px;
  }
  .contact-line{
    display:flex;
    justify-content:space-between;
    padding:10px 0;
    border-top:1px solid var(--line);
    font-size:14.5px;
  }
  .contact-line:first-of-type{
    border-top:none;
  }
  .contact-line a:hover{
    color:var(--accent);
  }
  @media (max-width:900px){
    .contact{padding:36px 24px;}
    .contact-grid{grid-template-columns:1fr;}
  }

  /* ---------- FOOTER ---------- */
  footer{
    padding:60px 0 40px;
  }
  .footer-grid{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:30px;
    border-top:1px solid var(--line);
    padding-top:40px;
  }
  .footer-brand{
    display:flex;
    align-items:center;
    gap:12px;
    font-family:var(--ff-head);
    font-weight:700;
    font-size:14px;
  }
  .footer-links{
    display:flex;
    gap:22px;
    flex-wrap:wrap;
    font-size:14px;
    color:var(--ink-soft);
  }
  .footer-links a:hover{
    color:var(--accent);
  }
  .footer-bottom{
    margin-top:34px;
    font-size:12.5px;
    color:var(--ink-soft);
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:10px;
  }

  /* ---------- REVEAL ---------- */
  .reveal{
    opacity:0;
    transform:translateY(18px);
    transition:opacity .6s ease, transform .6s ease;
  }
  .reveal.in{
    opacity:1;
    transform:translateY(0);
  }

  /* ---------- MODAL (Impressum) ---------- */
  .modal-overlay{
    position:fixed;
    inset:0;
    background:rgba(32,29,24,.55);
    backdrop-filter:blur(3px);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
    z-index:100;
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
  }
  .modal-overlay.open{
    opacity:1;
    pointer-events:auto;
  }
  .modal-box{
    background:var(--cream);
    border-radius:20px;
    max-width:560px;
    max-height:80vh;
    overflow-y:auto;
    padding:40px;
    position:relative;
    box-shadow:0 30px 60px rgba(0,0,0,.3);
  }
  .modal-box h3{
    font-size:26px;
    margin-bottom:18px;
  }
  .modal-box p{
    margin-bottom:16px;
    font-size:14.5px;
    color:var(--ink-soft);
    line-height:1.6;
  }
  .modal-box p b{
    color:var(--ink);
  }
  .modal-box p.fine{
    font-size:12.5px;
  }
  .modal-close{
    position:absolute;
    top:18px;
    right:18px;
    background:var(--cream-soft);
    border:none;
    border-radius:50%;
    width:34px;
    height:34px;
    cursor:pointer;
    font-size:14px;
  }
