/* Digitale Visitenkarte – Variante A „Klassisch“ */
@font-face { font-family: 'Adventor'; src: url('fonts/texgyreadventor-bold.woff') format('woff'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-Regular.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-SemiBold.woff') format('woff'); font-weight: 600; font-display: swap; }

:root { --green: #16352C; --brown: #2B1F18; --beige: #F6F3EC; --muted: #6B7A73; --line: #ECE8DE; --sage: #B9D3B0; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--beige); color: var(--green); font: 400 16px/1.5 'Inter', system-ui, -apple-system, sans-serif; -webkit-text-size-adjust: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; border-radius: 6px; }
.ic { flex: none; }

.preview-bar { background: var(--sage); color: var(--green); text-align: center; padding: 10px 16px; font-size: .9rem; }
.preview-bar a { font-weight: 600; text-decoration: underline; }

.card { max-width: 480px; margin: 0 auto; padding-bottom: 26px; background: var(--beige); min-height: 100vh; }
@media (min-width: 520px) { .card { margin: 28px auto; min-height: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px rgba(22, 53, 44, .14); } }

.head { background: var(--accent); color: var(--on-accent); text-align: center; padding: 48px 22px 46px; }
.avatar { width: 108px; height: 108px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; border: 3px solid rgba(246, 243, 236, .6); font: 700 2.3rem/1 'Adventor', sans-serif; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.head h1 { font: 700 1.85rem/1.1 'Adventor', 'Century Gothic', sans-serif; letter-spacing: -.02em; margin: 0 0 8px; }
.role { margin: 0; opacity: .88; }

.quick { display: flex; gap: 10px; padding: 0 18px; margin-top: -26px; }
.quick a { flex: 1; min-width: 0; background: #fff; border-radius: 14px; padding: 12px 4px 10px; display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: .78rem; font-weight: 600; box-shadow: 0 8px 20px rgba(22, 53, 44, .12); }
.quick a .ic { color: var(--green); }

.btn-save { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 18px 0; padding: 16px; border-radius: 12px; background: var(--brown); color: #fff; font-weight: 600; font-size: 1.04rem; }
.btn-save:active { transform: translateY(1px); }

.bio { margin: 18px 22px 0; color: #3E5049; }

.details { list-style: none; margin: 16px 18px 0; padding: 0 14px; background: #fff; border-radius: 14px; }
.details li + li { border-top: 1px solid var(--line); }
.details a { display: flex; gap: 13px; align-items: center; padding: 13px 0; }
.details .ic { color: var(--green); }
.details small { display: block; font-size: .74rem; color: var(--muted); }
.details span { min-width: 0; overflow-wrap: anywhere; }

.links { display: grid; gap: 9px; margin: 14px 18px 0; }
.links a { display: flex; gap: 11px; align-items: center; padding: 14px 15px; border: 1.5px solid #DCD8CC; border-radius: 12px; background: #fff; font-weight: 600; }
.links a:hover { border-color: var(--green); }

.lead { margin: 14px 18px 0; border: 1.5px dashed var(--sage); border-radius: 12px; background: #FBFAF6; }
.lead summary { cursor: pointer; list-style: none; display: flex; gap: 11px; align-items: center; padding: 14px 15px; font-weight: 600; }
.lead summary::-webkit-details-marker { display: none; }
.lead[open] summary { border-bottom: 1px solid var(--line); }
.lead form { padding: 14px 15px 18px; display: grid; gap: 12px; }
.lead-intro { margin: 0; font-size: .9rem; color: var(--muted); }
.lead label { display: grid; gap: 5px; font-size: .86rem; font-weight: 600; }
.lead input, .lead textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1.5px solid #DCD8CC; border-radius: 9px; background: #fff; color: var(--green); width: 100%; }
.lead input:focus, .lead textarea:focus { outline: none; border-color: var(--green); }
.lead .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .82rem; color: var(--muted); }
.lead .check a { text-decoration: underline; }
.lead .check input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--green); padding: 0; }
.lead button { padding: 14px; border: 0; border-radius: 10px; background: var(--green); color: var(--beige); font: 600 1rem/1 'Inter', sans-serif; cursor: pointer; }
.hp { position: absolute !important; left: -9999px !important; }
.form-msg { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-msg.err { color: #A33A2B; }
.form-msg.ok { color: #2F7D57; }

.share { display: flex; gap: 16px; align-items: center; margin: 18px 18px 0; padding: 14px; background: #fff; border-radius: 14px; }
.share canvas { width: 96px; height: 96px; border-radius: 8px; flex: none; }
.share p { margin: 0 0 9px; font-weight: 600; }
.share button { display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 9px; border: 1.5px solid var(--green); background: transparent; color: var(--green); font: 600 .9rem/1 'Inter', sans-serif; cursor: pointer; }

.foot { max-width: 480px; margin: 0 auto; padding: 18px 20px 40px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.foot span a + a { margin-left: 12px; }
.made strong { font-family: 'Adventor', sans-serif; letter-spacing: .04em; color: var(--green); }

/* Hinweisseiten (Karte nicht eingerichtet, Profil nicht gefunden) */
.msg { max-width: 520px; margin: 0 auto; padding: 56px 24px; }
.msg-logo { font: 700 1.25rem/1 'Adventor', sans-serif; letter-spacing: .04em; display: inline-flex; gap: 8px; align-items: center; margin-bottom: 40px; }
.msg h1 { font: 700 2rem/1.1 'Adventor', sans-serif; letter-spacing: -.02em; margin: 0 0 14px; }
.msg p { color: #3E5049; font-size: 1.05rem; }
.msg-btn { display: inline-block; margin-top: 12px; padding: 14px 20px; border-radius: 10px; background: var(--green); color: var(--beige); font-weight: 600; }
.msg-link { display: block; margin-top: 16px; font-weight: 600; text-decoration: underline; }
.embed .preview-bar{display:none}
