/* Einheitlicher Abstand für alle Boxen */
.box {
    background-color: #ffffffe6;
    border-radius: 10px;
    padding: 30px;
    margin: 40px auto; /* Gleicher Abstand oben und unten */
    max-width: var(--content-width);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0,0,0,0.06);
    backdrop-filter: blur(6px);
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
}


/* Falls der Abstand zwischen Keywords und Process unterschiedlich ist */
.keywords {
    margin-bottom: 40px !important; /* Gleicher Abstand nach unten */
    max-width: var(--content-width);
}

/* ── Legacy hero (wird nicht mehr auf index genutzt) ── */
.hero {
    text-align: center;
    font-family: "Arial", sans-serif;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--c-page-text);
    margin-top: 10px;
    white-space: pre-line;
}

.hero-text {
    margin-top: 40px;
    margin-bottom: 40px;
    font-size: 1.5rem;
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-text {
        font-size: 1.2rem;
    }
}

/* ── Index Hero (gleicher Style wie about/careers/potentialcheck) ── */
.index-hero {
    text-align: center;
}

.index-hero-title {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
    margin: 0 0 1.5rem 0;
    line-height: 1.15;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
}

/* Zeilenumbruch vor „Ihre Unternehmensdaten“ nur am PC, am Handy ausgeblendet */
.index-hero-title-br {
    display: none;
}
@media (min-width: 769px) {
    .index-hero-title-br {
        display: block;
    }
}

.index-gradient-text {
    background: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.index-hero-desc {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    font-size: 1.125rem;
    line-height: 1.75;
    color: #64748b;
    max-width: 768px;
    margin: 0 auto 2.5rem;
}

.index-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .index-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .index-hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

@media (min-width: 768px) {
    .index-hero-desc {
        font-size: 1.25rem;
    }
}


.process {
    font-family: "Arial", sans-serif;
}

.process h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--c-page-text);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Zwei Spalten */
    gap: 20px;
    max-width: var(--content-width);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr; /* Eine Spalte auf kleineren Bildschirmen */
    }
}


.step {
    background: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    text-align: center;
}

