/* ==========================================================================
   Webluemo – Mobile-Optimierung
   Wird NACH style.css geladen und greift nur auf Handys.
   Gleiches Design-System (Farben, Schrift, Komponenten) – nur Layout,
   Abstände, Tippflächen und Lesbarkeit werden fürs Handy angepasst.
   ========================================================================== */

@media (max-width: 767px) {

  /* ---------- Global -------------------------------------------------- */
  html { scroll-padding-top: 72px; }
  body:has(.m-sticky-cta) { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }

  /* Kleine Versal-Labels waren unter 12px – minimal größer für Lesbarkeit */
  .section-tag-title,
  .client-proof-eyebrow,
  .tech-stack-eyebrow,
  .eyebrow-text,
  .footer-col-title { font-size: 0.78rem; }

  /* Tag-Zeile: Trennlinie darf nicht über den Rand laufen */
  .section-tag-line { max-width: 100%; overflow: hidden; }
  .section-tag-line .animated-divider { flex: 1 1 auto; min-width: 0; }

  /* Einheitlicher, ruhigerer Abschnitts-Rhythmus */
  .client-proof-section,
  .benefits-section,
  .problem-section,
  .ad-video-section,
  .process-dna-section,
  .transformation-section,
  .goal-selection-section { padding-top: 40px; padding-bottom: 40px; }
  .faq-section { padding-top: 48px; padding-bottom: 48px; }
  .metrics-section { padding-top: 24px; padding-bottom: 24px; }
  .tech-stack-section { padding-top: 24px; padding-bottom: 24px; }

  /* ---------- Header -------------------------------------------------- */
  .site-header .header-inner { gap: 8px; }
  .site-header .btn-header-cta { display: none; }      /* wandert in die Daumen-Leiste unten */
  .mobile-toggle { min-width: 44px; min-height: 44px; }

  /* ---------- Hero ---------------------------------------------------- */
  .hero-section { padding-top: 24px; padding-bottom: 28px; }
  .hero-top-glow-node { display: none; }
  .hero-headline { font-size: 2.15rem; line-height: 1.08; }
  .hero-description { font-size: 1rem; line-height: 1.55; }
  .hero-cta-actions > * { min-height: 54px; }
  .hero-cta-wrapper { margin-bottom: 20px; }
  .social-proof-row { margin-top: 0; }

  /* Video sitzt jetzt im Hero, darunter die Buttons */
  .hero-left { display: flex; flex-direction: column; }
  .hero-eyebrow        { order: 1; }
  .hero-headline       { order: 2; }
  .m-hero-video        { order: 3; }
  .hero-cta-wrapper    { order: 4; }
  .hero-description    { order: 5; margin-top: 4px; margin-bottom: 18px; }
  .social-proof-row    { order: 6; }

  .m-hero-video { display: block; position: relative; margin: 4px 0 20px; }
  .m-video-callout {
    display: flex; align-items: flex-start; justify-content: flex-end; gap: 2px;
    margin: -4px 4px -18px 0; position: relative; z-index: 2; pointer-events: none;
  }
  .m-hand {
    font-family: var(--font-script); font-weight: 700;
    font-size: 1.3rem; line-height: 1.05; color: var(--brand-blue);
    text-align: right; transform: rotate(-4deg); margin-top: 2px;
  }
  .m-hand-arrow { transform: scaleX(-1) rotate(8deg); margin-top: 10px; flex: none; }
  .m-hero-video .ad-video-player-box {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 22px 44px -20px rgba(37, 99, 235, .55), 0 0 0 1px rgba(37, 99, 235, .12);
  }

  /* Videoabschnitt weiter unten: Video ist oben, Rest entfällt auf dem Handy */
  .ad-video-section { display: none; }

  /* ---------- Echte Projekte: auf dem Handy ausgeblendet ------------- */
  .client-proof-section { display: none !important; }
  .client-proof-eyebrow { margin-bottom: 16px; }
  .proof-gallery-grid { gap: 20px; }
  .proof-card-column { gap: 6px; }
  .proof-connector { display: none; }
  .proof-logo-wrapper,
  .proof-logo-anchor { transform: scale(.85); transform-origin: left center; }

  /* ---------- Vorteile: kompakte Karten, Icon neben Titel ------------- */
  .section-tag-line { margin-bottom: 16px; }
  .benefits-grid { gap: 10px; }
  .benefit-card {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 14px;
    align-items: start;
    padding: 16px;
  }
  .benefit-icon-box { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .benefit-icon-box svg { width: 22px; height: 22px; }
  .benefit-title { font-size: 1.05rem; margin: 2px 0 4px; }
  .benefit-desc { font-size: 0.92rem; }
  .benefits-cta-row { margin-top: 20px; }
  .btn-benefits-cta {
    margin-top: 0; width: 100%; min-height: 52px;
    animation: m-nudge 4.2s cubic-bezier(.28, .84, .42, 1) 1.5s infinite;
  }

  /* Scroll-Linie links neben den drei Vorteilen */
  .benefits-grid { position: relative; padding-left: 26px; }
  .benefits-grid > .m-line { left: 7px; top: 22px; bottom: 22px; }
  .benefit-card { position: relative; opacity: .55; transition: opacity var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal); }
  .benefit-card::before {
    content: ""; position: absolute; left: -25px; top: 22px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--bg-card); border: 2px solid var(--border-light);
    transition: background-color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  }
  .benefit-card.is-reached { opacity: 1; }
  .benefit-card.is-reached::before { background: var(--brand-blue); border-color: var(--brand-blue); }
  .benefit-card.is-current::before { box-shadow: 0 0 0 5px var(--brand-blue-glow); }
  .benefit-card.is-current { box-shadow: var(--shadow-blue-glow); }

  /* ---------- Kennzahlen ---------------------------------------------- */
  .metrics-section .metric-card,
  .metrics-section [class*="metric-item"] { padding: 16px 10px; }

  /* ---------- Problem: gleiches Design, ruhiger gesetzt -------------- */
  .problem-section .problem-container { text-align: left; }
  .problem-headline { font-size: 1.55rem; line-height: 1.22; letter-spacing: -0.02em; margin-bottom: 14px; }
  .problem-headline br { display: none; }
  .problem-headline .highlight-line {
    display: inline;
    padding: 0 6px;
    border-radius: 6px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    line-height: 1.5;
  }
  .problem-desc {
    font-size: 0.98rem; line-height: 1.62;
    padding-left: 14px;
    border-left: 2px solid var(--border-accent);
    margin-bottom: 0;
  }
  .problem-cta-wrap { margin-top: 22px; text-align: center; }
  .problem-cta-wrap .btn-hero-primary { width: 100%; min-height: 54px; justify-content: center; }
  .problem-cta-microcopy { font-size: 0.82rem; margin-top: 10px; }

  /* ---------- Video --------------------------------------------------- */
  .ad-video-header { margin-bottom: 20px; }
  .ad-video-title { font-size: 1.6rem; }
  .ad-video-player-box { border-radius: 16px; }
  .ad-video-footer { margin-top: 16px; padding-top: 14px; }
  .ad-video-footer button,
  .ad-video-footer a { width: 100%; min-height: 52px; }

  /* ---------- Prozess: Scroll-Timeline statt Desktop-Schaubild -------- */
  .process-dna-section .section-title { font-size: 1.6rem; }
  .process-dna-section .dna-system-wrapper { display: none !important; }
  .m-process {
    display: block;
    position: relative;
    margin-top: 24px;
    padding-left: 48px;
  }
  .m-process > .m-line { left: 17px; top: 18px; bottom: 40px; }
  .m-steps { list-style: none; margin: 0; padding: 0; }
  .m-step { position: relative; margin-bottom: 14px; }
  .m-step-node {
    position: absolute; left: -48px; top: 14px;
    width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center;
    font: 600 0.78rem/1 var(--font-mono);
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1.5px solid var(--border-light);
    transition: background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    z-index: 1;
  }
  .m-step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 16px 16px 18px;
    opacity: .55;
    transition: opacity var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-normal);
  }
  .m-step-pill {
    display: inline-block; margin-bottom: 8px;
    font: 600 0.72rem/1 var(--font-mono); letter-spacing: .04em;
    color: var(--brand-blue); background: var(--bg-accent-light);
    padding: 6px 9px; border-radius: var(--radius-full);
  }
  .m-step-title { font-size: 1.05rem; line-height: 1.3; color: var(--text-headline); margin-bottom: 6px; }
  .m-step-text { font-size: 0.92rem; line-height: 1.55; color: var(--text-body); }

  .m-step.is-reached .m-step-node { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
  .m-step.is-reached .m-step-card { opacity: 1; }
  .m-step.is-current .m-step-node { box-shadow: 0 0 0 6px var(--brand-blue-glow); }
  .m-step.is-current .m-step-card {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-blue-glow);
    transform: translateX(2px);
  }

  .m-node-start, .m-node-end { color: var(--brand-blue); }
  .m-start-card { background: var(--bg-accent-light); border-color: var(--border-accent); opacity: 1; }
  .m-pill-free { background: var(--brand-blue); color: #fff; }
  .m-step-start .m-step-node { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }

  .m-end-card { opacity: 1; text-align: left; }
  .m-end-card .btn-hero-primary { width: 100%; min-height: 54px; margin-top: 14px; justify-content: center; padding-left: 12px; padding-right: 12px; }
  .m-end-card .btn-text { white-space: nowrap; font-size: 0.95rem; }
  .process-dna-section .dna-system-container { padding-left: 16px; padding-right: 16px; }
  .m-process > .m-line { bottom: 120px; }
  .m-end-micro { display: block; margin-top: 10px; font-size: 0.8rem; color: var(--text-muted); text-align: center; }
  .m-step-end { margin-bottom: 0; }

  /* ---------- Scroll-Linie (Vorteile + Prozess) ---------------------- */
  .m-line {
    display: block;
    position: absolute; width: 2px;
    background: var(--border-light); border-radius: 2px; overflow: hidden;
  }
  .m-line-fill {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, var(--brand-blue), #60A5FA);
    transform: scaleY(var(--m-progress, 0)); transform-origin: top;
  }

  /* ---------- Der Unterschied: wie Desktop, Knoten in der Mitte ------- */
  .transformation-radial-container { padding: 18px 12px 20px; }
  .radial-layout-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 10px;
    row-gap: 0;
    align-items: stretch;
    width: 100% !important;
  }
  .radial-cards-grid { display: contents !important; }
  .card-top-left     { grid-column: 1; grid-row: 1; }
  .card-top-right    { grid-column: 2; grid-row: 1; }
  .center-node-wrapper {
    grid-column: 1 / -1; grid-row: 2;
    justify-self: center;
    margin: 12px 0 !important;
    position: relative; z-index: 3;
  }
  .center-handwritten-callout {
    grid-column: 1 / -1; grid-row: 2;
    justify-self: center; align-self: center;
    margin: 0 0 0 176px !important;
    transform: none !important;
    animation: none !important;
    position: relative !important; left: auto !important; top: auto !important; z-index: 2;
  }
  .card-bottom-left  { grid-column: 1; grid-row: 3; }
  .card-bottom-right { grid-column: 2; grid-row: 3; }
  .radial-card {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    translate: none !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 12px 11px 13px !important;
    align-self: stretch !important;
    overflow: hidden;
  }
  .radial-card .card-inner-layout,
  .radial-card .radial-card-content,
  .radial-card .text-pane { min-width: 0; max-width: 100%; }
  .radial-card .card-status-badge { max-width: 100%; }
  .radial-card .meta-signal-tag { white-space: normal; max-width: 100%; line-height: 1.3; }
  .radial-card .card-inner-layout { flex-direction: column; gap: 8px; }
  .radial-card .radial-icon-box { width: 32px; height: 32px; border-radius: 10px; }
  .radial-card .radial-icon-box svg { width: 17px; height: 17px; }
  .radial-card .card-status-badge { font-size: 0.6rem; padding: 3px 7px; margin-bottom: 6px; }
  .radial-card .radial-card-title { font-size: 0.86rem; line-height: 1.25; margin-bottom: 4px; }
  .radial-card .radial-card-desc { font-size: 0.76rem; line-height: 1.4; }
  .radial-card .meta-signals-row { gap: 4px; margin-top: 8px; flex-direction: column; align-items: flex-start; }
  .radial-card .meta-signal-tag { font-size: 0.64rem; padding: 3px 6px; }
  .transformation-final-note { margin: 16px 0 0; }
  .m-swipe-hint { display: none; }

  /* ---------- Ziel-Auswahl: 2 × 2 Raster ----------------------------- */
  .goal-selection-container { margin-top: 20px; }
  /* style.css erzwingt per !important eine Spalte */
  .goal-cards-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px !important;
  }
  .goal-card { padding: 14px; min-height: 0; text-align: left; }
  .goal-card-title { font-size: 1rem; }
  .goal-card-desc { font-size: 0.85rem; line-height: 1.4; }

  /* ---------- FAQ ----------------------------------------------------- */
  .faq-header { margin-bottom: 20px; }
  .faq-title { font-size: 1.6rem; }
  .faq-trigger { padding-top: 16px; padding-bottom: 16px; min-height: 56px; }
  .faq-trigger-left { font-size: 1rem; line-height: 1.35; }
  /* Fehler behoben: zugeklappte Antworten zeigten eine Textzeile */
  .faq-item:not(.is-open) .faq-answer-inner { padding-bottom: 0; }
  .faq-answer-inner { min-height: 0; padding-left: 4px; padding-right: 4px; font-size: 0.95rem; }

  /* ---------- Abschluss ---------------------------------------------- */
  .clean-final-section { padding-top: 32px; padding-bottom: 40px; }
  .clean-final-section button,
  .clean-final-section a[class*="btn"] { width: 100%; min-height: 54px; }

  /* ---------- Footer: zweispaltig, größere Tippflächen --------------- */
  .site-footer { padding-top: 44px; padding-bottom: 24px; }
  .footer-inner { gap: 28px; }
  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .footer-col-brand { grid-column: 1 / -1; }
  .footer-col { gap: 6px; }
  .footer-col-links { gap: 0; }
  .footer-col-links a {
    display: flex; align-items: center; min-height: 40px;
    font-size: 0.92rem;
  }

  /* ---------- Daumen-Leiste unten ------------------------------------ */
  .m-sticky-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 54px; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-top: 1px solid var(--border-light);
    transform: translateY(110%);
    transition: transform var(--transition-slow);
  }
  .m-sticky-cta.is-visible { transform: none; }
  .m-sticky-cta .btn-hero-primary { width: 100%; min-height: 52px; margin: 0; justify-content: center; }
  .m-sticky-cta .m-sticky-cal {
    display: grid; place-items: center; min-height: 52px;
    border-radius: var(--radius-md); border: 1px solid var(--border-light);
    background: var(--bg-card); color: var(--text-headline); cursor: pointer;
  }
  /* Cookie-Banner darf die Leiste nicht verdecken – und umgekehrt */
  body.m-cookie-open .m-sticky-cta { transform: translateY(110%); }
}

