/* ---------------------------------------------------------------------------
   powerhandwerk sketch kit
   Framework-free CSS translated from Tailwind Plus HTML v4 (light) blocks:
   Application UI > Elements > Buttons, Layout > Cards, Forms > Input Groups
   and Form Layouts, Marketing > Page Sections > Contact Sections and
   Testimonials. Measurements (padding, font size, radius, focus ring) are
   taken 1:1 from those snippets. No build step, no Tailwind classes.
   --------------------------------------------------------------------------- */

/* --- Tokens: neutral defaults, override per customer sketch ---------------- */
:root {
  --kit-akzent: #1f2937;        /* button / link / icon-tile fill */
  --kit-akzent-text: #ffffff;   /* text on top of --kit-akzent */
  --kit-flaeche: #ffffff;       /* card and input surface */
  --kit-text: #111827;          /* body text */
  --kit-rahmen: #d1d5db;        /* borders and input outlines */
  --kit-radius: 0.375rem;       /* Tailwind rounded-md */

  /* Derived, no extra tokens to keep overrides to a minimum. */
  --kit-text-leise: color-mix(in oklab, var(--kit-text) 60%, #ffffff);
  --kit-akzent-weich: color-mix(in oklab, var(--kit-akzent) 8%, #ffffff);
  --kit-akzent-weich-hover: color-mix(in oklab, var(--kit-akzent) 16%, #ffffff);
  --kit-akzent-hover: color-mix(in oklab, var(--kit-akzent) 85%, #ffffff);
  --kit-flaeche-hover: color-mix(in oklab, var(--kit-text) 4%, var(--kit-flaeche));
}

/* --- Icons ---------------------------------------------------------------- */
/* Usage: <svg class="kit-icon"><use href="lucide.svg#phone"/></svg> */
.kit-icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Buttons -------------------------------------------------------------- */
/* Base = Tailwind Plus "Buttons with leading icon", medium size. */
.kit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;                /* gap-x-1.5 */
  padding: 0.5rem 0.75rem;      /* px-3 py-2 */
  border: 0;
  border-radius: var(--kit-radius);
  font: inherit;
  font-size: 0.875rem;          /* text-sm */
  line-height: 1.25rem;
  font-weight: 600;             /* font-semibold */
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: var(--kit-text);
  transition: background-color 120ms ease, color 120ms ease;
}

/* Icon slot: 20px like Tailwind Plus size-5, never shrinks. */
.kit-btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.kit-btn:focus-visible {
  outline: 2px solid var(--kit-akzent);   /* focus-visible:outline-2 */
  outline-offset: 2px;                    /* focus-visible:outline-offset-2 */
}

.kit-btn:disabled,
.kit-btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Variants */
.kit-btn--primary {
  background: var(--kit-akzent);
  color: var(--kit-akzent-text);
}
.kit-btn--primary:hover {
  background: var(--kit-akzent-hover);
}

.kit-btn--secondary {
  background: var(--kit-flaeche);
  color: var(--kit-text);
  box-shadow: inset 0 0 0 1px var(--kit-rahmen); /* inset-ring inset-ring-gray-300 */
}
.kit-btn--secondary:hover {
  background: var(--kit-flaeche-hover);
}

.kit-btn--soft {
  background: var(--kit-akzent-weich);
  color: var(--kit-akzent);
}
.kit-btn--soft:hover {
  background: var(--kit-akzent-weich-hover);
}

/* Sizes (Tailwind Plus button scale, all text-sm) */
.kit-btn--sm {
  padding: 0.375rem 0.625rem;   /* px-2.5 py-1.5 */
  gap: 0.375rem;
}
.kit-btn--md {
  padding: 0.5rem 0.75rem;      /* px-3 py-2 */
  gap: 0.375rem;
}
.kit-btn--lg {
  padding: 0.625rem 0.875rem;   /* px-3.5 py-2.5 */
  gap: 0.5rem;                  /* gap-x-2 */
}

/* --- Card ----------------------------------------------------------------- */
/* Tailwind Plus "Basic card" with the shadow replaced by a hairline border. */
.kit-card {
  overflow: hidden;
  border: 1px solid var(--kit-rahmen);
  border-radius: 0.5rem;        /* rounded-lg */
  background: var(--kit-flaeche);
  color: var(--kit-text);
  padding: 1.5rem;              /* sm:p-6 */
}

/* --- Form fields ---------------------------------------------------------- */
.kit-field {
  display: block;
}

.kit-label {
  display: block;
  font-size: 0.875rem;          /* text-sm/6 */
  line-height: 1.5rem;
  font-weight: 500;             /* font-medium */
  color: var(--kit-text);
}

.kit-input {
  display: block;
  width: 100%;
  margin-top: 0.5rem;           /* mt-2 */
  padding: 0.375rem 0.75rem;    /* px-3 py-1.5 */
  border: 0;
  border-radius: var(--kit-radius);
  background: var(--kit-flaeche);
  color: var(--kit-text);
  font: inherit;
  font-size: 0.875rem;          /* sm:text-sm/6 */
  line-height: 1.5rem;
  outline: 1px solid var(--kit-rahmen);
  outline-offset: -1px;         /* -outline-offset-1 */
}

.kit-input::placeholder {
  color: var(--kit-text-leise);
}

.kit-input:focus {
  outline: 2px solid var(--kit-akzent);
  outline-offset: -2px;         /* focus:-outline-offset-2 */
}

.kit-input:disabled {
  background: var(--kit-flaeche-hover);
  color: var(--kit-text-leise);
  cursor: not-allowed;
}

textarea.kit-input {
  min-height: 6rem;
  resize: vertical;
}

/* Help text under a field: <p class="kit-field__hilfe"> */
.kit-field__hilfe {
  margin: 0.5rem 0 0;           /* mt-2 */
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--kit-text-leise);
}

/* --- Testimonial ---------------------------------------------------------- */
/* Tailwind Plus "Simple centered" testimonial, reduced to a bordered card. */
.kit-quote {
  border: 1px solid var(--kit-rahmen);
  border-radius: 0.5rem;
  background: var(--kit-flaeche);
  padding: 1.5rem;
  margin: 0;
}

.kit-quote blockquote {
  margin: 0;
  font-size: 1.125rem;          /* text-lg/8 */
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--kit-text);
  text-wrap: balance;
}

.kit-quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--kit-text-leise);
}

.kit-quote figcaption strong {
  font-weight: 600;
  color: var(--kit-text);
}

/* --- Eyebrow -------------------------------------------------------------- */
/* Tailwind Plus section eyebrow: text-base/7 font-semibold in the accent. */
.kit-eyebrow {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--kit-akzent);
}