.step-icon {
    width: 28px;
    height: 28px;
    margin-right: 10px;
    vertical-align: middle;
    transform: translateY(-2px);
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

@media (max-width: 576px) {
    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .button-container .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}


.btn {
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
    max-width: 100%;
    word-wrap: break-word;
}


.btn-outline {
    background-color: var(--c-page-bg);
    color: var(--c-page-text);
    border: 2px solid var(--c-page-text);
}

.btn-outline:hover {
    background-color: var(--c-page-text);
    color: var(--c-page-bg);
}

.btn-black {
    background-color: var(--c-page-text);
    color: var(--c-page-bg);
}

.btn-black:hover {
    background-color: var(--c-surface-bg);
}

.larger-box {
    padding: 60px 20px; /* Mehr Innenabstand für eine größere Box */
    margin-bottom: 40px; /* Mehr Abstand nach unten */
}

@media (max-width: 480px) {
    .index-hero.larger-box {
        padding: 2rem 1rem;
    }
    .index-hero-title {
        font-size: clamp(1.75rem, 8vw, 2.25rem);
    }
}

.hero-description {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    /* Wichtig damit der Marker über dem Text liegt, aber lesbar bleibt */
    position: relative; 
}

.smaller-top-margin {
    margin-top: 30px; /* Weniger Abstand nach oben für die untere Box */
}

.fade-in {
    opacity: 0;
    transform: translateY(30px); /* Nur Y-Achse bewegen */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/*Marquee slide*/
.keywords {
    overflow: hidden;
    padding: 30px 0; /* Etwas mehr Luft */
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: var(--content-width);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    
    /* Weiche Kanten links und rechts */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.loop-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: flex-start;
    contain: layout paint;
    isolation: isolate;
    transform: translateZ(0);
    /* Maus-Hover pausiert die Animation */
    pointer-events: auto;
}

.loop-slider:hover .inner {
    animation-play-state: paused;
}

/* Tag-Hover innerhalb des Marquees deaktivieren (kollidiert mit Loop-Animation) */
.loop-slider .tag {
    transition: none;
}
.loop-slider .tag:hover {
    transform: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.loop-slider .inner {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    gap: 1.5rem;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    animation-name: loop;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-direction: var(--direction);
    animation-duration: var(--duration);
}

.reverse .inner {
    animation-name: loop-reverse;
}

.tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    background-color: white;
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0,0,0,0.05);
    white-space: nowrap;
    font-weight: 600;
    color: #305F72;
    contain: layout style;
}

.tag span {
    font-size: 1.1rem;
    color: #6BA3FF; /* Akzentfarbe aus den Icons */
    font-weight: 800;
    opacity: 1;
}

.loop-slider--benefits .tag span {
    color: #52B788;
}

@keyframes loop {
    from { transform: translate3d(0, 0, 0) translateZ(0); }
    to { transform: translate3d(-50%, 0, 0) translateZ(0); }
}

@keyframes loop-reverse {
    from { transform: translate3d(-50%, 0, 0) translateZ(0); }
    to { transform: translate3d(0, 0, 0) translateZ(0); }
}

/* FAQ – Design wie faq_template.html */
/* ── FAQ Section (Style aus faq_template.html) ── */
.faq-section {
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    text-align: left;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;                                  /* space-y-4 = 16px */
}

.faq-item {
    width: 100%;
    background: #fff;                           /* bg-white */
    border: 1px solid #f1f5f9;                  /* border-slate-100 */
    border-radius: 1.5rem;                      /* rounded-[24px] */
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); /* shadow-sm */
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow:                                 /* hover:shadow-md */
        0 4px 6px -1px rgb(0 0 0 / 0.1),
        0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.faq-btn {
    width: 100%;
    padding: 1.5rem 2rem;                       /* py-6 px-8 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: none;
    border: none;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.125rem;                        /* text-lg */
    font-weight: 700;                           /* font-bold */
    text-align: left;
    cursor: pointer;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.faq-btn:focus {
    outline: none;
}

.faq-item.active .faq-btn {
    color: #4f46e5;                             /* indigo-600 when active */
}

.faq-btn-text {
    flex: 1;
}

.faq-icon {
    width: 1rem;
    height: 1rem;
    color: #94a3b8;                             /* text-slate-400 */
    flex-shrink: 0;
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-content {
    grid-template-rows: 1fr;
}

.faq-content-inner {
    overflow: hidden;
}

.faq-content-inner > p {
    margin: 0;
    padding: 1rem 0 1.5rem;
    border-top: 1px solid #f8fafc;             /* border-slate-50 */
    color: #475569;                             /* text-slate-600 */
    line-height: 1.625;                         /* leading-relaxed */
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1rem;
}

@media (max-width: 576px) {
    .faq-btn {
        font-size: 1rem;
        padding: 1.25rem 1.5rem;
    }

    .faq-content {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* ── "Noch Fragen offen?" CTA Box (Light & Friendly) ── */
.faq-cta {
    max-width: 1000px;
    margin: 4rem auto 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.faq-cta-card {
    background: #fff;                           /* bg-white */
    border: 1px solid #f1f5f9;                  /* border-slate-100 */
    border-radius: 2.5rem;                      /* rounded-[2.5rem] = 40px */
    padding: 2rem;                              /* p-8 */
    text-align: center;
    color: #1a1a1a;
    box-shadow:
        0 20px 25px -5px rgb(0 0 0 / 0.1),
        0 8px 10px -6px rgb(0 0 0 / 0.1);      /* shadow-xl */
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .faq-cta-card {
        padding: 3rem;                          /* md:p-12 */
    }
}

/* Deko Blobs (Light) */
.faq-cta-blob-1 {
    position: absolute;
    top: 0;
    right: 0;
    margin-right: -2.5rem;
    margin-top: -2.5rem;
    width: 16rem;
    height: 16rem;
    background: #eef2ff;                        /* indigo-50 */
    border-radius: 9999px;
    filter: blur(60px);
    opacity: 0.6;
    pointer-events: none;
}

.faq-cta-blob-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    margin-left: -2.5rem;
    margin-bottom: -2.5rem;
    width: 16rem;
    height: 16rem;
    background: #faf5ff;                        /* purple-50 */
    border-radius: 9999px;
    filter: blur(60px);
    opacity: 0.6;
    pointer-events: none;
}

.faq-cta-content {
    position: relative;
    z-index: 10;
}

.faq-cta-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.5rem;                          /* text-2xl */
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #1a1a1a;
}

@media (min-width: 768px) {
    .faq-cta-title {
        font-size: 1.875rem;                    /* md:text-3xl */
    }
}

.faq-cta-desc {
    color: #475569;                             /* text-slate-600 */
    margin: 0 auto 2rem;
    max-width: 36rem;                           /* max-w-xl */
    font-weight: 400;                           /* font-normal */
    line-height: 1.625;                         /* leading-relaxed */
}

.faq-cta-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 640px) {
    .faq-cta-buttons {
        flex-direction: row;
    }
}

.faq-cta-btn-primary {
    display: inline-block;
    background: #1a1a1a;                        /* bg-[#1a1a1a] */
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.875rem 2rem;                     /* py-3.5 px-8 */
    border-radius: 0.25rem;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.025em;                    /* tracking-wide */
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 10px 15px -3px rgb(148 163 184 / 0.2); /* shadow-lg shadow-slate-400/20 */
}

.faq-cta-btn-primary:hover {
    background: #000;                           /* hover:bg-black */
    transform: translateY(-2px);
}

.faq-cta-btn-secondary {
    display: inline-block;
    background: #fff;                           /* bg-white */
    color: #475569;                             /* text-slate-600 */
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.875rem 2rem;
    border-radius: 0.25rem;
    border: 1px solid #e2e8f0;                  /* border-slate-200 */
    text-transform: uppercase;
    letter-spacing: 0.025em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-cta-btn-secondary:hover {
    border-color: #1a1a1a;                      /* hover:border-[#1a1a1a] */
    color: #1a1a1a;                             /* hover:text-[#1a1a1a] */
}

/* Testimonials */
.kis-testimonial-container {
    width: 100%;
    max-width: var(--content-width);
    padding: 2rem;
    margin: 0 auto;
  }
  
  .kis-testimonial-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  
  @media (min-width: 768px) {
    .kis-testimonial-grid {
      flex-direction: row;
      align-items: center;
      gap: 4rem;
    }
  }
  
  .kis-image-container {
    position: relative;
    width: 100%;
    height: 24rem;
    perspective: 1000px;
    flex: 1;
  }
  
  .kis-testimonial-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1.5rem;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  .kis-testimonial-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
  }
  
  .kis-testimonial-content > div {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* etwas kompakter */
  }
  
  .kis-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--c-page-text);
    margin-bottom: 0.25rem;
  }
  
  .kis-designation {
    font-size: 0.875rem;
    color: var(--c-page-text);
    opacity: 0.6;
    margin-bottom: 0.75rem; /* reduziert von 2rem */
  }
  
  .kis-quote {
    font-size: 1.125rem;
    color: var(--c-page-text);
    opacity: 0.8;
    line-height: 1.75;
  }
  
  .kis-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .kis-project-link {
    padding: 10px 20px;
    background-color: var(--c-page-text);
    color: var(--c-page-bg);
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .kis-project-link:hover {
    background-color: var(--primary-color);
  }

.hero-text-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 1.05rem;   /* etwas kleiner als 1.5rem aus .hero-text */
    line-height: 1.6;
    margin-top: 18px;     /* falls du Abstand direkt nach dem Titel willst */
    margin-bottom: 50px;  /* etwas weniger als der normale hero-text */
}

/* Mobile ggf. leicht anpassen */
@media (max-width: 576px) {
    .hero-text-mono {
        font-size: 0.98rem;
        margin-bottom: 22px;
    }
}

.process_button-container {
    margin-bottom: 30px;
}

/* Fit Section: weiß wie die anderen Boxen */
.fit-section {
    text-align: left;
    padding: 42px 30px;
    margin: 40px auto;
    border-radius: 14px;

    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
}

.fit-kicker {
    margin: 0 0 10px 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.95rem;
    color: var(--c-page-text);
    opacity: 0.7;
    letter-spacing: 0.02em;
}

.fit-title {
    margin: 0 0 12px 0;
    font-size: 2rem;
    color: var(--c-page-text);
}

.fit-lead {
    margin: 0 0 22px 0;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 60ch;
    color: var(--c-page-text);
}

.fit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 22px;
    margin-top: 40px;
    margin-bottom: 22px;
}

