/* expose-modal.css */

.poll-modal-backdrop { 
    position:fixed; top:0; left:0; right:0; bottom:0; 
    z-index:90000; /* Unter dem Cookie Banner, aber über allem anderen */
    display:flex; align-items:center; justify-content:center; 
    padding:10px; opacity:0; pointer-events:none; transition:opacity 0.2s; 
    background:rgba(0,0,0,0.7);
    -webkit-overflow-scrolling: touch; overflow-y: auto;
}
.poll-modal-backdrop.open { opacity:1; pointer-events:auto; }

.poll-box { background:#fff; border-radius:12px; width:100%; max-width:800px; max-height:90vh; overflow:hidden; display:flex; flex-direction:column; box-shadow:0 20px 50px rgba(0,0,0,0.3); }
@media (min-width: 600px) { .poll-box { flex-direction:row; } }

.poll-head { position:relative; width:45%; background:#f0f0f0; flex-shrink:0; display:none; } 
@media (min-width: 600px) { .poll-head { display:block; min-height:300px; } }

.poll-head img { width:100%; height:100%; object-fit:cover; }
.poll-close { position:absolute; top:8px; right:8px; background:rgba(255,255,255,0.9); border:none; width:30px; height:30px; border-radius:50%; cursor:pointer; font-size:16px; font-weight:bold; z-index:5; }
@media (max-width: 599px) { .poll-close { top:10px; right:10px; } }

.poll-content { flex:1; display:flex; flex-direction:column; overflow:hidden; position:relative; }
.poll-info { padding:20px; flex:1; overflow-y:auto; }
.poll-form-box { padding:20px; background:#fafafa; border-top:1px solid #eee; flex-shrink:0; overflow-y:auto; }
@media (max-width:600px) { .poll-form-box { padding-bottom: calc(20px + env(safe-area-inset-bottom)); } }

.poll-title { font-size:18px; font-weight:700; margin-bottom:5px; }
.poll-loc { color:#666; font-size:13px; margin-bottom:8px; }
.poll-price { font-size:20px; font-weight:700; color:#C4972A; margin-bottom:10px; }
.poll-hint { background:#ecfdf5; color:#065f46; padding:10px; border-radius:6px; font-size:12px; border:1px solid #a7f3d0; }

input[type="text"], input[type="email"], input[type="tel"] { width:100%; padding:10px; border:1px solid #ddd; border-radius:4px; margin-bottom:8px; font-family:Outfit, sans-serif; font-size:16px; box-sizing:border-box; -webkit-appearance:none; }

.check-row { display:flex; align-items:flex-start; gap:10px; margin-bottom:12px; }
input[type="checkbox"] { width:18px; height:18px; flex-shrink:0; margin-top:3px; cursor:pointer; accent-color: #C4972A; }
.check-label { font-size:11px; color:#555; line-height:1.5; cursor:pointer; text-align:left; }
.check-label a { color:#C4972A; text-decoration:underline; font-weight:600; }

.btn { width:100%; background:#C4972A; color:#fff; border:none; padding:12px; border-radius:4px; font-weight:600; cursor:pointer; font-size:16px; }
.btn:disabled { background:#ccc; }
.poll-success { text-align:center; padding:20px; }

/* Hide Next.js modals */
div[class*="fixed"][class*="inset-0"][class*="z-"][class*="bg-black"] { display:none !important; }