/* Tuneflix Webspace — Dark (Farben werden in layout-header überschrieben) */
:root {
  --bg: #0a0a0c;
  --fg: #f4f4f5;
  --muted: #a1a1aa;
  --line: #2e2e38;
  --card: #141418;
  --accent: #818cf8;
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "OutfitLocal";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/outfit/outfit-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: "OutfitLocal";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/outfit/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "OutfitLocal", "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 75%, #ffffff 25%);
  outline-offset: 2px;
  border-radius: 0.35rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 88%, var(--accent) 12%);
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(14px) saturate(1.15);
}

.site-header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
  min-height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.site-logo img {
  height: 2.25rem;
  width: auto;
  max-width: min(200px, 42vw);
  display: block;
}

.site-header__tail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: nowrap;
  position: relative;
  z-index: 2;
}

.site-nav-toggle {
  display: none;
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  /* Feste Farben: ältere Mobile-Browser ignorieren ggf. color-mix → sonst weißer System-Button */
  background: #1a1a1f;
  color: var(--fg);
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  flex-shrink: 0;
  position: relative;
  z-index: 3;
}

.site-nav-toggle:hover,
.site-nav-toggle:active {
  border-color: #3f3f46;
  color: var(--fg);
  background: #222228;
}

.site-nav-toggle__icon {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.site-nav-toggle__text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-nav-toggle {
    display: none !important;
  }

  .site-nav {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    min-width: 0;
  }

  .site-nav a {
    font-size: 0.875rem;
    color: var(--muted);
    white-space: nowrap;
  }

  .site-nav a:hover {
    color: var(--fg);
    text-decoration: none;
  }
}

@media (max-width: 767px) {
  body.site-nav-open {
    overflow: hidden;
  }

  /* Logo Zeile 1, Menü+Actions volle Breite Zeile 2 — verhindert abgeschnittene Buttons */
  .site-header__inner {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.45rem;
    column-gap: 0.75rem;
    min-height: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .site-logo {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
  }

  .site-logo img {
    max-width: min(200px, 58vw);
  }

  .site-header__tail {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .site-nav-toggle {
    display: inline-flex;
  }

  .site-nav-toggle__text {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem 1rem 1rem;
    margin: 0;
    background: rgba(10, 10, 12, 0.98);
    backdrop-filter: blur(16px) saturate(1.1);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
    z-index: 55;
    max-height: calc(100vh - 5.5rem);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .site-nav a {
    padding: 0.9rem 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--fg);
    border-bottom: 1px solid color-mix(in srgb, var(--line) 85%, transparent);
    text-decoration: none;
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .site-header--nav-open .site-nav {
    display: flex;
  }

  .site-header--nav-open .site-nav-toggle {
    border-color: rgba(129, 140, 248, 0.55);
    background: rgba(129, 140, 248, 0.16);
  }

  .site-header__tail .site-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 0 1 auto;
    min-width: 0;
    gap: 0.4rem;
    row-gap: 0.35rem;
  }

  .site-header__tail .site-actions .btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.8125rem;
    min-height: 2.75rem;
    box-sizing: border-box;
    white-space: nowrap;
  }

  .site-actions .tf-live-toggle {
    min-height: 2.75rem;
    padding-inline: 0.55rem;
  }
}

@media (max-width: 420px) {
  .site-header__inner {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    row-gap: 0.35rem;
  }

  .site-logo img {
    max-width: min(180px, 52vw);
    height: 2rem;
  }

  .site-header__tail {
    align-items: stretch;
    gap: 0.4rem;
  }

  .site-header__tail .site-actions {
    gap: 0.35rem;
  }

  .site-header__tail .site-actions .btn {
    min-height: 2.5rem;
    padding: 0.45rem 0.5rem;
    font-size: 0.75rem;
  }

  .site-nav-toggle {
    min-height: 2.5rem;
    min-width: 2.5rem;
  }
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tf-live-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  min-height: 2.4rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--card) 88%, #0b0b10 12%);
  color: var(--fg);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.tf-live-toggle:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}

.tf-live-toggle__dot {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
}

.tf-live-toggle.is-on .tf-live-toggle__dot {
  background: #4ade80;
  animation: tf-live-pulse 1.35s ease-in-out infinite;
}

.tf-live-toggle.is-off .tf-live-toggle__dot {
  background: #ef4444;
  animation: none;
}

@keyframes tf-live-pulse {
  0% {
    opacity: 0.36;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 5px rgba(74, 222, 128, 0.14);
  }
  100% {
    opacity: 0.36;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}

.inline-form {
  display: inline;
  margin: 0;
}

.site-main {
  flex: 1;
  width: 100%;
  position: relative;
  z-index: 1;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--card);
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.site-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .site-footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--fg);
}

.site-footer__to-top {
  appearance: none;
  border: 1px solid rgba(129, 140, 248, 0.35);
  background: rgba(129, 140, 248, 0.1);
  color: #dbe4ff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font: inherit;
  font-size: 0.8125rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
    opacity 0.2s ease;
}

.site-footer__to-top:hover {
  color: #eef2ff;
  border-color: rgba(129, 140, 248, 0.55);
  background: rgba(129, 140, 248, 0.18);
  transform: translateY(-1px);
}

.site-footer__to-top:focus-visible {
  outline: 2px solid rgba(129, 140, 248, 0.7);
  outline-offset: 2px;
}

.site-footer__note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  max-width: 40rem;
}

.cms-page__article h1 {
  margin-top: 0;
}

.cms-page__body {
  line-height: 1.65;
}

.cms-page__body :where(p, ul, ol) {
  margin: 0 0 1rem;
}

.cms-page__body :where(img, video, canvas, svg, iframe) {
  max-width: 100%;
  height: auto;
}

.cms-page__body :where(table) {
  width: 100%;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cms-page__body :where(pre, code) {
  max-width: 100%;
  overflow-x: auto;
}

.cms-page__body :where(a, p, li, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  padding: 1rem;
  pointer-events: none;
}

.cookie-banner__panel {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}

.cookie-banner__text {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.cookie-banner__more {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
}

.cookie-banner__more a {
  color: var(--accent);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .cookie-banner {
    padding: 0.75rem;
  }

  .cookie-banner__panel {
    max-height: calc(100vh - 1.5rem);
    overflow-y: auto;
    padding: 1rem 1rem 0.9rem;
  }

  .cookie-banner__actions {
    position: sticky;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0, var(--card) 22%);
    padding-top: 0.6rem;
  }

  .cookie-banner__actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 2.75rem;
  }
}

.cf-turnstile {
  max-width: 100%;
  overflow: hidden;
}

.cf-turnstile > div,
.cf-turnstile iframe {
  max-width: 100% !important;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

/* —— Studio (Creator): Projektverwaltung —— */
.studio-page {
  padding-bottom: 3.5rem;
}

.studio-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  width: fit-content;
  max-width: 100%;
}

.studio-subnav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.studio-subnav__link:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.05);
}

.studio-subnav__link.is-active {
  color: #eef2ff;
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.35), rgba(34, 211, 238, 0.12));
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 0 24px rgba(129, 140, 248, 0.12);
}

.studio-online-pill {
  display: inline-flex;
  margin-left: 0.35rem;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.03em;
  border: 1px solid rgba(52, 211, 153, 0.42);
  background: rgba(52, 211, 153, 0.13);
  color: #86efac;
}

/* Studio — Kunden-Chat */
.studio-chat-hero {
  margin-bottom: 1.75rem;
  padding: 1.5rem 1.35rem 1.65rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(34, 211, 238, 0.28);
  background: linear-gradient(150deg, rgba(20, 28, 32, 0.95), rgba(10, 12, 18, 0.94));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.studio-chat-hero__title {
  margin: 0.35rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(110deg, #fafafa, #a5f3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.studio-chat-hero__lead {
  margin: 0.65rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.studio-chat-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 960px) {
  .studio-chat-layout {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
  }
}

.studio-chat-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.studio-chat-card {
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--card);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.studio-chat-card--new {
  border-style: dashed;
  border-color: rgba(129, 140, 248, 0.35);
  background: linear-gradient(165deg, rgba(129, 140, 248, 0.06), rgba(10, 10, 12, 0.5));
}

.studio-chat-card--thread {
  min-height: 22rem;
  display: flex;
  flex-direction: column;
}

.studio-chat-card__title {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a5b4fc;
}

.studio-chat-thread-filter {
  margin-bottom: 0.7rem;
}

.studio-chat-thread-filter input[type="text"] {
  width: 100%;
  padding: 0.58rem 0.7rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--fg);
  font: inherit;
  font-size: 0.84rem;
}

.studio-chat-thread-filter input[type="text"]:focus {
  outline: none;
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.16);
}

.studio-chat-thread-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.studio-chat-thread-tab {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.55rem;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.73rem;
  line-height: 1.2;
}

.studio-chat-thread-tab span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.55rem;
  height: 1.15rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.14);
  color: #c7d2fe;
  font-size: 0.68rem;
  font-weight: 700;
}

.studio-chat-thread-tab:hover {
  border-color: rgba(129, 140, 248, 0.32);
  color: #d4d4d8;
}

.studio-chat-thread-tab.is-active {
  border-color: rgba(129, 140, 248, 0.48);
  background: rgba(129, 140, 248, 0.14);
  color: #e4e4e7;
}

.studio-chat-threadlist__summary {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.74rem;
}

.studio-chat-threadlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: min(52vh, 28rem);
  overflow-y: auto;
}

.studio-chat-threadlist__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.studio-chat-threadlist__line {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
}

.studio-chat-threadlist__item:hover {
  border-color: rgba(129, 140, 248, 0.25);
  background: rgba(129, 140, 248, 0.08);
}

.studio-chat-threadlist__item.is-active {
  border-color: rgba(129, 140, 248, 0.45);
  background: rgba(129, 140, 248, 0.12);
}

.studio-chat-threadlist__id {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.studio-chat-threadlist__email {
  font-size: 0.875rem;
  font-weight: 600;
  word-break: break-all;
}

.studio-chat-threadlist__badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(161, 161, 170, 0.32);
  padding: 0.08rem 0.42rem;
  font-size: 0.63rem;
  color: #d4d4d8;
  white-space: nowrap;
}

.studio-chat-threadlist__badge--waiting {
  border-color: rgba(251, 191, 36, 0.48);
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.12);
}

.studio-chat-online-dot {
  display: inline-block;
  width: 0.52rem;
  height: 0.52rem;
  margin-left: 0.35rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.35), 0 0 10px rgba(52, 211, 153, 0.45);
  vertical-align: middle;
}

.studio-chat-threadlist__meta {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.3;
}

.studio-chat-threadlist__meta--preview {
  color: #d4d4d8;
  opacity: 0.88;
}

.studio-chat-threadlist__foot {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 0.1rem;
}

.studio-chat-threadlist__time {
  font-size: 0.68rem;
  color: var(--muted);
  opacity: 0.85;
}

.studio-chat-main {
  min-width: 0;
}

.studio-chat-empty {
  border-radius: 1rem;
  border: 1px dashed var(--line);
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
}

.studio-chat-empty__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.studio-chat-thread-head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.studio-chat-thread-head__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.studio-chat-log {
  flex: 1;
  min-height: 12rem;
  max-height: min(48vh, 420px);
  overflow-y: auto;
  padding: 0.25rem 0.15rem 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.studio-chat-bubble {
  max-width: 92%;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.studio-chat-bubble--self {
  align-self: flex-end;
  border-color: rgba(129, 140, 248, 0.35);
  background: rgba(129, 140, 248, 0.14);
}

.studio-chat-bubble__meta {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.studio-chat-bubble__body {
  font-size: 0.9rem;
  line-height: 1.45;
  word-break: break-word;
}

.studio-chat-reply {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.studio-chat-reply textarea {
  width: 100%;
  resize: vertical;
  min-height: 5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35);
  color: var(--fg);
  font: inherit;
  font-size: 0.9rem;
}

.studio-chat-form .form-group {
  margin-bottom: 0.75rem;
}

.studio-hero {
  position: relative;
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.75rem 1.5rem 2rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(129, 140, 248, 0.28);
  background: linear-gradient(155deg, rgba(20, 20, 28, 0.95) 0%, rgba(10, 10, 14, 0.92) 100%);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

@media (min-width: 768px) {
  .studio-hero {
    grid-template-columns: 1fr minmax(140px, 200px);
    align-items: center;
  }
}

.studio-hero__eyebrow {
  margin: 0 0 0.5rem;
  background: linear-gradient(90deg, #a5b4fc, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.studio-hero__title {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(115deg, #fafafa 0%, #c7d2fe 45%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.studio-hero__lead {
  margin: 0.75rem 0 0;
  max-width: 44rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.studio-hero__lead code {
  font-size: 0.8em;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(129, 140, 248, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.25);
}

.studio-hero__art {
  position: relative;
  min-height: 100px;
}

.studio-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.75;
  animation: studioOrb 14s ease-in-out infinite alternate;
}

.studio-hero__orb--a {
  width: 120px;
  height: 120px;
  right: 10%;
  top: 0;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.55), transparent 70%);
}

.studio-hero__orb--b {
  width: 90px;
  height: 90px;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.45), transparent 70%);
  animation-delay: -4s;
}

@keyframes studioOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-8%, 12%) scale(1.08);
  }
}

