/* ==========================================================================
   Startseite Variante B (index-b.html)
   Nur die neuen Bausteine dieser Variante. Alles andere kommt unverändert
   aus style.css / widescreen.css. Präfix .hb- = "home B", damit sich nichts
   mit den bestehenden Klassen überschneidet. Verhalten: js/startseite-b.js
   ========================================================================== */

:root{
  --hb-ease: cubic-bezier(.22,.61,.36,1);
  --hb-line: rgba(255,255,255,.14);
  --hb-muted: rgba(255,255,255,.62);
  --hb-panel: #0b0b0b;
  --hb-panel-line: rgba(255,255,255,.08);
}

/* ---------- Buttons (Pillen wie .nav-cta) ---------- */
.hb-btn{
  display:inline-flex; align-items:center; justify-content:center;
  height:clamp(42px, 2.9vw, 64px); padding:0 clamp(20px, 1.6vw, 34px);
  border:1px solid var(--white); border-radius:999px;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:clamp(14px, .95vw, 20px); line-height:1; white-space:nowrap;
  text-decoration:none;
  transition:background-color .3s, color .3s, border-color .3s;
}
.hb-btn--sm{ height:clamp(36px, 2.4vw, 52px); padding:0 clamp(16px, 1.2vw, 26px); font-size:clamp(13px, .9vw, 18px); }
.hb-btn--solid{ background:var(--white); color:var(--black); }
.hb-btn--solid:hover, .hb-btn--solid:focus-visible{ background:var(--black); color:var(--white); }
.hb-btn--ghost{ background:rgba(0,0,0,.35); color:var(--white); border-color:rgba(255,255,255,.35); }
.hb-btn--ghost:hover, .hb-btn--ghost:focus-visible{ background:var(--white); color:var(--black); border-color:var(--white); }
.hb-hero-actions{ display:flex; flex-wrap:wrap; gap:10px; margin-top:clamp(24px, 2.2vw, 48px); }

.hb-h2{
  margin:0;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:clamp(32px, 3.3854vw, 120px); line-height:1.06; letter-spacing:-.01em;
}
.hb-lead{
  margin:1.3em 0 0; max-width:30em;
  font-size:clamp(15px, 1.1vw, 24px); line-height:1.55; color:var(--hb-muted);
}

/* ==========================================================================
   Hero
   Aufbau (1440px-Referenz): Pill – Headline (2 Zeilen, ~6.4vw) – Untertitel
   (1 Zeile) – zwei kleine Buttons – breites Editor-Fenster, das unten
   ins Schwarz ausläuft. Links/rechts je vier Lichtsäulen.
   ========================================================================== */
.hb-hero{
  position:relative;
  padding-top:clamp(36px, 3.2vw, 90px);
  padding-bottom:clamp(20px, 2vw, 48px);
  overflow:clip;                         /* clip statt hidden: sonst greift sticky im Portal nicht */
}
/* Lichtsäulen: je Seite vier, nach innen kürzer, unten hell, oben
   transparent; "atmen" zeitversetzt in der Höhe. */
.hb-bars{
  position:absolute; top:0; height:100vh; z-index:0;
  display:flex; align-items:flex-end;
  pointer-events:none;
}
.hb-bars--left{ left:0; }
.hb-bars--right{ right:0; flex-direction:row-reverse; }
.hb-bars i{
  display:block; width:6.6667vw; height:100%;
  background:linear-gradient(to top, rgba(255,255,255,.42) 0%, rgba(255,255,255,.2) 30%, rgba(255,255,255,.06) 62%, rgba(255,255,255,0) 100%);
  transform-origin:50% 100%;
  animation:hbPulse 2s ease-in-out infinite alternate;
}
.hb-bars i:nth-child(2){ height:88%; animation-delay:-.5s; }
.hb-bars i:nth-child(3){ height:76%; animation-delay:-1s; }
.hb-bars i:nth-child(4){ height:64%; animation-delay:-1.5s; }
@keyframes hbPulse{ from{ transform:scaleY(1); } to{ transform:scaleY(.86); } }

.hb-hero-text{ position:relative; z-index:2; text-align:center; display:flex; flex-direction:column; align-items:center; padding:0 16px; }
/* Kicker über der Headline: nur Schrift mit Punkt davor (wie die
   Abschnitts-Kicker), keine Umrandung – soll nicht wie ein Button wirken. */
.hb-pill{
  margin:0 0 clamp(14px, 1.4vw, 30px); padding:0;
  display:inline-flex; align-items:center; gap:.6em;
  font-family:var(--font-display-bold); font-weight:700;
  font-size:clamp(12px, .9vw, 18px); line-height:1.4; letter-spacing:.08em; text-transform:uppercase; color:var(--white);
}
.hb-pill::before{ content:""; flex:none; width:.42em; height:.42em; border-radius:50%; background:var(--white); }
.hb-hero-title{ font-size:6.4vw; line-height:1; letter-spacing:.02em; }
.hb-hero-title .hero-row{ display:block; }
.hb-hero-sub{
  margin:clamp(20px, 2.2vw, 48px) auto 0; max-width:40em;
  font-size:clamp(15px, 1.25vw, 26px); line-height:1.5; color:var(--hb-muted);
}
.hb-hero-text .hb-hero-actions{ justify-content:center; margin-top:clamp(20px, 2.4vw, 52px); }

