:root {
  --bg: #f7f7f5;
  --card: #ffffff;
  --text: #222222;
  --muted: #5a5a5a;
  --border: #d9d9d4;
  --accent: #111111;
  --accent-text: #ffffff;
  --error-bg: #ffecec;
  --error-border: #e6b9b9;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfbf9 0%, var(--bg) 100%);
}

.container {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.card {
  width: 100%;
  max-width: 680px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  padding: 20px;
}

.logo-wrap { text-align: center; margin-bottom: 14px; }

.logo {
  width: auto;
  height: auto;
  display: inline-block;
}

.content-text {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.content-text hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 24px 0 10px;
}

.alert {
  background: var(--error-bg);
  border: 1px solid var(--error-border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.alert p {
  margin: 4px 0;
}

form {
  display: grid;
  gap: 10px;
}

label {
  font-weight: 600;
  margin-top: 4px;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

button {
  margin-top: 8px;
  min-height: 46px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  cursor: pointer;
}

button:hover,
button:focus-visible {
  filter: brightness(1.05);
}

.widerruf-details {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.widerruf-details summary {
  display: block;
  text-align: center;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
  list-style: none;
}

.widerruf-details summary::-webkit-details-marker {
  display: none;
}

.widerruf-content {
  margin-top: 10px;
  line-height: 1.55;
  color: var(--muted);
}

.widerruf-content ul,
.widerruf-content ol {
  margin-left: 0;
  padding-left: 1.4em;
  list-style-position: outside;
}

.widerruf-content li {
  margin-left: 1.4em;
  padding-left: 0.2em;
  list-style-position: outside;
}

.anbieterkennzeichnung {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.anbieterkennzeichnung p {
  margin: 0;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.success h1 {
  margin-top: 0;
}

.shop {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .card {
    padding: 30px;
  }
}