.studio-flash {
  margin-bottom: 1.25rem;
}

.studio-section {
  margin-bottom: 2.5rem;
}

.studio-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.studio-section__title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.studio-badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.18);
  border: 1px solid rgba(129, 140, 248, 0.35);
  color: #c7d2fe;
}

.studio-badge__sub {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  opacity: 0.85;
}

.studio-filter {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(129, 140, 248, 0.2);
  background: rgba(0, 0, 0, 0.2);
}

@media (min-width: 720px) {
  .studio-filter {
    grid-template-columns: 1fr minmax(12rem, 16rem) auto;
    align-items: end;
  }
}

.studio-filter__row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.studio-filter__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.studio-filter__search,
.studio-filter__select {
  width: 100%;
  min-width: 0;
}

.studio-filter__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

@media (min-width: 720px) {
  .studio-filter__actions {
    padding-bottom: 0.1rem;
  }
}

.studio-filter-empty {
  margin: 0;
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
  border-radius: 12px;
  border: 1px dashed rgba(161, 161, 170, 0.35);
  background: rgba(255, 255, 255, 0.03);
}

.studio-filter-empty a {
  color: #a5b4fc;
  margin-left: 0.35rem;
}

.studio-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 960px) {
  .studio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.studio-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: linear-gradient(168deg, rgba(20, 20, 24, 0.98) 0%, rgba(12, 12, 16, 0.96) 100%);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.42);
}

.studio-card__media {
  position: relative;
  background: #0a0a0c;
}

.studio-card__thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.studio-card__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  font-size: 0.875rem;
  color: var(--muted);
  background: linear-gradient(145deg, #1a1a22, #0f0f12);
}

.studio-card__badge {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 6px;
}

.studio-card__badge--pub {
  background: rgba(52, 211, 153, 0.22);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
}

.studio-card__badge--priv {
  background: rgba(161, 161, 170, 0.15);
  border: 1px solid rgba(161, 161, 170, 0.35);
  color: var(--muted);
}

.studio-card__badge--done {
  left: 0.65rem;
  right: auto;
  top: 2.45rem;
  background: rgba(16, 185, 129, 0.18);
  color: #86efac;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.studio-card__badge--homefeat {
  top: auto;
  bottom: 0.65rem;
  left: 0.65rem;
  right: auto;
  background: rgba(129, 140, 248, 0.22);
  color: #c7d2fe;
  border: 1px solid rgba(129, 140, 248, 0.45);
}

.studio-card__main {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.studio-card__form .form-group {
  margin-bottom: 0.85rem;
}

.studio-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.studio-card__delete {
  flex: 1 1 auto;
}

@media (min-width: 560px) {
  .studio-card__delete {
    flex: 0 0 auto;
  }
}

.studio-card__subheading {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a5b4fc;
}

.studio-muted {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.studio-client-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.studio-client-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.studio-client-list__email {
  font-size: 0.8125rem;
  word-break: break-all;
}

.studio-inline-form {
  display: inline;
  margin: 0;
}

.studio-chip-btn {
  padding: 0.25rem 0.5rem;
  font: inherit;
  font-size: 0.75rem;
  cursor: pointer;
  border-radius: 6px;
  border: 1px solid rgba(251, 113, 133, 0.4);
  background: rgba(251, 113, 133, 0.1);
  color: #fecaca;
}

.studio-chip-btn:hover {
  background: rgba(251, 113, 133, 0.2);
}

.studio-deliver {
  margin-top: 1.25rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: linear-gradient(145deg, rgba(129, 140, 248, 0.07), rgba(10, 10, 12, 0.4));
}

.studio-deliver .studio-muted {
  margin-bottom: 0.75rem;
}

.studio-file-mini {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.studio-file-mini li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 0.8125rem;
}

.studio-lifecycle {
  margin-top: 1.25rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(52, 211, 153, 0.25);
  background: linear-gradient(145deg, rgba(52, 211, 153, 0.06), rgba(10, 10, 12, 0.35));
}

.studio-reviews {
  margin-top: 1.25rem;
  padding: 1rem 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(96, 165, 250, 0.28);
  background: linear-gradient(145deg, rgba(96, 165, 250, 0.08), rgba(10, 10, 12, 0.35));
}

.studio-feedback-project-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.studio-feedback-project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.studio-feedback-project-actions .btn {
  white-space: nowrap;
}

.studio-review-list {
  list-style: none;
  margin: 0.7rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 18rem;
  overflow-y: auto;
}

.studio-review-list__item {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  background: rgba(255, 255, 255, 0.03);
}

.studio-review-thread {
  padding: 0.7rem 0.75rem;
}

.studio-review-thread.is-drop-target {
  border-color: rgba(129, 140, 248, 0.7);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.28);
}

.studio-review-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.55rem;
  align-items: center;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.studio-review-list__time {
  font-weight: 700;
  color: #a5b4fc;
}

.studio-review-list__author {
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(165, 180, 252, 0.45);
  background: rgba(165, 180, 252, 0.14);
  color: #c7d2fe;
}

.studio-review-list__body {
  font-size: 0.82rem;
  line-height: 1.45;
  white-space: normal;
  word-break: break-word;
}

.studio-review-list__actions {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.studio-feedback-thread__messages {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
}

.studio-feedback-thread__message {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.55rem;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
  cursor: grab;
}

.studio-feedback-thread__message.is-dragging {
  opacity: 0.55;
  cursor: grabbing;
}

.studio-feedback-thread__message.is-drop-target {
  border-color: rgba(129, 140, 248, 0.7);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.28);
}

.studio-feedback-thread__message.is-reply {
  margin-left: 1rem;
}

.studio-feedback-thread__message.is-reply::before {
  content: "↳";
  position: absolute;
  left: -0.95rem;
  top: 0.42rem;
  color: #a5b4fc;
  font-size: 0.82rem;
  font-weight: 700;
}

.studio-feedback-thread__message.is-reply::after {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: -0.52rem;
  width: 0.5rem;
  height: 0.9rem;
  border-left: 1px dashed rgba(165, 180, 252, 0.45);
  border-bottom: 1px dashed rgba(165, 180, 252, 0.45);
  border-bottom-left-radius: 7px;
}

.studio-feedback-thread__message.is-client {
  border-color: rgba(129, 140, 248, 0.28);
  background: rgba(129, 140, 248, 0.08);
}

.studio-feedback-thread__message.is-studio {
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.07);
}

.studio-feedback-thread__message-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.studio-feedback-thread__kind {
  padding: 0.08rem 0.36rem;
  border-radius: 999px;
  border: 1px solid rgba(161, 161, 170, 0.35);
  background: rgba(161, 161, 170, 0.1);
  color: #d4d4d8;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.studio-review-reply {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.studio-review-reply textarea {
  width: 100%;
  min-height: 4.5rem;
  resize: vertical;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--fg);
  font: inherit;
  font-size: 0.8125rem;
  padding: 0.45rem 0.55rem;
}

.studio-review-reply .btn {
  align-self: flex-start;
}

.studio-feedback-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 960px) {
  .studio-feedback-grid {
    grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
    align-items: start;
  }
}

.studio-feedback-sidebar {
  position: sticky;
  top: 0.6rem;
}

.studio-feedback-main {
  min-width: 0;
}

.studio-deadline-form {
  margin-top: 0.5rem;
}

.studio-deadline-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

@media (min-width: 640px) {
  .studio-deadline-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.studio-timeline-admin {
  list-style: none;
  margin: 0.5rem 0 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.studio-timeline-admin__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  justify-content: space-between;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 0.8125rem;
}

.studio-timeline-admin__label {
  flex: 1 1 8rem;
  font-weight: 500;
}

.studio-timeline-add {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
  margin-top: 0.5rem;
}

.studio-timeline-add__label {
  flex: 2 1 12rem;
  min-width: 0;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--fg);
  font: inherit;
  font-size: 0.875rem;
}

.studio-timeline-add__date {
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--fg);
  font: inherit;
  font-size: 0.85rem;
}

/* Öffentlicher Zeitstrahl (Kunde) */
.tf-timeline {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  position: relative;
}

.tf-timeline::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(129, 140, 248, 0.2));
  border-radius: 2px;
}

.tf-timeline li {
  position: relative;
  padding: 0.35rem 0 0.85rem 1.75rem;
}

.tf-timeline__dot {
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.25);
}

.tf-timeline__label {
  font-weight: 600;
  font-size: 0.9375rem;
}

.tf-timeline__date {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.hub-locked-note {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(251, 191, 36, 0.08);
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.studio-upload-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.studio-upload-form input[type="text"] {
  flex: 1 1 10rem;
  min-width: 0;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--fg);
  font: inherit;
  font-size: 0.875rem;
}

.studio-upload-form input[type="file"] {
  flex: 1 1 12rem;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
  padding: 0.4rem 0.5rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45) !important;
  color: var(--muted);
  color-scheme: dark;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}

.studio-upload-form input[type="file"]::file-selector-button {
  margin-right: 0.65rem;
  padding: 0.42rem 0.82rem;
  border-radius: 8px;
  border: 1px solid rgba(129, 140, 248, 0.4);
  background: linear-gradient(160deg, rgba(129, 140, 248, 0.22), rgba(20, 20, 28, 0.95));
  color: #e8e8ed;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.studio-upload-form input[type="file"]:hover::file-selector-button {
  border-color: rgba(129, 140, 248, 0.6);
  background: rgba(129, 140, 248, 0.28);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.12);
}

.studio-upload-form input[type="file"]::-webkit-file-upload-button {
  margin-right: 0.65rem;
  padding: 0.42rem 0.82rem;
  border-radius: 8px;
  border: 1px solid rgba(129, 140, 248, 0.4);
  background: linear-gradient(160deg, rgba(129, 140, 248, 0.22), rgba(20, 20, 28, 0.95));
  color: #e8e8ed;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.studio-upload-form input[type="file"]:hover::-webkit-file-upload-button {
  border-color: rgba(129, 140, 248, 0.6);
  background: rgba(129, 140, 248, 0.28);
}

.studio-deadline-form input[type="datetime-local"] {
  width: 100%;
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.35) !important;
  color: var(--fg) !important;
  color-scheme: dark;
  font: inherit;
  font-size: 0.85rem;
}

.studio-deadline-form input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  filter: invert(0.9) saturate(0.75);
  opacity: 0.9;
  cursor: pointer;
}

/* Harte Dark-Overrides gegen helle native Innenflächen (Chromium/WebKit) */
.studio-lifecycle input[type="datetime-local"]::-webkit-datetime-edit,
.studio-lifecycle input[type="datetime-local"]::-webkit-datetime-edit-fields-wrapper,
.studio-lifecycle input[type="datetime-local"]::-webkit-datetime-edit-text,
.studio-lifecycle input[type="datetime-local"]::-webkit-datetime-edit-month-field,
.studio-lifecycle input[type="datetime-local"]::-webkit-datetime-edit-day-field,
.studio-lifecycle input[type="datetime-local"]::-webkit-datetime-edit-year-field,
.studio-lifecycle input[type="datetime-local"]::-webkit-datetime-edit-hour-field,
.studio-lifecycle input[type="datetime-local"]::-webkit-datetime-edit-minute-field {
  color: var(--fg) !important;
  background: transparent !important;
}

.studio-lifecycle input[type="datetime-local"]::-webkit-inner-spin-button,
.studio-lifecycle input[type="datetime-local"]::-webkit-clear-button {
  filter: invert(0.88);
}

