@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap");
*, *::before, *::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  min-height: 100vh;
}

body {
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #292524;
  background-color: #fdfcfa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: #292524;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

::selection {
  background-color: #d1d7c8;
  color: #343b2f;
}

:focus-visible {
  outline: 2px solid #7a8b62;
  outline-offset: 2px;
}

section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 2rem;
  background: linear-gradient(135deg, #fdfcfa 0%, #f9f6f1 50%, #f6f7f4 100%);
  position: relative;
}
section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(179, 189, 163, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(232, 220, 200, 0.15) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(246, 219, 210, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5f6d4d;
  margin-bottom: 1rem;
}
.page-eyebrow::before, .page-eyebrow::after {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122, 139, 98, 0.65), transparent);
}

.error-actions .btn, .error-actions .btn-primary, .error-actions .btn-secondary, .dialog-close, .restart, button[type=submit], .btn-secondary, .btn-primary, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 200ms ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.dialog-close:disabled, .restart:disabled, button[type=submit]:disabled, .btn-secondary:disabled, .btn-primary:disabled, .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.error-actions .btn svg, .error-actions .btn-primary svg, .error-actions .btn-secondary svg, .dialog-close svg, .restart svg, button[type=submit] svg, .btn-secondary svg, .btn-primary svg, .btn svg {
  width: 20px;
  height: 20px;
}

.error-actions .btn-primary, .dialog-close, button[type=submit], .btn-primary {
  background: linear-gradient(135deg, #7a8b62, #5f6d4d);
  color: #fafaf9;
  box-shadow: 0 4px 6px -1px rgba(41, 37, 36, 0.07), 0 2px 4px -2px rgba(41, 37, 36, 0.05), 0 4px 12px rgba(122, 139, 98, 0.25);
}
.dialog-close:hover:not(:disabled), button[type=submit]:hover:not(:disabled), .btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #5f6d4d, #4a5540);
  box-shadow: 0 10px 15px -3px rgba(41, 37, 36, 0.08), 0 4px 6px -4px rgba(41, 37, 36, 0.05), 0 6px 16px rgba(122, 139, 98, 0.3);
  transform: translateY(-1px);
}
.dialog-close:active:not(:disabled), button[type=submit]:active:not(:disabled), .btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 2px 0 rgba(41, 37, 36, 0.05);
}

.error-actions .btn-secondary, .restart, .btn-secondary {
  background-color: #f9f6f1;
  color: #292524;
  border: 2px solid #e8dcc8;
}
.restart:hover:not(:disabled), .btn-secondary:hover:not(:disabled) {
  background-color: #f2ebe0;
  border-color: #b3bda3;
}

.btn-lg {
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
  border-radius: 1rem;
}

.form-section {
  padding-block: 2rem;
}

