/* ==========================================================================
   Plancall — Stylesheet
   ========================================================================== */

/* ---------- Design Tokens ------------------------------------------------ */
:root {
  --color-primary: #4f46e5;
  --color-primary-strong: #4338ca;
  --color-primary-soft: #eef2ff;
  --color-accent: #14b8a6;
  --color-accent-2: #34d399;

  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-surface-2: #f1f5f9;
  --color-text: #0f172a;
  --color-text-muted: #475569;
  --color-text-soft: #64748b;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;

  --color-dark-bg: #0b1020;
  --color-dark-surface: #111833;

  --shadow-sm:
    0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md:
    0 4px 6px -2px rgba(15, 23, 42, 0.05),
    0 12px 24px -8px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 60px -16px rgba(79, 70, 229, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6.5rem;

  --font-base:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  --container-max: 1200px;
  --header-h: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
}

/* ---------- Reset & Base ------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video,
audio {
  max-width: 100%;
  display: block;
}
img {
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}
a:hover {
  color: var(--color-primary-strong);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-text);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
}
h1 {
  font-size: clamp(2rem, 4.6vw + 0.2rem, 3.6rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.7rem, 2.8vw + 0.2rem, 2.4rem);
  font-weight: 700;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
}
p {
  margin: 0 0 var(--space-sm);
  color: var(--color-text-muted);
}

ul {
  padding-left: 1.2rem;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--color-primary);
  color: #fff;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-text);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 999;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ---------- Layout ------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

section {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.section {
  padding-block: var(--space-2xl);
}
.section--surface {
  background: var(--color-surface);
}
.section--dark {
  background: linear-gradient(160deg, #0b1020 0%, #1e1b4b 100%);
  color: #e2e8f0;
}
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section--dark p {
  color: #cbd5e1;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-xl);
}
.section-head__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  background: var(--color-primary-soft);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}
.section--dark .section-head__eyebrow {
  background: rgba(129, 140, 248, 0.15);
  color: #a5b4fc;
}
.section-head__eyebrow--light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ---------- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease-out),
    background-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    color 0.2s var(--ease-out);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  background: var(--color-primary-strong);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn--ghost:hover {
  background: var(--color-surface);
  color: var(--color-text);
}

.btn--secondary {
  background: var(--color-surface-2);
  color: var(--color-text);
  border-color: var(--color-border-strong);
}
.btn--secondary:hover {
  background: var(--color-border);
  color: var(--color-text);
}

.btn--light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--light:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ---------- Header ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}
.site-header.is-scrolled {
  border-color: var(--color-border);
  box-shadow: 0 4px 12px -8px rgba(15, 23, 42, 0.12);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  height: var(--header-h);
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.site-header__logo img {
  height: 50px;
  width: auto;
  display: block;
}

.site-header__cta {
  display: none;
}
@media (min-width: 768px) {
  .site-header__cta {
    display: inline-flex;
    margin-left: auto;
  }
}

.site-nav {
  margin-left: auto;
}
.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  gap: var(--space-md);
}
.site-nav__list a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.4rem 0.2rem;
  position: relative;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}
.site-nav__list a:hover::after {
  transform: scaleX(1);
}

.site-nav__toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-left: auto;
}
.site-nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  transition:
    transform 0.25s var(--ease-out),
    opacity 0.2s var(--ease-out);
}
.site-nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.site-nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .site-nav__toggle {
    display: none;
  }
  .site-nav {
    margin-left: 0;
  }
  .site-nav__list {
    display: flex;
    margin-right: var(--space-md);
  }
  .site-header__inner > .site-nav {
    margin-left: auto;
  }
}

/* Mobile menu */
@media (max-width: 1023.98px) {
  .site-nav__list {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    gap: 0;
    padding: var(--space-sm) var(--space-md) var(--space-md);
  }
  .site-nav__list li {
    border-bottom: 1px solid var(--color-border);
  }
  .site-nav__list li:last-child {
    border-bottom: 0;
  }
  .site-nav__list a {
    display: block;
    padding: 0.85rem 0.2rem;
  }
  .site-nav.is-open .site-nav__list {
    display: flex;
  }
}

/* ---------- Hero --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(
      1200px 600px at 110% -10%,
      rgba(124, 58, 237, 0.12),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at -10% 30%,
      rgba(20, 184, 166, 0.1),
      transparent 60%
    ),
    linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}
.hero .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}
.hero__grid {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
  width: 100%;
}
@media (min-width: 1024px) {
  .hero .container {
    flex-direction: row;
    padding-top: 0;
    padding-bottom: 0;
  }
  .hero__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
  }
  .hero__visual {
    justify-self: end;
  }
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-primary);
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-md);
}
.hero__eyebrow .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-2);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: pulse 2s var(--ease-out) infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}
.hero__title {
  font-size: clamp(2.2rem, 5vw + 0.2rem, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(
    120deg,
    var(--color-primary) 0%,
    #7c3aed 60%,
    var(--color-accent) 110%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: var(--space-lg);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.hero__trust {
  margin-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: 0.9rem;
  color: var(--color-text-soft);
}
.hero__trust strong {
  color: var(--color-text);
  font-weight: 700;
}

/* Hero Visual: phone mock */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 360px;
  width: 100%;
  justify-self: center;
  margin-inline: auto;
}
@media (min-width: 1024px) {
  .hero__visual {
    max-width: 480px;
    justify-self: end;
    margin-inline: auto 0;
  }
}
.phone-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  width: min(100%, 340px);
  margin-inline: auto 0;
  margin-right: 0;
}
.phone-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-md);
}
.phone-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}
.phone-card__name {
  font-weight: 700;
}
.phone-card__status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--color-accent);
  font-weight: 600;
}
.phone-card__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-accent-2);
}

