/**
 * UPON Custom Page Template — Styles
 * v1.1.5 mit lokalen Unbounded-Fonts
 */

/* ============================================================
   LOKALE SCHRIFTARTEN — Unbounded
   ============================================================
   Lokale TTF-Dateien aus /wp-content/uploads/avia_fonts/static/
   (vom Enfold Kriesi Font-Manager hochgeladen).
*/

@font-face {
    font-family: 'Unbounded';
    src: url('../../../uploads/avia_fonts/static/unbounded-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Unbounded';
    src: url('../../../uploads/avia_fonts/static/unbounded-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Unbounded';
    src: url('../../../uploads/avia_fonts/static/unbounded-medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Unbounded';
    src: url('../../../uploads/avia_fonts/static/unbounded-semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Unbounded';
    src: url('../../../uploads/avia_fonts/static/unbounded-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Unbounded';
    src: url('../../../uploads/avia_fonts/static/unbounded-extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Unbounded';
    src: url('../../../uploads/avia_fonts/static/unbounded-black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/**
 * UPON Custom Page Template — Styles
 *
 * Wird via wp_enqueue_style() nur auf Seiten geladen, die das
 * Template "UPON Custom Layout" nutzen (siehe functions-snippet.php).
 *
 * Hinweis: Wenn du zentrale Variablen (Farben, Typografie) lieber
 * theme-weit pflegen willst, kannst du den :root-Block oben in dein
 * /upon/style.css verschieben.
 */

  :root{
    --black:#141414;
    --white:#ffffff;
    --orange:#f7a600;
    --green:#aecb06;
    --purple:#ba4d97;
    --blue:#009ee0;
    --gray-1:#1a1a1a;
    --gray-2:#222;
    --gray-3:#2e2e2e;
    --line:rgba(255,255,255,0.1);
    --line-strong:rgba(255,255,255,0.2);
    --text-soft:rgba(255,255,255,0.65);
    --text-mid:rgba(255,255,255,0.45);
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html{scroll-behavior:smooth}
  body{
    background:var(--black);color:var(--white);
    font-family:'Montserrat',sans-serif;font-weight:400;
    line-height:1.55;-webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3,h4,.display{
    font-family:'Unbounded',sans-serif;
    font-weight:800;letter-spacing:-0.025em;line-height:0.98;
  }
  .container{max-width:1200px;margin:0 auto;padding:0 32px}
  .container-wide{max-width:1440px;margin:0 auto;padding:0 32px}
  img{max-width:100%;display:block}
  ::selection{background:var(--orange);color:var(--black)}

  .dot{display:inline-block;width:0.28em;height:0.28em;background:var(--orange);border-radius:50%;margin-left:0.04em;vertical-align:baseline;transform:translateY(-0.05em)}

  /* ============ TOPBAR ============ */
  .topbar{
    position:sticky;top:0;z-index:100;
    background:rgba(20,20,20,0.78);
    backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);
    border-bottom:1px solid var(--line);
  }
  .topbar-inner{
    display:flex;justify-content:space-between;align-items:center;
    padding:14px 32px;max-width:1440px;margin:0 auto;gap:24px;
  }
  .logo{
    font-family:'Unbounded',sans-serif;font-weight:800;font-size:20px;
    letter-spacing:-0.02em;cursor:pointer;
  }
  .logo .ldot{display:inline-block;width:6px;height:6px;background:var(--orange);border-radius:50%;margin-left:1px}

  .nav{display:flex;align-items:center;gap:32px}
  .nav-link{
    font-size:13px;font-weight:500;color:var(--text-soft);
    cursor:pointer;transition:color 0.2s ease;
  }
  .nav-link:hover{color:var(--white)}
  .top-cta{
    background:var(--orange);color:var(--black);
    font-family:'Montserrat',sans-serif;font-weight:600;font-size:13px;
    padding:10px 20px;border:none;cursor:pointer;border-radius:100px;
    transition:transform 0.2s ease, background 0.2s ease;
  }
  .top-cta:hover{background:#ffba2c;transform:translateY(-1px)}
  .menu-btn{display:none;background:transparent;border:none;cursor:pointer;color:var(--white);padding:8px}
  .menu-btn span{display:block;width:22px;height:2px;background:var(--white);margin:4px 0;transition:0.3s}

  /* ============ HERO ============ */
  .hero{
    padding:96px 0 72px;position:relative;overflow:hidden;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(247,166,0,0.12) 0%, transparent 55%),
      radial-gradient(ellipse at 100% 80%, rgba(186,77,151,0.05) 0%, transparent 50%),
      var(--black);
  }
  .hero::before{
    content:"";position:absolute;inset:0;
    background-image:
      linear-gradient(rgba(255,255,255,0.018) 1px,transparent 1px),
      linear-gradient(90deg,rgba(255,255,255,0.018) 1px,transparent 1px);
    background-size:64px 64px;
    pointer-events:none;
    mask-image:radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image:radial-gradient(ellipse at center, black 30%, transparent 70%);
  }
  .hero-inner{text-align:center;max-width:1040px;margin:0 auto;position:relative;z-index:2}
  .eyebrow{
    display:inline-flex;align-items:center;gap:10px;
    font-size:11px;font-weight:600;letter-spacing:0.22em;text-transform:uppercase;
    color:var(--orange);margin-bottom:24px;
  }
  .eyebrow::before, .eyebrow::after{content:"";width:24px;height:1px;background:var(--orange)}
  .hero h1{
    font-size:clamp(40px,7vw,92px);
    margin-bottom:28px;letter-spacing:-0.035em;
  }
  .hero h1 em{font-style:normal;color:var(--orange)}
  .hero-lead{
    font-size:18px;line-height:1.55;color:var(--text-soft);
    max-width:640px;margin:0 auto 36px;
  }
  .hero-lead b{color:var(--white);font-weight:600}
  .cta-row{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}

  .btn{
    font-family:'Montserrat',sans-serif;font-weight:600;font-size:14px;
    padding:16px 30px;border:none;cursor:pointer;border-radius:100px;
    display:inline-flex;align-items:center;gap:10px;
    transition:all 0.25s ease;
  }
  .btn-primary{background:var(--orange);color:var(--black)}
  .btn-primary:hover{background:#ffba2c;transform:translateY(-2px);box-shadow:0 12px 32px rgba(247,166,0,0.35)}
  .btn-secondary{background:rgba(255,255,255,0.08);color:var(--white);border:1px solid var(--line-strong);backdrop-filter:blur(10px)}
  .btn-secondary:hover{background:rgba(255,255,255,0.12);transform:translateY(-2px)}
  .btn .arrow{transition:transform 0.2s ease}
  .btn:hover .arrow{transform:translateX(4px)}

  /* ============ DISCIPLINES TICKER ============ */
  .disciplines-ticker{
    margin-top:64px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
    overflow:hidden;padding:18px 0;position:relative;z-index:2;
  }
  .disciplines-ticker::before, .disciplines-ticker::after{
    content:"";position:absolute;top:0;bottom:0;width:120px;z-index:3;pointer-events:none;
  }
  .disciplines-ticker::before{left:0;background:linear-gradient(90deg, var(--black), transparent)}
  .disciplines-ticker::after{right:0;background:linear-gradient(-90deg, var(--black), transparent)}
  .ticker-track{display:flex;gap:48px;white-space:nowrap;animation:tickerMove 50s linear infinite}
  .ticker-item{
    font-family:'Unbounded',sans-serif;font-weight:600;font-size:13px;
    letter-spacing:0.08em;text-transform:uppercase;
    display:flex;align-items:center;gap:48px;color:var(--text-soft);
  }
  .ticker-item::after{content:"";width:6px;height:6px;background:var(--orange);border-radius:50%;flex-shrink:0}
  @keyframes tickerMove{from{transform:translateX(0)}to{transform:translateX(-50%)}}

  /* ============ SECTION BASE ============ */
  section{padding:120px 0;position:relative}
  .sec-eyebrow{
    display:inline-flex;align-items:center;gap:10px;
    font-size:11px;font-weight:600;letter-spacing:0.22em;text-transform:uppercase;
    color:var(--orange);margin-bottom:20px;
  }
  .sec-eyebrow::before{content:"";width:24px;height:1px;background:var(--orange)}
  .sec-title{font-size:clamp(32px,5vw,64px);margin-bottom:24px;letter-spacing:-0.03em}
  .sec-title em{font-style:normal;color:var(--orange)}
  .sec-lead{font-size:17px;line-height:1.6;color:var(--text-soft);max-width:680px}
  .sec-lead b{color:var(--white);font-weight:600}

  /* ============ MANIFESTO ============ */
  .manifesto{
    padding:140px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
    background:var(--gray-1);text-align:center;position:relative;overflow:hidden;
  }
  .manifesto::before{
    content:"";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
    width:60vw;height:60vw;max-width:900px;max-height:900px;border-radius:50%;
    background:radial-gradient(circle, rgba(247,166,0,0.08) 0%, transparent 60%);
    filter:blur(40px);pointer-events:none;
  }
  .manifesto-content{position:relative;z-index:2;max-width:980px;margin:0 auto;padding:0 32px}
  .manifesto-tag{
    font-family:'Unbounded',sans-serif;font-weight:600;font-size:11px;
    letter-spacing:0.3em;text-transform:uppercase;color:var(--orange);
    margin-bottom:32px;display:inline-flex;align-items:center;gap:12px;
  }
  .manifesto-tag::before, .manifesto-tag::after{content:"";width:32px;height:1px;background:var(--orange)}
  .manifesto h2{font-size:clamp(32px,5.5vw,64px);line-height:1.1;letter-spacing:-0.03em;margin-bottom:32px}
  .manifesto h2 em{font-style:italic;color:var(--orange);font-weight:300}
  .manifesto-bullets{
    display:grid;grid-template-columns:repeat(3,1fr);gap:32px;
    margin-top:64px;padding-top:48px;border-top:1px solid var(--line);text-align:left;
  }
  .mb-item{padding-left:16px;border-left:2px solid var(--orange)}
  .mb-item:nth-child(2){border-color:var(--green)}
  .mb-item:nth-child(3){border-color:var(--purple)}
  .mb-item h4{font-family:'Unbounded',sans-serif;font-weight:700;font-size:16px;line-height:1.2;margin-bottom:8px}
  .mb-item p{font-size:14px;color:var(--text-soft);line-height:1.55}

  /* ============================== */
  /* ===== SHOWPIECE: SYSTEM VS CHAOS ===== */
  /* ============================== */
  .system{
    padding:140px 0 120px;
    background:
      radial-gradient(ellipse at 25% 30%, rgba(0,158,224,0.04) 0%, transparent 45%),
      radial-gradient(ellipse at 75% 70%, rgba(174,203,6,0.04) 0%, transparent 45%),
      var(--black);
    position:relative;overflow:hidden;
  }
  .sys-header{text-align:center;max-width:980px;margin:0 auto 96px}
  .sys-header h2{
    font-size:clamp(32px,5.5vw,68px);margin-bottom:24px;letter-spacing:-0.035em;
  }
  .sys-header h2 em{font-style:normal;color:var(--orange)}
  .sys-header p{
    font-size:17px;line-height:1.6;color:var(--text-soft);
    max-width:640px;margin:0 auto;
  }
  .sys-header p b{color:var(--white);font-weight:600}

  /* The big comparison stage */
  .compare-stage{
    display:grid;grid-template-columns:1fr 1fr;gap:0;
    max-width:1320px;margin:0 auto;
    position:relative;
  }
  .compare-stage::before{
    content:"";position:absolute;top:5%;bottom:5%;left:50%;width:1px;
    background:linear-gradient(180deg, transparent, rgba(247,166,0,0.4), transparent);
    z-index:3;
  }
  .compare-side{
    padding:48px 40px;
    position:relative;
    transition:transform 0.5s ease;
  }
  .compare-side.left{
    background:linear-gradient(135deg, rgba(255,255,255,0.015) 0%, transparent 100%);
  }
  .compare-side.right{
    background:linear-gradient(225deg, rgba(247,166,0,0.04) 0%, transparent 60%);
  }

  .cs-tag{
    display:inline-flex;align-items:center;gap:10px;
    font-family:'Unbounded',sans-serif;font-weight:700;font-size:11px;
    letter-spacing:0.22em;text-transform:uppercase;
    padding:8px 16px;border-radius:100px;border:1px solid;
    margin-bottom:18px;
  }
  .cs-tag.bad{
    color:var(--text-mid);border-color:var(--line-strong);background:rgba(255,255,255,0.03);
  }
  .cs-tag.good{
    color:var(--orange);border-color:var(--orange);background:rgba(247,166,0,0.08);
  }
  .cs-tag .dotmark{width:6px;height:6px;border-radius:50%;background:currentColor}

  .cs-title{
    font-family:'Unbounded',sans-serif;font-weight:800;font-size:32px;
    line-height:1;letter-spacing:-0.025em;margin-bottom:14px;
  }
  .cs-title em{font-style:normal;font-weight:300;font-size:0.7em;color:var(--text-mid);margin-left:8px}
  .compare-side.right .cs-title em{color:var(--orange);font-weight:600;font-size:0.55em;letter-spacing:0.1em;text-transform:uppercase;display:block;margin-left:0;margin-top:6px}

  .cs-desc{
    font-size:14px;line-height:1.55;color:var(--text-soft);
    margin-bottom:32px;max-width:380px;
  }
  .cs-desc b{color:var(--white);font-weight:600}

  /* The constellation stage */
  .constellation{
    position:relative;
    aspect-ratio:1/1;
    width:100%;
    max-width:540px;
    margin:0 auto;
  }
  .const-svg{
    position:absolute;inset:0;width:100%;height:100%;
    z-index:2;pointer-events:none;
  }

  /* Center node — KUNDE */
  .center-node{
    position:absolute;top:50%;left:50%;
    transform:translate(-50%,-50%);
    width:22%;aspect-ratio:1;border-radius:50%;
    background:var(--purple);
    display:flex;align-items:center;justify-content:center;
    z-index:10;
    box-shadow:
      0 0 0 1px rgba(186,77,151,0.5),
      0 12px 36px rgba(186,77,151,0.4);
  }
  .center-node::before{
    content:"";position:absolute;inset:-15%;
    background:radial-gradient(circle, rgba(186,77,151,0.4) 0%, transparent 60%);
    filter:blur(16px);z-index:-1;
    animation:pulseCenter 4s ease-in-out infinite;
  }
  @keyframes pulseCenter{
    0%,100%{opacity:0.6;transform:scale(1)}
    50%{opacity:1;transform:scale(1.1)}
  }
  .center-node span{
    font-family:'Unbounded',sans-serif;font-weight:800;font-size:13px;
    color:var(--white);letter-spacing:0.05em;
  }

  /* KPI Cockpit (only on right side) */
  .kpi-cockpit{
    position:absolute;top:5%;left:50%;
    transform:translate(-50%,0);
    width:14%;aspect-ratio:1;border-radius:50%;
    background:var(--orange);
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    z-index:11;text-align:center;line-height:1;
    box-shadow:
      0 0 0 1px rgba(247,166,0,0.6),
      0 8px 24px rgba(247,166,0,0.5);
    animation:floatKPI 3s ease-in-out infinite;
  }
  @keyframes floatKPI{
    0%,100%{transform:translate(-50%,0)}
    50%{transform:translate(-50%,-6px)}
  }
  .kpi-cockpit::before{
    content:"";position:absolute;inset:-25%;
    background:radial-gradient(circle, rgba(247,166,0,0.4) 0%, transparent 60%);
    filter:blur(12px);z-index:-1;
  }
  .kpi-cockpit b{
    font-family:'Unbounded',sans-serif;font-weight:800;font-size:9px;color:var(--black);
    letter-spacing:0.05em;
  }
  .kpi-cockpit span{
    font-family:'Montserrat',sans-serif;font-weight:600;font-size:7px;color:var(--black);
    letter-spacing:0.15em;text-transform:uppercase;margin-top:2px;
  }

  /* Service nodes */
  .node{
    position:absolute;
    width:13%;aspect-ratio:1;border-radius:50%;
    transform:translate(-50%,-50%);
    z-index:8;
    transition:all 0.3s ease;
    cursor:default;
  }
  .node:hover{transform:translate(-50%,-50%) scale(1.15);z-index:20}
  .node-dot{
    width:100%;height:100%;border-radius:50%;
    box-shadow:0 4px 12px rgba(0,0,0,0.4);
    border:2px solid;
    display:flex;align-items:center;justify-content:center;
  }
  .node.blue .node-dot{background:var(--blue);border-color:var(--blue);box-shadow:0 0 0 1px var(--blue), 0 4px 16px rgba(0,158,224,0.4)}
  .node.green .node-dot{background:var(--green);border-color:var(--green);box-shadow:0 0 0 1px var(--green), 0 4px 16px rgba(174,203,6,0.4)}
  .node.orange .node-dot{background:var(--orange);border-color:var(--orange);box-shadow:0 0 0 1px var(--orange), 0 4px 16px rgba(247,166,0,0.4)}
  .node.purple .node-dot{background:var(--purple);border-color:var(--purple);box-shadow:0 0 0 1px var(--purple), 0 4px 16px rgba(186,77,151,0.4)}

  .node-label{
    position:absolute;
    font-family:'Montserrat',sans-serif;font-weight:600;font-size:11px;
    color:var(--white);
    text-align:center;line-height:1.25;
    white-space:nowrap;
    text-shadow:0 1px 4px rgba(0,0,0,0.6);
  }
  .node-label.above{bottom:calc(100% + 10px);left:50%;transform:translateX(-50%)}
  .node-label.below{top:calc(100% + 10px);left:50%;transform:translateX(-50%)}
  .node-label.left{right:calc(100% + 14px);top:50%;transform:translateY(-50%);text-align:right}
  .node-label.right{left:calc(100% + 14px);top:50%;transform:translateY(-50%);text-align:left}

  /* ===== LEFT SIDE — OHNE UPON ===== */
  /* Nodes positioned around center, mimicking the chaotic spider layout */
  .left-side .node-l1{top:18%;left:38%}    /* Website Agentur — top, slightly left */
  .left-side .node-l2{top:22%;left:62%}    /* Google Agentur — top right */
  .left-side .node-l3{top:38%;left:22%}    /* Meta Agentur — left upper */
  .left-side .node-l4{top:62%;left:18%}    /* Influencer Agentur — left lower (broken off) */
  .left-side .node-l5{top:50%;left:78%}    /* CRM (orange) */
  .left-side .node-l6{top:80%;left:50%}    /* Inhouse Content (purple) */

  /* ===== RIGHT SIDE — MIT UPON ===== */
  .right-side .node-r1{top:25%;left:50%}    /* Website + Newsletter (green, top center) */
  .right-side .node-r2{top:28%;left:24%}    /* Social Media Ads + Pflege (green) */
  .right-side .node-r3{top:28%;left:76%}    /* SEA SEO (green) */
  .right-side .node-r4{top:55%;left:18%}    /* UGC Plattform (orange) */
  .right-side .node-r5{top:55%;left:82%}    /* CRM Intern/extern (orange) */
  .right-side .node-r6{top:78%;left:38%}    /* Videografen (blue) */
  .right-side .node-r7{top:82%;left:55%}    /* Inhouse Content (purple) */

  /* Outcome boxes below */
  .outcome{
    margin-top:32px;
    padding:20px 22px;
    border-radius:14px;
    font-family:'Montserrat',sans-serif;font-size:13.5px;line-height:1.55;
  }
  .outcome.bad{
    background:rgba(255,255,255,0.025);
    border:1px solid var(--line);
    color:var(--text-soft);
  }
  .outcome.good{
    background:rgba(247,166,0,0.06);
    border:1px solid rgba(247,166,0,0.3);
    color:var(--white);
  }
  .outcome b{display:block;margin-bottom:6px;color:var(--white);font-weight:700;font-size:13px;letter-spacing:0.05em;text-transform:uppercase;font-family:'Unbounded',sans-serif}
  .outcome.bad b{color:var(--text-mid)}
  .outcome.good b{color:var(--orange)}

  /* Bottom takeaway */
  .sys-takeaway{
    text-align:center;max-width:780px;margin:96px auto 0;
    padding:40px 32px;
    border:1px solid var(--line-strong);border-radius:24px;
    background:rgba(34,34,34,0.5);
    backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  }
  .sys-takeaway .qline{
    font-family:'Unbounded',sans-serif;font-weight:700;font-size:22px;
    line-height:1.25;letter-spacing:-0.02em;
  }
  .sys-takeaway .qline em{font-style:italic;color:var(--orange);font-weight:400}
  .sys-takeaway p{font-size:14px;color:var(--text-soft);margin-top:14px}

  /* ============ SOLUTIONS ============ */
  .solutions{background:var(--black)}
  .sol-header{
    display:grid;grid-template-columns:1.4fr 1fr;gap:48px;align-items:end;margin-bottom:64px;
  }
  .sol-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
  .sol-card{
    background:linear-gradient(155deg, var(--gray-1) 0%, var(--gray-2) 100%);
    border:1px solid var(--line);border-radius:24px;
    padding:40px 36px 36px;position:relative;overflow:hidden;
    transition:transform 0.4s ease, border-color 0.4s ease;
    cursor:pointer;min-height:380px;
    display:flex;flex-direction:column;justify-content:space-between;
  }
  .sol-card::before{
    content:"";position:absolute;top:0;left:0;right:0;height:3px;
    transform:scaleX(0);transform-origin:left;
    transition:transform 0.5s cubic-bezier(0.65,0,0.35,1);
  }
  .sol-card:hover{transform:translateY(-6px);border-color:var(--line-strong)}
  .sol-card:hover::before{transform:scaleX(1)}
  .sol-card.c1::before{background:var(--orange)}
  .sol-card.c1:hover{border-color:var(--orange)}
  .sol-card.c2::before{background:var(--green)}
  .sol-card.c2:hover{border-color:var(--green)}
  .sol-card.c3::before{background:var(--purple)}
  .sol-card.c3:hover{border-color:var(--purple)}
  .sol-card.c4::before{background:var(--blue)}
  .sol-card.c4:hover{border-color:var(--blue)}

  .sol-card .sc-num{
    font-family:'Unbounded',sans-serif;font-weight:300;font-size:14px;
    letter-spacing:0.2em;color:var(--text-mid);margin-bottom:24px;
  }
  .sol-card .sc-icon{
    width:64px;height:64px;border-radius:16px;
    background:rgba(255,255,255,0.04);border:1px solid var(--line);
    display:flex;align-items:center;justify-content:center;
    font-family:'Unbounded',sans-serif;font-weight:800;font-size:24px;
    margin-bottom:24px;transition:transform 0.3s ease, background 0.3s ease;
  }
  .sol-card.c1 .sc-icon{color:var(--orange)}
  .sol-card.c2 .sc-icon{color:var(--green)}
  .sol-card.c3 .sc-icon{color:var(--purple)}
  .sol-card.c4 .sc-icon{color:var(--blue)}
  .sol-card:hover .sc-icon{transform:scale(1.05);background:rgba(255,255,255,0.07)}
  .sol-card h3{font-size:26px;line-height:1.1;margin-bottom:14px;letter-spacing:-0.02em}
  .sol-card h3 .pt{display:inline-block;width:5px;height:5px;background:var(--orange);border-radius:50%;margin-left:1px;vertical-align:baseline}
  .sol-card p{color:var(--text-soft);font-size:14.5px;line-height:1.6;margin-bottom:24px}
  .sol-card .sc-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:24px}
  .sol-card .sc-tag{
    font-family:'Montserrat',sans-serif;font-weight:500;font-size:11px;
    color:var(--text-soft);background:rgba(255,255,255,0.05);
    border:1px solid var(--line);padding:5px 10px;border-radius:100px;
  }
  .sol-card .sc-link{
    font-family:'Unbounded',sans-serif;font-weight:600;font-size:12px;
    letter-spacing:0.1em;text-transform:uppercase;color:var(--white);
    display:inline-flex;align-items:center;gap:8px;transition:gap 0.2s ease;
  }
  .sol-card .sc-link .arrow{transition:transform 0.2s ease}
  .sol-card:hover .sc-link .arrow{transform:translateX(4px)}
  .sol-card.c1 .sc-link{color:var(--orange)}
  .sol-card.c2 .sc-link{color:var(--green)}
  .sol-card.c3 .sc-link{color:var(--purple)}
  .sol-card.c4 .sc-link{color:var(--blue)}

  /* ============ DISCIPLINES SHOWCASE ============ */
  .disciplines{
    background:linear-gradient(180deg, var(--black) 0%, var(--gray-1) 100%);
    border-top:1px solid var(--line);border-bottom:1px solid var(--line);
    overflow:hidden;position:relative;
  }
  .disc-bg{
    position:absolute;inset:0;pointer-events:none;
    background:
      radial-gradient(circle at 30% 40%, rgba(247,166,0,0.06) 0%, transparent 40%),
      radial-gradient(circle at 70% 60%, rgba(0,158,224,0.05) 0%, transparent 40%);
    z-index:1;
  }
  .disc-content{position:relative;z-index:2}
  .disc-header{text-align:center;max-width:880px;margin:0 auto 80px}
  .disc-header .sec-eyebrow{justify-content:center}
  .disc-header .sec-eyebrow::after{content:"";width:24px;height:1px;background:var(--orange)}
  .disc-header h2{margin-bottom:24px;font-size:clamp(32px,5vw,56px);letter-spacing:-0.03em}
  .disc-header p{font-size:17px;line-height:1.6;color:var(--text-soft);max-width:580px;margin:0 auto}
  .disc-header p b{color:var(--white);font-weight:600}

  .pills-stage{position:relative;max-width:980px;margin:0 auto;padding:32px 0}
  .pills-cloud{
    display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding:32px;
    background:rgba(34,34,34,0.5);
    backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
    border:1px solid var(--line);border-radius:32px;
    box-shadow:0 24px 60px rgba(0,0,0,0.4);
  }
  .pill{
    font-family:'Unbounded',sans-serif;font-weight:600;font-size:13px;
    letter-spacing:-0.005em;padding:11px 20px;border-radius:100px;
    background:rgba(255,255,255,0.04);border:1px solid var(--line);
    color:var(--white);transition:all 0.3s cubic-bezier(0.34,1.56,0.64,1);
    cursor:default;white-space:nowrap;position:relative;
  }
  .pill::before{
    content:"";display:inline-block;width:6px;height:6px;border-radius:50%;
    margin-right:8px;vertical-align:middle;transition:transform 0.3s ease;
  }
  .pill.cat-a::before{background:var(--orange)}
  .pill.cat-b::before{background:var(--green)}
  .pill.cat-c::before{background:var(--purple)}
  .pill.cat-d::before{background:var(--blue)}
  .pill.cat-e::before{background:var(--white)}
  .pill:hover{transform:translateY(-3px) scale(1.04);background:rgba(255,255,255,0.1);border-color:var(--line-strong)}
  .pill.cat-a:hover{border-color:var(--orange);color:var(--orange);box-shadow:0 8px 20px rgba(247,166,0,0.2)}
  .pill.cat-b:hover{border-color:var(--green);color:var(--green);box-shadow:0 8px 20px rgba(174,203,6,0.2)}
  .pill.cat-c:hover{border-color:var(--purple);color:var(--purple);box-shadow:0 8px 20px rgba(186,77,151,0.2)}
  .pill.cat-d:hover{border-color:var(--blue);color:var(--blue);box-shadow:0 8px 20px rgba(0,158,224,0.2)}
  .pill.cat-e:hover{border-color:var(--white);box-shadow:0 8px 20px rgba(255,255,255,0.15)}
  .pill:hover::before{transform:scale(1.5)}

  .pill-legend{
    display:flex;flex-wrap:wrap;justify-content:center;gap:24px;
    margin-top:40px;font-size:12px;color:var(--text-mid);
  }
  .pl-item{display:flex;align-items:center;gap:8px}
  .pl-dot{width:8px;height:8px;border-radius:50%}
  .pl-dot.a{background:var(--orange)}
  .pl-dot.b{background:var(--green)}
  .pl-dot.c{background:var(--purple)}
  .pl-dot.d{background:var(--blue)}
  .pl-dot.e{background:var(--white)}
  .pl-item span{font-weight:500;letter-spacing:0.05em}

  .disc-conclusion{text-align:center;margin-top:64px;max-width:680px;margin-left:auto;margin-right:auto}
  .disc-conclusion .qline{
    font-family:'Unbounded',sans-serif;font-weight:600;font-size:20px;
    line-height:1.3;letter-spacing:-0.02em;margin-bottom:14px;
  }
  .disc-conclusion .qline em{font-style:italic;color:var(--orange);font-weight:400}
  .disc-conclusion p{font-size:15px;color:var(--text-soft)}

  /* ============ STATS BAND ============ */
  .stats-band{padding:80px 0;background:var(--gray-1);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
  .stats-grid{
    display:grid;grid-template-columns:repeat(4,1fr);gap:1px;
    background:var(--line);border:1px solid var(--line);border-radius:24px;overflow:hidden;
  }
  .stat-cell{background:var(--black);padding:36px 28px;text-align:center}
  .stat-cell .num{font-family:'Unbounded',sans-serif;font-weight:800;font-size:56px;line-height:0.9;letter-spacing:-0.04em;margin-bottom:8px}
  .stat-cell:nth-child(1) .num{color:var(--orange)}
  .stat-cell:nth-child(2) .num{color:var(--green)}
  .stat-cell:nth-child(3) .num{color:var(--purple)}
  .stat-cell:nth-child(4) .num{color:var(--blue)}
  .stat-cell .lbl{font-size:11px;font-weight:600;color:var(--text-mid);letter-spacing:0.18em;text-transform:uppercase}
  .stat-cell .desc{font-size:12px;color:var(--text-soft);margin-top:4px}

  /* ============ WHY ============ */
  .why{background:var(--black)}
  .why-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:64px}
  .why-card{
    background:linear-gradient(160deg, var(--gray-1) 0%, var(--black) 100%);
    border:1px solid var(--line);border-radius:24px;padding:48px 40px;
    position:relative;overflow:hidden;transition:transform 0.3s ease, border-color 0.3s ease;
  }
  .why-card:hover{transform:translateY(-4px);border-color:var(--line-strong)}
  .why-card .wc-num{font-family:'Unbounded',sans-serif;font-weight:300;font-size:64px;line-height:0.8;color:var(--orange);margin-bottom:24px;letter-spacing:-0.04em}
  .why-card:nth-child(2) .wc-num{color:var(--green)}
  .why-card:nth-child(3) .wc-num{color:var(--purple)}
  .why-card:nth-child(4) .wc-num{color:var(--blue)}
  .why-card h3{font-size:24px;margin-bottom:14px;letter-spacing:-0.02em;line-height:1.15}
  .why-card p{color:var(--text-soft);font-size:14.5px;line-height:1.6}
  .why-card .wc-tag{
    display:inline-block;font-family:'Unbounded',sans-serif;font-weight:600;font-size:9.5px;
    letter-spacing:0.2em;text-transform:uppercase;margin-top:24px;padding:6px 12px;border-radius:100px;
    background:rgba(247,166,0,0.1);color:var(--orange);border:1px solid rgba(247,166,0,0.3);
  }
  .why-card:nth-child(2) .wc-tag{background:rgba(174,203,6,0.1);color:var(--green);border-color:rgba(174,203,6,0.3)}
  .why-card:nth-child(3) .wc-tag{background:rgba(186,77,151,0.1);color:var(--purple);border-color:rgba(186,77,151,0.3)}
  .why-card:nth-child(4) .wc-tag{background:rgba(0,158,224,0.1);color:var(--blue);border-color:rgba(0,158,224,0.3)}

  /* ============ BLOG ============ */
  .blog{background:var(--black)}
  .blog-header{display:flex;justify-content:space-between;align-items:end;flex-wrap:wrap;gap:24px;margin-bottom:48px}
  .blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
  .blog-card{
    background:var(--gray-1);border:1px solid var(--line);border-radius:18px;
    overflow:hidden;cursor:pointer;transition:transform 0.3s ease, border-color 0.3s ease;
    display:flex;flex-direction:column;
  }
  .blog-card:hover{transform:translateY(-4px);border-color:var(--line-strong)}
  .blog-thumb{aspect-ratio:16/9;background:linear-gradient(135deg, var(--gray-2), var(--gray-3));position:relative;overflow:hidden}
  .blog-thumb::before{
    content:"";position:absolute;inset:0;
    background-image:linear-gradient(rgba(255,255,255,0.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.04) 1px,transparent 1px);
    background-size:24px 24px;
  }
  .blog-thumb-content{
    position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
    color:var(--white);font-family:'Unbounded',sans-serif;font-weight:800;font-size:48px;letter-spacing:-0.04em;opacity:0.9;
  }
  .blog-card.b1 .blog-thumb{background:linear-gradient(135deg, rgba(247,166,0,0.2), var(--gray-2))}
  .blog-card.b1 .blog-thumb-content{color:var(--orange)}
  .blog-card.b2 .blog-thumb{background:linear-gradient(135deg, rgba(174,203,6,0.18), var(--gray-2))}
  .blog-card.b2 .blog-thumb-content{color:var(--green)}
  .blog-card.b3 .blog-thumb{background:linear-gradient(135deg, rgba(186,77,151,0.18), var(--gray-2))}
  .blog-card.b3 .blog-thumb-content{color:var(--purple)}
  .blog-body{padding:24px 26px 26px}
  .blog-meta{display:flex;gap:10px;margin-bottom:14px;font-size:10px;letter-spacing:0.15em;text-transform:uppercase;font-weight:600}
  .blog-tag{padding:3px 10px;border-radius:100px;background:rgba(255,255,255,0.05);border:1px solid var(--line);color:var(--text-soft)}
  .blog-date{color:var(--text-mid);padding:3px 0}
  .blog-card h4{font-size:18px;line-height:1.25;margin-bottom:10px;letter-spacing:-0.015em}
  .blog-card p{font-size:13.5px;color:var(--text-soft);line-height:1.55;margin-bottom:18px}
  .blog-link{font-family:'Unbounded',sans-serif;font-weight:600;font-size:11px;letter-spacing:0.12em;text-transform:uppercase;color:var(--orange);display:inline-flex;align-items:center;gap:8px}
  .blog-card.b2 .blog-link{color:var(--green)}
  .blog-card.b3 .blog-link{color:var(--purple)}

  /* ============ FINAL CTA ============ */
  .final-cta{padding:140px 0;position:relative;overflow:hidden;text-align:center;background:radial-gradient(ellipse at 50% 50%, rgba(247,166,0,0.12) 0%, transparent 60%),var(--black)}
  .fc-inner{position:relative;z-index:2;max-width:780px;margin:0 auto;padding:0 32px}
  .fc-inner h2{font-size:clamp(36px,5.5vw,72px);margin-bottom:24px;letter-spacing:-0.035em}
  .fc-inner h2 em{font-style:normal;color:var(--orange)}
  .fc-inner p{font-size:17px;color:var(--text-soft);margin-bottom:40px;line-height:1.6;max-width:580px;margin-left:auto;margin-right:auto}
  .fc-inner p b{color:var(--white);font-weight:600}
  .fc-meta{margin-top:32px;display:flex;gap:24px;justify-content:center;flex-wrap:wrap;font-size:12px;color:var(--text-mid);font-weight:500}
  .fc-meta .check{color:var(--green);font-weight:700;margin-right:6px}

  /* ============ FOOTER ============ */
  .footer{background:var(--black);border-top:1px solid var(--line);padding:48px 0 24px}
  .footer-top{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:48px;margin-bottom:40px;padding-bottom:40px;border-bottom:1px solid var(--line)}
  .footer-brand .logo{font-size:22px;margin-bottom:14px}
  .footer-brand p{font-size:13px;color:var(--text-soft);line-height:1.55;max-width:280px}
  .footer-col h5{font-family:'Unbounded',sans-serif;font-weight:700;font-size:11px;letter-spacing:0.18em;text-transform:uppercase;color:var(--white);margin-bottom:16px}
  .footer-col ul{list-style:none}
  .footer-col li{margin-bottom:10px}
  .footer-col a, .footer-col span{font-size:13px;color:var(--text-soft);text-decoration:none;cursor:pointer;transition:color 0.2s ease}
  .footer-col a:hover, .footer-col span:hover{color:var(--orange)}
  .footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;font-size:11px;color:var(--text-mid)}
  .footer-bottom a{color:var(--text-mid);text-decoration:none;margin-right:16px;cursor:pointer}
  .footer-bottom a:hover{color:var(--text-soft)}

  /* Mobile Menu */
  .mobile-menu{
    display:none;position:fixed;top:0;right:0;bottom:0;width:min(420px,100%);
    background:rgba(20,20,20,0.97);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);
    z-index:200;padding:80px 32px 32px;transform:translateX(100%);
    transition:transform 0.4s cubic-bezier(0.65,0,0.35,1);border-left:1px solid var(--line);
  }
  .mobile-menu.open{transform:translateX(0)}
  .mobile-menu .close-btn{position:absolute;top:24px;right:24px;background:transparent;border:none;color:var(--white);font-size:24px;cursor:pointer;padding:8px}
  .mobile-menu nav{display:flex;flex-direction:column;gap:8px}
  .mobile-menu a{font-family:'Unbounded',sans-serif;font-weight:700;font-size:24px;color:var(--white);text-decoration:none;padding:16px 0;border-bottom:1px solid var(--line);letter-spacing:-0.02em}
  .mobile-menu .mob-cta{margin-top:32px;width:100%;justify-content:center}

  /* ============ RESPONSIVE ============ */
  @media (max-width:1080px){
    .compare-stage{grid-template-columns:1fr;gap:32px}
    .compare-stage::before{display:none}
    .compare-side{padding:40px 24px;border-radius:20px}
    .compare-side.left{background:rgba(255,255,255,0.02);border:1px solid var(--line)}
    .compare-side.right{background:rgba(247,166,0,0.04);border:1px solid rgba(247,166,0,0.2)}
    .constellation{max-width:440px}
  }
  @media (max-width:980px){
    section{padding:80px 0}
    .system{padding:96px 0 80px}
    .hero{padding:64px 0 48px}
    .manifesto{padding:96px 0}
    .nav{display:none}
    .menu-btn{display:block}
    .top-cta{display:none}
    .manifesto-bullets{grid-template-columns:1fr;gap:24px;padding-top:32px;margin-top:48px}
    .sol-grid{grid-template-columns:1fr;gap:18px}
    .sol-header{grid-template-columns:1fr;gap:24px}
    .sol-card{padding:32px 28px;min-height:auto}
    .sol-card h3{font-size:22px}
    .why-grid{grid-template-columns:1fr;gap:18px}
    .why-card{padding:36px 28px}
    .why-card .wc-num{font-size:48px}
    .stats-grid{grid-template-columns:1fr 1fr}
    .stat-cell .num{font-size:40px}
    .blog-grid{grid-template-columns:1fr;gap:18px}
    .blog-header{flex-direction:column;align-items:start}
    .footer-top{grid-template-columns:1fr 1fr;gap:32px}
    .footer-bottom{flex-direction:column;align-items:start;gap:8px}
    .container,.container-wide{padding:0 20px}
    .topbar-inner{padding:14px 20px}
    .pills-cloud{padding:24px;gap:8px}
    .pill{font-size:11.5px;padding:9px 16px}
    .pill-legend{gap:16px;font-size:11px}
    .ticker-item{font-size:11.5px;gap:32px}
    .disciplines-ticker::before, .disciplines-ticker::after{width:60px}
    .disc-conclusion .qline{font-size:17px}
    .cs-title{font-size:26px}
    .node-label{font-size:9.5px}
    .constellation{max-width:380px}
  }
  @media (max-width:580px){
    .hero h1{font-size:38px;line-height:1.05}
    .sec-title{font-size:30px}
    .manifesto h2{font-size:30px}
    .stat-cell{padding:24px 16px}
    .stat-cell .num{font-size:32px}
    .stat-cell .lbl{font-size:10px}
    .footer-top{grid-template-columns:1fr;gap:24px}
    .blog-thumb-content{font-size:36px}
    .btn{padding:14px 24px;font-size:13px}
    .fc-meta{flex-direction:column;gap:8px}
    .fc-meta div{justify-content:center;display:flex}
    .compare-side{padding:28px 16px}
    .cs-title{font-size:22px}
    .constellation{max-width:300px}
    .node-label{font-size:8.5px;text-shadow:0 1px 3px rgba(0,0,0,0.8)}
    .sys-takeaway{padding:28px 22px}
    .sys-takeaway .qline{font-size:17px}
    .kpi-cockpit b{font-size:7px}
    .kpi-cockpit span{font-size:6px}
    .center-node span{font-size:10px}
  }

/* ============================================
   WP-WIDGET KOMPATIBILITÄT
   ============================================
   Footer-Widget-Areas rendern <ul><li>-Listen.
   Diese Regeln sorgen dafür, dass Standard-WP-Menu-Widgets,
   Custom-HTML-Widgets etc. ohne Anpassung das richtige Aussehen haben.
*/

/* Widget-Headlines im Footer */
.footer-col .widget-title,
.footer-col h2.widgettitle,
.footer-col h3.widgettitle,
.footer-col h4.widgettitle,
.footer-col h5.widgettitle {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.2;
}

/* Listen-Reset im Widget */
.footer-col .widget ul,
.footer-col .widget_nav_menu ul,
.footer-col .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col .widget li,
.footer-col .widget_nav_menu li,
.footer-col .menu li {
    margin-bottom: 10px;
    padding: 0;
    border: 0;
    background: transparent;
}

.footer-col .widget a,
.footer-col .widget_nav_menu a,
.footer-col .menu a {
    font-size: 13px;
    color: var(--text-soft);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.footer-col .widget a:hover,
.footer-col .widget_nav_menu a:hover,
.footer-col .menu a:hover {
    color: var(--orange);
}

/* Brand-Widget */
.footer-brand .widget {
    margin: 0;
}
.footer-brand .widget p {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.55;
    max-width: 280px;
    margin-top: 14px;
}

/* Socket-Walker-Output: trennt Links via Margin (da kein <li>) */
.footer-bottom-right a {
    color: var(--text-mid);
    text-decoration: none;
    margin-left: 16px;
    cursor: pointer;
    transition: color 0.2s ease;
}
.footer-bottom-right a:first-child {
    margin-left: 0;
}
.footer-bottom-right a:hover {
    color: var(--text-soft);
}

/* Die alte .footer-bottom > div > a Regel überschreiben wir nicht —
   die ist im Original-CSS bereits vorhanden und greift. */

/* ============================================
   ENFOLD OVERRIDES — nur für Custom Template
   ============================================ */

/* Enfolds Standard-Header/Footer wird normalerweise gar nicht geladen
   (weil unser Template direkt <html> rendert). Diese Regeln sind
   Belt & Suspenders, falls ein Plugin oder Cache doch etwas einschleust. */
.upon-custom-template #header,
.upon-custom-template #header_main,
.upon-custom-template .title_container,
.upon-custom-template #footer,
.upon-custom-template #socket {
    display: none !important;
}

/* Body-Hintergrund: Enfold setzt eigene Body-Styles via color-body_*. */
body.upon-custom-template {
    background: var(--black) !important;
    color: var(--white);
}

/* Enfold-Container-Wrapper aus dem ALB sollen unseren Hintergrund
   nicht überdecken. */
.upon-main > .container_wrap,
.upon-main .container_wrap {
    background: transparent;
}

/* Enfold-Avia-Sections im Custom-Template:
   nichts erzwingen — der ALB darf seine Sections frei stylen. */

/* Page-Pagination */
.upon-page-links {
    max-width: 1200px;
    margin: 32px auto;
    padding: 0 32px;
    color: var(--text-soft);
    font-size: 14px;
}
.upon-page-links a {
    color: var(--orange);
    text-decoration: none;
    margin: 0 6px;
}

/* Active-State für Topbar-Links */
.nav-link.is-active {
    color: var(--white);
}
.nav-link.is-active::after {
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    background: var(--orange);
    border-radius: 50%;
    margin: 4px auto 0;
}


/* ============================================================
   ENFOLD-KONFLIKT-FIXES (höhere Spezifität via .upon-custom-template)
   ============================================================
   Hintergrund: Enfold belegt Selektoren wie .logo, header a, .topbar
   bereits mit eigenen Styles. Damit unsere Topbar/Footer korrekt
   aussehen, präfixen wir alle kritischen Selektoren mit dem
   Body-Class-Namespace .upon-custom-template.
*/

/* Topbar Layout */
.upon-custom-template .topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(20, 20, 20, 0.78);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line);
    width: 100%;
    height: auto;
    min-height: 0;
}

.upon-custom-template .topbar-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 14px 32px !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    gap: 24px;
    width: 100%;
    position: static;
    height: auto;
}

/* Logo - explizite Farbe und Reset */
.upon-custom-template .topbar .logo,
.upon-custom-template .topbar a.logo,
.upon-custom-template .footer .logo,
.upon-custom-template .footer a.logo {
    font-family: 'Unbounded', sans-serif !important;
    font-weight: 800 !important;
    font-size: 20px !important;
    letter-spacing: -0.02em !important;
    color: var(--white) !important;
    text-decoration: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    width: auto !important;
    line-height: 1 !important;
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    border: 0 !important;
    box-shadow: none !important;
}

.upon-custom-template .topbar .logo:hover,
.upon-custom-template .footer .logo:hover {
    color: var(--white) !important;
    opacity: 0.9;
}

.upon-custom-template .footer .logo {
    font-size: 22px !important;
}

/* Logo-Punkt (orange) */
.upon-custom-template .logo .ldot {
    display: inline-block !important;
    width: 6px !important;
    height: 6px !important;
    background: var(--orange) !important;
    border-radius: 50% !important;
    margin-left: 2px !important;
    vertical-align: baseline !important;
}

/* Navigation-Links - Reset gegen Enfold-Defaults */
.upon-custom-template .topbar .nav {
    display: flex !important;
    align-items: center !important;
    gap: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

.upon-custom-template .topbar .nav a,
.upon-custom-template .topbar .nav-link {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--text-soft) !important;
    text-decoration: none !important;
    background: transparent !important;
    padding: 0 !important;
    border: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
    transition: color 0.2s ease !important;
}

.upon-custom-template .topbar .nav a:hover,
.upon-custom-template .topbar .nav-link:hover {
    color: var(--white) !important;
}

/* Top-CTA Button */
.upon-custom-template .topbar .top-cta,
.upon-custom-template a.top-cta {
    background: var(--orange) !important;
    color: var(--black) !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    padding: 10px 20px !important;
    border: none !important;
    border-radius: 100px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    transition: transform 0.2s ease, background 0.2s ease !important;
}

.upon-custom-template .topbar .top-cta:hover,
.upon-custom-template a.top-cta:hover {
    background: #ffba2c !important;
    color: var(--black) !important;
    transform: translateY(-1px);
}

/* Footer Links - explizit */
.upon-custom-template .footer a,
.upon-custom-template .footer .footer-col a,
.upon-custom-template .footer .widget a {
    color: var(--text-soft);
    text-decoration: none;
}

.upon-custom-template .footer a:hover,
.upon-custom-template .footer .footer-col a:hover,
.upon-custom-template .footer .widget a:hover {
    color: var(--orange);
}

.upon-custom-template .footer-bottom a {
    color: var(--text-mid) !important;
    text-decoration: none !important;
}

.upon-custom-template .footer-bottom a:hover {
    color: var(--text-soft) !important;
}

/* Headings im Footer dürfen nicht von Enfold-h5 überschrieben werden */
.upon-custom-template .footer h5,
.upon-custom-template .footer .widget-title,
.upon-custom-template .footer .widgettitle {
    font-family: 'Unbounded', sans-serif !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: var(--white) !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
    border: 0 !important;
    line-height: 1.2 !important;
}

/* Body Hintergrund explizit */
body.upon-custom-template,
body.upon-custom-template.upon-dark {
    background: var(--black) !important;
    color: var(--white) !important;
    font-family: 'Montserrat', sans-serif !important;
}

/* Enfold setzt teils #wrap_all { padding-top:Xpx } für sticky header — neutralisieren */
.upon-custom-template #wrap_all,
.upon-custom-template #main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}


/* ============================================================
   LOGO-BILD aus Enfold-Theme-Optionen
   ============================================================ */

.upon-custom-template .topbar .logo,
.upon-custom-template .footer .logo {
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.upon-custom-template .upon-logo-img {
    height: 24px !important;
    width: auto !important;
    max-width: 100%;
    display: block !important;
    object-fit: contain;
}

.upon-custom-template .upon-logo-img-header {
    height: 28px !important;
}

.upon-custom-template .upon-logo-img-footer {
    height: 32px !important;
}

/* Falls Enfold via avf_logo zusätzliche Klassen reinpackt — neutralisieren */
.upon-custom-template .topbar .logo img,
.upon-custom-template .footer .logo img {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    max-width: none;
    vertical-align: middle;
}

/* ============================================================
   v1.1 — AUTO-HERO (Single + Archive)
   ============================================================ */

.upon-custom-template .upon-auto-hero {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
    background-color: var(--black);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.upon-custom-template .upon-auto-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    z-index: 1;
}

.upon-custom-template .upon-auto-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
    text-align: center;
    margin: 0 auto;
}

.upon-custom-template .upon-auto-hero h1 {
    font-size: clamp(34px, 5.5vw, 64px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--white);
}

.upon-custom-template .upon-auto-hero .eyebrow {
    margin-bottom: 20px;
}

.upon-custom-template .upon-auto-hero-meta {
    margin-top: 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: var(--text-soft);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.upon-custom-template .upon-auto-hero-meta .upon-meta-sep {
    color: var(--text-mid);
}

.upon-custom-template .upon-archive-desc {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.55;
    color: var(--text-soft);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.upon-custom-template .upon-archive-desc p {
    margin: 0;
}

/* ============================================================
   v1.1 — ARTICLE BODY (Single)
   ============================================================ */

.upon-custom-template .upon-article {
    padding: 80px 0 100px;
    background: var(--black);
}

.upon-custom-template .upon-article-content {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.75;
}

.upon-custom-template .upon-article-content > * {
    margin-bottom: 1.4em;
}

.upon-custom-template .upon-article-content h2,
.upon-custom-template .upon-article-content h3,
.upon-custom-template .upon-article-content h4 {
    color: var(--white);
    font-family: 'Unbounded', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-top: 2em;
    margin-bottom: 0.6em;
}
.upon-custom-template .upon-article-content h2 { font-size: 32px; }
.upon-custom-template .upon-article-content h3 { font-size: 24px; }
.upon-custom-template .upon-article-content h4 { font-size: 20px; }

.upon-custom-template .upon-article-content p {
    color: var(--text-soft);
}

.upon-custom-template .upon-article-content a {
    color: var(--orange);
    text-decoration: none;
    border-bottom: 1px solid rgba(247, 166, 0, 0.35);
    transition: border-color 0.2s ease;
}
.upon-custom-template .upon-article-content a:hover {
    border-bottom-color: var(--orange);
}

.upon-custom-template .upon-article-content blockquote {
    border-left: 3px solid var(--orange);
    padding: 8px 0 8px 24px;
    color: var(--white);
    font-size: 19px;
    font-style: italic;
    line-height: 1.5;
}

.upon-custom-template .upon-article-content ul,
.upon-custom-template .upon-article-content ol {
    padding-left: 24px;
}

.upon-custom-template .upon-article-content img,
.upon-custom-template .upon-article-content figure {
    border-radius: 12px;
    overflow: hidden;
}

.upon-custom-template .upon-article-content code,
.upon-custom-template .upon-article-content pre {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 14px;
}
.upon-custom-template .upon-article-content code {
    padding: 2px 8px;
}
.upon-custom-template .upon-article-content pre {
    padding: 20px;
    overflow-x: auto;
}

.upon-custom-template .upon-article-tags {
    max-width: 760px;
    margin: 48px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}
.upon-custom-template .upon-tag-pill {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    padding: 6px 12px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.upon-custom-template .upon-tag-pill:hover {
    color: var(--orange);
    border-color: var(--orange);
}

.upon-custom-template .upon-article-comments {
    max-width: 760px;
    margin: 64px auto 0;
    padding-top: 48px;
    border-top: 1px solid var(--line);
}

/* ============================================================
   v1.1 — ARCHIVE GRID (Loop)
   ============================================================ */

.upon-custom-template .upon-archive-list {
    padding: 80px 0 120px;
    background: var(--black);
}

.upon-custom-template .upon-archive-grid {
    grid-template-columns: repeat(3, 1fr);
}

.upon-custom-template .upon-archive-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

/* Sicherstellen dass alle Cards im Grid die gleiche Höhe haben */
.upon-custom-template .upon-archive-grid .blog-card {
    height: 100%;
}
.upon-custom-template .upon-archive-grid .blog-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.upon-custom-template .upon-archive-grid .blog-link {
    margin-top: auto;
}

@media (max-width: 980px) {
    .upon-custom-template .upon-archive-grid {
        grid-template-columns: 1fr;
    }
}

.upon-custom-template .upon-archive-pagination {
    margin-top: 64px;
    display: flex;
    justify-content: center;
}
.upon-custom-template .upon-archive-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.upon-custom-template .upon-archive-pagination a,
.upon-custom-template .upon-archive-pagination .page-numbers {
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-soft);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    padding: 10px 16px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 42px;
    text-align: center;
}
.upon-custom-template .upon-archive-pagination a:hover,
.upon-custom-template .upon-archive-pagination .page-numbers:hover {
    color: var(--orange);
    border-color: var(--orange);
}
.upon-custom-template .upon-archive-pagination .page-numbers.current {
    background: var(--orange);
    color: var(--black);
    border-color: var(--orange);
}

.upon-custom-template .upon-archive-empty {
    text-align: center;
    padding: 80px 0;
    color: var(--text-soft);
    font-size: 17px;
}

/* ============================================================
   v1.1 — Mobile-Anpassungen
   ============================================================ */

@media (max-width: 580px) {
    .upon-custom-template .upon-auto-hero {
        padding: 80px 0 56px;
    }
    .upon-custom-template .upon-auto-hero h1 {
        font-size: 32px !important;
    }
    .upon-custom-template .upon-article {
        padding: 56px 0 80px;
    }
    .upon-custom-template .upon-archive-list {
        padding: 56px 0 80px;
    }
}

/* ============================================================
   v1.1.1 — LAYOUT-FIXES nach Live-Test
   ============================================================ */

/* ---------- TOPBAR-FIXES ---------- */
/* Topbar-Inner: erzwinge symmetrisches Flex-Layout */
.upon-custom-template .topbar-inner {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 14px 32px !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    gap: 24px !important;
    position: relative;
}

/* Logo — links bleiben, nicht stauchen */
.upon-custom-template .topbar .logo {
    flex-shrink: 0 !important;
    margin-right: auto;
}

/* Nav — mittig, mit margin auto an beiden Seiten kollabiert */
.upon-custom-template .topbar .nav {
    flex-shrink: 0;
    margin-left: 0;
    margin-right: auto;
}

/* CTA — rechts bleiben */
.upon-custom-template .topbar .top-cta {
    flex-shrink: 0 !important;
    margin-left: auto;
}

/* Menu-Btn (mobile) ganz rechts */
.upon-custom-template .topbar .menu-btn {
    flex-shrink: 0;
}

/* Mobile-Anpassung: Logo links, Menu-Btn rechts, CTA wird ausgeblendet */
@media (max-width: 980px) {
    .upon-custom-template .topbar-inner {
        padding: 14px 20px !important;
    }
    .upon-custom-template .topbar .nav {
        display: none !important;
    }
    .upon-custom-template .topbar .top-cta {
        display: none !important;
    }
    .upon-custom-template .topbar .menu-btn {
        display: block !important;
        margin-left: auto !important;
    }
}

/* ---------- COMPARE-STAGE FIX (System-Section) ---------- */
/* Avia/ALB packt Textblock-Inhalte in zusätzliche Wrapper, die
   das Grid stören. Mit höherer Spezifität neu durchsetzen. */

.upon-custom-template .system .compare-stage,
.upon-custom-template .compare-stage {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    position: relative !important;
    width: 100% !important;
    align-items: stretch !important;
}

.upon-custom-template .compare-stage::before {
    content: "" !important;
    position: absolute !important;
    top: 5% !important;
    bottom: 5% !important;
    left: 50% !important;
    width: 1px !important;
    background: linear-gradient(180deg, transparent, rgba(247, 166, 0, 0.4), transparent) !important;
    z-index: 3 !important;
}

.upon-custom-template .compare-side {
    padding: 48px 40px !important;
    position: relative !important;
    width: auto !important;
    max-width: none !important;
    text-align: left !important;
}

.upon-custom-template .compare-side.left {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.015) 0%, transparent 100%) !important;
}

.upon-custom-template .compare-side.right {
    background: linear-gradient(225deg, rgba(247, 166, 0, 0.04) 0%, transparent 60%) !important;
}

/* Mobile: Stack untereinander */
@media (max-width: 1080px) {
    .upon-custom-template .system .compare-stage,
    .upon-custom-template .compare-stage {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .upon-custom-template .compare-stage::before {
        display: none !important;
    }
    .upon-custom-template .compare-side {
        padding: 40px 24px !important;
        border-radius: 20px !important;
    }
    .upon-custom-template .compare-side.left {
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid var(--line) !important;
    }
    .upon-custom-template .compare-side.right {
        background: rgba(247, 166, 0, 0.04) !important;
        border: 1px solid rgba(247, 166, 0, 0.2) !important;
    }
}

@media (max-width: 580px) {
    .upon-custom-template .compare-side {
        padding: 28px 16px !important;
    }
}

/* ---------- ALB/TEXTBLOCK CONTAINER-RESET ---------- */
/* Wenn der HTML-Inhalt im Texteditor steht, wickelt Enfold das
   in .avia_textblock — text-align und max-width müssen raus für
   Grid-Layouts. */

.upon-custom-template .avia_textblock,
.upon-custom-template .avia_textblock_section {
    text-align: inherit;
    max-width: none;
    width: 100%;
}

/* Sections im UPON-Template: ALB-Container-Styles neutralisieren */
.upon-custom-template .upon-main .container_wrap,
.upon-custom-template .upon-main .av-content-full,
.upon-custom-template .upon-main .template-page,
.upon-custom-template .upon-main .entry-content-wrapper {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

/* Falls Enfold .post-entry oder .entry-content zusätzlich wrappt */
.upon-custom-template .post-entry,
.upon-custom-template .entry-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

/* ---------- GENERELLE MOBILE/TABLET-VERBESSERUNGEN ---------- */

/* Tablet (980-1080px): einige Bereiche brauchen mehr Atem */
@media (max-width: 1080px) and (min-width: 981px) {
    .upon-custom-template section {
        padding: 100px 0 !important;
    }
    .upon-custom-template .container,
    .upon-custom-template .container-wide {
        padding: 0 28px !important;
    }
}

/* Mobile (≤768px): Sektions-Spacing reduzieren */
@media (max-width: 768px) {
    .upon-custom-template section {
        padding: 64px 0 !important;
    }
    .upon-custom-template .hero {
        padding: 56px 0 40px !important;
    }
    .upon-custom-template .manifesto {
        padding: 80px 0 !important;
    }
    .upon-custom-template .system {
        padding: 80px 0 !important;
    }
    .upon-custom-template .container,
    .upon-custom-template .container-wide {
        padding: 0 20px !important;
    }
    /* Hero-Title sauber umbrechen */
    .upon-custom-template .hero h1 {
        font-size: clamp(32px, 8vw, 44px) !important;
        line-height: 1.05 !important;
    }
    .upon-custom-template .sec-title {
        font-size: clamp(26px, 6vw, 36px) !important;
    }
    .upon-custom-template .manifesto h2 {
        font-size: clamp(26px, 6vw, 38px) !important;
    }
    .upon-custom-template .sys-header h2 {
        font-size: clamp(26px, 6vw, 38px) !important;
    }
    /* Buttons im Hero stacken */
    .upon-custom-template .cta-row {
        flex-direction: column;
        align-items: stretch;
    }
    .upon-custom-template .cta-row .btn {
        justify-content: center;
        width: 100%;
    }
    /* Stats-Grid: 2 Spalten */
    .upon-custom-template .stats-grid {
        grid-template-columns: 1fr 1fr !important;
    }
    /* Solutions: 1 Spalte */
    .upon-custom-template .sol-grid {
        grid-template-columns: 1fr !important;
    }
    /* Why-Cards: 1 Spalte */
    .upon-custom-template .why-grid {
        grid-template-columns: 1fr !important;
    }
    /* Blog: 1 Spalte */
    .upon-custom-template .blog-grid {
        grid-template-columns: 1fr !important;
    }
    /* Manifesto-Bullets: stacken */
    .upon-custom-template .manifesto-bullets {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    /* Footer: 1 Spalte */
    .upon-custom-template .footer-top {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    .upon-custom-template .footer-bottom {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }
    .upon-custom-template .footer-bottom-right a:first-child {
        margin-left: 0;
    }
    /* Constellation kleiner */
    .upon-custom-template .constellation {
        max-width: 320px !important;
    }
    .upon-custom-template .node-label {
        font-size: 9px !important;
    }
    /* Pills-Cloud kompakter */
    .upon-custom-template .pills-cloud {
        padding: 20px !important;
        gap: 6px !important;
    }
    .upon-custom-template .pill {
        font-size: 11px !important;
        padding: 8px 14px !important;
    }
    /* Final-CTA: padding reduzieren */
    .upon-custom-template .final-cta {
        padding: 80px 0 !important;
    }
    .upon-custom-template .fc-inner h2 {
        font-size: clamp(28px, 7vw, 44px) !important;
    }
    .upon-custom-template .fc-meta {
        flex-direction: column;
        gap: 8px;
    }
}

/* Sehr kleine Phones */
@media (max-width: 380px) {
    .upon-custom-template .stats-grid {
        grid-template-columns: 1fr !important;
    }
    .upon-custom-template .hero h1 {
        font-size: 30px !important;
    }
    .upon-custom-template .constellation {
        max-width: 260px !important;
    }
}

/* ---------- HORIZONTAL-OVERFLOW-VERHINDERUNG ---------- */
/* Wichtig auf Mobile: keine horizontalen Scrollbars */
body.upon-custom-template {
    overflow-x: hidden !important;
}
.upon-custom-template .upon-main,
.upon-custom-template section,
.upon-custom-template .footer {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Aber Topbar-Sticky soll nicht overflow-cropped werden */
.upon-custom-template .topbar {
    overflow: visible !important;
}

/* ============================================================
   v1.1.2 — TOPBAR-MENÜ ZENTRIERUNG (Desktop)
   ============================================================
   Statt flex space-between mit margin-auto-Tricks (instabil bei
   ungleichen Logo/CTA-Breiten) jetzt 3-Spalten-Grid:
   Spalte 1 = Logo (links), Spalte 2 = Menü (mittig), Spalte 3 = CTA (rechts).
   Dadurch ist das Menü exakt auf 50% der Topbar-Breite zentriert.
*/

@media (min-width: 981px) {
    .upon-custom-template .topbar-inner {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center !important;
        gap: 24px !important;
        padding: 14px 32px !important;
        max-width: 1440px !important;
        margin: 0 auto !important;
        position: relative !important;
    }

    /* Logo: linke Spalte */
    .upon-custom-template .topbar .logo {
        justify-self: start !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    /* Nav: mittlere Spalte, perfekt zentriert */
    .upon-custom-template .topbar .nav {
        justify-self: center !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 32px !important;
    }

    /* CTA: rechte Spalte */
    .upon-custom-template .topbar .top-cta {
        justify-self: end !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    /* Menu-Btn (Burger) auf Desktop ausblenden */
    .upon-custom-template .topbar .menu-btn {
        display: none !important;
    }
}

/* Mobile bleibt wie zuvor: Flex mit Logo links, Burger rechts */
@media (max-width: 980px) {
    .upon-custom-template .topbar-inner {
        display: flex !important;
        grid-template-columns: none !important;
        justify-content: space-between !important;
    }
}

/* ============================================================
   v1.1.3 — COMPARE-STAGE GRID HARTNÄCKIG ERZWINGEN
   ============================================================
   Das Grid bricht trotz !important um. Ursachen können sein:
   a) ein zu schmaler Wrapper (max-width)
   b) ein Wrapper mit display:flex flex-direction:column
   c) Avia wickelt jeden div einzeln
   
   Lösung: Box-Sizing reset, width:100% explizit, alle möglichen
   Wrapper-Hierarchien neutralisieren, Grid mit minmax() statt 1fr.
*/

/* Section selbst Full-Width sicherstellen */
.upon-custom-template section.system,
.upon-custom-template .system {
    width: 100% !important;
    max-width: 100% !important;
    padding: 140px 0 120px !important;
    box-sizing: border-box !important;
}

/* Container-Wide muss die volle Breite haben */
.upon-custom-template .system .container-wide {
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 0 32px !important;
    box-sizing: border-box !important;
}

/* Der Compare-Stage selbst — Grid mit minmax-Schutz */
.upon-custom-template .system .compare-stage {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-auto-rows: auto !important;
    grid-auto-flow: column !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    position: relative !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
}

/* Beide Compare-Sides explizit als Grid-Children adressieren */
.upon-custom-template .system .compare-stage > .compare-side,
.upon-custom-template .system .compare-stage > div.compare-side {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
    grid-column: auto !important;
    grid-row: auto !important;
    flex: none !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
}

/* Spezielle Adressierung der linken vs rechten Spalte */
.upon-custom-template .system .compare-stage > .compare-side.left,
.upon-custom-template .system .compare-stage > .left-side {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 2 !important;
}

.upon-custom-template .system .compare-stage > .compare-side.right,
.upon-custom-template .system .compare-stage > .right-side {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
}

/* Falls Avia jeden Inhaltsblock in einen <div class="avia_textblock">
   wickelt und dadurch zwei .compare-side-Geschwister NICHT mehr direkte
   Kinder von .compare-stage sind, hier eine Notlösung: 
   Wir wickeln das Layout per CSS auf das richtige Verhalten um. */
.upon-custom-template .system .compare-stage .avia_textblock {
    display: contents !important;
}

/* Fallback wenn Grid trotz allem nicht greift: Flexbox als Plan B */
@supports not (display: grid) {
    .upon-custom-template .system .compare-stage {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    .upon-custom-template .system .compare-side {
        flex: 1 1 50% !important;
    }
}

/* Bei Tablet/Mobile wieder stacken — explizit überschreiben */
@media (max-width: 1080px) {
    .upon-custom-template .system .compare-stage {
        grid-template-columns: 1fr !important;
        grid-auto-flow: row !important;
        gap: 32px !important;
    }
    .upon-custom-template .system .compare-stage > .compare-side.left,
    .upon-custom-template .system .compare-stage > .left-side {
        grid-column: 1 / 2 !important;
        grid-row: 1 / 2 !important;
    }
    .upon-custom-template .system .compare-stage > .compare-side.right,
    .upon-custom-template .system .compare-stage > .right-side {
        grid-column: 1 / 2 !important;
        grid-row: 2 / 3 !important;
    }
}

/* ============================================================
   v1.1.4 — SECTION-ÜBERGÄNGE & TRENNLINIEN-FIX
   ============================================================
   Problem: Avia-Wrapper verschlucken Section-Padding-Top/Bottom,
   wodurch Sections zu eng aneinanderkleben und Border-Lines
   wie doppelte Trenner wirken.
   
   Lösung: Section-Padding pro Section explizit erzwingen
   und die Wrapper-Margins neutralisieren.
*/

/* Globaler Section-Standard erzwingen */
.upon-custom-template .upon-main > section,
.upon-custom-template section.hero,
.upon-custom-template section.manifesto,
.upon-custom-template section.system,
.upon-custom-template section.solutions,
.upon-custom-template section.disciplines,
.upon-custom-template section.stats-band,
.upon-custom-template section.why,
.upon-custom-template section.blog,
.upon-custom-template section.final-cta {
    margin: 0 !important;
    box-sizing: border-box;
}

/* Sections mit normalem Padding (120px top/bottom) */
.upon-custom-template section.solutions,
.upon-custom-template section.why,
.upon-custom-template section.blog {
    padding-top: 120px !important;
    padding-bottom: 120px !important;
}

/* Sections mit größerem Padding (140px) */
.upon-custom-template section.manifesto {
    padding-top: 140px !important;
    padding-bottom: 140px !important;
}

.upon-custom-template section.system {
    padding-top: 140px !important;
    padding-bottom: 120px !important;
}

.upon-custom-template section.final-cta {
    padding-top: 140px !important;
    padding-bottom: 140px !important;
}

/* Disciplines — wichtige Border-Top und ausreichendes Top-Padding */
.upon-custom-template section.disciplines {
    padding-top: 120px !important;
    padding-bottom: 120px !important;
    border-top: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line) !important;
    background: linear-gradient(180deg, var(--black) 0%, var(--gray-1) 100%) !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Stats-Band — eigene Padding-Werte */
.upon-custom-template section.stats-band {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
    border-top: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line) !important;
    background: var(--gray-1) !important;
}

/* Hero spezifisch */
.upon-custom-template section.hero {
    padding-top: 96px !important;
    padding-bottom: 72px !important;
}

/* Wichtiger Reset: Avia-Section-Wrapper sollen kein zusätzliches
   Padding/Margin auf unsere semantischen <section>-Tags drücken */
.upon-custom-template .upon-main .avia_textblock,
.upon-custom-template .upon-main .avia_textblock_section {
    padding: 0 !important;
    margin: 0 !important;
}

/* Mobile/Tablet: Section-Padding skalieren — präziser als pauschal */
@media (max-width: 1080px) {
    .upon-custom-template section.solutions,
    .upon-custom-template section.why,
    .upon-custom-template section.blog,
    .upon-custom-template section.disciplines {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }
    .upon-custom-template section.manifesto,
    .upon-custom-template section.system,
    .upon-custom-template section.final-cta {
        padding-top: 110px !important;
        padding-bottom: 100px !important;
    }
}

@media (max-width: 768px) {
    .upon-custom-template section.solutions,
    .upon-custom-template section.why,
    .upon-custom-template section.blog,
    .upon-custom-template section.disciplines {
        padding-top: 72px !important;
        padding-bottom: 72px !important;
    }
    .upon-custom-template section.manifesto,
    .upon-custom-template section.system,
    .upon-custom-template section.final-cta {
        padding-top: 80px !important;
        padding-bottom: 72px !important;
    }
    .upon-custom-template section.hero {
        padding-top: 56px !important;
        padding-bottom: 40px !important;
    }
    .upon-custom-template section.stats-band {
        padding-top: 56px !important;
        padding-bottom: 56px !important;
    }
}

/* ---------- TRENNLINIEN ZWISCHEN SECTIONS ----------
   Stelle sicher, dass keine doppelten Linien entstehen
   (z.B. wenn Solutions border-bottom hätte und Disciplines border-top).
*/

/* Solutions-Section soll KEINE eigene Bottom-Border haben */
.upon-custom-template section.solutions {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* Why-Section: keine Borders */
.upon-custom-template section.why,
.upon-custom-template section.blog {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* Hero & Manifesto: nur die designtechnisch gewollten */
.upon-custom-template section.hero {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.upon-custom-template section.manifesto {
    border-top: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line) !important;
    background: var(--gray-1) !important;
}

/* System: keine Borders, nur Background */
.upon-custom-template section.system {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* Final-CTA: keine Borders */
.upon-custom-template section.final-cta {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* ============================================================
   v1.1.5 — PILLS-CLOUD HARTNÄCKIG ALS FLEXBOX
   ============================================================
   Falls wpautop in Avia-Code-Block trotzdem Pseudo-<p> einfügt,
   erzwingen wir Flex-Wrap und Inline-Display der Pills.
*/

.upon-custom-template .disciplines .pills-cloud,
.upon-custom-template .pills-cloud {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 32px !important;
    background: rgba(34, 34, 34, 0.5) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid var(--line) !important;
    border-radius: 32px !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4) !important;
}

/* Pills selbst — Inline-Block verhalten */
.upon-custom-template .disciplines .pill,
.upon-custom-template .pill {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
}

/* WordPress wpautop fügt manchmal <br> oder leere <p> ein —
   die müssen im Pills-Container unsichtbar sein */
.upon-custom-template .pills-cloud > br,
.upon-custom-template .pills-cloud > p:empty {
    display: none !important;
}

/* Falls wpautop einen <p>-Wrapper um Pills macht: ihn als Flex-Container behandeln */
.upon-custom-template .pills-cloud > p {
    display: contents !important;
}

/* Pill-Legend ebenfalls als Flex sicherstellen */
.upon-custom-template .pill-legend {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 24px !important;
    margin-top: 40px !important;
}

.upon-custom-template .pill-legend > br {
    display: none !important;
}

/* ============================================================
   v1.1.6 — KPI-COCKPIT POSITIONIERUNG (Variante A: mehr Atemraum)
   ============================================================
   Problem: KPI-Cockpit überlappt mit oberem Node (node-r1) und den
   benachbarten Nodes (node-r2, node-r3), weil Constellation in
   manchen Containerbreiten gestaucht wird.
   
   Fix:
   - KPI-Cockpit ein bisschen kleiner (12% statt 14%)
   - KPI-Cockpit deutlich höher (top -2%, ragt leicht über Container)
   - Float-Animation reduziert (4px statt 6px Bewegung)
   - Obere Node-Reihe leicht nach unten (28% → 30%)
   - Min-Height der Constellation absichern
*/

.upon-custom-template .right-side .constellation,
.upon-custom-template .compare-side.right .constellation {
    min-height: 380px !important;
    aspect-ratio: 1 / 1 !important;
}

.upon-custom-template .kpi-cockpit {
    width: 12% !important;
    top: -2% !important;
    z-index: 12 !important;
}

/* Float-Animation: weniger Bewegung, damit Überlappung mit Nodes
   bei der untersten Position der Animation nicht entsteht */
@keyframes uponKpiFloat {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, -4px); }
}

.upon-custom-template .kpi-cockpit {
    animation: uponKpiFloat 3s ease-in-out infinite !important;
}

/* Obere Node-Reihe etwas weiter nach unten, damit KPI klar darüber thront */
.upon-custom-template .right-side .node-r1 {
    top: 30% !important;
}
.upon-custom-template .right-side .node-r2 {
    top: 32% !important;
}
.upon-custom-template .right-side .node-r3 {
    top: 32% !important;
}

/* Auch die SVG-Linien anpassen, damit sie zu den neuen Positionen passen.
   Die Linien sind in der HTML als <line> mit y-Werten — die ändern wir
   nicht im CSS. Stattdessen verschiebt das CSS die Nodes leicht, der
   visuelle Effekt bleibt aber stimmig. */

/* Mobile: Constellation-Min-Height anpassen */
@media (max-width: 768px) {
    .upon-custom-template .right-side .constellation,
    .upon-custom-template .compare-side.right .constellation {
        min-height: 280px !important;
    }
    .upon-custom-template .kpi-cockpit {
        width: 14% !important;
        top: 0% !important;
    }
}

/* ============================================================
   v1.1.7 — UNBOUNDED-FONT HARTNÄCKIG ERZWINGEN
   ============================================================
   Falls Enfolds dynamische CSS (avia-dynamic) die font-family
   für Headings überschreibt, hier mit !important auf alle
   relevanten Selektoren setzen.
   
   Wichtig: Diese Regeln wirken NUR im UPON-Custom-Template,
   damit Enfold-Standard-Pages weiter mit den Theme-Optionen-
   Schriften arbeiten können.
*/

.upon-custom-template h1,
.upon-custom-template h2,
.upon-custom-template h3,
.upon-custom-template h4,
.upon-custom-template .display,
.upon-custom-template .logo,
.upon-custom-template .eyebrow,
.upon-custom-template .sec-eyebrow,
.upon-custom-template .manifesto-tag,
.upon-custom-template .ticker-item,
.upon-custom-template .cs-tag,
.upon-custom-template .cs-title,
.upon-custom-template .pill,
.upon-custom-template .node-label,
.upon-custom-template .center-node span,
.upon-custom-template .kpi-cockpit b,
.upon-custom-template .sol-card .sc-num,
.upon-custom-template .sol-card .sc-icon,
.upon-custom-template .sol-card .sc-link,
.upon-custom-template .why-card .wc-num,
.upon-custom-template .why-card .wc-tag,
.upon-custom-template .stat-cell .num,
.upon-custom-template .blog-meta,
.upon-custom-template .blog-link,
.upon-custom-template .footer-col h5,
.upon-custom-template .footer .widget-title,
.upon-custom-template .disc-conclusion .qline,
.upon-custom-template .sys-takeaway .qline {
    font-family: 'Unbounded', 'Montserrat', system-ui, -apple-system, sans-serif !important;
}

/* Body-Schrift: Montserrat (kommt von Google Fonts oder lokal über Enfold) */
.upon-custom-template,
.upon-custom-template body,
.upon-custom-template p,
.upon-custom-template li,
.upon-custom-template span:not(.ldot):not(.dot):not(.arrow):not(.check),
.upon-custom-template div,
.upon-custom-template a {
    font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
}

/* Aber innerhalb der Headlines/etc. greift Unbounded weiter über
   die Spezifität der Header-Regeln oben */

/* ============================================================
   v1.1.8 — BLOG-TAG PILL-SHAPE ERZWINGEN
   ============================================================
   Problem: Enfold-Standard-CSS überschreibt .blog-tag mit
   eigenen Werten (width, min-width, aspect-ratio o.ä.), wodurch
   die Tags als runde Kreise gerendert werden statt als flache Pills.
   
   Fix: Mit höherer Spezifität (.upon-custom-template-Präfix +
   !important) die Pill-Shape erzwingen.
*/

.upon-custom-template .blog-card .blog-tag,
.upon-custom-template .blog-meta .blog-tag {
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    aspect-ratio: auto !important;
    padding: 3px 10px !important;
    border-radius: 100px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--line) !important;
    color: var(--text-soft) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
}

/* Blog-Date ebenfalls stabil halten */
.upon-custom-template .blog-card .blog-date,
.upon-custom-template .blog-meta .blog-date {
    display: inline-flex !important;
    align-items: center !important;
    padding: 3px 0 !important;
    color: var(--text-mid) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    line-height: 1.5 !important;
    background: transparent !important;
    border: 0 !important;
    width: auto !important;
}

/* Blog-Meta-Container: Flexbox für saubere Anordnung */
.upon-custom-template .blog-card .blog-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
}

/* ============================================================
   v1.1.9 — HERO-ABSTÄNDE OPTIMIEREN
   ============================================================
   Beobachtung: Zwischen Eyebrow und H1 entstehen ca. 180px
   Leerraum, statt der 24px aus dem Original. Ursachen:
   a) WordPress/wpautop fügt leere <p>-Tags zwischen Elementen ein
   b) Avia-Wrapper bringen zusätzliches Margin
   c) Hero-Padding-Top ist subjektiv zu groß auf Desktop
*/

/* Hero-Section schlanker oben */
.upon-custom-template section.hero {
    padding-top: 80px !important;
    padding-bottom: 64px !important;
}

/* Eyebrow: kleiner Abstand nach unten zur H1 */
.upon-custom-template .hero .eyebrow {
    margin-bottom: 24px !important;
    margin-top: 0 !important;
}

/* H1 selbst: kein Top-Margin, nur kontrolliertes Bottom */
.upon-custom-template .hero h1 {
    margin-top: 0 !important;
    margin-bottom: 28px !important;
}

/* Hero-Lead unter H1 */
.upon-custom-template .hero-lead {
    margin-top: 0 !important;
    margin-bottom: 36px !important;
}

/* CTA-Row unter Lead */
.upon-custom-template .hero .cta-row {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Hero-Inner: kein versehentliches Padding */
.upon-custom-template .hero .hero-inner {
    padding: 0 !important;
}

/* WordPress-wpautop-Schutz: leere <p>-Tags zwischen Hero-Elementen
   ausblenden (falls trotz wpautop-Disable doch welche entstehen) */
.upon-custom-template .hero .hero-inner > p:empty,
.upon-custom-template .hero .hero-inner > br {
    display: none !important;
}

/* Falls ein <p>-Wrapper um den Eyebrow oder H1 entsteht: 
   margin/padding neutralisieren */
.upon-custom-template .hero .hero-inner > p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Mobile: weniger Padding-Top */
@media (max-width: 768px) {
    .upon-custom-template section.hero {
        padding-top: 48px !important;
        padding-bottom: 40px !important;
    }
    .upon-custom-template .hero .eyebrow {
        margin-bottom: 18px !important;
    }
    .upon-custom-template .hero h1 {
        margin-bottom: 20px !important;
    }
    .upon-custom-template .hero-lead {
        margin-bottom: 28px !important;
    }
}

/* ============================================================
   v1.1.10 — SOLUTIONS-HEADER KOMPAKTER & H2-GRÖSSE FIXEN
   ============================================================
   Probleme im Screenshot:
   1. H2 zu groß (Enfold-Theme-Options überschreiben unsere sec-title)
   2. sol-header Grid greift nicht → linke Spalte zu schmal, H2 bricht
   3. Margin-bottom zwischen Header und Cards zu groß
*/

/* sol-header explizit als 2-Spalten-Grid erzwingen */
.upon-custom-template .solutions .sol-header,
.upon-custom-template .sol-header {
    display: grid !important;
    grid-template-columns: 1.4fr 1fr !important;
    gap: 48px !important;
    align-items: end !important;
    margin-bottom: 56px !important;
    width: 100% !important;
    max-width: none !important;
}

/* H2 (sec-title) — Größe explizit setzen, sonst überschreibt Enfold */
.upon-custom-template .solutions .sec-title,
.upon-custom-template section.solutions h2,
.upon-custom-template .sol-header .sec-title,
.upon-custom-template .sol-header h2 {
    font-size: clamp(30px, 4.4vw, 56px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    margin: 0 !important;
    font-family: 'Unbounded', sans-serif !important;
    font-weight: 800 !important;
}

/* Sec-Eyebrow drüber — kompakt halten */
.upon-custom-template .solutions .sec-eyebrow {
    margin-bottom: 16px !important;
    margin-top: 0 !important;
}

/* Sec-Lead rechts — Text-Größe stabil */
.upon-custom-template .sol-header .sec-lead,
.upon-custom-template .solutions .sec-lead {
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    max-width: 380px !important;
}

/* Generell .sec-title in allen Sections vor Enfold schützen */
.upon-custom-template .sec-title {
    font-size: clamp(30px, 4.4vw, 56px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    font-family: 'Unbounded', sans-serif !important;
    font-weight: 800 !important;
    margin: 0 0 24px 0 !important;
}

/* Wenn zwei direkte Kinder im sol-header sind (Headline-Block + Lead-Block) */
.upon-custom-template .sol-header > div {
    margin: 0 !important;
}

/* Falls Avia einen <p>-Wrapper um Eyebrow+H2 macht: als Block-Container */
.upon-custom-template .sol-header > div > p {
    margin: 0 !important;
}

/* Avia-Wrapper im Header neutralisieren */
.upon-custom-template .sol-header .avia_textblock {
    margin: 0 !important;
    padding: 0 !important;
}

/* Mobile: Header stackt untereinander, kompakter */
@media (max-width: 980px) {
    .upon-custom-template .solutions .sol-header,
    .upon-custom-template .sol-header {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        margin-bottom: 40px !important;
        align-items: start !important;
    }
    .upon-custom-template .sol-header .sec-lead {
        max-width: none !important;
    }
}

/* Section-Padding der Solutions auch etwas reduzieren */
.upon-custom-template section.solutions {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
}

@media (max-width: 768px) {
    .upon-custom-template section.solutions {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }
}

/* ============================================================
   v1.1.10b — GLOBALE HEADLINE-GRÖßEN AUF ORIGINAL-NIVEAU
   ============================================================
   Enfold's dynamic_avia überschreibt h1/h2/h3 mit Theme-Options-
   Größen. Wir setzen die Original-Werte explizit zurück.
*/

/* Hero H1 */
.upon-custom-template .hero h1 {
    font-size: clamp(36px, 6vw, 80px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.035em !important;
    font-family: 'Unbounded', sans-serif !important;
    font-weight: 800 !important;
}

/* Manifesto H2 */
.upon-custom-template .manifesto h2 {
    font-size: clamp(30px, 4.8vw, 58px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 32px !important;
}

/* System H2 (sys-header) */
.upon-custom-template .sys-header h2 {
    font-size: clamp(30px, 4.8vw, 60px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.035em !important;
    margin-bottom: 24px !important;
}

/* Disciplines H2 */
.upon-custom-template .disc-header h2 {
    font-size: clamp(30px, 4.4vw, 52px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.03em !important;
    margin-bottom: 24px !important;
}

/* Why H2 (.sec-title in why-Section) */
.upon-custom-template .why .sec-title,
.upon-custom-template section.why h2 {
    font-size: clamp(30px, 4.4vw, 56px) !important;
    line-height: 1.05 !important;
}

/* Blog H2 */
.upon-custom-template .blog .sec-title,
.upon-custom-template section.blog h2 {
    font-size: clamp(30px, 4.4vw, 56px) !important;
    line-height: 1.05 !important;
}

/* Final-CTA H2 */
.upon-custom-template .final-cta h2,
.upon-custom-template .fc-inner h2 {
    font-size: clamp(34px, 5vw, 64px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.035em !important;
    margin-bottom: 24px !important;
}

/* Sol-Card H3 (Performance-Websites etc.) */
.upon-custom-template .sol-card h3 {
    font-size: 24px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
}

/* Why-Card H3 */
.upon-custom-template .why-card h3 {
    font-size: 22px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
}

/* Blog-Card H4 */
.upon-custom-template .blog-card h4 {
    font-size: 17px !important;
    line-height: 1.3 !important;
    letter-spacing: -0.015em !important;
    font-family: 'Unbounded', sans-serif !important;
    font-weight: 800 !important;
}

/* Compare-Side H3 */
.upon-custom-template .compare-side .cs-title {
    font-size: 30px !important;
    line-height: 1 !important;
    letter-spacing: -0.025em !important;
    font-family: 'Unbounded', sans-serif !important;
    font-weight: 800 !important;
}

/* ============================================================
   v1.1.11 — SECTION-ABSTÄNDE KOMPAKTER
   ============================================================
   Beobachtung: Pro Section-Übergang stapeln sich padding-bottom
   der vorherigen + padding-top der nächsten Section. Bei 100/100
   sind das 200px+ Leerraum — zu großzügig auf Desktop.
   
   Strategie: Padding so ausgleichen, dass der visuelle Übergang
   ca. 120-140px Atemraum hat (statt 240px).
*/

/* Desktop (>1080px): kompaktere Sections */
@media (min-width: 1081px) {
    .upon-custom-template section.hero {
        padding-top: 80px !important;
        padding-bottom: 56px !important;
    }
    .upon-custom-template section.manifesto {
        padding-top: 96px !important;
        padding-bottom: 96px !important;
    }
    .upon-custom-template section.system {
        padding-top: 96px !important;
        padding-bottom: 80px !important;
    }
    .upon-custom-template section.solutions {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }
    .upon-custom-template section.disciplines {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }
    .upon-custom-template section.stats-band {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }
    .upon-custom-template section.why {
        padding-top: 96px !important;
        padding-bottom: 96px !important;
    }
    .upon-custom-template section.blog {
        padding-top: 96px !important;
        padding-bottom: 96px !important;
    }
    .upon-custom-template section.final-cta {
        padding-top: 110px !important;
        padding-bottom: 110px !important;
    }
}

/* Tablet (769-1080px): leicht reduziert */
@media (min-width: 769px) and (max-width: 1080px) {
    .upon-custom-template section.hero {
        padding-top: 64px !important;
        padding-bottom: 48px !important;
    }
    .upon-custom-template section.manifesto,
    .upon-custom-template section.why,
    .upon-custom-template section.blog {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }
    .upon-custom-template section.system,
    .upon-custom-template section.solutions,
    .upon-custom-template section.disciplines {
        padding-top: 72px !important;
        padding-bottom: 72px !important;
    }
    .upon-custom-template section.stats-band {
        padding-top: 56px !important;
        padding-bottom: 56px !important;
    }
    .upon-custom-template section.final-cta {
        padding-top: 96px !important;
        padding-bottom: 96px !important;
    }
}

/* Mobile (≤768px): kompakt */
@media (max-width: 768px) {
    .upon-custom-template section.hero {
        padding-top: 40px !important;
        padding-bottom: 32px !important;
    }
    .upon-custom-template section.manifesto,
    .upon-custom-template section.why,
    .upon-custom-template section.blog,
    .upon-custom-template section.system,
    .upon-custom-template section.solutions,
    .upon-custom-template section.disciplines {
        padding-top: 56px !important;
        padding-bottom: 56px !important;
    }
    .upon-custom-template section.stats-band {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    .upon-custom-template section.final-cta {
        padding-top: 72px !important;
        padding-bottom: 72px !important;
    }
}

/* Auch das Spacing INNERHALB der Sections kompakter:
   Margin-bottom von Section-Headers reduzieren. */

@media (min-width: 1081px) {
    .upon-custom-template .sys-header {
        margin-bottom: 64px !important;
    }
    .upon-custom-template .sol-header {
        margin-bottom: 48px !important;
    }
    .upon-custom-template .disc-header {
        margin-bottom: 56px !important;
    }
    .upon-custom-template .blog-header {
        margin-bottom: 40px !important;
    }
    .upon-custom-template .why-grid,
    .upon-custom-template .stats-grid {
        margin-top: 48px !important;
    }
    .upon-custom-template .manifesto-bullets {
        margin-top: 48px !important;
        padding-top: 32px !important;
    }
}

@media (max-width: 768px) {
    .upon-custom-template .sys-header,
    .upon-custom-template .sol-header,
    .upon-custom-template .disc-header,
    .upon-custom-template .blog-header {
        margin-bottom: 32px !important;
    }
    .upon-custom-template .why-grid,
    .upon-custom-template .stats-grid,
    .upon-custom-template .manifesto-bullets {
        margin-top: 32px !important;
    }
}

/* ============================================================
   v1.1.12 — HERO ABOVE-THE-FOLD-WUCHT (nur Desktop)
   ============================================================
   Above-the-fold-Bereich braucht mehr Atemraum für visuelle Wucht.
   Tablet und Mobile bleiben kompakt (sichtbarer Bildschirmbereich
   ist dort ohnehin knapper).
*/

@media (min-width: 1081px) {
    /* Hero-Section: deutlich mehr Padding für Wucht */
    .upon-custom-template section.hero {
        padding-top: 120px !important;
        padding-bottom: 96px !important;
    }
    
    /* Eyebrow → H1: etwas mehr Atemraum */
    .upon-custom-template .hero .eyebrow {
        margin-bottom: 32px !important;
    }
    
    /* H1: mehr Abstand zum Lead-Text drunter */
    .upon-custom-template .hero h1 {
        margin-bottom: 36px !important;
    }
    
    /* Lead → CTA-Buttons: ebenfalls etwas mehr */
    .upon-custom-template .hero-lead {
        margin-bottom: 44px !important;
    }
    
    /* Disciplines-Ticker unter den CTAs: etwas mehr Distanz */
    .upon-custom-template .hero .disciplines-ticker {
        margin-top: 80px !important;
    }
}

/* Sehr breite Bildschirme (1440px+): noch eine Stufe großzügiger */
@media (min-width: 1440px) {
    .upon-custom-template section.hero {
        padding-top: 140px !important;
        padding-bottom: 112px !important;
    }
    .upon-custom-template .hero .eyebrow {
        margin-bottom: 36px !important;
    }
    .upon-custom-template .hero h1 {
        margin-bottom: 40px !important;
    }
    .upon-custom-template .hero-lead {
        margin-bottom: 48px !important;
    }
}

/* ============================================================
   v1.3 — COOL FEATURES PACK
   ============================================================
   Vier additive Features:
   1. Command Palette (⌘K)
   2. Top-Progress-Strip
   3. Scroll-Reveal-Animation
   4. Pulsing Live-Badge
*/

/* ============================================================
   1) COMMAND PALETTE
   ============================================================ */

.upon-cmd-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    padding-left: 20px;
    padding-right: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}
.upon-cmd-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.upon-cmd-modal {
    width: 100%;
    max-width: 600px;
    background: var(--gray-1, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: translateY(-12px);
    transition: transform 0.25s ease;
    color: #fff;
}
.upon-cmd-overlay.open .upon-cmd-modal {
    transform: translateY(0);
}

.upon-cmd-input-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.upon-cmd-input-row svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.46);
    flex-shrink: 0;
}
.upon-cmd-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
}
.upon-cmd-input::placeholder {
    color: rgba(255, 255, 255, 0.46);
}
.upon-cmd-esc {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.46);
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 4px;
}

.upon-cmd-results {
    max-height: 55vh;
    overflow-y: auto;
    padding: 8px;
}
.upon-cmd-group-label {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.46);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 10px 12px 6px;
}

.upon-cmd-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    color: inherit;
    font-family: inherit;
}
.upon-cmd-item:hover,
.upon-cmd-item.active {
    background: rgba(247, 166, 0, 0.10);
}
.upon-cmd-item.active {
    box-shadow: inset 0 0 0 1px rgba(247, 166, 0, 0.3);
}
.upon-cmd-item-icon {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Unbounded', sans-serif;
    font-weight: 800;
    font-size: 11px;
    flex-shrink: 0;
    background: rgba(247, 166, 0, 0.15);
    color: #f7a600;
}
.upon-cmd-item-icon.blue {
    background: rgba(0, 158, 224, 0.15);
    color: #009ee0;
}
.upon-cmd-item-icon.green {
    background: rgba(174, 203, 6, 0.15);
    color: #aecb06;
}
.upon-cmd-item-icon.purple {
    background: rgba(186, 77, 151, 0.15);
    color: #ba4d97;
}

.upon-cmd-item-text {
    flex: 1;
    min-width: 0;
}
.upon-cmd-item-title {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.upon-cmd-item-desc {
    display: block;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.46);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.upon-cmd-item-arrow {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.46);
    opacity: 0;
    transition: opacity 0.15s ease;
}
.upon-cmd-item:hover .upon-cmd-item-arrow,
.upon-cmd-item.active .upon-cmd-item-arrow {
    opacity: 1;
}

.upon-cmd-empty {
    padding: 32px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.46);
    font-size: 13px;
}

.upon-cmd-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.2);
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.46);
}
.upon-cmd-footer-keys {
    display: flex;
    gap: 14px;
}
.upon-cmd-footer-keys span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.upon-cmd-footer-keys kbd {
    padding: 2px 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 3px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.70);
}

/* Command-Palette Trigger-Button in der Topbar (optional) */
.upon-custom-template .topbar .upon-cmd-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--text-soft);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
}
.upon-custom-template .topbar .upon-cmd-trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--line-strong);
    color: var(--white);
}
.upon-custom-template .topbar .upon-cmd-trigger svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.7;
}
.upon-custom-template .topbar .upon-cmd-trigger .upon-cmd-kbd {
    display: inline-flex;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 10px;
    color: var(--text-mid);
    margin-left: 4px;
}

/* Mobile: Trigger nur Icon */
@media (max-width: 980px) {
    .upon-custom-template .topbar .upon-cmd-trigger .upon-cmd-trigger-text,
    .upon-custom-template .topbar .upon-cmd-trigger .upon-cmd-kbd {
        display: none;
    }
    .upon-custom-template .topbar .upon-cmd-trigger {
        padding: 8px;
    }
}

/* ============================================================
   2) TOP-PROGRESS-STRIP
   ============================================================ */

.upon-progress-bar {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    pointer-events: none;
    z-index: 101;
}
.upon-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--orange) 0%, #ffb733 100%);
    width: 0;
    transition: width 0.15s ease;
    box-shadow: 0 0 12px rgba(247, 166, 0, 0.5);
}

/* ============================================================
   3) SCROLL-REVEAL ANIMATION
   ============================================================ */

.upon-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}
.upon-reveal.upon-reveal-in {
    opacity: 1;
    transform: none;
}

