body {
font-family: "Inter", sans-serif;
background-color: #f9f9f9;
color: #1a1c1c;
}

.material-symbols-outlined {
font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
display: inline-block;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
}

/* Glassmorphism bottom nav */
.glass-nav {
background: rgba(249, 249, 249, 0.9);
backdrop-filter: blur(12px);
}

/* Reusable label + input styles for better Konsistenz */
.label-small {
font-size: 0.7rem;
line-height: 1;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
color: #6b7280;
font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", sans-serif;
transition: color 0.15s ease;
}

.group:focus-within .label-small {
color: #af101a;
}

.input-field {
width: 100%;
padding: 0.5rem 1rem;
margin-top: 0.5rem;
border-radius: 0.5rem;
border: 1px solid #d4d4d8;
background: #ffffff;
color: #111827;
font-size: 1rem;
line-height: 1.5;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
transition: border-color 0.15s ease, box-shadow 0.15s ease,
background-color 0.15s ease;
}

@media (min-width: 768px) {
.input-field {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
font-size: 1.125rem;
}
}

.input-field::placeholder {
color: #d4d4d8;
}

.input-field:focus {
outline: none;
border-color: #af101a;
box-shadow: 0 0 0 1px rgba(175, 16, 26, 0.12);
}

/* Select style aligned with input */
.input-select {
width: 100%;
padding: 0.5rem 1rem;
margin-top: 0.5rem;
border-radius: 0.5rem;
border: 1px solid #d4d4d8;
background: #ffffff;
color: #111827;
font-size: 1rem;
line-height: 1.5;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
appearance: none;
background-image: linear-gradient(45deg, transparent 50%, #9ca3af 50%),
linear-gradient(135deg, #9ca3af 50%, transparent 50%);
background-position: calc(100% - 18px) calc(50% - 3px),
calc(100% - 13px) calc(50% - 3px);
background-size: 6px 6px, 6px 6px;
background-repeat: no-repeat;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

@media (min-width: 768px) {
.input-select {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
font-size: 1.125rem;
}
}

.input-select:focus {
outline: none;
border-color: #af101a;
box-shadow: 0 0 0 1px rgba(175, 16, 26, 0.12);
}

/* Mobile nav links */
.bottom-nav-link {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.15rem;
font-size: 0.6rem;
text-transform: uppercase;
letter-spacing: 0.12em;
font-weight: 700;
color: #6b7280;
}

.bottom-nav-link span.material-symbols-outlined {
font-size: 1.5rem;
}

/* Mobile dropdown nav links */
.nav-link-mobile {
font-size: 0.9rem;
font-weight: 500;
color: #4b5563;
padding: 0.4rem 0;
transition: color 0.15s ease;
}

.nav-link-mobile:hover {
color: #af101a;
}

/* Footer links */
.footer-link {
font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", sans-serif;
font-size: 0.8rem;
color: #6b7280;
transition: color 0.15s ease;
}

.footer-link:hover {
color: #af101a;
}

/* --- Ergänzungen für Ergebnisseite --- */

body {
margin: 0;
padding: 0;
}

/* Container für die Ergebnisseite */
.results-page-container {
max-width: 1200px;
margin: 0 auto;
padding: 1rem;
}

/* Header */
.results-header {
margin-bottom: 2rem;
text-align: left;
}

.results-header h1 {
margin: 0 0 0.25rem;
font-size: 1.6rem;
}

.results-header p {
margin: 0;
font-size: 0.95rem;
color: #4b5563;
}

/* Ergebnis-Sektionen */
.results-section {
margin-bottom: 2rem;
}

.results-section h2 {
font-size: 1.25rem;
margin-bottom: 0.25rem;
}

.results-section p {
margin-top: 0;
margin-bottom: 0.75rem;
font-size: 0.95rem;
color: #4b5563;
}

/* Footer */
.results-footer {
margin-top: 2rem;
padding-top: 1rem;
border-top: 1px solid #e5e7eb;
font-size: 0.85rem;
color: #6b7280;
}

/* --- Responsive Tabellen-Wrapper --- */

.table-responsive {
width: 100%;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}

/* Basis-Tabellenstil */
.results-table {
width: 100%;
border-collapse: collapse;
font-size: 0.85rem;
min-width: 700px; /* erzwingt horizontales Scrollen auf kleinen Screens */
}

.results-table thead {
background-color: #e5e7eb;
}

.results-table th,
.results-table td {
padding: 0.4rem 0.6rem;
border-bottom: 1px solid #d4d4d8;
text-align: left;
white-space: nowrap; /* verhindert Umbrüche z.B. bei Zeiten */
}

.results-table th {
font-weight: 700;
}

/* Alternierende Zeilen */
.results-table tbody tr:nth-child(even) {
background-color: #f3f4f6;
}

/* Größere Schrift auf breiteren Screens */
@media (min-width: 768px) {
.results-table {
  font-size: 0.9rem;
}

.results-section h2 {
  font-size: 1.4rem;
}

.results-header h1 {
  font-size: 1.9rem;
}
}

/* Material Symbols Basis-Style */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
}

/* Grundschriftarten */
body {
  font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
.font-lex,
.font-lexend,
.font-headline {
  font-family: 'Lexend', sans-serif;
}

/* Scrollbar-Styling für Tabellen-Container */
.table-container::-webkit-scrollbar {
  height: 4px;
}

.table-container::-webkit-scrollbar-thumb {
  background: #af101a;
  border-radius: 10px;
}

/* Optional: leichte globale Typo-Anpassungen für Mobile */
@media (max-width: 640px) {
  h1 {
    font-size: 1.875rem; /* 30px */
  }

  h2 {
    font-size: 1.5rem;
  }

  table th,
  table td {
    font-size: 0.75rem;
  }
}
