/* wm-auto: user.css für werbedesign-mannheim.de, geschrieben vom Inhalts-Installer.
   Wer die Datei von Hand ändert, entfernt diese Zeile – dann fasst der Installer sie nicht mehr an.
   Animationen nur mit CSS + user.js (keine Bibliothek, kein CDN), nur transform/opacity/stroke.
   prefers-reduced-motion: alles steht sofort im Endzustand. Startzustände (versteckt) gelten nur mit JS (Klasse wm-js). */

:root {
  --wm-ink: #10142b;
  --wm-ink-2: #1c1f45;
  --wm-violet: #5b4bff;
  --wm-coral: #ff5a36;
  --wm-cyan: #8ff0ff;
  --wm-paper: #f6f5fc;
  --wm-line: #e3e1f2;
  --wm-muted: #555a78;
  --wm-grad: linear-gradient(120deg, #5b4bff 0%, #b04bd6 50%, #ff5a36 100%);
  --wm-ease: cubic-bezier(.2, .8, .2, 1);
  /* Spamschutz plg_captcha_imhof */
  --ic-bg: #fff;
  --ic-line: #d6d3ec;
  --ic-ink: #10142b;
  --ic-muted: #555a78;
  --ic-ok: #5b4bff;
}

html { scroll-behavior: smooth; }
body.site { background: #fff; color: var(--wm-ink); overflow-x: clip; }
body.site :is(h1, h2, h3) { color: var(--wm-ink); letter-spacing: -.01em; }
body.site h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.12; font-weight: 800; }
body.site h2 { font-size: clamp(1.45rem, 2.8vw, 2.1rem); line-height: 1.2; font-weight: 800; margin-top: 2.4rem; }
body.site h3 { font-size: 1.2rem; font-weight: 700; }
body.site a { color: var(--wm-violet); }
body.site a:hover { color: #3a2bd6; }
body.site .container-component main { max-width: 1100px; margin-inline: auto; }
/* v1.0.1: Handy – main ist ein Flex-Element und wuchs auf die Mindestbreite von Schaubild/Tabelle (560 px), der Inhalt wurde rechts abgeschnitten */
body.site .container-component, body.site .container-component > main { min-width: 0; }
body.site .container-component > main { width: 100%; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kopfzeile ---------- */
body.site .container-header { background: linear-gradient(100deg, var(--wm-ink) 0%, var(--wm-ink-2) 60%, #2a1f5e 100%); }
body.site .container-header .brand-logo img[src$=".svg"] { height: 44px; width: auto; }
body.site .container-header .brand-text b { letter-spacing: .01em; }
/* Links in der Kopfzeile weiß (Peter, 02.12.2026) – sonst greift die violette Linkfarbe */
body.site .container-header a,
body.site .container-header .brand-logo,
body.site .container-header .brand-text,
body.site .container-header .brand-text :is(b, small),
body.site .container-header .site-description,
body.site .container-header .mod-menu > li > a,
body.site .container-header .metismenu > li > a,
body.site .container-header .mod-menu > li > span,
body.site .container-header .metismenu > li > button { color: #fff; }
body.site .container-header .mod-menu > li > a:is(:hover, :focus-visible),
body.site .container-header .mod-menu > li.active > a,
body.site .container-header .metismenu > li > a:is(:hover, :focus-visible),
body.site .container-header .metismenu > li.active > a { color: #fff; text-shadow: 0 0 12px rgba(143, 240, 255, .7); }
body.site .container-header .brand-text small { opacity: .8; }
@media (max-width: 991.98px) {
  body.site .container-header .container-nav { background: linear-gradient(165deg, var(--wm-ink), #2a1f5e); }
  body.site .container-header .container-nav .mod-menu > li.active > a { box-shadow: inset 4px 0 0 var(--wm-coral); }
  .imhof-burger { color: #fff; }
  /* v1.0.1: Logo und Unterzeile nebeneinander (Kopf 123 statt 168 px), Burger unter der Sprachwahl statt darüber */
  body.site .container-header .navbar-brand,
  body.site .container-header.is-scrolled .navbar-brand { display: flex; align-items: center; gap: .7rem; padding-block: .6rem; }
  body.site .container-header .brand-logo img[src$=".svg"],
  body.site .container-header.is-scrolled .brand-logo img[src$=".svg"] { height: 44px; }
  body.site .container-header .site-description { font-size: .85rem; line-height: 1.25; }
  body.site .container-topbar { min-height: 34px; }
  body.site .container-header .imhof-burger,
  body.site .container-header.is-scrolled .imhof-burger { top: calc(34px + .55rem); }
}
/* Lesefortschritt als Verlaufslinie unter der Kopfzeile (nur Browser mit scroll-driven animations) */
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    body.site .container-header::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; opacity: 1;
      background: var(--wm-grad); background-size: 100% 100%; transform-origin: 0 50%;
      animation: wm-progress linear both; animation-timeline: scroll(root);
    }
  }
}
@keyframes wm-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Topbar: Claim links, Sprachwahl mit Fahnen rechts */
body.site .container-topbar { background: #0a0d1f; }
.wm-topbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1240px; margin: 0 auto; padding: .3rem 1rem; font-size: .82rem; color: #c9c6ff; }
.wm-topbar__claim { margin: 0; letter-spacing: .04em; }
.wm-lang { display: inline-flex; gap: .35rem; }
.wm-lang__item { display: inline-flex; align-items: center; gap: .4rem; padding: .2rem .55rem; border-radius: 999px; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .18); font-weight: 600; line-height: 1.2; transition: background-color .2s, border-color .2s; }
body.site a.wm-lang__item { color: #fff; }
.wm-lang__item svg { width: 20px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
a.wm-lang__item:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); }
.wm-lang__item.is-active { background: var(--wm-grad); border-color: transparent; }
@media (max-width: 640px) { .wm-topbar__claim { display: none; } .wm-topbar { justify-content: flex-end; } }

/* ---------- Knöpfe ---------- */
body.site .wm-btn { position: relative; display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; margin: 0 .6rem .6rem 0; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .25s var(--wm-ease), box-shadow .25s, background-color .25s; }
body.site .wm-btn svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--wm-ease); }
body.site .wm-btn:hover svg { transform: translateX(3px); }
body.site .wm-btn--glow { color: #fff; background: var(--wm-grad); background-size: 200% 100%; box-shadow: 0 10px 30px -10px rgba(255, 90, 54, .65); animation: wm-shift 6s ease-in-out infinite alternate; }
body.site .wm-btn--glow:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(91, 75, 255, .75); }
body.site .wm-btn--ghost { color: inherit; border: 1.5px solid currentColor; background: transparent; }
body.site .wm-btn--ghost:hover { transform: translateY(-2px); }
@keyframes wm-shift { from { background-position: 0 0; } to { background-position: 100% 0; } }
.wm-actions { margin-top: 1.5rem; }
body.site .wm-more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; }
body.site .wm-more svg { width: 1.1em; height: 1.1em; transition: transform .25s var(--wm-ease); }
body.site .wm-more:hover svg { transform: translateX(4px); }

/* ---------- Hero ---------- */
.wm-hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(ellipse 60% 70% at 85% 20%, rgba(91, 75, 255, .45), transparent 70%),
  radial-gradient(ellipse 50% 60% at 10% 90%, rgba(255, 90, 54, .28), transparent 70%),
  linear-gradient(160deg, var(--wm-ink) 0%, #161a3d 100%); }
.wm-hero::before { /* feines Raster */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(143, 240, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 240, 255, .08) 1px, transparent 1px);
  background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 75%);
}
.wm-hero__inner { position: relative; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem; padding: clamp(2.5rem, 6vw, 5rem) 1.25rem clamp(2rem, 4vw, 3rem); }
.wm-kicker { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wm-cyan); margin: 0 0 1rem; }
body.site .wm-hero .wm-h1 { color: #fff; margin: 0 0 1.2rem; font-size: clamp(2.2rem, 5.4vw, 4.2rem); line-height: 1.02; }
.wm-h1__brand { display: block; font-size: .42em; font-weight: 700; letter-spacing: .02em; color: #c9c6ff; margin-bottom: .45rem; }
.wm-h1__claim { display: block; }
.wm-word { display: inline-block; }
.wm-grad { background: var(--wm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm-hero .wm-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: #e4e2ff; max-width: 36rem; }
.wm-hero .wm-btn--ghost { color: #fff; }
.wm-hero__net { position: relative; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s var(--wm-ease); will-change: transform; }
@media (max-width: 900px) {
  .wm-hero__inner { grid-template-columns: 1fr; }
  .wm-hero__net { max-width: 520px; margin: 0 auto; width: 100%; }
}

/* Wörter steigen nacheinander auf */
@media (prefers-reduced-motion: no-preference) {
  .wm-word { animation: wm-rise .9s var(--wm-ease) both; animation-delay: calc(.15s + var(--i, 0) * .12s); }
  .wm-hero .wm-lead, .wm-hero .wm-actions, .wm-kicker { animation: wm-fade 1s ease both; animation-delay: .7s; }
}
@keyframes wm-rise { from { opacity: 0; transform: translateY(.6em) rotate(2deg); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes wm-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Wechselndes Wort */
.wm-rotator { display: inline-grid; vertical-align: bottom; font-weight: 700; color: #fff; }
.wm-rotator > span { grid-area: 1 / 1; white-space: nowrap; background: var(--wm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .wm-rotator > span { animation: wm-rotate 12.5s infinite; }
  .wm-rotator > span:nth-child(2) { animation-delay: 2.5s; }
  .wm-rotator > span:nth-child(3) { animation-delay: 5s; }
  .wm-rotator > span:nth-child(4) { animation-delay: 7.5s; }
  .wm-rotator > span:nth-child(5) { animation-delay: 10s; }
}
@media (prefers-reduced-motion: reduce) { .wm-rotator > span:first-child { opacity: 1; } .wm-rotator > span:not(:first-child) { display: none; } }
@keyframes wm-rotate { 0% { opacity: 0; transform: translateY(.5em); } 4%, 18% { opacity: 1; transform: none; } 22%, 100% { opacity: 0; transform: translateY(-.5em); } }

/* ---------- Netzwerk-Grafik (Hero) ---------- */
.wm-net { display: block; width: 100%; height: auto; overflow: visible; }
.wm-net .wm-link { stroke: rgba(143, 240, 255, .38); stroke-width: 1.6; fill: none; }
.wm-net .wm-link--ring { stroke: rgba(201, 198, 255, .22); stroke-dasharray: .02 .015; }
.wm-net .wm-flow { stroke: var(--wm-cyan); stroke-width: 3.2; stroke-linecap: round; fill: none; stroke-dasharray: .05 .95; stroke-dashoffset: 1; opacity: .9; filter: drop-shadow(0 0 4px rgba(143, 240, 255, .9)); }
.wm-net .wm-node circle { fill: var(--wm-cyan); stroke: rgba(16, 20, 43, .9); stroke-width: 3; transform-box: fill-box; transform-origin: center; }
.wm-net .wm-node text { fill: #e4e2ff; font-size: 17px; font-weight: 600; letter-spacing: .02em; }
.wm-net .wm-pulse { fill: none; stroke: #ff8a6e; stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .wm-net .wm-link { stroke-dasharray: 1; stroke-dashoffset: 1; animation: wm-draw 1.4s var(--wm-ease) forwards; animation-delay: calc(.3s + var(--i) * .09s); }
  .wm-net .wm-link--ring { stroke-dasharray: 1; }
  .wm-net .wm-flow { animation: wm-flow 3.2s linear infinite; animation-delay: calc(1.8s + var(--i) * .43s); }
  .wm-net .wm-node circle { animation: wm-pop .7s var(--wm-ease) both, wm-glow 3.6s ease-in-out infinite; animation-delay: calc(.5s + var(--i) * .09s), calc(2s + var(--i) * .3s); }
  .wm-net .wm-node text { animation: wm-fade .8s ease both; animation-delay: calc(.8s + var(--i) * .09s); }
  .wm-net .wm-pulse { animation: wm-pulse 3s ease-out infinite 1.6s; }
  .wm-net .wm-pulse--2 { animation-delay: 3.1s; }
  .wm-net__core { animation: wm-fade .8s ease both .2s; }
}
@keyframes wm-draw { to { stroke-dashoffset: 0; } }
@keyframes wm-flow { 0% { stroke-dashoffset: 1; opacity: 0; } 10% { opacity: .9; } 85% { opacity: .9; } 100% { stroke-dashoffset: .05; opacity: 0; } }
@keyframes wm-pop { from { transform: scale(0); } 60% { transform: scale(1.35); } to { transform: scale(1); } }
@keyframes wm-glow { 0%, 100% { fill: var(--wm-cyan); } 50% { fill: #fff; } }
@keyframes wm-pulse { from { transform: scale(.9); opacity: .7; } to { transform: scale(2.4); opacity: 0; } }

/* Laufband */
.wm-ticker { position: relative; overflow: hidden; border-top: 1px solid rgba(201, 198, 255, .15); padding: .9rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wm-ticker__track { display: flex; width: max-content; gap: 2.5rem; }
.wm-ticker__track span { font-size: clamp(1rem, 1.8vw, 1.35rem); font-weight: 700; color: rgba(228, 226, 255, .55); white-space: nowrap; }
.wm-ticker__track span::after { content: "✦"; margin-left: 2.5rem; color: var(--wm-coral); }
@media (prefers-reduced-motion: no-preference) { .wm-ticker__track { animation: wm-marquee 38s linear infinite; } .wm-ticker:hover .wm-ticker__track { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) { .wm-ticker__track { flex-wrap: wrap; width: auto; justify-content: center; gap: 1rem; } .wm-ticker__track span:nth-child(n+15) { display: none; } }
@keyframes wm-marquee { to { transform: translateX(-50%); } }
.is-paused, .is-paused * { animation-play-state: paused !important; }

/* ---------- Einblenden beim Scrollen (nur mit JS) ---------- */
.wm-js .wm-io { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--wm-ease), transform .8s var(--wm-ease); transition-delay: calc(var(--i, 0) * .08s); }
.wm-js .wm-io.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .wm-js .wm-io { opacity: 1; transform: none; transition: none; } }

/* ---------- Abschnitte ---------- */
.wm-section { margin: 3.5rem 0; }
body.site .wm-lead { font-size: 1.15rem; line-height: 1.65; }
.wm-band--stats { margin: 0 0 1rem; }

/* Kennzahlen */
.wm-stats { max-width: 1100px; margin: 1.5rem auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.wm-stats > div { padding: 1.4rem .8rem; border-radius: 18px; background: #fff; border: 1px solid var(--wm-line); box-shadow: 0 10px 30px -18px rgba(16, 20, 43, .35); }
.wm-stats strong { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1; background: var(--wm-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.wm-stats span { display: block; margin-top: .45rem; color: var(--wm-muted); font-size: .95rem; }
@media (max-width: 760px) { .wm-stats { grid-template-columns: repeat(2, 1fr); } }

/* Karten */
.wm-cards { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.wm-card { position: relative; padding: 1.5rem 1.4rem; border-radius: 20px; background: #fff; border: 1px solid var(--wm-line); transition: transform .35s var(--wm-ease), box-shadow .35s; isolation: isolate; }
.wm-card::before { /* Verlaufsrahmen beim Überfahren */
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; background: var(--wm-grad); z-index: -1; opacity: 0; transition: opacity .35s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.wm-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(91, 75, 255, .45); }
.wm-card:hover::before { opacity: 1; }
.wm-card h2, .wm-card h3 { margin: 0 0 .5rem; font-size: 1.2rem; }
.wm-card p { margin: 0; color: var(--wm-muted); }
.wm-card__tag { display: inline-block; margin-bottom: .7rem !important; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff !important; background: var(--wm-grad); }

/* Budget-Vergleich */
.wm-compare { margin: 1.8rem 0; padding: 1.6rem; border-radius: 22px; background: var(--wm-paper); border: 1px solid var(--wm-line); }
.wm-bar { display: grid; grid-template-columns: 11rem 1fr; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.wm-bar__label { font-weight: 800; }
.wm-bar__track { display: flex; height: 3rem; border-radius: 14px; overflow: hidden; background: #fff; }
.wm-bar__seg { flex: 0 0 calc(var(--w) * 1%); display: flex; align-items: center; padding: 0 .6rem; min-width: 0; color: #fff; font-size: .8rem; font-weight: 600; background: #9a97b8; border-right: 2px solid #fff; transform-origin: 0 50%; }
.wm-bar__seg:nth-child(3) { background: #7f7ca3; } .wm-bar__seg:nth-child(4) { background: #b1aecb; } .wm-bar__seg:nth-child(5) { background: #6b688e; }
.wm-bar__seg.is-result { background: var(--wm-grad); }
.wm-bar__seg > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* v1.0.3: Text nur noch in „Ihr Projekt“, die übrigen Abschnitte erklärt die Legende (vorher abgeschnittene Wörter, sah nach Fehler aus) */
.wm-bar__seg:not(.is-result) > span { display: none; }
.wm-bar + .wm-bar .wm-bar__seg:not(.is-result) { background: #c9c6ff; }
.wm-compare__legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: .4rem 0 .6rem; padding: 0; font-size: .85rem; color: var(--wm-ink); }
.wm-compare__legend li { display: inline-flex; align-items: center; gap: .45rem; }
.wm-key { display: inline-block; width: 1.1rem; height: .8rem; border-radius: 4px; background: #9a97b8; }
.wm-key--1 { background: var(--wm-grad); }
.wm-key--3 { background: #7f7ca3; } .wm-key--4 { background: #b1aecb; } .wm-key--5 { background: #6b688e; } .wm-key--6 { background: #c9c6ff; }
.wm-compare figcaption { margin-top: .4rem; font-size: .85rem; color: var(--wm-muted); }
.wm-js .wm-compare .wm-bar__seg { transform: scaleX(0); transition: transform .9s var(--wm-ease); transition-delay: calc(.2s + var(--i) * .18s); }
.wm-js .wm-compare.is-in .wm-bar__seg { transform: none; }
@media (max-width: 640px) { .wm-bar { grid-template-columns: 1fr; gap: .35rem; } .wm-bar__seg { font-size: .68rem; padding: 0 .35rem; } .wm-bar__seg:not(.is-result) > span { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wm-js .wm-compare .wm-bar__seg { transform: none; transition: none; } }

/* Kanäle */
.wm-channels { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.wm-channels li { padding: 1.3rem 1.2rem; border-radius: 20px; background: var(--wm-ink); color: #e4e2ff; }
.wm-channels strong { display: block; color: #fff; font-size: 1.1rem; margin: .7rem 0 .3rem; }
.wm-channels li > span:last-child { font-size: .92rem; line-height: 1.5; }
.wm-channels__ico { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; background: var(--wm-grad); color: #fff; }
.wm-channels__ico svg { width: 1.6rem; height: 1.6rem; }
@media (prefers-reduced-motion: no-preference) {
  .wm-channels li:nth-child(1) .wm-channels__ico { animation: wm-float 4s ease-in-out infinite; }
  .wm-channels li:nth-child(2) .wm-channels__ico { animation: wm-float 4s ease-in-out infinite .5s; }
  .wm-channels li:nth-child(3) .wm-channels__ico { animation: wm-float 4s ease-in-out infinite 1s; }
  .wm-channels li:nth-child(4) .wm-channels__ico { animation: wm-float 4s ease-in-out infinite 1.5s; }
}
@keyframes wm-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-4deg); } }
@media (max-width: 900px) { .wm-channels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .wm-channels { grid-template-columns: 1fr; } }

/* Markenfamilie (Schaubild) */
.wm-fam-wrap { margin: 1.5rem 0; padding: 1.2rem; border-radius: 22px; background: var(--wm-paper); border: 1px solid var(--wm-line); overflow-x: auto; }
.wm-fam { display: block; width: 100%; min-width: 560px; height: auto; }
.wm-fam__roof { fill: none; stroke: url(#wm-g-fam); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.wm-fam__box rect { fill: #fff; stroke: #cfcbe9; stroke-width: 1.5; transition: stroke .3s, fill .3s; }
.wm-fam__box--top rect { fill: url(#wm-g-fam); stroke: none; }
.wm-fam__box--top text { fill: #fff; }
.wm-fam__box--mid rect { fill: var(--wm-ink); stroke: none; }
.wm-fam__box--mid text { fill: #fff; }
.wm-fam__box--side rect { fill: #eceaf9; stroke-dasharray: 5 4; }
a.wm-fam__box:hover rect { stroke: var(--wm-coral); stroke-width: 2.5; }
.wm-fam__name { font-size: 15.5px; font-weight: 800; fill: var(--wm-ink); }
.wm-fam__sub { font-size: 13px; fill: var(--wm-muted); }
.wm-fam__box--top .wm-fam__sub, .wm-fam__box--mid .wm-fam__sub { fill: #e4e2ff; }
.wm-fam__line { fill: none; stroke: var(--wm-violet); stroke-width: 3; stroke-linecap: round; }
.wm-fam__head { fill: none; stroke: var(--wm-violet); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.wm-js .wm-fam-wrap .wm-fam__box, .wm-js .wm-fam-wrap .wm-fam__roof { opacity: 0; transition: opacity .6s ease; transition-delay: calc(var(--i, 0) * .14s); }
.wm-js .wm-fam-wrap .wm-fam__line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .7s var(--wm-ease); transition-delay: calc(.4s + (var(--i) - 7) * .2s + .8s); }
.wm-js .wm-fam-wrap .wm-fam__head { opacity: 0; transition: opacity .3s ease; transition-delay: calc(.4s + (var(--i) - 7) * .2s + 1.4s); }
.wm-js .wm-fam-wrap.is-in .wm-fam__box, .wm-js .wm-fam-wrap.is-in .wm-fam__roof, .wm-js .wm-fam-wrap.is-in .wm-fam__head { opacity: 1; }
.wm-js .wm-fam-wrap.is-in .wm-fam__line { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .wm-js .wm-fam-wrap :is(.wm-fam__box, .wm-fam__roof, .wm-fam__head) { opacity: 1; transition: none; } .wm-js .wm-fam-wrap .wm-fam__line { stroke-dashoffset: 0; transition: none; } }

/* v1.0.1: Schaubild und Tabelle am Handy seitlich wischen (Hinweis darunter, Schaubild startet mittig per user.js) */
@media (max-width: 640px) {
  .wm-fam-wrap, .wm-table-wrap { -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .wm-fam-wrap + .wm-swipe, .wm-table-wrap + .wm-swipe { display: block; }
}
.wm-swipe { display: none; margin: -.9rem 0 1.4rem; font-size: .8rem; color: var(--wm-muted); text-align: center; }

/* v1.0.1: Band mit festem Hintergrundbild (Bild steht, Seite gleitet darüber; auch am Handy, ohne background-attachment) */
.wm-photo { position: relative; display: grid; place-items: center; width: 100vw; margin: 3rem calc(50% - 50vw); min-height: clamp(240px, 46vh, 460px); padding: 2.5rem 1.25rem; clip-path: inset(0); isolation: isolate; overflow: hidden; }
.wm-photo__bg { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.wm-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(16, 20, 43, .82), rgba(42, 31, 94, .55) 55%, rgba(255, 90, 54, .28)); }
.wm-photo--planung .wm-photo__bg { object-position: 55% 40%; }
.wm-photo--digital .wm-photo__bg { object-position: 60% 50%; }
body.site .wm-photo__text { max-width: 900px; margin: 0; color: #fff; font-size: clamp(1.5rem, 4.2vw, 2.8rem); font-weight: 800; line-height: 1.15; text-align: center; letter-spacing: -.01em; text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
@media (prefers-reduced-motion: reduce) { .wm-photo__bg { position: absolute; } }
@media print { .wm-photo { display: none; } }

/* Rollen und Links */
.wm-roles { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .9rem; }
.wm-roles li { position: relative; padding: 1rem 1.1rem 1rem 1.5rem; border-radius: 16px; background: var(--wm-paper); border: 1px solid var(--wm-line); overflow: hidden; }
.wm-roles li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--wm-grad); }
.wm-roles strong { display: block; margin-bottom: .2rem; }
.wm-roles span { color: var(--wm-muted); font-size: .93rem; }
.wm-links { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.wm-links li { display: flex; flex-wrap: wrap; gap: .2rem 1rem; align-items: baseline; padding: .7rem 0; border-bottom: 1px solid var(--wm-line); }
body.site .wm-links a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none; min-width: 14rem; }
.wm-links a svg { width: 1em; height: 1em; }
.wm-links span { color: var(--wm-muted); }
.wm-checks { list-style: none; padding: 0; }
.wm-checks li { position: relative; padding: .5rem 0 .5rem 2.2rem; }
.wm-checks li::before { content: "✓"; position: absolute; left: 0; top: .45rem; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; color: #fff; font-size: .85rem; font-weight: 800; background: var(--wm-grad); }

/* Projektablauf mit wachsendem Team */
.wm-process { display: grid; grid-template-columns: 1fr 17rem; gap: 2rem; align-items: start; margin: 1.5rem 0 2.5rem; }
.wm-steps { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.wm-step { position: relative; padding: 1.2rem 1.2rem 1.2rem 4.2rem; margin-bottom: 1rem; border-radius: 18px; background: #fff; border: 1px solid var(--wm-line); transition: border-color .4s, box-shadow .4s; }
.wm-step h3 { margin: 0 0 .35rem; }
.wm-step p { margin: 0; color: var(--wm-muted); }
.wm-step__nr { position: absolute; left: 1.1rem; top: 1.1rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; font-weight: 800; color: var(--wm-violet); background: var(--wm-paper); border: 2px solid var(--wm-line); transition: background .4s, color .4s, border-color .4s; }
.wm-step.is-current { border-color: var(--wm-violet); box-shadow: 0 18px 40px -26px rgba(91, 75, 255, .6); }
.wm-step.is-current .wm-step__nr, .wm-step.is-done .wm-step__nr { color: #fff; background: var(--wm-grad); border-color: transparent; }
.wm-team { position: sticky; top: 110px; padding: 1.2rem; border-radius: 20px; background: var(--wm-ink); color: #e4e2ff; }
.wm-team__h { margin: 0 0 .8rem; font-weight: 800; color: #fff; }
.wm-team ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.wm-team li { padding: .3rem .7rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #fff; background: var(--wm-grad); transition: opacity .45s, transform .45s var(--wm-ease), filter .45s; }
.wm-js .wm-team li:not(.on) { opacity: .25; transform: scale(.9); filter: grayscale(1); }
.wm-js .wm-team li.on { animation: wm-pop-in .5s var(--wm-ease); }
.wm-team__note { margin: 1rem 0 0; font-size: .85rem; color: #c9c6ff; }
@keyframes wm-pop-in { from { transform: scale(.6); } 70% { transform: scale(1.1); } to { transform: scale(1); } }
@media (max-width: 900px) { .wm-process { grid-template-columns: 1fr; } .wm-team { position: sticky; top: auto; bottom: .75rem; order: -1; z-index: 2; } }
@media (prefers-reduced-motion: reduce) { .wm-js .wm-team li:not(.on) { opacity: 1; transform: none; filter: none; } .wm-js .wm-team li.on { animation: none; } }

/* Tabelle */
.wm-table-wrap { overflow-x: auto; margin: 1.2rem 0; border-radius: 18px; border: 1px solid var(--wm-line); }
.wm-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.wm-table th, .wm-table td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--wm-line); }
.wm-table thead th { background: var(--wm-ink); color: #fff; }
.wm-table thead th:last-child { background: var(--wm-violet); background-image: var(--wm-grad); }
.wm-table tbody th { background: var(--wm-paper); width: 22%; }
.wm-table td:last-child { font-weight: 600; }
.wm-table tbody tr:last-child > * { border-bottom: 0; }

/* Aufruf zum Handeln */
.wm-cta { position: relative; overflow: hidden; margin: 3.5rem 0 1.5rem; padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: 26px; color: #e4e2ff; background: radial-gradient(ellipse 70% 120% at 100% 0%, rgba(255, 90, 54, .4), transparent 60%), linear-gradient(140deg, var(--wm-ink), #2a1f5e); }
body.site .wm-cta h2 { color: #fff; margin-top: 0; }
.wm-cta .wm-btn--ghost { color: #fff; }
.wm-cta::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -120px; border-radius: 50%; border: 2px solid rgba(143, 240, 255, .25); }
@media (prefers-reduced-motion: no-preference) { .wm-cta::after { animation: wm-pulse-ring 5s ease-in-out infinite; } }
@keyframes wm-pulse-ring { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.15); opacity: 1; } }

/* FAQ */
.wm-faq { max-width: 900px; margin: 0 auto; padding: 1rem 0 2rem; }
.wm-faq details { border-bottom: 1px solid var(--wm-line); padding: 1rem 0; }
.wm-faq summary { cursor: pointer; font-size: 1.12rem; font-weight: 700; list-style: none; position: relative; padding-right: 2.5rem; }
.wm-faq summary::-webkit-details-marker { display: none; }
.wm-faq summary::after { content: "+"; position: absolute; right: .2rem; top: -.15rem; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; color: #fff; background: var(--wm-grad); transition: transform .3s var(--wm-ease); }
.wm-faq details[open] summary::after { transform: rotate(45deg); }
.wm-faq details > div { padding-top: .6rem; color: var(--wm-muted); }

/* Kontakt */
.wm-contactinfo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.2rem 0 2rem; }
.wm-contactinfo__grid > div { padding: 1.2rem; border-radius: 18px; background: var(--wm-paper); border: 1px solid var(--wm-line); }
.wm-contactinfo__h { display: flex; align-items: center; gap: .4rem; font-weight: 800; margin-bottom: .5rem; }
.wm-contactinfo__h svg { width: 1.2em; height: 1.2em; color: var(--wm-coral); }
@media (max-width: 900px) { .wm-contactinfo__grid { grid-template-columns: 1fr; } }
body.site.com_contact .contact-form { background: var(--wm-paper); padding: 1.5rem; border-radius: 20px; border: 1px solid var(--wm-line); }
body.site.com_contact .contact-form .btn-primary { border: 0; border-radius: 999px; padding: .75rem 1.6rem; font-weight: 700; background: var(--wm-grad); }
.wm-note-box { padding: .8rem 1rem; border-left: 4px solid var(--wm-violet); background: var(--wm-paper); border-radius: 0 12px 12px 0; font-size: .95rem; }

/* ---------- Fußbereich ---------- */
.wm-footer { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr .8fr; gap: 1.8rem; padding: 1.8rem 0 1rem; }
@media (max-width: 1100px) { .wm-footer { grid-template-columns: repeat(3, 1fr); } }
.wm-footer__brand { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; font-weight: 800; color: #fff; }
.wm-footer__brand img { width: 40px; height: 40px; }
.wm-footer__h { font-weight: 800; color: #fff; margin: 0 0 .5rem; }
.wm-footer ul { list-style: none; padding: 0; margin: 0; }
.wm-footer li { margin-bottom: .3rem; }
body.site .wm-footer a { color: var(--wm-cyan); text-decoration: none; }
body.site .wm-footer a:hover { text-decoration: underline; }
@media (max-width: 900px) { .wm-footer { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .wm-footer { grid-template-columns: 1fr; gap: 1.2rem; } }

/* ---------- Seitenwechsel mit Überblendung (View Transitions, Chrome/Edge/Safari) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: wm-vt-out .28s ease both; }
  ::view-transition-new(root) { animation: wm-vt-in .38s var(--wm-ease) both; }
}
@keyframes wm-vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes wm-vt-in { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Bewegung reduziert: alles sofort im Endzustand ---------- */
@media (prefers-reduced-motion: reduce) {
  .wm-net .wm-flow, .wm-net .wm-pulse { display: none; }
  body.site .wm-btn--glow { animation: none; }
}

@media print {
  .wm-hero__net, .wm-ticker, .container-topbar { display: none; }
  .wm-js .wm-io, .wm-js .wm-fam-wrap * { opacity: 1 !important; transform: none !important; }
}

/* ---------- v1.0.4: Kopf mittig – Logo + Wortmarke, Menue darunter (Peter, 03.12.2026) ---------- */
@media (min-width: 992px) {
  body.site .container-header > .grid-child:has(> .navbar-brand) { justify-content: center; }
  body.site .container-header .navbar-brand { margin-inline: auto; padding-block: 1.2rem .3rem; }
  body.site .container-header .brand-logo { gap: 1rem; }
  body.site .container-header .brand-logo img[src$=".svg"] { height: 62px; }
  body.site .container-header .brand-logo .brand-text b { font-size: 1.9rem; }
  body.site .container-header .brand-logo .brand-text small { font-size: .8rem; }
  body.site .container-header .container-nav { justify-content: center; }
  body.site .container-header .container-nav > .mod-menu { justify-content: center; gap: 0 2.2rem; margin-inline: auto; }
  body.site .container-header.is-scrolled .navbar-brand { padding-block: .5rem .1rem; }
  body.site .container-header.is-scrolled .brand-logo img[src$=".svg"] { height: 44px; }
  body.site .container-header.is-scrolled .brand-logo .brand-text b { font-size: 1.45rem; }
}
@media (max-width: 991.98px) {
  body.site .container-header .brand-logo { gap: .65rem; }
  body.site .container-header .brand-logo .brand-text b { font-size: 1.05rem; letter-spacing: .04em; }
  body.site .container-header .brand-logo .brand-text small { margin-top: .25rem; font-size: .66rem; letter-spacing: .12em; }
}
@media (max-width: 389.98px) {
  body.site .container-header .brand-logo { gap: .5rem; }
  body.site .container-header .brand-logo img[src$=".svg"] { height: 36px; }
  body.site .container-header .brand-logo .brand-text b { font-size: .84rem; letter-spacing: .02em; }
  body.site .container-header .brand-logo .brand-text small { font-size: .56rem; letter-spacing: .06em; }
}