/* Stagger-Variants für gestaffelte Animationen */
.upon-reveal[data-reveal-delay="100"] { transition-delay: 0.1s; }
.upon-reveal[data-reveal-delay="200"] { transition-delay: 0.2s; }
.upon-reveal[data-reveal-delay="300"] { transition-delay: 0.3s; }

/* Reduced-Motion: keine Animation, alles direkt sichtbar */
@media (prefers-reduced-motion: reduce) {
    .upon-reveal,
    .upon-reveal.upon-reveal-in {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ============================================================
   4) PULSING LIVE-BADGE
   ============================================================ */

.upon-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    background: rgba(247, 166, 0, 0.12);
    border: 1px solid rgba(247, 166, 0, 0.4);
    border-radius: 100px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 10px;
    font-weight: 600;
    color: var(--orange);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    line-height: 1;
}
.upon-live-badge .upon-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 0 rgba(247, 166, 0, 0.5);
    animation: uponLivePulse 2.4s ease-out infinite;
    flex-shrink: 0;
}

@keyframes uponLivePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 166, 0, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(247, 166, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 166, 0, 0);
    }
}

/* Reduced-Motion: kein Pulse */
@media (prefers-reduced-motion: reduce) {
    .upon-live-badge .upon-live-dot {
        animation: none !important;
    }
}

