/* Wiederverwendbare Komponenten (Klassen aus dem Mockup beibehalten). */

/* Buttons */
.btn {
  font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: 0.02em;
  text-decoration: none; white-space: nowrap; padding: 12px 22px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 9px; transition: 0.25s;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: #c81e66; color: #fff; }
.btn-primary:hover { background: var(--magenta); box-shadow: 0 0 0 4px rgba(238, 51, 124, 0.22); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, 0.22); color: var(--ink); }
.btn-ghost:hover { border-color: var(--magenta); color: var(--magenta-soft); }

/* „Nach oben"-Knopf — schwebt unten rechts, blendet nach etwas Scrollen ein. */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 55;
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 999px; cursor: pointer; color: var(--ink);
  background: rgba(19, 17, 29, 0.85); backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.25s, transform 0.25s, border-color 0.25s, color 0.25s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--magenta); color: var(--magenta-soft); box-shadow: 0 0 0 4px rgba(238, 51, 124, 0.18); }
.to-top-icon { width: 22px; height: 22px; }
@media (max-width: 640px) { .to-top { right: 16px; bottom: 16px; } }

/* Breadcrumbs */
.crumbs { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-top: 30px; margin-bottom: 30px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--magenta-soft); }
.crumbs .sep { opacity: 0.5; margin: 0 8px; }

/* Tags */
.tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--ink);
  border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; background: var(--bg-2);
}

/* Leistungs-Karte (Startseiten-Grid) */
.card {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  padding: 30px 26px 34px; overflow: hidden; transition: 0.3s; min-height: 230px;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(400px 200px at var(--mx, 80%) -20%, rgba(238, 51, 124, 0.16), transparent 70%);
  opacity: 0; transition: 0.4s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(238, 51, 124, 0.4); }
.card:hover::before { opacity: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.card-ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(238, 51, 124, 0.12); border: 1px solid rgba(238, 51, 124, 0.28);
  color: var(--magenta-soft); transition: 0.3s;
}
.card:hover .card-ic { background: rgba(238, 51, 124, 0.2); transform: translateY(-2px); }
.card-ic svg { width: 23px; height: 23px; stroke-width: 1.6; }
.card .idx { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.card h3 { font-size: 22px; font-weight: 700; margin: 16px 0 10px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.card .arrow { margin-top: 18px; color: var(--magenta); font-family: var(--mono); font-size: 13px; letter-spacing: 0.05em; }
.card .arrow span { display: inline-block; transition: transform 0.25s; }
.card:hover .arrow span { transform: translateX(6px); }

/* Info-Panel (Leistungsumfang) */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.panel h3 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.feat { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.feat li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.feat .chk { width: 23px; height: 23px; border-radius: 7px; flex: 0 0 auto; display: grid; place-items: center; background: rgba(54, 224, 160, 0.12); color: var(--green); margin-top: 1px; }
.feat .chk svg { width: 13px; height: 13px; stroke-width: 2.4; }
.ideal { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.ideal .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; display: block; margin-bottom: 12px; }
.ideal .tags { display: flex; gap: 8px; flex-wrap: wrap; }

/* Prozess-Schritt */
.step { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px 20px; }
.step .n { font-family: var(--mono); font-size: 13px; color: var(--magenta-soft); }
.step h3 { font-size: 18px; font-weight: 700; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* „Weitere Leistungen“-Kachel */
.rel { display: flex; align-items: center; gap: 13px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; transition: 0.25s; }
.rel:hover { border-color: rgba(238, 51, 124, 0.45); transform: translateY(-3px); }
.rel .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(238, 51, 124, 0.12); border: 1px solid rgba(238, 51, 124, 0.28); color: var(--magenta-soft); flex: 0 0 auto; }
.rel .ic svg { width: 18px; height: 18px; }
.rel .ar { width: 16px; height: 16px; margin-left: auto; color: var(--muted); }
.rel:hover .ar { color: var(--magenta-soft); }

/* Formularfelder (Kontakt) */
.contact-form { display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
label .req { color: var(--magenta-soft); }
input, select, textarea {
  background: rgba(8, 7, 13, 0.6); border: 1px solid var(--line); border-radius: 12px; color: var(--ink);
  font-family: var(--display); font-size: 15px; padding: 13px 14px; width: 100%; transition: 0.2s;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%239a93ab' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
input::placeholder, textarea::placeholder { color: #8a84a0; }
select:has(option[value=""]:checked) { color: #8a84a0; }
input:focus, select:focus, textarea:focus { border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(238, 51, 124, 0.18), 0 0 24px -6px rgba(238, 51, 124, 0.5); outline: none; background: rgba(8, 7, 13, 0.85); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #ff5f6b; box-shadow: 0 0 0 3px rgba(255, 95, 107, 0.15); }
.err { display: none; color: #ff8a93; font-family: var(--mono); font-size: 11px; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.consent input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--magenta); }
.consent a { color: var(--magenta-soft); }
.submit { justify-self: start; font-size: 15px; padding: 15px 28px; border: none; }
.hint { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.send-error { color: #ff8a93; font-family: var(--mono); font-size: 12px; margin-top: 4px; }
/* Honeypot: für Menschen unsichtbar, aber von Bots ausfüllbar (nicht display:none). */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