/* --- Caller info row --- */
.call-caller {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.9rem;
  margin-bottom: var(--space-sm);
}
.call-caller__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.call-caller__info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.call-caller__name {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 500;
}
.call-caller__number {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.call-caller__badge {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: #ef4444;
  color: #fff;
  padding: 2px 7px;
  border-radius: 99px;
  animation: pulse-badge 1.6s ease-in-out infinite;
}
@keyframes pulse-badge {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

/* --- Waveform wrap --- */
.call-wave-wrap {
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  margin-bottom: var(--space-sm);
}
.call-wave-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.5rem;
}
.phone-card__waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 36px;
}
.phone-card__waveform span {
  display: block;
  width: 3px;
  height: 32px;
  background: var(--color-primary);
  border-radius: 2px;
  transform: scaleY(0.15);
  transform-origin: center;
  animation: wave 1.2s ease-in-out infinite;
  will-change: transform;
}
.phone-card__waveform span:nth-child(1) {
  animation-delay: 0s;
}
.phone-card__waveform span:nth-child(2) {
  animation-delay: 0.08s;
}
.phone-card__waveform span:nth-child(3) {
  animation-delay: 0.16s;
}
.phone-card__waveform span:nth-child(4) {
  animation-delay: 0.24s;
}
.phone-card__waveform span:nth-child(5) {
  animation-delay: 0.32s;
}
.phone-card__waveform span:nth-child(6) {
  animation-delay: 0.4s;
}
.phone-card__waveform span:nth-child(7) {
  animation-delay: 0.48s;
}
.phone-card__waveform span:nth-child(8) {
  animation-delay: 0.56s;
}
.phone-card__waveform span:nth-child(9) {
  animation-delay: 0.64s;
}
.phone-card__waveform span:nth-child(10) {
  animation-delay: 0.72s;
}
.phone-card__waveform span:nth-child(11) {
  animation-delay: 0.8s;
}
.phone-card__waveform span:nth-child(12) {
  animation-delay: 0.88s;
}
.phone-card__waveform span:nth-child(13) {
  animation-delay: 0.96s;
}
.phone-card__waveform span:nth-child(14) {
  animation-delay: 0.04s;
}
.phone-card__waveform span:nth-child(15) {
  animation-delay: 0.12s;
}
@keyframes wave {
  0%,
  100% {
    transform: scaleY(0.15);
  }
  50% {
    transform: scaleY(1);
  }
}

/* --- Action tags row --- */
.call-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.call-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.7rem;
  border-radius: 99px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}
.call-tag--active {
  background: var(--color-primary-soft);
  border-color: var(--color-primary);
  color: var(--color-primary);
  animation: tag-pulse 2s ease-in-out infinite;
}
@keyframes tag-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.25);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0);
  }
}

.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.float-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--color-primary-soft);
  color: var(--color-primary);
}
.float-card__icon--success {
  background: #ecfdf5;
  color: #059669;
}
.float-card__big {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  display: block;
}
.float-card__sub {
  color: var(--color-text-soft);
  font-size: 0.75rem;
}
.float-card--top {
  top: 6%;
  left: -6%;
  transform: rotate(-3deg);
}
.float-card--bottom {
  bottom: 4%;
  right: 2%;
  transform: rotate(2deg);
}
@media (max-width: 640px) {
  .float-card--top {
    left: 0;
  }
  .float-card--bottom {
    right: 0;
  }
}

