/* Jordan Protocol – content styles (homepage, Kontakt, legal pages).
   Header/footer/fonts live in chrome.css. */

:root {
  --bg: #eef1fa;
  --bg-soft: #e2e6f3;
  --ink: #3a3e47;
  --ink-2: #4a4f5a;
  --muted: #6b707b;
  --line: #babdc2;
  --accent: #98e704;
  --accent-ink: #1f2a05;
  --white: #ffffff;
  --radius: 18px;
  --max: 1180px;
  --display: "Bebas Neue Pro", Impact, sans-serif;
  --body: "Lato", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ui: "Marine", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

strong, b { font-weight: 400; }

body {
  font-size: 18px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0 0 0.4em;
  color: var(--ink);
}
h1 { font-size: clamp(56px, 9vw, 112px); font-weight: 700; }
h2 { font-size: clamp(40px, 5.5vw, 64px); font-weight: 700; }
h3 { font-size: clamp(26px, 3vw, 32px); }

.eyebrow {
  font-family: var(--ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.bar {
  width: 56px;
  height: 6px;
  background: var(--ink);
  border-radius: 3px;
  margin-bottom: 18px;
}

.btn-note {
  display: block;
  margin-top: 10px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
@media (max-width: 820px) { section { padding: 64px 0; } }

.lead { font-size: 20px; color: var(--ink-2); max-width: 46ch; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 0 24px;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 36px 22px 0;
  position: relative;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); }
.faq .answer p { margin: 0 0 10px; }
.prices { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.prices li { display: flex; justify-content: space-between; max-width: 260px; border-bottom: 1px dashed var(--line); padding-bottom: 4px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.steps { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--ui);
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
}
.steps strong { display: block; font-family: var(--ui); font-weight: 700; font-size: 16px; margin-bottom: 2px; }

.form-card {
  background: var(--white);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 10px 40px rgba(58, 62, 71, 0.08);
}
@media (max-width: 560px) { .form-card { padding: 24px 20px; } }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
label {
  display: block;
  font-family: var(--ui);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 6px;
}
label .opt { font-family: var(--body); font-weight: 400; color: var(--muted); }
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  font: 400 16px/1.4 var(--body);
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid transparent;
  border-radius: 12px;
  padding: 13px 14px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
textarea { min-height: 150px; resize: vertical; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%233a3e47'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 22px;
  padding-right: 40px;
}
input:focus,
select:focus,
textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
input:user-invalid,
textarea:user-invalid { border-color: #d14343; }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font: 400 14px/1.5 var(--body);
  color: var(--ink-2);
  margin: 6px 0 22px;
}
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.consent label { font: inherit; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-card .btn { width: 100%; justify-content: center; font-size: 16px; padding: 16px; }
.form-card .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.form-status { margin: 16px 0 0; font-size: 15px; font-weight: 400; min-height: 1em; }
.form-status.error { color: #b32d2d; }

.success { display: none; text-align: center; padding: 24px 0; }
.success .tick {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}
.success .tick svg { width: 32px; height: 32px; fill: var(--accent-ink); }
.form-card.sent form { display: none; }
.form-card.sent .success { display: block; }


.direct { margin: 8px 0 0; font-size: 16px; color: var(--ink-2); }
.direct a { font-weight: 400; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0 24px; }
.legal-wrap { max-width: 820px; }
.legal h1 { font-size: clamp(44px, 7vw, 76px); }
.legal h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  margin: 48px 0 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(58, 62, 71, 0.1);
}
.legal h3 { font-size: 24px; margin: 28px 0 8px; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; color: var(--ink-2); overflow-wrap: anywhere; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--accent); }
.legal a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal strong { font-weight: 400; color: var(--ink); font-family: var(--ui); font-size: 15px; letter-spacing: .02em; }
.legal-updated { font-family: var(--ui); font-size: 13px !important; letter-spacing: .08em; color: var(--muted) !important; }
.legal-purpose { margin: 22px 0 4px !important; color: var(--ink) !important; font-weight: 400; }
.legal-retention { padding-left: 14px; border-left: 3px solid var(--accent); }
.legal-retention span { font-family: var(--ui); font-size: 13px; letter-spacing: .04em; color: var(--ink); }
.legal-small { font-size: 14px !important; color: var(--muted) !important; }
.legal-form {
  margin-top: 18px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
}
.legal-line { margin: 30px 0 0 !important; font-size: 13px !important; color: var(--muted) !important; }
.legal-line span { display: block; border-bottom: 1px solid var(--ink); height: 26px; margin-bottom: 6px; }
@media print {
  .site-header, .site-footer { display: none; }
  .legal-form { padding: 0; }
}

/* ---------- 404 ---------- */
.notfound { padding: 96px 0 40px; }
.notfound h1 { font-size: clamp(48px, 8vw, 96px); }
.notfound-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--white); }
