/* Contact form /kontakt on the black and gold brand (docs/design/ci-2026-10/README.md).
   Fonts, tokens, header, footer, fields (.ci-input) and buttons (.ci-btn) come from mawa-ci.css;
   this file only holds the page layout and the states kontakt.js sets. Colours only as var(--ci-…). */
.wrap{width:100%;max-width:600px;margin:0 auto;padding:0 20px}
p{margin:0;max-width:65ch}
/* A faint warm light at the top, as in the brand draft; the form itself stays on plain black */
body{background:radial-gradient(ellipse 70% 420px at 85% 0,rgba(56,36,11,.42),transparent 70%) no-repeat,var(--ci-black)}
/* Short views (thank-you) keep the footer at the bottom of the screen */
body{display:flex;flex-direction:column;min-height:100vh;min-height:100svh}
main.wrap{flex:1 0 auto;width:100%}

/* Header: "← Zur Startseite" beside the brand. white-space:pre instead of nowrap: as an inline-flex
   element the link would lose the spaces between "←", "Zur" and "Startseite" (every text run becomes
   its own flex item without edge spaces). */
.back{display:inline-flex;align-items:center;min-height:44px;white-space:pre;flex:none}
.back .l{display:none}
@media (min-width:480px){.back .l{display:inline}}

/* main.wrap: .wrap alone would reset the vertical padding to 0 */
main.wrap{padding-top:44px;padding-bottom:64px}
@media (min-width:768px){main.wrap{padding-top:72px;padding-bottom:96px}}
.ci-kicker{margin:0 0 18px}
h1{margin:0 0 14px;color:var(--ci-white);font-family:var(--ci-font-head);font-size:clamp(34px,8vw,46px);font-weight:800;letter-spacing:-.04em;line-height:1.08}
.lead{margin:0 0 36px;color:var(--ci-muted);font-size:17px;line-height:1.7}
.lead a{white-space:nowrap}

/* Fields */
.field{margin-bottom:22px}
label{display:block;margin:0 0 8px;color:var(--ci-white);font-size:15px;font-weight:600;line-height:1.4}
label .opt{color:var(--ci-muted);font-weight:500}
.hint{margin:-2px 0 10px;color:var(--ci-muted);font-size:15px;line-height:1.5}
textarea.input{min-height:160px;line-height:1.5}
.error{display:none;margin:8px 0 0;color:var(--ci-error);font-size:15px;font-weight:500;line-height:1.45}
.field.has-error .error{display:block}
.field.has-error .input{border-color:var(--ci-error)}
.field.has-error .input:focus{box-shadow:0 0 0 3px var(--ci-error-bg)}
.row2{display:grid;gap:0 16px}
@media (min-width:520px){.row2{grid-template-columns:1fr 1fr}}

/* Consent checkbox: dark square with gold frame, gold when checked */
.check{display:flex;align-items:flex-start;gap:14px;min-height:52px;margin:4px 0 10px;padding:6px 0;color:var(--ci-white);font-size:16px;font-weight:400;line-height:1.55;cursor:pointer}
.check input{appearance:none;-webkit-appearance:none;flex:none;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;margin:0;border:1px solid var(--ci-line-strong);border-radius:var(--ci-radius);background:var(--ci-field);accent-color:var(--ci-gold);cursor:pointer;transition:background .15s,border-color .15s}
.check input:hover{border-color:var(--ci-gold)}
.check input:checked{border-color:var(--ci-gold);background:var(--ci-gold-button)}
.check input:checked::after{content:"";width:7px;height:12px;border-right:2.5px solid var(--ci-black);border-bottom:2.5px solid var(--ci-black);transform:rotate(45deg) translate(-1px,-1px)}
.check input:focus-visible{outline:2px solid var(--ci-gold-bright);outline-offset:3px}
.check span{padding-top:1px}
.field.has-error .check input{border-color:var(--ci-error)}

/* Honeypot: invisible and unreachable for people */
.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}

/* Send */
.actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px 20px;padding-top:12px}
.btn{min-width:220px}
.spin{display:none;width:18px;height:18px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:ci-spin .8s linear infinite}
.btn.busy{filter:none;opacity:.85;cursor:progress}
.btn.busy .spin{display:inline-block}
.btn.busy .arr{display:none}
.actions .note{color:var(--ci-muted);font-size:15px;font-weight:500}
@media (max-width:519px){.btn{width:100%}}
/* Notice for throttling, an expired session or a network error */
.form-error{margin-top:18px}

/* Direct contact */
.alt{display:flex;flex-wrap:wrap;gap:22px 48px;margin-top:52px;padding-top:30px;border-top:1px solid var(--ci-line)}
.alt .k{margin-bottom:6px;color:var(--ci-gold);font-size:12px;font-weight:700;letter-spacing:.22em;line-height:1.4;text-transform:uppercase}
.alt a{font-size:clamp(15px,4.6vw,16px);font-weight:600;text-decoration:none;overflow-wrap:anywhere}
.alt a:hover{text-decoration:underline}
.alt p{color:var(--ci-white);font-size:16px;line-height:1.6}

/* Thank-you view: gold check in a diamond, the brand's ornament */
.done .ok{display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin:10px 0 34px 10px;border:1px solid var(--ci-line-strong);background:var(--ci-raised);transform:rotate(45deg)}
.done .ok::after{content:"";width:9px;height:18px;border-right:2.5px solid var(--ci-gold);border-bottom:2.5px solid var(--ci-gold);transform:translate(-1px,-2px)}
.done .lead{margin-bottom:28px}
.done .box{margin-bottom:30px;padding:18px 20px;border:1px solid var(--ci-line);border-radius:var(--ci-radius);background:var(--ci-panel)}
.done .box .k{display:block;margin-bottom:4px;color:var(--ci-muted);font-size:12px;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
.done .box .v{font-size:17px;font-weight:500;overflow-wrap:anywhere}
.done .acts{display:flex;flex-wrap:wrap;gap:12px}

