body { font-family: system-ui, sans-serif; margin: 0; background: #f8f9fa; color: #222; }
header, footer { padding: 1rem; background: #fff; border-bottom: 1px solid #eee; }
main { padding: 1rem; max-width: 900px; margin: 0 auto; }
fieldset { margin-bottom: 1rem; }
.practice { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px dashed #ddd; }
.answers label { margin-right: 1rem; }
.flash { background: #fff8e1; border: 1px solid #ffe082; padding: 0.8rem; }
button { padding: 0.5rem 1rem; }
table.matches {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  background: #fff;
}

table.matches th,
table.matches td {
  border: 1px solid #ddd;
  padding: 0.6rem;
  text-align: left;
  vertical-align: top;
}

table.matches th {
  background: #f1f1f1;
  font-weight: bold;
}

table.matches tr:nth-child(even) {
  background: #fafafa;
}

table.matches td:nth-child(3),
table.matches td:nth-child(4) {
  width: 30%;
  font-style: italic;
  color: #444;
  word-wrap: break-word;
}
.premium-hint {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px dashed #888;
  background: #f9f9f9;
  text-align: center;
  font-size: 0.95rem;
  color: #333;
}

.premium-hint button {
  margin-top: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: #0078d4;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.premium-hint button:hover {
  background: #005a9e;
}

table.sessions {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

table.sessions th,
table.sessions td {
  border: 1px solid #ddd;
  padding: 0.5rem;
  text-align: center;
}

table.sessions th {
  background: #f1f1f1;
}

table.sessions tr:nth-child(even) {
  background: #fafafa;
}


.hero {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #ff6f61, #ff9966);
  color: white;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.hero .btn {
  background: white;
  color: #ff6f61;
  font-weight: bold;
}

.intro, .features, .advice, .cta {
  padding: 3rem 1rem;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.card h3 {
  margin-bottom: 0.8rem;
  color: #ff6f61;
}

.cta .btn {
  margin-top: 1rem;
  padding: 0.8rem 1.6rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ff6f61;
  text-decoration: none;
}

.nav-links a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff6f61;
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* später mit Burger-Menü erweiterbar */
  }
}

.site-footer {
  background: #333;
  color: #eee;
  padding: 1.5rem 1rem;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-right a {
  margin-left: 1rem;
  color: #eee;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-right a:hover {
  color: #ff6f61;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-right {
    margin-top: 1rem;
  }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #ff6f61, #ff9966);
  color: white;
  text-align: center;
  padding: 5rem 1rem;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}
.hero .btn {
  background: white;
  color: #ff6f61;
  font-weight: bold;
  border-radius: 6px;
}

/* Sections */
.intro, .features, .advice, .cta {
  padding: 3rem 1rem;
  text-align: center;
}
.intro p, .advice p, .cta p {
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
  color: #555;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.card h3 {
  margin-bottom: 0.8rem;
  color: #ff6f61;
}

/* CTA */
.cta .btn {
  margin-top: 1rem;
  padding: 0.8rem 1.6rem;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
}

:root {
  --color-primary: #FF6F61;
  --color-secondary: #FF9966;
  --color-accent: #4CAF50;
  --color-neutral-light: #F9F9F9;
  --color-neutral-dark: #333333;
  --color-highlight: #FFD700;
}

body {
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  border-radius: 6px;
  padding: 0.8rem 1.6rem;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn-primary:hover {
  background: var(--color-secondary);
}

.hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
}

footer {
  background: var(--color-neutral-dark);
  color: #eee;
}

.premium-badge {
  background: var(--color-highlight);
  color: var(--color-neutral-dark);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-weight: bold;
}
.fill-section {
  padding: 3rem 1rem;
}

.fill-form fieldset {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.fill-form legend {
  font-weight: bold;
  color: var(--color-primary);
  padding: 0 0.5rem;
}

.practice {
  margin-bottom: 1.5rem;
}

.practice-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.answers {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.answer-option {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.comment-field {
  width: 100%;
  max-width: 500px;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: var(--color-secondary);
}
.results {
  padding: 3rem 1rem;
}

.category-title {
  margin-top: 2rem;
  color: var(--color-primary);
  font-size: 1.4rem;
  text-align: left;
}

.table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
}

.matches {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.matches th, .matches td {
  padding: 0.8rem;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.matches th {
  background: var(--color-neutral-light);
  font-weight: 600;
}

.match-type {
  font-weight: bold;
  color: var(--color-accent);
}

.empty {
  color: #777;
  margin-top: 2rem;
}

.premium-hint {
  background: #fff8e1;
  border: 1px solid #ffd54f;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 600px;
  text-align: center;
}

.actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn-danger {
  background: #e53935;
  color: white;
}
.btn-secondary {
  background: var(--color-secondary);
  color: white;
}
.pin-section {
  padding: 3rem 1rem;
  text-align: center;
}

.pin-form {
  margin-top: 2rem;
  display: inline-block;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.pin-input {
  width: 100%;
  max-width: 250px;
  padding: 0.8rem;
  font-size: 1.2rem;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  letter-spacing: 0.3rem;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: var(--color-secondary);
}
.create-section {
  padding: 3rem 1rem;
  text-align: center;
}

.create-form {
  display: inline-block;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group select {
  width: 100%;
  max-width: 300px;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.created-box {
  background: var(--color-neutral-light);
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 600px;
}

.created-box a {
  color: var(--color-primary);
  text-decoration: none;
}

.pin-display {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--color-accent);
}

.hint {
  color: #555;
  margin-top: 1rem;
}

.actions {
  margin-top: 2rem;
}
.expired-section {
  padding: 3rem 1rem;
  text-align: center;
}

.expired-section h2 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.expired-section p {
  color: #555;
  margin-bottom: 2rem;
}

.expired-actions .btn {
  padding: 0.8rem 1.6rem;
  font-size: 1.1rem;
}
.error-section {
  padding: 3rem 1rem;
  text-align: center;
}

.error-section h2 {
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.error-section p {
  color: #555;
  margin-bottom: 2rem;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.btn-secondary {
  background: var(--color-secondary);
  color: white;
}
.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-accent {
  background: var(--color-accent);
  color: white;
}