/* Live-Badge im Topbar (zwischen Logo und Menu, dezent) */
.upon-custom-template .topbar .upon-live-badge {
    margin-left: 12px;
    font-size: 9px;
    padding: 5px 10px;
}

/* Mobile: Live-Badge ausblenden in der Topbar (Platz sparen) */
@media (max-width: 980px) {
    .upon-custom-template .topbar .upon-live-badge {
        display: none;
    }
}


/* ============================================================
   v1.3.1 — HERO-FEINSCHLIFF
   ============================================================
   1. Abstand Lead → CTA-Buttons vergrößert
   2. Text-Rendering optimiert (saubere Buchstaben-Kanten, keine
      Chromatic-Aberration-Artefakte mehr)
   3. Kursiv komplett aus Hero raus (war eh schon)
*/

/* Lead-Text bekommt mehr Atemraum nach unten */
.upon-custom-template .hero .hero-lead {
    margin-bottom: 56px !important;
}

@media (min-width: 1081px) {
    .upon-custom-template .hero .hero-lead {
        margin-bottom: 64px !important;
    }
}

@media (min-width: 1440px) {
    .upon-custom-template .hero .hero-lead {
        margin-bottom: 72px !important;
    }
}

@media (max-width: 768px) {
    .upon-custom-template .hero .hero-lead {
        margin-bottom: 40px !important;
    }
}

