/* Berivowelt.de — Stylesheet */
:root {
  --bg: #f7f3ec;
  --ink: #2b3138;
  --ink-2: #4a5158;
  --muted: #8a8378;
  --line: #e2d9ca;
  --rule: #d8cfc0;
  --accent: #a8593a;
  --accent-dark: #8a4830;
  --dark: #2b3138;
  --dark-2: #232830;
  --on-dark: #e9e4da;
  --on-dark-2: #c4bfb4;
  --on-dark-3: #9a958a;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'IBM Plex Sans', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; line-height: 1.6; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }
::selection { background: #eadfd2; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }

.brand { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: 0.01em; color: var(--ink); }
.brand a { color: inherit; text-decoration: none; }
.brand .dot { color: var(--accent); }

section, .section { padding: 0 24px 120px; display: flex; flex-direction: column; align-items: center; }
.rule { width: 40px; height: 1px; background: var(--rule); margin-bottom: 72px; }
.lede { font-size: 19px; line-height: 1.7; max-width: 620px; margin: 28px 0 0; color: var(--ink-2); text-wrap: pretty; }
.note { font-size: 15px; color: var(--muted); margin: 56px 0 0; }
h2.section-title { font-size: clamp(28px, 4vw, 36px); margin: 0 0 64px; color: var(--ink); text-align: center; }

/* Hero */
.hero { padding: 96px 24px 120px; text-align: center; }
.hero h1 { font-size: clamp(40px, 7vw, 64px); line-height: 1.12; margin: 88px 0 0; max-width: 720px; }

/* Einordnung */
.statement { font-family: var(--serif); font-size: clamp(22px, 3.2vw, 28px); line-height: 1.55; max-width: 720px; margin: 0; text-align: center; text-wrap: pretty; }
.traits { display: flex; flex-wrap: wrap; gap: 20px 56px; justify-content: center; margin-top: 64px; max-width: 760px; }
.traits div { max-width: 200px; color: var(--ink-2); }
.traits strong { font-weight: 600; color: var(--ink); }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 48px; max-width: 860px; width: 100%; }
.steps .num { font-family: var(--serif); font-size: 17px; color: var(--accent); margin-bottom: 12px; }
.steps p { margin: 0; line-height: 1.65; color: var(--ink-2); font-size: 16px; }

/* Bereiche */
.areas { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; max-width: 800px; width: 100%; background: var(--line); border: 1px solid var(--line); }
.areas div { background: var(--bg); padding: 36px 32px; }
.areas h3 { font-family: var(--sans); font-weight: 600; font-size: 16px; margin-bottom: 10px; }
.areas p { margin: 0; line-height: 1.65; color: var(--ink-2); font-size: 15px; }

/* Manufaktur */
.manufaktur { text-align: center; }
.manufaktur h2 { font-size: clamp(28px, 4vw, 36px); margin: 0 0 32px; }
.manufaktur p { font-size: 18px; line-height: 1.75; max-width: 640px; margin: 0; color: var(--ink-2); text-wrap: pretty; }

/* Referenzen */
.refs { padding-bottom: 140px; }
.refs h2 { font-size: clamp(24px, 3.4vw, 30px); margin: 0 0 64px; }
.logos { display: flex; flex-wrap: wrap; gap: 56px 72px; justify-content: center; align-items: flex-start; }
.logos a { display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; }
.logos .logo { width: 170px; height: 56px; display: flex; align-items: center; justify-content: center; filter: grayscale(1); opacity: 0.75; transition: opacity .2s; }
.logos a:hover .logo { opacity: 1; }
.logos .logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logos .logo img.wide { max-height: 34px; }
.logos span { font-size: 13px; color: var(--muted); }

/* Entscheider */
.decider { background: var(--dark); color: var(--on-dark); padding: 110px 24px 120px; }
.decider h2 { font-size: clamp(28px, 4vw, 38px); margin: 0 0 28px; color: #f3efe7; text-align: center; }
.decider > p { font-size: 17px; line-height: 1.75; max-width: 620px; margin: 0 0 64px; color: var(--on-dark-2); text-align: center; text-wrap: pretty; }
form { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 36px; }
.hp { position: absolute; left: -9999px; height: 0; width: 0; border: 0; padding: 0; overflow: hidden; }
form label { display: flex; flex-direction: column; gap: 8px; font-size: 13px; letter-spacing: 0.04em; color: var(--on-dark-3); }
form input[type=text], form input[type=email], form textarea { background: transparent; border: none; border-bottom: 1px solid #4d545c; padding: 8px 0; font-size: 17px; color: #f3efe7; font-family: var(--sans); border-radius: 0; width: 100%; }
form textarea { resize: vertical; min-height: 80px; }
form input:focus, form textarea:focus { outline: none; border-bottom-color: #c98b6e; }
form .consent { flex-direction: row; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.6; letter-spacing: 0; cursor: pointer; }
form .consent input { margin-top: 3px; accent-color: var(--accent); }
form .consent a { color: var(--on-dark-2); text-decoration: underline; }
form button { align-self: flex-start; background: var(--accent); color: #fdfbf7; border: none; padding: 14px 36px; font-size: 16px; font-weight: 500; font-family: var(--sans); cursor: pointer; margin-top: 8px; }
form button:hover { background: var(--accent-dark); }
form button[disabled] { opacity: .6; cursor: default; }
.form-msg { font-family: var(--serif); font-size: 22px; color: #f3efe7; max-width: 520px; text-align: center; line-height: 1.6; margin: 0; }
.form-error { font-size: 15px; color: #e8a58a; margin: -16px 0 0; }

/* Footer */
footer { background: var(--dark-2); padding: 48px 24px 56px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
footer .brand { font-size: 19px; color: var(--on-dark); }
footer .brand small { font-family: var(--sans); font-size: 13px; color: #8a8f96; font-weight: 400; }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; font-size: 14px; }
footer nav a { color: #b6b1a6; }
footer .hint { font-size: 13px; color: #6f747b; }

/* Rechtliche Seiten */
.legal { padding: 64px 24px 120px; display: flex; flex-direction: column; align-items: center; }
.legal .inner { max-width: 720px; width: 100%; }
.legal .brand { display: block; margin-bottom: 72px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 16px; }
.legal .lede { margin: 0 0 56px; font-size: 17px; }
.legal h2 { font-size: 24px; margin: 56px 0 16px; }
.legal h3 { font-family: var(--sans); font-weight: 600; font-size: 16px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal address { font-style: normal; color: var(--ink-2); line-height: 1.7; margin-bottom: 14px; }
.legal .toc { list-style: none; padding: 0; margin: 0 0 24px; columns: 2; column-gap: 32px; font-size: 15px; }
.legal .toc li { margin-bottom: 6px; break-inside: avoid; }
.legal .stand { margin-top: 56px; font-size: 13px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.legal .back { display: inline-block; margin-top: 48px; font-size: 15px; }
@media (max-width: 600px) { .legal .toc { columns: 1; } }