/* ---------- Features Grid ----------------------------------------------- */
.features {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition:
    transform 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-soft);
  box-shadow: var(--shadow-md);
}
.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--color-primary-soft), #fff);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  margin-bottom: var(--space-sm);
}
.feature-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}
.feature-card p {
  margin: 0;
  font-size: 0.92rem;
}

/* ---------- How it works ------------------------------------------------- */
.steps {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
  counter-reset: step;
  list-style: none;
  padding: 0;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.step {
  position: relative;
  padding: var(--space-md);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  position: absolute;
  top: -16px;
  left: var(--space-md);
  background: var(--color-primary);
  color: #fff;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.step h3 {
  margin-top: 0.5rem;
}

/* ---------- Branchen ----------------------------------------------------- */
.industries {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .industries {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .industries {
    grid-template-columns: repeat(3, 1fr);
  }
}

.industry-card {
  position: relative;
  padding: var(--space-md);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}
.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.industry-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(
    circle,
    var(--color-primary-soft) 0%,
    transparent 70%
  );
  z-index: 0;
}
.industry-card__icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
.industry-card h3,
.industry-card p {
  position: relative;
  z-index: 1;
}

/* ---------- Beispielgespräch (Audio) ------------------------------------ */
.demo {
  background: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 60%, #7c3aed 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.demo::before,
.demo::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.demo::before {
  width: 320px;
  height: 320px;
  top: -120px;
  left: -100px;
}
.demo::after {
  width: 240px;
  height: 240px;
  bottom: -80px;
  right: -60px;
}
.demo > * {
  position: relative;
  z-index: 1;
}
.demo h2 {
  color: #fff;
}
.demo p {
  color: #c7d2fe;
  max-width: 540px;
  margin-inline: auto;
}

.audio-player {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  max-width: 600px;
  margin: var(--space-lg) auto 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 0.6rem 0.8rem;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.audio-player__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  border: 0;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
  box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.3);
}
.audio-player__btn:hover {
  transform: scale(1.05);
}
.audio-player__btn svg {
  width: 22px;
  height: 22px;
}

.audio-player__bar {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.audio-player__progress {
  position: absolute;
  inset: 0 100% 0 0;
  background: linear-gradient(90deg, var(--color-accent-2), #fff);
  border-radius: var(--radius-pill);
  transition: right 0.1s linear;
}
.audio-player__time {
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  min-width: 88px;
  text-align: right;
}

/* ---------- Dashboard Mock ---------------------------------------------- */
.dashboard-mock {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .dashboard-mock {
    grid-template-columns: repeat(3, 1fr);
  }
}
.metric {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}
.metric__label {
  color: var(--color-text-soft);
  font-size: 0.85rem;
}
.metric__value {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.metric__delta {
  color: var(--color-accent);
  font-weight: 600;
  font-size: 0.85rem;
}
.metric__delta--down {
  color: #dc2626;
}

/* ---------- Angebot ------------------------------------------------------ */
.offer {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .offer {
    grid-template-columns: repeat(3, 1fr);
  }
}
.offer-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: left;
}
.offer-card__num {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.cta-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, #7c3aed 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  margin-top: var(--space-xl);
}
.cta-card h2 {
  color: #fff;
}
.cta-card p {
  color: rgba(255, 255, 255, 0.85);
}
.cta-card .btn {
  background: #fff;
  color: var(--color-primary);
}
.cta-card .btn:hover {
  background: var(--color-surface);
  color: var(--color-primary-strong);
}

/* ---------- FAQ ---------------------------------------------------------- */
.faq {
  max-width: 820px;
  margin-inline: auto;
}
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  transition: border-color 0.2s var(--ease-out);
}
.faq details[open] {
  border-color: var(--color-primary);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--color-text);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform 0.25s var(--ease-out);
}
.faq details[open] summary::after {
  content: "−";
}
.faq__body {
  padding: 0 1.25rem 1.1rem;
  color: var(--color-text-muted);
}

/* ---------- Über uns ----------------------------------------------------- */
.about__grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .about__grid {
    padding: 0;
    overflow: hidden;
  }
  .about__grid > div:first-child {
    padding: 0 var(--space-sm);
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .about__grid h2 {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
    line-height: 1.3;
  }
  .about__grid p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  .stats {
    grid-template-columns: 1fr !important;
    gap: var(--space-sm);
    padding: 0 var(--space-sm);
  }
  .stat {
    padding: var(--space-sm) var(--space-md);
    width: 100%;
    box-sizing: border-box;
  }
}
.stats {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: center;
}
.stat__value {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, #a5b4fc, #6ee7b7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}
.stat__label {
  color: #cbd5e1;
  font-size: 0.85rem;
}

/* ---------- Kontakt ------------------------------------------------------ */
.contact__grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .contact__grid {
    grid-template-columns: 1fr 1.4fr;
  }
}

.contact__info {
  padding: var(--space-md) 0;
}
.contact__channel {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: var(--space-md);
}
.contact__channel-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary);
  display: grid;
  place-items: center;
}
.contact__channel-label {
  font-size: 0.8rem;
  color: var(--color-text-soft);
  margin-bottom: 0.15rem;
}
.contact__channel-value {
  font-weight: 600;
  color: var(--color-text);
}
.contact__channel-value a {
  color: var(--color-text);
}

