/* Corporate Design von professionelle-familienaufstellungen.de – Schriften lokal (kein Google-CDN) */
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/CormorantGaramond-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("assets/fonts/CormorantGaramond-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/Manrope-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/Manrope-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #f7f2eb;
  --bg-bright: #fcfaf7;
  --text: #42362c;
  --text-soft: #6e5744;
  --accent: #8f7861;
  --border: #dbc4ad;
  --error: #a3442f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

.top { display: flex; justify-content: center; padding: 28px 16px 8px; }
.top img { width: 240px; max-width: 70vw; height: auto; display: block; }

main { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; padding: 24px 16px 40px; }

.kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-soft);
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 11vw, 58px);
  line-height: 1.02;
}
h1 em { font-style: italic; }
.rule { width: 64px; height: 1px; background: var(--accent); margin: 22px 0; border: 0; }
.lead { margin: 0 0 28px; font-size: 17px; color: var(--text-soft); }

.card {
  background: var(--bg-bright);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
}

.field { margin-bottom: 18px; }
label.l {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text);
}
input[type="text"], input[type="email"] {
  width: 100%;
  padding: 14px 14px;
  font: inherit;
  font-size: 16px; /* verhindert Zoom auf iOS */
  color: var(--text);
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 10px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input[type="text"]:focus, input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(143, 120, 97, .18);
}
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 22px; font-size: 15px; line-height: 1.5; color: var(--text-soft); }
.consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--text); }
.consent a, .foot a { color: var(--text); }

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

button {
  width: 100%;
  padding: 15px 20px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bg-bright);
  background: var(--text);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  transition: background .15s;
}
button:hover { background: #2f261f; }
button:disabled { opacity: .6; cursor: progress; }

.msg { margin: 14px 0 0; font-size: 14px; }
.msg.err { color: var(--error); }

.done { text-align: center; padding: 34px 22px; }
.done img { width: 54px; height: auto; margin-bottom: 14px; }
.done h1, .done h2 { margin: 0 0 10px; font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.done p { margin: 0; color: var(--text-soft); }

.note { margin: 18px 4px 0; font-size: 13px; color: var(--text-soft); text-align: center; }

.foot {
  padding: 22px 16px 28px;
  text-align: center;
  font-size: 13px;
  color: var(--text-soft);
  border-top: 1px solid var(--border);
}
.foot a { margin: 0 6px; }

.opt { font-weight: 400; color: var(--text-soft); }

[hidden] { display: none !important; }

/* Deutlich sichtbarer Tastatur-Fokus (WCAG 3:1) */
input:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--text); outline-offset: 2px; }

/* Datenschutzseite */
.legal { max-width: 680px; }
.legal h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; font-size: 26px; line-height: 1.2; margin: 34px 0 10px; color: var(--text); }
.legal p { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: var(--text-soft); }
.legal p strong { color: var(--text); }
.legal a { color: var(--text); }
.legal .stand { margin-top: 30px; font-size: 13px; }
.legal .hinweis { background: var(--bg-bright); border-left: 3px solid var(--text); border-radius: 0 10px 10px 0; padding: 12px 14px; color: var(--text); }
