/*
 * ============================================
 *  Mit Liebe Su - Listmonk Public Pages CSS
 * ============================================
 *  Dieses CSS in Listmonk einfuegen unter:
 *  Settings > Appearance > Public > Custom CSS
 * ============================================
 */

/* ---- Fonts (DSGVO-konform via Bunny Fonts) ---- */
@import url('https://fonts.bunny.net/css?family=lora:400,400i,600,700|dancing-script:700');

/* ---- Reset & Base ---- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.7;
  color: #403027;
  background-color: #fcfaf8;
  -webkit-font-smoothing: antialiased;
}

/* ---- Wrapper ---- */
.wrap {
  max-width: 560px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ---- Content Box ---- */
.box {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(64, 48, 39, 0.08);
  border: 1px solid rgba(212, 132, 155, 0.1);
  overflow: hidden;
}

/* ---- Header / Branding ---- */
.box::before {
  content: '\2764  Mit Liebe Su';
  display: block;
  background: linear-gradient(135deg, #e69aab 0%, #d4849b 100%);
  padding: 32px 24px;
  text-align: center;
  font-family: 'Dancing Script', cursive;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  line-height: 1.3;
}

/* ---- Inner Content Padding ---- */
.box > * {
  padding-left: 32px;
  padding-right: 32px;
}

/* ---- Headings ---- */
h1, h2, h3 {
  font-family: 'Dancing Script', cursive;
  color: #d4849b;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 30px;
  margin: 32px 0 8px;
  padding-left: 32px;
  padding-right: 32px;
}

h2 {
  font-size: 26px;
  margin: 24px 0 8px;
}

h3 {
  font-size: 22px;
  margin: 20px 0 8px;
}

/* ---- Paragraphs ---- */
p {
  margin: 0 0 16px;
  color: #403027;
}

.box p {
  padding-left: 32px;
  padding-right: 32px;
}

/* ---- Links ---- */
a {
  color: #d4849b;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

a:hover {
  color: #c06b83;
  text-decoration: underline;
}

/* ---- Form Elements ---- */
form {
  padding: 0 32px 32px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #403027;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
  color: #403027;
  background-color: #fcfaf8;
  border: 2px solid #ece5dc;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: #e69aab;
  box-shadow: 0 0 0 3px rgba(212, 132, 155, 0.15);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder {
  color: #b5a99e;
  font-style: italic;
}

/* ---- Checkboxes (Listen-Auswahl) ---- */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #ece5dc;
  border-radius: 6px;
  background: #fcfaf8;
  cursor: pointer;
  vertical-align: middle;
  margin-right: 8px;
  position: relative;
  transition: all 0.2s ease;
}

input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #e69aab 0%, #d4849b 100%);
  border-color: #d4849b;
}

input[type="checkbox"]:checked::after {
  content: '\2714';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

input[type="checkbox"]:hover {
  border-color: #e69aab;
}

/* ---- Listen-Items ---- */
.lists label,
ul li,
.list-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: #f9f5f0;
  border-radius: 10px;
  border: 1px solid #ece5dc;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 15px;
}

.lists label:hover,
.list-item:hover {
  border-color: #e69aab;
  background: #fdf5f7;
}

/* ---- Buttons ---- */
button,
input[type="submit"],
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #e69aab 0%, #d4849b 100%);
  color: #ffffff;
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 40px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(212, 132, 155, 0.3);
  transition: all 0.25s ease;
  text-align: center;
  margin-top: 8px;
}

button:hover,
input[type="submit"]:hover,
.btn:hover {
  background: linear-gradient(135deg, #d4849b 0%, #c06b83 100%);
  box-shadow: 0 6px 20px rgba(212, 132, 155, 0.4);
  transform: translateY(-1px);
}

button:active,
input[type="submit"]:active,
.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(212, 132, 155, 0.3);
}

/* Secondary / Danger Buttons (z.B. Abmelden) */
button.secondary,
.btn-secondary {
  background: transparent;
  color: #847265;
  border: 2px solid #ece5dc;
  box-shadow: none;
}

button.secondary:hover,
.btn-secondary:hover {
  background: #f9f5f0;
  border-color: #d4849b;
  color: #d4849b;
  box-shadow: none;
  transform: none;
}

/* ---- Success / Info / Error Messages ---- */
.alert,
.message,
.notice {
  padding: 16px 24px;
  border-radius: 12px;
  margin: 16px 32px 24px;
  font-size: 15px;
  line-height: 1.6;
}

.alert-success,
.success {
  background-color: #f0f9f0;
  border: 1px solid #b8dab8;
  color: #2d6a2d;
}

.alert-info,
.info {
  background-color: #f9f5f0;
  border: 1px solid #ece5dc;
  color: #847265;
}

.alert-error,
.error,
.alert-danger,
.danger {
  background-color: #fdf2f2;
  border: 1px solid #e8b4b4;
  color: #943333;
}

/* ---- Footer ---- */
footer,
.footer {
  text-align: center;
  padding: 24px 32px 32px;
  font-size: 13px;
  color: #a89a8e;
  border-top: 1px solid #ece5dc;
  margin-top: 32px;
}

footer a,
.footer a {
  color: #847265;
  font-weight: 400;
}

footer a:hover,
.footer a:hover {
  color: #d4849b;
}

/* ---- Description Text ---- */
.description,
.sub,
small {
  font-size: 14px;
  color: #847265;
  font-style: italic;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .wrap {
    margin: 16px auto;
    padding: 0 12px;
  }

  .box::before {
    font-size: 28px;
    padding: 24px 16px;
  }

  h1 {
    font-size: 26px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .box > *,
  .box p,
  form,
  .alert,
  .message,
  .notice {
    padding-left: 20px;
    padding-right: 20px;
  }

  form {
    padding: 0 20px 24px;
  }

  footer,
  .footer {
    padding: 20px 20px 24px;
  }

  button,
  input[type="submit"] {
    width: 100%;
    padding: 14px 24px;
  }
}
