/* ==========================================================================
   FeelsWebMan
   0. Schriften  1. Tokens  2. Basis  3. Bausteine  4. Kopf & Fuß
   5. Startseite  6. Unterseiten  7. Formular  8. Bewegung  9. Avatar
   ========================================================================== */

/* 0. Schriften ------------------------------------------------------------- */

/* Selbst gehostet (Google Fonts, SIL Open Font License). Nur latin + latin-ext. */
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-mono-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/dm-mono-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-mono-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/dm-mono-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/instrument-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("../fonts/unbounded-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 300 500; font-display: swap; src: url("../fonts/unbounded-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* 1. Tokens ---------------------------------------------------------------- */

:root {
  --bg:      #F5F6F7;
  --white:   #FFFFFF;
  --ink:     #0B0B0C;
  --text:    #4A4D52;
  --muted:   #8A8D93;
  --line:    #E2E3E6;
  --accent:  #FF4D12;   /* Signalorange – der einzige Farbakzent */
  --error:   #C2261B;

  --display: "Unbounded", system-ui, sans-serif;
  --sans:    "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "DM Mono", ui-monospace, Consolas, monospace;

  --gutter:  clamp(16px, 4vw, 48px);
  --section: clamp(72px, 9vw, 128px);
  --radius-lg: 28px;

  /* Comic-System: Tusche-Kontur + harter Schatten ohne Weichzeichnung */
  --stroke:  2.5px;
  --pop-sm:  3px 3px 0 var(--ink);
  --pop:     5px 5px 0 var(--ink);
  --pop-lg:  7px 7px 0 var(--ink);
  --ease:    cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

/* 2. Basis ----------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--ink); font-weight: 400; text-wrap: balance; }
h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -.04em;
  max-width: 18ch;
}

.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 12px; }

/* 3. Bausteine ------------------------------------------------------------- */

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: .75rem; letter-spacing: .02em; color: var(--muted); }

.section { padding: var(--section) 0; }
.section--flush { padding-top: 0; }

/* Weiße, gerundete Fläche, die sich vom grauen Grund abhebt */
.panel { background: var(--white); border-radius: var(--radius-lg); margin: 0 clamp(8px, 1.5vw, 20px); }

.sec-head { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; margin-bottom: 48px; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; gap: 14px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(255 77 18 / .15); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: var(--stroke) solid var(--ink);
  background: var(--white); color: var(--ink);
  font-weight: 600; font-size: .9375rem;
  box-shadow: var(--pop-sm);
  cursor: pointer;
  transition: background .2s, color .2s, transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
/* Dunkle Buttons bekommen einen orangen Schatten, damit er auf Schwarz sichtbar bleibt */
.btn--primary { background: var(--ink); color: var(--white); box-shadow: 3px 3px 0 var(--accent); }
.btn--primary:hover { background: var(--accent); box-shadow: 4px 4px 0 var(--ink); }
/* Orange Button im dunklen Abschlussblock: weiße Kontur statt schwarzer */
.btn--accent { background: var(--accent); border-color: var(--white); color: var(--white); box-shadow: 3px 3px 0 var(--white); }
.btn--accent:hover { background: var(--white); color: var(--ink); box-shadow: 4px 4px 0 var(--accent); }
.btn--accent:active { box-shadow: 1px 1px 0 var(--white); }

/* Runder Pfeil-Knopf in Karten und Listen */
.arrow-btn {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 40px; height: 40px;
  border: 2px solid var(--ink); border-radius: 50%;
  background: var(--white); color: var(--ink);
  font-size: 1rem; line-height: 1;
  transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s var(--ease);
}

.link { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.link:hover { text-decoration-color: var(--accent); }


.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hide-sm { display: inline; }
.show-sm { display: none; }
@media (max-width: 720px) { .hide-sm { display: none; } .show-sm { display: inline; } }

/* 4. Kopf & Fuß ------------------------------------------------------------ */

.top {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 246, 247, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 227, 230, 0.7);
  transition: background .2s, border-color .2s;
}

.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 500; font-size: 1rem; letter-spacing: -.02em; color: var(--ink); }
.logo { width: 22px; height: 22px; flex: 0 0 auto; }

.nav { display: flex; align-items: center; gap: 24px; font-size: .9375rem; font-weight: 500; }
.nav__link { color: var(--text); transition: color .2s; }
.nav__link:hover { color: var(--ink); }

/* Dropdown Navigation */
.nav__dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav__link--has-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 10px;
}
.nav__chevron {
  transition: transform .2s var(--ease);
  opacity: .7;
}
.nav__dropdown:hover .nav__chevron,
.nav__dropdown:focus-within .nav__chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav__menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  padding: 8px;
  background: var(--white);
  border: var(--stroke) solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--pop);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 100;
}
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__menu-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background .15s var(--ease);
}
.nav__menu-item:hover {
  background: var(--bg);
}
.nav__menu-title {
  color: var(--ink);
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.2;
}
.nav__menu-item:hover .nav__menu-title {
  color: var(--accent);
}
.nav__menu-summary {
  color: var(--text);
  font-size: .8rem;
  line-height: 1.35;
  font-weight: 400;
}
.nav__menu-item--all {
  background: var(--bg);
}
.nav__menu-item--all .nav__menu-title {
  color: var(--ink);
  font-size: .875rem;
}
.nav__menu-item--all .nav__menu-summary {
  color: var(--muted);
  font-size: .75rem;
}
.nav__menu-item--all:hover {
  background: var(--line);
}
.nav__menu-divider {
  height: 1px;
  background: var(--line);
  margin: 6px 0;
}