@media (max-width: 768px) {
    .fit-grid { grid-template-columns: 1fr; }
}

.fit-item {
    display: flex;
    gap: 14px;
    padding: 14px 12px;
    border-radius: 12px;

    /* wie deine Boxen/Steps */
    background: #ffffffe6;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.fit-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Icons mit Akzentfarbe */
.fit-icon i {
    color: #6BA3FF;
}

/* Animiertes/Bild-Icon (z. B. Flaticon GIF) */
.fit-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fit-text h3 {
    margin: 0 0 4px 0;
    font-size: 1.05rem;
    color: var(--c-page-text);
}

.fit-text p {
    margin: 0;
    color: var(--c-page-text);
    line-height: 1.55;
}

.fit-footnote {
    margin: 16px 0 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--c-page-text);
    opacity: 0.8;
}

.dreamcustomer_button-container {
    margin-top: 40px;
    margin-bottom: 40px;
}

.process_button {
    margin-top: 25px;
}

#process.fit-section--plain {
    background: #ffffffe6 !important;
    background-image: none !important;
}

.ps-step-number {
    position: absolute;
    top: 8px;
    right: 14px;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(139, 92, 246, 0.12);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.ps-flex-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 1;
}

.ps-flex-tooltip-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: default;
    margin-left: 2px;
}

