/* EKM Checkliste Styles */

/* Hauptcontainer entfernt - Elemente werden direkt gestylt */

.ekm-context {
  font-size: 1em;
  margin-top: 10px;
  color: #3192d4;
  font-style: italic;
  font-weight: 500;
}

.ekm-comfort-text {
  font-size: 1.1em;
  line-height: 1.6;
  color: #024e9e;
  margin: 20px 0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #024e9e;
  font-weight: 500;
  text-align: left;
}

/* Reset Button Styles */
.ekm-reset-container {
  text-align: right;
  margin-bottom: 15px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.ekm-reset-button {
  background: #f5ffe9;
  border-width: 1px;
  border-color: #024e9e;
  border-style: solid;
  box-shadow: 2px 2px 0px 0px #024e9e;
  color: #024e9e;
  padding: 8px 16px;
  font-size: 0.9em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ekm-reset-button:hover {
  background: #6bca00;
  color: white;
  transform: translateY(-1px);
  box-shadow: 3px 3px 0px 0px #024e9e;
}

.ekm-reset-button:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 0px 0px #024e9e;
}

.ekm-step {
  display: none;
  text-align: center;
  padding: 20px 15px;
  max-width: 500px;
  margin: 0 auto;
  font-family: 'Arial', sans-serif;
  color: #024e9e;
}

.ekm-step.active {
  display: block;
}

.ekm-instruction h2 {
  font-size: 2.2em;
  margin-bottom: 30px;
  font-weight: 600;
  color: #024e9e;
}

/* Atemübung Styles */
.ekm-breathing-circle-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  margin: 20px 0;
}

.ekm-breathing-circle {
  width: 120px;
  height: 120px;
  border: 3px dotted #0072f1;
  border-radius: 50%;
  background: rgba(6, 136, 190, 0.1);
  transition: all 2s ease-in-out;
  animation: breathing-pulse 4s ease-in-out infinite;
  position: relative;
}

/* Partikel Styles */
.ekm-particle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #0072f1;
  border-radius: 50%;
  animation: particle-float 4s ease-in-out infinite;
}

.particle-1 {
  top: 20%;
  left: 50%;
  animation-delay: 0s;
}

.particle-2 {
  top: 50%;
  right: 20%;
  animation-delay: 0.5s;
}

.particle-3 {
  bottom: 20%;
  left: 50%;
  animation-delay: 1s;
}

.particle-4 {
  top: 50%;
  left: 20%;
  animation-delay: 1.5s;
}

.particle-5 {
  top: 30%;
  left: 30%;
  animation-delay: 2s;
}

.particle-6 {
  top: 30%;
  right: 30%;
  animation-delay: 2.5s;
}

.particle-7 {
  bottom: 30%;
  left: 30%;
  animation-delay: 3s;
}

.particle-8 {
  bottom: 30%;
  right: 30%;
  animation-delay: 3.5s;
}

@keyframes particle-float {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}

/* Partikel-Animationen für verschiedene Atemphasen */
@keyframes particle-inhale {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.4);
    opacity: 1;
  }
}

@keyframes particle-hold {
  0%,
  100% {
    transform: scale(1.4);
    opacity: 1;
  }
}

