:root {
  --bg: #faf7f2;          /* warm creme (Squarespace-Hintergrund) */
  --surface: #ffffff;
  --ink: #161412;         /* fast schwarz, wie das Logo */
  --muted: #8a8178;       /* warmes grau */
  --line: #e7ddd0;        /* soft sand */
  --accent: #161412;      /* monochrom: Schwarz als Akzent */
  --accent-ink: #ffffff;
  --error: #9c4a3c;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(22, 20, 18, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: transparent;       /* transparent für saubere Einbettung */
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

/* Header */
.head { text-align: center; margin-bottom: 28px; }
.logo {
  display: block;
  height: 46px;
  width: auto;
  max-width: 78%;
  margin: 0 auto 22px;
  object-fit: contain;
}
.head h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 2.4rem;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}
.lead { color: var(--muted); margin: 0 auto; max-width: 46ch; }

/* Sections */
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.35rem;
  margin: 32px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

/* Pakete */
.pakete { display: grid; gap: 12px; }
.loading { color: var(--muted); }

.paket {
  position: relative;
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 18px 52px;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.paket:hover { border-color: var(--ink); }
.paket:has(input:checked) {
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.paket input {
  position: absolute;
  left: 18px;
  top: 22px;
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}
.paket-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.paket-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.3rem;
}
.paket-preis { font-weight: 600; white-space: nowrap; }
.paket-dauer {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}
.paket-inhalt { color: var(--ink); opacity: .8; font-size: 0.92rem; margin: 6px 0 0; }
.paket-staffel { color: var(--muted); font-size: 0.8rem; margin: 8px 0 0; }

/* Styling-Add-on: poppt direkt unter dem gewählten Paket auf */
.styling-addon {
  margin: -6px 0 2px 18px;            /* leicht eingerückt, an Paket angedockt */
  animation: addon-in .18s ease;
}
@keyframes addon-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.addon {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  cursor: pointer;
  transition: border-color .15s ease;
}
.addon:hover { border-color: var(--ink); }
.addon:has(input:checked) { border-style: solid; border-color: var(--ink); box-shadow: var(--shadow); }
.addon input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--ink);
}
.addon-text { display: flex; flex-direction: column; gap: 1px; }
.addon-name { font-weight: 600; }
.addon-preis { color: var(--muted); font-size: 0.8rem; }

/* Felder */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 0.85rem; font-weight: 500; color: var(--ink); }
.field em { color: var(--ink); font-style: normal; }
.field input,
.field textarea,
.field select {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
  outline: none;
  transition: border-color .15s ease;
}
.field input:focus,
.field textarea:focus,
.phone select:focus,
.phone input:focus { border-color: var(--ink); }
.field textarea { resize: vertical; }

/* Telefon: Vorwahl-Dropdown + Nummer */
.phone { display: flex; gap: 8px; }
.phone select {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 10px;
  flex: 0 0 auto;
  max-width: 42%;
}
.phone input { flex: 1 1 auto; }

/* Buttons / states */
.error {
  color: var(--error);
  background: #f6ece9;
  border: 1px solid #e6c8c1;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 20px 0 0;
  font-size: 0.9rem;
}
.submit {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 15px 20px;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--accent-ink);
  background: var(--accent);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: opacity .15s ease;
}
.submit:hover { opacity: 0.88; }
.submit:disabled { opacity: 0.5; cursor: default; }
.hint { text-align: center; color: var(--muted); font-size: 0.78rem; margin: 12px 0 0; }

.success {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 28px;
  box-shadow: var(--shadow);
}
.success h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 2rem;
  margin: 0 0 12px;
}
.success p { color: var(--muted); margin: 0 auto; max-width: 44ch; }

@media (max-width: 560px) {
  .head h1 { font-size: 2rem; }
  .grid { grid-template-columns: 1fr; }
  .phone select { max-width: 46%; }
}