.nav__cta {
  padding: 7px 16px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--ink); color: var(--white);
  box-shadow: 2px 2px 0 var(--accent);
  transition: background .2s, transform .15s var(--ease), box-shadow .15s var(--ease);
}
.nav__cta:hover { background: var(--accent); transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }

.lang { display: inline-flex; padding: 2px; border-radius: 999px; background: var(--white); border: 2px solid var(--ink); font-family: var(--mono); font-size: .75rem; }
.lang a, .lang span { padding: 4px 10px; border-radius: 999px; line-height: 1.4; }
.lang span { background: var(--ink); color: var(--white); }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .nav { gap: 10px; }
  .nav__link, .nav__dropdown { display: none; }
}
@media (max-width: 420px) {
  .top__inner { gap: 8px; }
  .brand { gap: 9px; font-size: .875rem; }
  .logo { width: 18px; height: 18px; }
  .nav { gap: 6px; font-size: .875rem; }
  .nav__cta { padding: 7px 12px; }
  .lang a, .lang span { padding: 4px 8px; }
}
/* sehr schmale Geräte (z. B. 320 px): Kopfzeile noch etwas enger */
@media (max-width: 360px) {
  .brand { gap: 7px; font-size: .8125rem; }
  .nav { gap: 5px; }
  .nav__cta { padding: 6px 10px; font-size: .8125rem; }
  .lang a, .lang span { padding: 3px 6px; }
}

.foot { padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .9375rem; }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot__tagline { margin-top: 16px; max-width: 36ch; color: var(--muted); }
.foot__head { margin-bottom: 14px; }
.foot ul { display: grid; gap: 8px; }
.foot ul a { transition: color .2s; overflow-wrap: anywhere; }
.foot ul a:hover { color: var(--ink); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: clamp(48px, 6vw, 72px); padding-top: 20px; border-top: 1px solid var(--line); }
.foot__links { display: flex; gap: 20px; }
.foot__links a:hover { color: var(--ink); }
@media (max-width: 960px) { .foot__grid { grid-template-columns: repeat(3, 1fr); } .foot__grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .foot__grid { grid-template-columns: 1fr; } }

/* 5. Startseite ------------------------------------------------------------ */