/* Form */
.form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: grid;
  gap: var(--space-md);
}
.form__row {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form__field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text);
}
.form__field input,
.form__field textarea {
  font: inherit;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-text);
  transition:
    border-color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}
.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-soft);
}
.form__field textarea {
  min-height: 140px;
  resize: vertical;
}
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.form__check input {
  margin-top: 0.25rem;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
  white-space: nowrap;
  border: 0;
}

.form__status {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
}
.form__status[data-state="success"] {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form__status[data-state="error"] {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.btn--form-submit {
  justify-self: start;
}

/* ---------- Footer ------------------------------------------------------- */
.site-footer {
  background: var(--color-dark-bg);
  color: #cbd5e1;
  padding: var(--space-2xl) 0 var(--space-md);
  margin-top: var(--space-2xl);
}
.site-footer__inner {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 1.2fr 2fr;
  }
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
}
.site-footer__brand-logo {
  display: inline-flex;
  align-items: center;
}
.site-footer__brand img {
  height: 47px;
  width: auto;
  display: block;
}
.site-footer__claim {
  color: #94a3b8;
  max-width: 360px;
  margin-top: var(--space-sm);
}
.site-footer__nav {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .site-footer__nav {
    grid-template-columns: repeat(4, 1fr);
  }
}
.site-footer__nav h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: var(--space-sm);
}
.site-footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer__nav li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.site-footer__nav a {
  color: #cbd5e1;
}
.site-footer__nav a:hover {
  color: #fff;
}
.site-footer__bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-sm);
  font-size: 0.85rem;
  color: #94a3b8;
}
.site-footer__bottom a {
  color: #cbd5e1;
}

/* ---------- To Top ------------------------------------------------------- */
.to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--color-primary);
  color: #fff;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.25s var(--ease-out),
    transform 0.25s var(--ease-out),
    background-color 0.2s var(--ease-out);
  z-index: 40;
}
.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--color-primary-strong);
}
.to-top[hidden] {
  display: none;
}

/* ---------- Reveal animation -------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s var(--ease-out),
    transform 0.6s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Legal pages -------------------------------------------------- */
.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) var(--space-2xl);
}
.legal h1 {
  margin-bottom: var(--space-lg);
}
.legal h2 {
  margin-top: var(--space-xl);
  font-size: 1.4rem;
}
.legal p,
.legal li {
  color: var(--color-text-muted);
}
@media (max-width: 767px) {
  .legal {
    padding-left: var(--space-sm);
    padding-right: var(--space-sm);
  }
  .legal h1,
  .legal h2 {
    text-align: center;
  }
  .legal p,
  .legal ul {
    text-align: center;
  }
  .legal ul {
    list-style: none;
    padding: 0;
  }
}

/* ---------- Error pages -------------------------------------------------- */
.error-page {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: grid;
  place-items: center;
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}
.error-page__desc {
  max-width: 480px;
  margin: 0 auto 1.5rem;
}
.error-page__code {
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, var(--color-primary), #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

/* ---------- Cookie-Banner ------------------------------------------------ */
.cookie-banner {
  position: fixed;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + var(--space-md)));
  z-index: 9000;
  width: min(640px, calc(100vw - var(--space-lg)));
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md) var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.35s var(--ease-out),
    opacity 0.35s var(--ease-out);
}

.cookie-banner.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.cookie-banner__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-2xs);
}

.cookie-banner__text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-md);
}

.cookie-banner__link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-2xs);
  justify-content: flex-end;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: var(--space-sm) var(--space-md);
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: translateY(100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  .cookie-banner.is-visible {
    transform: translateY(0);
  }

  .cookie-banner__actions {
    flex-direction: column-reverse;
  }

  .cookie-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Reduced motion ---------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Print styles ------------------------------------------------- */
@media print {
  .site-header,
  .site-nav,
  .cookie-banner,
  .to-top,
  .btn,
  .audio-player,
  .hero__cta,
  .site-footer__nav {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #555;
  }

  a[href^="mailto"]::after,
  a[href^="tel"]::after,
  a[href^="#"]::after {
    content: none;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  img {
    max-width: 100%;
    page-break-inside: avoid;
  }
}
