:root {
  --max: 980px;

  --bg: #ffffff;
  --text: #111111;
  --muted: rgba(17, 17, 17, .72);

  --card: #ffffff;
  --border: #e6e6e6;

  --btn: #111111;
  --btnText: #ffffff;

  --ghostBgHover: #f5f5f5;

  --radius: 14px;
  --radiusSm: 12px;

  --pad: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c0d10;
    --text: #f2f4f8;
    --muted: rgba(242, 244, 248, .72);

    --card: #12141a;
    --border: rgba(242, 244, 248, .14);

    --btn: #f2f4f8;
    --btnText: #0c0d10;

    --ghostBgHover: rgba(242, 244, 248, .08);
  }
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

header,
main,
footer {
  display: block;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--pad);
}

/* Top kicker */
.kicker {
  font-size: 16px;
  font-weight: 650;
  opacity: .9;
  text-align: center;
  letter-spacing: .2px;
}

/* Headings & text */
h1 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
  font-weight: 850;
  margin: 20px 0 14px;
  text-align: center;
  letter-spacing: -.5px;
}

h1 strong {
  font-weight: 950;
}

.sub {
  font-size: 18px;
  max-width: 72ch;
  opacity: .92;
  margin: 10px auto 0;
  text-align: center;
  line-height: 1.7;
}

.meta,
.trust,
.nextstep {
  text-align: center;
  font-size: 14px;
  opacity: .85;
}

.meta {
  margin-top: 14px;
}

.trust {
  margin-top: 10px;
}

.nextstep {
  margin-top: 14px;
}

/* Hero spacing */
.hero {
  padding: 60px 0 40px;
}

/* Buttons */
.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 850;
  border: 1px solid var(--btn);
  font-size: 16px;
  transition: transform .12s ease, background .12s ease, opacity .12s ease;
  cursor: pointer;
}

.btn.primary {
  background: var(--btn);
  color: var(--btnText);
}

.btn.primary:hover {
  transform: translateY(-1px);
  opacity: .98;
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn.ghost:hover {
  background: var(--ghostBgHover);
}

.btn .price {
  font-weight: 950;
  font-size: 1.12em;
  margin-left: 4px;
}

.btn:focus {
  outline: 2px solid rgba(120, 150, 255, .55);
  outline-offset: 2px;
}

/* Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin: 26px 0;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--card);
}

.col-12 {
  grid-column: span 12;
}

.col-6 {
  grid-column: span 6;
}

.col-7 {
  grid-column: span 7;
}

.col-5 {
  grid-column: span 5;
}

@media (max-width: 900px) {

  .col-6,
  .col-7,
  .col-5 {
    grid-column: span 12;
  }
}

/* Lists & small text */
ul,
ol {
  margin: 10px 0 0 18px;
}

li {
  margin: 6px 0;
}

h2 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.2px;
}

/* Divider & badges */
.divider {
  height: 1px;
  background: var(--border);
  margin: 26px 0;
}

.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .03);
}

@media (prefers-color-scheme: dark) {
  .badge {
    background: rgba(255, 255, 255, .04);
  }
}

.note {
  font-size: 14px;
  opacity: .9;
  margin-top: 10px;
  color: var(--muted);
}

/* .fineprint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
 */
.anchor {
  font-size: 14px;
  opacity: .9;
  margin-top: 8px;
}

/* FAQ */
.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: var(--card);
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
}

.faq p {
  margin: 8px 0 0;
  opacity: .92;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  margin-top: 30px;
}

.small {
  font-size: 13px;
  opacity: .85;
  color: var(--muted);
}

/* Progress (Start/Preview) */
.progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
}

.dot.on {
  background: var(--text);
  border-color: var(--text);
}

@media (prefers-color-scheme: dark) {
  .dot.on {
    background: var(--text);
    border-color: var(--text);
  }
}

/* Forms */
label {
  font-weight: 800;
  display: block;
  margin: 14px 0 6px;
}

input[type="text"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
}

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

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 34px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(120, 150, 255, .55);
  outline-offset: 2px;
}

.hint {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 780px) {
  .row {
    grid-template-columns: 1fr;
  }
}

/* Checkbox grid – sauber ausgerichtet */
.checkgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .checkgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .checkgrid {
    grid-template-columns: 1fr;
  }
}

/*
.checkgrid label{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  font-weight: 650;
  line-height: 1;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(0,0,0,.02);
}
*/

.checkgrid label {
  transition: background .15s ease, border-color .15s ease;
  font-size: 14px;
}

.checkgrid label:hover {
  background: var(--ghostBgHover);
}

