body {
  font-family: sans-serif;
  background-color: #f4f4f4;
  padding: 20px;
  font-size: 1.2em;
}
header {
    display: grid;
    justify-content: center;
}
h1 {
	
}
h2 {
	font-weight: 300;
}
#infotext {
	border: 1px solid #2193c733;
	border-radius: 5px;
	padding: 15px;
	background-color: #c8e6f333;
	font-size: 1em;
	font-weight: bold;	
	bottom: 0;
	left: 0;
	max-width: 1024px;
	margin: auto;
	margin-top: 5em;
	color: #33333333;
}

#infotext:hover {
	background-color: #c8e6f3;
	border-color: #2193c7;
	color: #333;
}

#infotext a {
	color: #33333333;
}
#infotext:hover a {
	color: darkblue;
}


#wrapper {
	font-size: 1.4rem;
  margin: auto;
  max-width: 1024px;
  margin-top: 2em;
}
.dialog-container {
  font-family: sans-serif;
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem;
  background: #f0f0f0;
  border-radius: 10px;
}
#avatar-container img {
  height: 360px;
  margin-top: -200px;
}  
#avatar {
  float: right;
}
#avatar-left {
  float: left;
}
#dialog-box {
  background: white;
  padding: 20px;
  border-radius: 8px;
  min-height: 100px;
  margin-bottom: 20px;
}

#dialog-box img.question {
	display: block;
	width: 50%;	
	margin-top: 1em;
}

#nav {
	margin-top: 2em;
}

button {
  display: block;
  margin: 0.5rem 0;
  padding: 0.5rem;
  font-size: 1rem;
}

#end-buttons {margin-top: 20px;display:flex;justify-content:center;}
#end-buttons button {margin: 0.5em 1em;}
.questionblock {
	border-left: 4px solid #a4d2cb;
    padding-left: 1rem;
    margin-bottom: 2rem;
    page-break-inside: avoid;
}
.response {
	background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
	margin-top: 1em;
}
.response em {
	font-weight: 700;
	color: #7db5ae;
}


.subhint {
  font-size: 14px;
  color: #555;
  font-style: italic;
  margin-bottom: 10px;
}

/* Checkbox auf 150% vergrößern */
input[type="checkbox"] {
  transform: scale(1.8);
  margin: 10px; /* Optional: Abstand für bessere Klickbarkeit */
}

.restartBtn {
	position: relative;
    top: 9em;
    margin: auto;
}
.skipBtn {
	visibility: hidden;
}

 @media print {
	 #infotext, #warning, #progress-bar, #progress-container, #end-buttons, #avatar-container {
		 display: none;
	 }
	 #wrapper {font-size: 1em;}
 }
 
 /* Screenreader-only Text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#avatar-container {
  position: relative;
  display: inline-block;
  float: right;
  top: 5em;
  left: 2em;
  z-index: 100;
}

#avatar {
  max-height: 320px;
}

#progress-label {
    margin-bottom: 0.3rem;
	margin-top: 0.3rem;
	    font-size: small;
    text-align: center;
}

#progress-track {
    height: 12px;
    border-radius: 6px;
    background: #ddd;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    width: 3%;
    background: #8ccf8c;
}

#choices {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    max-width: 700px;
    margin: 0 auto;
}

.answer-card {
    width: 100%;
    background: #fff;
    border: 2px solid #d8e2e8;
    border-radius: 16px;
    padding: 18px 22px;
    cursor: pointer;
    text-align: left;
    transition: 0.2s;
}

.answer-card:hover,
.answer-card:focus-visible {
    transform: translateY(-2px);
    border-color: #79b8c9;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.answer-card-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.answer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.answer-description {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.answer-icon {
    font-size: 1.5rem;
}

.answer-label {
    font-size: 1.1rem;
    font-weight: 600;
}

.answer-subtitle {
    margin-top: 6px;
    color: #666;
    font-size: 0.9rem;
}

.question-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.question-help {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}
.avatar-help {
	max-width: 750px;
}
.help-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.help-content {
    opacity: 0.9;
}
.nav-btn {
    background: transparent;
	border: 1px solid #ccc;
	cursor: pointer;
}
.nav-btn:hover {
	background: #ddd;
	border: 1px solid #333;
}
.methodology-box {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    text-align: left;
    background: white;
    border: 2px solid #d8e2e8;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
	font-size: medium;
}

.methodology-loading {
    max-width: 700px;
    margin: 2rem auto 0 auto;
}

.methodology-title {
    font-weight: 600;
    cursor: pointer;
    color: #2d4f59;
}

.methodology-content {
    margin-top: 1rem;
}

.methodology-content p {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

details.methodology-box summary {
    list-style: none;
}

details.methodology-box summary::-webkit-details-marker {
    display: none;
}

details.methodology-box summary::after {
    content: "▼";
    transition: transform 0.2s;
}

details[open].methodology-box summary::after {
    transform: rotate(180deg);
}
.methodology-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.source-list {
    padding-left: 1.2rem;
}

.source-list li {
    margin-bottom: 0.6rem;
}

.source-list a {
    color: #2d4f59;
    text-decoration: none;
}

.source-list a:hover,
.source-list a:focus {
    text-decoration: underline;
}