/* Schrift Plus Jakarta Sans – vom eigenen Server (keine Verbindung zu Google), SIL Open Font License 1.1 */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("fonts/plus-jakarta-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Mietvertrag (Kundenseite) – Farben wie die Website */
:root { --ink: #1A1A1A; --paper: #F9FAFB; --line: #E3E7EA; --muted: #5B6470; --accent: #007A7A; --accent-lo: #005F5F; --accent-bg: #E6F4F4; --danger: #C62828; --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
.v-wrap { width: min(820px, 100%); margin: 0 auto; padding: 0 16px; }
.v-header { background: var(--ink); color: #fff; }
.v-header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.v-logo { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 700; }
.v-logo-mark { background: var(--accent); color: #fff; font-weight: 800; font-size: .8rem; padding: .35rem .5rem; border-radius: 8px; letter-spacing: .04em; }
main { padding-top: 1.5rem; padding-bottom: 2rem; }
.v-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; margin-bottom: 1rem; box-shadow: 0 1px 2px rgba(26,26,26,.04), 0 4px 16px rgba(26,26,26,.05); }
h1 { font-size: 1.5rem; margin: 0 0 1rem; letter-spacing: -.015em; line-height: 1.2; }
h2 { font-size: 1.3rem; margin: 0 0 .8rem; color: var(--accent-lo); }
h3 { font-size: 1.02rem; margin: 1.4rem 0 .4rem; }
p { margin: 0 0 .75rem; }
ul { margin: 0 0 .75rem; padding-left: 1.2rem; }
.v-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 700; color: var(--accent); margin-bottom: .3rem; }
.v-facts { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; margin: 0; }
.v-facts dt { color: var(--muted); font-weight: 600; }
.v-facts dd { margin: 0; }
.v-tag { display: inline-block; font-size: .8rem; font-weight: 700; padding: .15rem .6rem; border-radius: 999px; }
.v-tag-open { background: #FFF4DC; color: #5C4211; }
.v-tag-ok { background: var(--accent-bg); color: var(--accent-lo); }
.contract-table { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; font-size: .9rem; }
.contract-table th, .contract-table td { text-align: left; vertical-align: top; padding: .5rem .4rem; border-bottom: 1px solid var(--line); }
.contract-table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.contract-table .num { text-align: right; white-space: nowrap; }
.contract-damages { background: #FFF8EC; border: 1px solid #F3D9A4; border-radius: 10px; padding: .25rem 1rem .5rem; margin: 1rem 0; }
.damage-photos { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0; }
.damage-photos img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; display: block; }
.contract-signature { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.contract-signature img { max-width: 320px; width: 100%; display: block; border-bottom: 1px solid var(--ink); margin-bottom: .4rem; }
.v-files ul { list-style: none; padding: 0; display: grid; gap: .4rem; }
.v-files a { color: var(--accent-lo); font-weight: 600; }
.v-sign { display: grid; gap: 1rem; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.v-sign h2 { margin: 0; }
.v-check { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; }
.v-check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--accent); flex: none; }
.v-field { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.v-field input { font: inherit; font-weight: 500; padding: .75rem .9rem; border: 1.5px solid var(--line); border-radius: 10px; width: 100%; }
.v-field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.v-pad { position: relative; border: 1.5px dashed #9AA3AD; border-radius: 12px; background: #fff; height: 200px; touch-action: none; }
.v-pad canvas { width: 100%; height: 100%; display: block; cursor: crosshair; touch-action: none; }
.v-pad-hint { position: absolute; left: 1rem; bottom: .7rem; color: #9AA3AD; font-weight: 500; pointer-events: none; }
.v-pad::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: 2.4rem; border-bottom: 1px solid var(--line); pointer-events: none; }
.v-btn { font: inherit; font-weight: 700; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: .9rem 1.6rem; cursor: pointer; justify-self: start; }
.v-btn:hover { background: var(--accent-lo); }
.v-btn:disabled { opacity: .6; cursor: wait; }
.v-btn-ghost { background: transparent; border: 1.5px solid rgba(255,255,255,.4); padding: .45rem 1rem; font-size: .9rem; }
.v-btn-ghost:hover { background: rgba(255,255,255,.1); }
.v-link { font: inherit; background: none; border: 0; color: var(--accent-lo); text-decoration: underline; padding: 0; cursor: pointer; justify-self: start; font-size: .9rem; font-weight: 500; }
.v-alert { padding: .9rem 1.1rem; border-radius: 10px; font-weight: 600; margin: 0 0 1rem; }
.v-alert-ok { background: var(--accent-bg); color: var(--accent-lo); }
.v-alert-error { background: #FDECEC; color: var(--danger); }
.v-small { font-size: .82rem; color: var(--muted); margin: 0; }
.v-footer { color: var(--muted); font-size: .85rem; padding-bottom: 2rem; }
@media (max-width: 600px) {
  .v-card { padding: 1.1rem; }
  h1 { font-size: 1.25rem; }
  .v-facts { grid-template-columns: 1fr; gap: 0; }
  .v-facts dd { margin-bottom: .45rem; }
  .contract-table th:nth-child(2), .contract-table td:nth-child(2) { display: none; }
  .v-btn { justify-self: stretch; }
}
@media print {
  body { background: #fff; font-size: 12pt; }
  .v-header, .v-sign, .v-files, .v-alert, .v-footer, .v-summary { display: none; }
  .v-card { border: 0; box-shadow: none; padding: 0; page-break-after: always; }
}
.protocol h2 { margin-top: 0; }
.protocol .damage-photos { display: flex; }
.v-header-actions { display: flex; gap: .5rem; } .v-btn-ghost { text-decoration: none; display: inline-block; }
.v-legal-nav { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.v-legal-nav a { padding: .45rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
.v-legal-nav a.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.v-legal h2 { font-size: 1.5rem; }
.v-legal h3 { color: var(--accent-lo); }
.v-legal { overflow-wrap: anywhere; }
.v-footer-links { display: block; margin-top: .35rem; } .v-footer a { color: var(--muted); }

/* ---------- Runde 2: Datenabfrage, Logo ---------- */
.v-doc-head { text-align: center; }
.v-doc-head img { display: block; width: 320px; max-width: 80%; height: auto; margin: 0 auto 1rem; }
.v-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.v-row-street { grid-template-columns: 1fr 140px; }
.v-row-zip { grid-template-columns: 120px 1fr; }
.v-data .v-field input { width: 100%; }
@media (max-width: 560px) {
  .v-row, .v-row-street { grid-template-columns: 1fr; }
  .v-row-zip { grid-template-columns: 110px 1fr; }
}
.doc-head { display: none; } /* Kopfzeile nur im PDF */
.v-data { display: grid; gap: 1rem; }
a.v-btn { display: inline-block; text-decoration: none; }
.v-auth { max-width: 560px; }
.v-booking { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.v-booking:first-of-type { border-top: 0; }
.v-inline { display: inline; margin: 0; }
.v-header-actions { display: inline-flex; gap: .5rem; align-items: center; }
.v-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