.form-container {
  --form-radius: 1.5rem;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 2.5rem 2rem;
  border-radius: var(--form-radius);
  box-shadow: 0 20px 25px -5px rgba(41, 37, 36, 0.1), 0 8px 10px -6px rgba(41, 37, 36, 0.05);
  width: min(100%, 440px);
  max-width: 440px;
  border: 1px solid rgba(232, 220, 200, 0.75);
}
.form-container::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(135deg, #d1d7c8, #f2ebe0, #f6dbd2);
  border-radius: calc(var(--form-radius) + 1px);
  z-index: -1;
  opacity: 0.4;
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.form-header .page-eyebrow {
  margin-bottom: 1.25rem;
}
.form-header .form-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(145deg, #7a8b62, #5f6d4d);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(41, 37, 36, 0.08), 0 4px 6px -4px rgba(41, 37, 36, 0.05), 0 8px 24px rgba(122, 139, 98, 0.25);
}
.form-header .form-logo svg {
  width: 36px;
  height: 36px;
  color: #fafaf9;
}
.form-header h1 {
  font-size: 1.875rem;
  color: #4a5540;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.form-header p {
  color: #78716c;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  max-width: 18rem;
  margin: 0 auto;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-field {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.form-field.has-error .form-input {
  border-color: #c45c4a;
}
.form-field.has-error .form-input:focus {
  border-color: #c45c4a;
  box-shadow: 0 0 0 3px rgba(196, 92, 74, 0.12);
}
.form-field.has-error .form-label {
  color: #c45c4a;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #4a5540;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.form-label-optional {
  font-weight: 500;
  color: #a8a29e;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.form-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  overflow: hidden;
  height: 52px;
  padding: 0 1rem;
  border: 1px solid #e8dcc8;
  border-radius: 0.75rem;
  background: linear-gradient(180deg, rgba(253, 252, 250, 0.85), #ffffff);
  font-size: 1rem;
  color: #292524;
  transition: border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease, transform 150ms ease;
}
.form-input::placeholder {
  color: #a8a29e;
  font-weight: 400;
}
.form-input:hover {
  border-color: #b3bda3;
  transform: translateY(-1px);
}
.form-input:focus {
  border-color: #7a8b62;
  box-shadow: 0 0 0 3px rgba(122, 139, 98, 0.12);
  background: #ffffff;
  outline: none;
  transform: translateY(-1px);
}
.form-input::-webkit-calendar-picker-indicator {
  filter: invert(35%) sepia(15%) saturate(400%) hue-rotate(60deg);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 150ms ease;
  padding: 0.5rem;
  margin-right: -0.5rem;
}
.form-input::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

.form-date-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  inline-size: 100%;
  max-inline-size: 100%;
  min-inline-size: 0;
  padding-top: 0;
  padding-bottom: 0;
  color: #292524;
  line-height: normal;
}
.form-date-input::-webkit-datetime-edit {
  display: flex;
  align-items: center;
  height: 100%;
  color: #292524;
  min-width: 0;
  padding: 0;
}
.form-date-input::-webkit-datetime-edit-fields-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  color: #292524;
  min-width: 0;
}
.form-date-input::-webkit-date-and-time-value {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  text-align: left;
}
.form-date-input:invalid::-webkit-datetime-edit {
  color: #a8a29e;
}

.field-hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #78716c;
  padding-left: 0.25rem;
  line-height: 1.4;
}

.field-error {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #c45c4a;
  padding-left: 0.25rem;
  animation: shake 0.4s ease;
  overflow-wrap: anywhere;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-3px);
  }
  40% {
    transform: translateX(3px);
  }
  60% {
    transform: translateX(-3px);
  }
  80% {
    transform: translateX(3px);
  }
}
button[type=submit] {
  width: 100%;
  height: 52px;
  margin-top: 1.5rem;
  font-size: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(41, 37, 36, 0.08), 0 4px 6px -4px rgba(41, 37, 36, 0.05), 0 10px 24px rgba(122, 139, 98, 0.18);
}
button[type=submit] svg {
  width: 18px;
  height: 18px;
  margin-right: 0.25rem;
}

@media (max-width: 640px) {
  .form-section {
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0.75rem calc(0.875rem + env(safe-area-inset-bottom));
  }
  .form-container {
    --form-radius: 1rem;
    padding: 1rem 0.875rem;
    margin: 0;
    width: min(100%, 420px);
    max-width: 420px;
  }
  .form-header {
    margin-bottom: 2rem;
  }
  .form-header .page-eyebrow {
    margin-bottom: 1rem;
  }
  .form-header .form-logo {
    width: 64px;
    height: 64px;
  }
  .form-header .form-logo svg {
    width: 32px;
    height: 32px;
  }
  .form-header h1 {
    font-size: 1.5rem;
  }
  .form {
    gap: 1rem;
  }
  .form-label {
    font-size: 0.8125rem;
    margin-bottom: 0.375rem;
  }
  .form-input {
    height: auto;
    min-height: 48px;
    padding: 0 0.875rem;
  }
  .form-date-input {
    padding-right: 0.625rem;
  }
  .form-input::-webkit-calendar-picker-indicator {
    margin-right: 0;
    padding: 0.25rem;
  }
  .validation-errors {
    padding: 0.875rem;
    margin-bottom: 1rem;
  }
  .validation-errors .error-header {
    align-items: flex-start;
  }
  button[type=submit] {
    height: auto;
    min-height: 48px;
    margin-top: 0.25rem;
  }
}

