/* =========================================================
   Success Webdesign – Seite „Über mich“
   Baut auf css/style.css auf (Farben, Schrift, Header, Footer).
   ========================================================= */

/* ================= HERO ================= */
.ab-hero { position: relative; isolation: isolate; overflow: clip; padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.ab-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(15,17,21,.08) 1px, transparent 1.4px) 0 0 / 26px 26px;
  -webkit-mask-image: radial-gradient(60% 70% at 75% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 70% at 75% 40%, #000 0%, transparent 75%);
}
.ab-mark { position: absolute; right: -6%; top: -10%; height: 120%; width: auto; }
.ab-mark path { fill: none; stroke: rgba(47,98,255,.18); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.ab-hero-in {
  max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 88px); align-items: center;
}
.ab-title { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; color: var(--ink); margin: 0 0 26px; text-wrap: balance; }
.ab-lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink); margin: 0 0 16px; max-width: 32em; }
.ab-text { font-size: 16.5px; color: var(--muted); margin: 0 0 34px; max-width: 34em; }
.ab-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.ab-side { position: relative; padding-bottom: 130px; }
.ab-photo {
  position: relative; margin: 0 0 0 auto; width: min(100%, 420px); aspect-ratio: 4 / 5;
  border-radius: 28px; overflow: hidden; background: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(15,17,21,.45);
}
.ab-photo img { width: 100%; height: 100%; object-fit: cover; }
.ab-photo-empty { display: none; }
.ab-photo.is-empty .ab-photo-empty {
  position: absolute; inset: 0 0 34% 0; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(90% 70% at 70% 20%, #1E2A55 0%, var(--ink) 70%);
}
.ab-photo-empty svg { width: 30%; height: auto; }
.ab-photo-empty path:first-child { fill: #fff; }
.ab-photo-empty path:last-child { fill: var(--blue); }

.ab-term {
  position: absolute; left: 0; bottom: 0; width: min(92%, 380px);
  background: #0B0D12; border: 1px solid #232835; border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(15,17,21,.55);
}
.ab-term-bar { height: 36px; display: flex; align-items: center; gap: 6px; padding: 0 14px; background: #151821; border-bottom: 1px solid #232835; }
.ab-term-bar span { width: 9px; height: 9px; border-radius: 50%; background: #2E3442; }
.ab-term-bar em { font-style: normal; margin-left: 10px; font-family: var(--mono); font-size: 11.5px; color: #7D8494; }
.ab-term-body { margin: 0; padding: 16px 18px 18px; font-family: var(--mono); font-size: 13px; line-height: 1.85; color: #C9D1E0; white-space: pre-wrap; }
.t-l { display: block; animation: t-in .35s ease both; }
.t-l:nth-child(1) { animation-delay: .2s; } .t-l:nth-child(2) { animation-delay: .5s; } .t-l:nth-child(3) { animation-delay: .65s; }
.t-l:nth-child(4) { animation-delay: .8s; } .t-l:nth-child(5) { animation-delay: .95s; } .t-l:nth-child(6) { animation-delay: 1.1s; } .t-l:nth-child(7) { animation-delay: 1.3s; }
.t-p { color: #7AA2FF; } .t-k { color: #E5C07B; } .t-s { color: #98C379; } .t-ok { color: #4CC38A; }
.t-cur { display: inline-block; width: 8px; height: 15px; vertical-align: -2px; background: #7AA2FF; animation: t-blink 1s steps(1) infinite; }
@keyframes t-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes t-blink { 50% { opacity: 0; } }

/* ================= WARUM: Satz, der sich beim Scrollen aufbaut ================= */
.ab-why { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); padding-block: clamp(88px, 12vw, 168px); }
.ab-why::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 85% 15%, rgba(47,98,255,.22), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px;
}
.ab-why-in { max-width: 1080px; margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.ab-why-stage { position: relative; padding: 0 clamp(0px, 7vw, 96px); }
.ab-quote { margin: 0; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.12; letter-spacing: -.035em; font-weight: 700; color: #fff; text-wrap: pretty; }
.ab-quote .w { transition: color .35s ease; }
.ab-quote.is-armed .w { color: #343A47; }
.ab-quote.is-armed .w.is-on { color: #fff; }
.ab-q-hl, .ab-quote.is-armed .ab-q-hl .w.is-on { color: #6F96FF; }
.ab-br { position: absolute; width: clamp(34px, 5vw, 64px); height: auto; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.ab-br-l { left: 0; top: -.2em; }
.ab-br-l path { fill: #fff; }
.ab-br-r { right: 0; bottom: -.2em; }
.ab-br-r path { fill: var(--blue); }
.ab-why.is-armed .ab-br { opacity: .15; }
.ab-why.is-armed .ab-br-l { transform: translateX(-14px); }
.ab-why.is-armed .ab-br-r { transform: translateX(14px); }
.ab-why.is-done .ab-br { opacity: 1; transform: none; }
.ab-sign { display: flex; align-items: center; gap: 16px; margin-top: clamp(36px, 5vw, 56px); padding-left: clamp(0px, 7vw, 96px); color: #8A91A0; font-size: 14.5px; }
.ab-sign span:last-child { display: flex; flex-direction: column; }
.ab-sign b { color: #fff; font-size: 16px; }
.ab-sign-line { width: 48px; height: 2px; background: var(--blue); }
@media (max-width: 600px) {
  .ab-why-stage { padding: 56px 0; }
  .ab-br-l { top: 0; } .ab-br-r { bottom: 0; }
  .ab-sign { padding-left: 0; }
}

/* ================= ARBEITSWEISE ================= */
.ab-way { padding-block: clamp(72px, 9vw, 128px); }
.ab-way-in { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.ab-way-head { margin-bottom: clamp(32px, 4vw, 52px); }
.ab-way-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ab-card {
  border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 28px; background: #fff;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.ab-card:hover { transform: translateY(-6px); border-color: rgba(47,98,255,.45); box-shadow: 0 28px 50px -30px rgba(47,98,255,.45); }
.ab-card-k { display: inline-block; font-family: var(--mono); font-size: 12px; color: var(--blue); background: var(--blue-soft); border-radius: 6px; padding: 4px 9px; margin-bottom: 22px; }
.ab-card h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.015em; color: var(--ink); }
.ab-card p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ================= BRANCHEN & PROJEKTE (zwei Laufbänder) ================= */
.ab-mq { position: relative; background: var(--ink); padding-block: clamp(56px, 7vw, 88px); overflow: hidden; isolation: isolate; }
.ab-mq::before { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 80% at 50% 0%, rgba(47,98,255,.22), transparent 70%); }
.ab-mq-head { max-width: var(--wrap); margin: 0 auto clamp(28px, 4vw, 44px); padding-left: var(--gutter-l); padding-right: var(--gutter-r); display: flex; justify-content: space-between; align-items: baseline; gap: 12px 32px; flex-wrap: wrap; }
.ab-mq-head .sx-label { margin: 0; }
.ab-mq-sub { margin: 0; color: #A9AFBB; font-size: 15.5px; max-width: 34em; }
.ab-mq-lane {
  overflow: hidden; padding-block: 7px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ab-mq-track { display: flex; width: max-content; animation: mq 46s linear infinite; }
.ab-mq-lane-rev .ab-mq-track { animation-direction: reverse; animation-duration: 52s; }
.ab-mq:hover .ab-mq-track { animation-play-state: paused; }
.ab-mq-row { display: flex; gap: 12px; padding-right: 12px; flex: none; }
.ab-chip {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 14px 22px 14px 14px; border-radius: 999px;
  font-size: clamp(17px, 1.8vw, 22px); font-weight: 700; letter-spacing: -.015em; color: #fff;
  background: #171B24; border: 1px solid #2A2F3A;
}
.ab-chip svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--blue); fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ab-mq-lane-rev .ab-chip { background: transparent; color: #C3C8D2; font-weight: 400; }
.ab-mq-lane-rev .ab-chip svg { background: #232835; stroke: #7AA2FF; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ================= WERKZEUGE ================= */
.ab-tools { padding-block: clamp(72px, 9vw, 128px); }
.ab-tools-in { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.ab-tools-head { margin-bottom: clamp(32px, 4vw, 52px); }
.ab-tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ab-tool { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 22px; padding: 26px 24px 28px; }
.ab-tool h3 { margin: 0 0 18px; font-size: 19px; color: var(--ink); letter-spacing: -.015em; display: flex; align-items: baseline; gap: 10px; }
.ab-tool h3 span { font-family: var(--mono); font-size: 12.5px; color: var(--blue); font-weight: 400; }
.ab-tool ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ab-tool li { font-family: var(--mono); font-size: 13px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }

/* ================= GESPRÄCH WÄHLEN ================= */
.ab-talk { padding-block: clamp(24px, 4vw, 48px) clamp(80px, 10vw, 136px); }
.ab-talk-in { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.ab-talk-head { max-width: 620px; margin-bottom: clamp(32px, 4vw, 52px); }
.ab-talk-head > p:last-child { margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.ab-talk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ab-talk-opt {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
  min-height: 320px; padding: 28px 26px; border-radius: 26px; text-decoration: none;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--ink);
  transition: color .5s cubic-bezier(.65,0,.35,1), border-color .5s;
}
.ab-talk-opt::before {
  content: ""; position: absolute; z-index: -1; inset: 0; background: var(--ink);
  clip-path: circle(0% at 46px 46px); transition: clip-path .7s cubic-bezier(.65,0,.35,1);
}
.ab-talk-opt:hover, .ab-talk-opt:focus-visible { color: #fff; border-color: var(--ink); }
.ab-talk-opt:hover::before, .ab-talk-opt:focus-visible::before { clip-path: circle(150% at 46px 46px); }
.ab-talk-ic { width: 54px; height: 54px; border-radius: 16px; background: var(--blue); display: grid; place-items: center; margin-bottom: 30px; }
.ab-talk-ic svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ab-talk-k { font-family: var(--mono); font-size: 12.5px; color: var(--blue); margin-bottom: 8px; transition: color .5s; }
.ab-talk-opt:hover .ab-talk-k { color: #7AA2FF; }
.ab-talk-t { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.025em; margin-bottom: 10px; }
.ab-talk-d { font-size: 15.5px; color: var(--muted); transition: color .5s; }
.ab-talk-opt:hover .ab-talk-d { color: #A9AFBB; }
.ab-talk-go { margin-top: auto; padding-top: 26px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; }
.ab-talk-go i { font-style: normal; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid currentColor; transition: transform .4s, background-color .4s, border-color .4s; }
.ab-talk-opt:hover .ab-talk-go i { transform: translateX(4px) rotate(-45deg); background: var(--blue); border-color: var(--blue); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1080px) {
  .ab-way-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .ab-hero-in { grid-template-columns: minmax(0, 1fr); }
  .ab-photo { margin: 0 auto; }
  .ab-term { left: 50%; transform: translateX(-50%); width: min(100%, 380px); }
  .ab-tools-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-talk-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-talk-opt { min-height: 0; }
}
@media (max-width: 600px) {
  .ab-way-grid { grid-template-columns: minmax(0, 1fr); }
  .ab-side { padding-bottom: 150px; }
  .ab-photo { width: 86%; }
  .ab-term-body { font-size: 12px; }
  .ab-chip { padding: 10px 16px 10px 10px; }
  .ab-chip svg { width: 34px; height: 34px; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-mq-track { animation: none; }
  .ab-mq-lane { overflow-x: auto; }
}
