/*
 * Cookie-Richtlinie – Gasthof Hinterbrühl am See
 * Neutrale, warme Farbpalette:
 * Hintergrund Creme #F6F3EC | Text Anthrazit #2E2B26 | Akzent Salbei-Grün #5B7362 |
 * Rahmen Taupe #D8D0C2 | Sekundärfläche Sand #EAE3D3
 */

.cvh-root,
.cvh-root * {
  box-sizing: border-box;
}

.cvh-root {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  display: flex;
  justify-content: center;
  padding: 18px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  color: #2e2b26;
  animation: cvh-rise 0.2s ease-out both;
}

@keyframes cvh-rise {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cvh-window {
  width: 100%;
  max-width: 660px;
  background: #f6f3ec;
  border: 1px solid #d8d0c2;
  border-radius: 6px;
  box-shadow: 0 8px 28px rgba(46, 43, 38, 0.18);
  overflow: hidden;
}

.cvh-titlebar {
  background: #5b7362;
  color: #f6f3ec;
  padding: 12px 20px;
  font-size: 15px;
  letter-spacing: 0.2px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 600;
}

.cvh-body {
  padding: 16px 22px 4px;
}

.cvh-body p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.55;
}

.cvh-links {
  margin: 0 0 16px;
  font-size: 13.5px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.cvh-links a {
  color: #5b7362;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cvh-links a:hover,
.cvh-links a:focus {
  color: #3f5245;
}

.cvh-links .cvh-sep {
  color: #b8af9c;
  margin: 0 8px;
}

.cvh-fieldset {
  border: 1px solid #d8d0c2;
  border-radius: 4px;
  padding: 4px 14px 8px;
  margin: 0 0 16px;
}

.cvh-legend {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b6355;
  padding: 0 6px;
}

.cvh-option {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #eae3d3;
  cursor: pointer;
}

.cvh-option:last-child {
  border-bottom: none;
}

.cvh-option.cvh-locked {
  cursor: default;
}

.cvh-option-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.cvh-option input {
  width: 17px;
  height: 17px;
  accent-color: #5b7362;
  cursor: pointer;
  flex: 0 0 auto;
}

.cvh-option.cvh-locked input {
  cursor: default;
  opacity: 0.55;
}

.cvh-option-desc {
  margin: 3px 0 0 27px;
  font-size: 12.5px;
  color: #6b6355;
  line-height: 1.4;
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.cvh-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px 22px 20px;
  justify-content: flex-end;
  font-family: "Trebuchet MS", Verdana, sans-serif;
}

.cvh-btn {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  padding: 9px 18px;
  border: 1px solid #5b7362;
  transition: background 0.12s ease, color 0.12s ease;
}

.cvh-btn-reject {
  background: #f6f3ec;
  color: #3f5245;
}

.cvh-btn-reject:hover,
.cvh-btn-reject:focus-visible {
  background: #eae3d3;
}

.cvh-btn-save {
  background: #f6f3ec;
  color: #3f5245;
  border-color: #d8d0c2;
}

.cvh-btn-save:hover,
.cvh-btn-save:focus-visible {
  background: #eae3d3;
  border-color: #5b7362;
}

.cvh-btn-accept {
  background: #5b7362;
  color: #f6f3ec;
}

.cvh-btn-accept:hover,
.cvh-btn-accept:focus-visible {
  background: #3f5245;
}

.cvh-btn:focus-visible {
  outline: 2px solid #3f5245;
  outline-offset: 2px;
}

.cvh-launcher {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 999998;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 13px;
  font-weight: 600;
  background: #f6f3ec;
  color: #3f5245;
  border: 1px solid #d8d0c2;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(46, 43, 38, 0.16);
  padding: 8px 16px 8px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cvh-launcher:hover {
  background: #eae3d3;
}

@media (max-width: 480px) {
  .cvh-buttons {
    flex-direction: column;
  }
  .cvh-btn {
    width: 100%;
    text-align: center;
  }
}