.ps-flex-tooltip-icon > .fa-circle-info {
    font-size: 0.8rem;
    opacity: 0.7;
}

.ps-flex-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    background: white;
    color: #305F72;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 8px 12px;
    border-radius: 8px;
    width: 220px;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.08);
    z-index: 10;
    white-space: normal;
}

.ps-flex-tooltip::before {
    content: "";
    position: absolute;
    top: 100%;
    right: 6px;
    border: 6px solid transparent;
    border-top-color: white;
}

.ps-flex-tooltip-icon:hover .ps-flex-tooltip {
    display: block;
}

.process-guarantee-headline{
  text-align:center;
  margin: 22px 0 14px 0;
  font-size: 2rem;
  font-weight: 900;
  color: var(--c-page-text);
  line-height:1.25;
  margin-top: 5%;
  overflow-wrap: break-word;
  hyphens: auto;
}

.guarantee-marker{
  display: inline;
  padding: 2px 6px;

  /* Jede Zeile bekommt eigenen Marker bei Umbruch */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;

  /* Marker-Hintergrund direkt am Element */
  background-image:
    linear-gradient(
      to bottom,
      rgba(255,228,92,0.15) 0%,
      rgba(255,228,92,0.85) 25%,
      rgba(255,228,92,0.85) 75%,
      rgba(255,228,92,0.20) 100%
    );
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left center;

  border-radius: 10px 6px 12px 7px;
  filter: saturate(1.05);
}

/* Animation triggern, wenn das Element (im .fade-in Container) sichtbar wird */
.process-guarantee-headline.visible .guarantee-marker {
    animation: marker-draw-full 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 1.2s;
}

/* --- NEU: Text Marker Animation (verbesserter Highlighter-Look) --- */
.text-marker {
    /* Verlauf von oben nach unten (transparent -> gelb -> transparent) 
       für echten Filzstift-Effekt */
    background-image: linear-gradient(
        to bottom,
        rgba(255, 228, 92, 0) 35%,        
        rgba(255, 228, 92, 0.75) 45%,      
        rgba(255, 228, 92, 0.85) 75%,
        rgba(255, 228, 92, 0) 95%
    );
    
    background-repeat: no-repeat;
    
    /* Startzustand: Breite ist 0, Höhe 100% des Elements */
    background-size: 0% 100%;
    
    /* Positioniert links oben (wir steuern vertikale Position über Gradient) */
    background-position: 0 0;
    
    /* Sorgt dafür, dass der Marker auch bei Zeilenumbruch funktioniert */
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    
    /* Padding links/rechts für organischen Start/Ende */
    padding: 0 3px;
    border-radius: 4px; /* Sanft abgerundete Ecken */
    
    /* Animation Definition */
    animation: marker-draw 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    animation-delay: 1.0s; 
}

@keyframes marker-draw {
    from {
        background-size: 0% 100%;
    }
    to {
        /* Endet ca. 1 Zeichen früher (0.6em) */
        background-size: calc(100% - 0.6em) 100%;
    }
}

/* Neue Animation, die bis zum Ende durchzieht (für Guarantee Marker) */
@keyframes marker-draw-full {
    from {
        background-size: 0% 100%;
    }
    to {
        background-size: 100% 100%;
    }
}