:root {
  --signup-accent: #ff3b40;
  --signup-text: #15171a;
  --signup-muted: #707073;
  --signup-field: #ededed;
}

/* Grundlayout */
body {
  background: #fff;
  color: var(--signup-text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: calc(100% - 48px);
  max-width: 600px;
  margin: clamp(40px, 9vh, 100px) auto 24px;
}

.wrap {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* Logo und Überschriften */
.header {
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid #ededed;
}

.header .logo img {
  max-width: 180px;
  max-height: 80px;
  object-fit: contain;
}

h1,
h2,
h3,
h4 {
  color: var(--signup-text);
  font-family: inherit;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(34px, 6vw, 52px);
}

h2 {
  font-size: clamp(28px, 5vw, 38px);
}

h3 {
  font-size: 25px;
}

p {
  margin: 0 0 24px;
}

/* Formular */
.row {
  margin-bottom: 24px;
}

label {
  color: var(--signup-text);
  font-size: 15px;
  font-weight: 600;
}

input[type="email"],
input[type="text"],
input[type="password"],
select,
textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  color: var(--signup-text);
  font: inherit;
  line-height: 1.4;
  background: var(--signup-field);
  border: 1px solid transparent;
  border-radius: 28px;
  box-shadow: none;
}

textarea {
  min-height: 120px;
  border-radius: 20px;
}

input::placeholder,
textarea::placeholder {
  color: #8c8c8e;
  opacity: 1;
}

input:focus::placeholder {
  color: #8c8c8e;
}

input[type="email"]:focus,
input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  background: #f3f3f3;
  border-color: var(--signup-accent);
  outline: 2px solid var(--signup-accent);
  outline-offset: 3px;
}

/* Newsletter-Auswahl */
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: middle;
  accent-color: var(--signup-accent);
}

.lists {
  padding: 0;
  margin: 24px 0;
  list-style: none;
}

.lists li {
  margin-bottom: 16px;
}

.lists .description {
  margin: 5px 0 0 30px;
  color: var(--signup-muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Buttons */
.button,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  padding: 13px 25px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  background: var(--signup-accent);
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  color: #fff;
  background: #e83238;
}

.button.button-outline {
  color: var(--signup-text);
  background: transparent;
  border: 1px solid #d8d8d8;
}

.button.button-outline:hover {
  color: var(--signup-text);
  background: var(--signup-field);
  border-color: #bcbcbc;
}

.button:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible {
  outline: 2px solid var(--signup-accent);
  outline-offset: 4px;
}

button:disabled,
input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Links und Hinweise */
a {
  color: var(--signup-text);
  text-decoration-color: var(--signup-accent);
  text-underline-offset: 4px;
}

a:hover {
  color: var(--signup-accent);
}

.error {
  color: #b42318;
}

.unsub-all {
  border-top-color: #ededed;
}

footer.container {
  margin-top: 40px;
  color: var(--signup-muted);
  font-size: 13px;
}

footer a {
  color: var(--signup-muted);
}

/* Mobil */
@media (max-width: 650px) {
  .container {
    width: calc(100% - 40px);
    margin-top: 40px;
  }

  .wrap {
    padding: 0;
  }
}