.qc17-contact-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px;margin:20px 0}.qc17-contact-links a{display:flex;align-items:center;justify-content:center;gap:12px;padding:18px;border:1px solid #8da84f66;border-radius:10px;background:#11191dcc}.qc17-contact-links svg{width:28px;height:28px;fill:currentColor;flex:0 0 auto}.qc17-ledger-links{display:flex;flex-wrap:wrap;gap:12px}.qc17-table-scroll{max-width:100%;overflow-x:auto;margin:16px 0;border:1px solid #64725966;border-radius:8px}.qc17-ledger-table{border-collapse:collapse;min-width:760px;width:100%;font-size:.9rem}.qc17-ledger-table th,.qc17-ledger-table td{padding:9px;border-bottom:1px solid #64725955;text-align:left;vertical-align:top}.qc17-ledger-table input{min-width:105px;width:100%;box-sizing:border-box}.qc17-ledger-table td:nth-child(2) input{min-width:210px}.qc17-ledger-table input[type=checkbox]{min-width:0;width:auto}.qc17-ledger-table tfoot{font-weight:700;background:#8da84f18}.qc17-column{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:10px 0}.qc17-finance details{margin:16px 0}.qc17-finance{min-width:0}.qc17-finance>form>label{max-width:650px}.qc17-finance label input[type=checkbox]{width:auto}.qc17-finance td[data-qc17-row-balance]{white-space:nowrap}@media(max-width:700px){.qc17-contact-links{grid-template-columns:1fr}.qc17-finance{padding:14px}.qc17-ledger-table{font-size:.85rem}}

.qc17-contact{min-width:0;overflow-wrap:anywhere}.qc17-contact-links a,.qc17-contact-links span{min-width:0}

/* Smartphone: jede Buchung als beschriftete Karte statt breiter Schiebetabelle. */
@media(max-width:700px){
 .qc17-finance .qc17-table-scroll{border:0;overflow:visible;max-width:100%}
 .qc17-finance .qc17-ledger-table{display:block;min-width:0;width:100%;font-size:1rem}
 .qc17-finance .qc17-ledger-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .qc17-finance .qc17-ledger-table tbody,.qc17-finance .qc17-ledger-table tfoot{display:block;width:100%}
 .qc17-finance .qc17-ledger-table tbody tr,.qc17-finance .qc17-ledger-table tfoot tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;padding:14px;margin:0 0 16px;border:1px solid #64725966;border-radius:10px;background:#11191d}
 .qc17-finance .qc17-ledger-table td,.qc17-finance .qc17-ledger-table th{display:block;grid-column:1/-1;min-width:0;padding:0;border:0;overflow-wrap:anywhere}
 .qc17-finance .qc17-ledger-table tbody td:nth-child(3){grid-column:1}
 .qc17-finance .qc17-ledger-table tbody td:nth-child(4){grid-column:2}
 .qc17-finance .qc17-ledger-table td[data-label]::before{content:attr(data-label);display:block;margin-bottom:5px;font-size:.8rem;font-weight:600;color:#c8d0c1;white-space:normal}
 .qc17-finance .qc17-ledger-table input,.qc17-finance .qc17-ledger-table td:nth-child(2) input{min-width:0;max-width:100%;width:100%;min-height:44px;font-size:16px;margin:0}
 .qc17-finance .qc17-ledger-table input[type=checkbox]{width:22px;min-height:22px;vertical-align:middle}
 .qc17-finance .qc17-ledger-table td[data-qc17-row-balance]{white-space:normal;border-top:1px solid #64725966;padding-top:10px;font-weight:700}
 .qc17-finance .qc17-ledger-table tfoot{background:transparent}
 .qc17-finance .qc17-ledger-table tfoot tr{background:#8da84f18}
 .qc17-finance .qc17-ledger-table tfoot td:empty{display:none}
 .qc17-finance .qc17-ledger-table tfoot td[data-qc17-total=balance]{border-top:1px solid #64725966;padding-top:10px;font-size:1.15rem}
 .qc17-finance .qc17-column{display:block}
 .qc17-finance .qc17-column>label{display:block;margin:8px 0}
 .qc17-finance button{max-width:100%;white-space:normal;min-height:44px}
}
@media(max-width:360px){
 .qc17-finance .qc17-ledger-table tbody td:nth-child(3),.qc17-finance .qc17-ledger-table tbody td:nth-child(4){grid-column:1/-1}
}

/* Footer: feste Bereiche statt automatischem fünften Rasterelement. */
html body footer.qc-footer{width:100%;max-width:100%;box-sizing:border-box}
html body footer.qc-footer .qc-footer-inner{display:grid;grid-template-columns:minmax(0,1fr) auto auto minmax(0,1fr);grid-template-areas:"copyright links social author" "copyright links social ai";column-gap:24px;row-gap:3px;align-items:center;width:100%;min-width:0}
html body footer.qc-footer .qc-footer-inner>*{min-width:0;max-width:100%;box-sizing:border-box}
html body footer.qc-footer .qc-footer-copyright{grid-area:copyright;text-align:left;overflow-wrap:anywhere}
html body footer.qc-footer .qc-footer-links{grid-area:links;display:flex;flex-wrap:wrap;justify-content:center;gap:7px;white-space:normal;text-align:center}
html body footer.qc-footer .qc16-social{grid-area:social;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:0;margin:0}
html body footer.qc-footer .qc16-social a{flex:0 0 40px;width:40px;height:40px;box-sizing:border-box}
html body footer.qc-footer .qc-footer-author{grid-area:author;text-align:right;overflow-wrap:anywhere}
html body footer.qc-footer .qc-footer-ai{grid-area:ai;text-align:right;font-size:12px;overflow-wrap:anywhere}
@media(min-width:1101px){body:has(.qc-footer-inner){padding-bottom:100px}}
@media(max-width:1100px){
 html body footer.qc-footer{position:static}
 html body footer.qc-footer .qc-footer-inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:"copyright author" "links social" "ai ai";gap:10px 16px}
 html body footer.qc-footer .qc-footer-ai{text-align:center}
 body:has(.qc-footer-inner){padding-bottom:0}
}
@media(max-width:600px){
 html body footer.qc-footer .qc-footer-inner{grid-template-columns:minmax(0,1fr);grid-template-areas:"links" "social" "copyright" "author" "ai";gap:10px}
 html body footer.qc-footer .qc-footer-copyright,html body footer.qc-footer .qc-footer-author,html body footer.qc-footer .qc-footer-ai{text-align:center}
}

/* Nur Desktop kompakter; Smartphone und Tablet behalten ihre bisherige Anordnung. */
.qc-footer-author-desktop{display:none}
@media(min-width:1101px){
 html body footer.qc-footer{padding:5px 12px !important}
 html body footer.qc-footer .qc-footer-inner{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:clamp(6px,.7vw,14px);font-size:clamp(10px,.75vw,12px) !important;line-height:1.25 !important}
 html body footer.qc-footer .qc-footer-inner>*{flex:0 0 auto;max-width:none;white-space:nowrap;overflow-wrap:normal}
 html body footer.qc-footer .qc-footer-links{flex-wrap:nowrap;gap:4px}
 html body footer.qc-footer .qc16-social{flex-wrap:nowrap;gap:5px}
 html body footer.qc-footer .qc16-social a{flex:0 0 28px;width:28px;height:28px}
 html body footer.qc-footer .qc16-social svg{width:16px;height:16px}
 html body footer.qc-footer .qc-footer-ai{font-size:inherit}
 html body footer.qc-footer .qc-footer-author-mobile{display:none}
 html body footer.qc-footer .qc-footer-author-desktop{display:inline}
 body:has(.qc-footer-inner){padding-bottom:52px}
}

/* Desktop-Symbole: geerbtes Link-Padding darf den SVG-Inhalt nicht zusammendrücken. */
@media(min-width:1101px){
 html body footer.qc-footer .qc16-social a{padding:0;display:inline-flex;align-items:center;justify-content:center}
 html body footer.qc-footer .qc16-social svg{flex:0 0 16px;min-width:16px;width:16px;height:16px;display:block}
}
