* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, sans-serif;
  background: #f0f4f8;
  color: #222;
}

/* HEADER */
header {
  background: white;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 4px solid #145d8a;
}
header img { height: 65px; }
header h1 {
  font-size: 1.25rem;
  color: #14305180;
  font-weight: 700;
}
.header-sub {
  color: #145d8a;
  font-size: 0.88rem;
  margin-top: 4px;
}

/* CONTAINER */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* INTRO BOX */
.intro {
  background: white;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.intro h2 {
  color: #14305180;
  margin-bottom: 8px;
  font-size: 1.1rem;
}
.intro p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}
.name-input-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.name-input-row label {
  font-weight: bold;
  color: #14305180;
}
.name-input-row input {
  padding: 8px 14px;
  border: 2px solid #cce0ef;
  border-radius: 8px;
  font-size: 1rem;
  min-width: 220px;
  outline: none;
  transition: border 0.2s;
}
.name-input-row input:focus { border-color: #145d8a; }

/* GRUPPE HEADER */
.gruppe {
  background: #14305180;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 8px 8px 0 0;
  margin-top: 28px;
  letter-spacing: 0.3px;
}

/* SKILL CARD */
.card {
  background: white;
  border: 1px solid #dde6ee;
  border-top: none;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.card:last-of-type { border-radius: 0 0 8px 8px; }
.card p { flex: 1 1 320px; }
.card p strong { color: #145d8a; }

/* RADIO BUTTONS */
.radio-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.radio-group label {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.85rem;
  color: #888;
  cursor: pointer;
  gap: 2px;
}
.radio-group input[type="radio"] {
  accent-color: #145d8a;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* BUTTONS oben */
.buttons {
  display: flex;
  gap: 16px;
  margin: 32px 0 16px;
  flex-wrap: wrap;
}
button {
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
#auswerten {
  background: #14305180;
  color: white;
}
#auswerten:hover { background: #1a4a80; transform: translateY(-1px); }
#pdf {
  background: #145d8a;
  color: white;
}
#pdf:hover { background: #0e4a72; transform: translateY(-1px); }

/* RESULT BEREICH */
#result {
  background: white;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-top: 8px;
}
#result h2 {
  color: #14305180;
  margin-bottom: 16px;
  font-size: 1.2rem;
}
#result p {
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* KOMPETENZFELD HEADER im Report */
.kompetenzfeld {
  background: #14305180;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 8px;
  margin: 24px 0 10px;
  letter-spacing: 0.3px;
}

/* REPORT ITEM */
.report-item {
  border-left: 4px solid #145d8a;
  padding: 14px 18px;
  margin-bottom: 12px;
  background: #f7fbff;
  border-radius: 0 8px 8px 0;
  line-height: 1.6;
  font-size: 0.95rem;
}
.report-item strong:first-child {
  color: #145d8a;
  font-size: 1.05rem;
}
.report-item strong {
  color: #14305180;
  font-size: 0.92rem;
}

/* PDF BUTTON UNTEN */
#pdfUnten:hover {
  background: #0e4a72 !important;
  transform: translateY(-1px);
}

/* SKALA BOX */
.skala-box {
  background: #f0f7ff;
  border: 1px solid #cce0ef;
  border-radius: 8px;
  padding: 14px 18px;
  margin-top: 16px;
}
.skala-box > strong {
  color: #14305180;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 10px;
}
.skala-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 10px;
}
.skala-items span {
  font-size: 0.9rem;
  color: #444;
  white-space: nowrap;
}
.skala-items span strong {
  color: #145d8a;
  font-size: 1rem;
}
.skala-hint {
  font-size: 0.88rem;
  color: #666;
  margin-top: 6px !important;
  margin-bottom: 0 !important;
}

/* RESET BUTTON */
#reset {
  background: #e8f0f7;
  color: #14305180;
  border: 2px solid #cce0ef;
}
#reset:hover {
  background: #d0e4f0;
  transform: translateY(-1px);
}