@keyframes particle-exhale {
  0% {
    transform: scale(1.4);
    opacity: 1;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
}

@keyframes particle-pause {
  0%,
  100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
}

/* Phasen-spezifische Partikel-Klassen */
.ekm-particle.phase-inhale {
  animation: particle-inhale 4s ease-in-out forwards;
}

.ekm-particle.phase-hold {
  animation: particle-hold 7s ease-in-out forwards;
}

.ekm-particle.phase-exhale {
  animation: particle-exhale 8s ease-in-out forwards;
}

.ekm-particle.phase-pause {
  animation: particle-pause 2s ease-in-out forwards;
}

@keyframes breathing-pulse {
  0%,
  100% {
    transform: scale(1);
    border-color: #0072f1;
  }
  50% {
    transform: scale(1.3);
    border-color: #0688be;
  }
}

/* Neue Animationen für verschiedene Atemphasen */
@keyframes breathing-inhale {
  0% {
    transform: scale(1);
    border-color: #0072f1;
    background: rgba(6, 136, 190, 0.1);
  }
  100% {
    transform: scale(1.4);
    border-color: #0688be;
    background: rgba(6, 136, 190, 0.3);
  }
}

@keyframes breathing-hold {
  0%,
  100% {
    transform: scale(1.4);
    border-color: #0688be;
    background: rgba(6, 136, 190, 0.3);
  }
}

@keyframes breathing-exhale {
  0% {
    transform: scale(1.4);
    border-color: #0688be;
    background: rgba(6, 136, 190, 0.3);
  }
  100% {
    transform: scale(1);
    border-color: #0072f1;
    background: rgba(6, 136, 190, 0.1);
  }
}

@keyframes breathing-pause {
  0%,
  100% {
    transform: scale(1);
    border-color: #0072f1;
    background: rgba(6, 136, 190, 0.1);
  }
}

.ekm-breathing-circle.breathing {
  animation-play-state: running;
}

.ekm-breathing-circle.paused {
  animation-play-state: paused;
}

/* Phasen-spezifische Klassen */
.ekm-breathing-circle.phase-inhale {
  animation: breathing-inhale 4s ease-in-out forwards;
}

.ekm-breathing-circle.phase-hold {
  animation: breathing-hold 7s ease-in-out forwards;
}

.ekm-breathing-circle.phase-exhale {
  animation: breathing-exhale 8s ease-in-out forwards;
}

.ekm-breathing-circle.phase-pause {
  animation: breathing-pause 2s ease-in-out forwards;
}

.ekm-particle.breathing {
  animation-play-state: running;
}

.ekm-particle.paused {
  animation-play-state: paused;
}

.ekm-breathing-instructions {
  margin: 15px 0;
  font-size: 1em;
  line-height: 1.4;
}

.ekm-breathing-instructions p {
  margin: 10px 0;
  color: #3192d4;
  font-weight: 500;
}

.ekm-breathing-instructions p strong {
  color: #024e9e;
  font-size: 1.1em;
}

/* Atemphasen-Anzeige */
.ekm-breathing-phase {
  margin: 15px 0;
  text-align: center;
}

.phase-text {
  font-size: 1.4em;
  font-weight: bold;
  color: #024e9e;
  margin-bottom: 5px;
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.countdown {
  font-size: 2.5em;
  font-weight: bold;
  color: #0688be;
  margin: 10px 0;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ekm-cycle-counter {
  font-size: 1em;
  margin: 10px 0;
  font-weight: bold;
  color: #329b8a;
}

/* Gebet nach Atemübung */
.ekm-prayer-container {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #024e9e;
  border-radius: 15px;
  padding: 25px;
  margin: 20px auto;
  max-width: 400px;
  text-align: center;
  box-shadow: 2px 2px 0px 0px #024e9e;
  animation: prayer-fade-in 1s ease-in;
}

.prayer-icon {
  font-size: 2em;
  margin-bottom: 15px;
  color: #024e9e;
}

.prayer-text {
  font-size: 1.2em;
  line-height: 1.6;
  color: #024e9e;
  font-style: italic;
  margin-bottom: 15px;
  font-weight: 500;
}

.prayer-amen {
  font-size: 1.1em;
  font-weight: bold;
  color: #024e9e;
  margin-top: 10px;
}

@keyframes prayer-fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button Styles */
.ekm-button {
  background: #f5ffe9;
  border-width: 1px;
  border-color: #024e9e;
  border-style: solid;
  box-shadow: 2px 2px 0px 0px #024e9e;
  color: #024e9e;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 10px;
}

.ekm-button:hover {
  background: #36a839;
  color: white;
  transform: translateY(-1px);
  box-shadow: 3px 3px 0px 0px #024e9e;
}

.ekm-button:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 0px 0px #024e9e;
}

/* Skip Button Styles */
.ekm-skip-button {
  background: #f5ffe9;
  border-width: 1px;
  border-color: #3192d4;
  border-style: solid;
  box-shadow: 2px 2px 0px 0px #3192d4;
  color: #3192d4;
  font-size: 0.9em;
  padding: 10px 20px;
}

.ekm-skip-button:hover {
  background: #3192d4;
  color: white;
  transform: translateY(-1px);
  box-shadow: 3px 3px 0px 0px #3192d4;
}

.ekm-skip-button:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 0px 0px #3192d4;
}

/* Anonymous Button Styles */
.ekm-anonymous-button {
  background: #f5ffe9;
  border-width: 1px;
  border-color: #329b8a;
  border-style: solid;
  box-shadow: 2px 2px 0px 0px #329b8a;
  color: #329b8a;
  font-size: 0.9em;
  padding: 10px 20px;
}

.ekm-anonymous-button:hover {
  background: #329b8a;
  color: white;
  transform: translateY(-1px);
  box-shadow: 3px 3px 0px 0px #329b8a;
}

.ekm-anonymous-button:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 0px 0px #329b8a;
}