/* ---------- Fensterrahmen (Kundenportal) ---------- */
.hb-editor-wrap{
  position:relative; z-index:1;
  width:calc(100vw - 2 * clamp(16px, 2.9vw, 64px)); margin:clamp(40px, 4.3vw, 100px) auto 0;
}
.hb-editor{
  --e: 1;                                  /* 1 = Startlage, 0 = oben (js) */
  position:relative;
  height:clamp(460px, 44vw, 1000px);
  border-radius:18px 18px 0 0;
  background:rgba(0,0,0,.86);
  border:1px solid rgba(255,255,255,.22); border-bottom:0;
  box-shadow:0 0 0 1px rgba(0,0,0,.6), 0 -6px 80px -10px rgba(255,255,255,.22), inset 0 1px 0 rgba(255,255,255,.12);
  overflow:hidden;
  transform:translateY(calc(var(--e) * 5vw)) scale(calc(1 - var(--e) * .015));
  transform-origin:50% 0;
  will-change:transform;
  font-family:var(--font-body); color:rgba(255,255,255,.82);
  font-size:clamp(10px, .8vw, 16px); line-height:1.35;
}
.hb-editor svg{ fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.hb-ed-top{
  display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:1em;
  height:3.4em; padding:0 1.1em;
  border-bottom:1px solid var(--hb-panel-line);
}
.hb-ed-brand{ display:flex; align-items:center; gap:.7em; white-space:nowrap; }
.hb-ed-brand img{ width:1.8em; height:1.8em; }
.hb-ed-brand b{ color:#fff; font-weight:600; }
.hb-pt-ws{ padding:.3em .8em; border:1px solid var(--hb-panel-line); border-radius:.5em; color:rgba(255,255,255,.65); }
.hb-pt-ws i, .hb-pt-range i{ font-style:normal; opacity:.5; margin-left:.3em; }
.hb-pt-search{
  display:flex; align-items:center; gap:.6em; width:26em; padding:.45em .8em;
  border:1px solid var(--hb-panel-line); border-radius:.6em; background:rgba(255,255,255,.04); color:rgba(255,255,255,.45);
}
.hb-pt-search svg{ width:1.1em; height:1.1em; }
.hb-pt-search kbd{ margin-left:auto; font:inherit; font-size:.85em; padding:.1em .45em; border-radius:.35em; background:rgba(255,255,255,.08); }
.hb-pt-right{ justify-self:end; display:flex; align-items:center; gap:1em; }
.hb-pt-live{ display:flex; align-items:center; gap:.5em; color:rgba(255,255,255,.65); white-space:nowrap; }
.hb-pt-live i{ width:.55em; height:.55em; border-radius:50%; background:#fff; box-shadow:0 0 0 .25em rgba(255,255,255,.15); animation:hbBlink 2s ease-in-out infinite; }
@keyframes hbBlink{ 50%{ opacity:.35; } }
.hb-pt-me{ width:2em; height:2em; border-radius:50%; object-fit:cover; }

.hb-pt-body{ display:grid; grid-template-columns:15% 1fr 23%; height:calc(100% - 3.4em); }

/* Navigation links */
.hb-pt-nav{ display:flex; flex-direction:column; gap:.2em; padding:1em .8em; background:var(--hb-panel); border-right:1px solid var(--hb-panel-line); }
.hb-pt-nav > span{ display:flex; align-items:center; gap:.7em; padding:.6em .7em; border-radius:.55em; color:rgba(255,255,255,.6); white-space:nowrap; }
.hb-pt-nav > span svg{ width:1.15em; height:1.15em; flex:none; }
.hb-pt-nav > span.is-on{ background:#fff; color:#000; font-weight:600; }
.hb-pt-nav em{ margin-left:auto; font-style:normal; font-size:.8em; padding:.1em .55em; border-radius:999px; background:rgba(255,255,255,.14); color:#fff; }
.hb-pt-contact{ margin-top:auto; display:flex; align-items:center; gap:.7em; padding:.8em .6em; border:1px solid var(--hb-panel-line); border-radius:.7em; }
.hb-pt-contact img{ width:2.4em; height:2.4em; border-radius:50%; object-fit:cover; }
.hb-pt-contact p{ margin:0; font-size:.88em; color:rgba(255,255,255,.55); }
.hb-pt-contact b{ display:block; color:#fff; font-weight:600; }

/* Mitte */
.hb-pt-main{ display:flex; flex-direction:column; gap:1em; padding:1.2em 1.4em; min-width:0; background:#050505; }
.hb-pt-head{ display:flex; align-items:center; justify-content:space-between; }
.hb-pt-head p{ margin:0; color:rgba(255,255,255,.5); }
.hb-pt-head b{ display:block; font-size:1.35em; color:#fff; font-weight:600; margin-bottom:.15em; }
.hb-pt-range{ padding:.4em .8em; border:1px solid var(--hb-panel-line); border-radius:.5em; color:rgba(255,255,255,.65); white-space:nowrap; }
.hb-pt-kpis{ display:grid; grid-template-columns:repeat(4, 1fr); gap:.8em; }
.hb-pt-kpi, .hb-pt-card{ position:relative; border:1px solid var(--hb-panel-line); border-radius:.8em; background:rgba(255,255,255,.03); }
.hb-pt-kpi{ padding:.9em 1em 2.6em; overflow:hidden; }
.hb-pt-kpi span{ display:block; color:rgba(255,255,255,.5); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hb-pt-kpi b{ display:inline-block; margin-top:.25em; font-size:1.75em; color:#fff; font-weight:600; font-variant-numeric:tabular-nums; }
.hb-pt-kpi em{ margin-left:.5em; font-style:normal; font-size:.85em; padding:.1em .45em; border-radius:999px; background:rgba(255,255,255,.12); color:#fff; }
.hb-pt-kpi svg{ position:absolute; left:0; right:0; bottom:.4em; width:100%; height:2em; stroke:rgba(255,255,255,.75); stroke-width:1.4; vector-effect:non-scaling-stroke; }
.hb-pt-row{ flex:1; min-height:0; display:grid; grid-template-columns:1.45fr 1fr; gap:.8em; }
.hb-pt-card{ display:flex; flex-direction:column; padding:1em 1.1em; min-height:0; overflow:hidden; }
.hb-pt-card-head{ display:flex; align-items:center; justify-content:space-between; gap:1em; margin-bottom:.8em; }
.hb-pt-card-head b{ color:#fff; font-weight:600; white-space:nowrap; }
.hb-pt-card-head span{ display:flex; align-items:center; gap:.45em; color:rgba(255,255,255,.5); font-size:.88em; white-space:nowrap; }
.hb-dot{ width:.6em; height:.6em; border-radius:50%; display:inline-block; margin-left:.5em; }
.hb-dot--a{ background:#fff; } .hb-dot--b{ background:rgba(255,255,255,.55); } .hb-dot--c{ background:rgba(255,255,255,.25); }

.hb-pt-graph{ flex:1; width:100%; min-height:0; }
.hb-pt-grid path{ stroke:rgba(255,255,255,.07); stroke-width:1; vector-effect:non-scaling-stroke; }
.hb-pt-area{ fill:rgba(255,255,255,.035); stroke:none; }
.hb-pt-line{ stroke-width:2; vector-effect:non-scaling-stroke; stroke-dasharray:1; stroke-dashoffset:0; }
.hb-pt-line--a{ stroke:#fff; } .hb-pt-line--b{ stroke:rgba(255,255,255,.55); } .hb-pt-line--c{ stroke:rgba(255,255,255,.25); }
.hb-portal.is-play .hb-pt-line{ stroke-dasharray:1; stroke-dashoffset:1; animation:hbDraw 2.2s var(--hb-ease) forwards; }
.hb-portal.is-play .hb-pt-line--b{ animation-delay:.25s; } .hb-portal.is-play .hb-pt-line--c{ animation-delay:.5s; }
.hb-portal.is-play .hb-pt-kpi svg path{ stroke-dasharray:1; stroke-dashoffset:1; animation:hbDraw 1.6s var(--hb-ease) .3s forwards; }
@keyframes hbDraw{ to{ stroke-dashoffset:0; } }
.hb-pt-x{ display:flex; justify-content:space-between; margin-top:.4em; color:rgba(255,255,255,.35); font-size:.85em; }

/* Website bearbeiten */
.hb-pt-site{ position:relative; flex:1; min-height:0; border-radius:.55em; overflow:hidden; border:1px solid var(--hb-panel-line); }
.hb-pt-site img{ width:100%; height:100%; object-fit:cover; object-position:top left; display:block; filter:brightness(.8); }
.hb-pt-field{
  position:absolute; left:6%; right:6%; top:38%;
  padding:.5em .65em; border:1.5px dashed #fff; border-radius:.35em; background:rgba(0,0,0,.92);
  color:#fff; font-weight:700; font-size:1.15em; white-space:nowrap;
}
.hb-pt-field::before{ content:"Überschrift"; position:absolute; left:-1.5px; top:-1.75em; padding:.15em .5em; border-radius:.3em .3em 0 0; background:#fff; color:#000; font-size:.65em; font-weight:600; }
.hb-pt-caret{ display:inline-block; width:2px; height:1em; margin-left:2px; vertical-align:-.12em; background:#fff; animation:hbBlink 1s steps(1) infinite; }
.hb-pt-toast{
  position:absolute; right:1.1em; bottom:1em;
  display:flex; align-items:center; gap:.5em; padding:.5em .9em; border-radius:999px;
  background:#fff; color:#000; font-weight:600; box-shadow:0 10px 30px rgba(0,0,0,.5);
  opacity:0; transform:translateY(.6em); transition:opacity .4s, transform .4s var(--hb-ease);
}
.hb-pt-toast i{ font-style:normal; display:grid; place-items:center; width:1.3em; height:1.3em; border-radius:50%; background:#000; color:#fff; font-size:.8em; }
.hb-portal.is-saved .hb-pt-toast{ opacity:1; transform:none; }

/* Chat rechts */
.hb-pt-chat{ display:flex; flex-direction:column; background:var(--hb-panel); border-left:1px solid var(--hb-panel-line); min-width:0; }
.hb-pt-chat-head{ display:flex; align-items:center; gap:.7em; padding:1em; border-bottom:1px solid var(--hb-panel-line); }
.hb-pt-chat-head p{ margin:0; color:rgba(255,255,255,.45); font-size:.88em; }
.hb-pt-chat-head b{ display:block; color:#fff; font-size:1.12em; font-weight:600; }
.hb-pt-bot{ display:grid; place-items:center; width:2.2em; height:2.2em; border-radius:50%; background:#fff; color:#000; font-family:var(--font-display-bold); font-weight:700; }
.hb-pt-msgs{ flex:1; display:flex; flex-direction:column; justify-content:flex-end; gap:.6em; padding:1em; overflow:hidden; }
.hb-msg{ margin:0; max-width:88%; padding:.65em .85em; border-radius:.9em .9em .9em .25em; background:rgba(255,255,255,.08); color:rgba(255,255,255,.9); }
.hb-msg--me{ align-self:flex-end; border-radius:.9em .9em .25em .9em; background:#fff; color:#000; }
.hb-msg u{ text-decoration:underline; text-underline-offset:.15em; }
.hb-msg--typing{ display:flex; gap:.3em; padding:.8em .9em; }
.hb-msg--typing i{ width:.45em; height:.45em; border-radius:50%; background:rgba(255,255,255,.6); animation:hbBlink 1s ease-in-out infinite; }
.hb-msg--typing i:nth-child(2){ animation-delay:.15s; } .hb-msg--typing i:nth-child(3){ animation-delay:.3s; }
/* Nachrichten erscheinen nacheinander (js setzt data-step) */
.hb-portal .hb-msg{ display:none; }
.hb-portal[data-step="1"] .hb-msg:nth-child(-n+1),
.hb-portal[data-step="2"] .hb-msg:nth-child(-n+2),
.hb-portal[data-step="3"] .hb-msg:nth-child(-n+3),
.hb-portal[data-step="4"] .hb-msg:nth-child(-n+4){ display:block; animation:hbMsgIn .45s var(--hb-ease); }
.hb-portal[data-step="1"] .hb-msg--typing,
.hb-portal[data-step="3"] .hb-msg--typing{ display:flex; }
.hb-portal:not([data-step]) .hb-msg:not(.hb-msg--typing){ display:block; }
@keyframes hbMsgIn{ from{ opacity:0; transform:translateY(.6em); } }
.hb-pt-input{ display:flex; align-items:center; justify-content:space-between; margin:0 1em 1em; padding:.5em .5em .5em .9em; border:1px solid var(--hb-panel-line); border-radius:.7em; color:rgba(255,255,255,.4); }
.hb-pt-input b{ display:grid; place-items:center; width:2em; height:2em; border-radius:.5em; background:#fff; color:#000; }
.hb-pt-input svg{ width:1.1em; height:1.1em; stroke-width:2; }


/* ---------- Kundenportal: Scroll-Spur, Ansichten, Erklärzeile ----------
   Die Spur (.hb-pt-track) ist so hoch, dass die ersten vier Bereiche
   (bis "Anfragen") je rund 42vh Scrollweg bekommen; die übrigen nur per Klick; das Fenster bleibt währenddessen mittig
   stehen (sticky). Welcher Bereich aktiv ist, setzt js/startseite-b.js
   (data-view am Fenster, .is-on an Navigation/Ansicht/Erklärzeile). */
.hb-hero{
  --pt-h: min(44vw, calc(100vh - 210px));
  --pt-top: max(84px, calc((100vh - var(--pt-h) - 64px) / 2 + 30px));
}
.hb-pt-track{ position:relative; height:calc(var(--pt-h) + 64px + 4 * 42vh); margin-top:clamp(40px, 4.3vw, 100px); }
.hb-pt-track .hb-editor-wrap{ position:sticky; top:var(--pt-top); margin-top:0; }
.hb-pt-track .hb-editor{ height:var(--pt-h); border-radius:18px; border-bottom:1px solid rgba(255,255,255,.22); }

/* Navigation als echte Buttons */
.hb-pt-nav > button{
  display:flex; align-items:center; gap:.7em; width:100%; padding:.6em .7em; border:0; border-radius:.55em;
  background:transparent; color:rgba(255,255,255,.6); font:inherit; text-align:left; white-space:nowrap; cursor:pointer;
  transition:background-color .25s, color .25s;
}
.hb-pt-nav > button svg{ width:1.15em; height:1.15em; flex:none; }
.hb-pt-nav > button:hover{ background:rgba(255,255,255,.08); color:#fff; }
.hb-pt-nav > button.is-on{ background:#fff; color:#000; font-weight:600; }
.hb-pt-nav > button:focus-visible{ outline:2px solid #fff; outline-offset:2px; }
.hb-pt-nav > button.is-on em{ background:#000; }

/* Ansichten übereinander, aktive blendet ein */
.hb-pt-main{ position:relative; padding:0; overflow:hidden; }
.hb-pt-view{
  position:absolute; inset:0; display:flex; flex-direction:column; gap:1em; padding:1.2em 1.4em;
  opacity:0; visibility:hidden; transform:translateY(1.2em);
  transition:opacity .45s var(--hb-ease), transform .55s var(--hb-ease), visibility 0s .55s;
}
.hb-pt-view.is-on{ opacity:1; visibility:visible; transform:none; transition:opacity .45s var(--hb-ease) .08s, transform .55s var(--hb-ease) .08s, visibility 0s; }
.hb-pt-tabs{ display:flex; gap:.3em; padding:.25em; border-radius:.55em; background:rgba(255,255,255,.05); }
.hb-pt-tabs i{ font-style:normal; padding:.3em .7em; border-radius:.4em; color:rgba(255,255,255,.55); }
.hb-pt-tabs i.is-on{ background:rgba(255,255,255,.14); color:#fff; }
.hb-tag{ font-style:normal; justify-self:start; padding:.15em .55em; border-radius:999px; border:1px solid rgba(255,255,255,.2); color:rgba(255,255,255,.75); font-size:.82em; white-space:nowrap; }

/* 1 · Website bearbeiten */
.hb-pt-editor{ flex:1; min-height:0; display:grid; grid-template-columns:1.6fr 1fr; gap:.8em; }
.hb-pt-preview{ padding:0; }
.hb-pt-prev-bar{ display:flex; align-items:center; gap:.4em; padding:.55em .8em; border-bottom:1px solid var(--hb-panel-line); }
.hb-pt-prev-bar i{ width:.55em; height:.55em; border-radius:50%; background:#3a3a3a; }
.hb-pt-prev-bar span{ margin:0 auto; padding:.15em 1em; border-radius:999px; background:rgba(255,255,255,.06); color:rgba(255,255,255,.5); font-size:.85em; }
.hb-pt-prev-bar em{ font-style:normal; font-size:.82em; color:rgba(255,255,255,.5); }
.hb-pt-prev-site{ position:relative; flex:1; min-height:0; overflow:hidden; }
.hb-pt-prev-site img{ width:100%; height:100%; object-fit:cover; object-position:top left; display:block; }
.hb-pt-sel{ position:absolute; border:1.5px solid #fff; border-radius:.3em; box-shadow:0 0 0 9999px rgba(0,0,0,0); }
.hb-pt-sel span{ position:absolute; left:-1.5px; top:-1.6em; padding:.12em .5em; border-radius:.3em .3em 0 0; background:#fff; color:#000; font-size:.75em; font-weight:600; }
.hb-pt-sel--h{ left:5%; top:36%; width:44%; height:20%; animation:hbPulseSel 2s ease-in-out infinite; }
.hb-pt-sel--img{ right:4%; top:28%; width:42%; height:60%; border-style:dashed; opacity:.7; }
@keyframes hbPulseSel{ 50%{ box-shadow:0 0 0 .35em rgba(255,255,255,.18); } }
.hb-pt-props{ gap:.35em; }
.hb-pt-props label{ margin-top:.5em; color:rgba(255,255,255,.5); font-size:.88em; }
.hb-pt-input-f{ padding:.55em .7em; border:1px solid var(--hb-panel-line); border-radius:.5em; background:rgba(255,255,255,.04); color:#fff; }
.hb-pt-input-f.is-focus{ border-color:#fff; }
.hb-pt-input-f--area{ min-height:3.6em; color:rgba(255,255,255,.75); }
.hb-pt-thumbs{ display:grid; grid-template-columns:repeat(3, 1fr); gap:.4em; }
.hb-pt-thumbs img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:.4em; opacity:.55; display:block; }
.hb-pt-thumbs img.is-on{ opacity:1; outline:2px solid #fff; outline-offset:2px; }
.hb-pt-publish{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:.6em; padding-top:.8em; }
.hb-pt-publish span{ color:rgba(255,255,255,.5); font-size:.88em; }
.hb-pt-publish b{ padding:.55em 1em; border-radius:999px; background:#fff; color:#000; }

/* 2 · Kampagnen */
.hb-pt-kpis--slim .hb-pt-kpi{ padding-bottom:.9em; }
.hb-pt-row--even{ grid-template-columns:1fr 1.1fr; }
.hb-pt-bars{ flex:1; min-height:0; display:flex; align-items:flex-end; gap:5%; padding-top:.5em; border-bottom:1px solid var(--hb-panel-line); }
.hb-pt-bars span{ position:relative; flex:1; height:100%; }
.hb-pt-bars span::before, .hb-pt-bars span::after{ content:""; position:absolute; bottom:0; width:44%; border-radius:.25em .25em 0 0; transform-origin:bottom; transition:transform .8s var(--hb-ease); }
.hb-pt-bars span::before{ left:0; height:calc(var(--a) * 100%); background:#fff; }
.hb-pt-bars span::after{ right:0; height:calc(var(--b) * 100%); background:rgba(255,255,255,.4); }
.hb-pt-view:not(.is-on) .hb-pt-bars span::before, .hb-pt-view:not(.is-on) .hb-pt-bars span::after{ transform:scaleY(0); }
.hb-pt-table{ display:flex; flex-direction:column; }
.hb-pt-table p{ display:grid; grid-template-columns:1.6fr 1fr .8fr .8fr; align-items:center; gap:.5em; margin:0; padding:.55em 0; border-bottom:1px solid var(--hb-panel-line); color:rgba(255,255,255,.85); }
.hb-pt-table p:first-child b{ color:rgba(255,255,255,.45); font-weight:400; font-size:.85em; }
.hb-pt-table p:last-child{ border-bottom:0; }

/* 3 · Anfragen */
.hb-pt-inbox{ flex:1; min-height:0; display:grid; grid-template-columns:1fr 1.3fr; gap:.8em; }
.hb-pt-list{ padding:.4em; gap:.2em; }
.hb-pt-list p{ position:relative; display:grid; grid-template-columns:1fr auto; gap:.15em .6em; margin:0; padding:.65em .8em .65em 1.4em; border-radius:.55em; }
.hb-pt-list p.is-on{ background:rgba(255,255,255,.08); }
.hb-pt-list p i{ position:absolute; left:.55em; top:1.05em; width:.45em; height:.45em; border-radius:50%; background:#fff; }
.hb-pt-list b{ color:#fff; font-weight:600; }
.hb-pt-list span{ grid-column:1; color:rgba(255,255,255,.5); font-size:.9em; }
.hb-pt-list em{ grid-column:2; grid-row:1 / span 2; align-self:center; }
.hb-pt-detail{ gap:.8em; }
.hb-pt-mail{ margin:0; color:rgba(255,255,255,.8); line-height:1.5; }
.hb-pt-ai{ padding:.8em 1em; border-radius:.6em; border:1px solid rgba(255,255,255,.22); background:rgba(255,255,255,.06); color:rgba(255,255,255,.85); }
.hb-pt-ai b{ display:block; margin-bottom:.25em; color:#fff; font-size:.85em; letter-spacing:.02em; }
.hb-pt-actions{ margin-top:auto; display:flex; gap:.5em; }
.hb-pt-actions b, .hb-pt-actions span{ padding:.5em .95em; border-radius:999px; border:1px solid rgba(255,255,255,.25); white-space:nowrap; }
.hb-pt-actions b{ background:#fff; color:#000; border-color:#fff; }

/* 4 · Google & KI */
.hb-pt-row--seo{ grid-template-columns:.8fr 1.3fr 1fr; }
.hb-pt-score{ align-items:center; }
.hb-pt-score .hb-pt-card-head{ align-self:stretch; }
.hb-pt-ring{ width:62%; flex:1; min-height:0; transform:rotate(-90deg); }
.hb-pt-ring circle{ fill:none; stroke:rgba(255,255,255,.1); stroke-width:10; }
.hb-pt-ring .hb-pt-ring-fg{ stroke:#fff; stroke-linecap:round; stroke-dasharray:1; stroke-dashoffset:calc(1 - var(--v)); transition:stroke-dashoffset 1.2s var(--hb-ease) .2s; }
.hb-pt-view:not(.is-on) .hb-pt-ring-fg{ stroke-dashoffset:1; }
.hb-pt-ring-num{ margin:-58% 0 0; color:rgba(255,255,255,.5); text-align:center; }
.hb-pt-ring-num b{ display:block; font-size:2.4em; color:#fff; }
.hb-pt-score::after{ content:""; flex:.55; }
.hb-pt-table--kw p{ grid-template-columns:1fr auto auto; }
.hb-pt-table--kw b{ display:grid; place-items:center; width:1.9em; height:1.9em; border-radius:.45em; background:rgba(255,255,255,.1); color:#fff; }
.hb-pt-table--kw em{ font-style:normal; font-size:.85em; color:rgba(255,255,255,.7); width:2.6em; text-align:right; }
.hb-pt-ai-list p{ display:flex; justify-content:space-between; margin:0; padding:.6em 0; border-bottom:1px solid var(--hb-panel-line); }
.hb-pt-ai-list p:last-child{ border:0; }
.hb-pt-ai-list b{ color:#fff; }

/* 5 · Dateien */
.hb-pt-files{ flex:1; min-height:0; display:grid; grid-template-columns:repeat(3, 1fr); grid-auto-rows:1fr; gap:.8em; }
.hb-pt-files figure{ margin:0; display:flex; flex-direction:column; min-height:0; border:1px solid var(--hb-panel-line); border-radius:.7em; overflow:hidden; background:rgba(255,255,255,.03); }
.hb-pt-files img{ flex:1; min-height:0; width:100%; object-fit:cover; object-position:top; display:block; }
.hb-pt-files figcaption{ padding:.55em .7em; color:rgba(255,255,255,.7); font-size:.88em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; border-top:1px solid var(--hb-panel-line); }
.hb-pt-doc b{ flex:1; display:grid; place-items:center; font-size:1.4em; letter-spacing:.06em; color:rgba(255,255,255,.75); }

/* 6 · Assistent */
.hb-pt-done{ flex:1; gap:.1em; }
.hb-pt-done p{ display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:.8em; margin:0; padding:.8em 0; border-bottom:1px solid var(--hb-panel-line); color:rgba(255,255,255,.88); }
.hb-pt-done p:last-child{ border:0; }
.hb-pt-done i{ font-style:normal; display:grid; place-items:center; width:1.6em; height:1.6em; border-radius:50%; background:#fff; color:#000; font-size:.85em; }
.hb-pt-done em{ font-style:normal; color:rgba(255,255,255,.45); }
.hb-pt-view.is-on .hb-pt-done p{ animation:hbMsgIn .5s var(--hb-ease) both; }
.hb-pt-view.is-on .hb-pt-done p:nth-of-type(2){ animation-delay:.1s; } .hb-pt-view.is-on .hb-pt-done p:nth-of-type(3){ animation-delay:.2s; }
.hb-pt-view.is-on .hb-pt-done p:nth-of-type(4){ animation-delay:.3s; } .hb-pt-view.is-on .hb-pt-done p:nth-of-type(5){ animation-delay:.4s; }

/* Erklärzeile unter dem Fenster */
.hb-pt-caption{
  position:relative; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:1.4em;
  height:64px; padding:0 .4em;
  font-size:clamp(13px, 1vw, 20px); color:rgba(255,255,255,.62);
}
.hb-pt-step{ font-variant-numeric:tabular-nums; white-space:nowrap; color:rgba(255,255,255,.45); }
.hb-pt-step b{ color:#fff; }
.hb-pt-cap{ grid-column:2; grid-row:1; margin:0; opacity:0; transform:translateY(.4em); transition:opacity .35s, transform .35s var(--hb-ease); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.hb-pt-cap.is-on{ opacity:1; transform:none; }
.hb-pt-cap b{ color:#fff; }
.hb-pt-dots{ display:flex; gap:6px; }
.hb-pt-dots i{ width:6px; height:6px; border-radius:50%; background:rgba(255,255,255,.25); transition:background-color .3s, width .3s; }
.hb-pt-dots i.is-on{ width:20px; border-radius:3px; background:#fff; }

/* Hero ohne Kundenportal (vorerst geparkt): Text mittig im ersten
   Bildschirm, die Lichtsäulen reichen genau bis zur Unterkante. */
.hb-hero{
  display:flex; flex-direction:column; justify-content:center;
  padding-top:clamp(56px, 6vw, 150px); padding-bottom:clamp(64px, 6.5vw, 160px);
}
.hb-bars{ height:100%; }
/* unten weich ins Schwarz des nächsten Abschnitts auslaufen */
.hb-hero::after{ content:""; position:absolute; left:0; right:0; bottom:0; z-index:1; height:28%; background:linear-gradient(to bottom, rgba(0,0,0,0), #000); pointer-events:none; }
/* "EIN WERKZEUG / FÜR DEIN UNTERNEHMEN." ist breiter als die alte Zeile */
.hb-hero-title{ font-size:5.3vw; }

/* ==========================================================================
   "Design, das wirkt": genau einen Bildschirm hoch, direkt unter dem Hero.
   (Bis Stand B2 lag er über der Spirale und gab sie beim Scrollen frei;
   jetzt steht "Wir sind dein Partner für" dazwischen.)
   ========================================================================== */
.hb-speaks{
  position:relative;
  height:100vh; min-height:640px;
  background:#000;
  overflow:hidden;
  display:flex; align-items:center;
}
.hb-speaks-grid{
  position:absolute; left:31vw; top:50%;
  transform:translateY(-50%) rotate(-4deg);
  display:flex; flex-direction:column; gap:1.1vw;
}
.hb-row{ display:flex; gap:1.1vw; will-change:transform; }
.hb-row:nth-child(2){ margin-left:-7vw; }
.hb-row:nth-child(3){ margin-left:3vw; }
.hb-tile{
  --h:13.2vw; pointer-events:none;
  position:relative; flex:none;
  height:var(--h); width:calc(var(--h) * 1.6);
  border-radius:clamp(8px, .75vw, 16px); overflow:hidden;
  background:#111;
  box-shadow:0 0 0 1px rgba(255,255,255,.12);
  opacity:0; transform:translateY(40px) scale(.96);
  transition:opacity .9s var(--hb-ease) var(--d, 0s), transform 1.1s var(--hb-ease) var(--d, 0s);
}
.hb-tile--w{ width:calc(var(--h) * 1.5); }
.hb-tile--p{ width:calc(var(--h) * .62); }
.hb-speaks.is-in .hb-tile{ opacity:1; transform:none; }
.hb-tile img, .hb-tile video{
  width:100%; height:100%; object-fit:cover; object-position:top center; display:block;
}
.hb-speaks-fade{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(90deg, #000 0%, #000 27%, rgba(0,0,0,.82) 37%, rgba(0,0,0,.25) 52%, rgba(0,0,0,0) 64%),
    linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 14%, rgba(0,0,0,0) 86%, #000 100%);
}
.hb-speaks-text{ position:relative; z-index:2; width:var(--grid-width); margin:0 auto; }
.hb-speaks-text > *{ max-width:30vw; }
.hb-speaks:not(.is-js) .hb-tile{ opacity:1; transform:none; }

/* "Wir sind dein Partner für" liegt über der Spirale (wie früher "Design,
   das wirkt"): mindestens einen Bildschirm hoch, margin-bottom:-100vh lässt
   die Spirale schon darunter beginnen, beim Weiterscrollen fährt der
   Abschnitt nach oben weg und legt sie mit weichem Schatten frei. Unten
   schiebt sich "Wo hakt es bei dir?" mit demselben Schatten darüber. */
.leistungen{
  z-index:3; background:#000;
  min-height:100vh; box-sizing:border-box;
  display:flex; flex-direction:column; justify-content:center;
  padding:6vw 0;
  margin-bottom:-100vh;
  box-shadow:0 40px 80px 10px #000;
}
.hb-orbit + .fragen{ position:relative; z-index:3; background:#000; box-shadow:0 -40px 80px 10px #000; }

/* Kürzere Abstände: "Wo hakt es" → Prozess (dessen Überschrift steht mittig
   im Bildschirm und bringt viel Luft mit) und Team → Bewertungen */
.fragen{ padding-bottom:0; }
/* nur Desktop: dort steht die Prozess-Überschrift mittig im Bildschirm.
   Mobil/Tablet ist sie eine Leiste oben – hochgezogen läge sie über der
   letzten Karte von "Wo hakt es bei dir?". */
@media (min-width:861px){ .fragen + .process{ margin-top:-26vh; } }
.team{ padding-bottom:5vw; }
/* Werte 05–07 (Anmerkung 14) direkt unter dem Team */
.hb-werte{ position:relative; background:#000; padding:0 0 4vw; }
.hb-werte-head{ display:flex; align-items:baseline; justify-content:space-between; gap:2vw; margin-bottom:2.6vw; }
.hb-werte .ueber-werte-heading{ margin:0; text-align:left; font-size:2.6vw; }
.hb-werte-link{ font-family:var(--font-body); font-weight:700; font-size:0.7813vw; letter-spacing:.12em; text-transform:uppercase; color:var(--white); opacity:.6; text-decoration:none; border-bottom:1px solid currentColor; padding-bottom:.2em; transition:opacity .3s; white-space:nowrap; }
.hb-werte-link:hover, .hb-werte-link:focus-visible{ opacity:1; }
.hb-werte .ueber-wert h3{ margin-bottom:0.8vw; }
.hb-werte .ueber-wert p{ opacity:.75; }
.hb-werte + .testimonial{ padding-top:3.5vw; }
@media (max-width:860px){
  .hb-werte{ padding-bottom:12vw; }
  .hb-werte-head{ flex-direction:column; align-items:flex-start; gap:3vw; margin-bottom:7vw; }
  .hb-werte .ueber-werte-heading{ font-size:var(--mobile-heading); }
  .hb-werte-link{ font-size:3vw; }
  .hb-werte .ueber-wert h3{ margin-bottom:3vw; }
}

/* ==========================================================================
   Spirale "Unsere Arbeiten" (WebGL, js/startseite-b.js)
   Reihenfolge der Ebenen: Lichtbögen – hintere Karten – Überschrift –
   vordere Karten – "Alle Cases".
   ========================================================================== */
.hb-orbit{ position:relative; z-index:1; height:300vh; }
.hb-orbit-sticky{
  position:sticky; top:0; height:100vh; overflow:hidden;
  background:#000;
}
.hb-orbit-lines{ position:absolute; inset:0; width:100%; height:100%; fill:none; pointer-events:none; }
.hb-orbit-lines-wide path{ stroke:rgba(255,255,255,.22); stroke-width:26; }
.hb-orbit-lines-core path{ stroke:rgba(255,255,255,.55); stroke-width:1.6; }
.hb-orbit-canvas{ position:absolute; inset:0; z-index:1; width:100%; height:100%; display:block; pointer-events:none; }
.hb-orbit-center{ position:absolute; left:50%; top:50%; z-index:2; transform:translate(-50%, -50%); text-align:center; white-space:nowrap; transition:opacity .5s; }
.hb-orbit-title{ font-size:6.6vw; line-height:.92; text-shadow:0 0 .35em rgba(0,0,0,.85), 0 0 1.2em rgba(0,0,0,.6); }
.hb-orbit-title .hero-outline{ -webkit-text-stroke-width:.05vw; }
.hb-orbit-all{
  position:absolute; left:50%; top:50%; z-index:4;
  transform:translate(-50%, -50%);
  display:flex; flex-direction:column; align-items:center;
  font-size:6.6vw; line-height:.92; color:var(--white); text-decoration:none; white-space:nowrap;
  opacity:0; pointer-events:none; transition:opacity .5s;
}
.hb-orbit-all-sub{ margin-top:.35em; font-family:var(--font-display); font-weight:400; font-size:.24em; letter-spacing:.02em; text-transform:none; }
.hb-orbit.is-end .hb-orbit-all{ opacity:1; pointer-events:auto; }
.hb-orbit.is-end .hb-orbit-center{ opacity:0; }
.hb-orbit-all:hover .hb-orbit-all-sub{ text-decoration:underline; }

/* Ohne WebGL/JS: Raster unter der Überschrift */
.hb-orbit-cards{ margin:0; padding:0; list-style:none; }
.hb-orbit.is-live .hb-orbit-cards{ display:none; }
.hb-orbit:not(.is-live){ height:auto; }
.hb-orbit:not(.is-live) .hb-orbit-sticky{ position:relative; height:auto; padding:8vw 0; }
.hb-orbit:not(.is-live) .hb-orbit-canvas, .hb-orbit:not(.is-live) .hb-orbit-all{ display:none; }
.hb-orbit:not(.is-live) .hb-orbit-center{ position:relative; left:auto; top:auto; transform:none; margin-bottom:4vw; }
.hb-orbit:not(.is-live) .hb-orbit-cards{ position:relative; z-index:2; display:grid; grid-template-columns:repeat(4, 1fr); gap:1.5vw; width:var(--grid-width); margin:0 auto; }
.hb-orbit:not(.is-live) .hb-orbit-cards li{ aspect-ratio:16/10; border-radius:10px; overflow:hidden; }
.hb-orbit:not(.is-live) .hb-orbit-cards img{ width:100%; height:100%; object-fit:cover; object-position:top; display:block; }

/* ---------- Tablet / Handy ---------- */
@media (max-width:860px){
  .hb-hero{ height:auto; padding-top:10vw; padding-bottom:16vw; }
  .hb-bars i{ width:7vw; }
  .hb-pill{ font-size:3.3vw; }
  .hb-hero-title{ font-size:9.4vw; }
  .hb-hero-title .hero-outline{ -webkit-text-stroke-width:.2vw; }
  .hb-hero-sub{ margin-top:5vw; font-size:4.1vw; }
  .hb-editor-wrap{ width:calc(100vw - 32px); margin-top:12vw; }
  .hb-hero{ --pt-h:min(150vw, calc(100vh - 170px)); --pt-top:max(64px, calc((100vh - var(--pt-h) - 84px) / 2 + 10px)); }
  .hb-editor{ height:118vw; font-size:2.5vw; }
  .hb-pt-track{ margin-top:10vw; height:calc(var(--pt-h) + 84px + 4 * 38vh); }
  .hb-pt-nav{ display:flex !important; position:absolute; left:0; right:0; top:0; z-index:2; flex-direction:row; gap:.3em; padding:.5em .7em; overflow-x:auto; scrollbar-width:none; border-right:0; border-bottom:1px solid var(--hb-panel-line); }
  .hb-pt-nav::-webkit-scrollbar{ display:none; }
  .hb-pt-nav > button{ width:auto; flex:none; padding:.45em .7em; }
  .hb-pt-nav > button svg, .hb-pt-contact{ display:none; }
  .hb-pt-main{ margin-top:3.3em; }
  .hb-pt-view{ padding:1em; }
  .hb-pt-editor, .hb-pt-inbox, .hb-pt-row--even, .hb-pt-row--seo{ grid-template-columns:1fr; }
  .hb-pt-props, .hb-pt-detail .hb-pt-actions span, .hb-pt-row--seo > .hb-pt-card:last-child, .hb-pt-row--even > .hb-pt-card:last-child{ display:none; }
  .hb-pt-files{ grid-template-columns:repeat(2, 1fr); }
  .hb-pt-files figure:nth-child(n+5){ display:none; }
  .hb-pt-caption{ grid-template-columns:auto 1fr; height:84px; gap:.6em 1em; font-size:3.4vw; }
  .hb-pt-cap{ white-space:normal; }
  .hb-pt-dots{ display:none; }
  .hb-ed-top{ grid-template-columns:1fr auto; }
  .hb-pt-search, .hb-pt-ws, .hb-pt-live{ display:none; }
  .hb-pt-body{ grid-template-columns:1fr; }
  .hb-pt-edit, .hb-pt-head .hb-pt-range, .hb-pt-tabs{ display:none; }
  .hb-pt-kpis{ grid-template-columns:1fr 1fr; }
  .hb-pt-row{ grid-template-columns:1fr; }
  .hb-pt-chat{ position:absolute; right:3%; bottom:3%; width:64%; height:62%; border:1px solid rgba(255,255,255,.18); border-radius:1em; box-shadow:0 20px 50px rgba(0,0,0,.8); }
  .hb-pt-chat{ display:none; }
  .hb-portal[data-view="6"] .hb-pt-chat{ display:flex; animation:hbMsgIn .4s var(--hb-ease); }

  .hb-speaks{ flex-direction:column; justify-content:center; align-items:stretch; min-height:0; gap:9vw; }
  .hb-speaks-text{ order:-1; width:calc(100vw - 32px); }
  .hb-speaks-text > *{ max-width:none; }
  .hb-h2{ font-size:8.4vw; }
  .hb-lead{ font-size:4vw; }
  .hb-speaks-grid{ position:relative; left:-12vw; top:auto; transform:rotate(-4deg); gap:2.4vw; }
  .hb-row{ gap:2.4vw; }
  .hb-tile{ --h:26vw; }
  .hb-speaks-fade{ background:linear-gradient(180deg, #000 0%, #000 36%, rgba(0,0,0,0) 52%, rgba(0,0,0,0) 90%, #000 100%); }

  /* Höhe nach Inhalt statt 100vh: auf dem Tablet ist Text + Bilderraster
     höher als der Bildschirm, mittig ausgerichtet wurde dann die erste
     Zeile ("Design, das wirkt.") oben abgeschnitten. */
  .hb-speaks{ height:auto; padding:14vw 0 8vw; }

  .hb-orbit{ height:320vh; } /* mehr Weg: die Drehung startet hier später (js orbitProgress) */
  .hb-orbit-all{ text-align:center; }
  .hb-orbit-title, .hb-orbit-all{ font-size:12.5vw; }
  .hb-orbit-title .hero-outline{ -webkit-text-stroke-width:.2vw; }
  .hb-orbit:not(.is-live) .hb-orbit-cards{ grid-template-columns:repeat(2, 1fr); width:calc(100vw - 32px); }
}

@media (prefers-reduced-motion:reduce){
  .hb-bars i, .hb-pt-live i, .hb-msg--typing i, .hb-pt-caret{ animation:none; }
  .hb-editor{ --e:0 !important; }
  .hb-tile{ transition:none; opacity:1; transform:none; }
}

/* Team (Anmerkung 44): Kreise im gleichmäßigen Dreiecksraster – jeder
   Kreis hat zu jedem Nachbarn (nebeneinander und schräg) denselben Abstand
   von 4.0vw. Oben Sophia und Christian, versetzt über den Lücken der
   unteren Reihe. Nur Desktop, mobil ist es ein Raster. --cu wie in widescreen.css. */
@media (min-width:861px){
  .team-member--sophia{ left:calc(22.6875 * var(--cu)); top:calc(11.1979 * var(--cu)); }
  .team-member--christian{ left:calc(41.4792 * var(--cu)); top:calc(11.1979 * var(--cu)); }
  .team-member--melissa{ left:calc(13.2916 * var(--cu)); top:calc(27.4720 * var(--cu)); }
  .team-member--andre{ left:calc(32.0833 * var(--cu)); top:calc(27.4720 * var(--cu)); }
  .team-member--steven{ left:calc(50.8750 * var(--cu)); top:calc(27.4720 * var(--cu)); }
}

/* ---------- Team mobil/Tablet: rund wie auf dem Desktop ----------
   Foto als Kreis, Name/Rolle und Anruf/E-Mail darunter (auf Touch gibt es
   kein Hover, darum immer sichtbar). Flex statt Raster, damit die letzte
   Person mittig steht. Handy 2 nebeneinander, Tablet 3. */
@media (max-width:860px){
  .team-inner{ display:flex; flex-wrap:wrap; justify-content:center; gap:7vw 5vw; }
  .team-heading{ flex:0 0 100%; }
  .team-member{ width:calc((100% - 5vw) / 2); height:auto; aspect-ratio:auto; }
  .team-circle{ position:relative; inset:auto; overflow:visible; border-radius:0; display:block; }
  .team-photo{ display:block; width:100%; height:auto; aspect-ratio:1 / 1; border-radius:50%; }
  .team-overlay{ position:static; opacity:1; display:flex; flex-wrap:wrap; justify-content:center; gap:2vw; margin-top:3vw; }
  .team-overlay::before{ display:none; }
  .team-info{ position:static; order:-1; flex:0 0 100%; text-align:center; gap:.6vw; }
  .team-info h3, .team-info p{ font-size:clamp(13px, 3.4vw, 17px); }
  .team-info p{ opacity:.7; }
  .team-icon{ position:relative; top:auto; right:auto; width:clamp(32px, 8.5vw, 42px); height:clamp(32px, 8.5vw, 42px); }
  .team-icon--mail, .team-icon--phone{ right:auto; }
}
@media (min-width:600px) and (max-width:860px){
  .team-inner{ gap:5vw 4vw; }
  .team-member{ width:calc((100% - 8vw) / 3); }
  .team-overlay{ gap:1.4vw; margin-top:2vw; }
}

/* Mobil/Tablet: etwas mehr Luft über "In 4 Schritten", "Unser Team" und
   "Was uns ausmacht" (dezent) */
@media (max-width:860px){
  .fragen{ padding-bottom:12vw; }
  .team{ padding-top:12vw; }
  .hb-werte{ padding-top:10vw; }
}

/* Tablet (3 nebeneinander): oben Christian, Sophia, Steven – unten Andre
   und Melissa (Wunsch) */
@media (min-width:600px) and (max-width:860px){
  .team-member--christian{ order:1; }
  .team-member--sophia{ order:2; }
  .team-member--steven{ order:3; }
  .team-member--andre{ order:4; }
  .team-member--melissa{ order:5; }
}

/* Tablet: Hero groß wie auf dem Handy (vom Verkleinern ausgenommen, siehe
   tools/tablet-scale.py), nur Untertitel und Buttons passend dazu */
@media (min-width:600px) and (max-width:860px){
  .hb-hero-sub{ font-size:3vw; max-width:34em; }
  .hb-hero .hb-btn--sm{ height:46px; padding:0 22px; font-size:16px; }
}

/* Handy/Tablet: Hero nimmt den ersten Bildschirm prominenter ein (etwas
   größer, mindestens gut drei Viertel der Höhe). Darunter zuerst die
   Projekt-Bilder, dann "Design, das wirkt" – so steht nicht so viel Text
   auf einen Blick. */
@media (max-width:860px){
  .hb-hero{ min-height:calc(82svh - 76px); padding-top:6vw; padding-bottom:12vw; }
  .hb-hero-title{ font-size:10.6vw; }
  .hb-pill{ font-size:3.5vw; }
  .hb-hero-sub{ font-size:4.4vw; }
  .hb-speaks-text{ order:2; }
  .hb-speaks{ padding-top:4vw; }
  .hb-speaks-fade{ background:linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 12%, rgba(0,0,0,0) 46%, #000 62%, #000 100%); }
}
@media (min-width:600px) and (max-width:860px){
  .hb-hero-title{ font-size:10vw; }
}

/* Handy/Tablet: Projektbilder unter dem Hero sofort sichtbar (kein
   Einblenden erst beim Scrollen – sie stehen schon im ersten Bildschirm) */
@media (max-width:860px){
  .hb-speaks .hb-tile{ opacity:1; transform:none; transition:none; }
}

/* TABLET-SCALE:BEGIN */
/* erzeugt von tools/tablet-scale.py – nicht von Hand ändern (Faktor 0.68) */
@media (max-width:860px) and (min-width:600px){ .hb-werte{ padding-bottom:8.16vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-werte-head{ gap:2.04vw; margin-bottom:4.76vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-werte-link{ font-size:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-werte .ueber-wert h3{ margin-bottom:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-bars i{ width:4.76vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-editor-wrap{ margin-top:8.16vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-editor{ font-size:1.7vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-pt-track{ margin-top:6.8vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-pt-caption{ font-size:2.312vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-speaks{ gap:6.12vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-h2{ font-size:5.712vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-lead{ font-size:2.72vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-speaks-grid{ gap:1.632vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-row{ gap:1.632vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-speaks{ padding:9.52vw 0 5.44vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-orbit-title, .hb-orbit-all{ font-size:8.5vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-orbit-title .hero-outline{ -webkit-text-stroke-width:0.136vw; } }
@media (max-width:860px) and (min-width:600px){ .team-inner{ gap:4.76vw 3.4vw; } }
@media (max-width:860px) and (min-width:600px){ .team-overlay{ gap:1.36vw; margin-top:2.04vw; } }
@media (max-width:860px) and (min-width:600px){ .team-info{ gap:0.408vw; } }
@media (max-width:860px) and (min-width:600px){ .team-info h3, .team-info p{ font-size:clamp(13px, 2.312vw, 17px); } }
@media (max-width:860px) and (min-width:600px){ .team-icon{ width:clamp(32px, 5.78vw, 42px); height:clamp(32px, 5.78vw, 42px); } }
@media (min-width:600px) and (max-width:860px) and (min-width:600px){ .team-inner{ gap:3.4vw 2.72vw; } }
@media (min-width:600px) and (max-width:860px) and (min-width:600px){ .team-overlay{ gap:0.952vw; margin-top:1.36vw; } }
@media (max-width:860px) and (min-width:600px){ .fragen{ padding-bottom:8.16vw; } }
@media (max-width:860px) and (min-width:600px){ .team{ padding-top:8.16vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-werte{ padding-top:6.8vw; } }
@media (max-width:860px) and (min-width:600px){ .hb-speaks{ padding-top:2.72vw; } }
/* TABLET-SCALE:END */