.studio-deliver .studio-upload-form input[type="file"] {
  background: rgba(0, 0, 0, 0.45) !important;
  color: var(--muted) !important;
}

.studio-assign-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
}

.studio-assign-form__select {
  flex: 1 1 12rem;
  min-width: 0;
}

.studio-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
}

.studio-panel--create {
  padding: 1.5rem 1.35rem 1.75rem;
  border-radius: 1.1rem;
  border: 1px dashed rgba(129, 140, 248, 0.35);
  background: rgba(129, 140, 248, 0.06);
}

.studio-create-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .studio-create-grid {
    grid-template-columns: 1fr 1fr;
  }

  .studio-create-grid__full {
    grid-column: 1 / -1;
  }
}

.studio-create-hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
}

@media (prefers-reduced-motion: reduce) {
  .studio-hero__orb {
    animation: none;
  }
}

/* —— Projekte: farbige Karten + eingebettetes Video —— */
.projekte-page {
  position: relative;
}

.projekte-hero {
  margin-bottom: 2rem;
  padding: 0.25rem 0 1rem;
  border-bottom: 1px solid rgba(129, 140, 248, 0.22);
}

.projekte-hero__eyebrow {
  margin: 0 0 0.5rem;
  background: linear-gradient(90deg, #a5b4fc, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.projekte-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(115deg, #fafafa 0%, #c7d2fe 40%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.projekte-hero__lead {
  margin: 0.75rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.projekte-empty {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 1px dashed rgba(129, 140, 248, 0.35);
  background: rgba(129, 140, 248, 0.06);
  color: var(--muted);
}

.projekte-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .projekte-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.projekte-card {
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(129, 140, 248, 0.28);
  background: linear-gradient(165deg, rgba(20, 20, 24, 0.98) 0%, rgba(12, 12, 16, 0.95) 100%);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.projekte-card[id^="projekt-"] {
  scroll-margin-top: 5.5rem;
}

.projekte-card:hover {
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(129, 140, 248, 0.15) inset;
  transform: translateY(-2px);
}

.projekte-card__media {
  position: relative;
  background: #000;
}

.projekte-card__video.video-box {
  border-radius: 0;
  border: none;
}

.projekte-card__placeholder {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a1a22, #0f0f12);
  color: var(--muted);
  font-size: 0.875rem;
}

.projekte-card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.projekte-card__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.projekte-card__meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: ui-monospace, monospace;
}

.projekte-card__btn {
  margin-top: auto;
  align-self: flex-start;
}

html.tf-motion main .projekte-card:nth-child(1) {
  transition-delay: 0.04s;
}
html.tf-motion main .projekte-card:nth-child(2) {
  transition-delay: 0.1s;
}
html.tf-motion main .projekte-card:nth-child(3) {
  transition-delay: 0.16s;
}
html.tf-motion main .projekte-card:nth-child(4) {
  transition-delay: 0.22s;
}

/* —— Konto: Karten mit Akzent (öffentliche Seite) —— */
.konto-page .konto-card {
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: linear-gradient(165deg, rgba(20, 20, 24, 0.95) 0%, rgba(14, 14, 18, 0.92) 100%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.konto-page .konto-card__title {
  background: linear-gradient(90deg, #f4f4f5, #c7d2fe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.konto-page h1 {
  background: linear-gradient(115deg, #fafafa 0%, #a5b4fc 55%, #22d3ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero {
  border-bottom: 1px solid var(--line);
  background: var(--card);
  padding: 4rem 1rem;
}

.hero__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0.75rem 0 0;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 36rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn--dark {
  background: #27272a;
  color: var(--fg);
  border: 1px solid var(--line);
}

.btn--dark:hover {
  background: #3f3f46;
}

.btn--ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
}

.btn--primary {
  background: var(--accent);
  color: #0a0a0c;
}

.btn--primary:hover {
  filter: brightness(1.05);
}

.btn--sm {
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  background: var(--card);
}

.price-card--highlight {
  border-color: rgba(129, 140, 248, 0.55);
  background: linear-gradient(160deg, rgba(129, 140, 248, 0.12), rgba(20, 20, 24, 0.95));
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.25), 0 8px 32px rgba(0, 0, 0, 0.45);
}

.price-card h2 {
  margin: 0;
  font-size: 1.125rem;
}

.price-card .price {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0.75rem 0 0.25rem;
  color: var(--fg);
}

.price-card ul {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* —— Kontakt (Panel wie Preise) —— */
.kontakt-page {
  position: relative;
}

.tf-kontakt-wrap {
  max-width: 42rem;
}

.kontakt-hero {
  margin-bottom: 1.25rem;
  padding: 0.25rem 0 1rem;
  border-bottom: 1px solid rgba(129, 140, 248, 0.22);
}

.kontakt-hero__eyebrow {
  margin: 0 0 0.5rem;
  background: linear-gradient(90deg, #a5b4fc, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.kontakt-hero__title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(115deg, #fafafa 0%, #c7d2fe 40%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.kontakt-hero__lead {
  margin: 0.75rem 0 0;
  max-width: 40rem;
  color: var(--muted);
  line-height: 1.55;
}

.tf-kontakt-panel {
  position: relative;
  margin-top: 0.25rem;
  padding: 2rem 1.5rem 2.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(129, 140, 248, 0.35);
  background:
    linear-gradient(155deg, rgba(129, 140, 248, 0.14), rgba(20, 20, 24, 0.92)),
    var(--card);
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.12),
    0 16px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.tf-kontakt-wrap:not(:has(.kontakt-hero)) .tf-kontakt-panel {
  margin-top: 1.25rem;
}

/* FAQ unter Einleitung — gleiche Spalte wie Formular, ohne zweites .wrap-Padding */
.kontakt-page .kontakt-faq-section.home-faq {
  padding: clamp(1.35rem, 4vw, 2.25rem) 0;
  border-bottom: none;
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.2), transparent 55%);
}

.preise-ablauf-section.home-checklist {
  margin-top: clamp(1.25rem, 4vw, 2.5rem);
}

.tf-kontakt-panel__form {
  margin: 0;
}

.tf-kontakt-panel .alert:first-child {
  margin-top: 0;
}

.tf-kontakt-panel__again {
  margin: 0;
}

/* —— Preisrechner (Preise) —— */
.tf-preise-wrap .tf-price-calc {
  margin-top: 1.25rem;
}

.tf-price-calc {
  --tf-pc-fill: 0%;
  position: relative;
  margin-top: 3rem;
  padding: 2rem 1.5rem 2.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(129, 140, 248, 0.35);
  background:
    linear-gradient(155deg, rgba(129, 140, 248, 0.14), rgba(20, 20, 24, 0.92)),
    var(--card);
  box-shadow:
    0 0 0 1px rgba(129, 140, 248, 0.12),
    0 16px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  max-width: 42rem;
}

.tf-price-calc__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.tf-price-calc__tab {
  flex: 1 1 auto;
  min-width: 7.5rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 10, 12, 0.45);
  color: var(--muted);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.tf-price-calc__tab:hover {
  color: var(--fg);
  border-color: rgba(129, 140, 248, 0.45);
}

.tf-price-calc__tab.is-active {
  color: var(--fg);
  border-color: rgba(129, 140, 248, 0.65);
  background: linear-gradient(160deg, rgba(129, 140, 248, 0.22), rgba(20, 20, 24, 0.9));
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.2);
}

.tf-price-calc__tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tf-price-calc__glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(129, 140, 248, 0.35), transparent 62%);
  pointer-events: none;
  opacity: 0.9;
  animation: tfPcGlow 7s ease-in-out infinite;
}

@keyframes tfPcGlow {
  0%,
  100% {
    opacity: 0.65;
    transform: translateY(0) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(4px) scale(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tf-price-calc__glow {
    animation: none;
    opacity: 0.5;
  }

  .tf-price-calc__amount {
    transition: none;
  }

  .tf-price-calc__range::-webkit-slider-thumb,
  .tf-price-calc__range::-moz-range-thumb {
    transition: none;
  }
}

.tf-price-calc__inner {
  position: relative;
  z-index: 1;
}

.tf-price-calc__kicker {
  margin: 0 0 0.35rem;
}

.tf-price-calc__heading {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tf-price-calc__intro {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 32rem;
}

.tf-price-calc__display {
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(10, 10, 12, 0.55);
  margin-bottom: 1.75rem;
}

.tf-price-calc__price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.tf-price-calc__from {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tf-price-calc__amount {
  font-size: clamp(2.25rem, 6vw, 2.85rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(120deg, #f4f4f5 0%, #c7c7d0 45%, #e4e4e7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.tf-price-calc__amount.is-updating {
  transform: scale(1.03);
}

.tf-price-calc__currency {
  font-size: 1.35rem;
  font-weight: 600;
  color: #d4d4d8;
}

.tf-price-calc__title {
  margin: 0.75rem 0 0.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.tf-price-calc__hint {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.45;
}

.tf-price-calc__total {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  color: #d4d4d8;
}

.tf-price-calc__total strong {
  color: #f4f4f5;
  font-variant-numeric: tabular-nums;
}

.tf-price-calc__control {
  margin-bottom: 1.25rem;
}

.tf-price-calc__defs {
  display: grid;
  gap: 0.9rem;
  margin: 0 0 1.15rem;
}

.tf-price-calc__defs-title {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: #e4e4e7;
}

.tf-price-calc__defs-list {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: #c7c7d0;
}

.tf-price-calc__defs-list--muted {
  color: #a1a1aa;
}

.tf-price-calc__addons {
  margin: 0 0 1.25rem;
}

.tf-price-calc__addons-heading {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.tf-price-calc__addons-intro {
  margin: 0 0 0.8rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.tf-price-calc__addons-grid {
  display: grid;
  gap: 0.6rem;
}

.tf-price-calc__addon-card {
  border: 1px solid var(--line);
  background: rgba(10, 10, 12, 0.45);
  border-radius: 0.85rem;
  padding: 0.7rem 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.tf-price-calc__addon-card:hover {
  border-color: rgba(129, 140, 248, 0.45);
  transform: translateY(-1px);
}

.tf-price-calc__addon-card.is-selected {
  border-color: rgba(129, 140, 248, 0.7);
  background: linear-gradient(145deg, rgba(129, 140, 248, 0.18), rgba(10, 10, 12, 0.6));
}

.tf-price-calc__addon-card.is-premium {
  box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.14);
}

.tf-price-calc__addon-check {
  margin-top: 0.15rem;
}

.tf-price-calc__addon-icon {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(129, 140, 248, 0.16);
  color: #dbe4ff;
  flex: 0 0 1.6rem;
  animation: tfAddonIdle 4.2s ease-in-out infinite;
}

.tf-price-calc__addon-icon svg {
  width: 0.95rem;
  height: 0.95rem;
  fill: currentColor;
}

.tf-price-calc__addon-card:hover .tf-price-calc__addon-icon,
.tf-price-calc__addon-card.is-selected .tf-price-calc__addon-icon {
  animation: tfAddonHover 600ms ease-out;
}

.tf-price-calc__addon-content {
  display: grid;
  gap: 0.2rem;
}

.tf-price-calc__addon-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.2;
}

.tf-price-calc__addon-badge {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(129, 140, 248, 0.45);
  border-radius: 999px;
  padding: 0.12rem 0.4rem;
  color: #c7d2fe;
}

.tf-price-calc__addon-desc {
  color: var(--muted);
  font-size: 0.78rem;
}

.tf-price-calc__addon-price {
  font-size: 0.8rem;
  color: #d4d4d8;
  font-weight: 600;
}

.tf-price-calc__addons-note {
  min-height: 1.1rem;
  margin: 0.55rem 0 0;
  color: #fbbf24;
  font-size: 0.75rem;
}

.tf-price-calc__label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.tf-price-calc__range-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
}

.tf-price-calc__length {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}

.tf-price-calc__ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 0.35rem;
  padding: 0 0.15rem;
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.tf-price-calc__tick {
  flex: 1;
  text-align: center;
  opacity: 0.85;
}

.tf-price-calc__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) var(--tf-pc-fill),
    rgba(46, 46, 56, 0.95) var(--tf-pc-fill),
    rgba(46, 46, 56, 0.95) 100%
  );
  outline: none;
  cursor: pointer;
}

.tf-price-calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #fafafa, #d4d4d8);
  border: 2px solid rgba(129, 140, 248, 0.85);
  box-shadow:
    0 0 0 4px rgba(129, 140, 248, 0.2),
    0 6px 18px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.tf-price-calc__range::-moz-range-thumb {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #fafafa, #d4d4d8);
  border: 2px solid rgba(129, 140, 248, 0.85);
  box-shadow:
    0 0 0 4px rgba(129, 140, 248, 0.2),
    0 6px 18px rgba(0, 0, 0, 0.45);
}

.tf-price-calc__range:hover::-webkit-slider-thumb {
  transform: scale(1.06);
  box-shadow:
    0 0 0 5px rgba(129, 140, 248, 0.28),
    0 8px 22px rgba(0, 0, 0, 0.5);
}

.tf-price-calc__range:hover::-moz-range-thumb {
  transform: scale(1.06);
}

.tf-price-calc__disclaimer {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
}

.tf-price-calc__cta {
  width: 100%;
  justify-content: center;
}

@keyframes tfAddonIdle {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1px);
  }
}

@keyframes tfAddonHover {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

@media (min-width: 640px) {
  .tf-price-calc {
    padding: 2.25rem 2rem 2.5rem;
  }

  .tf-price-calc__defs {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

/* Reusable themed checkbox block for forms */
.tf-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(20, 20, 24, 0.94), rgba(129, 140, 248, 0.08));
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tf-check__input {
  appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.12rem 0 0;
  opacity: 0;
  position: absolute;
  inset: 0 auto auto 0;
}

.tf-check__box {
  display: inline-block;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.12rem;
  flex: 0 0 1.15rem;
  min-width: 1.15rem;
  min-height: 1.15rem;
  vertical-align: top;
  border-radius: 0.32rem;
  border: 1px solid rgba(129, 140, 248, 0.8);
  background: rgba(10, 10, 12, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  position: relative;
  transition: all 0.2s ease;
}

.tf-check__box::after {
  content: "";
  position: absolute;
  left: 0.34rem;
  top: 0.16rem;
  width: 0.3rem;
  height: 0.56rem;
  border-right: 2px solid #0b1220;
  border-bottom: 2px solid #0b1220;
  transform: rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform 0.16s ease;
}

.tf-check__text {
  color: var(--muted);
}

.tf-check:hover {
  border-color: rgba(129, 140, 248, 0.75);
}

.tf-check:has(.tf-check__input:focus-visible) {
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.28);
}

.tf-check__input:checked + .tf-check__box {
  border-color: #34d399;
  background: linear-gradient(135deg, #34d399, #22d3ee);
  box-shadow: 0 0 0.65rem rgba(52, 211, 153, 0.4);
}

.tf-check__input:checked + .tf-check__box::after {
  transform: rotate(45deg) scale(1);
}

.tf-check a {
  color: var(--fg);
  text-decoration: underline;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="url"],
input[type="search"],
input[type="number"],
textarea,
select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--card);
  color: var(--fg);
  color-scheme: dark;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 32px var(--card) inset !important;
  -webkit-text-fill-color: var(--fg) !important;
  caret-color: var(--fg);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.alert--error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.alert--ok {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
}

.tf-auth-shell {
  max-width: 32rem;
  padding-block: 2rem;
}

.tf-auth-shell--login {
  max-width: 24rem;
}

.tf-auth-shell--password-set {
  max-width: 28rem;
}

.tf-auth-title {
  margin: 0 0 0.5rem;
}

.tf-auth-title--center {
  text-align: center;
}

.tf-auth-intro {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.tf-auth-intro--center {
  text-align: center;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.tf-auth-alert {
  margin-top: 1rem;
}

.tf-auth-form {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
}

.tf-auth-btn {
  width: 100%;
}

.tf-auth-btn--ghost {
  border: 1px solid var(--line);
}

.tf-auth-forgot {
  margin-top: 1.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
}

.tf-auth-forgot__summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.tf-auth-forgot__summary::-webkit-details-marker {
  display: none;
}

.tf-auth-forgot[open] .tf-auth-forgot__summary {
  margin-bottom: 0;
}

.tf-auth-forgot__text {
  margin: 1rem 0 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.45;
}

.tf-auth-forgot__error {
  margin: 0 0 0.75rem;
}

.tf-auth-footnote {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .tf-auth-shell {
    padding-top: 1.1rem;
    padding-bottom: 1.4rem;
  }

  .tf-auth-form,
  .tf-auth-forgot {
    padding: 1rem;
    border-radius: 0.85rem;
  }
}

.tf-security-note {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(129, 140, 248, 0.35);
  background: linear-gradient(145deg, rgba(129, 140, 248, 0.12), rgba(34, 211, 238, 0.06));
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.22);
  animation: tfSecurityNoteIn 380ms ease-out;
}

.tf-security-note__head {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.tf-security-note__icon {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 1.45rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(129, 140, 248, 0.18);
  color: #dbe4ff;
  animation: tfSecurityPulse 2.4s ease-in-out infinite;
}

.tf-security-note__icon svg,
.tf-security-note__bullet svg {
  width: 0.92rem;
  height: 0.92rem;
  fill: currentColor;
}

.tf-security-note__head strong {
  display: block;
  color: #eef2ff;
  font-size: 0.92rem;
  line-height: 1.35;
}

.tf-security-note__head p {
  margin: 0.3rem 0 0;
  color: #cbd5e1;
  font-size: 0.84rem;
  line-height: 1.45;
}

.tf-security-note__list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.tf-security-note__list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: #e2e8f0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.tf-security-note__bullet {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 1.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
  color: #c7d2fe;
  background: rgba(129, 140, 248, 0.16);
}

.tf-security-note--compact {
  margin-top: 1rem;
}

.tf-security-note--compact .tf-security-note__head strong {
  font-size: 0.88rem;
}

@keyframes tfSecurityNoteIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tfSecurityPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.14);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(129, 140, 248, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tf-security-note,
  .tf-security-note__icon {
    animation: none !important;
  }
}

.table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0.5rem;
  text-align: left;
}

.review-layout {
  display: grid;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (min-width: 1024px) {
  .review-layout {
    grid-template-columns: 1fr 380px;
  }
}

.video-box {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #000;
}

.video-box video,
.video-box iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

.comment-list {
  max-height: min(60vh, 520px);
  overflow-y: auto;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.comment-item {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.875rem;
}

.comment-item__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.comment-item__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.comment-item button.link {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
}

.comment-item__reply-btn {
  border: 1px solid rgba(129, 140, 248, 0.35);
  background: rgba(129, 140, 248, 0.12);
  color: #c7d2fe;
  border-radius: 999px;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  cursor: pointer;
}

.comment-item__reply-btn:hover {
  border-color: rgba(129, 140, 248, 0.55);
  background: rgba(129, 140, 248, 0.2);
}

.comment-item__chat-btn {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.12);
  color: #a5f3fc;
}

.comment-item__chat-btn:hover {
  border-color: rgba(34, 211, 238, 0.62);
  background: rgba(34, 211, 238, 0.22);
}

.comment-item__body {
  margin-top: 0.35rem;
}

.comment-item__meta {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  align-items: center;
}

.comment-item--thread {
  padding: 0.7rem;
}

.comment-item--thread.is-seeked {
  border-color: rgba(34, 211, 238, 0.68);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.28), 0 0 22px rgba(34, 211, 238, 0.16);
  background: rgba(34, 211, 238, 0.08);
}

.comment-thread__list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
}

.comment-thread__msg {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.55rem;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.comment-thread__msg.is-reply {
  margin-left: 1rem;
}

.comment-thread__msg.is-reply::before {
  content: "↳";
  position: absolute;
  left: -0.95rem;
  top: 0.42rem;
  color: #a5b4fc;
  font-size: 0.82rem;
  font-weight: 700;
}

.comment-thread__msg.is-reply::after {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: -0.52rem;
  width: 0.5rem;
  height: 0.9rem;
  border-left: 1px dashed rgba(165, 180, 252, 0.45);
  border-bottom: 1px dashed rgba(165, 180, 252, 0.45);
  border-bottom-left-radius: 7px;
}

.comment-thread__msg.is-client {
  border-color: rgba(129, 140, 248, 0.28);
  background: rgba(129, 140, 248, 0.08);
}

.comment-thread__msg.is-studio {
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.07);
}

.comment-thread__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin-bottom: 0.3rem;
  font-size: 0.74rem;
  color: var(--muted);
}

.comment-thread__delete-form {
  margin-left: auto;
}

.comment-thread__delete-btn {
  border: 1px solid rgba(251, 113, 133, 0.45);
  background: rgba(251, 113, 133, 0.12);
  color: #fecaca;
  border-radius: 999px;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.12rem 0.5rem;
  cursor: pointer;
}

.comment-thread__delete-btn:hover {
  background: rgba(251, 113, 133, 0.22);
  border-color: rgba(251, 113, 133, 0.65);
}

.comment-thread__kind {
  padding: 0.08rem 0.36rem;
  border-radius: 999px;
  border: 1px solid rgba(161, 161, 170, 0.35);
  background: rgba(161, 161, 170, 0.1);
  color: #d4d4d8;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.comment-thread__author {
  padding: 0.08rem 0.36rem;
  border-radius: 999px;
  border: 1px solid rgba(165, 180, 252, 0.45);
  background: rgba(165, 180, 252, 0.14);
  color: #c7d2fe;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.comment-thread__body {
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
}

.badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

.badge--open {
  background: rgba(251, 191, 36, 0.2);
  color: #fcd34d;
}

.badge--done {
  background: rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
}

.studio-panel {
  border: 1px dashed var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  margin-top: 1.5rem;
}

/* Admin-editierbare Hauptseiten */
.front-page-wrap--default {
  width: 100%;
}

.front-page-wrap--narrow {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.front-page-wrap--wide .wrap {
  max-width: 90rem;
}

.front-page-wrap--full {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

/* CMS-Startseite: einzelne „Kundenbereich“-Karte wie home-dual */
.front-cms-access {
  padding: clamp(1.75rem, 5vw, 2.75rem) 0 0;
}

.front-cms-access .front-cms-access__grid {
  grid-template-columns: 1fr;
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
}

/* Alte Startseiten mit schlichtem cta-band im Editor: optisch an Home-Cards anbinden */
.front-page-wrap.front-page-cms > .cta-band:not(.home-cta) {
  border: 1px solid rgba(129, 140, 248, 0.28) !important;
  border-radius: 1.15rem !important;
  background: linear-gradient(155deg, rgba(34, 211, 238, 0.1), rgba(20, 20, 24, 0.98)) !important;
  margin: clamp(1.5rem, 4vw, 2rem) auto 0 !important;
  max-width: 32rem;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.front-page-wrap.front-page-cms > .cta-band:not(.home-cta) .wrap {
  padding: 1.65rem 1.45rem;
}

.front-page-wrap.front-page-cms > .cta-band:not(.home-cta) h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* —— Lade-Overlay, Hero, Scroll-Reveals (öffentliche Site) —— */

.tf-preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.tf-preloader__inner {
  text-align: center;
}

.tf-preloader__spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 auto 1rem;
}

.tf-preloader__spinner span {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), #22d3ee);
  animation: tfBounce 0.9s ease-in-out infinite both;
}

.tf-preloader__spinner span:nth-child(1) {
  animation-delay: 0s;
}
.tf-preloader__spinner span:nth-child(2) {
  animation-delay: 0.12s;
}
.tf-preloader__spinner span:nth-child(3) {
  animation-delay: 0.24s;
}

.tf-preloader__text {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  animation: tfPulse 1.4s ease-in-out infinite;
}

html.tf-ready .tf-preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.tf-ready .tf-header {
  animation: tfHeaderIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero--cinematic {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--card);
  padding: 4rem 1rem;
  min-height: min(72vh, 52rem);
  display: flex;
  align-items: center;
}

.hero--cinematic .hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 15% 25%, rgba(129, 140, 248, 0.22), transparent 55%),
    radial-gradient(ellipse 70% 60% at 90% 70%, rgba(34, 211, 238, 0.12), transparent 50%),
    radial-gradient(circle at 50% 100%, rgba(129, 140, 248, 0.06), transparent 45%);
  animation: tfMesh 14s ease-in-out infinite alternate;
}

.hero--cinematic .hero__inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
}