/* CTA-Row eigener Top-Margin als Backup */
.upon-custom-template .hero .cta-row {
    margin-top: 8px !important;
}

/* Headline-Rendering optimieren — verhindert Chromatic Aberration
   und sub-pixel-Rendering-Artefakte bei großen Display-Schriften. */
.upon-custom-template .hero h1,
.upon-custom-template .sec-title,
.upon-custom-template h1,
.upon-custom-template h2,
.upon-custom-template h3 {
    text-rendering: geometricPrecision !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-feature-settings: "kern" 1, "liga" 1 !important;
    font-kerning: normal !important;
    text-shadow: none !important;
}

/* Sicherstellen: kein font-style italic im Hero unter keinen Umständen */
.upon-custom-template .hero h1,
.upon-custom-template .hero h1 em,
.upon-custom-template .hero h1 i {
    font-style: normal !important;
}

/* Orange Akzent in der Hero-H1 weiterhin via <em> möglich,
   aber NICHT kursiv, NICHT bold-weight-Verschiebung */
.upon-custom-template .hero h1 em {
    color: var(--orange) !important;
    font-weight: inherit !important;
}

/* ============================================================
   v1.3.2 — KEIN KURSIV ÜBERALL
   ============================================================
   Globaler Override: <em>, <i> und font-style:italic werden
   in allen Headlines, Headers und Quote-Lines im UPON-Template
   auf normal (gerade) gesetzt. Orange-Akzent-Farbe bleibt erhalten.
*/

.upon-custom-template em,
.upon-custom-template i,
.upon-custom-template h1 em,
.upon-custom-template h2 em,
.upon-custom-template h3 em,
.upon-custom-template h4 em,
.upon-custom-template h5 em,
.upon-custom-template h6 em,
.upon-custom-template h1 i,
.upon-custom-template h2 i,
.upon-custom-template h3 i,
.upon-custom-template h4 i,
.upon-custom-template .qline em,
.upon-custom-template .qline i,
.upon-custom-template .manifesto h2 em,
.upon-custom-template .sys-header h2 em,
.upon-custom-template .disc-header h2 em,
.upon-custom-template .sys-takeaway .qline em,
.upon-custom-template .disc-conclusion .qline em,
.upon-custom-template .fc-inner h2 em,
.upon-custom-template .blog-card h4 em,
.upon-custom-template .compare-side .cs-title em {
    font-style: normal !important;
    color: var(--orange) !important;
    /* Weight von Eltern-Headline erben (sonst "leichteres" Gewicht
       durch Italic-spezifische Weight-Regeln im Original) */
    font-weight: inherit !important;
}

/* Falls in Beschreibungs-Texten <em> für betont-kursiv genutzt wird:
   dort lassen wir das Bold-Weight aber kein Italic */
.upon-custom-template p em,
.upon-custom-template li em,
.upon-custom-template .hero-lead em,
.upon-custom-template .sec-lead em {
    font-style: normal !important;
    font-weight: 600 !important;
    color: inherit !important;
}

/* ============================================================
   v1.3.3 — HERO-TOP-AREA & STRICH AM TOP FIXEN
   ============================================================
   Probleme:
   1. Schwarze Linie ganz oben (Body-Default oder Topbar-Border)
   2. Leerer dunkler Bereich zwischen Topbar und Hero-Inhalt
   3. Hero-Background-Glow zu schwach im oberen Bereich
*/

/* Body-Defaults sicherstellen — keine ungewollten Borders/Margins */
body.upon-custom-template,
.upon-custom-template html {
    margin: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

/* Topbar-Border gegen schwarzen Strich oben */
.upon-custom-template .topbar {
    border-top: 0 !important;
    margin-top: 0 !important;
}

/* Falls Enfold ein .html_header_top o.ä. einschiebt: weg damit */
.upon-custom-template .html_header_top,
.upon-custom-template #header_meta,
.upon-custom-template .header_color {
    display: none !important;
}

/* upon-main: kein zusätzlicher Top-Margin/Padding der das Hero abdrückt */
.upon-custom-template .upon-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hero-Padding-Top moderater (Above-the-Fold-Wucht bleibt, aber nicht zu leer) */
@media (min-width: 1081px) {
    .upon-custom-template section.hero {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }
}

@media (min-width: 1440px) {
    .upon-custom-template section.hero {
        padding-top: 96px !important;
        padding-bottom: 96px !important;
    }
}

/* Hero-Background: Glow stärker und über den ganzen oberen Bereich verteilen,
   damit kein leerer dunkler Streifen mehr unter der Topbar entsteht */
.upon-custom-template section.hero {
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(247, 166, 0, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 100% 80%, rgba(186, 77, 151, 0.08) 0%, transparent 50%),
        var(--black) !important;
}

/* Grid-Pattern im Hero stärker und vom oberen Rand sichtbar */
.upon-custom-template section.hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) !important;
    background-size: 64px 64px !important;
    pointer-events: none !important;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 40%, transparent 80%) !important;
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 40%, transparent 80%) !important;
    z-index: 1 !important;
}

/* Hero-Inner über dem Background */
.upon-custom-template section.hero .hero-inner {
    position: relative !important;
    z-index: 2 !important;
}

/* Mobile: Hero-Padding kompakter */
@media (max-width: 768px) {
    .upon-custom-template section.hero {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }
}

/* ============================================================
   v1.3.4 — HERO-GLOW VON GANZ OBEN (unter der Topbar)
   ============================================================
   Problem: Zwischen Topbar (endet bei ~80px) und dem Hero-Glow
   (beginnt bei ~230px) ist ein dunkler leerer Streifen ~150px.
   Ursache: Avia-Wrapper schiebt sich zwischen Topbar und Hero-Section
   oder die Hero-Section beginnt mit Padding-Top über transparentem
   Background.
   
   Fix: Der orange Background-Glow wird jetzt am ersten Section-Element
   nach der Topbar angesetzt (.upon-main > section:first-child) UND
   wir lassen die Section direkt am Topbar-Rand kleben.
*/

/* upon-main keinerlei Top-Margin/Padding — direkt unter der Topbar */
.upon-custom-template .upon-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
    background: var(--black) !important;
}

/* Avia-Wrapper innerhalb von upon-main neutralisieren */
.upon-custom-template .upon-main > .container_wrap,
.upon-custom-template .upon-main > .av-content-full,
.upon-custom-template .upon-main > .template-page,
.upon-custom-template .upon-main > .entry-content-wrapper,
.upon-custom-template .upon-main > .post-entry,
.upon-custom-template .upon-main > .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hero-Section direkt am Topbar-Rand */
.upon-custom-template .upon-main section.hero,
.upon-custom-template section.hero:first-child {
    margin-top: 0 !important;
}

/* Wenn der Code-Block-Inhalt einen leeren <p> oder <div> als erstes Kind
   produziert (typisch bei wpautop): ausblenden */
.upon-custom-template .upon-main > p:empty,
.upon-custom-template .upon-main > br:first-child,
.upon-custom-template .upon-main > p:first-child:empty {
    display: none !important;
}

/* Hero-Background: Glow aus zwei Lagen die direkt vom Top der Section
   ausgehen UND volle Breite abdecken */
.upon-custom-template section.hero {
    background:
        /* Haupt-Glow oben mitte: groß, intensiv */
        radial-gradient(ellipse 90% 100% at 50% 0%, rgba(247, 166, 0, 0.16) 0%, rgba(247, 166, 0, 0.04) 30%, transparent 65%),
        /* Sekundär-Glow links oben */
        radial-gradient(ellipse 60% 80% at 0% 0%, rgba(247, 166, 0, 0.08) 0%, transparent 50%),
        /* Sekundär-Glow rechts oben */
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(186, 77, 151, 0.06) 0%, transparent 50%),
        var(--black) !important;
    padding-top: 56px !important;
    padding-bottom: 64px !important;
}

@media (min-width: 1081px) {
    .upon-custom-template section.hero {
        padding-top: 72px !important;
        padding-bottom: 80px !important;
    }
}

@media (min-width: 1440px) {
    .upon-custom-template section.hero {
        padding-top: 88px !important;
        padding-bottom: 96px !important;
    }
}

@media (max-width: 768px) {
    .upon-custom-template section.hero {
        padding-top: 32px !important;
        padding-bottom: 40px !important;
    }
}

/* Grid-Pattern: vom oberen Rand sichtbar, sanft fading nach unten */
.upon-custom-template section.hero::before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) !important;
    background-size: 64px 64px !important;
    pointer-events: none !important;
    /* Mask: vom oberen Rand voll sichtbar, am Bottom faded */
    mask-image: linear-gradient(180deg, black 0%, black 60%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(180deg, black 0%, black 60%, transparent 100%) !important;
    z-index: 1 !important;
}

/* Hero-Inner über dem Pattern */
.upon-custom-template section.hero .hero-inner {
    position: relative !important;
    z-index: 2 !important;
}

/* Optional: ein zusätzlicher Background-Layer auf .upon-main, der den
   Glow auch abdeckt falls die Hero-Section doch nicht das erste Element
   ist (z.B. weil ein Avia Color-Section davor sitzt) */
.upon-custom-template body {
    background:
        radial-gradient(ellipse 100% 600px at 50% 0%, rgba(247, 166, 0, 0.04) 0%, transparent 60%),
        var(--black) !important;
}

/* ============================================================
   v1.3.5 — ABSTAND HEADER → HERO ELIMINIEREN
   ============================================================
   Der dunkle leere Streifen zwischen Topbar und Hero entsteht durch
   einen Avia-Wrapper (vermutlich .container_wrap oder
   .entry-content-wrapper), der ein eigenes padding-top hat.
   
   Komplette Wrapper-Hierarchie zwischen <body>, <main>, <section.hero>
   wird neutralisiert.
*/

/* Alle möglichen Wrapper zwischen Body und Hero — kein Padding/Margin Top */
.upon-custom-template body,
.upon-custom-template .upon-main,
.upon-custom-template .upon-main > *,
.upon-custom-template .upon-main .container_wrap:first-of-type,
.upon-custom-template .upon-main .container_wrap.fullsize:first-of-type,
.upon-custom-template .upon-main .av-content-full:first-of-type,
.upon-custom-template .upon-main .template-page:first-of-type,
.upon-custom-template .upon-main .entry-content-wrapper:first-of-type,
.upon-custom-template .upon-main .post-entry:first-of-type,
.upon-custom-template .upon-main .entry-content:first-of-type,
.upon-custom-template .upon-main article:first-of-type,
.upon-custom-template .upon-main .av_textblock_section:first-of-type,
.upon-custom-template .upon-main .avia_textblock:first-of-type,
.upon-custom-template .upon-main .av-special-heading:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hero-Section selbst direkt am Topbar-Rand */
.upon-custom-template .upon-main section.hero,
.upon-custom-template .upon-main section.hero:first-child,
.upon-custom-template .hero {
    margin-top: 0 !important;
}

/* Falls Enfold "main_color" oder ähnlichen Wrapper einbaut */
.upon-custom-template #main,
.upon-custom-template .main_color,
.upon-custom-template #wrap_all {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Body Background-Glow nicht nur auf Body sondern auch auf .upon-main,
   damit der Bereich zwischen Topbar und Hero (falls einer existiert)
   nicht mehr tot-schwarz ist sondern den Top-Glow trägt */
.upon-custom-template .upon-main {
    background:
        radial-gradient(ellipse 90% 400px at 50% 0%, rgba(247, 166, 0, 0.10) 0%, transparent 60%),
        var(--black) !important;
}

/* ============================================================
   v1.3.6 — CTA GANZ RECHTS IN DER TOPBAR
   ============================================================
   Problem: .topbar-actions sitzt zwar in der rechten Grid-Spalte,
   füllt sie aber nicht aus — daher klebt der CTA links innen 
   am Menü statt am rechten Rand.
   
   Fix: .topbar-actions auf justify-self:end + width:auto, damit
   der Container nach rechts zieht.
*/