@media (max-width: 380px) {
  .form-section {
    padding-inline: 0.5rem;
  }
  .form-container {
    padding: 0.875rem 0.75rem;
  }
  .form-label-optional {
    display: block;
    margin-top: 0.125rem;
  }
}

@media (hover: none) {
  .form-input:hover {
    border-color: #e8dcc8;
    transform: none;
  }
}
.grid-section {
  padding: 2rem 1rem;
}
.grid-section::before {
  background-image: radial-gradient(circle at 10% 90%, rgba(179, 189, 163, 0.12) 0%, transparent 40%), radial-gradient(circle at 90% 10%, rgba(232, 220, 200, 0.12) 0%, transparent 40%), radial-gradient(circle at 50% 50%, rgba(246, 219, 210, 0.08) 0%, transparent 50%);
}

.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  max-width: 40rem;
}
.page-header h1 {
  font-size: 1.875rem;
  color: #4a5540;
  margin-bottom: 0.5rem;
}
.page-header .subtitle {
  color: #78716c;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}
.page-header .page-helper {
  font-size: 0.875rem;
  color: #a8a29e;
  max-width: 32rem;
  margin: 0 auto;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
  position: relative;
  z-index: 1;
}

.card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(41, 37, 36, 0.08), 0 4px 6px -4px rgba(41, 37, 36, 0.05);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow 200ms ease;
  border: 1px solid rgba(232, 220, 200, 0.65);
  position: relative;
}
.card:hover {
  box-shadow: 0 20px 25px -5px rgba(41, 37, 36, 0.1), 0 8px 10px -6px rgba(41, 37, 36, 0.05);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f2ebe0;
  margin-bottom: 0.5rem;
}
.card-header .card-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #e8ebe3, #d1d7c8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5f6d4d;
}
.card-header .card-icon svg {
  width: 20px;
  height: 20px;
}
.card-header h3 {
  font-size: 1.125rem;
  color: #4a5540;
  font-family: "Playfair Display", Georgia, serif;
}

.card p {
  font-size: 1rem;
  color: #57534e;
  line-height: 1.75;
}
.card p:first-of-type:not(.card-header + p) {
  font-weight: 600;
  color: #292524;
}

.card span:not(.point):not(.card-icon) {
  font-weight: 600;
  color: #5f6d4d;
}

.data-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed #f2ebe0;
}
.data-row:last-child {
  border-bottom: none;
}
.data-row .data-label {
  color: #57534e;
  font-size: 0.875rem;
  flex: 1;
}
.data-row .data-value {
  font-weight: 600;
  color: #5f6d4d;
  text-align: right;
}

.grid-container .card:nth-child(3),
.grid-container .card:nth-child(4) {
  grid-column: 1/-1;
}