.hero__title {
  background: linear-gradient(100deg, #fafafa 0%, #e0e7ff 42%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  /* Ohne -webkit-text-fill-color zeigen iOS/Safari oft schwarzen Text statt Verlauf */
  color: transparent;
  -webkit-text-fill-color: transparent;
}

html.tf-ready .hero--cinematic .tf-anim {
  animation: tfFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.tf-anim-delay-1 {
  animation-delay: 0.06s;
}
.tf-anim-delay-2 {
  animation-delay: 0.14s;
}
.tf-anim-delay-3 {
  animation-delay: 0.22s;
}
.tf-anim-delay-4 {
  animation-delay: 0.3s;
}

.tf-anim-delay-5 {
  animation-delay: 0.38s;
}

/* —— Startseite (Home): Layer, Karten, CTA —— */
.home-hero {
  isolation: isolate;
  position: relative;
  z-index: 1;
}

.home-hero--no-video .hero__aurora {
  opacity: 0.92;
}

/* Hintergrund-YouTube: stumm, autoplay, über alle Viewports */
.home-hero .hero__video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.home-hero .hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  border: 0;
  opacity: 0.85;
}

@media (max-aspect-ratio: 16/9) {
  .home-hero .hero__video {
    width: 177.78vh;
    height: 100vh;
    min-width: 100vw;
    min-height: 56.25vw;
  }
}

.home-hero .hero__video-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.82) 0%, rgba(10, 10, 12, 0.55) 40%, rgba(10, 10, 12, 0.72) 100%),
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 0, 0, 0.35), transparent 70%);
}