/* Beileidsbekundung Styles */
.ekm-bible-verse-container {
  margin: 30px 0;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-width: 1px;
  border-color: #024e9e;
  border-style: solid;
  box-shadow: 2px 2px 0px 0px #024e9e;
  border-radius: 5px;
}

.bible-verse {
  text-align: center;
  font-style: italic;
}

.verse-text {
  font-size: 1.2em;
  line-height: 1.6;
  color: #024e9e;
  margin-bottom: 15px;
  font-weight: 500;
}

.verse-reference {
  font-size: 1em;
  color: #3192d4;
  font-weight: 600;
}

.ekm-button-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

/* Entscheidungs-Buttons */

.ekm-decision-btn {
  background: #f5ffe9;
  border-width: 1px;
  border-color: #024e9e;
  border-style: solid;
  box-shadow: 2px 2px 0px 0px #024e9e;
  color: #024e9e;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.ekm-decision-btn:hover {
  background: #0688be;
  color: white;
  transform: translateY(-1px);
  box-shadow: 3px 3px 0px 0px #024e9e;
}

.ekm-decision-btn:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 0px 0px #024e9e;
}

.decision-icon {
  font-size: 1.5em;
  margin-right: 10px;
  vertical-align: middle;
}

.decision-title {
  font-size: 1.2em;
  font-weight: bold;
  display: block !important;
  margin-bottom: 8px;
  line-height: 1.2;
  width: 100% !important;
}

.decision-desc {
  font-size: 0.9em;
  opacity: 0.8;
  display: block !important;
  line-height: 1.4;
  margin-top: 5px;
  width: 100% !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

/* Position-Buttons */

/* Name Input Styles */
.ekm-input-container {
  margin: 30px 0;
}

.ekm-input {
  width: 100%;
  max-width: 400px;
  padding: 15px 20px;
  font-size: 1.1em;
  border-width: 1px;
  border-color: #024e9e;
  border-style: solid;
  box-shadow: 2px 2px 0px 0px #024e9e;
  background: #f5ffe9;
  color: #024e9e;
  margin-bottom: 20px;
}

.ekm-input::placeholder {
  color: #3192d4;
  opacity: 0.7;
}

.ekm-input:focus {
  outline: none;
  border-color: #0688be;
  box-shadow: 2px 2px 0px 0px #0688be;
}

/* Entscheidungsfrage Styles */
.ekm-decision-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 30px auto;
  max-width: 600px;
  width: 100%;
  justify-items: center;
  padding: 0 15px;
  box-sizing: border-box;
}

.ekm-decision-btn {
  background: #f5ffe9;
  border: 2px solid #024e9e;
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 0px 0px #024e9e;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
}

.ekm-decision-btn:hover {
  background: #6bca00;
  color: white;
  transform: translateY(-3px);
  box-shadow: 4px 4px 0px 0px #024e9e;
}

.ekm-decision-btn:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 0px 0px #024e9e;
}

.decision-icon {
  font-size: 2.5em;
  text-align: center;
  flex-shrink: 0;
  margin-bottom: 5px;
}

.decision-text-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
  width: 100%;
}

.decision-title {
  font-size: 1.3em;
  font-weight: 600;
  color: #024e9e;
  margin-bottom: 8px;
  display: block !important;
  width: 100% !important;
  word-wrap: break-word;
  line-height: 1.3;
}

.ekm-decision-btn:hover .decision-title {
  color: white;
}

