/* FDP Style – Listmonk Public Pages */

:root {
  --fdp-yellow: #ffed00;
  --fdp-magenta: #e5007d;
  --fdp-cyan: #009ee3;
  --fdp-black: #000000;
  --fdp-white: #ffffff;
  --fdp-light: #f7f7f7;
  --fdp-border: #d9d9d9;
}

/* Basis */
html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #ffffff 0%, #fffde8 100%);
  color: var(--fdp-black);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

body {
  border-top: 8px solid var(--fdp-magenta);
}

/* Hauptcontainer */
.container,
main,
.wrap,
.content,
.subscription-form,
form {
  box-sizing: border-box;
}

/* Inhaltsbereich zentrieren */
.container,
main,
.wrap,
.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--fdp-black);
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

h1::after {
  content: "";
  display: block;
  width: 90px;
  height: 6px;
  background: var(--fdp-yellow);
  margin-top: 0.6rem;
}

/* Fließtext */
p, label, li, small {
  color: #111;
}

/* Kartenoptik für den Anmeldebereich */
.subscription-form,
form {
  background: var(--fdp-white);
  border: 2px solid var(--fdp-black);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}

/* FDP-Akzent oben */
.subscription-form::before,
form::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(
    90deg,
    var(--fdp-yellow) 0%,
    var(--fdp-yellow) 33.33%,
    var(--fdp-magenta) 33.33%,
    var(--fdp-magenta) 66.66%,
    var(--fdp-cyan) 66.66%,
    var(--fdp-cyan) 100%
  );
}

/* Labels */
label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--fdp-black);
}

/* Eingabefelder */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid var(--fdp-border);
  border-radius: 10px;
  background: #fff;
  color: var(--fdp-black);
  font-size: 1rem;
  box-sizing: border-box;
  transition: all 0.2s ease;
  margin-bottom: 1rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--fdp-cyan);
  box-shadow: 0 0 0 4px rgba(0, 158, 227, 0.15);
}

/* Checkboxen / Radios */
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--fdp-magenta);
  margin-right: 0.45rem;
}

/* Buttons */
button,
input[type="submit"],
input[type="button"],
.btn,
.btn-primary {
  display: inline-block;
  background: var(--fdp-magenta);
  color: var(--fdp-white);
  border: 2px solid var(--fdp-magenta);
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(229, 0, 125, 0.18);
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.btn:hover,
.btn-primary:hover {
  background: #c4006a;
  border-color: #c4006a;
  transform: translateY(-1px);
}

button:focus,
input[type="submit"]:focus,
input[type="button"]:focus,
.btn:focus,
.btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(229, 0, 125, 0.18);
}

/* Links */
a {
  color: var(--fdp-cyan);
  font-weight: 600;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #007bb5;
  text-decoration: underline;
}

/* Hinweise / Success / Error */
.alert,
.message,
.notice,
.success,
.error {
  padding: 1rem 1.1rem;
  border-radius: 10px;
  margin: 1rem 0;
  font-weight: 600;
}

.success {
  background: #f3fff8;
  border-left: 6px solid #18a957;
}

.error {
  background: #fff5f7;
  border-left: 6px solid var(--fdp-magenta);
}

.notice,
.message,
.alert {
  background: #f8fbff;
  border-left: 6px solid var(--fdp-cyan);
}

/* Listen */
ul, ol {
  padding-left: 1.25rem;
}

/* Footer */
footer {
  margin-top: 3rem;
  background: var(--fdp-black);
  color: var(--fdp-white);
  padding: 2rem 1.25rem;
}

footer a {
  color: var(--fdp-yellow);
}

footer a:hover {
  color: var(--fdp-white);
}

/* Mobile */
@media (max-width: 640px) {
  .container,
  main,
  .wrap,
  .content {
    padding: 1.25rem 1rem;
  }

  .subscription-form,
  form {
    padding: 1.25rem;
    border-radius: 12px;
  }

  h1 {
    font-size: 1.7rem;
  }

  button,
  input[type="submit"],
  input[type="button"],
  .btn,
  .btn-primary {
    width: 100%;
    text-align: center;
  }
}