.home-hero .hero__bg {
  z-index: 2;
}

.home-hero .hero__aurora,
.home-hero .hero__noise {
  z-index: 2;
}

.home-hero .hero__inner {
  z-index: 3;
}

.home-hero .hero__aurora {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 20% 30%, rgba(129, 140, 248, 0.35), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 65%, rgba(34, 211, 238, 0.2), transparent 55%),
    radial-gradient(ellipse 40% 35% at 50% 90%, rgba(167, 139, 250, 0.15), transparent 50%);
  filter: blur(48px);
  opacity: 0.85;
  animation: tfAuroraShift 18s ease-in-out infinite alternate;
}

.home-hero .hero__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.home-hero__title {
  background-size: 200% auto;
  animation: tfTitleShimmer 8s ease-in-out infinite;
}

/* Schmale Viewports: heller Vollton + Schlagschatten — zuverlässig lesbar auf Mobilgeräten */
@media (max-width: 767px) {
  .hero--cinematic .hero__title {
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
    background: none;
    background-image: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    text-shadow:
      0 1px 2px rgba(0, 0, 0, 0.9),
      0 2px 24px rgba(0, 0, 0, 0.65);
  }

  .home-hero__title {
    animation: none;
  }
}

.home-hero--tall.hero--cinematic {
  min-height: min(90vh, 58rem);
  padding: clamp(3.5rem, 10vw, 6.5rem) 1rem clamp(4rem, 12vw, 7rem);
}

.home-hero__blobs {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.home-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.45;
  animation: tfBlobFloat 22s ease-in-out infinite;
}

.home-hero__blob--a {
  width: min(42vw, 22rem);
  height: min(42vw, 22rem);
  left: -8%;
  top: 18%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.55), transparent 68%);
  animation-delay: 0s;
}

.home-hero__blob--b {
  width: min(38vw, 18rem);
  height: min(38vw, 18rem);
  right: -5%;
  bottom: 22%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.4), transparent 65%);
  animation-delay: -7s;
  animation-duration: 26s;
}

.home-hero__blob--c {
  width: min(28vw, 14rem);
  height: min(28vw, 14rem);
  left: 38%;
  top: 8%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.35), transparent 62%);
  animation-delay: -12s;
  animation-duration: 19s;
}

@keyframes tfBlobFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(2%, -3%) scale(1.04);
  }
  66% {
    transform: translate(-2%, 2%) scale(0.98);
  }
}

.home-hero .hero__inner {
  max-width: 48rem;
}

.home-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: rgba(228, 228, 231, 0.88);
}

.home-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.home-hero__trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a5b4fc, #22d3ee);
  box-shadow: 0 0 12px rgba(129, 140, 248, 0.6);
  flex-shrink: 0;
}

.home-hero__audience {
  margin: 1.35rem 0 0;
  max-width: 40rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(196, 196, 206, 0.95);
}

.home-hero__audience-link {
  color: #c7d2fe;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.home-hero__audience-link:hover {
  color: #e0e7ff;
}

.home-hero__audience-rest {
  color: rgba(161, 161, 170, 0.95);
}

.home-hero .btn-row {
  flex-wrap: wrap;
  gap: 0.65rem;
}

.home-hero__scroll-hint {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  opacity: 0.55;
}

.home-hero__scroll-line {
  display: block;
  width: 1px;
  height: 2.25rem;
  margin: 0 auto;
  background: linear-gradient(180deg, transparent, rgba(228, 228, 231, 0.55), transparent);
  animation: tfScrollNudge 2.4s ease-in-out infinite;
}

.home-hero__scroll-hint.is-hidden {
  opacity: 0;
  transition: opacity 0.45s ease;
}

@keyframes tfScrollNudge {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(6px);
    opacity: 0.85;
  }
}

.home-page {
  overflow-x: hidden;
  position: relative;
  z-index: 2;
  margin-top: clamp(-2.5rem, -5vw, -1rem);
}

/* —— Startseite: erster Content-Block unter dem Hero (Übergang + roter Faden) —— */
.home-open {
  padding: clamp(1.35rem, 3.5vw, 2.1rem) 0 clamp(1.2rem, 2.5vw, 1.65rem);
  border-radius: 1.35rem 1.35rem 0 0;
  border: 1px solid rgba(129, 140, 248, 0.18);
  border-bottom: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(129, 140, 248, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(18, 18, 24, 0.98), rgba(12, 12, 16, 0.99));
  box-shadow:
    0 -8px 32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-open__head {
  max-width: 46rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.home-open__eyebrow {
  margin: 0 0 0.5rem;
}

.home-open__title {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--fg);
}

.home-open__lead {
  margin: 0.85rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--muted);
}

.home-open__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .home-open__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }
}

.home-open__card {
  position: relative;
  margin: 0;
  padding: 1.15rem 1.15rem 1.15rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(46, 46, 56, 0.95);
  background: linear-gradient(165deg, rgba(26, 26, 32, 0.95), rgba(14, 14, 18, 0.98));
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.home-open__card:hover {
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.home-open__step {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(129, 140, 248, 0.95);
  margin-bottom: 0.5rem;
}

.home-open__card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.home-open__card-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(161, 161, 170, 0.98);
}

/* —— Startseite: Marquee, Intro, Metriken, Zielgruppe, Projekte-Teaser, FAQ, Quicknav —— */
.home-marquee {
  position: relative;
  border-bottom: 1px solid rgba(46, 46, 56, 0.9);
  background: linear-gradient(180deg, rgba(20, 20, 28, 0.95), rgba(14, 14, 18, 0.98));
  padding: 0.65rem 0;
}

.home-marquee__viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.home-marquee__track {
  display: flex;
  width: max-content;
  animation: tfHomeMarquee 32s linear infinite;
}

.home-marquee__chunk {
  flex-shrink: 0;
  padding-right: 4rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(161, 161, 170, 0.95);
  white-space: nowrap;
}

@keyframes tfHomeMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.home-chip-bar {
  padding: 1rem 0 1.25rem;
  border-bottom: 1px solid rgba(46, 46, 56, 0.75);
  background: rgba(10, 10, 12, 0.35);
}

.home-chip-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  justify-content: center;
}

.home-chip {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(228, 228, 231, 0.92);
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: rgba(20, 20, 24, 0.85);
}

