/* ==========================================================================
   SITORO — Design-System
   Professionelle Websites & KI-Chatbots
   ========================================================================== */

/* ---------- Schrift (lokal gehostet, DSGVO-konform) ---------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
}

/* ---------- Design-Tokens ---------- */
:root {
  --ink: #0a0a0a;
  --ink-2: #52525b;
  --ink-3: #8e8e99;
  --line: #e6e6ea;
  --line-soft: #f0f0f3;
  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --accent: #2563eb;
  --accent-strong: #1d4ed8;
  --accent-2: #3b82f6;
  --accent-soft: #eef4ff;
  --accent-border: #c9dbff;
  --success: #16a34a;
  --error: #dc2626;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --shadow-sm: 0 1px 2px rgba(10, 10, 10, 0.05);
  --shadow-md: 0 10px 30px -12px rgba(10, 10, 10, 0.16);
  --shadow-lg: 0 24px 60px -20px rgba(10, 10, 10, 0.24);
  --shadow-ring: 0 0 0 4px rgba(37, 99, 235, 0.13);

  --nav-h: 74px;
  --container: 1180px;
  --sec-pad: clamp(76px, 9vw, 128px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

section { padding-block: var(--sec-pad); }
.section-alt { background: var(--bg-soft); }

/* ---------- Typografie-Bausteine ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-2);
}

.accent-text { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(37, 99, 235, 0.55);
}
.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(37, 99, 235, 0.6);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--ink);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-lg { padding: 17px 32px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.nav.scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px -18px rgba(10, 10, 10, 0.25);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; color: var(--ink); }
.logo svg { height: 28px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links a {
  position: relative;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color 0.18s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 10px;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.2s, top 0.25s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  overflow-y: auto;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a:not(.btn) {
  font-size: 19px;
  font-weight: 600;
  padding: 13px 6px;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 22px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(72px, 9vw, 120px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(52rem 30rem at 82% -12%, rgba(37, 99, 235, 0.09), transparent 60%),
    radial-gradient(40rem 26rem at -10% 30%, rgba(37, 99, 235, 0.05), transparent 60%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 10, 10, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(58rem 34rem at 70% 0%, #000 20%, transparent 72%);
  mask-image: radial-gradient(58rem 34rem at 70% 0%, #000 20%, transparent 72%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(2.35rem, 5vw, 3.9rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.033em;
}
.hero h1 .grad {
  background: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 22px;
  max-width: 54ch;
  font-size: clamp(16.5px, 1.5vw, 18.5px);
  color: var(--ink-2);
}

.hero-cta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-trust {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* --- Hero-Visualisierung --- */
.hero-visual {
  position: relative;
  min-height: 460px;
}

.mock-browser {
  position: relative;
  margin-left: auto;
  width: min(520px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: float-a 7s ease-in-out infinite;
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.mock-dots i:nth-child(1) { background: #fca5a5; }
.mock-dots i:nth-child(2) { background: #fcd34d; }
.mock-dots i:nth-child(3) { background: #86efac; }
.mock-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 12px;
  border-radius: 8px;
  background: var(--bg-soft);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
}
.mock-url svg { width: 11px; height: 11px; color: var(--success); }

.mock-body {
  display: grid;
  grid-template-columns: 132px 1fr;
}
.mock-side {
  border-right: 1px solid var(--line-soft);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-side .s-logo {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
}
.mock-side .s-logo svg { width: 14px; height: 14px; }
.mock-side .s-item {
  height: 9px;
  border-radius: 5px;
  background: var(--line-soft);
}
.mock-side .s-item.on { background: var(--accent-soft); position: relative; }
.mock-side .s-item.on::before {
  content: "";
  position: absolute;
  inset: 0 40% 0 0;
  border-radius: 5px;
  background: var(--accent);
  opacity: 0.85;
}

.mock-main { padding: 18px 18px 22px; }
.mock-title { height: 13px; width: 46%; border-radius: 6px; background: var(--ink); opacity: 0.88; }
.mock-sub { margin-top: 9px; height: 9px; width: 68%; border-radius: 5px; background: var(--line); }

.mock-stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mock-stat {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 10px 12px;
}
.mock-stat b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.mock-stat span { display: block; margin-top: 2px; font-size: 10.5px; color: var(--ink-3); }
.mock-stat .up { color: var(--success); font-size: 10.5px; font-weight: 600; }

.mock-chart {
  margin-top: 16px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 86px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
}
.mock-chart i {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  opacity: 0.9;
  transform-origin: bottom;
  animation: bar-grow 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.mock-chart i:nth-child(2n) { background: var(--accent-soft); }
.mock-chart i:nth-child(1) { height: 34%; animation-delay: 0.15s; }
.mock-chart i:nth-child(2) { height: 48%; animation-delay: 0.25s; }
.mock-chart i:nth-child(3) { height: 42%; animation-delay: 0.35s; }
.mock-chart i:nth-child(4) { height: 62%; animation-delay: 0.45s; }
.mock-chart i:nth-child(5) { height: 55%; animation-delay: 0.55s; }
.mock-chart i:nth-child(6) { height: 78%; animation-delay: 0.65s; }
.mock-chart i:nth-child(7) { height: 92%; animation-delay: 0.75s; }

/* Chat-Karte */
.chat-card {
  position: absolute;
  left: 0;
  bottom: 8px;
  width: min(272px, 78%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: float-b 8s ease-in-out infinite;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--ink);
  color: #fff;
}
.chat-avatar {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent);
  display: grid;
  place-items: center;
  flex: none;
}
.chat-avatar svg { width: 15px; height: 15px; }
.chat-head b { font-size: 13px; font-weight: 600; display: block; line-height: 1.2; }
.chat-head span {
  font-size: 11px;
  color: #a7f3d0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.chat-head span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}
.chat-msgs { padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.chat-msgs .m {
  max-width: 86%;
  padding: 9px 12px;
  border-radius: 13px;
  font-size: 12.5px;
  line-height: 1.45;
}
.chat-msgs .m.bot {
  align-self: flex-start;
  background: var(--bg-soft);
  border-bottom-left-radius: 4px;
}
.chat-msgs .m.user {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 4px;
  padding: 11px 13px;
  background: var(--bg-soft);
  border-radius: 13px;
  border-bottom-left-radius: 4px;
}
.chat-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: typing 1.3s ease-in-out infinite;
}
.chat-typing i:nth-child(2) { animation-delay: 0.18s; }
.chat-typing i:nth-child(3) { animation-delay: 0.36s; }

/* Schwebende Chips */
.hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.hero-chip svg { width: 15px; height: 15px; color: var(--accent); }
.chip-1 { top: -14px; right: 24px; animation: float-b 6.5s ease-in-out infinite; }
.chip-2 { top: 42%; right: -10px; animation: float-a 7.5s ease-in-out 0.6s infinite; }

@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}
@keyframes bar-grow {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* ---------- Leistungen ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.service-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: clamp(28px, 4vw, 42px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.22s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.service-icon svg { width: 25px; height: 25px; }

.service-card h3 {
  margin-top: 22px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.service-card > p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }

.feature-list {
  margin-top: 24px;
  display: grid;
  gap: 11px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14.5px;
  font-weight: 500;
}
.feature-list svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--accent);
}

/* ---------- Warum Sitoro ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.why-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.why-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}
.why-tile .why-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.why-tile .why-icon svg { width: 20px; height: 20px; }
.why-tile h3 { margin-top: 16px; font-size: 16px; font-weight: 650; }
.why-tile p { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); }

/* ---------- Portfolio ---------- */
.work-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-3);
}
.work-note svg { width: 15px; height: 15px; flex: none; }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.work-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.work-preview {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 26px 26px 0;
}
.work-preview .mini {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 18px 40px -18px rgba(10, 10, 10, 0.4);
  overflow: hidden;
  transform: translateY(6px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.work-card:hover .mini { transform: translateY(0) scale(1.02); }

.mini-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
}
.mini-nav .mn-logo { height: 7px; width: 34px; border-radius: 4px; }
.mini-nav .mn-l { height: 4px; width: 14px; border-radius: 3px; background: rgba(0, 0, 0, 0.14); margin-left: auto; }
.mini-nav .mn-l + .mn-l { margin-left: 0; }
.mini-hero { padding: 12px 10px 14px; }
.mini-hero .mh-t { height: 8px; width: 62%; border-radius: 4px; }
.mini-hero .mh-s { height: 5px; width: 78%; border-radius: 3px; background: rgba(0, 0, 0, 0.12); margin-top: 6px; }
.mini-hero .mh-b { height: 9px; width: 34px; border-radius: 5px; margin-top: 9px; }
.mini-cards { display: flex; gap: 6px; padding: 0 10px 12px; }
.mini-cards i { flex: 1; height: 26px; border-radius: 5px; background: rgba(0, 0, 0, 0.07); }

.work-open {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 10, 0.34);
  opacity: 0;
  transition: opacity 0.25s;
}
.work-card:hover .work-open { opacity: 1; }
.work-open span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  transform: translateY(6px);
  transition: transform 0.25s;
}
.work-card:hover .work-open span { transform: none; }
.work-open svg { width: 15px; height: 15px; }

.work-body { padding: 20px 22px 24px; }
.work-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 4px 11px;
}
.work-body h3 { margin-top: 12px; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.work-body p { margin-top: 7px; font-size: 14px; color: var(--ink-2); }
.work-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10, 10, 10, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 999px;
}

/* Themen der Portfolio-Vorschauen */
.wp-restaurant { background: linear-gradient(135deg, #7f1d1d, #b45309); }
.wp-restaurant .mn-logo, .wp-restaurant .mh-t { background: #9a3412; }
.wp-restaurant .mh-b { background: #b45309; }
.wp-friseur { background: linear-gradient(135deg, #831843, #be185d); }
.wp-friseur .mn-logo, .wp-friseur .mh-t { background: #9d174d; }
.wp-friseur .mh-b { background: #0a0a0a; }
.wp-handwerk { background: linear-gradient(135deg, #1e3a5f, #0f2542); }
.wp-handwerk .mn-logo, .wp-handwerk .mh-t { background: #1e3a5f; }
.wp-handwerk .mh-b { background: #ea731d; }
.wp-immobilien { background: linear-gradient(135deg, #14342b, #1f5443); }
.wp-immobilien .mn-logo, .wp-immobilien .mh-t { background: #1f5443; }
.wp-immobilien .mh-b { background: #b98a2f; }
.wp-fitness { background: linear-gradient(135deg, #111113, #2c2c31); }
.wp-fitness .mn-logo, .wp-fitness .mh-t { background: #222226; }
.wp-fitness .mh-b { background: #a3e635; }

/* ---------- Preise ---------- */
.price-group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 54px 0 22px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.price-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.price-group-title:first-of-type { margin-top: 0; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.price-grid.two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 800px;
}

.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}
.price-card.featured {
  border: 2px solid var(--accent);
  box-shadow: 0 18px 44px -20px rgba(37, 99, 235, 0.4);
}
.price-pop {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 17px; font-weight: 700; }
.price-card .p-desc { margin-top: 5px; font-size: 13.5px; color: var(--ink-2); min-height: 2.6em; }
.p-price { margin-top: 18px; display: flex; align-items: baseline; gap: 7px; }
.p-price b { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.p-price span { font-size: 13.5px; color: var(--ink-3); font-weight: 500; }
.price-card .feature-list { margin-top: 20px; margin-bottom: 26px; gap: 9px; }
.price-card .feature-list li { font-size: 13.8px; }
.price-card .btn { margin-top: auto; }

/* Kombi-Pakete */
.combo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.combo-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.combo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}
.combo-card h4 { font-size: 14.5px; font-weight: 650; line-height: 1.4; min-height: 2.8em; }
.combo-price { margin-top: 12px; display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.combo-price b { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; }
.combo-price s { font-size: 13.5px; color: var(--ink-3); }
.combo-save {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 650;
  color: var(--success);
  background: #ecfdf3;
  border-radius: 999px;
  padding: 3px 10px;
}
.price-note {
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* ---------- Preisrechner ---------- */
.calc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}
.calc-left { padding: clamp(26px, 4vw, 44px); }
.calc-left h3 { font-size: 15px; font-weight: 650; margin-bottom: 16px; }
.calc-left .group + .group { margin-top: 34px; }

.circle-row { display: flex; gap: 16px; flex-wrap: wrap; }
.circle {
  position: relative;
  display: block;
  cursor: pointer;
}
.circle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.circle-face {
  position: relative;
  width: clamp(100px, 10vw, 122px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
  padding: 12px;
  transition: border-color 0.18s, background-color 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.circle:hover .circle-face {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.circle b { font-size: 13.5px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.circle .cp { font-size: 12.5px; font-weight: 650; color: var(--accent-strong); }
.circle input:checked + .circle-face {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(37, 99, 235, 0.6);
}
.circle input:checked + .circle-face .cp { color: #dbeafe; }
.circle input:checked + .circle-face::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/13px no-repeat;
  box-shadow: 0 4px 10px rgba(10, 10, 10, 0.22);
}
.circle input:focus-visible + .circle-face { outline: 2px solid var(--accent); outline-offset: 3px; }

.calc-right {
  background: var(--ink);
  color: #fff;
  padding: clamp(26px, 4vw, 44px);
  display: flex;
  flex-direction: column;
}
.calc-right .sum-label { font-size: 13px; font-weight: 550; color: #b9b9c2; text-transform: uppercase; letter-spacing: 0.08em; }
.calc-total { margin-top: 8px; display: flex; align-items: baseline; gap: 9px; }
.calc-total b { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.calc-total span { font-size: 14px; color: #b9b9c2; }
.calc-lines { margin-top: 18px; display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.calc-lines li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; color: #d6d6dd; }
.calc-lines li b { color: #fff; font-weight: 600; }
.calc-lines li.save { color: #86efac; }
.calc-form { margin-top: 26px; display: grid; gap: 12px; }
.calc-form .field input, .calc-form .field textarea {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.calc-form .field input::placeholder, .calc-form .field textarea::placeholder { color: #8f8f9a; }
.calc-form .field input:focus, .calc-form .field textarea:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
}
.calc-privacy { margin-top: 4px; font-size: 12px; color: #9a9aa4; }
.calc-privacy a { text-decoration: underline; }

/* ---------- Formulare ---------- */
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  background: #fff;
  transition: border-color 0.16s, box-shadow 0.16s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: var(--shadow-ring);
}
.field textarea { resize: vertical; min-height: 110px; }
.field.invalid input, .field.invalid textarea { border-color: var(--error); }
.field .err {
  display: none;
  font-size: 12.5px;
  color: var(--error);
}
.field.invalid .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Ablauf (Timeline) ---------- */
.timeline {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--accent-border), var(--line));
}
.step {
  position: relative;
  width: calc(50% - 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-border); }
.step:nth-child(odd) { margin-right: auto; }
.step:nth-child(even) { margin-left: auto; }
.step-num {
  position: absolute;
  top: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--accent);
  color: var(--accent-strong);
  font-size: 14.5px;
  font-weight: 750;
  display: grid;
  place-items: center;
  z-index: 1;
}
.step:nth-child(odd) .step-num { right: -60px; }
.step:nth-child(even) .step-num { left: -60px; }
.step h3 { font-size: 16.5px; font-weight: 700; }
.step p { margin-top: 5px; font-size: 13.8px; color: var(--ink-2); }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: start;
}
.contact-info { display: grid; gap: 18px; }
.contact-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.contact-tile .c-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.contact-tile .c-icon svg { width: 21px; height: 21px; }
.contact-tile h3 { margin-top: 14px; font-size: 17px; font-weight: 700; }
.contact-tile p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.contact-tile a.mail {
  display: inline-block;
  margin-top: 8px;
  font-weight: 650;
  color: var(--accent-strong);
}
.contact-tile a.mail:hover { text-decoration: underline; }

.contact-cta {
  background: var(--ink);
  color: #fff;
  border: 0;
}
.contact-cta h3 { color: #fff; }
.contact-cta p { color: #b9b9c2; }
.contact-cta .btn { margin-top: 18px; }
.contact-cta .c-icon { background: rgba(37, 99, 235, 0.2); color: var(--accent-2); }

.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 36px);
  display: grid;
  gap: 14px;
}
.form-note { font-size: 12.5px; color: var(--ink-3); }
.form-note a { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #b9b9c2;
  padding: 68px 0 34px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 40px;
}
.footer .logo svg { height: 30px; }
.footer-brand p { margin-top: 16px; font-size: 14px; max-width: 34ch; }
.footer-tagline {
  margin-top: 10px;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7c7c86;
}
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  color: #d6d6dd;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
}
.socials a:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  transform: translateY(-2px);
}
.socials svg { width: 17px; height: 17px; }

.footer h4 {
  color: #fff;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 14.5px; transition: color 0.16s; }
.footer-col a:hover { color: #fff; }
.footer-col li { font-size: 14.5px; }
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--accent-2); }

.footer-bottom {
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #8f8f9a;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- Modal (Terminbuchung) ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(10, 10, 10, 0.55);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s;
}
.modal-backdrop.open { opacity: 1; visibility: visible; }

.modal {
  width: min(600px, 100%);
  max-height: min(88vh, 760px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(22px, 3.5vw, 34px);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-backdrop.open .modal { transform: none; }

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 6px;
}
.modal-head h2 { font-size: 21px; font-weight: 750; letter-spacing: -0.015em; }
.modal-head p { margin-top: 5px; font-size: 14px; color: var(--ink-2); }
.modal-close {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background-color 0.16s, border-color 0.16s;
}
.modal-close:hover { background: var(--bg-soft); border-color: var(--ink-3); }
.modal-close svg { width: 16px; height: 16px; }

.book-steps {
  display: flex;
  gap: 6px;
  margin: 16px 0 22px;
}
.book-steps i {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--line-soft);
  transition: background-color 0.3s;
}
.book-steps i.on { background: var(--accent); }

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.cal-head b { font-size: 15.5px; font-weight: 700; text-transform: capitalize; }
.cal-nav {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background-color 0.16s, border-color 0.16s, opacity 0.16s;
}
.cal-nav:hover:not([disabled]) { background: var(--bg-soft); border-color: var(--ink-3); }
.cal-nav[disabled] { opacity: 0.35; cursor: default; }
.cal-nav svg { width: 15px; height: 15px; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}
.cal-dow {
  text-align: center;
  font-size: 11.5px;
  font-weight: 650;
  color: var(--ink-3);
  text-transform: uppercase;
  padding: 6px 0;
}
.cal-day {
  aspect-ratio: 1;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 550;
  display: grid;
  place-items: center;
  transition: background-color 0.14s, color 0.14s, box-shadow 0.14s;
}
.cal-day:not([disabled]):hover { background: var(--accent-soft); color: var(--accent-strong); }
.cal-day[disabled] { color: #c9c9cf; cursor: default; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--accent-border); }
.cal-day.sel { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.6); }
.cal-day.empty { visibility: hidden; }

.slot-date {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 14px;
}
.slot-date svg { width: 17px; height: 17px; color: var(--accent); }
.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}
.slot {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 11px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.14s, background-color 0.14s, color 0.14s;
}
.slot:hover { border-color: var(--accent); color: var(--accent-strong); }
.slot.sel { border-color: var(--accent); background: var(--accent); color: #fff; }

.book-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color 0.15s;
}
.book-back:hover { color: var(--ink); }
.book-back svg { width: 14px; height: 14px; }

.book-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  padding: 13px 16px;
  margin-bottom: 18px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--accent-strong);
}
.book-summary svg { width: 18px; height: 18px; flex: none; }

.book-form { display: grid; gap: 13px; }

.book-success { text-align: center; padding: 26px 6px 12px; }
.success-ico {
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #ecfdf3;
  color: var(--success);
  display: grid;
  place-items: center;
  animation: pop-in 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.success-ico svg { width: 34px; height: 34px; }
.book-success h3 { font-size: 21px; font-weight: 750; }
.book-success p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
@keyframes pop-in {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ---------- Toast ---------- */
.toast-wrap {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 160;
  display: grid;
  gap: 10px;
  width: min(430px, calc(100vw - 40px));
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: var(--shadow-lg);
  animation: toast-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast svg { width: 19px; height: 19px; flex: none; margin-top: 1px; }
.toast.ok svg { color: #4ade80; }
.toast.err svg { color: #f87171; }
.toast a { text-decoration: underline; color: #93c5fd; }
@keyframes toast-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Demo-Chatbot ---------- */
.bot-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 110;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37, 99, 235, 0.55);
  transition: transform 0.2s ease, background-color 0.2s;
}
.bot-fab:hover { transform: scale(1.07); background: var(--accent-strong); }
.bot-fab svg { width: 25px; height: 25px; }
.bot-fab .ico-close, .bot-fab.open .ico-chat { display: none; }
.bot-fab.open .ico-close { display: block; }

.bot-panel {
  position: fixed;
  right: 22px;
  bottom: 94px;
  z-index: 110;
  width: min(360px, calc(100vw - 34px));
  max-height: min(540px, calc(100vh - 130px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
}
.bot-panel.open { opacity: 1; visibility: visible; transform: none; }

.bot-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 17px;
  background: var(--ink);
  color: #fff;
}
.bot-head .chat-avatar { width: 34px; height: 34px; }
.bot-head b { display: block; font-size: 14.5px; }
.bot-head small {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: #a7f3d0;
}
.bot-head small::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
}
.bot-demo-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b9b9c2;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 3px 9px;
}

.bot-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-soft);
}
.bot-msgs .m {
  max-width: 88%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  white-space: pre-line;
  animation: msg-in 0.3s ease;
}
.bot-msgs .m.bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}
.bot-msgs .m.user {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.bot-msgs .chat-typing { background: #fff; border: 1px solid var(--line); }
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.bot-quick {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #fff;
}
.bot-quick button {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-strong);
  border: 1px solid var(--accent-border);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 7px 13px;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.bot-quick button:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--rd, 0s);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .combo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .burger { display: block; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 8px; }
  .chat-card { position: relative; left: 0; bottom: 0; margin-top: -34px; margin-left: 4px; }
  .chip-2 { right: 6px; }

  .services-grid { grid-template-columns: 1fr; }
  .calc-card { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .timeline::before { left: 20px; }
  .step { width: auto; margin-left: 56px !important; margin-right: 0 !important; }
  .step .step-num { left: -56px !important; right: auto !important; }
}

@media (max-width: 640px) {
  .work-grid, .why-grid, .price-grid, .combo-grid, .price-grid.two { grid-template-columns: 1fr; }
  .circle-row { justify-content: center; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-cta .btn { width: 100%; }
  .price-card.featured { transform: none; }
  .hero-chip.chip-1 { top: -10px; right: 8px; }
}

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.legal {
  max-width: 780px;
  margin-inline: auto;
  padding: calc(var(--nav-h) + 56px) 24px 90px;
}
.legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}
.legal h2 {
  margin-top: 40px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.legal p, .legal li, .legal address {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 15.5px;
  font-style: normal;
}
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent-strong); }
.legal a:hover { text-decoration: underline; }
.legal .placeholder {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  margin-top: 20px;
}
.legal .ph { background: #fef3c7; border-radius: 5px; padding: 1px 7px; font-weight: 600; color: #92400e; white-space: nowrap; }
.legal-updated { margin-top: 44px; font-size: 13.5px; color: var(--ink-3); }

/* ---------- Ergänzungen ---------- */
.mini, .mini-hero, .mini-hero i { display: block; }
.footer .logo { color: #fff; }
.footer-contact .footer-book {
  font-size: 14.5px;
  color: inherit;
  text-align: left;
  transition: color 0.16s;
}
.footer-contact .footer-book:hover { color: #fff; }
.logo svg { width: auto; }

/* ---------- Reduzierte Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}