.checkgrid input[type="checkbox"]:checked+span {
  font-weight: 800;
}

@media (prefers-color-scheme: dark) {
  .checkgrid label {
    background: rgba(255, 255, 255, .03);
  }
}

.checkgrid input[type="checkbox"] {
  margin-top: 2px;
  flex: 0 0 auto;
}

details.opt {
  margin-top: 16px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, .02);
}

@media (prefers-color-scheme: dark) {
  details.opt {
    background: rgba(255, 255, 255, .03);
  }
}

details.opt summary {
  cursor: pointer;
  font-weight: 900;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}

.actions .btn {
  padding: 14px 18px;
}

/* RTL support (Arabic UI) */
[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

/* Mirror typical layout helpers */
[dir="rtl"] .cta-row,
[dir="rtl"] .actions {
  justify-content: center;
  /* bleibt optisch ruhig */
}

[dir="rtl"] ul,
[dir="rtl"] ol {
  margin: 10px 18px 0 0;
}

[dir="rtl"] .checkgrid label {
  text-align: right;
}

/* Inputs: nicer caret + alignment in RTL */
[dir="rtl"] input[type="text"],
[dir="rtl"] input[type="url"],
[dir="rtl"] textarea,
[dir="rtl"] select {
  direction: rtl;
  text-align: right;
}

/* But allow URLs to remain LTR when user pastes links */
[dir="rtl"] input[type="url"] {
  direction: ltr;
  text-align: left;
}

.bt-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid rgba(0, 0, 0, .15);
  border-top-color: rgba(0, 0, 0, .65);
  animation: btspin 0.9s linear infinite;
  margin: 0 auto;
}

@keyframes btspin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-color-scheme: dark) {
  .bt-spinner {
    border-color: rgba(255, 255, 255, .18);
    border-top-color: rgba(255, 255, 255, .75);
  }
}

.bt-loading {
  text-align: center;
  padding-top: 60px;
}

.bt-loader {
  margin: 40px auto;
}

.bt-spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid rgba(0, 0, 0, 0.15);
  border-top-color: #111;
  animation: btspin 0.8s linear infinite;
  margin: 0 auto 16px auto;
}

@keyframes btspin {
  to {
    transform: rotate(360deg);
  }
}

.bt-dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  border-radius: 50%;
  background: #333;
  opacity: .3;
  animation: btdots 1.4s infinite;
}

.bt-dots span:nth-child(2) {
  animation-delay: .2s;
}

.bt-dots span:nth-child(3) {
  animation-delay: .4s;
}

@keyframes btdots {
  0% {
    opacity: .2;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-4px);
  }

  100% {
    opacity: .2;
    transform: translateY(0);
  }
}

.bt-status {
  margin-top: 12px;
  font-size: 15px;
  opacity: .85;
}

.bt-progress {
  width: 320px;
  height: 6px;
  margin: 24px auto 0 auto;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.bt-progress-bar {
  height: 100%;
  width: 0%;
  background: #111;
  transition: width .4s ease;
}

.download-info {
  margin-top: 14px;
  font-size: 14px;
  opacity: 0.7;
  text-align: center;
}

.sample-letter,
.note-preline {
  white-space: pre-line;
  line-height: 1.7;
}

.seo-content p {
  margin-bottom: 16px;
}

.seo-content ul {
  padding-left: 20px;
}

.seo-content li {
  margin-bottom: 8px;
}

.sample-letter {
    background: #fafafa;
    border: 1px solid #e4e4e4;
    padding: 28px;
    border-radius: 12px;
    font-family: Georgia, serif;
    line-height: 1.8;
}
.wrap-seo {
    max-width: 820px;
    margin: 0 auto;
}
.hero-cta {
    margin-top: 20px;
}
.checkout-box {
    max-width: 760px;
    margin: 24px auto 0;
}

.checkout-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.checkout-form {
    margin: 0;
}

.checkout-legal {
    margin: 0 0 20px;
    padding: 18px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #fafafa;
}

.legal-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.6;
}

.legal-check:last-child {
    margin-bottom: 0;
}

.legal-check input[type="checkbox"] {
    margin-top: 4px;
    flex: 0 0 auto;
}

.checkout-submit {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.checkout-submit .btn {
    min-width: 320px;
    text-align: center;
}

.fineprint {
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
    margin-top: 10px;
}

.download-letter-preview {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    line-height: 1.75;
}

.seo-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 20px;
}

.seo-header {
    text-align: center;
}

.seo-content {
    text-align: left;
    line-height: 1.7;
    font-size: 18px;
}

.seo-content p {
    margin-bottom: 18px;
}