.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(72px, 9vw, 128px); }
.hero__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; }
.hero__title {
  margin-top: 28px;
  font-family: var(--display);
  font-size: clamp(2.1rem, 1.2rem + 3.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.hero__title--sm { font-size: clamp(1.9rem, 1.1rem + 2.8vw, 3.6rem); }
.hero__sub { margin-top: 28px; max-width: 46ch; font-size: 1.125rem; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

/* Leistungs-Showcase als Comic-Laptop
   Dicke Tusche-Konturen + harter Versatzschatten wie Avatar und Sprechblase. */
.stage {
  position: relative;
  width: 100%;
  max-width: 680px;
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.laptop {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Deckel: weißes Gehäuse, Bildschirm darin */
.laptop__lid {
  position: relative;
  z-index: 1;
  width: 86%;
  padding: 22px 14px 16px;
  background: var(--white);
  border: 3px solid var(--ink);
  border-radius: 26px 26px 10px 10px;
  box-shadow: 6px 6px 0 var(--ink);
}
/* Comic-Bewegungsstriche oben rechts */
.laptop__lid::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -34px;
  width: 44px;
  height: 44px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Cg stroke='%230B0B0C' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 30 L16 22'/%3E%3Cpath d='M18 38 L24 26'/%3E%3C/g%3E%3Cpath d='M30 4 L33 13 L42 16 L33 19 L30 28 L27 19 L18 16 L27 13 Z' fill='%23FF4D12' stroke='%230B0B0C' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}
.laptop__cam {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--ink);
}
.laptop__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--white);
}
/* Comic-Glanz auf dem Glas */
.laptop__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(118deg,
    transparent 0 14%,
    rgb(255 255 255 / .38) 14% 19%,
    transparent 19% 22.5%,
    rgb(255 255 255 / .26) 22.5% 24%,
    transparent 24%);
}

/* Unterseite mit Tastatur-Kante, Halbton-Punkte als Comic-Raster */
.laptop__base {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 28px;
  margin-top: -3px;
  background-color: var(--white);
  background-image: radial-gradient(#C9CCD2 1.1px, transparent 1.4px);
  background-size: 7px 7px;
  border: 3px solid var(--ink);
  border-radius: 6px 6px 26px 26px;
  box-shadow: 6px 6px 0 var(--ink);
}
.laptop__notch {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 18%;
  height: 10px;
  transform: translateX(-50%);
  background: var(--bg);
  border: 3px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

/* Bilder auf dem Display */
.stage__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.stage__slide.is-active { opacity: 1; visibility: visible; }
.stage__slide { overflow: hidden; }
.stage__img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Leiste unter dem Laptop: Umschalter, Name, Ergebnis */
.stage__caption {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 22px;
  padding: 10px 18px;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
}
.stage__caption b {
  margin-right: auto;
  color: var(--ink);
  font-weight: 600;
  font-size: .875rem;
  white-space: nowrap;
}
.stage__caption i {
  font-style: normal;
  color: var(--accent);
  font-size: .78rem;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stage__dots { display: flex; align-items: center; gap: 4px; flex-shrink: 0; margin-left: -4px; }
.stage__dots button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.stage__dots button::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--ink);
  transition: background .2s, transform .2s;
}
.stage__dots button:hover::before { background: var(--line); }
.stage__dots button[aria-pressed="true"]::before { background: var(--accent); transform: scale(1.2); }

@media (max-width: 900px) { .stage { justify-self: center; max-width: 560px; } }
@media (max-width: 480px) {
  .stage__caption i { display: none; }
  .laptop__lid { padding: 18px 10px 12px; }
  .laptop__lid::before { right: -18px; top: -26px; width: 36px; height: 36px; }
}

/* Leistungsliste */
.svc { border-top: 1px solid var(--line); }
.svc__row { display: grid; grid-template-columns: 1fr 1.6fr 1fr 40px; gap: 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); }
.svc__name { font-family: var(--display); font-size: clamp(1.25rem, 1rem + .9vw, 1.75rem); letter-spacing: -.035em; line-height: 1.15; transition: color .2s; }
.svc__out { font-family: var(--mono); font-size: .8125rem; color: var(--ink); }
.svc__arrow {
  display: grid; place-items: center; align-self: center;
  width: 40px; height: 40px;
  border: 2px solid var(--ink); border-radius: 50%;
  background: var(--white); color: var(--ink);
  transition: background .2s, color .2s, transform .2s var(--ease), box-shadow .2s var(--ease);
}
.svc__row:hover .svc__name { color: var(--accent); }
.svc__row:hover .svc__arrow { background: var(--accent); color: var(--white); transform: translate(-1px, -1px); box-shadow: var(--pop-sm); }
@media (max-width: 860px) {
  .svc__row { grid-template-columns: 1fr 40px; gap: 8px 16px; }
  .svc__text, .svc__out { grid-column: 1; }
  .svc__out { margin-top: 6px; }
  .svc__arrow { grid-row: 1; grid-column: 2; }
}

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.steps li { position: relative; }
.steps__n {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 64px; height: 64px;
  border: var(--stroke) solid var(--ink); border-radius: 50%;
  background: var(--white); box-shadow: var(--pop-sm);
  font-family: var(--display); font-weight: 500; font-size: 1.6rem; line-height: 1; letter-spacing: -.04em;
  color: var(--ink);
}
.steps li:last-child .steps__n { background: var(--accent); color: var(--white); }
/* gestrichelte Linie von Plakette zu Plakette – nur, wenn alle Schritte in einer Reihe stehen */
@media (min-width: 861px) {
  .steps li:not(:last-child)::after {
    content: ""; position: absolute; top: 31px; left: 80px; right: -16px;
    border-top: var(--stroke) dashed var(--ink); opacity: .35;
  }
}
.steps h3 { margin: 20px 0 8px; font-size: 1.125rem; font-weight: 600; }
@media (max-width: 860px) { .steps, .steps--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps, .steps--3 { grid-template-columns: 1fr; } }

/* Eigenprojekte */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 22px;
  background: var(--white);
  border: var(--stroke) solid var(--ink);
  box-shadow: var(--pop);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.project-card:hover { transform: translate(-2px, -2px); box-shadow: var(--pop-lg); }
.project-card:hover .arrow-btn { background: var(--accent); color: var(--white); }
.project-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}
.project-card__tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 2px solid var(--ink);
  font-size: .75rem;
  color: var(--ink);
}
.project-card__title {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem);
  letter-spacing: -.03em;
  margin-bottom: 12px;
  color: var(--ink);
}
.project-card__desc {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-card { padding: 24px; }
}

