/* technik-verleih.css - vollständig mit LILA Theme */

/* Reset / global fix */
.tv-wrapper, .tv-wrapper * { box-sizing: border-box; }

/* Wrapper & Section */
.tv-wrapper { font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }
.tv-section { padding: 48px 20px; display:flex; justify-content:center; background: linear-gradient(135deg, rgba(245,235,255,0.9), rgba(255,255,255,0.95)); overflow-x:hidden; }
.tv-card { width:100%; max-width:1080px; display:grid; grid-template-columns:1fr 360px; gap:24px; align-items:start; padding:26px; border-radius:18px; background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(252,248,255,0.96)); box-shadow: 0 12px 40px rgba(30,6,40,0.08), inset 0 -4px 18px rgba(147,51,234,0.02); border: 1px solid rgba(147,51,234,0.06); position:relative; overflow:hidden; }
.tv-card::before { content:""; position:absolute; right:-120px; top:-60px; width:320px; height:320px; background: radial-gradient(circle at 30% 30%, rgba(147,51,234,0.12), transparent 35%), linear-gradient(90deg, rgba(168,85,247,0.06), transparent); filter: blur(30px); transform: rotate(10deg); pointer-events:none; border-radius:48%; z-index:0; }
@media (max-width:980px){ .tv-card{ grid-template-columns:1fr; padding:22px 18px;} .tv-card::before{display:none;} .tv-info-pane{order:2;width:100%} .tv-form-pane{order:1;width:100%} }