a.home-chip--link {
  text-decoration: none;
  color: rgba(228, 228, 231, 0.95);
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(20, 20, 24, 0.92);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

a.home-chip--link:hover {
  border-color: rgba(129, 140, 248, 0.55);
  background: rgba(30, 30, 38, 0.95);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.home-pricing-spotlight {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  border-bottom: 1px solid rgba(46, 46, 56, 0.75);
  background: linear-gradient(180deg, rgba(129, 140, 248, 0.06), transparent 45%);
}

.home-pricing-spotlight__grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .home-pricing-spotlight__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}

.home-pricing-spotlight__title {
  margin: 0;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(105deg, #fafafa 0%, #c7d2fe 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.home-pricing-spotlight__lead {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 40rem;
}

.home-pricing-spotlight__list {
  margin: 1.25rem 0 0;
  padding: 0 0 0 1.15rem;
  color: rgba(228, 228, 231, 0.9);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.home-pricing-spotlight__list li {
  margin: 0.4rem 0;
}

.home-pricing-spotlight__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.home-pricing-spotlight__panel {
  border-radius: 1.1rem;
  border: 1px solid rgba(129, 140, 248, 0.3);
  background: linear-gradient(165deg, rgba(20, 20, 28, 0.98), rgba(10, 10, 14, 0.95));
  padding: 1.5rem 1.35rem 1.4rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.home-pricing-spotlight__fake-ui {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.home-pricing-spotlight__fake-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.home-pricing-spotlight__fake-amount {
  font-size: clamp(2rem, 5vw, 2.6rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #f4f4f5;
  letter-spacing: -0.03em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.home-pricing-spotlight__fake-eur {
  font-size: 1.35rem;
  font-weight: 600;
  color: #e4e4e7;
}

.home-pricing-spotlight__fake-hint {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.home-pricing-spotlight__mini {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: rgba(161, 161, 170, 0.95);
  line-height: 1.5;
}

.home-pricing-spotlight__mini li {
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
}

.home-pricing-spotlight__mini li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a5b4fc, #22d3ee);
}

@media (max-width: 767px) {
  .home-pricing-spotlight__title {
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  }
}

.home-longform {
  padding: clamp(2.5rem, 7vw, 4rem) 0;
  border-bottom: 1px solid rgba(46, 46, 56, 0.75);
}

.home-longform__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .home-longform__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.home-longform__title {
  margin: 0 0 1rem;
  font-size: clamp(1.45rem, 3.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--fg);
}

.home-longform__p {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 40rem;
}

.home-longform__p:last-of-type {
  margin-bottom: 0;
}

.home-longform__callout {
  padding: 1.15rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(129, 140, 248, 0.28);
  background: rgba(129, 140, 248, 0.08);
  margin-bottom: 1.1rem;
}

.home-longform__callout-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a5b4fc;
}

.home-longform__callout-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(228, 228, 231, 0.92);
}

.home-longform__bullets {
  margin: 0;
  padding: 0 0 0 1.1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.home-longform__bullets li {
  margin: 0.35rem 0;
}

.home-deliver {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-bottom: 1px solid rgba(46, 46, 56, 0.75);
  background: rgba(14, 14, 18, 0.35);
}

.home-deliver__head {
  max-width: 42rem;
  margin-bottom: 1.75rem;
}

.home-deliver__title {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.home-deliver__lead {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.home-deliver__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem 1.25rem;
}

@media (min-width: 640px) {
  .home-deliver__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .home-deliver__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem 1rem;
  }
}

.home-deliver__item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(20, 20, 24, 0.75);
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(228, 228, 231, 0.9);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-deliver__item strong {
  color: var(--fg);
  font-weight: 600;
}

.home-deliver__dot {
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #818cf8, #22d3ee);
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.45);
}

.home-checklist {
  padding: clamp(2.5rem, 7vw, 4.25rem) 0;
  border-bottom: 1px solid rgba(46, 46, 56, 0.75);
}

.home-checklist__head {
  max-width: 44rem;
  margin-bottom: 1.75rem;
}

.home-checklist__title {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.home-checklist__intro {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.home-checklist__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: hck;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 52rem;
}

.home-checklist__row {
  counter-increment: hck;
  position: relative;
  padding: 1rem 1.1rem 1rem 3.25rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(46, 46, 56, 0.95);
  background: rgba(20, 20, 24, 0.55);
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(228, 228, 231, 0.9);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-checklist__row::before {
  content: counter(hck);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.65rem;
  height: 1.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #e4e4e7;
  border-radius: 0.4rem;
  background: linear-gradient(145deg, rgba(129, 140, 248, 0.35), rgba(34, 211, 238, 0.12));
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.home-checklist__row strong {
  color: #f4f4f5;
  font-weight: 600;
}

.home-quotes {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-bottom: 1px solid rgba(46, 46, 56, 0.75);
  background: linear-gradient(180deg, transparent, rgba(129, 140, 248, 0.04) 50%, transparent);
}

.home-quotes__head {
  max-width: 44rem;
  margin-bottom: 1.75rem;
}

.home-quotes__title {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.home-quotes__lead {
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.home-quotes__grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 800px) {
  .home-quotes__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.home-quote {
  margin: 0;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 1rem;
  border: 1px solid rgba(129, 140, 248, 0.2);
  background: linear-gradient(165deg, rgba(20, 20, 28, 0.95), rgba(14, 14, 18, 0.92));
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-quote__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(228, 228, 231, 0.94);
}

.home-quote__foot {
  margin: 1rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  font-style: normal;
}

.home-intro {
  position: relative;
  padding: clamp(2.75rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid rgba(46, 46, 56, 0.75);
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(129, 140, 248, 0.09), transparent 55%),
    linear-gradient(180deg, rgba(10, 10, 12, 0.5), transparent);
}

.home-intro__grid {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .home-intro__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
  }
}

.home-intro__eyebrow {
  margin: 0 0 0.5rem;
}

.home-intro__title {
  margin: 0;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  background: linear-gradient(110deg, #fafafa 0%, #c7d2fe 45%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.home-intro__lead {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 38rem;
}

.home-intro__text {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(161, 161, 170, 0.98);
  max-width: 38rem;
}

.home-intro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.home-intro__bullets {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: rgba(228, 228, 231, 0.88);
}

.home-intro__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.home-intro__tick {
  color: #34d399;
  font-weight: 700;
  flex-shrink: 0;
}

.home-intro__frame {
  position: relative;
  border-radius: 1.15rem;
  padding: 0.75rem;
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: linear-gradient(160deg, rgba(129, 140, 248, 0.08), rgba(20, 20, 24, 0.92));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4);
}

.home-intro__svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 20rem;
}

@media (max-width: 767px) {
  .home-intro__title {
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
  }
}

.home-metrics {
  padding: clamp(2rem, 5vw, 3rem) 0;
  border-bottom: 1px solid rgba(46, 46, 56, 0.75);
  background: rgba(14, 14, 18, 0.4);
}

.home-metrics__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .home-metrics__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .home-metrics__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }
}

.home-metrics__cell {
  padding: 1.15rem 1.1rem;
  border-radius: 0.95rem;
  border: 1px solid var(--line);
  background: rgba(20, 20, 24, 0.75);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease;
}

.home-metrics__cell:hover {
  border-color: rgba(129, 140, 248, 0.35);
}

.home-metrics__icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-bottom: 0.15rem;
}

.home-metrics__label {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.home-metrics__text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.home-audience {
  padding: clamp(2rem, 5.5vw, 3.5rem) 0;
  border-bottom: 1px solid rgba(46, 46, 56, 0.75);
  scroll-margin-top: 5.5rem;
}

.home-audience__head {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.home-audience__title {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(100deg, #fafafa 0%, #c7d2fe 55%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.home-audience__lead {
  margin: 0.75rem 0 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--muted);
}

.home-audience__grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 720px) {
  .home-audience__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
  }
}

.home-audience__card {
  position: relative;
  padding: 1.5rem 1.25rem 1.55rem;
  border-radius: 1rem;
  border: 1px solid rgba(129, 140, 248, 0.18);
  background: linear-gradient(165deg, rgba(30, 30, 38, 0.95), rgba(14, 14, 18, 0.92));
  overflow: hidden;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.home-audience__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(129, 140, 248, 0.12), transparent 50%);
  pointer-events: none;
}

.home-audience__card:hover {
  border-color: rgba(129, 140, 248, 0.38);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
  transform: translateY(-2px);
}

.home-audience__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #c7d2fe;
  background: rgba(129, 140, 248, 0.15);
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.home-audience__card-title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.home-audience__card-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 767px) {
  .home-audience__title {
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  }
}

html.tf-motion .home-audience__card.reveal.is-visible:hover {
  transform: translateY(-2px);
}

.home-projekte {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  border-bottom: 1px solid rgba(46, 46, 56, 0.75);
}

.home-projekte__head {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.home-projekte__title {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(105deg, #fafafa 0%, #c7d2fe 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.home-projekte__lead {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.home-projekte__card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(129, 140, 248, 0.28);
  background: rgba(20, 20, 24, 0.65);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.home-projekte__card:hover {
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}

.home-projekte__visual {
  display: block;
  line-height: 0;
  background: #0a0a0c;
}

.home-projekte__svg {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

.home-projekte__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem 1.2rem;
  border-top: 1px solid rgba(46, 46, 56, 0.85);
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.98), rgba(14, 14, 18, 0.98));
}

.home-projekte__cta-text {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.home-projekte__arrow {
  font-size: 1.35rem;
  color: #a5b4fc;
  transition: transform 0.25s ease;
}

.home-projekte__card:hover .home-projekte__arrow {
  transform: translateX(5px);
}

.home-projekte__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.home-projekte__tags li {
  font-size: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(46, 46, 56, 0.95);
  background: rgba(20, 20, 24, 0.85);
  color: rgba(161, 161, 170, 0.95);
}

.home-projekte--preview .home-projekte__head {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.home-projekte-preview-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .home-projekte-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .home-projekte-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

.home-projekte-preview-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(129, 140, 248, 0.28);
  background: rgba(14, 14, 18, 0.95);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.home-projekte-preview-card:hover {
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px);
}

.home-projekte-preview-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0a0c;
  overflow: hidden;
}

.home-projekte-preview-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

.home-projekte-preview-card:hover .home-projekte-preview-card__img {
  transform: scale(1.06);
}

.home-projekte-preview-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(161, 161, 170, 0.95);
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(129, 140, 248, 0.2), transparent 65%),
    linear-gradient(165deg, #1a1a22, #0a0a0c);
}

.home-projekte-preview-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(46, 46, 56, 0.85);
  background: linear-gradient(180deg, rgba(20, 20, 24, 0.98), rgba(14, 14, 18, 0.99));
}

.home-projekte-preview-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--fg);
}

.home-projekte-preview-card__arrow {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: #a5b4fc;
  transition: transform 0.25s ease;
}

.home-projekte-preview-card:hover .home-projekte-preview-card__arrow {
  transform: translateX(4px);
}

.home-projekte-preview-more {
  margin-top: 1.35rem;
}

.home-projekte-preview-fallback__text {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.home-projekte-preview-fallback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 767px) {
  .home-projekte__title {
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  }
}

.home-faq {
  padding: clamp(2.5rem, 7vw, 4.25rem) 0;
  border-bottom: 1px solid rgba(46, 46, 56, 0.75);
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.35), transparent 40%);
}

.home-faq__head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.home-faq__title {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg);
}

.home-faq__lead {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
}

.home-faq__lead a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.home-faq__lead a:hover {
  color: #a5b4fc;
}

.home-faq__list {
  max-width: 44rem;
}

.home-faq__item {
  margin-bottom: 0.65rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(20, 20, 24, 0.72);
  overflow: hidden;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
}

.home-faq__item[open] {
  border-color: rgba(129, 140, 248, 0.35);
}

.home-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.home-faq__item summary::-webkit-details-marker {
  display: none;
}

.home-faq__item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.25s ease;
}

.home-faq__item[open] summary::after {
  transform: rotate(45deg);
}

.home-faq__answer {
  padding: 0 1.15rem 1.05rem;
  border-top: 1px solid rgba(46, 46, 56, 0.65);
}

.home-faq__answer p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.home-faq__answer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.home-faq__answer a:hover {
  color: #a5b4fc;
}

.home-quicknav {
  padding: 1.5rem 0 2.25rem;
}

.home-quicknav__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .home-quicknav__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }
}

.home-quicknav__link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: rgba(20, 20, 24, 0.65);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fg);
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.2s ease;
}

.home-quicknav__link:hover {
  border-color: rgba(129, 140, 248, 0.4);
  background: rgba(129, 140, 248, 0.08);
  text-decoration: none;
  transform: translateY(-1px);
}

.home-quicknav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.45rem;
  font-size: 0.85rem;
  background: linear-gradient(145deg, rgba(129, 140, 248, 0.2), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(129, 140, 248, 0.25);
  color: #c7d2fe;
}

.home-showcase {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
}

.home-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(129, 140, 248, 0.08), transparent 55%);
  pointer-events: none;
}

.home-showcase__wrap {
  position: relative;
  z-index: 1;
}

.home-showcase__head {
  max-width: 44rem;
  margin-bottom: 2rem;
}

.home-showcase__eyebrow {
  margin: 0 0 0.5rem;
}

.home-showcase__title {
  margin: 0;
  font-size: clamp(1.5rem, 3.8vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(115deg, #fafafa 0%, #c7d2fe 45%, #67e8f9 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: tfTitleShimmer 12s ease-in-out infinite;
}

@media (max-width: 767px) {
  .home-showcase__title {
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
    background: none;
    background-size: auto;
    -webkit-background-clip: unset;
    background-clip: unset;
    animation: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  }
}

.home-showcase__lead {
  margin: 0.85rem 0 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 40rem;
}

.home-showcase__grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .home-showcase__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .home-showcase__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.home-mini-card {
  position: relative;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 1rem;
  border: 1px solid rgba(129, 140, 248, 0.22);
  background: linear-gradient(155deg, rgba(129, 140, 248, 0.1), rgba(20, 20, 24, 0.92));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.home-mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.06), transparent 45%);
  pointer-events: none;
}

.home-mini-card:hover {
  border-color: rgba(129, 140, 248, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
  transform: translateY(-2px);
}

.home-mini-card__art {
  margin-bottom: 0.85rem;
}

.home-svg {
  width: 3.25rem;
  height: 3.25rem;
  display: block;
}

.home-mini-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.home-mini-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
}

.home-process {
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
  border-top: 1px solid rgba(46, 46, 56, 0.85);
  border-bottom: 1px solid rgba(46, 46, 56, 0.85);
  background: linear-gradient(180deg, rgba(10, 10, 12, 0.35), transparent 28%);
}

.home-process__head {
  max-width: 38rem;
  margin-bottom: 2rem;
}

.home-process__title {
  margin: 0;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, #fafafa 0%, #c7d2fe 50%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 767px) {
  .home-process__title {
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  }
}

.home-process__lead {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.home-process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .home-process__steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem;
  }
}

.home-step {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.15rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(20, 20, 24, 0.65);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-step__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #e4e4e7;
  background: linear-gradient(145deg, rgba(129, 140, 248, 0.35), rgba(34, 211, 238, 0.15));
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.home-step__body h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.home-step__body p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--muted);
}

.home-visual {
  position: relative;
  height: clamp(5rem, 14vw, 9rem);
  margin: 0;
  overflow: hidden;
}

.home-visual__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, 0.12), rgba(34, 211, 238, 0.1), transparent);
  animation: tfVisualShift 10s ease-in-out infinite alternate;
}

@keyframes tfVisualShift {
  from {
    opacity: 0.65;
    transform: scaleX(1);
  }
  to {
    opacity: 1;
    transform: scaleX(1.03);
  }
}

.home-visual__pattern {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  opacity: 0.9;
}

.home-visual__pattern svg {
  width: 100%;
  height: 100%;
  display: block;
}

.home-visual__wave {
  animation: tfWaveDrift 14s ease-in-out infinite alternate;
}

@keyframes tfWaveDrift {
  from {
    transform: translateX(-2%);
  }
  to {
    transform: translateX(2%);
  }
}

.home-dual {
  padding: clamp(2.5rem, 7vw, 4rem) 0;
}

.home-dual__grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 720px) {
  .home-dual__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
  }
}

.home-dual__card {
  position: relative;
  display: block;
  padding: 1.75rem 1.5rem;
  border-radius: 1.15rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(129, 140, 248, 0.28);
  overflow: hidden;
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.home-dual__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(129, 140, 248, 0.14), rgba(20, 20, 24, 0.95));
  z-index: 0;
}

.home-dual__card--contact::before {
  background: linear-gradient(155deg, rgba(34, 211, 238, 0.12), rgba(20, 20, 24, 0.95));
}

.home-dual__card:hover {
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px);
}

.home-dual__label {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a5b4fc;
  margin-bottom: 0.5rem;
}

.home-dual__title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home-dual__text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.home-dual__arrow {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 1.25rem;
  color: #c7d2fe;
  transition: transform 0.3s ease;
}

.home-dual__card:hover .home-dual__arrow {
  transform: translateX(4px);
}

