:root {
  --primary: #24198d;
  --primary-strong: #1f1177;
  --accent: #3b2dd1;
  --text: #0f102a;
  --muted: #4b4d66;
  --bg: #f5f6fb;
  --card: #ffffff;
  --shadow: 0 12px 30px rgba(19, 22, 90, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(circle at 20% 20%, rgba(59, 45, 209, 0.06), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(36, 25, 141, 0.08), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

h1 {
  text-align: left;
  font-weight: 800;
  color: white;
  font-size: 1.6rem;
  padding: 16px 20px;
  letter-spacing: 0.02em;
}

h2 {
  color: var(--text);
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin: 24px 0;
}

main {
  flex: 1;
  width: min(1180px, 92vw);
  margin: 0 auto 32px auto;
}

.link-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
  color: white;
  padding: 0 36px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(120deg, var(--primary) 0%, var(--accent) 80%);
  padding: 10px 12px;
  height: 96px;
  box-shadow: 0 10px 30px rgba(18, 16, 92, 0.35);
  position: sticky;
  top: 0;
  z-index: 10;
}

a {
  text-decoration: none;
  font-size: 1rem;
  color: white;
  font-weight: 700;
  position: relative;
}

a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

a:hover::after,
a:focus-visible::after {
  transform: scaleX(1);
}

#logo {
  display: flex;
  justify-content: center;
  height: 260px;
  padding: 20px;
  margin-bottom: 28px;
}

.image-wrapper {
  padding: 12px;
  border: 1px solid rgba(36, 25, 141, 0.18);
  background-color: var(--card);
  line-height: 0;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.IndImage {
  height: 200px;
  width: auto;
  display: block;
  padding: 0 42px;
}

.IndText {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 16px 0 26px 0;
  color: var(--text);
  letter-spacing: 0.01em;
}

#IndPar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 28px;
}

.product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 340px;
  background: var(--card);
  border-radius: 18px;
  padding: 16px 12px 10px 12px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(19, 22, 90, 0.2);
}

/** CONTACT FORM **/
#ContactFooter {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#preisbox {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  max-width: 540px;
  margin: 0 auto 36px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--card);
  padding: 20px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

label {
  margin-bottom: 5px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea {
  border: 1px solid rgba(36, 25, 141, 0.2);
  padding: 10px 12px;
  font-size: 14px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(36, 25, 141, 0.12);
}

input[type="tel"] {
  letter-spacing: 0.02em;
  font-weight: 600;
}

textarea {
  resize: vertical;
}

.preise-section {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
}

.preise-section span {
  margin-right: 10px;
  min-width: 150px;
  font-weight: 700;
  color: var(--text);
}

.preise-section label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

button[type="submit"] {
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
  color: white;
  border: none;
  padding: 12px 22px;
  font-size: 14px;
  cursor: pointer;
  width: 140px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(36, 25, 141, 0.28);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(36, 25, 141, 0.32);
}

#submit {
  margin-bottom: 14px;
}

#longdesc {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-size: 13px;
  margin-bottom: 50px;
  color: var(--muted);
}

.contact-form-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact-form-row label {
  min-width: 120px;
  margin-bottom: 0;
  font-size: 14px;
}

.contact-form-row input,
.contact-form-row textarea {
  flex: 1;
}

/** CHECKOUT **/
.checkout-main {
  width: min(1180px, 92vw);
  margin: 0 auto 40px auto;
}

.checkout-hero {
  background: var(--card);
  padding: 32px 24px 22px 24px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

.checkout-card {
  background: var(--card);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
}

.checkout-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.checkout-items {
  list-style: none;
  margin: 10px 0 6px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(36, 25, 141, 0.12);
}

.item-name {
  font-weight: 700;
  color: var(--text);
}

.item-meta {
  font-size: 0.92rem;
}

.item-price {
  font-weight: 700;
  color: var(--primary-strong);
  white-space: nowrap;
}

.checkout-totals {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.total-line.grand {
  font-size: 1.05rem;
  color: var(--primary-strong);
}

.checkout-form-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row.split {
  flex-direction: row;
  gap: 14px;
}

.form-row.split > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pill-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(36, 25, 141, 0.08);
  border: 1px solid rgba(36, 25, 141, 0.12);
  cursor: pointer;
  font-weight: 600;
}

.pill-option input {
  accent-color: var(--primary);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

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

.tiny {
  font-size: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
}

.checkout-cta {
  background: linear-gradient(135deg, var(--primary-strong), var(--primary));
  color: white;
  border: none;
  padding: 14px 18px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  border-radius: 14px;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(36, 25, 141, 0.28);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.checkout-cta:hover,
.checkout-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(36, 25, 141, 0.32);
  outline: none;
}

.checkout-empty {
  margin: 6px 0 10px 0;
}

.checkout-qty-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  min-width: 180px;
}

.qty-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 34px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(36, 25, 141, 0.22);
  background: var(--card);
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
  transition: background 0.12s ease, transform 0.12s ease;
}

.qty-btn:hover,
.qty-btn:focus-visible {
  background: rgba(36, 25, 141, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.qty-value {
  min-width: 20px;
  text-align: center;
  font-weight: 700;
}

.link-remove {
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
  padding: 0;
}

.link-remove:hover,
.link-remove:focus-visible {
  color: var(--text);
  outline: none;
}

@media (max-width: 960px) {
  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .checkout-item {
    flex-direction: column;
    gap: 10px;
  }

  .checkout-qty-controls {
    align-items: flex-start;
  }
}