:root {
  --color-accent: #ff0098;
  --color-text: #111827;
  --color-text-light: #6b7280;
  --color-bg: #f9fafb;
  --color-white: #ffffff;
  --color-dark: #111827;
  --color-dark-2: #1f2937;
  --container-width: 1280px;
  --radius: 10px;
  --background: #f3f4f6;
  --foreground: #111827;
  --card: #ffffff;
  --card-foreground: #111827;
  --primary: var(--color-accent);
  --primary-foreground: #ffffff;
  --secondary: #ececf0;
  --secondary-foreground: #111827;
  --muted: #ececf0;
  --muted-foreground: #6b7280;
  --border: rgba(0, 0, 0, 0.1);
  --input-background: #f3f3f5;
  --font-primary: "helvetica-lt-pro", Arial, sans-serif;
  --font-weight-bold: 700;
  --font-weight-normal: 400;
  --font-weight-light: 300;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  letter-spacing: 0.015em;
  color: var(--foreground);
  background: var(--background);
}

.card {
  background: var(--card);
  color: var(--card-foreground);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

h1 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

h2 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

h3 {
  font-size: 1.125rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.5;
}

h4,
label,
button {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
}

input {
  font-weight: var(--font-weight-normal);
}

p {
  font-weight: var(--font-weight-light);
}


input,
select,
textarea {
  background: var(--input-background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  font-weight: 300;
}

img,
svg {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container-width), calc(100% - 2rem));
  margin: 0 auto;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.9rem 1.4rem;
  border: 0;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  line-height: 1.2;
    transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.12s ease,
    box-shadow 0.2s ease;
}


.btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 4px 10px rgba(255, 0, 152, 0.18);
}

.btn--primary:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(255, 0, 152, 0.28);
}

.btn--primary:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(255, 0, 152, 0.2);
}

.btn--primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.field-error {
  margin-top: 0.35rem;
  color: #b91c1c;
  font-size: 0.875rem;
  line-height: 1.4;
}

.field-error[hidden] {
  display: none;
}

.field-error__item + .field-error__item {
  margin-top: 0.2rem;
}

.field-notice {
  margin-top: 0.25rem;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.85rem;
  line-height: 1.4;
}

.field-notice[hidden] {
  display: none;
}

/* Pflichtfeldkennzeichnung */

.form-group > label:has(
  + :is(input, select, textarea)[required]
)::after,
.form-group > label:has(
  + .select-wrapper :is(input, select, textarea)[required]
)::after,
.form-group > label:has(
  + .password-field :is(input, select, textarea)[required]
)::after,
.checkout-field:has(
  > :is(input, select, textarea)[required]
) > span:first-child::after {
  content: " *";
  color: var(--color-accent);
  font-weight: 700;
}

.toast {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 2000;

  display: flex;
  align-items: center;
  gap: 0.75rem;

  max-width: min(420px, calc(100vw - 2rem));
  padding: 1rem 1.25rem;

  background: #fff;
  color: #111827;

  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);

  animation: toast-in 0.22s ease;
}

.toast[hidden] {
  display: none !important;
}

.toast__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;

  border-radius: 999px;
  color: #fff;

  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.toast__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.toast__icon-error,
.toast__icon-success {
  display: none;
}

.toast--success .toast__icon-success {
  display: block;
  color: #111827;
}

.toast--error .toast__icon-error {
  display: block;
  color: #dc2626;

}

.toast--success .toast__icon-error {
  display: none;
}

.toast--error .toast__icon-success {
  display: none;
}

.toast__message {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

button,
input,
select,
textarea {
  font-family: var(--font-primary);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#variant-section {
  border:none;
  margin: 0;
  padding: 0;
}

/* save - reset -delete buttons */
.save-button,
.reset-button,
.delete-button {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;

    padding: .9rem 1rem;

    border: none;
    border-radius: 8px;

    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;

    cursor: pointer;

    transition: background-color .2s ease,
                transform .2s ease;
}

.save-button {
    background-color: #ff0098;
}

.reset-button,
.delete-button {
    background-color: #6b7280;
}

.save-button:hover {
    background-color: #e60089;
}

.reset-button:hover,
.delete-button:hover {
    background-color: #4b5563;
}

.save-button:active,
.reset-button:active,
.delete-button:active {
    transform: translateY(1px);
}

.save-button svg,
.reset-button svg,
.delete-button svg {
    flex-shrink: 0;
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@supports (-webkit-appearance: none) {
  input[type="password"] {
    letter-spacing: 0.12em;
    font-weight: 700;
  }

  input[type="password"]::placeholder {
    letter-spacing: normal;
  }
} 