@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .grid-container .card:nth-child(3),
  .grid-container .card:nth-child(4) {
    grid-column: auto;
  }
}
.star {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}
.star::before {
  content: "";
  position: absolute;
  inset: 10% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 235, 227, 0.9) 0%, rgba(249, 246, 241, 0.45) 42%, rgba(251, 238, 233, 0.18) 68%, transparent 100%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.star img {
  position: relative;
  width: 100%;
  padding: 1rem;
  filter: sepia(10%) saturate(55%) hue-rotate(8deg) contrast(0.92) brightness(0.9) drop-shadow(0 10px 18px rgba(41, 37, 36, 0.08));
  opacity: 0.95;
  mix-blend-mode: multiply;
  z-index: 1;
}
.star__numbers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.star .point {
  position: absolute;
  width: 8%;
  aspect-ratio: 1/1;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  transform: translate(-50%, -50%);
  cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 252, 250, 0.98) 100%);
  border: 2px solid rgba(179, 189, 163, 0.9);
  color: #3d4536;
  box-shadow: 0 6px 14px rgba(41, 37, 36, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: all 200ms ease;
}
.star .point:hover {
  background: linear-gradient(180deg, #fdfcfa 0%, #e8ebe3 100%);
  border-color: #7a8b62;
  color: #4a5540;
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 10px 20px rgba(74, 85, 64, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  z-index: 10;
}
.star .point:nth-child(1) {
  top: 5%;
  left: 50%;
}
.star .point:nth-child(2) {
  top: 40%;
  left: 95%;
}
.star .point:nth-child(3) {
  top: 93.5%;
  left: 78%;
}
.star .point:nth-child(4) {
  top: 93.5%;
  left: 22%;
}
.star .point:nth-child(5) {
  top: 40%;
  left: 5%;
}
.star .point:nth-child(6) {
  top: 37%;
  left: 38%;
}
.star .point:nth-child(7) {
  top: 37%;
  left: 62%;
}
.star .point:nth-child(8) {
  top: 60%;
  left: 70%;
}
.star .point:nth-child(9) {
  top: 75%;
  left: 50%;
}
.star .point:nth-child(10) {
  top: 60%;
  left: 30%;
}
.star .point:nth-child(11) {
  top: 27%;
  left: 41%;
}
.star .point:nth-child(12) {
  top: 27%;
  left: 59%;
}
.star .point:nth-child(13) {
  top: 43.5%;
  left: 50%;
}
.star .point:nth-child(14) {
  top: 37%;
  left: 73%;
}
.star .point:nth-child(15) {
  top: 54%;
  left: 78%;
}
.star .point:nth-child(16) {
  top: 50%;
  left: 60%;
}
.star .point:nth-child(17) {
  top: 69%;
  left: 72%;
}
.star .point:nth-child(18) {
  top: 80%;
  left: 58%;
}
.star .point:nth-child(19) {
  top: 61%;
  left: 56%;
}
.star .point:nth-child(20) {
  top: 80%;
  left: 42%;
}
.star .point:nth-child(21) {
  top: 69%;
  left: 28%;
}
.star .point:nth-child(22) {
  top: 61%;
  left: 44%;
}
.star .point:nth-child(23) {
  top: 54%;
  left: 22%;
}
.star .point:nth-child(24) {
  top: 37%;
  left: 27%;
}
.star .point:nth-child(25) {
  top: 50%;
  left: 40%;
}

.info-section {
  background: linear-gradient(135deg, #fdfcfa, #f6f7f4);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-top: 1rem;
  border: 1px solid rgba(232, 220, 200, 0.6);
}
.info-section h4 {
  font-size: 1rem;
  color: #4a5540;
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", Georgia, serif;
}
.info-section p {
  font-size: 0.875rem;
  color: #57534e;
  line-height: 1.75;
  margin-bottom: 0;
}

.zahlenstrahl {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 80px;
  margin: 3rem 0 2rem;
  padding: 0 1rem;
}
.zahlenstrahl::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #b3bda3, #7a8b62, #b3bda3);
  border-radius: 9999px;
}

.tick {
  position: absolute;
  top: calc(50% - 8px);
  width: 2px;
  height: 16px;
  background: #5f6d4d;
  border-radius: 9999px;
}

.label {
  position: absolute;
  top: calc(50% + 20px);
  font-size: 0.75rem;
  font-weight: 500;
  color: #78716c;
  transform: translateX(-50%) rotate(45deg);
  white-space: nowrap;
}

.label-up {
  position: absolute;
  top: calc(50% - 30px);
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a5540;
  transform: translateX(-50%) translateY(-100%) rotate(-45deg);
  white-space: nowrap;
}

.marker {
  position: absolute;
  top: calc(50% - 6px);
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background-color: #ffffff;
  border: 2px solid #a8a29e;
  transform: translateX(-50%);
  cursor: pointer;
  transition: all 200ms ease;
}
.marker:hover {
  transform: translateX(-50%) scale(1.3);
  z-index: 100;
}

.marker-blue {
  background: linear-gradient(135deg, #6b9bd1, #4a7fb8);
  border-color: #3d6a9e;
  box-shadow: 0 2px 8px rgba(74, 127, 184, 0.4);
}

.marker-green {
  background: linear-gradient(135deg, #95a37e, #5f6d4d);
  border-color: #4a5540;
  box-shadow: 0 2px 8px rgba(122, 139, 98, 0.4);
}

.marker-yellow {
  background: linear-gradient(135deg, #e5a088, #c96347);
  border-color: #a84d38;
  box-shadow: 0 2px 8px rgba(217, 127, 97, 0.4);
}

.marker::after {
  content: attr(data-year);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #292524;
  color: #fafaf9;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
  white-space: nowrap;
  z-index: 1000;
  box-shadow: 0 10px 15px -3px rgba(41, 37, 36, 0.08), 0 4px 6px -4px rgba(41, 37, 36, 0.05);
}

.marker:hover::after {
  opacity: 1;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: #fdfcfa;
  border-radius: 0.75rem;
  border: 1px solid rgba(232, 220, 200, 0.55);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #57534e;
}
.legend-item .legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
}
.legend-item .legend-dot.blue {
  background: linear-gradient(135deg, #6b9bd1, #4a7fb8);
}
.legend-item .legend-dot.green {
  background: linear-gradient(135deg, #95a37e, #5f6d4d);
}
.legend-item .legend-dot.red {
  background: linear-gradient(135deg, #e5a088, #c96347);
}
.legend-item .legend-dot.white {
  background: #ffffff;
  border: 2px solid #a8a29e;
}

.dialog {
  background: rgba(41, 37, 36, 0.6);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  transition: all 200ms ease;
  backdrop-filter: blur(4px);
  padding: 1rem;
}

.dialog-card {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(41, 37, 36, 0.1), 0 8px 10px -6px rgba(41, 37, 36, 0.05);
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  overflow: hidden;
  animation: dialogSlideIn 0.3s ease;
  border: 1px solid #f2ebe0;
}

@keyframes dialogSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.dialog-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, #f6f7f4, #fdfcfa);
  border-bottom: 1px solid #f2ebe0;
}
.dialog-header .dialog-number {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #4a5540;
}

.dialog-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}
.dialog-body p {
  font-size: 1rem;
  color: #57534e;
  line-height: 1.75;
}

.dialog-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #f2ebe0;
  display: flex;
  justify-content: flex-end;
}

.dialog p {
  font-size: 1rem;
  color: #57534e;
}

.dialog .bold {
  font-size: 1.25rem;
  font-weight: 700;
  color: #4a5540;
}

@media (min-width: 1024px) {
  .dialog {
    padding: 1.5rem;
  }
  .dialog-card {
    max-width: 780px;
  }
  .dialog-header .dialog-number {
    font-size: 1.65rem;
  }
  .dialog-body p,
  .dialog p {
    font-size: 1.0625rem;
  }
}

@media (min-width: 1280px) {
  .dialog-card {
    max-width: 920px;
  }
  .dialog-header {
    padding: 1.75rem 2rem;
  }
  .dialog-body {
    padding: 2rem;
  }
  .dialog-footer {
    padding: 1.25rem 2rem;
  }
  .dialog-header .dialog-number {
    font-size: 1.75rem;
  }
  .dialog-body p,
  .dialog p {
    font-size: 1.125rem;
  }
}

@media (min-width: 1536px) {
  .dialog-card {
    max-width: 1040px;
  }
}

.show-dialog {
  display: flex;
}

.restart {
  margin: 0 auto;
  display: flex;
  min-width: 13rem;
}
.restart:hover {
  background-color: #e8ebe3;
  border-color: #95a37e;
  color: #4a5540;
}

.page-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2.5rem;
}
.page-actions .pdf-export {
  text-decoration: none;
}
.page-actions .pdf-export svg {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
}

.clickable {
  cursor: pointer;
  transition: color 150ms ease, text-decoration-color 150ms ease;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  text-decoration-color: rgba(95, 109, 77, 0.45);
}
.clickable:hover {
  color: #c96347 !important;
  text-decoration-color: rgba(201, 99, 71, 0.75);
}

.star .point.clickable {
  text-underline-offset: 0.1em;
}

@media (max-width: 640px) {
  .grid-section {
    padding: 1rem 0.5rem;
  }
  .page-header {
    margin-bottom: 2rem;
  }
  .page-header .subtitle {
    font-size: 1rem;
  }
  .card {
    padding: 1rem;
  }
  .data-row {
    align-items: flex-start;
  }
  .data-row .data-value {
    max-width: 45%;
  }
  .star .point {
    width: 10%;
    font-size: 0.75rem;
  }
  .zahlenstrahl {
    overflow-x: auto;
    margin: 2rem 0 1.5rem;
  }
  .legend {
    flex-direction: column;
    gap: 0.5rem;
  }
}
.error-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.error-container {
  text-align: center;
  max-width: 500px;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 1.5rem;
  box-shadow: 0 20px 25px -5px rgba(41, 37, 36, 0.1), 0 8px 10px -6px rgba(41, 37, 36, 0.05);
  border: 1px solid rgba(232, 220, 200, 0.7);
  position: relative;
  z-index: 1;
}
.error-container .page-eyebrow {
  margin-bottom: 1.25rem;
}

.error-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #f9f6f1, #e8ebe3);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error-icon svg {
  width: 60px;
  height: 60px;
  color: #7a8b62;
}

.error-code {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 6rem;
  font-weight: 700;
  color: #b3bda3;
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #95a37e, #e5a088);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  color: #292524;
  margin-bottom: 1rem;
}

.error-message {
  font-size: 1rem;
  color: #78716c;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.error-details {
  background: #fdfcfa;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.error-details p {
  font-size: 0.875rem;
  color: #57534e;
  margin-bottom: 0.5rem;
}
.error-details p:last-child {
  margin-bottom: 0;
}
.error-details p strong {
  color: #292524;
}

.error-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}
.error-actions .btn {
  justify-content: center;
}
@media (min-width: 640px) {
  .error-actions {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
}

.error-illustration {
  position: relative;
  margin-bottom: 1.5rem;
}
.error-illustration .leaf {
  position: absolute;
  opacity: 0.6;
  animation: float 3s ease-in-out infinite;
}
.error-illustration .leaf:nth-child(1) {
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}
.error-illustration .leaf:nth-child(2) {
  top: 30%;
  right: 15%;
  animation-delay: 0.5s;
}
.error-illustration .leaf:nth-child(3) {
  bottom: 20%;
  left: 10%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}
.validation-errors {
  background: rgba(196, 92, 74, 0.08);
  border: 1px solid rgba(196, 92, 74, 0.2);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}
.validation-errors .error-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: #c45c4a;
  font-weight: 600;
}
.validation-errors .error-header svg {
  width: 20px;
  height: 20px;
}
.validation-errors ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.validation-errors ul li {
  font-size: 0.875rem;
  color: #57534e;
  padding: 0.5rem 0;
  padding-left: 1rem;
  position: relative;
  overflow-wrap: anywhere;
}
.validation-errors ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c45c4a;
}
