/* Kalorienrechner - eigenständige Styles, nutzt die Farben/Schriften der Haupt-Website */
.calc-page { font-family: "Open Sans", Verdana, Arial, sans-serif; color: #251401; background: #FDFBF9; }

/* Hero */
.calc-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
  background: linear-gradient(160deg, #3E2603 0%, #251401 100%);
  color: #FDFBF9;
}
.calc-hero h1 {
  font-family: "Asap Condensed", Verdana, Arial, sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.05;
  margin: 0 0 16px;
  max-width: 820px;
}
.calc-hero p {
  font-size: 18px;
  max-width: 620px;
  margin: 0 auto;
  color: #FFE9DA;
}
@media (max-width: 767px) {
  .calc-hero { min-height: 46vh; padding: 80px 20px 50px; }
  .calc-hero h1 { font-size: 2rem; }
  .calc-hero p { font-size: 15px; }
}

/* Reviews bar (SimplyReview) */
.calc-reviews { background: #251401; padding: 16px; text-align: center; }

/* Calculator widget */
.calc-widget-wrap { max-width: 1100px; margin: -40px auto 0; padding: 0 20px 60px; position: relative; z-index: 2; }
.calc-widget { display: flex; flex-wrap: wrap; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.18); }
.calc-inputs, .calc-results { flex: 1 1 380px; padding: 36px 32px; }
.calc-inputs { background: #FDFBF9; }
.calc-results { background: #251401; color: #FDFBF9; }

.calc-field { margin-bottom: 26px; }
.calc-field label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.calc-field .calc-value-box { background: rgb(230,230,230); border: 2px solid transparent; border-radius: 4px; padding: 4px 6px; font: inherit; font-weight: 700; width: 74px; text-align: center; color: inherit; box-sizing: border-box; -moz-appearance: textfield; }
.calc-field .calc-value-box:focus { outline: none; border-color: #FFC118; background: #fff; }
.calc-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: rgb(230,230,230); outline: none; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #FFC118; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.3); cursor: pointer; }
.calc-slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #FFC118; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.3); cursor: pointer; }
.calc-slider-scale { display: flex; justify-content: space-between; font-size: 12px; color: #888; margin-top: 4px; }

.calc-radio-group { display: flex; gap: 24px; margin-top: 8px; }
.calc-radio-group label { font-weight: 400; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.calc-radio-group input { accent-color: #FFC118; width: 18px; height: 18px; }
.calc-subtext { font-size: 12px; color: #888; margin: -6px 0 10px; }

.calc-select {
  width: 100%; font-size: 14px; font-family: inherit; color: #444;
  border: 2px solid rgb(221,222,223); border-radius: 4px; background: #fff;
  padding: 10px 12px; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23444'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 18px;
}
.calc-select:focus { outline: none; border-color: #FFC118; }

.calc-result-main { font-size: 2.6rem; font-weight: 800; }
.calc-result-caption { color: #cbb8a4; margin: 4px 0 26px; font-size: 14px; }
.calc-result-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.calc-result-row:last-child { border-bottom: none; }
.calc-result-row .calc-result-label { font-weight: 700; }
.calc-result-row .calc-result-label small { display: block; font-weight: 400; color: #cbb8a4; font-size: 12px; }
.calc-result-row .calc-result-value { font-size: 1.3rem; font-weight: 700; }

.calc-nextsteps-inline { display: none; margin-top: 26px; text-align: center; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 22px; }
.calc-nextsteps-inline.calc-goal-chosen { display: block; }
.calc-nextsteps-inline h3 { font-family: "Asap Condensed", Verdana, Arial, sans-serif; font-size: 1.4rem; margin: 0 0 10px; color: #fff; }
.calc-nextsteps-inline p { font-size: 13px; line-height: 1.55; color: #cbb8a4; margin: 0 0 20px; }

.calc-cta-button {
  background: #fff; color: #251401; border: none; border-radius: 6px;
  padding: 16px 36px; font-size: 15px; font-weight: 800; cursor: pointer;
  font-family: inherit; animation: calc-cta-pulse 3s ease-in-out infinite;
}
.calc-cta-button:hover { background: #FFF0DA; }
@keyframes calc-cta-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,255,255,0); }
  50% { transform: scale(1.1); box-shadow: 0 0 32px rgba(255,255,255,0.7); }
}

/* Lead form sections (standalone, e.g. reused elsewhere) */
.calc-leadform-section { max-width: 720px; margin: 0 auto; padding: 50px 20px; text-align: center; }
.calc-leadform { background: #FDFBF9; border: 2px solid rgb(230,230,230); border-radius: 10px; padding: 28px; text-align: left; max-width: 480px; margin: 0 auto; }
.calc-leadform .calc-lf-field { margin-bottom: 14px; }
.calc-leadform input[type="text"], .calc-leadform input[type="email"] {
  width: 100%; box-sizing: border-box; border: 2px solid rgb(221,222,223); border-radius: 3px;
  padding: 10px 12px; font-size: 14px; font-family: inherit; color: #444;
}
.calc-leadform input:focus { outline: none; border-color: #FFC118; }
.calc-leadform button {
  width: 100%; margin-top: 6px; background: #FFC118; color: #251401; border: none; border-radius: 3px;
  padding: 14px; font-size: 15px; font-weight: 800; cursor: pointer; transition: background 0.2s;
}
.calc-leadform button:hover { background: #FFD988; }
.calc-leadform button:disabled { opacity: 0.6; cursor: default; }
.calc-lf-hint { color: rgb(228,71,71); background: rgb(255,240,240); border: 1px solid rgb(228,71,71); border-radius: 3px; padding: 8px 12px; font-size: 13px; margin-bottom: 12px; display: none; text-align: center; }
.calc-lf-message { display: none; text-align: center; font-weight: 700; padding: 10px; }
.calc-lf-privacy { font-size: 10px; color: #888; margin-top: 12px; text-align: center; line-height: 1.45; }
.calc-lf-privacy a { color: #888; }

/* Erklaerender Text (SEO-Content) */
.calc-explainer { max-width: 760px; margin: 0 auto; padding: 60px 20px 0; }
.calc-explainer h2 { font-family: "Asap Condensed", Verdana, Arial, sans-serif; font-size: 1.9rem; color: #251401; margin: 0 0 18px; text-align: center; }
.calc-explainer p { line-height: 1.7; color: #3a2c20; margin: 0 0 14px; }

/* Haeufige Fragen */
.calc-faq { max-width: 760px; margin: 0 auto; padding: 60px 20px; }
.calc-faq h2 { font-family: "Asap Condensed", Verdana, Arial, sans-serif; font-size: 1.9rem; color: #251401; margin: 0 0 30px; text-align: center; }
.calc-faq-item { background: #F8F2EC; border-radius: 14px; padding: 22px 26px; margin: 0 0 14px; }
.calc-faq-item h3 { font-family: "Asap Condensed", Verdana, Arial, sans-serif; font-size: 1.15rem; color: #251401; margin: 0 0 8px; }
.calc-faq-item p { margin: 0; line-height: 1.6; color: #3a2c20; }
.calc-faq-item a { color: #EA9216; font-weight: 700; }

/* Video */
.calc-video-section { background: #251401; color: #fff; padding: 60px 20px; text-align: center; }
.calc-video-section h2 { font-family: "Asap Condensed", Verdana, Arial, sans-serif; font-size: 2.2rem; margin: 0 0 14px; }
.calc-video-section p { max-width: 620px; margin: 0 auto 32px; color: #e7d9c9; line-height: 1.6; }
.calc-video-wrap { position: relative; max-width: 700px; margin: 0 auto; }
.calc-video-frame {
  max-width: 340px; margin: 0 auto; aspect-ratio: 9/16; background: #3E2603;
  border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  border: 2px dashed rgba(255,255,255,0.3); color: #cbb8a4; font-size: 14px; padding: 20px; text-align: center;
  position: relative;
}
.calc-video-frame.calc-video-landscape { max-width: 700px; aspect-ratio: 16/9; overflow: hidden; cursor: pointer; }
.calc-video-thumb {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  border-radius: 12px; opacity: 0.55;
}
.calc-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 12px; }

.calc-play-btn {
  position: relative; z-index: 2;
  width: 72px; height: 72px; border-radius: 50%; background: #FFC118;
  display: flex; align-items: center; justify-content: center;
  animation: calc-play-pulse 1.6s ease-in-out infinite;
}
.calc-play-triangle { color: #251401; font-size: 26px; margin-left: 4px; }
@keyframes calc-play-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,193,24,0.55); }
  50% { box-shadow: 0 0 0 16px rgba(255,193,24,0); }
}
.calc-play-label { position: relative; z-index: 2; font-weight: 800; letter-spacing: 1px; color: #FFC118; font-size: 13px; }

.calc-video-lead-heading {
  font-family: "Asap Condensed", Verdana, Arial, sans-serif; font-size: 1.6rem;
  text-align: center; margin: 44px 0 16px; color: #fff;
}
.calc-calendly-card {
  background: #FDFBF9; border-radius: 14px; max-width: 700px; margin: 0 auto;
  padding: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.28);
}
.calc-calendly-wrap { height: 750px; }
@media (max-width: 480px) {
  .calc-calendly-wrap { height: 850px; }
}
.calc-video-section .calc-calendly-consent-msg { color: #444; font-size: 14px; line-height: 1.6; padding: 60px 20px; margin: 0; text-align: center; }

/* Quotes (SimplyReview text carousel) */
.calc-quotes { max-width: 1100px; margin: 0 auto; padding: 60px 20px; text-align: center; }
.calc-quotes h2 { font-family: "Asap Condensed", Verdana, Arial, sans-serif; font-size: 2.2rem; margin: 0 0 30px; }

/* Bewertungen (SimplyReview compact widget) */
.calc-bewertungen { max-width: 1100px; margin: 0 auto; padding: 20px 20px 60px; text-align: center; }
.calc-bewertungen h2 { font-family: "Asap Condensed", Verdana, Arial, sans-serif; font-size: 2.2rem; margin: 0 0 24px; }
.calc-bewertungen .calc-reviews { background: #251401; border-radius: 10px; padding: 16px; display: inline-block; }

/* Testimonials */
.calc-testimonials { max-width: 1100px; margin: 0 auto; padding: 60px 20px; }
.calc-testimonials h2 { font-family: "Asap Condensed", Verdana, Arial, sans-serif; text-align: center; font-size: 2.2rem; margin: 0 0 36px; }
.calc-testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.calc-testi-card { background: #FDFBF9; border: 1px solid rgb(230,230,230); border-radius: 10px; overflow: hidden; text-align: center; padding-bottom: 16px; }
.calc-testi-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.calc-testi-card h4 { margin: 14px 0 4px; }
.calc-testi-card span { color: #EA9216; font-weight: 800; }

/* Sticky CTA - floating bottom-right pill, same style as the homepage's */
.calc-sticky {
  position: fixed; right: 20px; bottom: 20px; z-index: 500;
  background: #F8F2EC; border: 1px solid #251401; border-radius: 8px;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; max-width: 320px;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.calc-sticky.calc-sticky-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.calc-sticky span { font-family: "Open Sans", Verdana, Arial, sans-serif; font-weight: 800; font-size: 14px; color: #251401; }
.calc-sticky button {
  background: #251401; color: #fff; border: none; border-radius: 3px; width: 40px; height: 40px;
  font-size: 18px; cursor: pointer; flex-shrink: 0;
}
@media (max-width: 480px) {
  .calc-sticky { right: 12px; bottom: 12px; left: 12px; max-width: none; }
}

/* Simple footer */
.calc-footer { text-align: center; padding: 30px 20px 100px; font-size: 13px; color: #888; }
.calc-footer a { color: #888; margin: 0 8px; }

/* Newsletter-Block auf der Kalorienrechner-Seite */
.calc-nl { background: #FFF8EA; padding: 38px 16px; }
.calc-nl-inner { max-width: 940px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.calc-nl-inner > * { min-width: 0; }
.calc-nl-badge { display: inline-block; background: #FFC118; color: #251401; font-weight: 700; font-size: 12px; letter-spacing: .6px; padding: 3px 12px; border-radius: 12px; margin-bottom: 8px; }
.calc-nl h2 { margin: 0 0 10px; font-size: 1.7rem; line-height: 1.2; }
.calc-nl p { line-height: 1.6; margin: 0 0 14px; }
.calc-nl-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.calc-nl-photos img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 12px; display: block; box-shadow: 0 6px 16px rgba(37,20,1,.15); }
.calc-nl-form { background: #fff; border-radius: 16px; padding: 22px; box-shadow: 0 12px 28px rgba(37,20,1,.12); }
.calc-nl-field { width: 100%; box-sizing: border-box; padding: 13px 14px; border: 1px solid #e3d7c9; border-radius: 10px; font-size: 16px; font-family: inherit; margin-bottom: 10px; color: #251401; background: #fff; }
.calc-nl-field:focus { outline: 2px solid #FFC118; border-color: #FFC118; }
.calc-nl-consent { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.5; color: #6b5b4d; margin: 6px 0 14px; cursor: pointer; }
.calc-nl-consent input { flex: none; margin-top: 3px; width: 18px; height: 18px; }
.calc-nl-submit { width: 100%; background: #FFC118; color: #251401; border: 0; border-radius: 12px; font-weight: 700; font-size: 17px; padding: 15px; cursor: pointer; font-family: inherit; }
.calc-nl-submit:disabled { opacity: .6; cursor: default; }
.calc-nl-status { font-size: 14.5px; margin: 10px 0 0; min-height: 1.2em; }
.calc-nl-status.err { color: #b3261e; }
.calc-nl-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
@media (max-width: 720px) { .calc-nl-inner { grid-template-columns: minmax(0, 1fr); gap: 22px; } .calc-nl h2 { font-size: 1.45rem; } }
.calc-nl-done h3 { margin: 0 0 8px; font-size: 1.4rem; }
.calc-nl-done p { margin: 0 0 12px; }
.calc-nl-step { background: #FFF1CC; border: 2px solid #FFC118; border-radius: 12px; padding: 14px 16px; font-size: 1.05rem; line-height: 1.5; margin: 0 0 12px; color: #251401; }
.calc-nl-step small { font-size: .85rem; font-weight: 400; }
.calc-nl-spam { font-size: .95rem; color: #6b5b4d; }