/* Abschluss */
.cta { margin: 0 clamp(14px, 2vw, 28px) clamp(14px, 2vw, 28px) clamp(8px, 1.5vw, 20px); padding: var(--section) 0; border-radius: var(--radius-lg); border: var(--stroke) solid var(--ink); background: var(--ink); color: #A3A5AA; box-shadow: 7px 7px 0 var(--accent); }
.cta__grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; }
.cta__label { color: #6F7277; }
.cta h2 { margin-top: 20px; color: var(--white); font-size: clamp(2.2rem, 1.2rem + 4vw, 5rem); max-width: 14ch; }
.cta__text { margin-top: 24px; max-width: 44ch; }
.cta__mail { display: block; margin-top: 20px; color: var(--white); font-family: var(--mono); font-size: .9375rem; overflow-wrap: anywhere; }
.cta__mail:hover { color: var(--accent); }
.cta :focus-visible { outline-color: var(--white); }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }

/* 6. Unterseiten ----------------------------------------------------------- */

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

.hero--service .stage { max-width: 620px; }

.groups { display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 48px; }
.group__title { margin-bottom: 20px; font-family: var(--display); font-size: 1.25rem; letter-spacing: -.03em; }
.group--out { padding: 24px; border-radius: 18px; background: #FFE9DF; border: var(--stroke) solid var(--ink); box-shadow: var(--pop); align-self: start; transform: rotate(-1.5deg); }
.group__out { margin-top: 10px; color: var(--ink); font-family: var(--display); font-size: 1.25rem; line-height: 1.25; letter-spacing: -.03em; }
@media (max-width: 960px) { .groups { grid-template-columns: 1fr 1fr; } .group--out { grid-column: 1 / -1; } }
@media (max-width: 640px) { .groups { grid-template-columns: 1fr; } }


/* Leistungsseite: Kurz erklärt */
.intro__text { margin-top: 24px; max-width: 68ch; font-size: 1.125rem; line-height: 1.7; }

/* Leistungsseite: eigene Produkte unter dem Leistungsumfang */
.built { margin: 56px 0 0; padding-top: 40px; border-top: 1px solid var(--line); }
.built__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
/* Angepinnter Notizzettel (SEO-&-GEO-Seite): Klebezettel mit Comic-Kontur und Pinnnadel */
.pin-note {
  position: relative;
  max-width: 360px;
  margin-top: 44px;
  padding: 26px 24px 22px;
  background: #FFF3B0;
  border: var(--stroke) solid var(--ink);
  border-radius: 4px 4px 18px 4px;
  box-shadow: var(--pop);
  transform: rotate(-2.5deg);
}
/* Nadelkopf mit Glanzpunkt, darunter ein kurzer Nadelschatten */
.pin-note__pin {
  position: absolute;
  top: -15px;
  left: 50%;
  width: 26px;
  height: 26px;
  margin-left: -13px;
  border: var(--stroke) solid var(--ink);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%, #FFB08F 0 18%, var(--accent) 22%);
  box-shadow: 2px 3px 0 var(--ink);
}
.pin-note__pin::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 50%;
  width: 3px;
  height: 9px;
  margin-left: -1px;
  background: var(--ink);
  border-radius: 0 0 2px 2px;
  transform: rotate(8deg);
}
.pin-note__label { color: var(--ink); opacity: .7; }
.pin-note__score {
  margin-top: 6px;
  font-family: var(--display);
  font-size: clamp(1.6rem, .9rem + 3.2vw, 2.6rem);
  white-space: nowrap;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--ink);
}
.pin-note__text { margin-top: 10px; font-size: .9375rem; line-height: 1.5; color: var(--ink); }

