:root{
  --bg: #EAF2FA;
  --card: #ffffff;
  --text: #0f172a;
  --muted:#475569;
  --line:#e5e7eb;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(2,6,23,.08);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 55%, #ffffff 100%);
}

.wrap{max-width:1060px;margin:0 auto;padding:28px 18px 40px}

.topbar{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px;
  padding:10px 14px;
  background:rgba(255,255,255,.8);
  border:1px solid var(--line);
  border-radius:999px;
  box-shadow: 0 8px 24px rgba(2,6,23,.06);
  backdrop-filter: blur(10px);
}
.brand{
  display:flex;align-items:center;gap:12px;min-width:0;
}
.brand img{
  height:68px;width:auto;display:block;
}
.brand .back{
  font-size:14px;color:var(--muted);text-decoration:none;
}
.brand .back:hover{text-decoration:underline}

.actions{display:flex;align-items:center;gap:10px}
.pill{
  font-size:13px;color:var(--muted);
  padding:8px 10px;border:1px solid var(--line);
  border-radius:999px;background:#fff;
}

h1{font-size:44px;letter-spacing:-.03em;margin:22px 0 6px}
.sub{color:var(--muted);margin:0 0 18px;font-size:16px}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  padding:14px;
}

#apartmentIframeAll{
  min-height: 760px;
}

.smallnote{
  margin-top:12px;
  color:var(--muted);
  font-size:13px;
}
.smallnote a{color:inherit}

@media (max-width: 720px){
  h1{font-size:34px}
  .brand img{height:28px}
  #apartmentIframeAll{min-height: 860px}
}


/* Smoobu booking iframe */
.booking-embed{
  width: 100%;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  overflow: hidden;
}
#smoobuBookingFrame{
  width: 100%;
  height: min(76vh, 920px);
  border: 0;
  display: block;
  background: #fff;
}
@media (max-width: 820px){
  #smoobuBookingFrame{ height: 82vh; }
}

/* MOBILE OPTIMIERUNG BUCHUNG 2026-01-04 */
@media (max-width: 768px){
  .booking-header,
  .page-booking-header{
    padding:16px 18px;
  }

  .page-booking h1{
    font-size:24px;
  }

  .page-booking .sub,
  .page-booking .hint{
    font-size:14px;
  }

  .booking-wrapper iframe,
  .booking-wrapper .booking-embed{
    max-width:100%;
  }
}




/* API-Booking UI (Concierge Backend) */
.hint{color:var(--muted);margin:0 0 18px;font-size:14px}

.booking-ui{display:flex;flex-direction:column;gap:18px}

.form-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
@media (max-width: 900px){
  .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 520px){
  .form-grid{grid-template-columns:1fr;}
}

.field{display:flex;flex-direction:column;gap:6px}
.field label{font-size:13px;color:var(--muted);font-weight:800}
.field input,
.field textarea{
  font-size:16px; /* verhindert iOS Auto-Zoom */
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  outline:none;
  background:#fff;
}
.field textarea{resize:vertical;min-height:84px}
.field-wide{grid-column:1 / -1}

.chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.chip-row .chip{
  height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-size:13px;
}
.chip-row .chip.active{
  border-color:#0ea5a4;
  background:rgba(14,165,164,.12);
}

.actions-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.btn{
  height:40px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight:900;
  font-size:14px;
}
.btn.primary{
  background:#0ea5a4;
  border-color:#0ea5a4;
  color:#fff;
}
.btn.link{background:transparent}

.status{min-height:18px;margin-top:10px;font-size:13px;color:var(--muted)}
.status[data-kind="error"]{color:#b42318}
.status[data-kind="success"]{color:#067647}

.results{display:flex;flex-direction:column;gap:14px}
.result-group h2{margin:0 0 10px;font-size:18px;letter-spacing:-.01em}
.offer-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (max-width: 720px){
  .offer-list{grid-template-columns:1fr;}
}

.offer{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  background:rgba(255,255,255,.92);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.offer-title{font-weight:900;font-size:15px}
.offer-meta{font-size:13px;color:var(--muted)}
.offer-price{font-size:18px;font-weight:900}
.offer-actions{display:flex;gap:10px;flex-wrap:wrap}

.booking-details{border-top:1px solid var(--line);padding-top:14px}
.booking-details h2{margin:0 0 8px;font-size:20px}
.chosen{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(2,6,23,.02);
  margin:0 0 12px;
}
.chosen-title{font-weight:900}
.chosen-sub{font-size:13px;color:var(--muted);margin-top:2px}

.fallback{border-top:1px solid var(--line);padding-top:10px}
.fallback summary{cursor:pointer;font-weight:900;color:var(--muted);outline:none}

/* Cookie banner (GA consent) */
.cookie-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:99999;}
.cookie-box{max-width:980px;margin:0 auto;background:rgba(15,23,42,.92);color:#fff;border-radius:16px;padding:14px 14px;box-shadow:0 10px 30px rgba(0,0,0,.25);display:flex;gap:12px;align-items:center;justify-content:space-between;}
.cookie-text{font-size:14px;line-height:1.35;}
.cookie-text strong{font-weight:800;}
.cookie-link{color:#9ae6e6;text-decoration:underline;}
.cookie-actions{display:flex;gap:10px;}
.cookie-btn{border:0;padding:10px 14px;border-radius:12px;font-weight:700;cursor:pointer;}
.cookie-btn.primary{background:#0ea5a4;color:#fff;}
.cookie-btn.secondary{background:rgba(255,255,255,.12);color:#fff;}
@media (max-width:520px){
  .cookie-box{flex-direction:column;align-items:stretch;}
  .cookie-actions{width:100%;}
  .cookie-btn{width:100%;}
}
