:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#212529e6;background-color:#f4f4f4;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;display:flex;place-items:center;justify-content:center;min-width:320px;min-height:100vh;background-color:#f9fafb;color:#111827}h1{font-size:2.5rem;font-weight:700;line-height:1.2;color:#1f2937;text-align:center;margin-bottom:1rem}a{font-weight:500;color:#2563eb;text-decoration:none}a:hover{color:#1d4ed8}button{border-radius:.5rem;border:1px solid transparent;padding:.5rem 1rem;font-size:1rem;font-weight:500;font-family:inherit;background-color:#3b82f6;color:#fff;cursor:pointer;transition:all .2s ease}button:hover{background-color:#2563eb}button:focus,button:focus-visible{outline:2px solid #2563eb;outline-offset:2px}button:disabled{background-color:#93c5fd;cursor:not-allowed}input,textarea,select{font-family:inherit;padding:.5rem;border-radius:.375rem;border:1px solid #d1d5db;width:100%;box-sizing:border-box}.contract-container{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;width:100%;background-color:#f9f9f9;padding:2rem;box-sizing:border-box}.content-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:1200px;width:100%}.contract-heading{font-size:2.8rem;font-weight:700;margin-bottom:3rem;text-align:center;color:#213547;width:100%;position:relative}.contract-heading:after{content:"";position:absolute;width:80px;height:4px;background-color:#3b82f6;bottom:-10px;left:50%;transform:translate(-50%);border-radius:2px}.contract-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr);gap:1.5rem;width:100%;max-width:900px;margin:0 auto}.contract-button{display:flex;align-items:center;justify-content:center;text-align:center;height:120px;padding:1.5rem;background-color:#3b82f6;color:#fff;border:none;border-radius:12px;font-size:1.1rem;font-weight:500;cursor:pointer;transition:all .3s ease;box-shadow:0 4px 6px #0000001a}.contract-button:hover{background-color:#2563eb;transform:translateY(-4px);box-shadow:0 6px 8px #00000026}.contract-button:active{transform:translateY(-2px);box-shadow:0 3px 5px #0000001a}.pdf-viewer-container{width:100%;max-width:900px;height:800px;position:relative;display:flex;flex-direction:column;border-radius:12px;box-shadow:0 4px 12px #00000026;overflow:hidden;margin-bottom:2rem}#viewerContainer{position:absolute;width:100%;height:100%;overflow:auto}#viewer{position:absolute;width:100%;height:100%}.pdf-iframe{width:100%;height:750px;border:none;background-color:#f1f5f9}.pdf-actions{display:flex;justify-content:space-between;padding:1rem;background-color:#f8fafc;border-top:1px solid #e2e8f0}.action-button{padding:.75rem 1.5rem;border-radius:8px;font-weight:500;transition:all .3s ease}.back-button{background-color:#64748b;color:#fff}.back-button:hover{background-color:#475569}.submit-button{background-color:#10b981;color:#fff}.submit-button:hover{background-color:#059669}.loading-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#ffffffe6;display:flex;flex-direction:column;justify-content:center;align-items:center;z-index:10}.loading-spinner{border:4px solid rgba(0,0,0,.1);border-radius:50%;border-top:4px solid #3b82f6;width:40px;height:40px;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.signing-link-container{margin-top:2rem;padding:1.5rem;border-radius:12px;background-color:#fff;box-shadow:0 4px 8px #0000001a;width:100%;max-width:900px}.signing-link-heading{font-size:1.5rem;font-weight:600;margin-bottom:1rem;color:#334155}.signing-link-controls{display:flex;flex-direction:column;gap:1rem}.signing-link-input{padding:.75rem 1rem;border:1px solid #d1d5db;border-radius:8px;font-size:1rem;width:100%}.signing-link-buttons{display:flex;gap:1rem}.signing-link-button{padding:.75rem 1.5rem;border-radius:8px;font-weight:500;transition:all .3s ease;flex:1}.preview-link{margin:1rem 0 0;text-align:center}.copy-button:hover{background-color:#2563eb}.open-button:hover{background-color:#059669}@media (max-width: 768px){.contract-grid{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,1fr)}.contract-heading{font-size:2.2rem;margin-bottom:2rem}.signing-link-controls{flex-direction:column}.pdf-viewer-container{position:absolute;height:600px}.pdf-iframe{height:550px}}@media (max-width: 480px){.contract-grid{grid-template-columns:1fr;grid-template-rows:repeat(6,1fr)}.contract-button{height:100px}.signing-link-buttons{flex-direction:column}.pdf-actions{flex-direction:column;gap:.5rem}.pdf-viewer-container{position:absolute;height:500px}.pdf-iframe{height:420px}}@media (prefers-color-scheme: dark){:root{color:#f3f4f6;background-color:#1f2937}body{background-color:#111827;color:#f9fafb}h1{color:#e5e7eb}.contract-container{background-color:#1f2937}.contract-heading{color:#f3f4f6}.pdf-viewer-container{position:absolute;box-shadow:0 4px 12px #00000080}.pdf-actions{background-color:#1f2937;border-top:1px solid #374151}.loading-overlay{background-color:#1f2937e6;color:#f3f4f6}.loading-spinner{border:4px solid rgba(255,255,255,.1);border-top:4px solid #3b82f6}.signing-link-container{background-color:#283548;box-shadow:0 4px 8px #0000004d}.signing-link-heading{color:#e5e7eb}.signing-link-input{background-color:#374151;color:#f3f4f6;border-color:#4b5563}input,textarea,select{background-color:#1f2937;color:#f9fafb;border:1px solid #374151}}.success-container{display:flex;justify-content:center;align-items:center;min-height:400px;width:100%}.success-message{background-color:#fff;padding:2rem;border-radius:12px;box-shadow:0 4px 12px #00000026;text-align:center;width:100%;justify-items:center}button.vollmacht-button{margin-top:20px}.success-message h2{color:#10b981;margin-bottom:1rem}.success-message p{color:#4b5563;margin-bottom:2rem}.signing-link-container{margin-bottom:2rem}.signing-link-input{width:100%;padding:.75rem;border:1px solid #d1d5db;border-radius:.5rem;margin-bottom:1rem;font-size:.875rem}.signing-link-buttons{display:flex;gap:1rem;justify-content:center}.signing-link-button{padding:.5rem 1rem;border-radius:.5rem;font-weight:500;transition:all .2s}.copy-button{background-color:#3b82f6;color:#fff}.open-button{background-color:#10b981;color:#fff}@media (prefers-color-scheme: dark){.success-message{background-color:#1f2937}.success-message h2{color:#34d399}.success-message p{color:#d1d5db}.signing-link-input{background-color:#374151;color:#f3f4f6;border-color:#4b5563}}.fit-warning{flex:1;align-self:center;margin:0 1rem;padding:.4rem .7rem;font-size:.85rem;line-height:1.35;color:#92400e;background-color:#fffbeb;border:1px solid #fcd34d;border-radius:8px}@media (max-width: 480px){.fit-warning{margin:0}}:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors: active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors: active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}