.decision-desc {
  font-size: 1em;
  color: #3192d4;
  font-style: italic;
  line-height: 1.4;
  display: block !important;
  width: 100% !important;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.ekm-decision-btn:hover .decision-desc {
  color: rgba(255, 255, 255, 0.9);
}

/* Position-Abfrage Styles */
.ekm-position-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin: 30px 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ekm-position-btn {
  background: #f5ffe9;
  border: 2px solid #024e9e;
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 0px 0px #024e9e;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.ekm-position-btn:hover {
  background: #6bca00;
  color: white;
  transform: translateY(-2px);
  box-shadow: 4px 4px 0px 0px #024e9e;
}

.ekm-position-btn:active {
  transform: translateY(1px);
  box-shadow: 1px 1px 0px 0px #024e9e;
}

.position-icon {
  font-size: 2em;
  min-width: 50px;
  text-align: center;
  flex-shrink: 0;
}

.position-text-container {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.position-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #024e9e;
  margin-bottom: 5px;
  display: block !important;
  width: 100% !important;
}

.ekm-position-btn:hover .position-title {
  color: white;
}

.position-desc {
  font-size: 0.9em;
  color: #3192d4;
  font-style: italic;
  display: block !important;
  width: 100% !important;
}

.ekm-position-btn:hover .position-desc {
  color: rgba(255, 255, 255, 0.9);
}

/* Checkliste Styles */
.ekm-checkliste-header {
  text-align: center;
  margin-bottom: 30px;
}

.ekm-checkliste-header h2 {
  font-size: 1.6em;
  color: #024e9e;
  margin-bottom: 20px;
}

/* Navigation Styles */
.ekm-checkliste-navigation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.ekm-nav-btn {
  background: #f5ffe9;
  border: 2px solid #3192d4;
  color: #3192d4;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9em;
}

.ekm-nav-btn:hover {
  background: #3192d4;
  color: white;
  transform: translateY(-1px);
}

.ekm-nav-btn.active {
  background: #024e9e;
  color: white;
  border-color: #024e9e;
}

/* Kategorie Styles */
.ekm-category {
  display: none;
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #024e9e;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 2px 2px 0px 0px #024e9e;
}

.ekm-category.active {
  display: block;
}

.category-title {
  font-size: 1.5em;
  color: #024e9e;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 600;
}

/* Checkliste Items */
.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.checklist-item {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.checklist-item:hover {
  border-color: #3192d4;
  box-shadow: 0 2px 8px rgba(49, 146, 212, 0.2);
}

.checklist-item.completed {
  background: #f0f8f0;
  border-color: #6bca00;
}

.checklist-item input[type='checkbox'] {
  position: absolute;
  left: -9999px;
}

.checklist-item label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: #024e9e;
  margin-bottom: 5px;
  position: relative;
  padding-left: 35px;
}

.checklist-item label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #3192d4;
  border-radius: 4px;
  background: white;
  transition: all 0.3s ease;
}

.checklist-item input[type='checkbox']:checked + label::before {
  background: #6bca00;
  border-color: #6bca00;
}

.checklist-item input[type='checkbox']:checked + label::after {
  content: '✓';
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.checklist-item input[type='checkbox']:checked + label {
  text-decoration: line-through;
  color: #666;
}

.item-help {
  font-size: 0.85em;
  color: #3192d4;
  font-style: italic;
  margin-left: 35px;
  line-height: 1.4;
}

/* Header-Bereich für Checkbox, Label und Button */
.checklist-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}

.checklist-item-main {
  display: flex;
  align-items: flex-start;
  flex: 1;
}

/* Mehr Infos Button */
.more-info-btn {
  background: #f5ffe9;
  border: 1px solid #329b8a;
  color: #329b8a;
  padding: 4px 8px;
  font-size: 0.75em;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  flex-shrink: 0;
  white-space: nowrap;
}

.more-info-btn:hover {
  background: #329b8a;
  color: white;
  transform: translateY(-1px);
}

.more-info-btn.active {
  background: #024e9e;
  color: white;
  border-color: #024e9e;
}

/* Mehr Infos Content */
.more-info-content {
  display: none;
  background: #f8f9fa;
  border: 1px solid #d1ecf1;
  border-radius: 6px;
  padding: 12px;
  margin: 10px 0 0 0;
  font-size: 0.85em;
  line-height: 1.4;
  border-left: 3px solid #329b8a;
}

.more-info-content.show {
  display: block;
  animation: info-fade-in 0.3s ease-in;
}

.more-info-content h4 {
  color: #024e9e;
  margin: 0 0 10px 0;
  font-size: 1.1em;
  font-weight: 600;
}

.more-info-content p {
  margin: 8px 0;
  color: #333;
}

.more-info-content strong {
  color: #024e9e;
  font-weight: 600;
}