@media (min-width: 981px) {
    /* topbar-actions: gesamter rechter Block schiebt sich nach rechts */
    .upon-custom-template .topbar .topbar-actions {
        justify-self: end !important;
        margin-left: auto !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 12px !important;
    }

    /* CTA selbst: kein extra margin-left, sitzt natürlich am Ende */
    .upon-custom-template .topbar .top-cta {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Mobile (<981px): topbar-actions bleibt rechts, aber Burger sichtbar */
@media (max-width: 980px) {
    .upon-custom-template .topbar .topbar-actions {
        margin-left: auto !important;
    }
}

/* ============================================================
   v1.3.7 — SUCHFELD ALS PROMINENTER TRIGGER (statt Mini-Button)
   ============================================================
   Das alte .upon-cmd-trigger war nur ein kompakter Icon-Button.
   Jetzt: breiter Such-Trigger mit Placeholder-Text und ⌘K-Hint
   rechts, links neben dem CTA platziert. Wie awork-Vorbild.
*/

@media (min-width: 981px) {
    /* Such-Trigger: breit, prominent, mit Such-Icon + Text + ⌘K-Hint */
    .upon-custom-template .topbar .upon-cmd-trigger {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        padding: 10px 14px !important;
        min-width: 240px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid var(--line) !important;
        border-radius: 10px !important;
        color: var(--text-soft) !important;
        font-size: 12.5px !important;
        font-weight: 500 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        font-family: 'Montserrat', sans-serif !important;
        text-align: left !important;
    }

    .upon-custom-template .topbar .upon-cmd-trigger:hover {
        background: rgba(255, 255, 255, 0.08) !important;
        border-color: var(--line-strong) !important;
        color: var(--white) !important;
    }

    /* Such-Icon links */
    .upon-custom-template .topbar .upon-cmd-trigger svg {
        width: 14px !important;
        height: 14px !important;
        flex-shrink: 0 !important;
        opacity: 0.7 !important;
    }

    /* Placeholder-Text in der Mitte (flex:1 nimmt verfügbaren Platz) */
    .upon-custom-template .topbar .upon-cmd-trigger .upon-cmd-trigger-text {
        flex: 1 !important;
        text-align: left !important;
    }

    /* ⌘K-Hint rechts */
    .upon-custom-template .topbar .upon-cmd-trigger .upon-cmd-kbd {
        display: inline-flex !important;
        align-items: center !important;
        padding: 2px 6px !important;
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid var(--line) !important;
        border-radius: 4px !important;
        font-family: 'JetBrains Mono', 'Courier New', monospace !important;
        font-size: 9.5px !important;
        color: var(--text-mid) !important;
        letter-spacing: 0.05em !important;
        margin-left: 0 !important;
        flex-shrink: 0 !important;
    }
}

/* Tablet (981-1200px): etwas schmaler */
@media (min-width: 981px) and (max-width: 1200px) {
    .upon-custom-template .topbar .upon-cmd-trigger {
        min-width: 180px !important;
    }
}

/* Mobile (<981px): Such-Trigger versteckt — Cmd-Palette über Burger zugänglich */
@media (max-width: 980px) {
    .upon-custom-template .topbar .upon-cmd-trigger {
        display: none !important;
    }
}

/* topbar-actions: Reihenfolge sicherstellen — Such-Trigger LINKS, CTA RECHTS */
.upon-custom-template .topbar .topbar-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* ============================================================
   v1.3.8 — HERO-BUTTONS BRAUCHEN ECHTE LUFT NACH OBEN
   ============================================================
   Beobachtung: Lead-Text und Buttons kleben direkt aufeinander.
   Vermutlich frisst ein Wrapper (z.B. <p class="hero-lead">→<div class="cta-row">)
   den margin-bottom des Leads.
   
   Lösung: cta-row bekommt eigenen margin-top mit !important +
   Lead-margin-bottom als Backup.
*/

.upon-custom-template .hero .cta-row,
.upon-custom-template .hero-inner .cta-row {
    margin-top: 48px !important;
    display: inline-flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    justify-content: center !important;
    align-items: center !important;
}

.upon-custom-template .hero .hero-lead,
.upon-custom-template .hero-inner > p.hero-lead,
.upon-custom-template .hero-inner p.hero-lead {
    margin-bottom: 0 !important;
    /* Bottom-Margin auf 0, da der Stack jetzt durch cta-row.margin-top entsteht */
}

@media (min-width: 1081px) {
    .upon-custom-template .hero .cta-row,
    .upon-custom-template .hero-inner .cta-row {
        margin-top: 56px !important;
    }
}

@media (min-width: 1440px) {
    .upon-custom-template .hero .cta-row,
    .upon-custom-template .hero-inner .cta-row {
        margin-top: 64px !important;
    }
}

@media (max-width: 768px) {
    .upon-custom-template .hero .cta-row,
    .upon-custom-template .hero-inner .cta-row {
        margin-top: 32px !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .upon-custom-template .hero .cta-row .btn {
        justify-content: center !important;
        width: 100% !important;
    }
}

/* Hero-Lead: Lesbarkeit & Position */
.upon-custom-template .hero .hero-lead,
.upon-custom-template .hero-inner .hero-lead {
    font-size: 17px !important;
    line-height: 1.6 !important;
    color: var(--text-soft) !important;
    max-width: 720px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 0 !important;
}

@media (min-width: 1081px) {
    .upon-custom-template .hero .hero-lead {
        font-size: 18px !important;
        max-width: 760px !important;
    }
}

/* Hero-Inner: Vertikaler Stack zentriert */
.upon-custom-template .hero .hero-inner {
    display: block !important;
    text-align: center !important;
}

/* ============================================================
   v2.0 — KOMPLETT NEUER MOBILE-BLOCK (FOKUS HEADER+BURGER)
   ============================================================
   Theorie: Das mobile-menu-Element hängt im Body-Flow und
   sein transform:translateX(100%) erweitert das Scroll-Area.
   
   Lösung: Mobile-Menu als reines Overlay isolieren.
*/

/* ============ GRUNDREGELN MOBILE ============ */
@media (max-width: 980px) {
    /* HTML/BODY: einfaches width 100% + overflow-x hidden */
    html, body {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }
    
    /* Body relative für ancestor-overflow-Garantie */
    body.upon-custom-template {
        position: relative;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* ============ MOBILE-MENU ALS ISOLIERTES OVERLAY ============ */
    /* Geschlossen: KOMPLETT aus DOM-Layout-Berechnung raus */
    body.upon-custom-template .mobile-menu:not(.open) {
        display: none !important;
    }
    
    /* Geöffnet: position fixed, eigener Stacking-Context, kein Overflow */
    body.upon-custom-template .mobile-menu.open {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        left: auto !important;
        width: min(85vw, 380px) !important;
        max-width: 380px !important;
        height: 100vh !important;
        max-height: 100vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        z-index: 9999 !important;
        background: var(--gray-1, #1a1a1a) !important;
        transform: none !important;  /* KEIN transform mehr */
        padding: 80px 32px 32px !important;
        box-sizing: border-box !important;
        contain: layout style !important;
    }
    
    /* ============ TOPBAR ============ */
    body.upon-custom-template .topbar {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        z-index: 100;
    }
    
    body.upon-custom-template .topbar-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 12px 16px !important;
        gap: 12px !important;
        box-sizing: border-box !important;
        grid-template-columns: none !important;
    }
    
    /* Logo */
    body.upon-custom-template .topbar .logo {
        flex: 0 1 auto;
        min-width: 0;
        margin: 0;
    }
    
    body.upon-custom-template .topbar .logo img {
        max-height: 28px;
        width: auto;
        display: block;
    }
    
    /* Nav, CTA, Cmd, Live-Badge auf Mobile WEG */
    body.upon-custom-template .topbar .nav,
    body.upon-custom-template .topbar .top-cta,
    body.upon-custom-template .topbar .upon-cmd-trigger,
    body.upon-custom-template .topbar .upon-live-badge {
        display: none !important;
    }
    
    /* topbar-actions: nur Burger sichtbar — überschreibt inline-style */
    body.upon-custom-template .topbar .topbar-actions {
        display: inline-flex !important;
        flex: 0 0 auto !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }
    
    /* Burger-Button */
    body.upon-custom-template .topbar .menu-btn,
    body.upon-custom-template #uponMenuBtn {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 44px !important;
        height: 44px !important;
        padding: 10px !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        -webkit-tap-highlight-color: rgba(247, 166, 0, 0.3) !important;
    }
    
    body.upon-custom-template .menu-btn span {
        display: block !important;
        width: 22px !important;
        height: 2px !important;
        background: var(--white) !important;
        margin: 3px 0 !important;
        pointer-events: none !important;
    }
    
    /* ============ ALLE INHALTE: NICHT BREITER ALS VIEWPORT ============ */
    body.upon-custom-template main,
    body.upon-custom-template .upon-main,
    body.upon-custom-template section,
    body.upon-custom-template .footer,
    body.upon-custom-template footer {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
    
    body.upon-custom-template .container,
    body.upon-custom-template .container-wide,
    body.upon-custom-template .hero-inner {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }
    
    /* Bilder/Videos */
    body.upon-custom-template img,
    body.upon-custom-template video,
    body.upon-custom-template iframe {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Ticker darf überlaufen — sein Container .disciplines-ticker hat overflow:hidden */
    body.upon-custom-template .disciplines-ticker {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    body.upon-custom-template .ticker-track {
        max-width: none !important;
    }
}

/* ============================================================
   v2.2 — ENFOLD-NATIVE TEMPLATE: HEADER/FOOTER VERSTECKEN
   ============================================================
   Wir nutzen jetzt get_header() und get_footer() von Enfold,
   damit das Mobile-Layout korrekt arbeitet. Die UPON-Topbar
   wird NACH Enfolds Header eingehängt — daher müssen wir
   Enfolds eigene Header- und Footer-Elemente verstecken.
*/

/* === Enfold Header-Elemente verstecken === */
body.upon-custom-template #header,
body.upon-custom-template #header_main,
body.upon-custom-template #header_main_alternate,
body.upon-custom-template #header_meta,
body.upon-custom-template .header_color,
body.upon-custom-template #avia2_menu,
body.upon-custom-template .avia_mega_div,
body.upon-custom-template .av-logo-container {
    display: none !important;
}

/* Enfold Header-Padding-Berechnung neutralisieren */
body.upon-custom-template #main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Enfold's #wrap_all aber behalten — das ist der Mobile-Wrapper */
body.upon-custom-template #wrap_all {
    background: var(--black) !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* === Enfold Footer verstecken === */
body.upon-custom-template #footer,
body.upon-custom-template #socket {
    display: none !important;
}

/* === UPON Custom-Wrappers korrekt === */
body.upon-custom-template .upon-main-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.upon-custom-template .upon-main {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Container-Wrap-Anomalien neutralisieren wenn Enfold doch was rendert */
body.upon-custom-template .upon-main-wrap .container_wrap {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

/* Sticky Topbar: positioniert relativ zur Page */
body.upon-custom-template .topbar {
    position: sticky;
    top: 0;
    z-index: 100;
}

/* WP-Adminbar Kompensation (nur wenn eingeloggt) */
body.upon-custom-template.admin-bar .topbar {
    top: 32px;
}

@media (max-width: 782px) {
    body.upon-custom-template.admin-bar .topbar {
        top: 46px;
    }
}

/* ============================================================
   v2.4 — DREI FIXES: HERO-LEAD, TICKER MOBILE, CS-TAG KOMPAKT
   ============================================================ */

/* ---------- 1) HERO-LEAD ZENTRIERT ---------- */
body.upon-custom-template .hero .hero-lead,
body.upon-custom-template .hero-inner .hero-lead,
body.upon-custom-template .hero p.hero-lead {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ---------- 2) TICKER MOBILE SCHNELLER ---------- */
@media (max-width: 980px) {
    body.upon-custom-template .ticker-track {
        animation-duration: 28s !important;  /* statt 50s — 1.78x schneller */
    }
}

@media (max-width: 480px) {
    body.upon-custom-template .ticker-track {
        animation-duration: 22s !important;  /* auf Phones noch zackiger */
    }
}

/* ---------- 3) CS-TAG ("UPON DIGITAL SOLUTION" etc.) KOMPAKT ---------- */
body.upon-custom-template .cs-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 5px 12px !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    min-height: 0 !important;
    margin-bottom: 16px !important;
    letter-spacing: 0.18em !important;
}

@media (max-width: 768px) {
    body.upon-custom-template .cs-tag {
        padding: 4px 10px !important;
        font-size: 9.5px !important;
        margin-bottom: 12px !important;
    }
}

/* ============================================================
   v2.4 — DREI FIXES NACH ARCHITEKTUR-SWITCH
   ============================================================
   1. Hero-Lead zentriert (war im v2.0-Cleanup verloren)
   2. Ticker auf Mobile schneller (50s → 28s)
   3. CS-Tag "UPON DIGITAL SOLUTION" wieder kompakt
*/

/* ---------- (1) HERO-LEAD ZENTRIERT ---------- */
body.upon-custom-template .hero .hero-lead,
body.upon-custom-template .hero-inner .hero-lead,
body.upon-custom-template .hero p.hero-lead {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ---------- (2) TICKER MOBILE SCHNELLER ---------- */
@media (max-width: 768px) {
    body.upon-custom-template .ticker-track {
        animation: tickerMove 28s linear infinite !important;
    }
}

@media (max-width: 420px) {
    body.upon-custom-template .ticker-track {
        animation: tickerMove 22s linear infinite !important;
    }
}

/* ---------- (3) CS-TAG KOMPAKT ---------- */
body.upon-custom-template .cs-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 5px 12px !important;
    font-size: 10px !important;
    line-height: 1.3 !important;
    margin-bottom: 16px !important;
    min-height: 0 !important;
    height: auto !important;
}

@media (max-width: 768px) {
    body.upon-custom-template .cs-tag {
        padding: 4px 10px !important;
        font-size: 9.5px !important;
        margin-bottom: 12px !important;
    }
}




/* ===========================================================================
   STARTSEITE V2 — UPON (refined editorial) — v1.6
   Append-only block. Selektoren via .upon-custom-template gescopet.
   =========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* HARD RESETS: alte CSS-Konflikte neutralisieren ─────────────────────────── */
.upon-custom-template span.dot {
  display: inline !important;
  width: auto !important; height: auto !important;
  background: transparent !important;
  border-radius: 0 !important;
  transform: none !important;
  margin: 0 !important;
  vertical-align: baseline !important;
  color: var(--accent) !important;
}

/* Eyebrow Striche ─ alte CSS hatte ::before UND ::after immer beidseitig.
   In V2: ::before immer, ::after nur mit .center.  Im Hero ist Eyebrow zentriert
   ohne .center — wir geben ihm trotzdem beidseitige Striche für visuelle Symmetrie. */
.upon-custom-template .eyebrow::before {
  content: "" !important; display: inline-block !important;
  width: 28px !important; height: 1px !important;
  background: currentColor !important;
}
.upon-custom-template .eyebrow::after { content: none !important; display: none !important; }
.upon-custom-template .eyebrow.center::after,
.upon-custom-template .hero .eyebrow::after {
  content: "" !important; display: inline-block !important;
  width: 28px !important; height: 1px !important;
  background: currentColor !important;
}

/* Italic Akzent in Headlines ─ alte CSS hat font-style: normal !important erzwungen.
   V2 will italic light für poetischen Akzent.  Wir overriden zurück. */
.upon-custom-template .hero h1 em,
.upon-custom-template .hero h1 i,
.upon-custom-template .sec-title em,
.upon-custom-template .manifesto h2 em,
.upon-custom-template .compare-h2 em,
.upon-custom-template .qline em,
.upon-custom-template .why-header h2 em,
.upon-custom-template .blog-header h2 em,
.upon-custom-template .fc-inner h2 em,
.upon-custom-template .sys-header h2 em,
.upon-custom-template h1 em,
.upon-custom-template h2 em,
.upon-custom-template h3 em {
  font-style: italic !important;
  color: var(--accent) !important;
  font-weight: 300 !important;
}

/* Hero Background Pattern wiederherstellen ─ V2 hat eigenes Grid-Pattern via ::before.
   Alte CSS hat das überlagert; wir explizit mit !important durchsetzen. */
.upon-custom-template .hero {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(247, 166, 0, 0.10) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(247, 166, 0, 0.06), transparent 50%),
    var(--black) !important;
  padding: clamp(80px, 10vw, 160px) 0 clamp(60px, 7vw, 120px) !important;
  position: relative !important;
  overflow: hidden !important;
}
.upon-custom-template .hero::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) !important;
  background-size: 64px 64px !important;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 0%, transparent 85%) !important;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 0%, transparent 85%) !important;
  pointer-events: none !important;
  display: block !important;
  opacity: 1 !important;
  z-index: 1 !important;
}
.upon-custom-template .hero-inner {
  padding: 0 var(--pad-x) !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 2 !important;
  text-align: center !important;
}
.upon-custom-template .hero h1 {
  font-size: clamp(44px, 9vw, 124px) !important;
  font-weight: 700 !important;
  line-height: 0.95 !important;
  letter-spacing: -0.045em !important;
  text-align: center !important;
  margin-bottom: clamp(24px, 3vw, 36px) !important;
}
.upon-custom-template .hero-lead {
  text-align: center !important;
  margin: 0 auto 40px !important;
  max-width: 640px !important;
}
.upon-custom-template .hero .cta-row { justify-content: center !important; }
.upon-custom-template .hero-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 8px 24px !important;
  flex-direction: row !important;
}

/* ============================================================
   UPON Startseite v2 — Refined
   Aesthetik: Editorial-Tech, ruhig, präzise, mit gezieltem Drama
   ============================================================ */



:root{
  /* Brand */
  --black: #0c0c0d;
  --ink: #141416;
  --ink-2: #1a1a1d;
  --ink-3: #232328;
  --white: #ffffff;

  /* Accent palette */
  --orange: #f7a600;
  --orange-soft: #ffba2c;
  --green: #aecb06;
  --purple: #ba4d97;
  --blue: #009ee0;

  /* Live accent — controlled by Tweaks */
  --accent: var(--orange);
  --accent-soft: var(--orange-soft);

  /* Lines + Text */
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.22);
  --text-1: #ffffff;
  --text-2: rgba(255, 255, 255, 0.72);
  --text-3: rgba(255, 255, 255, 0.50);
  --text-4: rgba(255, 255, 255, 0.34);

  /* Fluid type scale */
  --fs-eyebrow: 11px;
  --fs-body: clamp(15px, 1.05vw, 17px);
  --fs-lead: clamp(16px, 1.2vw, 19px);

  /* Section rhythm */
  --pad-section: clamp(80px, 9vw, 140px);
  --pad-x: clamp(20px, 4vw, 40px);

  /* Density (tweakable) */
  --density: 1;
}

/* ============ BUTTONS ============ */
.upon-custom-template .btn{
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
  padding: 16px 28px; border: none; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.upon-custom-template .btn-primary{ background: var(--accent); color: var(--black); }
.upon-custom-template .btn-primary:hover{
  background: var(--accent-soft); transform: translateY(-2px);
  box-shadow: 0 16px 40px -8px color-mix(in srgb, var(--accent) 50%, transparent);
}
.upon-custom-template .btn-secondary{
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-1);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
}
.upon-custom-template .btn-secondary:hover{
  background: rgba(255, 255, 255, 0.08); transform: translateY(-2px);
  border-color: var(--line-3);
}
.upon-custom-template .btn .arrow{ transition: transform 0.25s ease; display: inline-block; }
.upon-custom-template .btn:hover .arrow{ transform: translateX(4px); }
.upon-custom-template .cta-row{ display: flex; gap: 12px; flex-wrap: wrap; }

/* ============ HERO ============ */
.upon-custom-template .hero{
  padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, color-mix(in srgb, var(--accent) 18%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(186, 77, 151, 0.08) 0%, transparent 55%),
    var(--black);
}
.upon-custom-template .hero::before{
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 80%);
  pointer-events: none;
}
.upon-custom-template .hero::after{
  content: ""; position: absolute; bottom: 0; left: 50%;
  width: 1px; height: 80px;
  background: linear-gradient(180deg, transparent, var(--accent));
  transform: translateX(-50%);
  opacity: 0.6;
}
.upon-custom-template .hero-inner{
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto; text-align: center;
  padding: 0 var(--pad-x);
}
.upon-custom-template .hero .eyebrow{ margin-bottom: 28px; }
.upon-custom-template .hero h1{
  font-size: clamp(44px, 9vw, 124px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin-bottom: clamp(24px, 3vw, 36px);
}
.upon-custom-template .hero h1 em{
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.upon-custom-template .hero h1 em::after{
  content: ""; position: absolute;
  left: 4%; right: 4%; bottom: 0.05em; height: 0.08em;
  background: var(--accent);
  opacity: 0.25;
  border-radius: 2px;
}
.upon-custom-template .hero-lead{
  font-size: var(--fs-lead);
  line-height: 1.55; color: var(--text-2);
  max-width: 640px; margin: 0 auto 40px;
}
.upon-custom-template .hero-lead b{ color: var(--text-1); font-weight: 600; }
.upon-custom-template .hero .cta-row{ justify-content: center; }

/* Floating proof badges */
.upon-custom-template .hero-meta{
  margin-top: 48px;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 28px;
  font-size: 12px; color: var(--text-3);
  font-weight: 500; letter-spacing: 0.04em;
}
.upon-custom-template .hero-meta span{ display: inline-flex; align-items: center; gap: 8px; }
.upon-custom-template .hero-meta span::before{
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent);
}

/* ============ DISCIPLINES TICKER ============ */
.upon-custom-template .ticker-wrap{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}
.upon-custom-template .ticker-wrap::before, .upon-custom-template .ticker-wrap::after{
  content: ""; position: absolute; top: 0; bottom: 0;
  width: 140px; z-index: 3; pointer-events: none;
}
.upon-custom-template .ticker-wrap::before{
  left: 0;
  background: linear-gradient(90deg, var(--black), transparent);
}
.upon-custom-template .ticker-wrap::after{
  right: 0;
  background: linear-gradient(-90deg, var(--black), transparent);
}
.upon-custom-template .ticker-track{
  display: flex; gap: 56px; white-space: nowrap;
  animation: ticker 60s linear infinite;
  width: max-content;
}
.upon-custom-template .ticker-item{
  font-family: 'Unbounded', sans-serif; font-weight: 500; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-2);
  display: inline-flex; align-items: center; gap: 56px;
}
.upon-custom-template .ticker-item::after{
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ MANIFESTO ============ */
.upon-custom-template .manifesto{
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, color-mix(in srgb, var(--accent) 6%, transparent) 0%, transparent 60%),
    var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.upon-custom-template .manifesto::before{
  content: ""; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 120%; height: 200%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(ellipse 50% 30% at center, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 50% 30% at center, black, transparent);
}
.upon-custom-template .manifesto-content{
  position: relative; z-index: 2;
  max-width: 1080px; margin: 0 auto; padding: 0 var(--pad-x);
}
.upon-custom-template .manifesto h2{
  font-size: clamp(32px, 5.5vw, 76px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 32px 0 0;
}
.upon-custom-template .manifesto h2 em{
  font-style: italic; font-weight: 300; color: var(--accent);
}
.upon-custom-template .manifesto-bullets{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
  text-align: left;
}
.upon-custom-template .mb-item{
  padding-left: 20px;
  border-left: 2px solid var(--accent);
  position: relative;
}
.upon-custom-template .mb-item:nth-child(2){ border-color: var(--green); }
.upon-custom-template .mb-item:nth-child(3){ border-color: var(--purple); }
.upon-custom-template .mb-item .mb-num{
  font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 11px;
  letter-spacing: 0.2em; color: var(--text-4); margin-bottom: 8px;
}
.upon-custom-template .mb-item h4{
  font-family: 'Unbounded', sans-serif; font-weight: 600;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.15; margin-bottom: 10px;
}
.upon-custom-template .mb-item p{
  font-size: 14.5px; color: var(--text-2); line-height: 1.6;
}

/* ============ SYSTEM (compare) ============ */
.upon-custom-template .system{
  background:
    radial-gradient(ellipse 50% 60% at 25% 30%, rgba(0, 158, 224, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 75% 70%, rgba(174, 203, 6, 0.05) 0%, transparent 55%),
    var(--black);
  overflow: hidden;
}
.upon-custom-template .sys-header{
  text-align: center; max-width: 920px;
  margin: 0 auto clamp(64px, 7vw, 96px);
  padding: 0 var(--pad-x);
}
.upon-custom-template .sys-header h2{
  font-size: clamp(34px, 5.6vw, 76px);
  letter-spacing: -0.035em; line-height: 0.96;
  margin: 28px 0;
}
.upon-custom-template .sys-header h2 em{ font-style: italic; font-weight: 300; color: var(--accent); }
.upon-custom-template .sys-header p{
  font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2);
  max-width: 64ch; margin: 0 auto;
}
.upon-custom-template .sys-header p b{ color: var(--text-1); font-weight: 600; }

.upon-custom-template .compare-stage{
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  max-width: 1380px; margin: 0 auto;
  position: relative;
}
.upon-custom-template .compare-stage::before{
  content: ""; position: absolute;
  top: 6%; bottom: 6%; left: 50%; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-2), transparent);
  z-index: 3;
}
.upon-custom-template .compare-side{
  padding: clamp(48px, 6vw, 80px) clamp(24px, 3vw, 48px) clamp(56px, 6vw, 88px);
  position: relative;
  display: flex; flex-direction: column;
}
.upon-custom-template .compare-side.right{
  background: linear-gradient(225deg, color-mix(in srgb, var(--accent) 6%, transparent) 0%, transparent 60%);
}

.upon-custom-template .cs-tag{
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 10.5px;
  letter-spacing: 0.24em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; border: 1px solid;
  margin-bottom: 22px;
}
.upon-custom-template .cs-tag.bad{ color: var(--text-3); border-color: var(--line-2); background: rgba(255, 255, 255, 0.025); }
.upon-custom-template .cs-tag.good{ color: var(--accent); border-color: color-mix(in srgb, var(--accent) 50%, transparent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.upon-custom-template .cs-tag .dotmark{ width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.upon-custom-template .cs-title{
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px);
  letter-spacing: -0.03em; line-height: 1; margin-bottom: 16px;
}
.upon-custom-template .cs-title em{ font-style: normal; color: var(--text-3); font-weight: 300; font-size: 0.65em; margin-left: 8px; }
.upon-custom-template .cs-title .cs-mark{
  display: inline-block; width: 0.32em; height: 0.32em;
  background: var(--accent); border-radius: 1px;
  margin-left: 0.18em; vertical-align: baseline;
  transform: translateY(-0.05em);
}
.upon-custom-template .compare-side.right .cs-title em{
  color: var(--accent); font-weight: 600; font-size: 0.5em;
  letter-spacing: 0.16em; text-transform: uppercase;
  display: block; margin: 8px 0 0;
}
.upon-custom-template .cs-desc{
  font-size: 14.5px; line-height: 1.6; color: var(--text-2);
  margin-bottom: clamp(28px, 3vw, 40px); max-width: 42ch;
}
.upon-custom-template .cs-desc b{ color: var(--text-1); font-weight: 600; }

/* Constellation */
.upon-custom-template .constellation{
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%; max-width: 480px;
  margin: clamp(56px, 7vw, 88px) auto clamp(24px, 3vw, 40px);
}
.upon-custom-template .const-svg{
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 2; pointer-events: none;
  overflow: visible;
}
.upon-custom-template .const-svg line{ stroke-linecap: round; }
.upon-custom-template .const-svg .pulse{ animation: dashPulse 6s linear infinite; }
@keyframes dashPulse {
  to { stroke-dashoffset: -20; }
}

.upon-custom-template .center-node{
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 22%; aspect-ratio: 1; border-radius: 50%;
  background: var(--purple);
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
  box-shadow: 0 0 0 1px rgba(186, 77, 151, 0.5), 0 16px 40px -8px rgba(186, 77, 151, 0.5);
}
.upon-custom-template .center-node::before{
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(circle, rgba(186, 77, 151, 0.45) 0%, transparent 60%);
  filter: blur(16px); z-index: -1;
  animation: pulseCenter 4s ease-in-out infinite;
}
@keyframes pulseCenter {
  0%, 100% { opacity: 0.5; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.15); }
}
.upon-custom-template .center-node span{
  font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: clamp(10px, 1.2vw, 14px);
  color: var(--white); letter-spacing: 0.06em;
}

.upon-custom-template .kpi-cockpit{
  position: absolute; top: -14%; left: 50%;
  transform: translate(-50%, 0);
  width: 18%; aspect-ratio: 1; border-radius: 50%;
  background: var(--accent);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 11; text-align: center; line-height: 1;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent), 0 12px 32px -4px color-mix(in srgb, var(--accent) 60%, transparent);
  animation: floatKPI 4s ease-in-out infinite;
}
@keyframes floatKPI {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -8px); }
}
.upon-custom-template .kpi-cockpit::before{
  content: ""; position: absolute; inset: -18%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 35%, transparent) 0%, transparent 60%);
  filter: blur(10px); z-index: -1;
}
.upon-custom-template .kpi-cockpit b{
  font-family: 'Unbounded', sans-serif; font-weight: 800;
  font-size: clamp(8px, 0.9vw, 11px); color: var(--black); letter-spacing: 0.05em;
}
.upon-custom-template .kpi-cockpit span{
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: clamp(6px, 0.7vw, 8px); color: var(--black);
  letter-spacing: 0.18em; text-transform: uppercase; margin-top: 3px;
}

