: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;
  --content-max-width: 1320px;
  --content-padding: 1rem;
}

* {
  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: #ec0909;
  font-size: 0.875rem;
  line-height: 1.4;
}

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

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

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid,
.checkout-field input.is-invalid,
.checkout-field select.is-invalid,
.checkout-field textarea.is-invalid {
  border-color: #ec0909;
  background: #fff7f7;
}

.form-group input.is-invalid:focus,
.form-group select.is-invalid:focus,
.form-group textarea.is-invalid:focus,
.checkout-field input.is-invalid:focus,
.checkout-field select.is-invalid:focus,
.checkout-field textarea.is-invalid:focus {
  border-color: #ec0909;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.15);
}

.form-group input.is-valid,
.form-group select.is-valid,
.form-group textarea.is-valid,
.checkout-field input.is-valid,
.checkout-field select.is-valid,
.checkout-field textarea.is-valid {
  border-color: var(--border);
}

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

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

/* Pflichtfeldkennzeichnung */

.select-wrapper {
  position: relative;
  display: inline-block;
  margin: 0;
}

.select-arrow {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--color-text);
}

.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-info,
.toast__icon-error,
.toast__icon-success {
  display: none;
}

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


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

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

}

.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: 700;
    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;
}

/* Passwordeye-Button */
.password-field {
  position: relative;
  width: 100%;
}

.password-field input {
  width: 100%;
  padding-right: 2.75rem;
}

.password-field .hide-pw {
  position: absolute;
  top: 50%;
  right: 0.45rem;

  width: 30px;
  height: 30px;
  padding: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 5px;

  background: transparent;
  color: #9ca3af;

  cursor: pointer;
  transform: translateY(-50%);
}

.password-field .hide-pw:hover {
  background: transparent;
  color: var(--color-accent);
}

.password-field .hide-pw svg {
  display: block;
  width: 18px;
  height: 18px;
  max-width: none;

  color: currentColor;
  fill: currentColor;

  pointer-events: none;
}

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

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

/* Required Field Notice */
.required-notice {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;

  margin-top: 0.75rem;

  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-light);

  margin-left: auto;
}

.required-star {
  color: var(--color-accent);
  font-weight: 700;
}

/* Contact on landing page */
.contact-item svg{
  width: 22px;
  height: 22px;
}

/* Nur Mobile */
@media (max-width: 768px) {
  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;

    width: auto;
    max-width: none;
  }
}