:root{
    /* Farbsystem 08.11.2026 (Analyse "Farbpsychologische Corporate-Design-Analyse", Kontraste nachgerechnet):
       helle Grundfläche, dunkle Kontrastzonen nur für Pain, Kennzahlen, CTA-Band und Footer. */
    --bg:#F8FAFC;            /* Soft Ivory */
    --bg-alt:#EEF3F5;
    --bg-deep-petrol:#E6F0F2;/* heller Petrol-Ton für Hinweis-Kästen */
    --surface:#FFFFFF;
    --surface-2:#F1F5F7;
    --surface-3:#FFFFFF;
    --line:rgba(14,23,27,0.12);
    --line-strong:rgba(14,23,27,0.26);
    --text:#1E293B;          /* Charcoal Slate, 14:1 */
    --text-soft:#334155;
    --muted:#526070;         /* >= 5.5:1 auf allen hellen Flächen */
    --deep:#0E171B;          /* Deep Slate Petrol */
    --nav-bg:rgba(248,250,252,0.86);

    --petrol:#1E6B7B;        /* Deep Petrol Blue, 5.8:1 auf Ivory */
    --petrol-solid:#1E6B7B;
    --petrol-solid-hover:#17586A;
    --petrol-text:#1E6B7B;
    --petrol-light:#4097A8;  /* Light Sage Petrol: nur Linien/Flächen auf hell, Text nur auf dunkel */
    --petrol-rgb:30,107,123;

    --weinrot:#8C3542;       /* Velvet Burgundy, 7.4:1 auf Ivory */
    --weinrot-solid:#8C3542;
    --weinrot-solid-hover:#722A36;
    --weinrot-text:#8C3542;
    --weinrot-rgb:140,53,66;

    --amber:#D97706;         /* Warm Amber Gold: derzeit nicht im Einsatz (08.11.2026 verworfen); falls genutzt, nur mit dunkler Schrift */
    --amber-hover:#E58A1F;
    --cta-bg:var(--petrol-solid);
    --cta-bg-hover:var(--petrol-solid-hover);
    --cta-ink:#FFFFFF;
    --accent:var(--petrol);  /* Eyebrows, Hervorhebungen; je Seite überschreibbar */

    --radius:14px;
    --a11y-scale:1;
    --font-display: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --shadow-sm: 0 2px 10px rgba(14,23,27,0.08);
    --shadow-md: 0 20px 50px rgba(14,23,27,0.14);
    --ease: cubic-bezier(.2,.7,.3,1);
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:var(--font-body);
    font-size:calc(16px * var(--a11y-scale));
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  img,svg{max-width:100%;}
  a{color:inherit;}
  .container{max-width:1120px; margin:0 auto; padding:0 24px;}
  section{padding:96px 0; position:relative;}
  @media (max-width:720px){ section{padding:68px 0;} .hero{padding:88px 0 68px;} }
  h1,h2,h3{font-family:var(--font-display); font-weight:600; line-height:1.16; margin:0; color:var(--text);}
  h2{font-size:clamp(calc(28px * var(--a11y-scale)),4vw,calc(38px * var(--a11y-scale))); letter-spacing:-0.01em;}
  h3{font-size:calc(20px * var(--a11y-scale));}
  p{margin:0;}
  :focus-visible{outline:2px solid var(--petrol); outline-offset:3px; border-radius:4px;}
  .eyebrow{
    display:inline-flex; align-items:center; gap:8px;
    font-size:calc(13px * var(--a11y-scale)); font-weight:600; letter-spacing:0.08em; text-transform:uppercase;
    color:var(--accent);
  }
  .eyebrow::before{content:""; width:18px; height:1.5px; background:var(--accent);}
  .section-head{max-width:640px; margin-bottom:44px;}
  .section-head h2{text-wrap:balance;}
  .section-head p{margin-top:14px; color:var(--muted); font-size:calc(17px * var(--a11y-scale));}
  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    padding:15px 26px; border-radius:999px; font-size:calc(15.5px * var(--a11y-scale)); font-weight:600;
    text-decoration:none; border:1.5px solid transparent; cursor:pointer;
    transition:transform .15s var(--ease), box-shadow .15s ease, background .15s ease, border-color .15s ease;
    font-family:var(--font-body);
  }
  .btn:hover{transform:translateY(-2px);}
  .btn-primary{background:var(--cta-bg); color:var(--cta-ink); box-shadow:var(--shadow-sm);}
  .btn-primary:hover{background:var(--cta-bg-hover); box-shadow:var(--shadow-md);}
  .btn-ghost{background:transparent; color:var(--text); border-color:var(--line-strong);}
  .btn-ghost:hover{border-color:var(--text); background:rgba(var(--petrol-rgb),0.06);}
  .btn-sm{padding:10px 18px; font-size:calc(14px * var(--a11y-scale));}

  .pain-card, .service-card, .trust-card, .case-callout, .cta-nudge{
    transition:transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease;
  }
  .pain-card:hover, .service-card:hover, .trust-card:hover, .case-callout:hover, .cta-nudge:hover{
    transform:translateY(-5px);
    box-shadow:var(--shadow-sm);
    border-color:var(--line-strong);
  }
  @media (prefers-reduced-motion: reduce){
    .pain-card, .service-card, .trust-card, .case-callout, .cta-nudge, .btn, .automation-tab{ transition:box-shadow .15s ease, border-color .15s ease, background .15s ease !important; }
    .pain-card:hover, .service-card:hover, .trust-card:hover, .case-callout:hover, .cta-nudge:hover, .btn:hover, .automation-tab:hover{ transform:none !important; }
  }

  /* NAV */
  header.nav{
    position:sticky; top:0; z-index:50;
    background:var(--nav-bg);
    backdrop-filter:saturate(160%) blur(12px);
    border-bottom:1px solid var(--line);
  }
  .nav-inner{
    display:flex; align-items:center; justify-content:space-between;
    padding:16px 24px; max-width:1120px; margin:0 auto;
  }
  .wordmark{
    font-family:var(--font-display); font-weight:700; font-size:calc(21px * var(--a11y-scale)); letter-spacing:-0.01em;
    text-decoration:none; color:var(--text); display:flex; align-items:baseline; gap:2px;
  }
  .wordmark span{color:var(--petrol);}
  .nav-links{display:flex; align-items:center; gap:28px; list-style:none; margin:0; padding:0;}
  .nav-links a{font-size:calc(14.5px * var(--a11y-scale)); font-weight:500; text-decoration:none; color:var(--text-soft);}
  .nav-links a:hover{color:var(--petrol);}
  @media (max-width:780px){ .nav-links-list{display:none;} }
  #header-cta{transition:opacity .2s ease, transform .2s ease, visibility .2s;}
  #header-cta.is-hidden{opacity:0; transform:translateY(-6px) scale(.94); visibility:hidden; pointer-events:none;}

  /* HERO + AMBIENT FX */
  .hero{padding:88px 0 96px; overflow:hidden; position:relative;}
  .hero-fx{position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none;}
  .blob-outer{position:absolute; width:60vw; height:60vw; max-width:640px; max-height:640px; will-change:transform;}
  .blob-outer.petrol{top:-14%; left:-8%; animation:driftA 22s ease-in-out infinite;}
  .blob-outer.weinrot{bottom:-18%; right:-10%; animation:driftB 26s ease-in-out infinite;}
  .blob-inner{width:100%; height:100%; border-radius:50%; filter:blur(70px); will-change:transform;}
  .blob-inner.c-petrol{background:radial-gradient(circle at 40% 40%, rgba(64,151,168,0.30), rgba(64,151,168,0) 68%);}
  .blob-inner.c-weinrot{background:radial-gradient(circle at 60% 60%, rgba(140,53,66,0.16), rgba(140,53,66,0) 68%);}
  @keyframes driftA{ 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(4%,3%) scale(1.06);} }
  @keyframes driftB{ 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-3%,-4%) scale(1.08);} }
  @media (prefers-reduced-motion: reduce){ .blob-outer.petrol, .blob-outer.weinrot{animation:none;} }

  /* HERO-FOTO (Startseite + Landingpages), Stand 17.11.2026: ein System statt mehrerer Schichten.
     Desktop (>= 1000px): ganzes freigestelltes Foto, unten buendig, so hoch wie der Hero (max. 820px breit; Foto liegt in 1120x1171 vor; auf breiten Bildschirmen ragt es in den rechten Rand, damit die Textspalte nie schmaler wird als vorher),
     rechts neben dem Text; der Text bekommt rechts genau so viel Platz (--hp-r), das Foto wird mit der Breite kleiner. Keine Maske, kein Verlauf.
     Mobil (< 1000px): Startseite nutzt .home-hero-face (home.css); Landingpages zeigen das Foto als Kreis oben rechts neben der Eyebrow-Zeile. */
  .hero{--hp-g:calc(24px + max(0px, (100vw - 1120px) / 2)); --hp-ov:min(var(--hp-g), max(96px, var(--hp-r) - 464px)); --hp-r:clamp(340px, calc(60vw - 260px), 820px); --hp-d:calc(28px + 10vw);}
  .hero-photo-dock{position:absolute; z-index:0; pointer-events:none;}
  .hero-photo-dock img, .hero-photo-dock svg{display:block; width:100%; height:100%; object-fit:contain; object-position:right bottom;}
  @media (min-width:1000px){
    .hero-photo-dock{
      bottom:0; right:calc(var(--hp-g) - var(--hp-ov));
      height:calc(100% - 14px); max-height:calc(var(--hp-r) * 460 / 440); aspect-ratio:440 / 460;
    }
    body.home .hero-inner, body.lp .hero-inner{padding-right:calc(var(--hp-r) - var(--hp-ov) + 32px);}
  }
  @media (max-width:999px){
    body.home .hero-photo-dock{display:none;}
    body.lp .hero-photo-dock{
      top:88px; right:24px; width:var(--hp-d); height:var(--hp-d); border-radius:50%; overflow:hidden;
      background:var(--bg-deep-petrol); box-shadow:0 0 0 1.5px rgba(var(--petrol-rgb), .35);
    }
    body.lp .hero-photo-dock img{position:absolute; left:-18%; top:5.5%; width:130%; height:auto; max-width:none;}
    body.lp .hero-eyebrow-row{justify-content:flex-start; align-items:center; min-height:var(--hp-d); padding-right:calc(var(--hp-d) + 14px);}
  }
  @media (max-width:720px){ body.lp .hero-photo-dock{top:72px;} }

  .hero-inner{position:relative; z-index:1;}
  .hero-eyebrow-row{display:flex; justify-content:center; margin-bottom:22px;}
  .hero-headline{
    text-align:center; max-width:800px; margin:0 auto; font-size:clamp(calc(30px * var(--a11y-scale)),4.6vw,calc(48px * var(--a11y-scale)));
    line-height:1.18; color:var(--text);
  }
  .hero-headline em{font-style:italic; color:var(--accent);}

  .rotator{max-width:680px; margin:44px auto 0; text-align:center;}
  .rotator-track{display:grid;}
  .rotator-item{
    grid-area:1 / 1;
    opacity:0; transform:translateY(6px); filter:blur(4px);
    transition:opacity .8s ease, transform .8s ease, filter .8s ease;
    display:flex; flex-direction:column; align-items:center; gap:10px;
    pointer-events:none;
  }
  .rotator-item.is-active{opacity:1; transform:translateY(0); filter:blur(0); pointer-events:auto;}
  .rotator-label{font-size:calc(11.5px * var(--a11y-scale)); font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--petrol); display:flex; align-items:center; gap:8px;}
  .rotator-label::before{content:""; width:18px; height:3px; border-radius:999px; background:var(--petrol); flex-shrink:0;}
  .rotator-item[data-index="1"] .rotator-label{color:var(--weinrot-text);}
  .rotator-item[data-index="1"] .rotator-label::before{background:var(--weinrot-text);}
  .rotator-item p{font-size:calc(17px * var(--a11y-scale)); line-height:1.6; color:var(--text-soft); max-width:600px; margin:0 auto;}
  .rotator-dots{display:flex; justify-content:center; gap:8px; margin-top:20px;}
  .dot{
    width:22px; height:4px; border-radius:999px; border:none; padding:0; cursor:pointer;
    background:var(--line-strong); transition:background .2s ease, width .2s ease;
  }
  .dot.is-active{width:32px; background:var(--petrol);}
  .rotator-dots .dot:nth-child(2).is-active{background:var(--weinrot-text);}

  .hero-cta{display:flex; justify-content:center; gap:14px; margin-top:32px; flex-wrap:wrap;}
  .hero-note{text-align:center; font-size:calc(13.5px * var(--a11y-scale)); color:var(--muted); margin-top:14px;}

  /* PAIN */
  .pain{background:var(--bg-deep-petrol);}
  .pain-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
  @media (max-width:900px){ .pain-grid{grid-template-columns:1fr;} }
  .pain-card{
    background:var(--surface-3); border:1px solid transparent; border-radius:var(--radius); padding:30px 26px;
    display:flex; gap:14px; align-items:flex-start;
  }
  .pain-card svg{flex-shrink:0; width:20px; height:20px; margin-top:2px; color:var(--petrol); opacity:.85;}
  .pain-card p{font-size:calc(16px * var(--a11y-scale)); color:var(--text-soft); line-height:1.55;}

  /* LEISTUNGEN */
  .services{display:grid; grid-template-columns:repeat(2,1fr); gap:20px;}
  @media (max-width:860px){ .services{grid-template-columns:1fr;} }
  .service-card{
    background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
    padding:32px 30px; display:flex; flex-direction:column; gap:18px;
  }
  .service-card .icon{
    width:44px; height:44px; border-radius:12px; display:flex; align-items:center; justify-content:center; color:#fff;
    background:var(--petrol-solid);
  }
  .service-card .icon svg{width:22px; height:22px;}
  .service-card .label{font-size:calc(12.5px * var(--a11y-scale)); font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color:var(--muted);}
  .service-card .satz{font-size:calc(16px * var(--a11y-scale)); color:var(--text-soft); line-height:1.6;}
  .service-card ul{margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:10px;}
  .service-card li{display:flex; gap:10px; font-size:calc(14.5px * var(--a11y-scale)); color:var(--text-soft);}
  .service-card li::before{content:"→"; flex-shrink:0; color:var(--petrol);}
  .services .service-card:nth-child(2) .icon{background:var(--weinrot-solid);}
  .services .service-card:nth-child(2) li::before{color:var(--weinrot-text);}

  /* AUTOMATISIERUNG + CASE STUDY */
  .automation-swiper{position:relative;}
  .automation-tabs{display:flex; gap:10px; margin-bottom:28px; flex-wrap:wrap;}
  .automation-tab{
    background:var(--surface); border:1px solid var(--line); color:var(--text-soft);
    padding:10px 18px; border-radius:999px; font-size:calc(14px * var(--a11y-scale)); font-weight:600; cursor:pointer;
    font-family:var(--font-body); transition:background .18s ease, border-color .18s ease, color .18s ease, transform .18s var(--ease);
  }
  .automation-tab:hover{ border-color:var(--line-strong); color:var(--text); transform:translateY(-2px); }
  .automation-tab[aria-selected="true"]{background:var(--petrol-solid); border-color:var(--petrol-solid); color:#fff;}
  .automation-tab[aria-selected="true"]:hover{ background:var(--petrol-solid-hover); }
  #autotab-1[aria-selected="true"]{background:var(--weinrot-solid); border-color:var(--weinrot-solid);}
  #autotab-1[aria-selected="true"]:hover{ background:var(--weinrot-solid-hover); }
  .automation-viewport{overflow:hidden; touch-action:pan-y;}
  .automation-track{display:flex; transition:transform .45s ease;}
  @media (prefers-reduced-motion: reduce){ .automation-track{transition:none;} }
  .automation-panel{flex:0 0 100%; min-width:0;}
  .circuit{
    background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
    padding:32px 28px; display:grid; grid-template-columns:1.15fr 1fr; gap:32px; align-items:center;
  }
  @media (max-width:860px){ .circuit{grid-template-columns:1fr;} }
  .circuit-graphic{width:100%; height:auto;}
  .circuit-graphic .node-box{fill:var(--surface-2); stroke:var(--line-strong); stroke-width:1; transition:stroke .2s ease;}
  .circuit-graphic .node-label{fill:var(--text-soft); font:600 11px var(--font-body);}
  .circuit-graphic .node-label.strong{fill:var(--text);}
  .circuit-graphic .trace{fill:none; stroke:var(--line-strong); stroke-width:2;}
  .circuit-graphic .trace.is-flowing{stroke:var(--petrol); stroke-dasharray:6 10; animation:pulse-move 1.5s linear infinite;}
  .circuit-graphic .trace.is-checking{stroke:var(--weinrot); stroke-dasharray:5 9; animation:pulse-move-rev 1.5s linear infinite;}
  @keyframes pulse-move{ to{ stroke-dashoffset:-160; } }
  @keyframes pulse-move-rev{ to{ stroke-dashoffset:160; } }
  .circuit-graphic .check-flag, .circuit-graphic .overdue-flag{
    fill:var(--weinrot); font:700 8.5px var(--font-body); opacity:0; transition:opacity .2s ease;
  }
  .circuit-graphic [data-role="check"].is-checking .check-flag{opacity:1;}
  .circuit-graphic [data-role="final"].is-overdue .overdue-flag{opacity:1;}
  .circuit-graphic [data-role="final"].is-overdue .node-box{stroke:var(--weinrot); animation:overdue-ring 2s ease-in-out infinite;}
  @keyframes overdue-ring{ 0%,100%{filter:none;} 50%{filter:drop-shadow(0 0 4px var(--weinrot));} }
  @media (prefers-reduced-motion: reduce){
    .circuit-graphic .trace.is-flowing, .circuit-graphic .trace.is-checking{animation:none; stroke-dasharray:none;}
    .circuit-graphic [data-role="final"].is-overdue .node-box{animation:none;}
  }
  .circuit-copy h3{margin-bottom:14px;}
  .circuit-copy p{color:var(--text-soft); font-size:calc(15.5px * var(--a11y-scale)); line-height:1.6;}
  .automation-dots{display:flex; justify-content:center; gap:8px; margin-top:22px;}
  .automation-dots .dot:nth-child(2).is-active{background:var(--weinrot-text);}
  .case-callout{
    margin-top:20px; background:var(--surface-2); border:1px solid transparent; border-radius:12px; padding:20px 22px;
    display:flex; flex-direction:column; gap:8px;
  }
  .case-callout .case-tag{
    align-self:flex-start; padding:3px 10px; border-radius:999px; background:var(--petrol-solid); color:#fff;
    font-size:calc(11px * var(--a11y-scale)); font-weight:700; text-transform:uppercase; letter-spacing:0.06em;
  }
  #autopanel-1 .case-tag{background:var(--weinrot-solid);}
  .case-callout p{font-size:calc(14.5px * var(--a11y-scale)); color:var(--text-soft); line-height:1.6;}
  .case-callout .case-note{font-size:calc(13px * var(--a11y-scale)); color:var(--muted);}
  .case-structured{display:flex; flex-direction:column; gap:12px; margin:0;}
  .case-row dt{font-size:calc(11px * var(--a11y-scale)); font-weight:700; text-transform:uppercase; letter-spacing:0.06em; color:var(--petrol); margin-bottom:3px;}
  .case-row dd{margin:0; font-size:calc(14.5px * var(--a11y-scale)); color:var(--text-soft); line-height:1.55;}

  /* PROZESS */
  .process{background:var(--bg-alt);}
  .steps{display:flex; flex-direction:column; gap:44px; max-width:640px; position:relative;}
  .steps::before{
    content:""; position:absolute; top:22px; bottom:22px; left:22px; width:2px;
    background:var(--line-strong); z-index:0;
  }
  .step{
    position:relative; z-index:1; display:flex; gap:20px;
    padding:16px 18px; margin:-16px -18px; border-radius:var(--radius);
    border:1px solid transparent; background:transparent;
    transition:opacity .35s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
  }
  .js-scrollsteps .step{opacity:.82;}
  .js-scrollsteps .step.is-active{
    opacity:1; background:var(--surface-2); border-color:var(--line-strong);
    box-shadow:var(--shadow-sm), inset 3px 0 0 0 var(--petrol);
  }
  .step .step-num{
    position:relative; z-index:2;
    flex-shrink:0; width:44px; height:44px; border-radius:50%; background:var(--bg-alt); border:1.5px solid var(--petrol);
    color:var(--petrol); font-family:var(--font-display); font-weight:700; font-size:calc(17px * var(--a11y-scale));
    line-height:1; display:flex; align-items:center; justify-content:center;
    transition:background .35s var(--ease), color .35s ease, transform .35s var(--ease), box-shadow .35s ease;
  }
  .js-scrollsteps .step.is-active .step-num{
    background:var(--petrol-solid); color:#fff; transform:scale(1.12); box-shadow:0 0 0 5px rgba(var(--petrol-rgb),0.16);
  }
  .step h3{margin-bottom:8px; font-size:calc(17px * var(--a11y-scale)); transform-origin:left center; transition:transform .3s var(--ease);}
  .js-scrollsteps .step.is-active h3{transform:scale(1.13);}
  .step p{font-size:calc(14.5px * var(--a11y-scale)); color:var(--muted); line-height:1.55;}
  .step .dur{display:block; margin-top:10px; font-size:calc(12.5px * var(--a11y-scale)); color:var(--petrol-text); font-weight:600;}

  /* KENNZAHLEN */
  .stats-row{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
  @media (max-width:780px){ .stats-row{grid-template-columns:1fr;} }
  .stat{text-align:center; padding:8px;}
  .stat .num{font-family:var(--font-display); font-size:clamp(calc(36px * var(--a11y-scale)),5vw,calc(52px * var(--a11y-scale))); color:var(--petrol); font-weight:700;}
  .stat .num::after{content:"%";}
  .stat p{margin-top:10px; font-size:calc(14.5px * var(--a11y-scale)); color:var(--text-soft); line-height:1.5;}
  .stats-source{margin-top:14px; text-align:center; font-size:calc(12.5px * var(--a11y-scale)); color:var(--muted);}

  /* TRUST */
  .trust-wrap{display:grid; grid-template-columns:auto 1fr; gap:40px; align-items:start;}
  @media (max-width:780px){ .trust-wrap{grid-template-columns:1fr; justify-items:center; text-align:center;} }
  .trust-portrait{flex-shrink:0;}
  .trust-portrait svg{width:180px; height:220px; display:block;}
  .trust-portrait img{width:220px; aspect-ratio:4/5; height:auto; object-fit:cover; display:block; border-radius:var(--radius); box-shadow:var(--shadow-sm);}
  /* 17.11.2026: freigestellte Fotos (Dateiname endet auf -frei.*) ohne Kasten: kein Schatten, keine Rundung, kein Zuschnitt */
  .trust-portrait--frei img{width:240px; aspect-ratio:auto 480 / 569; object-fit:contain; border-radius:0; box-shadow:none;}
  @media (max-width:780px){ .trust-portrait img{width:180px;} }
  @media (max-width:780px){ .trust-portrait--frei img{width:200px;} }
  .trust-honesty{
    background:var(--bg-deep-petrol); border:1px solid var(--line); border-radius:var(--radius);
    padding:26px 28px; display:flex; flex-direction:column; gap:10px; margin-bottom:22px;
  }
  .trust-honesty .kicker{font-size:calc(12px * var(--a11y-scale)); font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--petrol-text);}
  .trust-honesty p{font-size:calc(15px * var(--a11y-scale)); color:var(--text-soft); line-height:1.6;}
  .trust-honesty strong{color:var(--text);}
  .trust-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:18px;}
  @media (max-width:600px){ .trust-grid{grid-template-columns:1fr;} }
  .trust-card{background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:22px 22px;}
  .trust-card h3{font-size:calc(15px * var(--a11y-scale)); margin-bottom:10px;}
  .trust-card p{font-size:calc(14.5px * var(--a11y-scale)); color:var(--muted); line-height:1.6;}

  /* CTA-Hinweis */
  .cta-nudge{
    display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
    background:linear-gradient(120deg, var(--surface) 0%, var(--surface-2) 100%);
    border:1px solid var(--line); border-left:3px solid var(--petrol); border-radius:var(--radius);
    padding:22px 26px; margin:8px 0 0;
  }
  .cta-nudge-text{display:flex; align-items:center; gap:14px;}
  .cta-nudge-icon{
    width:36px; height:36px; border-radius:10px; background:var(--petrol-solid);
    display:flex; align-items:center; justify-content:center; color:#fff; flex-shrink:0;
  }
  .cta-nudge-icon svg{width:18px; height:18px;}
  .cta-nudge p{font-size:calc(15.5px * var(--a11y-scale)); color:var(--text-soft);}

  /* FAQ */
  .faq-list{display:flex; flex-direction:column; border-top:1px solid var(--line);}
  details{border-bottom:1px solid var(--line);}
  details summary{
    padding:22px 4px; cursor:pointer; font-weight:600; font-size:calc(16.5px * var(--a11y-scale)); list-style:none; color:var(--text);
    display:flex; justify-content:space-between; align-items:center; gap:20px;
  }
  details summary::-webkit-details-marker{display:none;}
  details summary::after{content:"+"; font-size:calc(22px * var(--a11y-scale)); color:var(--muted); font-weight:400; flex-shrink:0; transition:transform .2s ease;}
  details[open] summary::after{transform:rotate(45deg); color:var(--petrol);}
  details .faq-answer{padding:0 4px 24px; color:var(--muted); font-size:calc(15.5px * var(--a11y-scale)); max-width:760px; line-height:1.65;}

  /* CTA BAND */
  .cta-band{
    background:radial-gradient(ellipse at 0% 100%, rgba(30,107,123,0.45) 0%, transparent 42%), radial-gradient(ellipse at 100% 0%, rgba(140,53,66,0.40) 0%, transparent 42%), #0E171B;
    color:#fff; text-align:center; position:relative; overflow:hidden;
  }
  .cta-band::before{
    content:""; position:absolute; inset:0;
    background:radial-gradient(circle at 30% 20%, rgba(255,255,255,0.10), transparent 55%);
    pointer-events:none;
  }
  .cta-band h2{color:#fff; position:relative;}
  .cta-band p{color:#CBD5DA; margin-top:14px; font-size:calc(18px * var(--a11y-scale)); position:relative;}
  .cta-band .hero-cta{margin-top:30px; position:relative;}
  .cta-band .btn-ghost{border-color:rgba(255,255,255,0.45); color:#fff;}
  .cta-band .btn-ghost:hover{border-color:#fff; background:rgba(255,255,255,0.1);}
  .cta-band .btn-primary{background:#fff; color:#17586A;}
  .cta-band .btn-primary:hover{background:#EDEDED;}

  /* CALENDLY */
  .calendly-wrap{margin-top:34px; max-width:640px; margin-left:auto; margin-right:auto; position:relative;}
  .calendly-card{background:var(--surface); border:1px solid var(--line-strong); border-radius:var(--radius); box-shadow:var(--shadow-md); overflow:hidden; text-align:left;}
  .calendly-gate{padding:38px 30px; display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center;}
  .calendly-gate-icon{width:46px; height:46px; border-radius:12px; background:var(--petrol-solid); display:flex; align-items:center; justify-content:center; color:#fff; flex-shrink:0;}
  .calendly-gate-icon svg{width:22px; height:22px;}
  .calendly-gate h3{color:var(--text); font-size:calc(18px * var(--a11y-scale));}
  .calendly-gate p{color:var(--text-soft); font-size:calc(14px * var(--a11y-scale)); line-height:1.6; max-width:440px;}
  .calendly-gate-link{background:none; border:none; padding:0; margin:0; color:var(--petrol-text); text-decoration:underline; cursor:pointer; font:inherit;}
  .calendly-gate .btn-primary{margin-top:4px;}
  .calendly-gate .calendly-consent{color:var(--muted); font-size:calc(13.5px * var(--a11y-scale)); line-height:1.55; max-width:440px; margin:0;}
  .calendly-consent .calendly-gate-link{color:var(--muted); text-decoration:underline; font-size:inherit;}
  .calendly-consent .calendly-gate-link:hover{color:var(--text-soft);}
  .calendly-dialog-gate{padding:34px 18px 26px;}
  .calendly-gate .btn-primary{min-height:44px;}
  @keyframes btn-pulse{
    0%,100%{ box-shadow:0 0 0 0 rgba(var(--petrol-rgb),0.45); }
    50%{ box-shadow:0 0 0 9px rgba(var(--petrol-rgb),0); }
  }
  .btn-pulse.is-pulsing{ animation:btn-pulse 2.6s ease-in-out infinite; }
  .btn-pulse.is-pulsing:hover{ animation-play-state:paused; }
  .calendly-fallback{font-size:calc(12.5px * var(--a11y-scale)); color:var(--muted); text-decoration:none;}
  .calendly-fallback:hover{color:var(--text-soft); text-decoration:underline;}
  .calendly-inline-widget{min-width:280px;}


  /* FOOTER */
  footer{padding:52px 0 40px; border-top:1px solid var(--line);}
  .footer-top{display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; margin-bottom:28px;}
  .footer-links{display:flex; gap:22px; list-style:none; padding:0; margin:0; flex-wrap:wrap; align-items:center;}
  .footer-links a, .footer-links button{font-size:calc(14px * var(--a11y-scale)); text-decoration:none; color:var(--muted); background:none; border:none; padding:0; cursor:pointer; font-family:inherit;}
  .footer-links a:hover, .footer-links button:hover{color:var(--text);}
  .footer-bottom{font-size:calc(13px * var(--a11y-scale)); color:var(--muted);}

  /* ANREDE-TOGGLE */
  .anrede-toggle{
    position:relative; display:inline-flex; align-items:center;
    width:112px; height:36px; border-radius:999px; flex-shrink:0;
    background:var(--surface-2); border:1.5px solid var(--line-strong);
    box-shadow:inset 0 1px 3px rgba(14,23,27,0.12);
    text-decoration:none; padding:3px; overflow:hidden;
    transition:border-color .18s ease, box-shadow .18s ease;
  }
  .anrede-toggle:hover{border-color:var(--text); box-shadow:inset 0 1px 3px rgba(14,23,27,0.12), var(--shadow-sm);}
  .anrede-toggle-track{position:relative; display:flex; width:100%; height:100%;}
  .anrede-toggle-thumb{
    position:absolute; top:0; left:0; width:50%; height:100%;
    border-radius:999px 0 0 999px;
    background:var(--petrol-solid); box-shadow:var(--shadow-sm);
    transition:transform .22s var(--ease), border-radius .22s var(--ease);
  }
  .anrede-toggle[data-current="sie"] .anrede-toggle-thumb{
    transform:translateX(100%); border-radius:0 999px 999px 0;
  }
  .anrede-toggle-opt{
    position:relative; z-index:1; flex:1; display:flex; align-items:center; justify-content:center;
    font-size:calc(12.5px * var(--a11y-scale)); font-weight:700; letter-spacing:0.02em; color:var(--muted);
    transition:color .18s ease; pointer-events:none;
  }
  .anrede-toggle[data-current="du"] .anrede-toggle-du,
  .anrede-toggle[data-current="sie"] .anrede-toggle-sie{color:#fff;}
  @media (prefers-reduced-motion: reduce){ .anrede-toggle-thumb{transition:none;} }

  /* DIALOGS */
  dialog{
    width:calc(100% - 48px); border:1px solid var(--line-strong); border-radius:var(--radius);
    background:var(--surface); color:var(--text); padding:0; box-shadow:var(--shadow-md);
  }
  dialog::backdrop{background:rgba(14,23,27,0.62); backdrop-filter:blur(2px);}
  dialog.legal-dialog{max-width:640px;}
  .legal-dialog-inner{padding:32px 30px; max-height:80vh; overflow-y:auto;}
  .legal-dialog-inner h2{font-size:calc(24px * var(--a11y-scale)); margin-bottom:18px;}
  .legal-dialog-inner h3{font-size:calc(15px * var(--a11y-scale)); margin:22px 0 8px;}
  .legal-dialog-inner p, .legal-dialog-inner li{font-size:calc(14.5px * var(--a11y-scale)); color:var(--text-soft); line-height:1.65;}
  .legal-dialog-inner ul{padding-left:20px; margin:0 0 12px;}
  .legal-close{
    position:sticky; top:16px; float:right; margin:16px 16px -40px 0; background:var(--surface-2); border:1px solid var(--line-strong);
    color:var(--text); width:36px; height:36px; border-radius:50%; cursor:pointer; font-size:calc(18px * var(--a11y-scale)); line-height:1;
  }
  .placeholder-note{color:var(--weinrot); font-style:italic;}

  /* ACCESSIBILITY-BEDIENPANEL */
  html.a11y-text-l{ --a11y-scale:1.15; }
  html.a11y-text-xl{ --a11y-scale:1.3; }

  html.a11y-contrast, html.a11y-contrast .zone-dark, html.a11y-contrast .pain, html.a11y-contrast #kennzahlen, html.a11y-contrast footer{
    --bg:#000000; --bg-alt:#000000; --bg-deep-petrol:#000000;
    --surface:#000000; --surface-2:#0d0d0d; --surface-3:#0d0d0d;
    --line:rgba(255,255,255,0.4); --line-strong:rgba(255,255,255,0.75);
    --text:#ffffff; --text-soft:#ffffff; --muted:#e8e8e8;
    --petrol:#7FE3F2; --petrol-solid:#0B4552; --petrol-solid-hover:#125A6B;
    --weinrot:#FFAAB8; --weinrot-solid:#3A0F14; --weinrot-solid-hover:#4D141A;
    --petrol-text:#7FE3F2; --weinrot-text:#FFAAB8; --accent:#7FE3F2; --nav-bg:#000000;
    --cta-bg:#0B4552; --cta-bg-hover:#125A6B; --cta-ink:#ffffff;
  }

  html.a11y-no-motion{ scroll-behavior:auto !important; }
  html.a11y-no-motion .pain-card, html.a11y-no-motion .service-card, html.a11y-no-motion .trust-card,
  html.a11y-no-motion .case-callout, html.a11y-no-motion .cta-nudge, html.a11y-no-motion .btn, html.a11y-no-motion .automation-tab{
    transition:box-shadow .15s ease, border-color .15s ease, background .15s ease !important;
  }
  html.a11y-no-motion .pain-card:hover, html.a11y-no-motion .service-card:hover, html.a11y-no-motion .trust-card:hover,
  html.a11y-no-motion .case-callout:hover, html.a11y-no-motion .cta-nudge:hover, html.a11y-no-motion .btn:hover, html.a11y-no-motion .automation-tab:hover{
    transform:none !important;
  }
  html.a11y-no-motion .blob-outer.petrol, html.a11y-no-motion .blob-outer.weinrot{ animation:none !important; }
  html.a11y-no-motion .blob-inner{ transform:none !important; }
  html.a11y-no-motion .automation-track{ transition:none !important; }
  html.a11y-no-motion .circuit-graphic .trace.is-flowing, html.a11y-no-motion .circuit-graphic .trace.is-checking{ animation:none !important; stroke-dasharray:none !important; }
  html.a11y-no-motion .circuit-graphic [data-role="final"].is-overdue .node-box{ animation:none !important; }
  html.a11y-no-motion .rotator-item{ transition:none !important; }
  html.a11y-no-motion .step{ transition:none !important; }
  html.a11y-no-motion .step-num{ transition:none !important; transform:none !important; }
  html.a11y-no-motion .step h3{ transition:none !important; transform:none !important; }
  html.a11y-no-motion #header-cta{ transition:opacity .01s linear !important; }
  html.a11y-no-motion #header-cta.is-hidden{ transform:none !important; }
  html.a11y-no-motion .btn-pulse.is-pulsing{ animation:none !important; }

  .a11y-toggle{
    position:fixed; right:20px; bottom:20px; z-index:60;
    width:52px; height:52px; border-radius:50%; padding:0;
    background:var(--petrol-solid); color:#fff; border:1px solid rgba(255,255,255,0.3);
    display:flex; align-items:center; justify-content:center; cursor:pointer;
    box-shadow:var(--shadow-md);
    transition:background .18s ease, transform .18s var(--ease);
  }
  .a11y-toggle:hover{background:var(--petrol-solid-hover); transform:translateY(-2px);}
  .a11y-toggle svg{width:23px; height:23px;}
  @media (max-width:600px){ .a11y-toggle{right:14px; bottom:14px; width:46px; height:46px;} .a11y-toggle svg{width:20px; height:20px;} }

  dialog.a11y-dialog{max-width:360px;}
  .a11y-dialog-inner{padding:28px 26px;}
  .a11y-dialog-inner h2{font-size:calc(21px * var(--a11y-scale)); margin-bottom:8px;}
  .a11y-intro{font-size:calc(13px * var(--a11y-scale)); color:var(--muted); line-height:1.5; margin:0 0 22px;}
  .a11y-group{border:none; padding:0; margin:0 0 18px;}
  .a11y-group legend{font-size:calc(12.5px * var(--a11y-scale)); font-weight:700; text-transform:uppercase; letter-spacing:0.05em; color:var(--text-soft); padding:0; margin-bottom:10px;}
  .a11y-btn-row{display:flex; gap:8px; flex-wrap:wrap;}
  .a11y-opt{
    padding:9px 14px; border-radius:999px; border:1.5px solid var(--line-strong); background:transparent; color:var(--text-soft);
    font-size:calc(13.5px * var(--a11y-scale)); font-weight:600; cursor:pointer; font-family:var(--font-body);
    transition:background .15s ease, border-color .15s ease, color .15s ease;
  }
  .a11y-opt[aria-pressed="true"]{background:var(--petrol-solid); border-color:var(--petrol-solid); color:#fff;}
  .a11y-switch-row{
    display:flex; align-items:center; justify-content:space-between; gap:14px;
    padding:13px 0; border-top:1px solid var(--line); font-size:calc(14.5px * var(--a11y-scale)); color:var(--text-soft);
  }
  .a11y-switch-row input{width:19px; height:19px; accent-color:var(--petrol-solid); cursor:pointer;}
  #a11y-reset{margin-top:18px;}

  /* GATE */
  .gate-hero{padding:52px 0 148px;}
  @media (max-width:720px){ .gate-hero{padding:36px 0 96px;} }
  .gate-headline{margin-top:22px;}
  .gate-intro{
    max-width:600px; margin:22px auto 0; text-align:center;
    color:var(--text-soft); font-size:calc(17px * var(--a11y-scale)); line-height:1.6;
  }
  .gate-choice-grid{
    display:grid; grid-template-columns:1fr 1fr; gap:20px;
    max-width:640px; margin:44px auto 0;
  }
  @media (max-width:640px){ .gate-choice-grid{grid-template-columns:1fr;} }
  .gate-choice{
    position:relative;
    display:flex; flex-direction:column; align-items:center; gap:10px; text-align:center;
    background:var(--surface); border:1.5px solid var(--line); border-radius:var(--radius);
    padding:34px 24px 28px; text-decoration:none; color:var(--text);
    transition:transform .2s var(--ease), box-shadow .2s ease, border-color .2s ease;
  }
  .gate-choice:hover{transform:translateY(-4px); box-shadow:var(--shadow-sm); border-color:var(--line-strong);}
  .gate-choice h3{font-size:calc(22px * var(--a11y-scale));}
  .gate-choice p{color:var(--muted); font-size:calc(14.5px * var(--a11y-scale)); line-height:1.55;}
  .gate-choice.is-recommended{
    border-color:var(--petrol); background:linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
    box-shadow:0 0 0 1px var(--petrol);
  }
  .gate-choice.is-recommended:hover{box-shadow:0 0 0 1px var(--petrol), var(--shadow-sm);}
  .gate-badge{
    position:absolute; top:-12px; left:50%; transform:translateX(-50%);
    background:var(--petrol-solid); color:#fff; padding:4px 14px; border-radius:999px;
    font-size:calc(11.5px * var(--a11y-scale)); font-weight:700; letter-spacing:0.04em; white-space:nowrap;
  }
  .gate-footnote{
    text-align:center; margin-top:26px; color:var(--muted); font-size:calc(13px * var(--a11y-scale));
  }
  @media (prefers-reduced-motion: reduce){ .gate-choice{transition:box-shadow .15s ease, border-color .15s ease;} .gate-choice:hover{transform:none;} }


  /* CRO-Fix 2026-09-12: Nav-Anrede-Toggle, Quiet-Link, Step-Detail, Automation-Link */
  .nav-left{display:flex; align-items:center; gap:16px;}
  .nav-right{display:flex; align-items:center; gap:14px;}
  .anrede-toggle.is-nav{width:88px; height:32px;}
  .anrede-toggle.is-nav .anrede-toggle-opt{font-size:calc(11px * var(--a11y-scale));}
  @media (max-width:480px){ .anrede-toggle.is-nav{width:76px; height:30px;} .anrede-toggle.is-nav .anrede-toggle-opt{font-size:calc(10px * var(--a11y-scale));} }
  .anrede-hint-bar{display:none;}
  @media (max-width:600px){
    .anrede-hint-bar{
      display:block; text-align:center; padding:7px 16px;
      background:var(--surface-2); border-bottom:1px solid var(--line);
    }
    .anrede-hint-bar a{
      font-size:calc(12.5px * var(--a11y-scale)); color:var(--text-soft);
      text-decoration:underline; text-underline-offset:2px;
    }
    .nav-left .anrede-toggle.is-nav{display:none;}
    .nav-left{gap:0;}
  }
  .link-quiet{
    display:inline-flex; align-items:center; gap:6px;
    color:var(--text-soft); text-decoration:underline; text-underline-offset:3px;
    font-size:calc(14.5px * var(--a11y-scale)); font-weight:500;
    padding:8px 4px; background:none; border:none; cursor:pointer; font-family:inherit;
  }
  .link-quiet:hover{color:var(--text);}
  .hero-cta .link-quiet{padding:15px 4px;}

  .automation-more{text-align:center; margin-top:22px;}

  .step-more{
    display:inline; margin-left:4px; padding:0; border:0; background:none; cursor:pointer;
    font-family:inherit; font-size:calc(13px * var(--a11y-scale)); font-weight:600;
    color:var(--petrol-text); text-decoration:underline; text-underline-offset:2px; opacity:0.85;
  }
  .step-more:hover{opacity:1;}

  /* AUTOMATISIERUNGSBEISPIELE-UNTERSEITE */
  .subpage-hero{padding:56px 0 40px;}
  .subpage-back{display:inline-flex; align-items:center; gap:6px; color:var(--muted); text-decoration:none; font-size:calc(14px * var(--a11y-scale)); margin-bottom:18px;}
  .subpage-back:hover{color:var(--text-soft);}
  .subpage-hero h1{max-width:720px;}
  .subpage-intro{max-width:640px; margin-top:16px; color:var(--text-soft); font-size:calc(16.5px * var(--a11y-scale)); line-height:1.6;}
  .case-block{margin-bottom:56px;}
  .case-block h2{margin-bottom:18px;}
  .case-block .case-callout{max-width:820px;}

  /* CRO-Fix 2026-09-12 (Runde 2): Automatisierungs-Dialog als großes Overlay statt eigener Unterseite */
  dialog.automation-dialog{max-width:900px;}
  .automation-dialog-inner{padding:36px 32px; max-height:86vh; overflow-y:auto;}
  .automation-dialog-inner > .eyebrow{display:block; margin-bottom:8px;}
  .automation-dialog-inner h2{font-size:calc(24px * var(--a11y-scale)); margin-bottom:14px;}
  .automation-dialog-inner .subpage-intro{margin:0 0 32px; max-width:none;}
  .automation-dialog-inner .case-block{margin-bottom:40px;}
  .automation-dialog-inner .case-block:last-of-type{margin-bottom:28px;}
  .automation-dialog-inner .case-block h3{font-size:calc(18px * var(--a11y-scale)); margin:14px 0 10px;}
  .automation-dialog-inner .circuit{margin-bottom:14px;}
  .automation-dialog-cta{margin-top:12px;}
  @media (max-width:600px){ .automation-dialog-inner{padding:28px 20px;} }

  /* Fix 2026-09-15: Dialog-Kopfzeile (Titel + Schließen-Button) als Flex-Row statt
     Float+Sticky-Hack. Der alte .legal-close-Trick (float:right + position:sticky +
     negativer margin) ließ die Überschrift bei schmalen Dialogen (v. a. das schmale
     Accessibility-Panel, aber auch lange Wörter wie "Datenschutzerklärung" auf
     Mobil) mit dem Button überlappen. Jetzt: Button und Titel stehen in einer festen
     Flex-Zeile nebeneinander, überlappen sich nie, und bleiben in den scrollbaren
     Dialogen (Impressum/Datenschutz/Automatisierung) beim Scrollen sichtbar oben. */
  .legal-close{
    position:static; float:none; margin:0; flex-shrink:0;
    background:var(--surface-2); border:1px solid var(--line-strong);
    color:var(--text); width:36px; height:36px; border-radius:50%; cursor:pointer;
    font-size:calc(18px * var(--a11y-scale)); line-height:1;
  }
  .dialog-head{display:flex; align-items:flex-start; justify-content:space-between; gap:16px;}
  .dialog-head h2{margin-bottom:0;}
  .dialog-head-text{display:flex; flex-direction:column; gap:8px;}
  .legal-dialog-inner .dialog-head{
    position:sticky; top:-32px; z-index:2; background:var(--surface);
    margin:-32px -30px 18px; padding:32px 30px 16px;
  }
  .automation-dialog-inner .dialog-head{
    position:sticky; top:-36px; z-index:2; background:var(--surface);
    margin:-36px -32px 14px; padding:36px 32px 14px;
  }
  @media (max-width:600px){
    .automation-dialog-inner .dialog-head{
      top:-28px; margin:-28px -20px 14px; padding:28px 20px 14px;
    }
  }
  .a11y-dialog-inner .dialog-head{ margin-bottom:8px; }

  /* Fix 2026-09-28: Dialoge scrollen die Seite darunter nicht mehr mit.
     overscroll-behavior verhindert Scroll-Chaining aus dem Dialog-Inhalt,
     :has() sperrt zusätzlich das Scrollen der Seite, solange ein Dialog offen ist. */
  .legal-dialog-inner, .automation-dialog-inner, .a11y-dialog-inner{overscroll-behavior:contain;}
  dialog{overscroll-behavior:contain;}
  html:has(dialog[open]){overflow:hidden;}

  /* 2026-09-28: Calendly-Buchung als Popup */
  dialog.calendly-dialog{max-width:1040px;}
  .calendly-dialog-inner{padding:28px 26px 20px; max-height:92vh;}
  .calendly-dialog-inner .dialog-head{top:-28px; margin:-28px -26px 10px; padding:28px 26px 12px;}
  .calendly-dialog-sub{color:var(--text-soft); font-size:calc(14.5px * var(--a11y-scale));}
  .calendly-dialog-body{min-height:200px;}
  .calendly-dialog-loading{color:var(--muted); text-align:center; padding:60px 0;}
  .calendly-dialog-inner .calendly-fallback{display:block; text-align:center; margin-top:10px;}
  @media (max-width:600px){
    dialog.calendly-dialog{width:calc(100% - 16px);}
    .calendly-dialog-inner{padding:20px 12px 14px;}
    .calendly-dialog-inner .dialog-head{top:-20px; margin:-20px -12px 8px; padding:20px 12px 10px;}
  }

  /* 2026-09-28: Mobil-Ansicht Automatisierung. Die SVG-Grafik ist auf dem Handy nur ~6 px
     Schrift groß (520er-viewBox auf ~300 px). Darunter ersetzt eine vertikale HTML-Variante
     mit lesbarer Schrift die Grafik; der Automatisierungs-Dialog wird fast bildschirmbreit
     und bekommt einen kompakten Kopf. */
  .flow-mobile{display:none;}
  h2[tabindex="-1"]:focus{outline:none;}
  @media (max-width:600px){
    .circuit .circuit-graphic{display:none;}
    .flow-mobile{display:flex; flex-direction:column; align-items:stretch;}
    .flow-sources{display:flex; flex-wrap:wrap; justify-content:center; gap:6px;}
    .flow-chip{
      padding:6px 10px; border-radius:999px; background:var(--surface-2); border:1px solid var(--line-strong);
      font-size:calc(12.5px * var(--a11y-scale)); font-weight:600; color:var(--text-soft);
    }
    .flow-arrow{position:relative; align-self:center; width:2px; height:44px; margin:2px 0; background:var(--line-strong); border-radius:2px; overflow:visible;}
    .flow-arrow::before{content:""; position:absolute; left:-4px; bottom:-2px; width:0; height:0; border-left:5px solid transparent; border-right:5px solid transparent; border-top:6px solid var(--line-strong);}
    .flow-arrow::after{content:""; position:absolute; left:-3px; top:0; width:8px; height:8px; border-radius:50%; background:var(--petrol); box-shadow:0 0 8px var(--petrol); opacity:0;}
    .flow-arrow.is-flowing{background:rgba(var(--petrol-rgb),0.55);}
    .flow-arrow.is-flowing::after{opacity:1; animation:flow-down .9s linear infinite;}
    .flow-arrow.is-checking{background:rgba(var(--weinrot-rgb),0.6);}
    .flow-arrow.is-checking::after{opacity:1; background:var(--weinrot-text); box-shadow:0 0 8px var(--weinrot); animation:flow-up .9s linear infinite;}
    .flow-node{
      display:flex; flex-direction:column; align-items:center; gap:2px; text-align:center;
      padding:10px 12px; border-radius:10px; background:var(--surface-2); border:1px solid var(--line-strong);
      transition:border-color .25s ease, box-shadow .25s ease, background .25s ease;
    }
    .flow-node strong{font-size:calc(13.5px * var(--a11y-scale)); color:var(--text-soft); font-weight:600; transition:color .25s ease;}
    .flow-node.is-active{border-color:var(--petrol); box-shadow:0 0 0 3px rgba(var(--petrol-rgb),0.15);}
    .flow-node.is-active strong{color:var(--text);}
    .flow-node.is-checking, .flow-node.is-overdue{border-color:var(--weinrot); box-shadow:0 0 0 3px rgba(var(--weinrot-rgb),0.22);}
    .flow-node{position:relative;}
    .flow-flag{
      position:absolute; left:50%; bottom:-11px; transform:translateX(-50%) scale(.9); z-index:1;
      padding:2px 9px; border-radius:999px; background:var(--weinrot-solid); border:1px solid var(--weinrot);
      font-size:calc(11px * var(--a11y-scale)); font-weight:700; color:#fff; white-space:nowrap;
      opacity:0; transition:opacity .25s ease, transform .25s ease;
    }
    .flow-node.is-checking .flow-flag, .flow-node.is-overdue .flow-flag{opacity:1; transform:translateX(-50%) scale(1);}
    .flow-chip{transition:border-color .25s ease, color .25s ease;}
    .flow-chip.is-active{border-color:var(--petrol); color:var(--text);}
    .circuit{padding:20px 16px; gap:20px;}
    dialog.automation-dialog{width:calc(100% - 16px); max-width:none;}
    .automation-dialog-inner{padding:18px 14px; max-height:calc(100dvh - 32px);}
    .automation-dialog-inner .dialog-head{top:-18px; margin:-18px -14px 12px; padding:14px 14px 10px; align-items:center;}
    .automation-dialog-inner .dialog-head .eyebrow{display:none;}
    .automation-dialog-inner .dialog-head h2{font-size:calc(19px * var(--a11y-scale));}
    .automation-dialog-inner .subpage-intro{margin-bottom:22px; font-size:calc(15px * var(--a11y-scale));}
    .automation-dialog-inner .case-block{margin-bottom:28px;}
    .automation-dialog-inner .case-callout{padding:16px 14px;}
  }
  @keyframes flow-down{ from{ top:-4px; } to{ top:40px; } }
  @keyframes flow-up{ from{ top:40px; } to{ top:-4px; } }
  @media (prefers-reduced-motion: reduce){ .flow-arrow::after{animation:none !important; opacity:0 !important;} }
  html.a11y-no-motion .flow-arrow::after{animation:none !important; opacity:0 !important;}

  /* 2026-09-28: Zusammenarbeit mobil nicht mehr seitlich wischbar. Die aktive Schritt-
     Überschrift wird per transform:scale vergrößert; als volle Blockbreite ragte sie dabei
     ~12px über den Bildschirmrand. inline-block skaliert nur die Textbreite, clip als Netz. */
  .step h3{display:inline-block;}
  .process{overflow-x:clip;}

  /* 2026-09-28: Sektionsabstände. Vorher 96px oben + 96px unten = 192px Leerraum zwischen
     zwei Sektionen (mobil 136px) — mehr als das Vierfache des Abstands innerhalb einer
     Sektion (44px). Nach dem Gestaltgesetz der Nähe reicht etwa das Doppelte, damit
     Sektionen als getrennte Gruppen gelesen werden; zu große Lücken wirken wie ein
     Seitenende ("Illusion of Completeness", NN/g). Bleibt der Hintergrund gleich, reichen
     rund 96px (gut das Doppelte des Innenabstands); an Farbwechseln bleiben 136px. */
  section{padding:68px 0;}
  #leistungen + #automatisierung,
  #kennzahlen + #ueber-mich,
  #ueber-mich + #faq{padding-top:28px;}
  @media (max-width:720px){
    section{padding:52px 0;}
    .hero{padding:72px 0 56px;}
    #leistungen + #automatisierung,
    #kennzahlen + #ueber-mich,
    #ueber-mich + #faq{padding-top:20px;}
    .section-head{margin-bottom:32px;}
  }

  /* ===== Farbsystem 08.11.2026: dunkle Kontrastzonen =====
     Gleiche Variablennamen, dunkle Werte. Alle Textfarben >= 4.5:1 auf --bg/--surface/--surface-2
     (nachgerechnet nach WCAG 2.1). Velvet Burgundy (#8C3542) ist auf Dunkel nur 2.3:1,
     deshalb dort --weinrot-text #D98A96 (>= 5.4:1) und für Linien #C2626F. */
  .zone-dark, .pain, #kennzahlen, footer{
    --bg:#0E171B; --bg-alt:#0E171B; --bg-deep-petrol:#0E171B;
    --surface:#16242A; --surface-2:#1C2D34; --surface-3:#16242A;
    --line:rgba(255,255,255,0.12); --line-strong:rgba(255,255,255,0.26);
    --text:#F8FAFC; --text-soft:#CBD5DA; --muted:#9AA8AE;
    --petrol:#6BB6C5; --petrol-text:#6BB6C5; --accent:#6BB6C5;
    --weinrot:#C2626F; --weinrot-text:#D98A96;
    --shadow-sm:0 2px 10px rgba(0,0,0,0.35); --shadow-md:0 24px 60px rgba(0,0,0,0.5);
    background:var(--bg); color:var(--text);
  }
  .zone-dark .btn-ghost:hover, .pain .btn-ghost:hover, #kennzahlen .btn-ghost:hover, footer .btn-ghost:hover{background:rgba(255,255,255,0.06);}
  .hero{background:var(--bg);}
  .service-card .icon{color:#fff;}
  .cta-band .eyebrow{color:#fff;}
  .cta-band .eyebrow::before{background:#fff;}

  /* Seitenspezifische Akzente (Body-Klasse scheme-*, im Admin unter "Hero → Farbschema" wählbar) */
  /* 2026-11-17c entfernt (Leistung 2 wieder Weinrot): body.scheme-handwerk .service-card .icon{background:var(--petrol-light);} */
  /* 2026-11-17c entfernt (Leistung 2 wieder Weinrot): body.scheme-handwerk .services .service-card:nth-child(2) .icon{background:var(--petrol-solid);} */
  /* 2026-11-17c entfernt (Leistung 2 wieder Weinrot): body.scheme-handwerk .services .service-card:nth-child(2) li::before{color:var(--petrol);} */
  body.scheme-verwalter .eyebrow::before, body.scheme-verwalter .rotator-label::before{background:var(--petrol-light);}
  body.scheme-nachfolge{ --accent:var(--weinrot-text); }
  body.scheme-nachfolge .pain, body.scheme-nachfolge #kennzahlen{ --accent:#D98A96; }
  html.a11y-contrast body{ --cta-bg:#0B4552; --cta-bg-hover:#125A6B; --cta-ink:#fff; --accent:#7FE3F2; }

  /* ===== Dunkle Akzente (Hell/Dunkel-Rhythmus, 10.11.2026) =====
     Grundlage: NN/g (Dunkel nur für kurze Abschnitte), WCAG 1.4.6/1.4.8, BOIA.
     Dunkel nur für kurze Sektionen (Kennzahlen, Prinzipien/Leistungen als Kartenreihe, CTA-Band).
     Fließtext >= 17-18 px, Zeilenhöhe >= 1.5, Gewicht 400, Links unterstrichen, weißer Fokusrahmen.
     Farben ausschließlich aus der bestehenden Palette (--deep #0E171B, --surface #16242A, Off-White #F8FAFC). */
  .zone-dark .section-head p, #kennzahlen .section-head p{color:var(--text-soft); font-size:calc(18px * var(--a11y-scale)); line-height:1.6; font-weight:400;}
  .zone-dark a:not(.btn):not(.home-bcard), #kennzahlen a:not(.btn){text-decoration:underline; text-underline-offset:3px;}
  .zone-dark :focus-visible, #kennzahlen :focus-visible{outline:2px solid #F8FAFC; outline-offset:3px;}
  html:not(.a11y-contrast) .zone-dark .btn-primary{background:#F8FAFC; color:#17586A; box-shadow:none;}
  html:not(.a11y-contrast) .zone-dark .btn-primary:hover{background:#FFFFFF;}
  /* Kennzahlen: kompakter Block, drei Zahlen-Karten mit hellem Rand */
  #kennzahlen .section-head{margin-bottom:32px;}
  #kennzahlen .stats-row{gap:18px;}
  #kennzahlen .stat{background:rgba(248,250,252,0.04); border:1px solid var(--line-strong); border-radius:var(--radius); padding:26px 22px;}
  #kennzahlen .stat p{font-size:calc(18px * var(--a11y-scale)); line-height:1.5; font-weight:400; color:var(--text);}
  #kennzahlen .stats-source{margin-top:20px; font-size:calc(15px * var(--a11y-scale)); line-height:1.5; color:var(--text-soft);}
  /* Leistungskarten in dunkler Sektion */
  .zone-dark .service-card{background:var(--surface); border-color:var(--line-strong);}
  .zone-dark .service-card .label{color:var(--text-soft);}
  .zone-dark .service-card .satz{font-size:calc(17.5px * var(--a11y-scale)); line-height:1.6; color:var(--text);}
  .zone-dark .service-card li{font-size:calc(17px * var(--a11y-scale)); line-height:1.55; color:var(--text-soft);}
  .zone-dark .cta-nudge{border-color:var(--line-strong); border-left-color:var(--petrol);}
  .zone-dark .cta-nudge p{font-size:calc(17px * var(--a11y-scale)); line-height:1.55; color:var(--text);}

  /* ===== Tippflächen mobil >= 44 px (10.11.2026), Optik unverändert ===== */
  @media (max-width:759px){
    .wordmark{padding:10px 0; margin:-10px 0;}
    .calendly-fallback{display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 4px;}
    .calendly-dialog-inner .calendly-fallback{display:flex; margin-top:0;}
  }

  /* Kennzahlen mobil kompakt: Zahl links, Text rechts (10.11.2026) */
  @media (max-width:780px){
    #kennzahlen .stats-row{gap:12px;}
    #kennzahlen .stat{display:grid; grid-template-columns:minmax(84px,auto) 1fr; align-items:center; gap:4px 16px; text-align:left; padding:16px 18px;}
    #kennzahlen .stat .num{font-size:calc(38px * var(--a11y-scale)); text-align:center;}
    #kennzahlen .stat p{margin-top:0; font-size:calc(17px * var(--a11y-scale));}
  }

/* 2026-11-16: Skip-Link (WCAG 2.4.1), nur bei Tastaturfokus sichtbar */
.skip-link{position:absolute; left:12px; top:-60px; z-index:1000; background:var(--deep); color:#fff; padding:10px 16px; border-radius:8px; font-weight:600; text-decoration:none; transition:top .15s;}
.skip-link:focus{top:12px; outline:3px solid var(--petrol-light); outline-offset:2px;}
.home-hero-cta{justify-content:center; margin-top:26px;}

/* 2026-11-16: Kennzahlen: "%" steht jetzt als Text im HTML (fuer Crawler/Vorlesemodus), daher kein CSS-Pseudo-Element mehr */
.stat .num::after{content:none;}


/* Hero-Foto 2026-11-17b: neues freigestelltes Foto (1137x1597, oben bei den Haaren beschnitten, unten ungeschnitten).
   Desktop (>= 1000px): Kopf beginnt auf Hoehe der Eyebrow-Zeile (--hp-top = Hero-Innenabstand oben; Startseite in home.css), Foto mittig im rechten Freiraum, unten buendig; bei schmaleren Fenstern wird es ueber die Breite kleiner.
   Landingpages mobil: groesserer Kreis, rechte Kante buendig mit dem Text der Hauptaussage (--hp-rx setzt js/app.js), Ausschnitt Gesicht + Kragen.
   Startseite mobil: siehe home.css. */
.hero{--hp-top:88px;}
@media (min-width:1000px){
  .hero-photo-dock{top:var(--hp-top); bottom:0; right:calc(var(--hp-g) - var(--hp-ov)); width:calc(var(--hp-r) - 16px); height:auto; max-height:none; aspect-ratio:auto;}
  .hero-photo-dock img{object-position:center bottom;}
}
@media (max-width:999px){
  body.lp .hero{--hp-d:clamp(84px, calc(30px + 14vw), 156px);}
  body.lp .hero-photo-dock{right:var(--hp-rx, 24px);}
  body.lp .hero-photo-dock img{left:-26%; top:3%; width:158%;}
  body.lp .hero-eyebrow-row{padding-right:calc(var(--hp-d) + var(--hp-rx, 24px) - 10px);}
}
/* Ueber mich 2026-11-17b: freigestelltes Foto unten oval weich ausgeblendet (oben kein Rand) */
.home-about-photo img, .trust-portrait--frei img{
  -webkit-mask-image:radial-gradient(ellipse 72% 58% at 50% 42%, #000 72%, transparent 100%);
          mask-image:radial-gradient(ellipse 72% 58% at 50% 42%, #000 72%, transparent 100%);
}

/* Farbkonzept 2026-11-17c: Verwalter + Handwerk durchgaengig Loesung 1 = Petrol, Loesung 2 = Weinrot (Hero-Wort 2, Leistungs-Etikett 2; Icons/Pfeile/Rotator/Tabs waren schon zweifarbig) */
body.scheme-verwalter .hero-headline em.em-alt, body.scheme-handwerk .hero-headline em.em-alt{color:var(--weinrot-text);}
body.scheme-verwalter .services .service-card:nth-child(1) .label, body.scheme-handwerk .services .service-card:nth-child(1) .label{color:var(--petrol);}
body.scheme-verwalter .services .service-card:nth-child(2) .label, body.scheme-handwerk .services .service-card:nth-child(2) .label{color:var(--weinrot-text);}