/* „Website-Potenzial prüfen“: springt alle paar Sekunden kurz an */
@keyframes m-nudge {
  0%, 62%, 100% { transform: translateY(0) scale(1); }
  68% { transform: translateY(-7px) scale(1.02); }
  74% { transform: translateY(0) scale(.99); }
  79% { transform: translateY(-3px) scale(1.01); }
  84% { transform: translateY(0) scale(1); }
}

/* Handy-Bausteine sind auf dem Desktop unsichtbar */
@media (min-width: 768px) {
  .m-sticky-cta, .m-swipe-hint, .m-hero-video, .m-process, .m-line { display: none !important; }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .m-sticky-cta, .m-line-fill, .m-step-card, .m-step-node { transition: none; }
  .btn-benefits-cta { animation: none; }
}

/* ==========================================================================
   Runde 3: weniger Text, ruhigeres Bild, lebendigere Buttons
   ========================================================================== */
@media (max-width: 767px) {

  /* ---------- Hero: Überschrift, Video, ein Button, eine Zeile -------- */
  .hero-description,
  .hero-cta-microcopy,
  .hero-trust-taglines,
  .social-proof-row,
  .hero-cta-actions .btn-hero-secondary { display: none !important; }
  .hero-headline { margin-bottom: 18px; }
  .hero-cta-wrapper { margin-bottom: 0; }
  .m-hero-micro {
    margin-top: 12px; text-align: center;
    font-size: 0.82rem; color: var(--text-muted); letter-spacing: .01em;
  }

  /* Pfeil: steht rechts neben „Websites, die“ und zeigt von außen auf die Video-Ecke */
  .m-hero-video { margin-top: 0; }
  .m-video-callout {
    position: absolute; right: -2px; top: -104px;
    margin: 0; width: 112px;
    flex-direction: column; align-items: flex-end; gap: 0;
  }
  .m-hand { font-size: 1.2rem; transform: rotate(-6deg); margin: 0 6px 0 0; }
  .m-hand-arrow { transform: none; margin: 2px 2px 0 0; }

  /* ---------- Vorteile: nur Titel, ohne Rahmen ----------------------- */
  .benefit-desc { display: none; }
  .benefits-grid { gap: 4px; }
  .benefit-card {
    background: transparent; border: 0; box-shadow: none !important;
    padding: 10px 4px; align-items: center;
  }
  .benefit-icon-box { grid-row: auto; width: 40px; height: 40px; }
  .benefit-title { margin: 0; font-size: 1.05rem; }
  .benefit-card::before { top: 50%; margin-top: -7px; }
  .benefits-grid > .m-line { top: 28px; bottom: 28px; }

  /* ---------- Kennzahlen: nur die zwei aussagekräftigen -------------- */
  .metrics-section { padding-top: 8px; padding-bottom: 8px; }
  .metrics-container {
    display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important;
    background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important;
  }
  .metric-item:nth-child(1), .metric-item:nth-child(3) { display: none !important; }
  .metric-item { padding: 14px 8px !important; }

  /* ---------- Problem: Überschrift + ein Satz ------------------------ */
  .problem-desc,
  .problem-cta-wrap { display: none !important; }
  .m-problem-short {
    display: block; margin-top: 4px;
    font-size: 1.02rem; line-height: 1.55; color: var(--text-body);
  }

  /* ---------- Prozess: ruhig, ohne Auf- und Zuklappen ---------------- */
  /* Alle Texte bleiben stehen – beim Scrollen ändern sich nur Farben,
     nie Höhen. So springt nichts. */
  .m-step-card {
    padding: 14px 15px 15px;
    opacity: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    box-shadow: none;
    transform: none !important;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  }
  .m-step-pill {
    display: block; margin: 0 0 4px; padding: 0; background: none;
    font: 600 0.8rem/1.2 inherit; font-family: inherit;
    letter-spacing: 0; text-transform: none;
    color: var(--text-muted);
  }
  .m-step-title { font-size: 1rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; margin-bottom: 4px; }
  .m-step-text { font-size: 0.88rem; line-height: 1.5; color: var(--text-muted); max-height: none; opacity: 1; }
  .m-step.is-reached .m-step-pill { color: var(--brand-blue); }
  .m-step.is-current .m-step-card { border-color: var(--border-accent); box-shadow: 0 10px 24px -16px rgba(37, 99, 235, .55); transform: none !important; }
  .m-start-card { background: var(--bg-accent-light); border-color: var(--border-accent); }
  .m-pill-free { color: var(--brand-blue) !important; background: none !important; }
  .m-end-card .m-step-title { font-size: 1.05rem; }

  /* ---------- Der Unterschied: nur Icon + Titel ---------------------- */
  .radial-card .radial-card-desc,
  .radial-card .meta-signals-row { display: none !important; }
  .radial-card { padding: 12px 11px !important; min-height: 0 !important; height: auto !important; }
  .radial-card .radial-card-content,
  .radial-card .text-pane { min-height: 0 !important; height: auto !important; }
  .transformation-radial-container { min-height: 0 !important; }
  .radial-layout-wrapper { min-height: 0 !important; height: auto !important; }
  .radial-card .radial-card-title { margin-bottom: 0; font-size: 0.92rem; }

  /* ---------- Ziel-Auswahl: ohne Beschreibung ------------------------ */
  .goal-card-desc { display: none; }
  .goal-card { padding: 14px 12px; }

  /* ---------- FAQ: drei wichtigste Fragen zuerst --------------------- */
  .faq-subtitle { display: none; }
  .faq-num { display: none; }   /* Nummern passen nach dem Umsortieren nicht mehr */
  .faq-accordion-list { display: flex !important; flex-direction: column; }
  #faqItem5 { order: 1; }   /* Preis */
  #faqItem6 { order: 2; }   /* Ablauf */
  #faqItem3 { order: 3; }   /* Warum kostenloser Entwurf */
  #faqItem1 { order: 4; }
  #faqItem2 { order: 5; }
  #faqItem4 { order: 6; }
  .faq-accordion-list:not(.m-faq-all) #faqItem1,
  .faq-accordion-list:not(.m-faq-all) #faqItem2,
  .faq-accordion-list:not(.m-faq-all) #faqItem4 { display: none; }
  .m-faq-more {
    display: block; width: 100%; min-height: 48px; margin-top: 12px;
    background: none; border: 0; cursor: pointer;
    font: 600 0.95rem/1 inherit; font-family: inherit; color: var(--brand-blue);
  }

  /* ---------- Abschluss: ruhiger -------------------------------------- */
  .clean-final-section p:not([class*="title"]):not([class*="micro"]) { font-size: 0.98rem; }

  /* ---------- Buttons: mit Tiefe, Glanz und Bewegung ------------------ */
  .btn-hero-primary,
  .m-sticky-cta .btn-hero-primary,
  .clean-final-section .btn-hero-primary {
    position: relative; isolation: isolate;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 52%, #1D4ED8 100%) !important;
    border: 0 !important;
    border-radius: 16px !important;
    box-shadow:
      0 12px 26px -10px rgba(37, 99, 235, .75),
      0 2px 0 rgba(255, 255, 255, .22) inset,
      0 -2px 0 rgba(15, 23, 42, .18) inset !important;
    font-weight: 700 !important; letter-spacing: -0.005em;
    transition: transform .15s ease, box-shadow .2s ease;
  }
  .btn-hero-primary:active { transform: translateY(1px) scale(.985); box-shadow: 0 6px 14px -8px rgba(37, 99, 235, .8) !important; }
  /* Pfeil in eigenem Kreis, der leicht nach vorn zieht */
  .btn-hero-primary .btn-arrow {
    width: 28px; height: 28px; padding: 6px; margin-left: 4px;
    border-radius: 50%; background: rgba(255, 255, 255, .2);
    animation: m-arrow-pull 2.4s ease-in-out infinite;
  }
  /* Haupt-Button im Hero: sanftes Atmen des Leuchtens */
  .hero-cta-wrapper, .hero-cta-actions { width: 100%; max-width: none !important; align-self: stretch; }
  .hero-cta-actions .btn-hero-primary { width: 100% !important; justify-content: center; min-height: 58px !important; font-size: 1.05rem !important; animation: m-glow 3.2s ease-in-out infinite; }

  /* Sekundär-Buttons: hell, mit blauem Akzent statt grauem Rahmen */
  .btn-benefits-cta {
    background: var(--bg-accent-light) !important;
    border: 1.5px solid var(--border-accent) !important;
    color: var(--brand-blue) !important; font-weight: 700 !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 18px -12px rgba(37, 99, 235, .6) !important;
  }
  .clean-final-section .btn-hero-secondary,
  .clean-final-section [class*="secondary"] {
    border-radius: 16px !important; border-color: var(--border-accent) !important; color: var(--brand-blue) !important;
  }
  .m-sticky-cta .m-sticky-cal { border-radius: 16px; border-color: var(--border-accent); color: var(--brand-blue); background: var(--bg-accent-light); }
}