.home-features {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.home-features__head {
  max-width: 40rem;
  margin-bottom: 0.25rem;
}

.home-features__eyebrow {
  margin: 0 0 0.5rem;
}

.home-features__title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  background: linear-gradient(120deg, var(--fg) 0%, #c7d2fe 55%, var(--fg) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 767px) {
  .home-features__title {
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
    background: none;
    background-size: auto;
    -webkit-background-clip: unset;
    background-clip: unset;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  }
}

.home-features__lead {
  margin: 0.65rem 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 36rem;
}

.home-card-grid {
  margin-top: 2rem;
}

.home-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(46, 46, 56, 0.9);
  background: linear-gradient(165deg, rgba(20, 20, 24, 0.98) 0%, rgba(14, 14, 18, 0.92) 100%);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.home-card__glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 20%, rgba(129, 140, 248, 0.22), transparent 45%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.home-card:hover .home-card__glow {
  opacity: 1;
}

.home-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(129, 140, 248, 0.2), rgba(34, 211, 238, 0.08));
  border: 1px solid rgba(129, 140, 248, 0.25);
  color: #c7d2fe;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.home-card:hover .home-card__icon {
  transform: scale(1.06) rotate(-3deg);
  box-shadow: 0 8px 28px rgba(129, 140, 248, 0.2);
}

.home-card h3 {
  position: relative;
  z-index: 1;
}

.home-card p {
  position: relative;
  z-index: 1;
}

.btn--shine {
  position: relative;
  overflow: hidden;
}

.btn--shine::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 45%,
    transparent 70%
  );
  transform: skewX(-12deg);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn--shine:hover::before {
  left: 100%;
}

.cta-band {
  position: relative;
  border-top: 1px solid var(--line);
  background: var(--card);
  margin-top: 0;
  overflow: hidden;
}

.home-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.home-cta__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.home-cta__desc {
  margin: 0.5rem 0 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.home-cta__shine {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(129, 140, 248, 0.9),
    rgba(34, 211, 238, 0.75),
    transparent
  );
  background-size: 200% 100%;
  animation: tfCtaGlow 5s ease-in-out infinite;
  opacity: 0.85;
}

.home-cta__btn {
  flex-shrink: 0;
}

html.tf-motion main .card-grid .card:not(.is-visible),
html.tf-motion main .pricing-grid .price-card:not(.is-visible),
html.tf-motion main .projekte-card:not(.is-visible),
html.tf-motion .cta-band:not(.is-visible),
html.tf-motion .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(1.35rem);
}