@keyframes info-fade-in {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Actions Styles */
.ekm-checkliste-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.ekm-export-button {
  background: #f5ffe9;
  border-color: #329b8a;
  color: #329b8a;
}

.ekm-export-button:hover {
  background: #329b8a;
  color: white;
}

/* Bibelzitat-Box Styles */
.ekm-bible-quote-box {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #024e9e;
  border-radius: 12px;
  padding: 20px;
  margin: 30px auto;
  max-width: 700px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 2px 2px 0px 0px #024e9e;
  position: relative;
}

.quote-icon {
  font-size: 2em;
  flex-shrink: 0;
  color: #024e9e;
}

.quote-content {
  flex: 1;
  text-align: left;
}

.quote-text {
  font-size: 1.1em;
  line-height: 1.5;
  color: #024e9e;
  font-style: italic;
  margin-bottom: 8px;
  font-weight: 500;
}

.quote-reference {
  font-size: 0.9em;
  color: #3192d4;
  font-weight: 600;
  text-align: right;
}

/* Responsive Design */
@media (max-width: 768px) {
  .ekm-step {
    margin: 5px;
    padding: 10px;
    max-width: 95%;
  }

  .ekm-reset-container {
    margin: 5px auto 10px auto;
    max-width: 95%;
  }

  .ekm-instruction h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  .ekm-checkliste-header h2 {
    font-size: 1.2em;
    margin-bottom: 15px;
  }

  .ekm-breathing-circle-container {
    height: 150px;
    margin: 10px 0;
  }

  .ekm-breathing-circle {
    width: 100px;
    height: 100px;
  }

  .phase-text {
    font-size: 1.2em;
    min-height: 30px;
  }

  .countdown {
    font-size: 2em;
    min-height: 50px;
  }

  .ekm-breathing-instructions {
    margin: 10px 0;
    font-size: 0.9em;
  }

  /* Mobile Entscheidungsfrage */
  .ekm-decision-options {
    gap: 15px;
    margin: 20px 0;
    padding: 0 10px;
    max-width: 100%;
    width: calc(100% - 20px);
  }

  .ekm-decision-btn {
    padding: 15px;
    gap: 10px;
    max-width: 100%;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .decision-icon {
    font-size: 1.8em;
    margin-bottom: 5px;
  }

  .decision-title {
    font-size: 1em;
    display: block !important;
    width: 100% !important;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .decision-desc {
    font-size: 0.85em;
    display: block !important;
    width: 100% !important;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Mobile Checkliste */
  .ekm-position-options {
    gap: 10px;
    margin: 20px 0;
  }

  .ekm-position-btn {
    padding: 15px;
    gap: 10px;
  }

  .position-icon {
    font-size: 1.5em;
    min-width: 40px;
  }

  .position-title {
    font-size: 1em;
    display: block !important;
    width: 100% !important;
  }

  .position-desc {
    font-size: 0.8em;
    display: block !important;
    width: 100% !important;
  }

  .ekm-checkliste-navigation {
    gap: 5px;
    margin-bottom: 20px;
  }

  .ekm-nav-btn {
    padding: 8px 12px;
    font-size: 0.8em;
  }

  .ekm-category {
    padding: 15px;
  }

  .category-title {
    font-size: 1.3em;
    margin-bottom: 20px;
  }

  .checklist-item {
    padding: 12px;
  }

  .checklist-item label {
    padding-left: 30px;
    font-size: 0.95em;
  }

  .checklist-item label::before {
    width: 18px;
    height: 18px;
  }

  .checklist-item input[type='checkbox']:checked + label::after {
    left: 3px;
    font-size: 12px;
  }

  .item-help {
    margin-left: 30px;
    font-size: 0.8em;
  }

  /* Mobile Mehr Infos */
  .checklist-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .checklist-item-main {
    width: 100%;
  }

  .more-info-btn {
    align-self: flex-end;
    font-size: 0.7em;
    padding: 3px 6px;
  }

  .more-info-content {
    font-size: 0.8em;
    padding: 10px;
    margin: 8px 0 0 0;
  }

  .ekm-checkliste-actions {
    gap: 10px;
    margin-top: 20px;
  }

  /* Mobile Bibelzitat-Box */
  .ekm-bible-quote-box {
    margin: 20px auto;
    padding: 12px;
    gap: 10px;
    max-width: 95%;
    flex-direction: column;
    text-align: center;
  }

  .quote-icon {
    font-size: 1.5em;
    margin-bottom: 5px;
  }

  .quote-content {
    text-align: center;
  }

  .quote-text {
    font-size: 0.95em;
    line-height: 1.4;
    margin-bottom: 6px;
  }

  .quote-reference {
    font-size: 0.8em;
    text-align: center;
  }

  /* Entscheidungs-Buttons mobile */
  .ekm-decision-btn {
    padding: 15px;
    max-width: 95%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .decision-title {
    font-size: 1.1em;
    display: block;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
  }

  .decision-desc {
    font-size: 0.85em;
    display: block;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
  }

  /* Position-Buttons mobile */
  .ekm-position-btn {
    padding: 12px;
    max-width: 95%;
  }

  .position-title {
    font-size: 1em;
    display: block;
    width: 100%;
  }

  .position-desc {
    font-size: 0.8em;
    display: block;
    width: 100%;
  }
}

/* Extra small mobile screens */
@media (max-width: 480px) {
  /* Ensure decision boxes fit on very small screens */
  .ekm-step {
    padding: 8px 5px;
    margin: 2px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .ekm-instruction h2 {
    font-size: 1.3em;
    margin-bottom: 12px;
  }

  .ekm-checkliste-header h2 {
    font-size: 1.1em;
    margin-bottom: 12px;
  }

  .ekm-decision-options {
    padding: 0 5px;
    gap: 12px;
    width: calc(100% - 10px);
    max-width: 100%;
  }

  .ekm-decision-btn {
    padding: 12px;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .decision-icon {
    font-size: 1.5em;
    margin-bottom: 3px;
  }

  .decision-title {
    font-size: 0.95em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
  }

  .decision-desc {
    font-size: 0.8em;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
  }

  .ekm-bible-quote-box {
    padding: 10px;
    margin: 15px auto;
  }

  .quote-text {
    font-size: 0.9em;
  }

  .quote-reference {
    font-size: 0.75em;
  }

  /* Ensure decision boxes never overflow */
  .ekm-decision-options {
    width: calc(100% - 10px);
    max-width: calc(100% - 10px);
    padding: 0 5px;
  }

  .ekm-decision-btn {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
}

/* Neue Styles für Trauungs-Prozess */

/* Online-Begleitung */
.ekm-guidance-content {
  margin: 20px 0;
}

.guidance-step {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #024e9e;
  padding: 15px;
  margin: 15px 0;
  border-radius: 0 8px 8px 0;
}

.guidance-step h3 {
  color: #024e9e;
  margin: 0 0 10px 0;
  font-size: 1.1em;
}

.guidance-step p {
  margin: 0;
  color: #333;
  line-height: 1.5;
}

/* Personalisierung */
.wedding-type-group {
  margin: 20px 0;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.radio-label:hover {
  background: rgba(255, 255, 255, 0.2);
}

.radio-label input[type='radio'] {
  margin-right: 10px;
  transform: scale(1.2);
}

.radio-text {
  font-weight: 500;
  color: #024e9e;
}

.date-input-group {
  margin: 20px 0;
}

.anonymous-option {
  margin: 20px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.checkbox-label:hover {
  background: rgba(255, 255, 255, 0.2);
}

.checkbox-label input[type='checkbox'] {
  margin-right: 10px;
  transform: scale(1.2);
}

.checkbox-text {
  font-weight: 500;
  color: #024e9e;
}

/* Spirituelle Reflexion */
.reflection-questions {
  margin: 20px 0;
}

.question-container h3 {
  color: #024e9e;
  margin-bottom: 20px;
  font-size: 1.2em;
}

.question-item {
  margin: 20px 0;
}

.question-item label {
  display: block;
  font-weight: 600;
  color: #024e9e;
  margin-bottom: 8px;
  font-size: 1.1em;
}

.ekm-textarea {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.ekm-textarea:focus {
  outline: none;
  border-color: #024e9e;
  box-shadow: 0 0 0 3px rgba(2, 78, 158, 0.1);
}

.prayers-section {
  margin: 30px 0;
}

.prayers-section h3 {
  color: #024e9e;
  margin-bottom: 20px;
  font-size: 1.2em;
}

.prayer-item {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #024e9e;
  padding: 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

.prayer-item h4 {
  color: #024e9e;
  margin: 0 0 15px 0;
  font-size: 1.1em;
}

.prayer-text {
  font-style: italic;
  line-height: 1.6;
  color: #333;
}

.prayer-text p {
  margin: 0;
  font-size: 1em;
}

/* Button-Container */
.ekm-button-container {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.ekm-secondary-button {
  background: #f5ffe9;
  border: 2px solid #024e9e;
  color: #024e9e;
}

.ekm-secondary-button:hover {
  background: #024e9e;
  color: white;
}

/* Responsive Design für neue Elemente */
@media (max-width: 768px) {
  .radio-group {
    gap: 8px;
  }

  .radio-label {
    padding: 8px;
  }

  .checkbox-label {
    padding: 8px;
  }

  .ekm-button-container {
    flex-direction: column;
  }

  .ekm-button-container .ekm-button {
    width: 100%;
  }

  .prayer-item {
    padding: 15px;
  }

  .guidance-step {
    padding: 12px;
  }
}

/* Linksbündige Sections für Online-Begleitungen */
.understanding-section-left {
  text-align: left;
  max-width: 700px;
  margin: 20px auto;
  padding: 0 20px;
}

.understanding-section-left h3 {
  text-align: left;
  color: #024e9e;
  font-size: 1.2em;
  margin-bottom: 15px;
  margin-top: 25px;
}

.understanding-section-left p {
  text-align: left;
  margin-bottom: 15px;
  line-height: 1.6;
}

.understanding-list-left {
  text-align: left;
  list-style-position: outside;
  padding-left: 25px;
  margin: 15px 0;
}

.understanding-list-left li {
  text-align: left;
  margin-bottom: 12px;
  line-height: 1.6;
  padding-left: 5px;
}

.intro-text {
  text-align: left;
  font-weight: 600;
  margin-bottom: 15px;
  margin-top: 20px;
  color: #024e9e;
  font-size: 1.05em;
}

.reflection-section {
  text-align: left;
  max-width: 700px;
  margin: 20px auto;
  padding: 0 20px;
}

.reflection-section h3,
.reflection-section h4 {
  text-align: left;
  color: #024e9e;
  margin-bottom: 12px;
}

.reflection-section p {
  text-align: left;
  margin-bottom: 15px;
  line-height: 1.6;
}

.reflection-section ul {
  text-align: left;
  list-style-position: outside;
  padding-left: 25px;
  margin: 15px 0;
}

.reflection-section li {
  text-align: left;
  margin-bottom: 10px;
  line-height: 1.6;
}

.taufspruch-section {
  text-align: left;
  max-width: 700px;
  margin: 20px auto;
  padding: 0 20px;
}

.taufspruch-section h3 {
  text-align: left;
  color: #024e9e;
  font-size: 1.2em;
  margin-bottom: 15px;
}

.taufspruch-section > p {
  text-align: left;
  margin-bottom: 20px;
}

.taufspruch-item {
  text-align: left;
  margin-bottom: 20px;
  padding: 15px;
  background: rgba(107, 202, 0, 0.05);
  border-left: 3px solid #6bca00;
}

.taufspruch-text {
  text-align: left;
  font-size: 1.05em;
  font-weight: 500;
  color: #024e9e;
  margin-bottom: 8px;
  line-height: 1.5;
}

.taufspruch-ref {
  text-align: left;
  font-size: 0.9em;
  color: #666;
  font-style: italic;
  margin-bottom: 5px;
}

.taufspruch-meaning {
  text-align: left;
  font-size: 0.9em;
  color: #6bca00;
  font-style: italic;
  margin-top: 5px;
}

.prayers-section {
  text-align: left;
  max-width: 700px;
  margin: 30px auto;
  padding: 0 20px;
}

.prayers-section h3 {
  text-align: left;
  color: #024e9e;
  margin-bottom: 20px;
  font-size: 1.2em;
}

.prayer-item {
  text-align: left;
  margin-bottom: 25px;
  padding: 15px;
  background: rgba(2, 78, 158, 0.05);
  border-left: 3px solid #024e9e;
}

.prayer-item h4 {
  text-align: left;
  color: #024e9e;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.prayer-text {
  text-align: left;
}

.prayer-text p {
  text-align: left;
  line-height: 1.6;
  font-style: italic;
  color: #333;
}

.ekm-step-indicator {
  text-align: center;
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
  font-style: italic;
}

.numbered-steps {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
}

.numbered-steps li {
  counter-increment: step-counter;
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
}

.numbered-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: #6bca00;
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
}

.help-text {
  text-align: left;
  padding: 12px 15px;
  background: rgba(107, 202, 0, 0.1);
  border-left: 3px solid #6bca00;
  margin: 15px 0;
  line-height: 1.5;
}