@keyframes m-arrow-pull {
  0%, 60%, 100% { transform: translateX(0); }
  75% { transform: translateX(4px); }
  88% { transform: translateX(1px); }
}
@keyframes m-glow {
  0%, 100% { box-shadow: 0 12px 26px -10px rgba(37, 99, 235, .7), 0 2px 0 rgba(255,255,255,.22) inset, 0 -2px 0 rgba(15,23,42,.18) inset; }
  50%      { box-shadow: 0 16px 34px -8px rgba(37, 99, 235, .95), 0 2px 0 rgba(255,255,255,.22) inset, 0 -2px 0 rgba(15,23,42,.18) inset; }
}
@media (min-width: 768px) {
  .m-hero-micro, .m-problem-short, .m-faq-more { display: none !important; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .btn-hero-primary .btn-arrow, .hero-cta-actions .btn-hero-primary { animation: none !important; }
}

/* ==========================================================================
   Runde 4: Prozess-Abschluss als starker CTA + Termin-Seite fürs Handy
   ========================================================================== */
@media (max-width: 767px) {

  /* ---------- Prozess: Linie endet in einem Pfeil, der auf den CTA zeigt */
  .m-process > .m-line { bottom: 0; }
  .m-step-end .m-node-end {
    width: 40px; height: 40px; left: -50px; top: 30px;
    background: var(--brand-blue); border-color: var(--brand-blue); color: #fff;
    box-shadow: 0 8px 18px -6px rgba(37, 99, 235, .7);
  }
  .m-step-end .m-node-end svg { animation: m-arrow-pull 1.8s ease-in-out infinite; }
  /* kurzer Verbindungsstrich vom Pfeil zur Karte */
  .m-step-end .m-node-end::after {
    content: ""; position: absolute; left: 100%; top: 50%;
    width: 12px; height: 2px; margin-top: -1px;
    background: var(--brand-blue);
  }
  .m-step-end.is-reached .m-node-end { animation: m-node-pop .5s cubic-bezier(.34, 1.56, .64, 1) both; }

  .m-end-card {
    position: relative; overflow: hidden;
    background: linear-gradient(140deg, #2563EB 0%, #1D4ED8 60%, #1E3A8A 100%) !important;
    border: 0 !important;
    color: #fff;
    padding: 20px 18px 18px !important;
    box-shadow: 0 22px 40px -18px rgba(30, 64, 175, .8) !important;
  }
  .m-end-card::before {
    content: ""; position: absolute; right: -40px; top: -60px;
    width: 180px; height: 180px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.22), rgba(255,255,255,0) 70%);
    pointer-events: none;
  }
  .m-end-card .m-step-title { color: #fff; font-size: 1.2rem !important; font-weight: 750; }
  .m-end-card .m-step-text { color: rgba(255, 255, 255, .82); font-size: 0.95rem; }
  .m-end-card .m-end-btn {
    background: #fff !important;
    color: var(--brand-blue) !important;
    box-shadow: 0 10px 22px -10px rgba(15, 23, 42, .55), 0 0 0 0 rgba(255, 255, 255, .6) !important;
    margin-top: 16px; gap: 8px; padding-left: 14px !important; padding-right: 14px !important;
    animation: m-white-pulse 2.6s ease-out infinite;
  }
  .m-end-card .m-end-btn .btn-text { color: var(--brand-blue); font-weight: 750; }
  .m-end-card .m-end-btn .m-end-btn-arrow { flex: none; animation: m-arrow-pull 1.8s ease-in-out infinite; }
  .m-end-card .m-end-micro { color: rgba(255, 255, 255, .78); }

  /* ---------- Termin-Seite ------------------------------------------- */
  /* Auf dem Handy ohne Footer: der Fokus liegt allein auf der Buchung */
  body:has(.booking-page-section) .site-footer { display: none !important; }
  .booking-page-section { padding-top: 72px !important; padding-bottom: 32px !important; min-height: 0 !important; }
  .booking-page-container { padding-left: 12px !important; padding-right: 12px !important; }
  .booking-page-card { padding: 16px 14px 18px !important; border-radius: 20px !important; }
  .booking-title { font-size: 1.45rem !important; line-height: 1.2; }
  .booking-meta-row { gap: 6px !important; flex-wrap: wrap; }
  .booking-meta-chip { font-size: 0.78rem !important; }
  .week-nav-bar { gap: 10px !important; flex-wrap: wrap; }
  .week-nav-group { width: 100%; flex-wrap: wrap; gap: 8px !important; }
  .btn-week-step, .btn-week-today { min-height: 44px; min-width: 44px; }
  .week-range-label { font-size: 0.95rem !important; flex: 1 1 100%; order: -1; }
  .mobile-day-range-selector { display: none !important; }
  .week-tz-badge { font-size: 0.75rem !important; }

  .m-booking { margin-top: 12px; }
  .m-day-chips {
    display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity;
    padding: 2px 2px 10px; margin: 0 -2px;
    scrollbar-width: none;
  }
  .m-day-chips::-webkit-scrollbar { display: none; }
  .m-day-chip {
    flex: 0 0 auto; min-width: 74px; scroll-snap-align: start;
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 10px 10px 9px; border-radius: 14px;
    background: var(--bg-card); border: 1.5px solid var(--border-light);
    color: var(--text-headline); cursor: pointer;
    font-family: inherit;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
  }
  .m-day-name { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
  .m-day-date { font-size: 0.98rem; font-weight: 700; }
  .m-day-count { font-size: 0.7rem; font-weight: 600; color: #16A34A; }
  .m-day-chip.is-active { background: var(--brand-blue); border-color: var(--brand-blue); color: #fff; }
  .m-day-chip.is-active .m-day-name,
  .m-day-chip.is-active .m-day-count { color: rgba(255, 255, 255, .85); }
  .m-day-chip:disabled { opacity: .45; cursor: default; }
  .m-day-chip:disabled .m-day-count { color: var(--text-muted); }

  .m-slot-label { margin: 8px 0 10px; font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
  .m-slot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .m-slot-btn {
    min-height: 48px; border-radius: 12px;
    background: var(--bg-card); border: 1.5px solid var(--border-accent);
    color: var(--brand-blue); font: 700 1rem/1 inherit; font-family: inherit;
    cursor: pointer; transition: background-color var(--transition-fast), color var(--transition-fast), transform .12s;
  }
  .m-slot-btn:active { transform: scale(.97); }
  .m-slot-btn.is-selected { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); box-shadow: 0 8px 18px -8px rgba(37, 99, 235, .7); }

  .week-selected-summary {
    position: sticky; bottom: 10px; z-index: 5;
    margin-top: 14px !important;
    flex-direction: column !important; align-items: stretch !important; gap: 10px !important;
    padding: 12px !important; border-radius: 16px !important;
    background: #fff !important; border: 1px solid var(--border-accent) !important;
    box-shadow: 0 16px 34px -14px rgba(15, 23, 42, .35) !important;
  }
  .week-selected-info { font-size: 0.88rem !important; }
  .btn-proceed-booking {
    width: 100%; min-height: 54px; justify-content: center;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 52%, #1D4ED8 100%) !important;
    box-shadow: 0 12px 26px -10px rgba(37, 99, 235, .75) !important;
    font-weight: 700 !important;
  }
  .booking-gdpr-notice { font-size: 0.75rem !important; padding: 0 8px; text-wrap: balance; }

  /* Formular (Schritt 2): große Felder, kein Zoom auf iOS */
  .webluemo-booking-app input,
  .webluemo-booking-app textarea,
  .webluemo-booking-app select { font-size: 16px !important; min-height: 48px; }
  .webluemo-booking-app textarea { min-height: 96px; }
}

@keyframes m-node-pop {
  0% { transform: scale(.6); }
  100% { transform: scale(1); }
}
@keyframes m-white-pulse {
  0%   { box-shadow: 0 10px 22px -10px rgba(15,23,42,.55), 0 0 0 0 rgba(255,255,255,.55); }
  70%  { box-shadow: 0 10px 22px -10px rgba(15,23,42,.55), 0 0 0 12px rgba(255,255,255,0); }
  100% { box-shadow: 0 10px 22px -10px rgba(15,23,42,.55), 0 0 0 0 rgba(255,255,255,0); }
}
@media (min-width: 768px) {
  .m-booking { display: none !important; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .m-step-end .m-node-end svg, .m-end-card .m-end-btn, .m-end-card .m-end-btn .m-end-btn-arrow { animation: none !important; }
}