/* form left */
.tv-form-pane{ position:relative; z-index:1; padding:0 12px; width:100%; }
.tv-intro{ margin-bottom:12px; }
.tv-eyebrow{ display:inline-flex; align-items:center; gap:8px; color:#7c3aed; font-weight:600; background: linear-gradient(90deg, rgba(147,51,234,0.06), rgba(147,51,234,0.02)); padding:6px 10px; border-radius:999px; font-size:14px; }
.tv-title{ font-size:26px; margin:10px 0 6px; color:#4c1d95; }
.tv-sub{ margin:0 0 12px; color:#475569; font-weight:300; }

/* form basics */
.tv-form{ display:flex; flex-direction:column; gap:12px; }
.tv-row{ display:flex; flex-direction:column; }
.tv-label{ font-size:13px; color:#4c1d95; font-weight:600; margin-bottom:8px; display:flex; gap:8px; align-items:center; }
.tv-label i { color:#9333ea; }

/* inputs */
.tv-input, .tv-textarea { font-family: inherit; font-size:14px; padding:12px 14px; border-radius:12px; border:1px solid rgba(30,13,40,0.07); background: linear-gradient(180deg,#ffffff,#faf5ff); color:#292524; transition: box-shadow .18s ease, border-color .18s ease, transform .08s ease; box-shadow:0 6px 18px rgba(25,9,35,0.03); width:100%; max-width:100%; }
.tv-input:focus, .tv-textarea:focus { outline:none; border-color:#9333ea; box-shadow:0 12px 30px rgba(147,51,234,0.12); transform: translateY(-1px); }
.tv-textarea { min-height:140px; resize:vertical; }

/* buttons */
.tv-actions{ display:flex; gap:12px; align-items:center; margin-top:6px; flex-wrap:wrap; }
.tv-btn-primary{ display:inline-flex; align-items:center; gap:10px; padding:12px 16px; border-radius:12px; background: linear-gradient(90deg,#9333ea,#7c3aed); color:white; border:none; font-weight:700; cursor:pointer; box-shadow:0 10px 30px rgba(147,51,234,0.12); transition: transform .12s ease, box-shadow .12s ease; }
.tv-btn-primary:hover{ transform: translateY(-2px); box-shadow:0 14px 35px rgba(147,51,234,0.18); }
.tv-btn-primary:active{ transform: translateY(1px); } 
.tv-btn-primary[disabled]{ opacity:.6; cursor:not-allowed; transform:none; }
.tv-btn-ghost{ background:transparent; color:#7c3aed; border:1px solid rgba(147,51,234,0.08); padding:10px 14px; border-radius:10px; font-weight:600; cursor:pointer; transition: all .15s ease; }
.tv-btn-ghost:hover{ background: rgba(147,51,234,0.04); }
.tv-note{ color:#6b7280; font-size:13px; margin-left:6px; }

/* right info pane */
.tv-info-pane{ position:relative; z-index:1; width:100%; } 
.tv-info-card{ padding:18px; border-radius:14px; background:linear-gradient(180deg,#faf5ff,#ffffff); box-shadow:0 10px 28px rgba(30,6,40,0.06); border:1px solid rgba(147,51,234,0.04); display:flex; flex-direction:column; gap:12px; align-items:center; width:100%; }
.tv-info-hero{text-align:center} 
.tv-avatar{ width:72px; height:72px; border-radius:16px; display:inline-flex; align-items:center; justify-content:center; background:linear-gradient(90deg,#9333ea,#a855f7); color:white; font-size:28px; box-shadow:0 10px 24px rgba(147,51,234,0.16); margin-bottom:10px; } 
.tv-info-title{ font-weight:700; color:#4c1d95; font-size:18px; } 
.tv-info-sub{ color:#475569; font-size:13px; }
.tv-contact-items{ width:100%; display:flex; flex-direction:column; gap:8px; margin-top:10px; } 
.tv-contact-row{ display:flex; gap:12px; align-items:center; padding:10px; border-radius:10px; text-decoration:none; color:#4c1d95; background: linear-gradient(90deg, rgba(147,51,234,0.03), transparent); transition: all .15s ease; } 
.tv-contact-row:hover{ background: linear-gradient(90deg, rgba(147,51,234,0.06), transparent); }
.tv-contact-row .tv-ico{ width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; border-radius:8px; background:rgba(147,51,234,0.08); color:#7c3aed; } 
.tv-contact-row .tv-text{ font-weight:600; font-size:14px; }

/* features list */
.tv-features{ width:100%; display:flex; flex-direction:column; gap:8px; margin-top:12px; padding:12px; background: rgba(147,51,234,0.02); border-radius:10px; }
.tv-feature-item{ display:flex; gap:10px; align-items:center; color:#4c1d95; font-size:14px; font-weight:500; }
.tv-feature-item i{ color:#16a34a; font-size:16px; }

/* toasts */
.tv-toast-wrap{ position:fixed; top:20px; right:20px; display:flex; flex-direction:column; gap:10px; z-index:99999; } 
.tv-toast{ min-width:260px; padding:12px 14px; border-radius:12px; color:white; font-weight:600; box-shadow:0 12px 30px rgba(2,6,23,0.12); animation: tv-toast-in .35s cubic-bezier(.2,.9,.3,1); } 
.tv-toast.ok{ background: linear-gradient(90deg,#16a34a,#059669);} 
.tv-toast.err{ background: linear-gradient(90deg,#dc2626,#ef4444);} 
@keyframes tv-toast-in{ from{ opacity:0; transform: translateY(-8px) scale(.98);} to{ opacity:1; transform: translateY(0) scale(1);} }

/* accessibility & helpers */
.tv-visually-hidden{ position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); } 
.tv-hp{ display:none; }
.tv-anim-in{ opacity:0; transform:translateY(18px) scale(.995); animation: tv-fade-up .6s ease forwards; } 
.tv-anim-in-delay{ opacity:0; transform:translateY(22px) scale(.995); animation: tv-fade-up .75s ease forwards; animation-delay:.12s; } 
@keyframes tv-fade-up{ to{ opacity:1; transform: translateY(0) scale(1); } }
@media (max-width:600px){ .tv-section, .tv-card, .tv-wrapper{ overflow-x:hidden;} .tv-card{ width:100%; max-width:100%; padding:16px; border-radius:16px;} .tv-form-pane{ width:100%; padding:0 10px 10px 10px; margin:0;} .tv-input, .tv-textarea{ width:100%; max-width:100%; font-size:15px; padding:12px 14px;} .tv-title, .tv-sub, .tv-label{ white-space:normal; word-break:break-word;} .tv-row{ width:100%; margin:0;} .tv-info-pane{ order:2; width:100%; } .tv-info-card{ margin-top:16px; width:100%; } }

/* ============================
   RADIO BUTTONS
   ============================ */

.tv-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tv-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(30,13,40,0.07);
  background: linear-gradient(180deg,#ffffff,#faf5ff);
  cursor: pointer;
  transition: all .18s ease;
}

.tv-radio-label:hover {
  border-color: rgba(147,51,234,0.15);
  background: linear-gradient(180deg,#faf5ff,#f5f3ff);
}

.tv-radio {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #9333ea;
}

.tv-radio-text {
  font-size: 14px;
  color: #4c1d95;
  font-weight:500;
}

/* ============================
   DATE RANGE (VON-BIS)
   ============================ */

.tv-date-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 600px) {
  .tv-date-range {
    grid-template-columns: 1fr;
  }
}

.tv-date-label {
  font-size: 12px;
  color: #4c1d95;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

/* ============================
   MULTI-SELECT
   ============================ */

.tv-multiselect {
  position: relative;
  width: 100%;
  max-width: 100%;
  outline: none;
}

.tv-multiselect-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(30,13,40,0.07);
  background: linear-gradient(180deg,#ffffff,#faf5ff);
  box-shadow: 0 6px 18px rgba(25,9,35,0.03);
  font-size: 14px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .18s ease, border-color .18s ease;
}

.tv-multiselect-toggle:focus {
  outline: none;
  border-color: #9333ea;
  box-shadow: 0 12px 30px rgba(147,51,234,0.12);
  transform: translateY(-1px);
}

.tv-multiselect-value { 
  color: #292524; 
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tv-multiselect-caret { 
  color: #9333ea; 
  font-size: 14px;
  transition: transform .18s ease;
}

.tv-multiselect[aria-expanded="true"] .tv-multiselect-caret {
  transform: rotate(180deg);
}

.tv-multiselect-options {
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 10px;
  padding: 8px;
  list-style: none;
  border-radius: 12px;
  background: white;
  border: 1px solid rgba(147,51,234,0.06);
  box-shadow: 0 18px 40px rgba(30,6,40,0.08);
  z-index: 400;
  max-height: 280px;
  overflow: auto;
  transform-origin: top center;
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  pointer-events: none;
  transition: opacity .22s cubic-bezier(.2,.9,.3,1), transform .22s cubic-bezier(.2,.9,.3,1);
}

.tv-multiselect[aria-expanded="true"] .tv-multiselect-options {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.tv-multiselect-options li {
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #4c1d95;
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background .15s ease;
}

.tv-multiselect-options li:hover {
  background: linear-gradient(90deg, rgba(147,51,234,0.06), rgba(147,51,234,0.02));
}

.tv-multiselect-options li[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(147,51,234,0.08), rgba(147,51,234,0.04));
  color: #4c1d95;
}

.tv-option-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #9333ea;
}

.tv-multiselect-options li label {
  flex: 1;
  cursor: pointer;
  margin: 0;
  font-weight: 500;
}

.tv-selected-count {
  font-size: 12px;
  color: #6b7280;
  font-weight: 400;
  margin-left: 6px;
}

/* ============================
   DATEPICKER
   ============================ */

.tv-datepicker {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tv-date-input {
  flex: 1 1 auto;
  cursor: pointer;
  background: linear-gradient(180deg,#ffffff,#faf5ff);
  border-radius: 14px;
  padding-right: 45px; /* Platz für den Button */
}

.tv-date-open {
  border-radius: 10px;
  padding: 9px 10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 13px; /* Hälfte der Label-Höhe + margin */
}

.tv-calendar {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 300px;
  background: white;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(30,6,40,0.12);
  border: 1px solid rgba(147,51,234,0.06);
  z-index: 500;
  padding: 12px;
  transform-origin: top center;
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  pointer-events: none;
  transition: opacity .20s cubic-bezier(.2,.9,.3,1), transform .20s cubic-bezier(.2,.9,.3,1);
}

.tv-calendar[aria-hidden="false"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.tv-cal-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
}
.tv-cal-title { font-weight:700; color:#4c1d95; font-size:14px; }

.tv-cal-prev, .tv-cal-next {
  background:transparent;
  border:1px solid rgba(147,51,234,0.08);
  padding:6px 12px;
  border-radius:8px;
  cursor:pointer;
  font-weight:700;
  color:#7c3aed;
}

.tv-cal-grid {
  display:grid;
  grid-template-columns: repeat(7, 1fr);
  gap:4px;
  margin-bottom:8px;
}

.tv-cal-grid .tv-cal-wd {
  font-size:11px;
  color:#6b7280;
  text-align:center;
  padding:4px 2px;
}

.tv-cal-day {
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  cursor:pointer;
  font-weight:600;
  color:#4c1d95;
  font-size:13px;
}
.tv-cal-day:hover { 
  background: linear-gradient(90deg, rgba(147,51,234,0.06), rgba(147,51,234,0.02)); 
  color:#4c1d95; 
}
.tv-cal-day[aria-current="true"] { 
  background: linear-gradient(90deg,#9333ea,#a855f7); 
  color:white; 
}
.tv-cal-day[aria-disabled="true"] { 
  opacity:0.28; 
  cursor:default; 
  pointer-events:none; 
}

.tv-cal-actions { 
  display:flex; 
  gap:8px; 
  justify-content:flex-end; 
}
.tv-cal-actions button { 
  padding:6px 10px; 
  border-radius:8px; 
  background:transparent; 
  border:1px solid rgba(147,51,234,0.06); 
  cursor:pointer; 
  font-size:12px;
  color:#7c3aed;
  font-weight:600;
}

@media (max-width:420px){
  .tv-calendar { left: auto; right: 0; width: calc(100vw - 40px); }
}

/* end of file */