/* Cookie-/Consent-Banner für Ferienhaus Heidi – selbst gehostet, kein Drittanbieter. */
:root {
  --heidi-blue: #0274be;
  --heidi-dark: #3a3a3a;
}

.heidi-cc-hidden { display: none !important; }

/* Banner unten */
.heidi-cc-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 999999;
  background: #ffffff;
  border-top: 3px solid var(--heidi-blue);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.15);
  padding: 22px 20px;
  font-family: 'Poppins', -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--heidi-dark);
  font-size: 15px;
  line-height: 1.55;
}
.heidi-cc-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.heidi-cc-text { flex: 1 1 340px; min-width: 260px; }
.heidi-cc-text h2 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 600;
  color: var(--heidi-dark);
}
.heidi-cc-text p { margin: 0; }
.heidi-cc-text a { color: var(--heidi-blue); text-decoration: underline; }

.heidi-cc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.heidi-cc-btn {
  font: inherit;
  cursor: pointer;
  border-radius: 4px;
  padding: 12px 22px;
  border: 2px solid var(--heidi-blue);
  background: #fff;
  color: var(--heidi-blue);
  font-weight: 600;
  transition: all 0.15s ease;
  line-height: 1;
}
.heidi-cc-btn:hover { background: #eef6fc; }
.heidi-cc-btn--primary { background: var(--heidi-blue); color: #fff; }
.heidi-cc-btn--primary:hover { background: #025a91; }
.heidi-cc-btn--link {
  border: none;
  background: none;
  color: var(--heidi-dark);
  text-decoration: underline;
  padding: 12px 8px;
  font-weight: 500;
}
.heidi-cc-btn--link:hover { color: var(--heidi-blue); background: none; }

/* Einstellungen-Panel */
.heidi-cc-settings {
  max-width: 1100px;
  margin: 14px auto 0;
  border-top: 1px solid #e3e3e3;
  padding-top: 14px;
}
.heidi-cc-cat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.heidi-cc-cat:last-child { border-bottom: none; }
.heidi-cc-cat h3 { margin: 0 0 2px; font-size: 15px; font-weight: 600; }
.heidi-cc-cat p { margin: 0; font-size: 13.5px; color: #666; }
.heidi-cc-switch { flex: 0 0 auto; margin-top: 3px; }
.heidi-cc-switch input { width: 20px; height: 20px; accent-color: var(--heidi-blue); cursor: pointer; }
.heidi-cc-switch input:disabled { accent-color: #9bbdd5; cursor: not-allowed; }
.heidi-cc-badge { font-size: 12px; color: #888; }

/* Kartenplatzhalter */
.heidi-cc-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  background: #eef2f4;
  border: 1px dashed #b9c6ce;
  color: var(--heidi-dark);
  padding: 28px 20px;
  min-height: 300px; /* matches the original Google-Maps iframe height */
  box-sizing: border-box;
  font-family: 'Poppins', -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.5; /* override Elementor .elementor-custom-embed{line-height:0} */
}
.heidi-cc-placeholder p { margin: 0; font-size: 14px; max-width: 420px; line-height: 1.5; }
.heidi-cc-placeholder .heidi-cc-ph-icon { font-size: 30px; line-height: 1; }

/* Wieder-öffnen-Button */
.heidi-cc-reopen {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 999990;
  background: #fff;
  border: 1px solid #cdd6db;
  border-radius: 30px;
  padding: 9px 15px;
  font-family: 'Poppins', -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 13px;
  color: var(--heidi-dark);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.heidi-cc-reopen:hover { border-color: var(--heidi-blue); color: var(--heidi-blue); }

@media (max-width: 600px) {
  .heidi-cc-actions { width: 100%; }
  .heidi-cc-actions .heidi-cc-btn { flex: 1 1 auto; text-align: center; }
}