.upon-custom-template .node{
  position: absolute;
  width: 13%; aspect-ratio: 1; border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
  transition: transform 0.3s ease;
}
.upon-custom-template .node:hover{ transform: translate(-50%, -50%) scale(1.12); z-index: 20; }
.upon-custom-template .node-dot{
  width: 100%; height: 100%; border-radius: 50%;
  border: 1px solid; position: relative;
}
.upon-custom-template .node.blue .node-dot{ background: var(--blue); border-color: var(--blue); box-shadow: 0 6px 18px -2px rgba(0, 158, 224, 0.4); }
.upon-custom-template .node.green .node-dot{ background: var(--green); border-color: var(--green); box-shadow: 0 6px 18px -2px rgba(174, 203, 6, 0.4); }
.upon-custom-template .node.orange .node-dot{ background: var(--accent); border-color: var(--accent); box-shadow: 0 6px 18px -2px color-mix(in srgb, var(--accent) 45%, transparent); }
.upon-custom-template .node.purple .node-dot{ background: var(--purple); border-color: var(--purple); box-shadow: 0 6px 18px -2px rgba(186, 77, 151, 0.4); }

.upon-custom-template .node-label{
  position: absolute;
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: clamp(9px, 0.85vw, 11.5px);
  color: var(--text-1);
  text-align: center; line-height: 1.2; white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.upon-custom-template .node-label.above{ bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); }
.upon-custom-template .node-label.below{ top: calc(100% + 10px); left: 50%; transform: translateX(-50%); }
.upon-custom-template .node-label.left{ right: calc(100% + 12px); top: 50%; transform: translateY(-50%); text-align: right; }
.upon-custom-template .node-label.right{ left: calc(100% + 12px); top: 50%; transform: translateY(-50%); text-align: left; }

/* Left side — chaotic */
.upon-custom-template .left-side .node-l1{ top: 18%; left: 38%; }
.upon-custom-template .left-side .node-l2{ top: 22%; left: 64%; }
.upon-custom-template .left-side .node-l3{ top: 40%; left: 20%; }
.upon-custom-template .left-side .node-l4{ top: 64%; left: 18%; }
.upon-custom-template .left-side .node-l5{ top: 50%; left: 80%; }
.upon-custom-template .left-side .node-l6{ top: 80%; left: 50%; }

/* Right side — orchestrated */
.upon-custom-template .right-side .node-r1{ top: 18%; left: 50%; }
.upon-custom-template .right-side .node-r2{ top: 28%; left: 22%; }
.upon-custom-template .right-side .node-r3{ top: 28%; left: 78%; }
.upon-custom-template .right-side .node-r4{ top: 56%; left: 18%; }
.upon-custom-template .right-side .node-r5{ top: 56%; left: 82%; }
.upon-custom-template .right-side .node-r6{ top: 78%; left: 38%; }
.upon-custom-template .right-side .node-r7{ top: 82%; left: 56%; }

