
.page-kalorienrechner {background-color:#f5f5f5;}
.wb-caloriecalc-subline {max-width:600px;margin:0 auto 25px;font-size:15px;color:#666;line-height:1.6;}
.wb-kalorienrechner {max-width:700px;margin:15px auto 50px auto;    border: 1px solid #eee; padding:30px;min-height: 425px;background-color:#fff;}

.wb-kalorienrechner h3{margin-top:0px;}
.wb-kalorienrechner .btn-group-toggle {border:1px solid #000;margin-bottom:10px;}
.wb-kalorienrechner .btn-group-toggle > .btn {border-radius:0px;display:flex;align-items:center; justify-content:center;}
.wb-kalorienrechner .btn-secondary.active {background-color:#000; color:#fff;}
.wb-kalorienrechner .wb-kal-input input {margin-bottom:10px;}
.wb-kalorienrechner .input-group {width:100%;}
.wb-kalorienrechner_btn {color:#fff; background-color:#000;}
.wb-kalorienrechner_btn:hover {color:#fff; background-color:#000;}

.wb-kal-workouts {display:flex;}
.wb-kal-workouts .btn {flex:1 1 auto;padding: 9px 0;}
.wb-kal-workouts .btn:hover {background-color:#000; color:#fff;}
.wb-kalorienrechner .btn.focus {outline:none;}
.wb-kalorienrechner .wb-kal-workoutgoals,  .wb-kalorienrechner .wb-kal-activity {padding:10px 0px;}
.wb-kalorienrechner .wb-kal-workoutgoals label,  .wb-kalorienrechner .wb-kal-activity label{margin-bottom:10px;}
.wb-kalorienrechner label {font-size:15px;}
.wb-kalorienrechner .wb-ratio-container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 15px;
  font-weight:normal;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.wb-kalorienrechner  .wb-ratio-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 19px;
  width: 19px;
  background-color: #eee;
  border-radius: 50%;
}
.wb-kalorienrechner .wb-ratio-container:hover input ~ .checkmark {
  background-color: #ccc;
}
.wb-kalorienrechner .wb-ratio-container input:checked ~ .checkmark {
  background-color: #000;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.wb-kalorienrechner .wb-ratio-container input:checked ~ .checkmark:after {
  display: block;
}
.wb-kalorienrechner .wb-ratio-container .checkmark:after {
  top: 6px;
  left: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: white;
}

/* Unit toggle */
.wb-kal-unit-toggle {
  margin: 15px 0 10px;
}

/* Imperial fields side by side */
.wb-kal-imperial-fields {
  display: flex;
  gap: 10px;
}
.wb-kal-imperial-fields input {
  flex: 1;
}

/* Results section */
.wb-results {
  margin-top: 30px;
}
.wb-results h2 {
  margin-bottom: 20px;
}
.wb-results-grid {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.wb-result-card {
  flex: 1;
  border: 1px solid #eee;
  padding: 20px;
  text-align: center;
}
.wb-result-card__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  margin-bottom: 8px;
}
.wb-result-card__value {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
}
.wb-result-card__value--highlight {
  font-size: 32px;
  color: #000;
}
.wb-result-card__context {
  font-size: 13px;
  color: #888;
  margin-bottom: 0;
}

/* Macros */
.wb-macros {
  border: 1px solid #eee;
  padding: 20px;
}
.wb-macros h3 {
  margin-bottom: 20px;
  font-size: 16px;
}
.wb-macros-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.wb-macro-item__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.wb-macro-item__name {
  font-weight: bold;
  font-size: 14px;
}
.wb-macro-item__value {
  font-size: 14px;
  font-weight: bold;
}
.wb-macro-bar-bg {
  height: 20px;
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 4px;
}
.wb-macro-bar {
  height: 100%;
  border-radius: 10px;
  transition: width 0.4s ease;
}
.wb-kalorienrechner .wb-macros .wb-macro-bar--protein {
  background-color: #000;
}
.wb-kalorienrechner .wb-macros .wb-macro-bar--carbs {
  background-color: #000;
}
.wb-kalorienrechner .wb-macros .wb-macro-bar--fat {
  background-color: #000;
}
.wb-macro-item__pct {
  font-size: 12px;
  color: #888;
}

/* Product recommendations */
.wb-caloriecalc-recos {
  margin-top: 40px;
}

/* SEO content section */
.wb-caloriecalc-seo {
  max-width: 700px;
  margin: 40px auto 60px;
  line-height: 1.7;
}
.wb-caloriecalc-seo h2 {
  font-size: 22px;
  margin-bottom: 15px;
}
.wb-caloriecalc-seo h3 {
  font-size: 18px;
  margin-top: 25px;
  margin-bottom: 10px;
}
.wb-caloriecalc-seo p {
  font-size: 15px;
  color: #444;
  margin-bottom: 15px;
}

/* FAQ accordion */
.wb-caloriecalc-faq {
  margin-top: 35px;
}
.wb-caloriecalc-faq h2 {
  font-size: 20px;
  margin-bottom: 15px;
}
.wb-caloriecalc-faq details {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}
.wb-caloriecalc-faq details:first-of-type {
  border-top: 1px solid #eee;
}
.wb-caloriecalc-faq summary {
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wb-caloriecalc-faq summary::-webkit-details-marker {
  display: none;
}
.wb-caloriecalc-faq summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.2s;
}
.wb-caloriecalc-faq details[open] summary::after {
  content: '−';
}
.wb-caloriecalc-faq details p {
  margin-top: 12px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media only screen and (max-width: 580px) {
  .wb-results-grid {
    flex-direction: column;
  }
  .wb-kalorienrechner {
    padding: 20px 15px;
  }
}
