:root {
  --color-primary: #cf0a1f;
  --color-primary-dark: #3a3d40;
  --color-accent: #ffd500;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6f9;
  --color-text: #222831;
  --color-text-light: #5a6472;
  --color-border: #e1e5eb;
  --max-width: 1000px;
  --shadow-sm: 0 2px 8px rgba(20, 22, 25, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 22, 25, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Verdana, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1, h2, h3, .logo {
  font-family: "Poppins", "Segoe UI", Verdana, Arial, sans-serif;
}

a {
  color: var(--color-primary);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--color-primary-dark);
  color: #fff;
  padding: 22px 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
  border-bottom: 3px solid var(--color-primary);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.site-header .logo {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-header .logo:hover {
  opacity: 0.85;
}

.site-header .logo img {
  height: 68px;
  width: auto;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

.site-header nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-header nav a {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.site-header nav a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.site-header nav a.active {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}

/* Sections */
section {
  padding: 56px 0;
  animation: fade-in-up 0.5s ease both;
}

section:nth-child(even) {
  background: var(--color-bg-alt);
}

h2 {
  color: var(--color-primary-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-top: 0;
  font-size: 1.8rem;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 56px;
  background: var(--color-primary);
  border-radius: 3px;
}

/* Training table */
.table-wrap {
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th, td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
}

th {
  background: var(--color-primary-dark);
  color: #fff;
  font-family: "Poppins", "Segoe UI", Verdana, Arial, sans-serif;
  font-weight: 600;
}

tbody tr {
  transition: background-color 0.15s ease;
}

tbody tr:hover {
  background: var(--color-bg-alt);
}

tbody tr:last-child td {
  border-bottom: none;
}

.info-table td:first-child {
  font-weight: 600;
  color: var(--color-primary-dark);
  width: 40%;
}

/* Satzung */
details.satzung {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

details.satzung summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 22px;
  font-family: "Poppins", "Segoe UI", Verdana, Arial, sans-serif;
  font-weight: 600;
  color: var(--color-primary);
  transition: background-color 0.15s ease;
}

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

details.satzung summary::before {
  content: "+ ";
}

details.satzung[open] summary::before {
  content: "\2212 ";
}

details.satzung summary:hover {
  background: var(--color-bg-alt);
}

details.satzung[open] summary {
  border-bottom: 1px solid var(--color-border);
}

.satzung-text {
  padding: 22px 26px 26px;
}

.satzung-text h4 {
  color: var(--color-primary-dark);
  font-family: "Poppins", "Segoe UI", Verdana, Arial, sans-serif;
  margin: 24px 0 6px;
}

.satzung-text h4:first-child {
  margin-top: 0;
}

.satzung-text p {
  margin: 0 0 10px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  margin-top: 24px;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-primary);
  border-radius: 10px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-card h3 {
  margin-top: 0;
  color: var(--color-primary-dark);
}

.placeholder {
  color: #b45309;
  font-style: italic;
}

.history-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 30px;
  align-items: center;
  margin-top: 20px;
}

.history-grid img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 700px) {
  .history-grid {
    grid-template-columns: 1fr;
  }
}

/* Presseberichte */
.press-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 22px 26px;
  margin-top: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.press-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.press-item h3 {
  margin: 0 0 4px;
  color: var(--color-primary-dark);
}

.press-item .press-meta {
  margin: 0 0 12px;
  color: var(--color-text-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.press-item p:last-child {
  margin-bottom: 0;
}

/* Sponsor */
.sponsor-logo {
  display: block;
  max-width: 320px;
  width: 100%;
  height: auto;
  margin-top: 16px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sponsor-logo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

h3 {
  color: var(--color-primary-dark);
  margin-top: 30px;
}

/* Links */
.link-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.link-list li {
  margin-bottom: 4px;
}

.link-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background-color 0.15s ease, padding-left 0.15s ease;
}

.link-list a::before {
  content: "\2192";
  color: var(--color-primary);
  font-weight: 700;
}

.link-list a:hover {
  background: var(--color-bg-alt);
  padding-left: 20px;
}

/* Footer */
.site-footer {
  background: var(--color-primary-dark);
  color: #fff;
  padding: 28px 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 3px solid var(--color-primary);
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.site-footer nav {
  margin-top: 10px;
}

.site-footer nav a {
  margin: 0 10px;
}

.legal-page section {
  padding: 40px 0;
}

.legal-page h1 {
  color: var(--color-primary-dark);
  font-family: "Poppins", "Segoe UI", Verdana, Arial, sans-serif;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  section {
    animation: none;
  }
}

@media (max-width: 600px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }
}