.built__note { max-width: 62ch; margin-bottom: 24px; color: var(--ink); font-size: 1.0625rem; }
.updated { margin-top: 6px; }
@media (max-width: 640px) { .built__grid { grid-template-columns: 1fr; } }

/* Weitere Leistungen: Karten statt lose Badges */
.svc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc-card {
  display: grid; grid-template-rows: auto 1fr auto; gap: 12px; height: 100%;
  padding: 28px;
  border: var(--stroke) solid var(--ink); border-radius: 22px;
  background: var(--white); box-shadow: var(--pop);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.svc-card:hover { transform: translate(-2px, -2px); box-shadow: var(--pop-lg); }
.svc-card__name { font-family: var(--display); font-size: 1.375rem; letter-spacing: -.03em; line-height: 1.15; transition: color .2s; }
.svc-card__text { font-size: .9375rem; }
.svc-card .arrow-btn { justify-self: end; }
.svc-card:hover .svc-card__name { color: var(--accent); }
.svc-card:hover .arrow-btn { background: var(--accent); color: var(--white); }
@media (max-width: 860px) { .svc-cards { grid-template-columns: 1fr; } }

/* Leistungsseite: Passt das zu dir? */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit__col { padding: clamp(24px, 3vw, 36px); border-radius: 22px; background: var(--white); border: var(--stroke) solid var(--ink); box-shadow: var(--pop); }
.fit__col--no { background: transparent; border-style: dashed; box-shadow: none; }
.fit__head { margin-bottom: 20px; font-family: var(--display); font-size: 1.25rem; letter-spacing: -.03em; }
.ticks--no li::before { background: transparent; border: 1.5px solid var(--muted); width: 7px; height: 7px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* Leistungsseite: Häufige Fragen */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; transition: color .2s; }
.faq summary::after {
  content: "+";
  display: grid; place-items: center; flex: 0 0 auto;
  width: 34px; height: 34px;
  border: 2px solid var(--ink); border-radius: 50%;
  background: var(--white); color: var(--ink);
  font-family: var(--mono); font-size: 1.125rem; line-height: 1;
  transition: transform .25s var(--ease), background .2s, color .2s, box-shadow .2s;
}
.faq summary:hover h3 { color: var(--accent); }
.faq summary:hover::after { box-shadow: var(--pop-sm); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--accent); color: var(--white); }
.faq details p { max-width: 68ch; padding-bottom: 24px; }