html.tf-motion main .card-grid .card,
html.tf-motion main .pricing-grid .price-card,
html.tf-motion main .projekte-card,
html.tf-motion .cta-band,
html.tf-motion .reveal {
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

html.tf-motion main .card-grid .card.is-visible,
html.tf-motion main .pricing-grid .price-card.is-visible,
html.tf-motion main .projekte-card.is-visible,
html.tf-motion .cta-band.is-visible,
html.tf-motion .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Startseite (feste Blöcke): nicht von Scroll-/Card-Reveal abhängig — sonst wirkt die Seite unter dem Hero „leer“,
   wenn JS/CSP/Observer nicht zuverlässig .is-visible setzt. */
html.tf-motion main .home-page .reveal:not(.is-visible),
html.tf-motion main .home-page .card-grid .card:not(.is-visible),
html.tf-motion main .home-page .cta-band:not(.is-visible) {
  opacity: 1 !important;
  transform: none !important;
}

@media print {
  html.tf-motion .reveal:not(.is-visible) {
    opacity: 1 !important;
    transform: none !important;
  }
}

html.tf-motion main .card-grid .card.home-card:not(.is-visible) {
  transform: translateY(1.35rem) scale(0.98);
}

html.tf-motion main .card-grid .card.home-card.is-visible {
  transform: translateY(0) scale(1);
}

html.tf-motion main .card-grid .card:nth-child(1) {
  transition-delay: 0.04s;
}
html.tf-motion main .card-grid .card:nth-child(2) {
  transition-delay: 0.1s;
}
html.tf-motion main .card-grid .card:nth-child(3) {
  transition-delay: 0.16s;
}
html.tf-motion main .card-grid .card:nth-child(4) {
  transition-delay: 0.22s;
}
html.tf-motion main .card-grid .card:nth-child(5) {
  transition-delay: 0.28s;
}
html.tf-motion main .card-grid .card:nth-child(6) {
  transition-delay: 0.34s;
}

html.tf-motion .home-showcase__grid .reveal:nth-child(1) {
  transition-delay: 0.04s;
}
html.tf-motion .home-showcase__grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
html.tf-motion .home-showcase__grid .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
html.tf-motion .home-showcase__grid .reveal:nth-child(4) {
  transition-delay: 0.22s;
}
html.tf-motion .home-showcase__grid .reveal:nth-child(5) {
  transition-delay: 0.28s;
}
html.tf-motion .home-showcase__grid .reveal:nth-child(6) {
  transition-delay: 0.34s;
}
html.tf-motion .home-showcase__grid .reveal:nth-child(7) {
  transition-delay: 0.4s;
}
html.tf-motion .home-showcase__grid .reveal:nth-child(8) {
  transition-delay: 0.46s;
}

html.tf-motion .home-process__steps .reveal:nth-child(1) {
  transition-delay: 0.04s;
}
html.tf-motion .home-process__steps .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
html.tf-motion .home-process__steps .reveal:nth-child(3) {
  transition-delay: 0.16s;
}
html.tf-motion .home-process__steps .reveal:nth-child(4) {
  transition-delay: 0.22s;
}

html.tf-motion .home-dual__grid .reveal:nth-child(1) {
  transition-delay: 0.06s;
}
html.tf-motion .home-dual__grid .reveal:nth-child(2) {
  transition-delay: 0.14s;
}

html.tf-motion .home-metrics__grid .reveal:nth-child(1) {
  transition-delay: 0.03s;
}
html.tf-motion .home-metrics__grid .reveal:nth-child(2) {
  transition-delay: 0.08s;
}
html.tf-motion .home-metrics__grid .reveal:nth-child(3) {
  transition-delay: 0.13s;
}
html.tf-motion .home-metrics__grid .reveal:nth-child(4) {
  transition-delay: 0.18s;
}

html.tf-motion .home-audience__grid .reveal:nth-child(1) {
  transition-delay: 0.04s;
}
html.tf-motion .home-audience__grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
html.tf-motion .home-audience__grid .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

html.tf-motion .home-faq__list .reveal:nth-child(1) {
  transition-delay: 0.02s;
}
html.tf-motion .home-faq__list .reveal:nth-child(2) {
  transition-delay: 0.06s;
}
html.tf-motion .home-faq__list .reveal:nth-child(3) {
  transition-delay: 0.1s;
}
html.tf-motion .home-faq__list .reveal:nth-child(4) {
  transition-delay: 0.14s;
}
html.tf-motion .home-faq__list .reveal:nth-child(5) {
  transition-delay: 0.18s;
}
html.tf-motion .home-faq__list .reveal:nth-child(6) {
  transition-delay: 0.22s;
}
html.tf-motion .home-faq__list .reveal:nth-child(7) {
  transition-delay: 0.26s;
}
html.tf-motion .home-faq__list .reveal:nth-child(8) {
  transition-delay: 0.3s;
}
html.tf-motion .home-faq__list .reveal:nth-child(9) {
  transition-delay: 0.34s;
}
html.tf-motion .home-faq__list .reveal:nth-child(10) {
  transition-delay: 0.38s;
}

html.tf-motion .home-deliver__grid .reveal:nth-child(1) {
  transition-delay: 0.02s;
}
html.tf-motion .home-deliver__grid .reveal:nth-child(2) {
  transition-delay: 0.05s;
}
html.tf-motion .home-deliver__grid .reveal:nth-child(3) {
  transition-delay: 0.08s;
}
html.tf-motion .home-deliver__grid .reveal:nth-child(4) {
  transition-delay: 0.11s;
}
html.tf-motion .home-deliver__grid .reveal:nth-child(5) {
  transition-delay: 0.14s;
}
html.tf-motion .home-deliver__grid .reveal:nth-child(6) {
  transition-delay: 0.17s;
}
html.tf-motion .home-deliver__grid .reveal:nth-child(7) {
  transition-delay: 0.2s;
}
html.tf-motion .home-deliver__grid .reveal:nth-child(8) {
  transition-delay: 0.23s;
}

html.tf-motion .home-checklist__list .reveal:nth-child(1) {
  transition-delay: 0.02s;
}
html.tf-motion .home-checklist__list .reveal:nth-child(2) {
  transition-delay: 0.05s;
}
html.tf-motion .home-checklist__list .reveal:nth-child(3) {
  transition-delay: 0.08s;
}
html.tf-motion .home-checklist__list .reveal:nth-child(4) {
  transition-delay: 0.11s;
}
html.tf-motion .home-checklist__list .reveal:nth-child(5) {
  transition-delay: 0.14s;
}
html.tf-motion .home-checklist__list .reveal:nth-child(6) {
  transition-delay: 0.17s;
}
html.tf-motion .home-checklist__list .reveal:nth-child(7) {
  transition-delay: 0.2s;
}
html.tf-motion .home-checklist__list .reveal:nth-child(8) {
  transition-delay: 0.23s;
}

html.tf-motion .home-quotes__grid .reveal:nth-child(1) {
  transition-delay: 0.04s;
}
html.tf-motion .home-quotes__grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
html.tf-motion .home-quotes__grid .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

html.tf-motion .home-mini-card.reveal.is-visible:hover {
  transform: translateY(-2px);
}

html.tf-motion .home-dual__card.reveal.is-visible:hover {
  transform: translateY(-3px);
}

.btn {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.btn--primary:hover {
  filter: brightness(1.08);
}

.site-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #22d3ee);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

@keyframes tfFadeUp {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tfHeaderIn {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tfMesh {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: scale(1.06) translate(-1%, 1%);
    opacity: 0.92;
  }
}

@keyframes tfAuroraShift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate(2%, -2%) scale(1.03);
    opacity: 0.95;
  }
  100% {
    transform: translate(-1%, 2%) scale(1.02);
    opacity: 0.8;
  }
}

@keyframes tfTitleShimmer {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

@keyframes tfCtaGlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes tfBounce {
  0%,
  80%,
  100% {
    transform: scale(0.65);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes tfPulse {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 1;
  }
}

.btn--busy {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
}

.btn--busy::after {
  content: "";
  display: inline-block;
  width: 0.9rem;
  height: 0.9rem;
  margin-left: 0.45rem;
  vertical-align: -0.15rem;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  animation: tfSpin 0.65s linear infinite;
}

@keyframes tfSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tf-preloader {
    display: none !important;
  }

  html.tf-ready .tf-header {
    animation: none;
  }

  .hero--cinematic .hero__bg {
    animation: none;
  }

  .home-hero .hero__aurora,
  .home-hero .hero__noise {
    animation: none !important;
    opacity: 0.5;
  }

  .home-hero__title {
    animation: none !important;
  }

  .home-hero__blob,
  .home-hero__scroll-line,
  .home-showcase__title,
  .home-visual__gradient,
  .home-visual__wave,
  .home-marquee__track {
    animation: none !important;
  }

  .home-cta__shine {
    animation: none !important;
  }

  .home-card:hover .home-card__icon {
    transform: none;
  }

  html.tf-ready .hero--cinematic .tf-anim {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  html.tf-motion main .card-grid .card,
  html.tf-motion main .pricing-grid .price-card,
  html.tf-motion main .projekte-card,
  html.tf-motion .cta-band,
  html.tf-motion .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .btn:hover {
    transform: none;
  }

  .card:hover {
    transform: none;
  }
}

/* —— Kundenbereich (Hub) —— */
.hub-page {
  padding-bottom: 3rem;
}

.hub-hero {
  margin-bottom: 2rem;
  padding: 1.75rem 0 0.5rem;
}

.hub-hero__eyebrow {
  margin: 0 0 0.5rem;
}

.hub-hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hub-hero__lead {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.hub-empty {
  padding: 2rem 1.25rem;
  text-align: center;
  border-radius: var(--radius);
  border: 1px dashed var(--line);
  color: var(--muted);
}

.hub-project-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .hub-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .hub-project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hub-tile {
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hub-tile:hover {
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.hub-tile__media {
  aspect-ratio: 16 / 9;
  background: #0c0c10;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hub-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-tile__media--empty {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.hub-tile__body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.hub-tile__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.hub-tile__slug {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.hub-tile__slug code {
  font-size: 0.85em;
}

.hub-tile__actions {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hub-breadcrumb {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hub-breadcrumb a {
  color: var(--accent);
}

.hub-detail__head {
  margin-bottom: 1.5rem;
}

.hub-detail__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
}

.hub-detail__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.hub-detail__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .hub-detail__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

.hub-review-block {
  margin: 0 0 1.75rem;
  padding: 0;
}

.hub-live-layout {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.hub-live-layout__video .hub-review-block {
  margin-bottom: 0;
}

.hub-live-layout__video,
.hub-live-layout__chat {
  min-height: 100%;
}

/* Mobile-first: Chat sichtbar vor dem Review-Block platzieren */
.hub-live-layout__chat {
  order: 1;
}

.hub-live-layout__video {
  order: 2;
}

.hub-live-layout__video .hub-review-block {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.hub-live-layout__video .hub-review-comments {
  margin-top: auto;
}

.hub-review-comments {
  margin-top: 1rem;
}

@media (min-width: 1120px) {
  .hub-live-layout {
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    align-items: stretch;
  }

  .hub-live-layout__video {
    order: 1;
  }

  .hub-live-layout__chat {
    order: 2;
  }

  .hub-live-layout__chat {
    height: 100%;
  }

  .hub-live-layout__video .hub-review-block__title,
  .hub-live-layout__chat .hub-panel__title {
    min-height: 1.4em;
    margin-bottom: 0.35rem;
  }

  .hub-live-layout__video > .hub-review-block > .hub-panel__hint,
  .hub-live-layout__chat .hub-chat-head > .hub-panel__hint {
    min-height: 2.6em;
    margin-bottom: 1rem;
  }

  /* Kopfbereich rechts auf Höhe des YouTube-Blocks links */
  .hub-live-layout__chat .hub-chat-head {
    min-height: clamp(300px, 30vw, 360px);
  }
}

.hub-review-block__title {
  margin-bottom: 0.35rem;
}

.hub-review-block .hub-review-block__layout {
  margin-top: 0.75rem;
}

@media (min-width: 1024px) {
  .hub-review-block--singlecol .review-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hub-panel {
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(20, 20, 24, 0.85);
  padding: 1.15rem 1.2rem 1.35rem;
}

.hub-panel__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.hub-panel__hint {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}

.hub-muted {
  color: var(--muted);
  font-size: 0.875rem;
}

.hub-file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hub-file-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hub-file-list__name {
  font-weight: 500;
  word-break: break-word;
}

.hub-panel--chat {
  display: flex;
  flex-direction: column;
  min-height: 22rem;
}

.hub-chat-head {
  margin-bottom: 0.15rem;
}

.hub-online-state {
  margin: 0.2rem 0 0.8rem;
  font-size: 0.78rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hub-online-state__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #71717a;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hub-online-state.is-online .hub-online-state__dot {
  background: #34d399;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.35), 0 0 10px rgba(52, 211, 153, 0.45);
}

.hub-online-state.is-online .hub-online-state__text {
  color: #86efac;
}

.hub-chat-log {
  flex: 1;
  min-height: 12rem;
  max-height: min(50vh, 28rem);
  overflow-y: auto;
  padding: 0.5rem 0.35rem 0.75rem 0;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.hub-msg {
  max-width: 92%;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hub-msg--self {
  align-self: flex-end;
  background: rgba(129, 140, 248, 0.12);
  border-color: rgba(129, 140, 248, 0.25);
}

.hub-msg__meta {
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.hub-msg__body {
  font-size: 0.9rem;
  word-break: break-word;
}

.hub-msg__seek {
  margin-top: 0.45rem;
  border: 1px solid rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.12);
  color: #a5f3fc;
  border-radius: 999px;
  font: inherit;
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.24rem 0.58rem;
  cursor: pointer;
}

.hub-msg__seek:hover {
  border-color: rgba(34, 211, 238, 0.62);
  background: rgba(34, 211, 238, 0.2);
}

.hub-msg__img {
  margin-top: 0.5rem;
}

.hub-msg__img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.hub-chat-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 4.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  color: var(--fg);
  font: inherit;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.hub-chat-form__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.75rem;
  align-items: flex-end;
  justify-content: space-between;
}

.hub-chat-form__send {
  flex-shrink: 0;
}

.hub-file-pick {
  flex: 1 1 12rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.hub-file-pick__hint {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
}

.hub-file-pick__field {
  display: block;
  margin: 0;
}

/* Nativer Datei-Dialog: dunkles Theme + Button wie UI (kein weißer „Durchsuchen“-Klotz) */
.hub-file-input {
  width: 100%;
  max-width: 100%;
  padding: 0.4rem 0.5rem;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--muted);
  color-scheme: dark;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.hub-file-input::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.45rem 0.95rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(129, 140, 248, 0.4);
  background: linear-gradient(160deg, rgba(129, 140, 248, 0.22), rgba(20, 20, 28, 0.95));
  color: #e8e8ed;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.hub-file-input:hover::file-selector-button {
  border-color: rgba(129, 140, 248, 0.6);
  background: rgba(129, 140, 248, 0.28);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.12);
}

.hub-file-input::-webkit-file-upload-button {
  margin-right: 0.75rem;
  padding: 0.45rem 0.95rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid rgba(129, 140, 248, 0.4);
  background: linear-gradient(160deg, rgba(129, 140, 248, 0.22), rgba(20, 20, 28, 0.95));
  color: #e8e8ed;
  cursor: pointer;
}

.hub-file-input:hover::-webkit-file-upload-button {
  border-color: rgba(129, 140, 248, 0.6);
  background: rgba(129, 140, 248, 0.28);
}

/* —— Ambient: geblurte Partikel (Flat, modern) —— */
.tf-particle-field {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  contain: paint;
}

.tf-particle {
  position: absolute;
  left: var(--tf-p-x, 30%);
  top: var(--tf-p-y, 40%);
  width: clamp(120px, 18vmin, 240px);
  height: clamp(120px, 18vmin, 240px);
  border-radius: 50%;
  filter: blur(52px);
  opacity: 0.42;
  mix-blend-mode: screen;
  will-change: transform;
  animation: tfParticleDrift var(--tf-p-dur, 22s) ease-in-out infinite;
  animation-delay: var(--tf-p-delay, 0s);
}

.tf-particle--accent {
  background: radial-gradient(circle at 38% 32%, color-mix(in srgb, var(--accent) 65%, transparent), transparent 72%);
}

.tf-particle--cyan {
  background: radial-gradient(circle at 62% 48%, rgba(34, 211, 238, 0.45), transparent 70%);
  opacity: 0.35;
}

.tf-particle--violet {
  background: radial-gradient(circle at 45% 55%, rgba(167, 139, 250, 0.42), transparent 68%);
}

@keyframes tfParticleDrift {
  0%,
  100% {
    transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(1);
  }
  20% {
    transform: translate(-50%, -50%) translate3d(6vw, -5vh, 0) scale(1.08);
  }
  45% {
    transform: translate(-50%, -50%) translate3d(-5vw, 4vh, 0) scale(0.94);
  }
  70% {
    transform: translate(-50%, -50%) translate3d(4vw, 7vh, 0) scale(1.05);
  }
}

.tf-particle:nth-child(3n) {
  animation-name: tfParticleDriftAlt;
}

@keyframes tfParticleDriftAlt {
  0%,
  100% {
    transform: translate(-50%, -50%) translate3d(0, 0, 0) scale(1);
  }
  25% {
    transform: translate(-50%, -50%) translate3d(-7vw, 6vh, 0) scale(1.06);
  }
  55% {
    transform: translate(-50%, -50%) translate3d(8vw, -4vh, 0) scale(0.92);
  }
  80% {
    transform: translate(-50%, -50%) translate3d(-3vw, -6vh, 0) scale(1.03);
  }
}

@media (max-width: 768px) {
  .tf-particle {
    filter: blur(40px);
    opacity: 0.32;
  }

  .tf-particle:nth-child(n + 10) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tf-particle {
    animation: none !important;
    opacity: 0.14;
    filter: blur(36px);
  }

  .tf-particle:nth-child(n + 7) {
    display: none;
  }
}

/* Buttons: etwas mehr Flat-Punch */
@media (prefers-reduced-motion: no-preference) {
  html.tf-motion .btn {
    transition:
      transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.22s ease,
      filter 0.2s ease,
      background 0.2s ease,
      border-color 0.2s ease;
  }

  html.tf-motion .btn:active:not(:disabled) {
    transform: translateY(1px) scale(0.98);
  }

  html.tf-motion .btn--primary {
    box-shadow: 0 4px 20px color-mix(in srgb, var(--accent) 28%, transparent);
  }

  html.tf-motion .btn--primary:hover {
    box-shadow: 0 8px 28px color-mix(in srgb, var(--accent) 35%, transparent);
  }
}

/* Preisrechner: mehr Leben */
@media (prefers-reduced-motion: no-preference) {
  html.tf-motion .tf-price-calc {
    transition:
      transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.45s ease,
      border-color 0.35s ease;
  }

  html.tf-motion .tf-price-calc:hover {
    transform: translateY(-2px);
    box-shadow:
      0 0 0 1px rgba(129, 140, 248, 0.28),
      0 20px 56px rgba(0, 0, 0, 0.5),
      0 0 80px color-mix(in srgb, var(--accent) 18%, transparent);
  }

  html.tf-motion .tf-price-calc__tab {
    transition:
      transform 0.2s ease,
      border-color 0.25s ease,
      background 0.25s ease,
      box-shadow 0.25s ease;
  }

  html.tf-motion .tf-price-calc__tab:active {
    transform: scale(0.97);
  }

  html.tf-motion .tf-price-calc__glow {
    animation-duration: 9s;
  }
}

/* Hauptnavigation: dezentes Einblenden nach Ready */
@media (prefers-reduced-motion: no-preference) {
  html.tf-ready.tf-motion .site-nav a {
    animation: tfNavFade 0.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }

  html.tf-ready.tf-motion .site-nav a:nth-child(1) {
    animation-delay: 0.05s;
  }
  html.tf-ready.tf-motion .site-nav a:nth-child(2) {
    animation-delay: 0.1s;
  }
  html.tf-ready.tf-motion .site-nav a:nth-child(3) {
    animation-delay: 0.15s;
  }
  html.tf-ready.tf-motion .site-nav a:nth-child(4) {
    animation-delay: 0.2s;
  }
  html.tf-ready.tf-motion .site-nav a:nth-child(5) {
    animation-delay: 0.25s;
  }
  html.tf-ready.tf-motion .site-nav a:nth-child(6) {
    animation-delay: 0.3s;
  }
  html.tf-ready.tf-motion .site-nav a:nth-child(7) {
    animation-delay: 0.35s;
  }
  html.tf-ready.tf-motion .site-nav a:nth-child(8) {
    animation-delay: 0.4s;
  }
}

@keyframes tfNavFade {
  from {
    transform: translateY(-7px);
  }
  to {
    transform: translateY(0);
  }
}

/*
 * Schmale Viewports: Verlaufstext (background-clip) als heller Vollton —
 * auf iOS/WebKit wirken Zahlen/Überschriften sonst oft dunkel auf dunklem Grund.
 */
@media (max-width: 767px) {
  .tf-price-calc__amount,
  .studio-chat-hero__title,
  .studio-hero__eyebrow,
  .studio-hero__title,
  .projekte-hero__eyebrow,
  .projekte-hero__title,
  .konto-page .konto-card__title,
  .konto-page h1,
  .kontakt-hero__eyebrow,
  .kontakt-hero__title {
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
    background: none;
    background-image: none;
    background-size: auto;
    -webkit-background-clip: unset;
    background-clip: unset;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  }

  .tf-price-calc__currency {
    color: #f4f4f5;
    -webkit-text-fill-color: #f4f4f5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
  }

  .tf-price-calc__ticks {
    font-size: 0.7rem;
    opacity: 1;
    color: #c4c4cc;
  }
}

@media (max-width: 480px) {
  .tf-particle-field,
  .home-hero__blobs,
  .home-hero__scroll-hint {
    display: none;
  }

  .home-hero .hero__video-wrap {
    opacity: 0.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .tf-particle-field,
  .tf-preloader__spinner span,
  .tf-preloader__text,
  .hero__aurora,
  .hero__bg,
  .home-hero__title {
    animation: none !important;
  }
}