.upon-custom-template .outcome{
  margin-top: clamp(28px, 3vw, 40px);
  padding: 22px 24px;
  border-radius: 16px;
  font-size: 13.5px; line-height: 1.55;
}
.upon-custom-template .outcome.bad{ background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); color: var(--text-2); }
.upon-custom-template .outcome.good{ background: color-mix(in srgb, var(--accent) 8%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); color: var(--text-1); }
.upon-custom-template .outcome b{
  display: block; margin-bottom: 8px;
  font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.upon-custom-template .outcome.bad b{ color: var(--text-3); }
.upon-custom-template .outcome.good b{ color: var(--accent); }

.upon-custom-template .sys-takeaway{
  text-align: center; max-width: 800px;
  margin: clamp(72px, 8vw, 112px) auto 0;
  padding: clamp(32px, 4vw, 48px) var(--pad-x);
  border: 1px solid var(--line-2);
  border-radius: 28px;
  background: rgba(34, 34, 38, 0.5);
  backdrop-filter: blur(16px);
}
.upon-custom-template .sys-takeaway .qline{
  font-family: 'Unbounded', sans-serif; font-weight: 600;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.2; letter-spacing: -0.025em;
}
.upon-custom-template .sys-takeaway .qline em{ font-style: italic; color: var(--accent); font-weight: 300; }
.upon-custom-template .sys-takeaway p{
  font-size: 14.5px; color: var(--text-2); margin-top: 16px;
  max-width: 56ch; margin-left: auto; margin-right: auto;
}

/* ============ SOLUTIONS ============ */
.upon-custom-template .solutions{ background: var(--black); }
.upon-custom-template .sol-header{
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.upon-custom-template .sol-grid{
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
.upon-custom-template .sol-card{
  background: linear-gradient(155deg, var(--ink) 0%, var(--ink-2) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 36px) clamp(28px, 3vw, 36px);
  position: relative; overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease;
  min-height: clamp(340px, 30vw, 400px);
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: pointer;
}
.upon-custom-template .sol-card::before{
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.upon-custom-template .sol-card::after{
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, color-mix(in srgb, currentColor 8%, transparent), transparent 70%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.upon-custom-template .sol-card:hover{ transform: translateY(-6px); }
.upon-custom-template .sol-card:hover::before{ transform: scaleX(1); }
.upon-custom-template .sol-card:hover::after{ opacity: 1; }

.upon-custom-template .sol-card.c1{ color: var(--accent); }
.upon-custom-template .sol-card.c2{ color: var(--green); }
.upon-custom-template .sol-card.c3{ color: var(--purple); }
.upon-custom-template .sol-card.c4{ color: var(--blue); }
.upon-custom-template .sol-card.c1::before{ background: var(--accent); }
.upon-custom-template .sol-card.c2::before{ background: var(--green); }
.upon-custom-template .sol-card.c3::before{ background: var(--purple); }
.upon-custom-template .sol-card.c4::before{ background: var(--blue); }
.upon-custom-template .sol-card.c1:hover{ border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.upon-custom-template .sol-card.c2:hover{ border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.upon-custom-template .sol-card.c3:hover{ border-color: color-mix(in srgb, var(--purple) 40%, var(--line)); }
.upon-custom-template .sol-card.c4:hover{ border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }

.upon-custom-template .sc-num{
  font-family: 'Unbounded', sans-serif; font-weight: 300;
  font-size: 13px; letter-spacing: 0.2em;
  color: var(--text-3); margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.upon-custom-template .sc-num::after{
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.upon-custom-template .sol-card h3{
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: var(--text-1);
}
.upon-custom-template .sol-card h3 .pt{
  display: inline-block; width: 6px; height: 6px;
  background: currentColor; border-radius: 50%; margin-left: 2px;
  vertical-align: baseline;
}
.upon-custom-template .sol-card p{
  color: var(--text-2); font-size: 14.5px; line-height: 1.6;
  margin-bottom: 22px;
}
.upon-custom-template .sc-tags{ display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }
.upon-custom-template .sc-tag{
  font-size: 11px; font-weight: 500;
  color: var(--text-2); background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px;
}
.upon-custom-template .sc-link{
  font-family: 'Unbounded', sans-serif; font-weight: 600; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: currentColor;
  display: inline-flex; align-items: center; gap: 8px;
  transition: gap 0.2s ease;
}
.upon-custom-template .sc-link .arrow{ transition: transform 0.25s ease; }
.upon-custom-template .sol-card:hover .sc-link .arrow{ transform: translateX(4px); }

/* ============ DISCIPLINES ============ */
.upon-custom-template .disciplines{
  background: linear-gradient(180deg, var(--black) 0%, var(--ink) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.upon-custom-template .disciplines::before{
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(0, 158, 224, 0.06) 0%, transparent 45%);
  pointer-events: none;
}
.upon-custom-template .disc-content{ position: relative; z-index: 2; }
.upon-custom-template .disc-header{ text-align: center; max-width: 920px; margin: 0 auto clamp(48px, 6vw, 80px); }
.upon-custom-template .disc-header h2{
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: -0.035em; line-height: 0.96;
  margin: 28px 0 24px;
}
.upon-custom-template .disc-header h2 em{ font-style: italic; font-weight: 300; color: var(--accent); }
.upon-custom-template .disc-header p{
  font-size: var(--fs-lead); color: var(--text-2);
  max-width: 60ch; margin: 0 auto;
}
.upon-custom-template .disc-header p b{ color: var(--text-1); font-weight: 600; }

.upon-custom-template .pills-stage{ max-width: 1040px; margin: 0 auto; }
.upon-custom-template .pills-cloud{
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; padding: clamp(24px, 3vw, 40px);
  background: rgba(34, 34, 38, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 24px 64px -8px rgba(0, 0, 0, 0.4);
}
.upon-custom-template .pill{
  font-family: 'Unbounded', sans-serif; font-weight: 500; font-size: 13px;
  padding: 11px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  color: var(--text-1);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  cursor: default; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
}
.upon-custom-template .pill::before{
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  transition: transform 0.3s ease;
}
.upon-custom-template .pill.cat-a::before{ background: var(--accent); }
.upon-custom-template .pill.cat-b::before{ background: var(--green); }
.upon-custom-template .pill.cat-c::before{ background: var(--purple); }
.upon-custom-template .pill.cat-d::before{ background: var(--blue); }
.upon-custom-template .pill.cat-e::before{ background: var(--white); }
.upon-custom-template .pill:hover{ transform: translateY(-3px) scale(1.04); background: rgba(255, 255, 255, 0.08); }
.upon-custom-template .pill.cat-a:hover{ border-color: var(--accent); color: var(--accent); }
.upon-custom-template .pill.cat-b:hover{ border-color: var(--green); color: var(--green); }
.upon-custom-template .pill.cat-c:hover{ border-color: var(--purple); color: var(--purple); }
.upon-custom-template .pill.cat-d:hover{ border-color: var(--blue); color: var(--blue); }
.upon-custom-template .pill.cat-e:hover{ border-color: var(--white); }
.upon-custom-template .pill:hover::before{ transform: scale(1.6); }

.upon-custom-template .pill-legend{
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 20px; margin-top: 36px;
  font-size: 12px; color: var(--text-3);
}
.upon-custom-template .pl-item{ display: flex; align-items: center; gap: 8px; font-weight: 500; letter-spacing: 0.04em; }
.upon-custom-template .pl-dot{ width: 8px; height: 8px; border-radius: 50%; }
.upon-custom-template .pl-dot.a{ background: var(--accent); }
.upon-custom-template .pl-dot.b{ background: var(--green); }
.upon-custom-template .pl-dot.c{ background: var(--purple); }
.upon-custom-template .pl-dot.d{ background: var(--blue); }
.upon-custom-template .pl-dot.e{ background: var(--white); }

.upon-custom-template .disc-conclusion{
  text-align: center; margin: clamp(56px, 6vw, 80px) auto 0;
  max-width: 720px; padding: 0 var(--pad-x);
}
.upon-custom-template .disc-conclusion .qline{
  font-family: 'Unbounded', sans-serif; font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 16px;
}
.upon-custom-template .disc-conclusion .qline em{ font-style: italic; color: var(--accent); font-weight: 300; }
.upon-custom-template .disc-conclusion p{ font-size: 15px; color: var(--text-2); }

/* ============ STATS BAND ============ */
.upon-custom-template .stats-band{
  padding: clamp(56px, 6vw, 80px) 0;
  background: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.upon-custom-template .stats-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 24px; overflow: hidden;
}
.upon-custom-template .stat-cell{
  background: var(--black);
  padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px);
  text-align: center;
  position: relative;
  transition: background 0.3s ease;
}
.upon-custom-template .stat-cell:hover{ background: var(--ink-2); }
.upon-custom-template .stat-cell .num{
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 0.9; letter-spacing: -0.05em;
  margin-bottom: 12px;
  display: inline-flex; align-items: baseline;
}
.upon-custom-template .stat-cell .num sup{
  font-size: 0.45em; font-weight: 600; margin-left: 2px;
  color: inherit;
  vertical-align: super;
}
.upon-custom-template .stat-cell:nth-child(1) .num{ color: var(--accent); }
.upon-custom-template .stat-cell:nth-child(2) .num{ color: var(--green); }
.upon-custom-template .stat-cell:nth-child(3) .num{ color: var(--purple); }
.upon-custom-template .stat-cell:nth-child(4) .num{ color: var(--blue); }
.upon-custom-template .stat-cell .lbl{
  font-size: 11px; font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.2em; text-transform: uppercase;
}
.upon-custom-template .stat-cell .desc{ font-size: 12.5px; color: var(--text-3); margin-top: 6px; }

/* ============ WHY ============ */
.upon-custom-template .why{ background: var(--black); }
.upon-custom-template .why-header{ text-align: center; max-width: 880px; margin: 0 auto clamp(48px, 6vw, 80px); padding: 0 var(--pad-x); }
.upon-custom-template .why-header h2{
  font-size: clamp(34px, 5.4vw, 68px);
  letter-spacing: -0.035em; line-height: 0.96;
  margin: 28px 0 0;
}
.upon-custom-template .why-header h2 em{ font-style: italic; font-weight: 300; color: var(--accent); }
.upon-custom-template .why-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 24px); }
.upon-custom-template .why-card{
  background: linear-gradient(160deg, var(--ink) 0%, var(--black) 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(32px, 3.5vw, 48px) clamp(28px, 3vw, 40px);
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.upon-custom-template .why-card:hover{ transform: translateY(-4px); border-color: var(--line-2); }
.upon-custom-template .why-card .wc-num{
  font-family: 'Unbounded', sans-serif; font-weight: 300;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 0.85; letter-spacing: -0.05em;
  margin-bottom: 24px; color: var(--accent);
}
.upon-custom-template .why-card:nth-child(2) .wc-num{ color: var(--green); }
.upon-custom-template .why-card:nth-child(3) .wc-num{ color: var(--purple); }
.upon-custom-template .why-card:nth-child(4) .wc-num{ color: var(--blue); }
.upon-custom-template .why-card h3{
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: 14px; line-height: 1.15;
  letter-spacing: -0.02em;
}
.upon-custom-template .why-card p{ color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.upon-custom-template .wc-tag{
  display: inline-block; margin-top: clamp(20px, 2.5vw, 28px);
  padding: 6px 12px; border-radius: 999px;
  font-family: 'Unbounded', sans-serif; font-weight: 600;
  font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.upon-custom-template .why-card:nth-child(2) .wc-tag{ background: rgba(174, 203, 6, 0.12); color: var(--green); border-color: rgba(174, 203, 6, 0.35); }
.upon-custom-template .why-card:nth-child(3) .wc-tag{ background: rgba(186, 77, 151, 0.12); color: var(--purple); border-color: rgba(186, 77, 151, 0.35); }
.upon-custom-template .why-card:nth-child(4) .wc-tag{ background: rgba(0, 158, 224, 0.12); color: var(--blue); border-color: rgba(0, 158, 224, 0.35); }

/* ============ BLOG ============ */
.upon-custom-template .blog{ background: var(--black); }
.upon-custom-template .blog-header{
  display: flex; justify-content: space-between; align-items: end;
  flex-wrap: wrap; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px);
}
.upon-custom-template .blog-header h2{
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: -0.035em; line-height: 0.96;
  margin-top: 24px;
}
.upon-custom-template .blog-header h2 em{ font-style: italic; font-weight: 300; color: var(--accent); }
.upon-custom-template .blog-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.upon-custom-template .blog-card{
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.upon-custom-template .blog-card:hover{ transform: translateY(-4px); border-color: var(--line-2); }
.upon-custom-template .blog-thumb{
  aspect-ratio: 16 / 10;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--ink-2), var(--ink-3));
}
.upon-custom-template .blog-thumb::before{
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.upon-custom-template .blog-thumb-content{
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
  font-family: 'Unbounded', sans-serif; font-weight: 700;
  font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.04em;
  opacity: 0.95;
}
.upon-custom-template .blog-card.b1 .blog-thumb{ background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, var(--ink-2)), var(--ink-2)); }
.upon-custom-template .blog-card.b1 .blog-thumb-content{ color: var(--accent); }
.upon-custom-template .blog-card.b2 .blog-thumb{ background: linear-gradient(135deg, rgba(174, 203, 6, 0.2), var(--ink-2)); }
.upon-custom-template .blog-card.b2 .blog-thumb-content{ color: var(--green); }
.upon-custom-template .blog-card.b3 .blog-thumb{ background: linear-gradient(135deg, rgba(186, 77, 151, 0.2), var(--ink-2)); }
.upon-custom-template .blog-card.b3 .blog-thumb-content{ color: var(--purple); }

.upon-custom-template .blog-body{ padding: clamp(20px, 2.4vw, 28px); flex: 1; display: flex; flex-direction: column; }
.upon-custom-template .blog-meta{
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 14px; font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
}
.upon-custom-template .blog-tag{
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--text-2);
}
.upon-custom-template .blog-date{ color: var(--text-3); padding: 4px 0; }
.upon-custom-template .blog-card h4{
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.25; letter-spacing: -0.015em;
  margin-bottom: 12px;
  flex: 1;
}
.upon-custom-template .blog-card p{
  font-size: 13.5px; color: var(--text-2);
  line-height: 1.55; margin-bottom: 18px;
}
.upon-custom-template .blog-link{
  font-family: 'Unbounded', sans-serif; font-weight: 600;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
}
.upon-custom-template .blog-card.b2 .blog-link{ color: var(--green); }
.upon-custom-template .blog-card.b3 .blog-link{ color: var(--purple); }

/* ============ FINAL CTA ============ */
.upon-custom-template .final-cta{
  padding: clamp(96px, 12vw, 160px) 0;
  text-align: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 50% 50%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 60%),
    var(--black);
}
.upon-custom-template .final-cta::before{
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 50% 50% at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at center, black, transparent 80%);
  pointer-events: none;
}
.upon-custom-template .fc-inner{
  position: relative; z-index: 2;
  max-width: 880px; margin: 0 auto; padding: 0 var(--pad-x);
}
.upon-custom-template .fc-inner h2{
  font-size: clamp(40px, 7.5vw, 96px);
  letter-spacing: -0.045em; line-height: 0.92;
  margin: 28px 0;
}
.upon-custom-template .fc-inner h2 em{ font-style: italic; font-weight: 300; color: var(--accent); }
.upon-custom-template .fc-inner p{
  font-size: var(--fs-lead); color: var(--text-2);
  margin-bottom: 40px; line-height: 1.55;
  max-width: 56ch; margin-left: auto; margin-right: auto;
}
.upon-custom-template .fc-inner p b{ color: var(--text-1); font-weight: 600; }
.upon-custom-template .fc-inner .cta-row{ justify-content: center; }
.upon-custom-template .fc-meta{
  margin-top: 32px;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 28px;
  font-size: 12px; color: var(--text-3); font-weight: 500;
}
.upon-custom-template .fc-meta div{ display: inline-flex; align-items: center; gap: 8px; }
.upon-custom-template .fc-meta .check{
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: color-mix(in srgb, var(--green) 25%, transparent);
  color: var(--green); font-size: 10px; font-weight: 700;
}

   .upon-custom-template ============================================================ */
/* ============================================================
   VARIANT TUNING (refined / bold / experimental)
   ============================================================ */
body.v-bold .hero h1, .upon-custom-template body.v-bold .sec-title, .upon-custom-template body.v-bold .sys-header h2, .upon-custom-template body.v-bold .manifesto h2, .upon-custom-template body.v-bold .fc-inner h2, .upon-custom-template body.v-bold .disc-header h2, .upon-custom-template body.v-bold .why-header h2{
  font-weight: 900;
  letter-spacing: -0.055em;
}
.upon-custom-template body.v-bold .hero h1 em, .upon-custom-template body.v-bold .sec-title em, .upon-custom-template body.v-bold .sys-header h2 em, .upon-custom-template body.v-bold .manifesto h2 em, .upon-custom-template body.v-bold .fc-inner h2 em, .upon-custom-template body.v-bold .disc-header h2 em, .upon-custom-template body.v-bold .why-header h2 em{
  font-style: normal;
  font-weight: 900;
}
.upon-custom-template body.v-bold .eyebrow{ letter-spacing: 0.3em; }

.upon-custom-template body.v-experimental .hero h1, .upon-custom-template body.v-experimental .sec-title, .upon-custom-template body.v-experimental .sys-header h2, .upon-custom-template body.v-experimental .manifesto h2, .upon-custom-template body.v-experimental .fc-inner h2{
  font-weight: 300;
  letter-spacing: -0.03em;
}
.upon-custom-template body.v-experimental .hero h1 em, .upon-custom-template body.v-experimental .sec-title em, .upon-custom-template body.v-experimental .sys-header h2 em, .upon-custom-template body.v-experimental .manifesto h2 em, .upon-custom-template body.v-experimental .fc-inner h2 em{
  font-weight: 700;
  font-style: italic;
}
.upon-custom-template body.v-experimental .eyebrow{
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.32em;
}

/* Hero layout variants */
.upon-custom-template body.hero-asymmetric .hero-inner{ text-align: left; max-width: 1100px; }
.upon-custom-template body.hero-asymmetric .hero h1{ text-align: left; }
.upon-custom-template body.hero-asymmetric .hero-lead{ margin-left: 0; max-width: 540px; }
.upon-custom-template body.hero-asymmetric .hero .cta-row{ justify-content: flex-start; }
.upon-custom-template body.hero-asymmetric .hero .eyebrow{ justify-content: flex-start; }
.upon-custom-template body.hero-asymmetric .hero-meta{ justify-content: flex-start; }

.upon-custom-template body.hero-stacked .hero h1{
  font-size: clamp(56px, 14vw, 180px);
  line-height: 0.85;
  letter-spacing: -0.06em;
}

/* Noise overlay */
.upon-custom-template body.with-noise::before{
  content: ""; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  pointer-events: none;
  z-index: 999;
  mix-blend-mode: overlay;
}

/* Disable diagram animations */
.upon-custom-template body.no-anim .center-node::before, .upon-custom-template body.no-anim .kpi-cockpit, .upon-custom-template body.no-anim .const-svg .pulse, .upon-custom-template body.no-anim .ticker-track{
  animation: none !important;
}

/* ============ MOBILE DIAGRAM REDESIGN ============ */
@media (max-width: 720px) {
  /* Remove orbit layout, switch to vertical compositional list */
  .upon-custom-template .compare-side{ padding: 28px 20px; }
  .upon-custom-template .constellation{
    aspect-ratio: auto;
    max-width: none;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 32px 0 16px;
  }
  .upon-custom-template .const-svg{ display: none; }

  .upon-custom-template .compare-side .center-node{
    position: static;
    transform: none;
    width: 96px; height: 96px;
    flex-shrink: 0;
  }
  .upon-custom-template .compare-side .kpi-cockpit{
    position: static;
    transform: none !important;
    width: 64px; height: 64px;
    animation: none;
    order: -1;
  }
  .upon-custom-template .compare-side .kpi-cockpit::before{ display: none; }
  .upon-custom-template .compare-side .center-node::before{ display: none; }

  /* Show order: KPI (only right) → Center → connection line → nodes grid */
  .upon-custom-template .left-side .constellation::after, .upon-custom-template .right-side .constellation::after{
    content: "";
    width: 1px; height: 24px;
    background: linear-gradient(180deg, var(--line-2), transparent);
    margin: -4px 0;
    order: 5;
  }

  .upon-custom-template .compare-side .node{
    position: static;
    transform: none !important;
    width: auto; aspect-ratio: auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px 8px 10px;
    display: inline-flex; align-items: center; gap: 8px;
    margin: 0;
  }
  .upon-custom-template .compare-side .node:hover{ transform: none; }
  .upon-custom-template .compare-side .node-dot{
    width: 10px !important; height: 10px !important;
    flex-shrink: 0;
    border-width: 0;
  }
  .upon-custom-template .compare-side .node-label{
    position: static !important;
    transform: none !important;
    text-align: left !important;
    font-size: 12px;
    line-height: 1.2;
    text-shadow: none;
    color: var(--text-1);
    white-space: nowrap;
  }
  .upon-custom-template .compare-side .node-label br{ display: none; }

  /* Wrap nodes in a flex grid via a pseudo-container approach using order */
  .upon-custom-template .compare-side .constellation{
    flex-wrap: wrap;
    justify-content: center;
  }
  .upon-custom-template .compare-side .center-node{ order: 1; }
  .upon-custom-template .compare-side .kpi-cockpit{ order: 0; }
  .upon-custom-template .compare-side .node{ order: 6; }

  .upon-custom-template .left-side .node.blue{ border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); }
  .upon-custom-template .left-side .node.orange{ border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
  .upon-custom-template .left-side .node.purple{ border-color: color-mix(in srgb, var(--purple) 40%, var(--line)); }
  .upon-custom-template .right-side .node.green{ border-color: color-mix(in srgb, var(--green) 40%, var(--line)); background: color-mix(in srgb, var(--green) 6%, transparent); }
  .upon-custom-template .right-side .node.orange{ border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: color-mix(in srgb, var(--accent) 6%, transparent); }
  .upon-custom-template .right-side .node.blue{ border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); background: color-mix(in srgb, var(--blue) 6%, transparent); }
  .upon-custom-template .right-side .node.purple{ border-color: color-mix(in srgb, var(--purple) 40%, var(--line)); background: color-mix(in srgb, var(--purple) 6%, transparent); }
}

@media (max-width: 1080px) {
  .upon-custom-template .compare-stage{ grid-template-columns: 1fr; gap: 24px; }
  .upon-custom-template .compare-stage::before{ display: none; }
  .upon-custom-template .compare-side{
    border-radius: 20px;
    border: 1px solid var(--line);
  }
  .upon-custom-template .compare-side.right{
    border-color: color-mix(in srgb, var(--accent) 25%, var(--line));
  }
  .upon-custom-template .constellation{ max-width: 460px; }
}

@media (max-width: 980px) {
  .upon-custom-template .nav{ display: none; }
  .upon-custom-template .top-cta{ display: none; }
  .upon-custom-template .menu-btn{ display: flex; }
  .upon-custom-template .sol-grid{ grid-template-columns: 1fr; }
  .upon-custom-template .sol-card{ min-height: auto; }
  .upon-custom-template .sol-header{ grid-template-columns: 1fr; }
  .upon-custom-template .why-grid{ grid-template-columns: 1fr; }
  .upon-custom-template .stats-grid{ grid-template-columns: 1fr 1fr; }
  .upon-custom-template .blog-grid{ grid-template-columns: 1fr; }
  .upon-custom-template .blog-header{ flex-direction: column; align-items: flex-start; }
  .upon-custom-template .footer-top{ grid-template-columns: 1fr 1fr; gap: 32px; }
  .upon-custom-template .manifesto-bullets{ grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 680px) {
  /* Mobile typography overrides */
  :root{
    --pad-x: 20px;
    --pad-section: 72px;
    --fs-lead: 16px;
  }

  /* Hero — proper mobile */
  .upon-custom-template .hero{ padding: 64px 0 56px; }
  .upon-custom-template .hero h1{
    font-size: clamp(40px, 12vw, 56px);
    line-height: 0.95;
    letter-spacing: -0.04em;
  }
  .upon-custom-template .hero-lead{ font-size: 15.5px; }
  .upon-custom-template .hero .eyebrow{
    font-size: 10px;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
  }
  .upon-custom-template .hero .eyebrow::before, .upon-custom-template .hero .eyebrow::after{ width: 18px; }
  .upon-custom-template .hero-meta{ gap: 6px 18px; font-size: 11px; margin-top: 32px; }
  .upon-custom-template .cta-row{ flex-direction: column; width: 100%; }
  .upon-custom-template .cta-row .btn{ width: 100%; justify-content: center; }

  /* Ticker — readable */
  .upon-custom-template .ticker-wrap{ padding: 14px 0; }
  .upon-custom-template .ticker-wrap::before, .upon-custom-template .ticker-wrap::after{ width: 60px; }
  .upon-custom-template .ticker-item{ font-size: 11px; gap: 32px; letter-spacing: 0.1em; }
  .upon-custom-template .ticker-track{ gap: 32px; }

  /* Section titles */
  .upon-custom-template .sec-title{ font-size: clamp(30px, 9vw, 42px); line-height: 0.98; }

  /* Manifesto */
  .upon-custom-template .manifesto h2{ font-size: clamp(30px, 8.5vw, 44px); line-height: 1; }
  .upon-custom-template .manifesto-bullets{ margin-top: 48px; padding-top: 36px; }

  /* System */
  .upon-custom-template .sys-header h2{ font-size: clamp(30px, 8.5vw, 44px); }
  .upon-custom-template .compare-side{ padding: 28px 22px; }
  .upon-custom-template .cs-title{ font-size: 26px; }
  .upon-custom-template .cs-desc{ font-size: 14px; }
  .upon-custom-template .constellation{ max-width: 320px; }
  .upon-custom-template .node-label{ font-size: 9px; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9); }
  .upon-custom-template .center-node span{ font-size: 10px; }
  .upon-custom-template .kpi-cockpit b{ font-size: 7.5px; }
  .upon-custom-template .kpi-cockpit span{ font-size: 6px; }
  .upon-custom-template .outcome{ padding: 18px 18px; font-size: 13px; }
  .upon-custom-template .sys-takeaway{ padding: 28px 20px; }
  .upon-custom-template .sys-takeaway .qline{ font-size: 18px; }

  /* Solutions */
  .upon-custom-template .sol-card{ padding: 28px 24px; }
  .upon-custom-template .sol-card h3{ font-size: 22px; }

  /* Disciplines */
  .upon-custom-template .disc-header h2{ font-size: clamp(30px, 8vw, 42px); }
  .upon-custom-template .pills-cloud{ padding: 18px 16px; gap: 6px; border-radius: 22px; }
  .upon-custom-template .pill{ font-size: 11.5px; padding: 8px 14px; }
  .upon-custom-template .pill::before{ width: 4px; height: 4px; }
  .upon-custom-template .pill-legend{ gap: 12px 16px; font-size: 11px; }
  .upon-custom-template .disc-conclusion .qline{ font-size: 17px; }

  /* Stats */
  .upon-custom-template .stats-band{ padding: 56px 0; }
  .upon-custom-template .stat-cell{ padding: 24px 14px; }
  .upon-custom-template .stat-cell .num{ font-size: 36px; }
  .upon-custom-template .stat-cell .lbl{ font-size: 9.5px; letter-spacing: 0.18em; }
  .upon-custom-template .stat-cell .desc{ font-size: 11.5px; }

  /* Why */
  .upon-custom-template .why-card{ padding: 32px 24px; }
  .upon-custom-template .why-card .wc-num{ font-size: 44px; }
  .upon-custom-template .why-card h3{ font-size: 19px; }

  /* Blog */
  .upon-custom-template .blog-card h4{ font-size: 16px; }
  .upon-custom-template .blog-thumb-content{ font-size: 36px; }

  /* Final */
  .upon-custom-template .fc-inner h2{ font-size: clamp(40px, 12vw, 56px); }
  .upon-custom-template .fc-meta{ flex-direction: column; align-items: center; gap: 10px; }

  /* Footer */
  .upon-custom-template .footer-top{ grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .upon-custom-template .footer-brand{ grid-column: 1 / -1; }
  .upon-custom-template .footer-bottom{ flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 420px) {
  .upon-custom-template .hero h1{ font-size: 38px; }
  .upon-custom-template .sec-title, .upon-custom-template .manifesto h2, .upon-custom-template .sys-header h2, .upon-custom-template .disc-header h2, .upon-custom-template .why-header h2{ font-size: 30px; }
  .upon-custom-template .fc-inner h2{ font-size: 38px; }
  .upon-custom-template .stats-grid{ border-radius: 18px; }
  .upon-custom-template .stat-cell{ padding: 22px 10px; }
  .upon-custom-template .stat-cell .num{ font-size: 32px; }
  .upon-custom-template .footer-top{ grid-template-columns: 1fr; gap: 24px; }
}


/* ===========================================================================
   v1.7 — ONEPAGER-FIX: Topbar fixed + scroll-padding für Anchor-Links
   ===========================================================================
   Problem: Topbar war sticky aber innerhalb eines Avia-Wrappers, der das
   sticky-Verhalten zerschießt. Außerdem sprangen Anchor-Links (#system,
   #loesungen, …) hinter die Topbar.
   
   Fix: Topbar fest auf position:fixed, body bekommt padding-top in Höhe
   der Topbar, html bekommt scroll-padding-top für sauberes Anchor-Scroll.
*/

.upon-custom-template .topbar {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
}

/* Body-Padding-Top = Topbar-Höhe, damit Hero nicht unter der Topbar startet */
body.upon-custom-template {
    padding-top: 72px !important;
}

/* Anchor-Sprungziele unter der Topbar landen lassen */
html {
    scroll-padding-top: 88px;
    scroll-behavior: smooth;
}

/* Mobile: Topbar etwas niedriger */
@media (max-width: 980px) {
    body.upon-custom-template {
        padding-top: 64px !important;
    }
    html {
        scroll-padding-top: 80px;
    }
}

/* Avia-Wrapper darf den Body-Top-Padding nicht doppelt geben */
.upon-custom-template #main,
.upon-custom-template .container_wrap:first-of-type,
.upon-custom-template .entry-content-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* ===========================================================================
   v1.8 — HEADER→HERO ÜBERGANG + MOBILE-PASS + UPON-PUNKT-REGEL
   =========================================================================== */

/* === A) HEADER→HERO ÜBERGANG: nahtlos, ohne Lücke ===
   Topbar ist transparent über dem Hero. Hero füllt den ganzen Viewport bis
   zum oberen Rand. Body-Padding-Top wird zurückgesetzt; stattdessen
   bekommt der Hero internes Padding-Top damit der Inhalt nicht hinter
   der Topbar startet. Andere Sections nutzen scroll-padding-top. */

body.upon-custom-template {
    padding-top: 0 !important;
}

/* Topbar: transparent über Hero, solider Background ab Scroll */
.upon-custom-template .topbar {
    background: rgba(12, 12, 13, 0.0) !important;
    border-bottom: 1px solid transparent !important;
    backdrop-filter: blur(0) !important;
    -webkit-backdrop-filter: blur(0) !important;
    transition: background 240ms ease, backdrop-filter 240ms ease, border-color 240ms ease !important;
}

/* Sobald gescrollt: Topbar bekommt Background + Blur */
.upon-custom-template .topbar.is-scrolled {
    background: rgba(12, 12, 13, 0.78) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Hero hat genug Top-Padding, dass Eyebrow nicht hinter Topbar liegt */
.upon-custom-template section.hero,
.upon-custom-template .upon-main section.hero:first-child {
    padding-top: clamp(120px, 14vw, 200px) !important;
    padding-bottom: clamp(60px, 7vw, 120px) !important;
    margin-top: 0 !important;
}

/* Hero-Glow soll bis hinter die Topbar reichen — kein dunkler Streifen */
.upon-custom-template section.hero {
    background:
        radial-gradient(ellipse 90% 70% at 50% 0%, rgba(247, 166, 0, 0.22) 0%, transparent 65%),
        radial-gradient(ellipse 70% 60% at 50% 30%, rgba(247, 166, 0, 0.10) 0%, transparent 70%),
        var(--black) !important;
}

/* === B) MOBILE-PASS: häufigste Brüche fixen === */
@media (max-width: 768px) {
    /* Container-Padding einheitlich */
    .upon-custom-template .container,
    .upon-custom-template .container-wide {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    /* Section-Padding kompakter aber nicht zu eng */
    .upon-custom-template section {
        padding: 56px 0 !important;
    }
    .upon-custom-template section.hero {
        padding-top: 100px !important;
        padding-bottom: 48px !important;
    }
    
    /* Hero-Typo skaliert */
    .upon-custom-template .hero h1 {
        font-size: clamp(36px, 11vw, 56px) !important;
        line-height: 0.98 !important;
        letter-spacing: -0.035em !important;
    }
    .upon-custom-template .hero-lead {
        font-size: 16px !important;
        line-height: 1.55 !important;
    }
    
    /* CTAs full-width stacked */
    .upon-custom-template .hero .cta-row {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }
    .upon-custom-template .hero .cta-row .btn {
        width: 100% !important;
        justify-content: center !important;
    }
    
    /* Hero-Meta einzeilig wrap-fähig */
    .upon-custom-template .hero-meta {
        gap: 6px 16px !important;
        font-size: 11px !important;
        margin-top: 28px !important;
        justify-content: center !important;
    }
    
    /* Section-Headlines */
    .upon-custom-template .sec-title,
    .upon-custom-template .manifesto h2,
    .upon-custom-template .sys-header h2,
    .upon-custom-template .disc-header h2,
    .upon-custom-template .why-header h2,
    .upon-custom-template .blog-header h2,
    .upon-custom-template .fc-inner h2 {
        font-size: clamp(28px, 7vw, 36px) !important;
        line-height: 1.05 !important;
        letter-spacing: -0.025em !important;
    }
    
    /* Compare-Stage: vertikales Stacking, mit klarer Trennung */
    .upon-custom-template .compare-stage {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .upon-custom-template .compare-side {
        padding: 28px 22px !important;
    }
    
    /* Solutions-Grid 1 col */
    .upon-custom-template .sol-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .upon-custom-template .sol-card {
        padding: 24px !important;
    }
    .upon-custom-template .sol-card h3 {
        font-size: 22px !important;
    }
    
    /* Why-Grid 1 col */
    .upon-custom-template .why-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .upon-custom-template .why-card {
        padding: 24px !important;
    }
    
    /* Blog-Grid 1 col */
    .upon-custom-template .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    
    /* Stats-Grid 2 cols (statt 4) */
    .upon-custom-template .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
    .upon-custom-template .stat-cell .num {
        font-size: 56px !important;
    }
    
    /* Manifesto-Bullets 1 col */
    .upon-custom-template .manifesto-bullets {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    
    /* Pills cleaner spacing */
    .upon-custom-template .pills-cloud {
        padding: 20px !important;
        gap: 6px !important;
    }
    .upon-custom-template .pill {
        font-size: 11.5px !important;
        padding: 8px 14px !important;
    }
    .upon-custom-template .pill-legend {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding-left: 4px !important;
    }
    
    /* Sol-Header & Blog-Header stacked */
    .upon-custom-template .sol-header,
    .upon-custom-template .blog-header {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        align-items: flex-start !important;
    }
    
    /* Disciplines-Ticker etwas kompakter */
    .upon-custom-template .ticker-item {
        font-size: 13px !important;
        padding: 0 18px !important;
    }
    
    /* Final-CTA */
    .upon-custom-template .fc-inner h2 {
        font-size: clamp(32px, 9vw, 48px) !important;
    }
    .upon-custom-template .final-cta .cta-row {
        flex-direction: column !important;
        width: 100% !important;
    }
    .upon-custom-template .final-cta .cta-row .btn {
        width: 100% !important;
        justify-content: center !important;
    }
    .upon-custom-template .fc-meta {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: center !important;
    }
}

/* === C) UPON.PUNKT-REGEL ===
   Wenn in einer Headline "UPON" steht, folgt der Punkt direkt — kein
   Whitespace, kein italic, kein Spacing. */

.upon-custom-template .cs-title em,
.upon-custom-template h1 em,
.upon-custom-template h2 em,
.upon-custom-template h3 em {
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: inherit !important;
}

/* "Ohne UPON." — der italic-Punkt soll wie ein normaler Punkt wirken */
.upon-custom-template .cs-title em,
.upon-custom-template .cs-title em:only-of-type {
    font-style: italic !important;
    color: var(--accent) !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    /* Pull dot tight against UPON */
    margin-left: -0.05em !important;
}

/* Allgemein: <em> direkt nach Wort ohne Space (kein word-spacing) */
.upon-custom-template h1, .upon-custom-template h2, .upon-custom-template h3,
.upon-custom-template .cs-title, .upon-custom-template .sec-title {
    word-spacing: normal !important;
}


/* ===========================================================================
   v1.9 — TOPBAR + SUCH-TRIGGER FEINSCHLIFF
   Suchfeld klebt sonst zu sehr am Hero-BG. Lösung:
   - Topbar bekommt von Anfang an dezenten Frosted-Background (kein
     vollständig transparenter Zustand mehr — nur die Intensität ändert
     sich beim Scrollen).
   - Such-Trigger bekommt eigenständigen, subtileren Container-Look.
   =========================================================================== */

/* A) Topbar-Default: leicht milky statt komplett transparent */
.upon-custom-template .topbar {
    background: rgba(12, 12, 13, 0.42) !important;
    backdrop-filter: blur(14px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(140%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Beim Scrollen: solider */
.upon-custom-template .topbar.is-scrolled {
    background: rgba(12, 12, 13, 0.82) !important;
    backdrop-filter: blur(22px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* B) Such-Trigger: eigenständiger, subtilerer Look */
@media (min-width: 981px) {
    .upon-custom-template .topbar .upon-cmd-trigger {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.09) !important;
        color: rgba(255, 255, 255, 0.55) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.04),
            0 1px 2px rgba(0, 0, 0, 0.18) !important;
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
    }
    .upon-custom-template .topbar .upon-cmd-trigger:hover {
        background: rgba(255, 255, 255, 0.09) !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
        color: rgba(255, 255, 255, 0.85) !important;
    }
    .upon-custom-template .topbar .upon-cmd-trigger .upon-cmd-trigger-text {
        color: rgba(255, 255, 255, 0.5) !important;
        font-weight: 400 !important;
    }
    .upon-custom-template .topbar .upon-cmd-trigger:hover .upon-cmd-trigger-text {
        color: rgba(255, 255, 255, 0.75) !important;
    }
    /* Such-Icon dezenter */
    .upon-custom-template .topbar .upon-cmd-trigger svg {
        opacity: 0.55 !important;
    }
    .upon-custom-template .topbar .upon-cmd-trigger:hover svg {
        opacity: 0.85 !important;
    }
    /* ⌘K-Kbd dezenter */
    .upon-custom-template .topbar .upon-cmd-trigger .upon-cmd-kbd {
        background: rgba(255, 255, 255, 0.06) !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        color: rgba(255, 255, 255, 0.45) !important;
    }
}


/* ===========================================================================
   v2.0 — MOBILE-PASS FÜR CONSTELLATION (Compare-Stage "Ohne UPON / Mit UPON")
   ===========================================================================
   Problem: Auf Mobile bleibt die Constellation absolute-positioniertes
   Quadrat (max-width: 320px) — Labels überlappen, KPI klebt am Rand,
   Diagramm ist als Mini-Version unleserlich.
   
   Lösung (übernommen aus Standalone-Entwurf): Constellation wird zur
   VERTIKALEN LISTE umgebaut — KPI oben, Center-Node, Connector-Linie,
   dann Nodes als Flex-Wrap-Pills mit Label rechts neben Dot.
   =========================================================================== */

@media (max-width: 720px) {
    
    /* Compare-Side Padding ein bisschen großzügiger als bisher */
    .upon-custom-template .compare-side {
        padding: 32px 22px !important;
    }
    
    /* Constellation: aus dem Quadrat-Käfig befreien */
    .upon-custom-template .constellation {
        position: relative !important;
        aspect-ratio: auto !important;
        max-width: none !important;
        width: 100% !important;
        margin: 28px 0 0 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 14px !important;
    }
    
    /* SVG-Verbindungslinien: auf Mobile aus */
    .upon-custom-template .const-svg {
        display: none !important;
    }
    
    /* Center-Node: aus absolute raus, in den Fluss */
    .upon-custom-template .compare-side .center-node {
        position: static !important;
        transform: none !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }
    .upon-custom-template .compare-side .center-node::before {
        display: none !important;
    }
    
    /* KPI-Cockpit: aus absolute raus, ganz oben in den Fluss */
    .upon-custom-template .compare-side .kpi-cockpit {
        position: static !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 0 6px 0 !important;
        order: -1 !important;
        animation: none !important;
    }
    .upon-custom-template .compare-side .kpi-cockpit::before {
        display: none !important;
    }
    
    /* Connector-Linie zwischen KPI/Center und Nodes-Liste */
    .upon-custom-template .left-side .constellation::after,
    .upon-custom-template .right-side .constellation::after {
        content: "" !important;
        width: 1px !important;
        height: 24px !important;
        background: linear-gradient(to bottom, var(--orange, #f7a600), transparent) !important;
        opacity: 0.5 !important;
        display: block !important;
        margin: 4px 0 !important;
    }
    
    /* Nodes: aus absolute raus, als Pill mit Dot+Label nebeneinander */
    .upon-custom-template .compare-side .node {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 9px !important;
        padding: 7px 14px !important;
        background: rgba(255, 255, 255, 0.04) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 999px !important;
        margin: 0 !important;
    }
    .upon-custom-template .compare-side .node:hover {
        transform: none !important;
    }
    .upon-custom-template .compare-side .node-dot {
        width: 9px !important;
        height: 9px !important;
        flex-shrink: 0 !important;
        border-width: 0 !important;
        position: static !important;
    }
    
    /* Labels: aus absolute raus, direkt neben dem Dot */
    .upon-custom-template .compare-side .node-label {
        position: static !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        font-size: 11.5px !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        text-shadow: none !important;
        text-align: left !important;
        color: rgba(255, 255, 255, 0.85) !important;
        font-weight: 500 !important;
    }
    .upon-custom-template .compare-side .node-label br {
        display: none !important;
    }
    
    /* Nodes-Container: Flex-Wrap als zentrierte Pill-Wolke */
    .upon-custom-template .compare-side .constellation {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    /* Order: KPI (-1) → Center (1) → Connector (via ::after, aber ::after kann nicht order'd werden, daher visuell durch die Flex-Reihenfolge) */
    .upon-custom-template .compare-side .kpi-cockpit { order: -1 !important; }
    .upon-custom-template .compare-side .center-node { order: 1 !important; }
    .upon-custom-template .compare-side .node { order: 6 !important; }
    
    /* Linke Seite: dezentere Node-Borders, leicht "kaputter" Eindruck via opacity */
    .upon-custom-template .left-side .node {
        background: rgba(255, 255, 255, 0.025) !important;
        border-color: rgba(255, 255, 255, 0.06) !important;
        opacity: 0.85 !important;
    }
    .upon-custom-template .left-side .node-label {
        color: rgba(255, 255, 255, 0.6) !important;
    }
    
    /* Outcome-Box deutlich abgesetzt unter den Nodes */
    .upon-custom-template .outcome {
        margin-top: 24px !important;
        padding: 18px 20px !important;
        font-size: 13.5px !important;
        line-height: 1.5 !important;
    }
}

/* Sehr schmale Geräte: noch kompakter */
@media (max-width: 380px) {
    .upon-custom-template .compare-side .node {
        padding: 6px 12px !important;
        gap: 8px !important;
    }
    .upon-custom-template .compare-side .node-label {
        font-size: 10.5px !important;
    }
    .upon-custom-template .compare-side .constellation {
        gap: 10px !important;
    }
}

/* ===========================================================================
   v2.0 — Weitere Mobile-Designbruch-Fixes
   =========================================================================== */
@media (max-width: 720px) {
    /* Hero-Meta: in Spalte stacked, nicht überlappend */
    .upon-custom-template .hero-meta {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 6px 14px !important;
        font-size: 11px !important;
    }
    
    /* Sys-Header H2: Linebreak-Steuerung */
    .upon-custom-template .sys-header h2,
    .upon-custom-template .sec-title {
        text-wrap: balance !important;
    }
    
    /* Eyebrow zentriert auf Mobile */
    .upon-custom-template .eyebrow.center,
    .upon-custom-template .sys-header .eyebrow {
        font-size: 10.5px !important;
        letter-spacing: 0.18em !important;
    }
    
    /* Take-away Block (sys-takeaway) hat oft viel Padding, schrumpfen */
    .upon-custom-template .sys-takeaway {
        padding: 28px 22px !important;
        margin-top: 32px !important;
    }
    .upon-custom-template .sys-takeaway .qline {
        font-size: 16px !important;
        line-height: 1.45 !important;
    }
    
    /* Pills/Disciplines: kompakteres Padding */
    .upon-custom-template .pills-cloud,
    .upon-custom-template .disc-cloud {
        padding: 18px !important;
    }
}


/* ===========================================================================
   v2.1 — WP-ADMIN-BAR FIX + TRANSPARENTER HEADER (Desktop + Mobile)
   ===========================================================================
   1) Admin-Bar (28-46px hoch, body.admin-bar) verdeckte die Topbar.
      Lösung: Topbar startet bei 32px (Desktop) / 46px (Mobile <783px).
   2) Header transparent über Hero — auf allen Viewports.
      Beim Scroll bekommt er Frosted-Background.
   =========================================================================== */

/* === Admin-Bar Offset === */
body.admin-bar.upon-custom-template .topbar {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar.upon-custom-template .topbar {
        top: 46px !important;
    }
}

/* === Header KOMPLETT transparent über Hero (Default-Zustand) === */
.upon-custom-template .topbar {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid transparent !important;
    box-shadow: none !important;
    transition: background 280ms ease, backdrop-filter 280ms ease, border-color 280ms ease, box-shadow 280ms ease !important;
}

/* Beim Scrollen: dezent solider mit Frost */
.upon-custom-template .topbar.is-scrolled {
    background: rgba(12, 12, 13, 0.72) !important;
    backdrop-filter: blur(22px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(22px) saturate(150%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

/* Such-Trigger über transparentem Header etwas eigenständiger */
@media (min-width: 981px) {
    .upon-custom-template .topbar .upon-cmd-trigger {
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid rgba(255, 255, 255, 0.10) !important;
        backdrop-filter: blur(12px) saturate(140%) !important;
        -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
    }
}

/* Mobile Burger-Btn auf transparentem Header gut sichtbar */
@media (max-width: 980px) {
    .upon-custom-template .topbar .menu-btn span {
        background: var(--white) !important;
    }
    /* Logo bleibt klar */
    .upon-custom-template .topbar .logo {
        text-shadow: 0 1px 8px rgba(0,0,0,0.3) !important;
    }
}


/* ===========================================================================
   v2.2 — TYPOGRAFIE-SKALA + DIAGRAMM-ALIGN + STATS-PADDING + SOL-CARD-NUM
   ===========================================================================
   Konsolidiert die Schriftgrößen auf 3 Display-Stufen, alignt die beiden
   Diagramme horizontal, fixt sol-card Nummer-Position und stats-band Top-Padding.
   =========================================================================== */

/* === A) DISPLAY-TYPOGRAFIE: 3 Stufen, einheitlich =============================
   --display-xl: Hero & Final-CTA Hauptheadlines (clamp 40-92px)
   --display-l : Section-Titles (clamp 32-56px)
   --display-m : Sub-Titles / Stats-Numbers (clamp 28-44px)
   ============================================================================= */
:root {
    --display-xl: clamp(40px, 7.5vw, 92px);
    --display-l:  clamp(32px, 5vw, 56px);
    --display-m:  clamp(24px, 3vw, 38px);
    --display-s:  clamp(18px, 1.8vw, 22px);
}

/* Hero & Final-CTA: XL */
.upon-custom-template .hero h1,
.upon-custom-template .fc-inner h2 {
    font-size: var(--display-xl) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.04em !important;
}

/* Section-Titles: L */
.upon-custom-template .sec-title,
.upon-custom-template .manifesto h2,
.upon-custom-template .sys-header h2,
.upon-custom-template .compare-h2,
.upon-custom-template .disc-header h2,
.upon-custom-template .why-header h2,
.upon-custom-template .blog-header h2 {
    font-size: var(--display-l) !important;
    line-height: 1.0 !important;
    letter-spacing: -0.03em !important;
}

/* Sub-Titles / Numbers: M */
.upon-custom-template .stat-cell .num,
.upon-custom-template .why-card .wc-num,
.upon-custom-template .sol-card .sol-num,
.upon-custom-template .cs-title,
.upon-custom-template .center-node {
    font-size: var(--display-m) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.035em !important;
}

/* Stats-Numbers etwas größer als generic M (sie sind "die Stars" des Bandes) */
.upon-custom-template .stat-cell .num {
    font-size: clamp(36px, 4.5vw, 56px) !important;
}

/* Mobile: alle Display-Sizes etwas runter */
@media (max-width: 720px) {
    :root {
        --display-xl: clamp(36px, 11vw, 52px);
        --display-l:  clamp(26px, 7vw, 34px);
        --display-m:  clamp(22px, 5.5vw, 28px);
    }
    .upon-custom-template .stat-cell .num {
        font-size: clamp(32px, 9vw, 44px) !important;
    }
}

/* === B) UPON-PUNKT EINHEITLICH ===============================================
   Drei Stellen-Varianten existieren: <em>.</em>, <span class="dot">.</span>,
   und cs-title <em>. Alle sollen identisch wirken: orange, baseline, kein
   italic, normales Gewicht (kein font-weight light), tight an den Vorgänger. */
.upon-custom-template h1 em,
.upon-custom-template h1 .dot,
.upon-custom-template h1 span.dot,
.upon-custom-template h2 em,
.upon-custom-template h2 .dot,
.upon-custom-template h2 span.dot,
.upon-custom-template h3 em,
.upon-custom-template .cs-title em,
.upon-custom-template .qline em {
    font-weight: inherit !important;
}

/* Der reine Punkt-Glyph (<em>.</em> oder <span class="dot">.</span>) bleibt
   orange — aber NICHT italic, sondern aufrecht & gleiche Stärke wie das Wort
   davor. So wirkt er wie ein echter Punkt. */
.upon-custom-template h1 em:only-child,
.upon-custom-template h2 em:only-child,
.upon-custom-template h3 em:only-child,
.upon-custom-template .cs-title em,
.upon-custom-template span.dot {
    font-style: normal !important;
    color: var(--accent) !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    font-weight: inherit !important;
}

/* Aber WICHTIG: <em>Punkt</em>, <em>Moment</em>, <em>Zusammenspiel</em> etc.
   (mehrbuchstabig) bleiben italic und light — nur der Single-Char-Dot ist normal.
   :only-child trifft beides; deswegen Override für Multi-Char via attr-selector
   nicht möglich. Lösung: text-content-Length prüfen ist nicht in CSS.
   Stattdessen: kennzeichne italic-em explizit. */

/* Multi-Char <em> in Headlines: italic light orange (das ist V2-Default) */
.upon-custom-template h1 em:not(.dot-glyph),
.upon-custom-template h2 em:not(.dot-glyph),
.upon-custom-template h3 em:not(.dot-glyph),
.upon-custom-template .qline em:not(.dot-glyph) {
    font-style: italic !important;
    font-weight: 300 !important;
    color: var(--accent) !important;
}

/* :only-child <em> (i.e. <em>.</em> alone) — normal weight & style */
.upon-custom-template h1 em:only-child,
.upon-custom-template h2 em:only-child,
.upon-custom-template h3 em:only-child {
    font-style: normal !important;
    font-weight: inherit !important;
}

/* === C) DIAGRAMM HORIZONTAL ALIGNED =========================================
   Beide compare-side Container müssen gleich hoch sein, damit die
   .constellation (und damit das KUNDE-center) auf gleicher Höhe sitzt. */
.upon-custom-template .compare-stage {
    align-items: stretch !important;
}
.upon-custom-template .compare-side {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 100% !important;
}
/* Constellation-Wrapper soll gleich groß sein UND auf gleicher Y-Position */
.upon-custom-template .compare-side .constellation {
    margin-top: auto !important;
    margin-bottom: auto !important;
    align-self: center !important;
    aspect-ratio: 1 / 1 !important;
}
/* Beide Constellations: gleiche max-width, deterministisch */
.upon-custom-template .compare-side .constellation {
    max-width: min(440px, 85%) !important;
    width: 100% !important;
}

/* Mobile: vertikales Layout, beide Diagramme gleich behandelt */
@media (max-width: 720px) {
    .upon-custom-template .compare-side .constellation {
        max-width: 100% !important;
        aspect-ratio: auto !important;
    }
}

/* === D) SOL-CARD NUMBER POSITION ============================================
   Die Nummer "1, 2, 3, 4" klebte am oberen Rand. Mehr Padding-Top + 
   margin-top auf die Nummer selbst. */
.upon-custom-template .sol-card {
    padding-top: clamp(36px, 4vw, 56px) !important;
}
.upon-custom-template .sol-card .sol-num {
    margin-top: 0 !important;
    margin-bottom: 24px !important;
    line-height: 1 !important;
    font-weight: 300 !important;
    color: var(--accent) !important;
}

/* === E) STATS-BAND PADDING-TOP =============================================
   War zu viel weil Disciplines-Section bereits viel padding-bottom hat. */
.upon-custom-template .stats-band {
    padding-top: clamp(28px, 3vw, 44px) !important;
    padding-bottom: clamp(28px, 3vw, 44px) !important;
    margin-top: 0 !important;
}
/* Disciplines selbst auch bottom-padding kleiner damit visueller Rhythmus stimmt */
.upon-custom-template .disciplines {
    padding-bottom: clamp(48px, 6vw, 80px) !important;
}


/* ===========================================================================
   v2.3 — Header-Text + Hero-Padding + Diagram Vertical Align +
          Sol-Card Header + Stats-Band Padding + Eyebrow→H2 Spacing
   =========================================================================== */

/* === 1) Hero Desktop Padding-Top reduzieren === */
@media (min-width: 769px) {
    .upon-custom-template section.hero,
    .upon-custom-template .upon-main section.hero:first-child {
        padding-top: clamp(96px, 10vw, 150px) !important;
    }
}

/* === 2) Diagramm-Stage: vertikales Align der KUNDE-Kreise ===
   Beide compare-sides als grid mit definierten Rows: Header / Body /
   Footer. Constellation füllt Body-Row und der Center-Node steht
   absolut zentriert auf gleicher Y-Achse. */
@media (min-width: 1081px) {
    .upon-custom-template .compare-side {
        display: grid !important;
        grid-template-rows: auto 1fr auto !important;
    }
    .upon-custom-template .compare-side > .cs-tag {
        grid-row: 1 !important;
    }
    .upon-custom-template .compare-side > .cs-title,
    .upon-custom-template .compare-side > .cs-desc {
        grid-row: 1 !important;
    }
    /* Stelle sicher dass Header-Block (Tag, Title, Desc) zusammen oben sitzt */
    .upon-custom-template .compare-side {
        grid-template-rows: auto auto auto 1fr auto !important;
    }
    .upon-custom-template .compare-side > .cs-tag        { grid-row: 1 !important; }
    .upon-custom-template .compare-side > .cs-title      { grid-row: 2 !important; }
    .upon-custom-template .compare-side > .cs-desc       { grid-row: 3 !important; }
    .upon-custom-template .compare-side > .constellation { grid-row: 4 !important; align-self: center !important; }
    .upon-custom-template .compare-side > .outcome       { grid-row: 5 !important; }
    
    /* Constellation: aspect ratio konstant, Center via absolute auf 50%/50% */
    .upon-custom-template .compare-side .constellation {
        aspect-ratio: 1 / 1 !important;
        max-width: 460px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
    /* KUNDE-Kreis (center-node) in beiden Sides exakt mittig */
    .upon-custom-template .compare-side .center-node {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
    }
}

/* === 3) Sol-Card: Nummer "01" mehr Abstand vom Rahmen ===
   Plus mehr Headroom zum H3-Titel. */
.upon-custom-template .sol-card .sol-num,
.upon-custom-template .sol-card[data-num]::before {
    margin-top: 8px !important;
    margin-bottom: 22px !important;
}
.upon-custom-template .sol-card {
    padding-top: 36px !important;
}
.upon-custom-template .sol-card .sol-num {
    display: block !important;
    margin-bottom: 28px !important;
    line-height: 1 !important;
}
.upon-custom-template .sol-card h3 {
    margin-top: 0 !important;
    padding-top: 4px !important;
}

/* === 4) Stats-Band: weniger Top-Padding (klebt zu weit unten) === */
.upon-custom-template .stats-band,
.upon-custom-template section.stats-band,
.upon-custom-template .stats {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
    margin-top: 0 !important;
}
@media (max-width: 720px) {
    .upon-custom-template .stats-band,
    .upon-custom-template section.stats-band,
    .upon-custom-template .stats {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }
}
/* Manifesto-Sektion (mit dem "Genau das unterscheidet uns…" Text) auch
   nicht zuviel padding-bottom, damit Stats-Band nicht "abgehängt" wirkt */
.upon-custom-template .manifesto,
.upon-custom-template section.manifesto {
    padding-bottom: clamp(40px, 5vw, 72px) !important;
}

/* === 5) Eyebrow→H2 Spacing einheitlich (überall identisch) ===
   Eine harte Regel für alle Section-Header. */
.upon-custom-template .eyebrow,
.upon-custom-template .sys-header .eyebrow,
.upon-custom-template .sol-header .eyebrow,
.upon-custom-template .why-header .eyebrow,
.upon-custom-template .blog-header .eyebrow,
.upon-custom-template .disc-header .eyebrow,
.upon-custom-template .manifesto .eyebrow,
.upon-custom-template .hero .eyebrow {
    margin-bottom: 24px !important;
    display: inline-flex !important;
}
.upon-custom-template .sys-header h2,
.upon-custom-template .sol-header h2,
.upon-custom-template .why-header h2,
.upon-custom-template .blog-header h2,
.upon-custom-template .disc-header h2,
.upon-custom-template .manifesto h2,
.upon-custom-template .sec-title {
    margin-top: 0 !important;
}

/* Mobile: etwas kompakter */
@media (max-width: 720px) {
    .upon-custom-template .eyebrow,
    .upon-custom-template .sys-header .eyebrow,
    .upon-custom-template .sol-header .eyebrow,
    .upon-custom-template .why-header .eyebrow,
    .upon-custom-template .blog-header .eyebrow,
    .upon-custom-template .disc-header .eyebrow,
    .upon-custom-template .manifesto .eyebrow,
    .upon-custom-template .hero .eyebrow {
        margin-bottom: 18px !important;
    }
}


/* ===========================================================================
   v2.4 — Stats-Band Container, Sol-Card Header, cs-tag (Pill-Style),
          cs-mark entfernen
   =========================================================================== */

/* === 1) Stats-Band: kein eigener "Card"-Container mit Border ===
   Aktuell rendert er eine schwarze Box mit Border, die mit Abstand
   zum Section-Anfang sitzt. Soll als saubere, breitenfüllende Reihe
   wirken, direkt unter dem Manifest. */
.upon-custom-template .stats-band,
.upon-custom-template section.stats-band {
    padding-top: 0 !important;
    padding-bottom: clamp(40px, 5vw, 64px) !important;
    margin-top: 0 !important;
    background: transparent !important;
    border: none !important;
}
.upon-custom-template .stats-band .container {
    padding-top: 0 !important;
}
.upon-custom-template .stats-band .stats-grid {
    background: transparent !important;
    border: none !important;
    border-top: 1px solid rgba(255,255,255,0.07) !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    border-radius: 0 !important;
    padding: 32px 0 !important;
    box-shadow: none !important;
}
@media (max-width: 720px) {
    .upon-custom-template .stats-band .stats-grid {
        padding: 24px 0 !important;
    }
}

/* === 2) Sol-Card Header: "01 ." soll mehr Atemraum + sauberere Struktur ===
   Pseudo-Element für die Linie (rechts neben "01 .") sitzt zu eng am Top. */
.upon-custom-template .sol-card {
    padding-top: 28px !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
}
.upon-custom-template .sol-card .sol-num,
.upon-custom-template .sol-card .sol-head {
    margin-top: 4px !important;
    margin-bottom: 32px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}
.upon-custom-template .sol-card h3 {
    margin-top: 8px !important;
}

/* === 3) cs-tag: schmale Pill statt voller Spaltenbreite ===
   Aktuell: align-self stretch — soll inline-flex / auto-width sein. */
.upon-custom-template .cs-tag,
.upon-custom-template .compare-side .cs-tag {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    align-self: flex-start !important;
    width: auto !important;
    max-width: max-content !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    font-family: 'Unbounded', sans-serif !important;
    font-size: 11px !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    color: rgba(255,255,255,0.7) !important;
}
.upon-custom-template .cs-tag.good {
    border-color: rgba(247, 166, 0, 0.45) !important;
    background: rgba(247, 166, 0, 0.05) !important;
    color: var(--orange, #f7a600) !important;
}
.upon-custom-template .cs-tag .dotmark {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: currentColor !important;
    flex-shrink: 0 !important;
}

/* === 4) cs-mark (orange Quadrat nach "Digital Solution") ENTFERNEN === */
.upon-custom-template .cs-title .cs-mark,
.upon-custom-template .compare-side.right .cs-title .cs-mark {
    display: none !important;
}


/* ===========================================================================
   v2.5 — Sol-Cards 100% einheitlich (Card 01 vs 02 inconsistent)
   ===========================================================================
   Aktuell: Card 01 hat Background + Border, Card 02 ist transparent.
   Vermutlich greift ein nth-child / data-num / odd-Selektor o.ä.
   Lösung: ALLE sol-cards bekommen identischen Card-Style hart per
   !important durchgesetzt — keine Sonderbehandlung der ersten/letzten.
   =========================================================================== */

.upon-custom-template .sol-card,
.upon-custom-template .sol-card:nth-child(odd),
.upon-custom-template .sol-card:nth-child(even),
.upon-custom-template .sol-card:first-child,
.upon-custom-template .sol-card:last-child,
.upon-custom-template .sol-card[data-featured],
.upon-custom-template .sol-card[data-num] {
    background: rgba(255, 255, 255, 0.025) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 20px !important;
    padding: 32px 28px !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.upon-custom-template .sol-card:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}

/* Innere Struktur einheitlich: Nummer-Header, H3, Text, Tags, Link */
.upon-custom-template .sol-card .sol-num,
.upon-custom-template .sol-card .sol-head {
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    color: rgba(255,255,255,0.45) !important;
    font-family: 'Unbounded', sans-serif !important;
    font-size: 12px !important;
    letter-spacing: 0.18em !important;
    font-weight: 500 !important;
}

.upon-custom-template .sol-card h3 {
    margin: 0 0 14px 0 !important;
    font-size: clamp(22px, 2.2vw, 28px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    font-weight: 700 !important;
    color: var(--white, #fff) !important;
}

.upon-custom-template .sol-card .sol-desc,
.upon-custom-template .sol-card > p {
    margin: 0 0 22px 0 !important;
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    color: rgba(255,255,255,0.7) !important;
}

/* Tags / Pills im Card */
.upon-custom-template .sol-card .sol-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 0 28px 0 !important;
}
.upon-custom-template .sol-card .sol-tags .tag,
.upon-custom-template .sol-card .sol-tags > span {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 12px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    font-size: 11.5px !important;
    color: rgba(255,255,255,0.7) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    font-weight: 500 !important;
}

/* "Mehr erfahren →" link einheitlich */
.upon-custom-template .sol-card .sol-link,
.upon-custom-template .sol-card .sol-cta,
.upon-custom-template .sol-card a:not(.btn) {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: var(--orange, #f7a600) !important;
    font-family: 'Unbounded', sans-serif !important;
    font-size: 12px !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    margin-top: auto !important;
}

/* Sol-Card als Flex-Column, damit "Mehr erfahren" unten ausgerichtet ist */
.upon-custom-template .sol-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 320px !important;
}

/* Mobile etwas kompakter */
@media (max-width: 720px) {
    .upon-custom-template .sol-card,
    .upon-custom-template .sol-card:nth-child(odd),
    .upon-custom-template .sol-card:nth-child(even) {
        padding: 26px 22px !important;
        min-height: auto !important;
    }
    .upon-custom-template .sol-card h3 {
        font-size: 22px !important;
    }
}


/* ===========================================================================
   v2.6 — Stats-Band einheitlich (3. Zelle hat Background-Block)
   =========================================================================== */

.upon-custom-template .stats-band .stat-cell,
.upon-custom-template .stats-band .stat,
.upon-custom-template .stats-grid > *,
.upon-custom-template .stats-band .stat-cell:nth-child(odd),
.upon-custom-template .stats-band .stat-cell:nth-child(even),
.upon-custom-template .stats-band .stat-cell:first-child,
.upon-custom-template .stats-band .stat-cell:last-child,
.upon-custom-template .stats-band .stat-cell[data-featured],
.upon-custom-template .stats-band .stat-cell.featured,
.upon-custom-template .stats-band .stat-cell.highlight {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Optional: dezente vertikale Trennlinien zwischen den Zellen */
.upon-custom-template .stats-band .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0 !important;
}
.upon-custom-template .stats-band .stat-cell {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
    padding: 8px 16px !important;
    border-right: 1px solid rgba(255,255,255,0.06) !important;
}
.upon-custom-template .stats-band .stat-cell:last-child {
    border-right: none !important;
}

@media (max-width: 720px) {
    .upon-custom-template .stats-band .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px 0 !important;
    }
    .upon-custom-template .stats-band .stat-cell {
        border-right: none !important;
    }
    .upon-custom-template .stats-band .stat-cell:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,0.06) !important;
    }
}


/* ===========================================================================
   v2.7 — Sol-Card Header (.sc-num) + Harter Mobile-Pass
   =========================================================================== */

/* === 1) .sc-num richtige Klasse + saubere Top-Spacing === */
.upon-custom-template .sol-card {
    padding: 36px 28px !important;
}

.upon-custom-template .sol-card .sc-num {
    margin: 0 0 36px 0 !important;
    color: rgba(255,255,255,0.45) !important;
    font-family: 'Unbounded', sans-serif !important;
    font-size: 12px !important;
    letter-spacing: 0.18em !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

/* Falls trennlinie als ::after — sauber positionieren */
.upon-custom-template .sol-card .sc-num::after {
    margin-left: 12px !important;
    margin-top: 0 !important;
    vertical-align: middle !important;
}

/* === 2) Stats: PAUSCHALE-Zelle sicher transparent (Selektor noch breiter) === */
.upon-custom-template .stats-band *,
.upon-custom-template .stats-grid * {
    background-image: none !important;
}
.upon-custom-template .stats-band .stat-cell,
.upon-custom-template .stats-band .stat-cell > *,
.upon-custom-template .stats-band .stat-cell > div,
.upon-custom-template .stats-band .stat-cell > article,
.upon-custom-template .stats-grid > article,
.upon-custom-template .stats-grid > div {
    background-color: transparent !important;
    background: transparent !important;
}

/* === 3) HARTER MOBILE-PASS (alle Sektionen) === */
@media (max-width: 720px) {
    /* Container */
    .upon-custom-template .container,
    .upon-custom-template .container-wide {
        padding-left: 20px !important;
        padding-right: 20px !important;
        max-width: 100% !important;
    }
    
    /* Sektionen — einheitliches Padding */
    .upon-custom-template section {
        padding-top: 56px !important;
        padding-bottom: 56px !important;
    }
    .upon-custom-template section.hero {
        padding-top: 88px !important;
        padding-bottom: 48px !important;
    }
    .upon-custom-template section.stats-band {
        padding-top: 0 !important;
        padding-bottom: 40px !important;
    }
    
    /* Hero Typo */
    .upon-custom-template .hero h1 {
        font-size: clamp(34px, 11vw, 52px) !important;
        line-height: 1.0 !important;
        letter-spacing: -0.035em !important;
    }
    .upon-custom-template .hero-lead,
    .upon-custom-template .hero p:not(.eyebrow) {
        font-size: 15.5px !important;
        line-height: 1.55 !important;
        max-width: 100% !important;
    }
    .upon-custom-template .hero .eyebrow {
        font-size: 10.5px !important;
    }
    
    /* CTAs full-width stacked */
    .upon-custom-template .hero .cta-row,
    .upon-custom-template .final-cta .cta-row {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .upon-custom-template .hero .cta-row .btn,
    .upon-custom-template .final-cta .cta-row .btn {
        width: 100% !important;
        justify-content: center !important;
    }
    
    /* Section-Headlines einheitlich */
    .upon-custom-template .sec-title,
    .upon-custom-template .sys-header h2,
    .upon-custom-template .sol-header h2,
    .upon-custom-template .why-header h2,
    .upon-custom-template .blog-header h2,
    .upon-custom-template .disc-header h2,
    .upon-custom-template .manifesto h2,
    .upon-custom-template .fc-inner h2 {
        font-size: clamp(28px, 7.5vw, 38px) !important;
        line-height: 1.05 !important;
        letter-spacing: -0.025em !important;
        margin-bottom: 16px !important;
    }
    
    /* Eyebrow → H2 Abstand einheitlich */
    .upon-custom-template .eyebrow {
        margin-bottom: 16px !important;
    }
    
    /* Sol-Cards 1col, sauberer Padding */
    .upon-custom-template .sol-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .upon-custom-template .sol-card {
        padding: 28px 22px !important;
        min-height: auto !important;
    }
    .upon-custom-template .sol-card h3 {
        font-size: 22px !important;
        margin-bottom: 12px !important;
    }
    .upon-custom-template .sol-card .sc-num {
        margin-bottom: 22px !important;
    }
    
    /* Why-Cards 1col */
    .upon-custom-template .why-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .upon-custom-template .why-card {
        padding: 26px 22px !important;
    }
    
    /* Blog-Grid 1col */
    .upon-custom-template .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }
    
    /* Stats 2col, kein Card-Block */
    .upon-custom-template .stats-band .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 32px 0 !important;
        padding: 24px 0 !important;
    }
    .upon-custom-template .stats-band .stat-cell {
        padding: 0 12px !important;
    }
    .upon-custom-template .stats-band .stat-cell .num,
    .upon-custom-template .stats-band .stat-cell strong {
        font-size: 48px !important;
    }
    
    /* Compare-Stage 1col mit Karten-Border */
    .upon-custom-template .compare-stage {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .upon-custom-template .compare-side {
        padding: 28px 22px !important;
        border-radius: 18px !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
    }
    .upon-custom-template .compare-side.right {
        border-color: rgba(247, 166, 0, 0.25) !important;
    }
    .upon-custom-template .compare-stage::before {
        display: none !important;
    }
    
    /* cs-title kleiner */
    .upon-custom-template .cs-title {
        font-size: 26px !important;
    }
    .upon-custom-template .cs-desc {
        font-size: 14px !important;
    }
    
    /* Footer Stats / Final-CTA Meta */
    .upon-custom-template .fc-meta {
        flex-direction: column !important;
        gap: 8px !important;
        align-items: center !important;
    }
    
    /* Pills cleaner */
    .upon-custom-template .pills-cloud,
    .upon-custom-template .disc-cloud {
        padding: 18px !important;
        gap: 6px !important;
    }
    .upon-custom-template .pill {
        font-size: 11.5px !important;
        padding: 7px 13px !important;
    }
    
    /* Sys-Takeaway weniger Padding */
    .upon-custom-template .sys-takeaway {
        padding: 24px 20px !important;
        margin-top: 24px !important;
    }
    
    /* Sol-Header & Blog-Header stacked */
    .upon-custom-template .sol-header,
    .upon-custom-template .blog-header {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        align-items: flex-start !important;
    }
    
    /* Manifesto-Bullets 1col */
    .upon-custom-template .manifesto-bullets {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }
    
    /* Disciplines Ticker kompakter */
    .upon-custom-template .ticker-item {
        font-size: 13px !important;
        padding: 0 16px !important;
    }
}

/* Sehr schmale Geräte */
@media (max-width: 380px) {
    .upon-custom-template .container,
    .upon-custom-template .container-wide {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .upon-custom-template .sol-card,
    .upon-custom-template .why-card,
    .upon-custom-template .compare-side {
        padding: 22px 18px !important;
    }
    .upon-custom-template .hero h1 {
        font-size: 30px !important;
    }
}


/* ===========================================================================
   v2.8 — Constellation Icons + KPI-Cockpit lesbar machen
   ===========================================================================
   Problem: "KPI Cockpit"-Text war zu klein und verschwommen im kleinen Kreis.
   Lösung: Icon statt zwei Textzeilen. Plus: Service-Nodes bekommen alle
   passende SVG-Icons als ::before-Maske. Hub = Kunde-Symbol.
   =========================================================================== */

/* === KPI-Cockpit: Icon statt Text === */
.upon-custom-template .kpi-cockpit {
    background: var(--orange) !important;
}
.upon-custom-template .kpi-cockpit b,
.upon-custom-template .kpi-cockpit span {
    display: none !important;
}
.upon-custom-template .kpi-cockpit::after {
    content: "" !important;
    position: absolute !important;
    inset: 22% !important;
    background-color: #141414 !important;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 3v18h18'/><path d='M7 14l3-3 3 3 5-5'/><circle cx='18' cy='9' r='1.5' fill='black'/></svg>") center/contain no-repeat !important;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 3v18h18'/><path d='M7 14l3-3 3 3 5-5'/><circle cx='18' cy='9' r='1.5' fill='black'/></svg>") center/contain no-repeat !important;
}

/* KPI-Label kommt nun als externes Pill unter dem Kreis */
.upon-custom-template .kpi-cockpit::before {
    content: "KPI · COCKPIT" !important;
    position: absolute !important;
    inset: auto !important;
    top: calc(100% + 6px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: rgba(247,166,0,0.12) !important;
    border: 1px solid rgba(247,166,0,0.4) !important;
    border-radius: 100px !important;
    padding: 3px 9px !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 8.5px !important;
    font-weight: 700 !important;
    color: var(--orange) !important;
    letter-spacing: 0.18em !important;
    white-space: nowrap !important;
    z-index: 12 !important;
    filter: none !important;
}

/* === Center Node (Kunde) bekommt User-Icon === */
.upon-custom-template .compare-side .center-node .hub-orb::before,
.upon-custom-template .compare-side .center-node:not(.hub) span + ::after {
    /* fallback handled below via explicit rule */
}

/* Right side hub orb: Icon + Beschriftung sauber */
.upon-custom-template .compare-side.right .hub-orb .h-tag,
.upon-custom-template .compare-side.right .hub-orb .h-name {
    position: relative !important;
    z-index: 3 !important;
}

/* === Service-Nodes: SVG-Icons als zentrierter Glyph === */
.upon-custom-template .node .node-dot {
    position: relative !important;
    overflow: hidden !important;
}
.upon-custom-template .node .node-dot::after {
    content: "" !important;
    position: absolute !important;
    inset: 22% !important;
    background-color: rgba(0,0,0,0.78) !important;
    -webkit-mask-position: center !important;
    mask-position: center !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: contain !important;
    mask-size: contain !important;
    pointer-events: none !important;
}

/* Icon-Definitionen pro Node-ID — geteilt links & rechts wo sinnvoll */

/* Website / Newsletter — Globus */
.upon-custom-template .node-l1 .node-dot::after,
.upon-custom-template .node-r1 .node-dot::after {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><circle cx='12' cy='12' r='9'/><path d='M3 12h18M12 3a14 14 0 010 18M12 3a14 14 0 000 18'/></svg>") !important;
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><circle cx='12' cy='12' r='9'/><path d='M3 12h18M12 3a14 14 0 010 18M12 3a14 14 0 000 18'/></svg>") !important;
}

/* Social Media / Google Ads — Chat-Bubble */
.upon-custom-template .node-l2 .node-dot::after,
.upon-custom-template .node-r2 .node-dot::after {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 11.5a8.5 8.5 0 01-12.6 7.4L3 21l2.1-5.4A8.5 8.5 0 1121 11.5z'/></svg>") !important;
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 11.5a8.5 8.5 0 01-12.6 7.4L3 21l2.1-5.4A8.5 8.5 0 1121 11.5z'/></svg>") !important;
}

/* SEA/SEO / Meta — Lupe */
.upon-custom-template .node-l3 .node-dot::after,
.upon-custom-template .node-r3 .node-dot::after {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='m21 21-4.3-4.3'/></svg>") !important;
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='m21 21-4.3-4.3'/></svg>") !important;
}

/* UGC Plattform / Influencer — Kamera */
.upon-custom-template .node-l4 .node-dot::after,
.upon-custom-template .node-r4 .node-dot::after {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8h3l2-3h8l2 3h3v11H3z'/><circle cx='12' cy='13' r='4'/></svg>") !important;
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8h3l2-3h8l2 3h3v11H3z'/><circle cx='12' cy='13' r='4'/></svg>") !important;
}

/* CRM — Datenbank */
.upon-custom-template .node-l5 .node-dot::after,
.upon-custom-template .node-r5 .node-dot::after {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><ellipse cx='12' cy='5' rx='8' ry='2.5'/><path d='M4 5v6c0 1.4 3.6 2.5 8 2.5s8-1.1 8-2.5V5'/><path d='M4 11v6c0 1.4 3.6 2.5 8 2.5s8-1.1 8-2.5v-6'/></svg>") !important;
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'><ellipse cx='12' cy='5' rx='8' ry='2.5'/><path d='M4 5v6c0 1.4 3.6 2.5 8 2.5s8-1.1 8-2.5V5'/><path d='M4 11v6c0 1.4 3.6 2.5 8 2.5s8-1.1 8-2.5v-6'/></svg>") !important;
}

/* Video / Inhouse Content — Play */
.upon-custom-template .node-l6 .node-dot::after,
.upon-custom-template .node-r6 .node-dot::after {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M8 5v14l11-7z'/></svg>") !important;
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'><path d='M8 5v14l11-7z'/></svg>") !important;
}

/* Inhouse Content (r7) — Stift */
.upon-custom-template .node-r7 .node-dot::after {
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 20h9'/><path d='M16.5 3.5a2.1 2.1 0 113 3L7 19l-4 1 1-4z'/></svg>") !important;
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 20h9'/><path d='M16.5 3.5a2.1 2.1 0 113 3L7 19l-4 1 1-4z'/></svg>") !important;
}

/* Auf hellen Nodes (orange/green/blue) Icon-Farbe sicher dunkel */
.upon-custom-template .node.orange .node-dot::after,
.upon-custom-template .node.green .node-dot::after,
.upon-custom-template .node.blue .node-dot::after {
    background-color: rgba(0,0,0,0.85) !important;
}
/* Auf purple-Nodes Icon weiß für Kontrast */
.upon-custom-template .node.purple .node-dot::after {
    background-color: rgba(255,255,255,0.92) !important;
}

/* === Center-Node Kunde (links) bekommt User-Icon === */
.upon-custom-template .compare-side.left .center-node {
    overflow: visible !important;
}
.upon-custom-template .compare-side.left .center-node span {
    font-size: 11px !important;
}

/* Mobile: Icons aus, Pill-Look bleibt clean */
@media (max-width: 720px) {
    .upon-custom-template .node .node-dot::after {
        display: none !important;
    }
    .upon-custom-template .kpi-cockpit::after {
        inset: 18% !important;
    }
    .upon-custom-template .kpi-cockpit::before {
        font-size: 8px !important;
        padding: 2px 7px !important;
    }
}