.hero--center { text-align: center; padding-block: clamp(80px, 12vw, 160px); }
.hero--center .eyebrow { justify-content: center; }
.hero--center .hero__title, .hero--center .hero__sub { margin-inline: auto; }
.hero--center .actions { justify-content: center; }

.legal > * { max-width: 760px; }
.legal h2 { margin-top: 40px; font-size: 1.25rem; letter-spacing: -.03em; }
.legal p { margin-top: 12px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__note { margin-top: 20px !important; padding: 14px 18px; border-radius: 14px; background: var(--white); border: 2px solid var(--ink); box-shadow: var(--pop-sm); font-size: .9375rem; }

/* 7. Formular -------------------------------------------------------------- */

.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.facts { display: grid; gap: 20px; margin-top: 40px; }
.facts dt { margin-bottom: 4px; }
.facts dd { color: var(--ink); }
.facts a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.facts a:hover { text-decoration-color: var(--accent); }

.card { padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-lg); background: var(--white); border: var(--stroke) solid var(--ink); box-shadow: var(--pop-lg); }

.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; color: var(--ink); font-size: .9375rem; font-weight: 500; }
.field__optional { margin-left: 6px; color: var(--muted); font-weight: 400; font-size: .8125rem; }
.field input, .field select, .field textarea {
  display: block; width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--ink); border-radius: 14px;
  background: var(--bg);
  font-size: 1rem; line-height: 1.5;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 180px; resize: vertical; }
.field select {
  appearance: none; padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 17px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: var(--white); border-color: var(--ink); box-shadow: 3px 3px 0 var(--accent); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { margin-top: 6px; color: var(--error); font-size: .875rem; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form__note { flex: 1 1 220px; color: var(--muted); font-size: .875rem; line-height: 1.5; }
.form__note a { text-decoration: underline; text-underline-offset: 3px; }

.notice { margin-bottom: 24px; padding: 18px 22px; border-radius: 16px; border: 2px solid var(--ink); }
.notice h2 { font-size: 1.5rem; margin-bottom: 10px; }
.notice .link { display: inline-block; margin-top: 16px; }
.notice--ok { background: rgb(255 77 18 / .07); }
.notice--error { background: rgb(194 38 27 / .07); color: var(--error); border-color: var(--error); }

/* 8. Bewegung -------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 9. Avatar mit Sprechblase ------------------------------------------------ */

.comic-avatar-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.comic-avatar-badge__frame {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.comic-avatar-badge__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.comic-avatar-badge__online {
  position: absolute;
  bottom: -2px;
  right: -4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: .75rem;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  box-shadow: 1px 1px 0 var(--ink);
}
.comic-bubble {
  position: relative;
  background: var(--white);
  border: 2.5px solid var(--ink);
  border-radius: 16px;
  padding: 8px 16px;
  box-shadow: 4px 4px 0 var(--ink);
}
.comic-bubble::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 7px 9px 7px 0;
  border-style: solid;
  border-color: transparent var(--ink) transparent transparent;
}
.comic-bubble::after {
  content: "";
  position: absolute;
  left: -5px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px 6px 5px 0;
  border-style: solid;
  border-color: transparent var(--white) transparent transparent;
}
.comic-bubble__talk {
  font-size: .9rem;
  color: var(--ink);
  margin-top: 2px;
}
