/* Shared layout for both partner sites. Colours come per site from :root in the page (see sites/<domain>/farben.css). */
@font-face { font-family: "Inter"; src: url("/gemeinsam/fonts/inter-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 "Inter", system-ui, sans-serif; color: var(--ink); background: var(--page); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { color: var(--head); line-height: 1.2; margin: 0 0 18px; }
h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
p { margin: 0 0 16px; }
strong { font-weight: 700; }
.wrap { width: min(1100px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 40px); margin: 0 auto; }
.center { text-align: center; }
.sub { font-size: 18px; font-weight: 600; margin: -6px 0 10px; }
.hint { font-style: italic; font-size: 14px; color: var(--muted); margin: 0 0 18px; }
[id] { scroll-margin-top: 20px; }

/* Head strip */
.top { background: var(--top-bg); color: var(--top-ink); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; flex-wrap: wrap; }
.top .brand { font-weight: 700; font-size: 15px; text-decoration: none; }
.top .cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; text-decoration: none; }
.top .cta:hover { text-decoration: underline; }

/* Sections and their backgrounds */
.sec { padding: 72px 0; }
.sec.tight { padding: 48px 0; }
.bg-1 { background: var(--bg-1); }
.bg-2 { background: var(--bg-2); }
.bg-3 { background: var(--bg-3); }
.bg-white { background: #fff; }
.bg-dark { background: var(--dark); color: var(--on-dark); }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: var(--on-dark); }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.split.flip { grid-template-columns: 1fr 1.15fr; }
.split img { border-radius: 4px; }
.split .portrait { max-height: 520px; width: auto; margin: 0 auto; }
.hero { padding: 56px 0 64px; }
.hero h1 { font-size: clamp(34px, 5vw, 52px); }
.hero .lead { font-size: 18px; }
.choice { margin-top: 26px; }
.choice h2 { font-size: 18px; margin-bottom: 8px; }

/* Lists with a round check, as on the original pages */
.checks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--check) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks li h3 { font-size: 17px; margin: 0 0 2px; }
.checks li p { margin: 0; }
.steps-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }

/* Buttons with a second line, like the GoHighLevel buttons */
.btn { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; background: var(--btn); color: #fff; text-decoration: none; padding: 14px 30px; border-radius: 10px; font-weight: 700; font-size: 16px; line-height: 1.3; text-align: center; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--btn-hover); }
.btn small { font-weight: 400; font-size: 13px; opacity: .92; }
.btn.alt { background: var(--btn-alt); }
.btn.alt:hover { filter: brightness(.9); }
.btn-row { margin-top: 26px; }

/* Videos */
.video { border: 3px solid #000; padding: 10px; background: #fff; margin: 0 auto 32px; max-width: 900px; }
.video video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.hero .video { margin: 0; }

.voices { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 32px; margin: 0 auto 48px; }
.voices img { border-radius: 4px; }
.qr { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.qr img.code { width: 220px; }
.qr img.stores { width: 300px; }
.rule { border: 0; border-top: 2px solid var(--btn); width: 70%; margin: 40px auto; }

/* Contact block: contact data left, WhatsApp form right (same as manfredlakner.com and weconnova.com) */
.contact .wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.person { background: var(--card); border-radius: 10px; padding: 20px 24px; display: grid; gap: 10px; margin-top: 24px; }
.person .pname { font-weight: 800; font-size: 19px; color: var(--head); }
.person a { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 16px; overflow-wrap: anywhere; }
.person a:hover { color: var(--accent); }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.person .icon { stroke: var(--accent); }

.waform { background: var(--card); border-radius: 10px; padding: 28px; border-top: 4px solid var(--btn); }
.waform .steps { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.waform .steps span { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 10px; }
.waform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.waform .field { margin-bottom: 16px; }
.waform label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--head); }
.waform .input { width: 100%; font: 400 16px/1.4 "Inter", system-ui, sans-serif; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 11px 12px; }
.waform .input:focus { outline: none; border-color: var(--accent); }
.waform select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.waform textarea.input { min-height: 96px; resize: vertical; }
.preview { background: #fff; border: 1.5px dashed var(--line); border-radius: 8px; padding: 14px; color: var(--muted); font-size: 14px; white-space: pre-line; margin-bottom: 16px; }
.preview b { color: var(--head); display: block; margin-bottom: 6px; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; line-height: 1.5; margin: 4px 0 16px; font-weight: 400 !important; }
.consent input { margin-top: 3px; accent-color: var(--btn); width: 18px; height: 18px; flex: none; }
.waform .btn { width: 100%; }
.waform .btn[disabled] { background: transparent; color: var(--btn); box-shadow: inset 0 0 0 2px var(--btn); cursor: not-allowed; }
.waform .missing { font-size: 14px; margin: 8px 0 0; text-align: center; color: var(--muted); }
.waform .missing[hidden] { display: none; }
.waform .note { color: var(--muted); font-size: 13px; margin: 12px 0 0; }

/* Footer */
.foot { background: var(--foot-bg); color: var(--foot-ink); padding: 26px 0; font-size: 14px; text-align: center; }
.foot a { color: inherit; text-decoration: none; margin: 0 8px; }
.foot a:hover { text-decoration: underline; }
.foot .credit { display: block; width: min(1100px, 100% - 40px); margin: 10px auto 0; text-align: right; font-size: 12px; opacity: .6; }
.foot .credit a { margin: 0; }

/* Legal pages */
.legal { padding: 56px 0 72px; }
.legal h1 { font-size: clamp(30px, 4vw, 42px); }
.legal h2 { font-size: 21px; margin: 32px 0 10px; }
.legal ul { padding-left: 20px; }

@media (max-width: 860px) {
  .sec { padding: 52px 0; }
  .split, .split.flip, .contact .wrap { grid-template-columns: 1fr; gap: 32px; }
  .split .media-first { order: -1; }
  .waform .row { grid-template-columns: 1fr; gap: 0; }
  .waform { padding: 22px 18px; }
  .voices { grid-template-columns: minmax(0, 300px); }
  .top .wrap { justify-content: center; text-align: center; }
}
