* {
box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  -webkit-hyphenate-limit-chars: 5 2 2;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
 *  Globale Typografie & Überschriften
 *  ========================================================================== */
h1, h2, h3, h4, h5, h6,
.entry-title,
.post-title,
.page-title {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  hyphens: manual;
  -webkit-hyphens: manual;
}

h1, .page-title {
  font-size: 2rem;
}

h2, .post-title, .entry-title {
  font-size: 1.45rem;
}

h3 {
  font-size: 1.2rem;
}

.post-title a,
.entry-title a {
  color: #0f172a !important;
  text-decoration: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border: none !important;
  outline: none !important;
  transition: color 0.15s ease-in-out;
}

.post-title a:hover,
.entry-title a:hover {
  color: #0284c7 !important;
}

/* ==========================================================================
 *  Globale Textlinks
 *  ========================================================================== */
.entry-content a,
.post-excerpt a,
.entry-summary a {
  color: #0284c7;
  text-decoration: none;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: color 0.15s ease-in-out;
}

.entry-content a:hover,
.post-excerpt a:hover,
.entry-summary a:hover {
  color: #0369a1;
  text-decoration: underline;
}

.more-link,
a.more-link,
.post-excerpt a.more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0284c7 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: color 0.15s ease-in-out, transform 0.15s ease-in-out;
}

.more-link:hover,
a.more-link:hover,
.post-excerpt a.more-link:hover {
  color: #0369a1 !important;
  text-decoration: underline !important;
  transform: translateX(3px);
}

/* ==========================================================================
 *  Header mit Hero-Bild & Branding
 *  ========================================================================== */
.site-header {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
}

.header-overlay {
  width: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,0.4) 100%);
  padding-bottom: 2.5rem;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-logo img {
  width: 170px;
  height: auto;
  display: block;
}

.site-branding-text {
  color: #fff;
}

.site-title {
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
}

.site-title a {
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.site-description {
  margin: 0.3rem 0 0 0;
  font-size: 1rem;
  color: #f1f1f1;
  font-weight: 400;
}

/* ==========================================================================
 *  Navigation (Desktop)
 *  ========================================================================== */
.menu-toggle,
button.menu-toggle {
  display: none !important;
}

.main-navigation {
  background-color: #fff;
  border-bottom: 1px solid #e1e1e1;
  position: relative;
  z-index: 100;
}

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

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.menu-item {
  position: relative;
}

.menu-item a {
  display: block;
  padding: 1.1rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #222 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.menu-item a:hover {
  color: #0284c7 !important;
}

.menu-item .arrow {
  font-size: 0.75rem;
  margin-left: 0.25rem;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 280px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  border: 1px solid #e5e5e5;
}

.menu-item:hover > .sub-menu {
  display: block;
}

.sub-menu a {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: normal;
}

.scroll-down {
  text-decoration: none !important;
  color: #767676 !important;
  font-size: 1.2rem;
  padding: 0.5rem;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/* ==========================================================================
 *  Panels
 *  ========================================================================== */
.panel {
  padding: 4rem 0 3rem 0;
  border-bottom: 1px solid #eee;
}

.panel-first {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.panel-first > .wrap {
  padding-top: 1.5rem !important;
}

.panel-first header,
.panel-first header h1 {
  margin-top: 0 !important;
}

.panel-header-title {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #222;
  margin: 0 0 2.5rem 0;
}

/* ==========================================================================
 *  Beitragsliste & Artikel
 *  ========================================================================== */
.post-entry,
.post-preview {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.entry-meta {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.post-excerpt p,
.entry-summary p {
  font-size: 1rem;
  color: #333;
  margin: 0 0 0.85rem 0;
  line-height: 1.65;
}

hr.wp-separator {
  border: none;
  border-bottom: 2px solid #bbb;
  width: 100px;
  margin: 2.5rem auto 0 auto;
  opacity: 0.4;
}

.all-news-link-wrapper {
  margin-top: 2.5rem;
  text-align: center;
}

.entry-content .all-news-link,
.all-news-link {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff !important;
  background-color: #32373c !important;
  text-decoration: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border: none !important;
  outline: none !important;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

.entry-content .all-news-link:hover,
.all-news-link:hover {
  background-color: #0284c7 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* ==========================================================================
 *  Zwischenbilder (Panels)
 *  ========================================================================== */
.panel-image {
  position: relative;
  width: 100%;
  min-height: 350px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: block;
}

.panel-image-prop {
  padding-top: 40%;
}

/* ==========================================================================
 *  Gliederung / Training Flow & Buttons
 *  ========================================================================== */
.training-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.flow-row {
  display: flex;
  gap: 1.5rem;
  width: 100%;
  max-width: 650px;
}

.flow-row.single {
  justify-content: center;
}

.flow-row a.btn {
  flex: 1;
  text-align: center;
  padding: 0.85rem 1rem;
  color: #fff !important;
  background-color: #32373c;
  text-decoration: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.95rem;
}

.flow-row a.btn.btn-primary { background-color: #009ee2; }
.flow-row a.btn.btn-secondary { background-color: #1a68ce; }
.flow-row a.btn.btn-dark { background-color: #003e91; }

.flow-arrow {
  font-size: 1.5rem;
  color: #666;
  user-select: none;
}

/* ==========================================================================
 *  Training Kacheln (Gliederung)
 *  ========================================================================== */
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.entry-content a.training-card,
.training-card {
  position: relative !important;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(145deg, #ffffff 0%, #f0f7fc 100%) !important;
  border: 1px solid #cce3f5 !important;
  border-radius: 10px;
  padding: 1.5rem 1.35rem;
  text-decoration: none !important;
  color: #1e293b !important;
  box-shadow: 0 3px 10px rgba(2, 132, 199, 0.06) !important;
  -webkit-box-shadow: 0 3px 10px rgba(2, 132, 199, 0.06) !important;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.training-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #0284c7 0%, #06b6d4 50%, #38bdf8 100%);
  transition: height 0.2s ease;
}

.entry-content a.training-card:hover,
.training-card:hover {
  transform: translateY(-4px);
  background: linear-gradient(145deg, #ffffff 0%, #e0f2fe 100%) !important;
  border-color: #7dd3fc !important;
  box-shadow: 0 12px 24px rgba(2, 132, 199, 0.16) !important;
  -webkit-box-shadow: 0 12px 24px rgba(2, 132, 199, 0.16) !important;
}

.training-card:hover::before {
  height: 7px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.card-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #f0f7fc;
  color: #0284c7;
}

.card-icon svg {
  width: 17px;
  height: 17px;
  display: block;
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: #f1f5f9;
  color: #475569;
}

.training-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a !important;
  line-height: 1.35;
  margin: 0 0 1.25rem 0;
  border: none !important;
}

.card-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(203, 213, 225, 0.6);
}

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0284c7;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease-in-out;
}

.training-card:hover .card-link {
  color: #0369a1;
  transform: translateX(3px);
}

/* ==========================================================================
 *  Bilder & Medien in Artikeln
 *  ========================================================================== */
.entry-content img,
.post-entry img,
article img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem auto;
  border-radius: 4px;
}

figure {
  margin: 1.5rem 0;
  max-width: 100%;
}

figure img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ==========================================================================
 *  Formulare & iFrames
 *  ========================================================================== */
.form-container {
  max-width: 650px;
  margin: 0 auto;
}

.hidden-field {
  display: none !important;
  visibility: hidden !important;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #333;
}

.form-group .required {
  color: #c00;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  background-color: #fff;
  transition: border-color 0.15s ease-in-out;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0284c7;
  outline: none;
}

button.form-submit-btn {
  display: inline-block;
  background-color: #32373c;
  color: #fff !important;
  border: none;
  border-radius: 4px;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}

button.form-submit-btn:hover {
  background-color: #0284c7;
}

.webclub-link-row {
  margin-bottom: 1.5rem;
}

.responsive-iframe {
  position: relative;
  width: min(92vw, 1300px);
  margin-left: calc(50% - min(46vw, 650px));
  height: 85vh;
  min-height: 750px;
  overflow: hidden;
  border: none;
}

.responsive-iframe iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
 *  Footer
 *  ========================================================================== */
.site-footer {
  background-color: #f7f7f7;
  border-top: 1px solid #e5e5e5;
  padding: 2.5rem 0;
}

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

.footer-wrap a {
  color: #333 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  margin-right: 1.5rem;
  font-size: 0.9rem;
}

.footer-wrap a:hover {
  color: #0284c7 !important;
  text-decoration: underline !important;
}

/* ==========================================================================
 *  Moderne Box-Strukturen für Inhaltsseiten
 *  ========================================================================== */
.kontakt-hero-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-left: 6px solid #0284c7;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0 2rem 0;
}

.kontakt-hero-text h3 {
  margin: 0 0 0.35rem 0;
  color: #0369a1;
  font-size: 1.25rem;
}

.kontakt-hero-text p {
  margin: 0;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.5;
}

.kontakt-hero-action {
  flex-shrink: 0;
}

.btn-kontakt-primary {
  display: inline-block;
  white-space: nowrap;
  background: #0284c7;
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: 6px;
  text-decoration: none !important;
  box-shadow: 0 2px 4px rgba(2, 132, 199, 0.2);
  transition: all 0.15s ease-in-out;
}

.btn-kontakt-primary:hover {
  background: #0369a1;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

.info-karten-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2.5rem 0;
}

.info-karte {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-top: 3px solid #0284c7;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.info-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.info-karte h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
  color: #0f172a;
}

.info-karte p {
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.45;
}

.zweispalt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0 2.5rem 0;
}

.inhalt-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
}

.inhalt-box h4 {
  margin: 0 0 0.75rem 0;
  color: #0369a1;
  font-size: 1.1rem;
}

.inhalt-box ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.55;
}

.inhalt-box li {
  margin-bottom: 0.4rem;
}

.anschluss-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #38bdf8;
  border-radius: 0 8px 8px 0;
  padding: 1.25rem;
  margin-top: 2rem;
}

.anschluss-box h4 {
  margin: 0 0 0.35rem 0;
  color: #0f172a;
  font-size: 1.05rem;
}

.anschluss-box p {
  margin: 0;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ==========================================================================
 *  Startseite: Werbeboxen & Kurs-Karten
 *  ========================================================================== */
.promo-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.promo-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.promo-header h2 {
  font-size: 1.5rem;
  color: #0f172a;
  margin: 0 0 0.4rem 0;
}

.promo-header p {
  color: #64748b;
  font-size: 1rem;
  margin: 0;
}

.promo-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-card h4 {
  margin-top: 0.2rem;
  margin-bottom: 0.5rem;
}

.promo-card p {
  flex-grow: 1;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.promo-card-footer {
  margin-top: auto;
}

.home-kontakt-box {
  margin-top: 2rem;
}

/* ==========================================================================
 *  Responsive Termine-Karten
 *  ========================================================================== */
.termine-container {
  margin: 1.5rem 0 3rem 0;
}

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

.termin-karte {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.termin-karte:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
  border-color: #bae6fd;
}

.termin-datum-box {
  flex: 0 0 85px;
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.termin-tag {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.termin-monat {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
}

.termin-jahr {
  font-size: 0.75rem;
  opacity: 0.85;
}

.termin-details {
  flex: 1 1 auto;
  padding: 1rem 1.25rem;
  min-width: 0;
}

.termin-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.termin-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.badge-wettkampf {
  background-color: #e0f2fe;
  color: #0369a1;
}

.badge-termin {
  background-color: #f1f5f9;
  color: #475569;
}

.termin-meldeschluss {
  font-size: 0.8rem;
  font-weight: 600;
  color: #b91c1c;
  background-color: #fef2f2;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #fecaca;
}

.termin-titel {
  font-size: 1.15rem;
  margin: 0.2rem 0 0.35rem 0;
  color: #0f172a;
}

.termin-ort {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.termin-actions {
  margin-top: 0.75rem;
}

.btn-ausschreibung {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0284c7 !important;
  background-color: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 4px;
  text-decoration: none !important;
  transition: all 0.15s ease-in-out;
}

.btn-ausschreibung:hover {
  background-color: #0284c7;
  color: #ffffff !important;
  border-color: #0284c7;
}

.keine-termine {
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 6px;
  color: #64748b;
  border: 1px dashed #cbd5e1;
}

/* ==========================================================================
 *  News-Feed: Desktop & Grundstruktur
 *  ========================================================================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.news-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.news-thumb {
  flex-shrink: 0;
  width: 140px;
  height: 95px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #0f172a;
  border: 1px solid #e2e8f0;
}

.news-thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  transition: transform 0.2s ease;
}

.news-item:hover .news-thumb img {
  transform: scale(1.04);
}

.news-content-wrap {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  flex-grow: 1;
  min-width: 0;
}

.news-date-badge {
  flex-shrink: 0;
  width: 72px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 6px;
  padding: 0.5rem 0.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-day {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0284c7;
  line-height: 1;
}

.news-month {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0369a1;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

.news-year {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.1rem;
}

.news-body {
  flex-grow: 1;
}

.news-body .post-title {
  margin: 0 0 0.4rem 0;
  font-size: 1.25rem;
  line-height: 1.35;
}

.news-body .post-title a {
  color: #0f172a;
  text-decoration: none;
}

.news-body .post-title a:hover {
  color: #0284c7;
}

.news-body .post-excerpt p {
  margin: 0 0 0.5rem 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
}

.news-body .more-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0284c7;
  text-decoration: none;
}

.news-body .more-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
 *  Vereinsrekorde (Tabelle & Layout)
 *  ========================================================================== */
.rekorde-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 2rem;
}

.rekorde-sparte {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.rekorde-header-bar {
  background-color: #0f172a;
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-bottom: 2px solid #0284c7;
}

.rekorde-header-bar h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #f8fafc;
}

.rekorde-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.rekorde-table th {
  background-color: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.25rem;
  border-bottom: 2px solid #cbd5e1;
}

.rekorde-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  vertical-align: middle;
}

.rekorde-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.rekorde-table tbody tr:hover {
  background-color: #f1f5f9;
}

.col-strecke {
  color: #0f172a;
  font-weight: 700;
}

.badge-zeit {
  display: inline-block;
  background-color: #0284c7;
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.jg-badge {
  color: #64748b;
  font-size: 0.85rem;
  font-weight: 400;
}

.col-datum {
  color: #475569;
  font-weight: 500;
}

/* ==========================================================================
 *  Rekord des Tages
 *  ========================================================================== */
.rdt-wrap {
  margin: 2rem auto;
}

.rdt-hero-card {
  position: relative;
  background: linear-gradient(135deg, #091322 0%, #0f1f38 60%, #132d52 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(4, 9, 20, 0.25);
  color: #ffffff;
}

.rdt-bg-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.3) 0%, transparent 70%);
  filter: blur(35px);
  pointer-events: none;
}

.rdt-watermark {
  position: absolute;
  right: 1rem;
  bottom: -0.5rem;
  width: 120px;
  height: 120px;
  opacity: 0.04;
  color: #38bdf8;
  pointer-events: none;
}

.rdt-watermark svg {
  width: 100%;
  height: 100%;
}

.rdt-inner {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.5rem;
}

.rdt-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
}

.rdt-trophy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
}

.rdt-icon-trophy {
  width: 13px;
  height: 13px;
  fill: #fbbf24;
}

.rdt-gender-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.rdt-main-stage {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
}

.rdt-strecke-tag {
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.rdt-athlete-name {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.rdt-record-stats {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.4rem;
}

.rdt-stat-pill {
  font-size: 0.75rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.rdt-timing-stage {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.rdt-timing-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.rdt-scoreboard {
  background: #020617;
  border: 1.5px solid #0284c7;
  border-radius: 6px;
  padding: 0.4rem 0.85rem;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.25);
}

.rdt-digits {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.5rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
}

.rdt-bottombar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 0.75rem;
}

.rdt-motto {
  font-size: 0.8rem;
  color: #94a3b8;
  font-style: italic;
}

.rdt-all-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

.rdt-all-link svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
 *  Polaroid-Stil für Beitragsbilder (Aktuelles Detailseite)
 *  ========================================================================== */
.polaroid-wrapper {
  float: right;
  margin: 0.5rem 0 1.5rem 2rem;
  max-width: 320px;
  width: 100%;
}

.polaroid-card {
  margin: 0;
  background-color: #ffffff;
  padding: 12px 12px 20px 12px;
  border-radius: 2px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transform: rotate(2.2deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.polaroid-card:hover {
  transform: rotate(0deg) scale(1.02);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
}

.polaroid-photo-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #0f172a;
}

.polaroid-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  border-radius: 0 !important;
}

.polaroid-caption {
  margin-top: 12px;
  padding: 0 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.polaroid-wettkampf {
  font-family: "Caveat", "Comic Sans MS", "Segoe Print", cursive, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}

.polaroid-datum {
  font-family: "Caveat", "Comic Sans MS", "Segoe Print", cursive, sans-serif;
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 600;
}

.entry-content::after {
  content: "";
  display: table;
  clear: both;
}

/* ==========================================================================
 *  Responsive Regeln (Tablets & Smartphones <= 768px)
 *  ========================================================================== */
@media (max-width: 768px) {
  .site-header { min-height: 320px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .site-logo img { width: 120px; }
  .site-title { font-size: 1.6rem; }
  .footer-wrap { flex-direction: column; gap: 1rem; }
  .flow-row { flex-direction: column; gap: 0.5rem; }

  .kontakt-hero-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-kontakt-primary {
    width: 100%;
    text-align: center;
  }

  /* Navigation Mobil: Ruhezustand ganz oben */
  .nav-wrap {
    flex-direction: column;
    align-items: stretch;
    padding: 0.6rem 1.2rem;
  }

  .menu-toggle,
  button.menu-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 0.75rem;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    padding: 0.6rem 0;
    align-self: flex-start;
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
    outline: none;
    transition: transform 0.2s ease;
  }

  .menu-toggle .menu-toggle-text {
    display: inline-block;
  }

  .hamburger-box {
    width: 24px;
    height: 18px;
    display: inline-block;
    position: relative;
  }

  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    width: 24px;
    height: 2.5px;
    background-color: #0f172a;
    border-radius: 2px;
    position: absolute;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
  }

  .hamburger-inner::before,
  .hamburger-inner::after {
    content: "";
    display: block;
  }

  .hamburger-inner::before {
    top: -8px;
  }

  .hamburger-inner::after {
    bottom: -8px;
  }

  .menu-toggle.is-active .hamburger-inner {
    background-color: transparent !important;
  }

  .menu-toggle.is-active .hamburger-inner::before {
    transform: translateY(8px) rotate(45deg);
    background-color: #0284c7;
  }

  .menu-toggle.is-active .hamburger-inner::after {
    transform: translateY(-8px) rotate(-45deg);
    background-color: #0284c7;
  }

  .menu-toggle.is-active .menu-toggle-text {
    color: #0284c7;
  }

  /* Menü-Inhalt im Ruhezustand IMMER zugeklappt */
  .nav-menu {
    display: none !important;
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
    padding: 0.5rem 0;
  }

  /* Wird erst per Klick geöffnet */
  .nav-menu.is-open {
    display: flex !important;
  }

  .nav-menu .menu-item a {
    padding: 0.85rem 0.5rem;
    font-size: 1rem;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-menu .menu-item:last-child a {
    border-bottom: none;
  }

  .nav-menu .sub-menu,
  .menu-item .arrow {
    display: none !important;
  }

  /* Abgedockter Zustand: Runder weißer Kreis links oben schwebend */
  body.is-scrolled .menu-toggle {
    position: fixed !important;
    top: 1rem !important;
    left: 1rem !important;
    right: auto !important;
    z-index: 1000 !important;

    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    background-color: #ffffff !important;
    border-radius: 50% !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2) !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
    line-height: 0 !important;
  }

  body.is-scrolled .menu-toggle .menu-toggle-text {
    display: none !important;
  }

  body.is-scrolled .menu-toggle .hamburger-box {
    margin: 0 !important;
    padding: 0 !important;
    width: 22px !important;
    height: 16px !important;
    position: relative !important;
    display: block !important;
  }

  body.is-scrolled .menu-toggle .hamburger-inner,
  body.is-scrolled .menu-toggle .hamburger-inner::before,
  body.is-scrolled .menu-toggle .hamburger-inner::after {
    width: 22px !important;
    height: 2px !important;
    background-color: #0f172a !important;
    border-radius: 2px !important;
    position: absolute !important;
    left: 0 !important;
  }

  body.is-scrolled .menu-toggle .hamburger-inner {
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
  }

  body.is-scrolled .menu-toggle .hamburger-inner::before {
    top: -6px !important;
  }

  body.is-scrolled .menu-toggle .hamburger-inner::after {
    bottom: -6px !important;
  }

  body.is-scrolled .menu-toggle.is-active .hamburger-inner {
    background-color: transparent !important;
  }

  body.is-scrolled .menu-toggle.is-active .hamburger-inner::before {
    top: 0 !important;
    transform: rotate(45deg) !important;
    background-color: #0284c7 !important;
  }

  body.is-scrolled .menu-toggle.is-active .hamburger-inner::after {
    bottom: 0 !important;
    transform: rotate(-45deg) !important;
    background-color: #0284c7 !important;
  }

  /* Aufgeklapptes Menü im abgedockten Zustand */
  body.is-scrolled .nav-menu.is-open {
    position: fixed !important;
    top: 4.2rem !important;
    left: 1rem !important;
    right: auto !important;
    width: calc(100vw - 2rem) !important;
    max-width: 320px !important;
    background-color: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25) !important;
    border: 1px solid #e2e8f0 !important;
    z-index: 999 !important;
    padding: 0.75rem 1rem !important;
  }
}

/* ==========================================================================
 *  Mobile 2-Zeilen-Kartenansicht für Rekordlisten (< 680px)
 *  ========================================================================= */
@media (max-width: 680px) {
  .rekorde-table thead {
    display: none;
  }

  .rekorde-table,
  .rekorde-table tbody {
    display: block;
    width: 100%;
  }

  .rekorde-table tr.rekord-row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
    "strecke zeit"
    "athlet  datum";
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e2e8f0;
    gap: 0.25rem 0.75rem;
  }

  .rekorde-table td {
    padding: 0;
    border: none;
  }

  .col-strecke {
    grid-area: strecke;
    font-size: 1.05rem;
    color: #0284c7;
    line-height: 1.2;
  }

  .col-zeit {
    grid-area: zeit;
    text-align: right;
  }

  .badge-zeit {
    font-size: 0.9rem;
    padding: 0.2rem 0.5rem;
  }

  .col-name {
    grid-area: athlet;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
  }

  .col-datum {
    grid-area: datum;
    text-align: right;
    font-size: 0.78rem;
    color: #64748b;
  }
}

/* ==========================================================================
 *  Mobile Ansicht (< 640px): News-Feed (100% Bild oben), Polaroid & RDT
 *  ========================================================================== */
@media (max-width: 640px) {
  .news-item {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .news-thumb {
    width: 100% !important;
    height: 190px !important;
    border-radius: 6px;
  }

  .news-content-wrap {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .news-date-badge {
    flex: 0 0 60px !important;
    width: 60px !important;
    padding: 0.4rem 0.2rem;
  }

  .news-day {
    font-size: 1.35rem;
  }

  .news-body {
    flex: 1 1 auto;
    min-width: 0;
  }

  .news-body .post-title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin-top: 0;
  }

  /* Polaroid: Zentriert ohne Float */
  .polaroid-wrapper {
    float: none;
    margin: 1rem auto 2rem auto;
    max-width: 300px;
  }

  .polaroid-card {
    transform: rotate(1deg);
  }

  /* Rekord des Tages Kompakt */
  .rdt-wrap {
    margin: 1.25rem auto;
  }

  .rdt-inner {
    padding: 1rem 1rem 0.85rem 1rem;
  }

  .rdt-motto {
    display: none;
  }

  .rdt-bottombar {
    justify-content: flex-end;
    padding-top: 0.6rem;
  }

  .rdt-topbar {
    padding-bottom: 0.5rem;
  }

  .rdt-athlete-name {
    font-size: 1.35rem;
  }

  .rdt-main-stage {
    padding: 0.75rem 0;
    gap: 0.75rem;
    align-items: center;
  }

  .rdt-digits {
    font-size: 1.25rem;
  }

  .rdt-scoreboard {
    padding: 0.35rem 0.65rem;
  }

  .rdt-timing-label {
    display: none;
  }
}

/* ==========================================================================
 *  Termine (< 600px)
 *  ========================================================================== */
@media screen and (max-width: 600px) {
  .termin-datum-box {
    flex: 0 0 70px;
    padding: 0.5rem 0.25rem;
  }

  .termin-tag {
    font-size: 1.4rem;
  }

  .termin-details {
    padding: 0.75rem 0.9rem;
  }

  .termin-titel {
    font-size: 1.05rem;
  }
}
/* ==========================================================================
 *  Gliederung / Training Übersicht (Erweiterungen)
 *  ========================================================================== */

.section-intro-header {
  margin-bottom: 2rem;
}

.section-intro-header h1 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.section-lead {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.path-header {
  margin: 2.5rem 0 1.25rem 0;
}

.path-header h2 {
  font-size: 1.45rem;
  margin: 0.25rem 0 0.35rem 0;
  color: #0f172a;
}

.path-header p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
}

/* 3-Schritte Stufenplan (Diagramm) */
.training-flow-diagram {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  margin: 1.5rem 0 2.5rem 0;
}

.flow-step {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.25rem;
  position: relative;
}

.flow-step.highlight {
  background: #f0f9ff;
  border-color: #bae6fd;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.flow-step h4 {
  margin: 0 0 0.35rem 0;
  font-size: 1.05rem;
  color: #0f172a;
}

.flow-step p {
  margin: 0;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.45;
}

.flow-step-arrow {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: #94a3b8;
  user-select: none;
}

/* Kachel-Inhalte: Badges & Teaser */
.card-quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.meta-item-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  background: #e2e8f0;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.card-teaser-text {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0 0 1rem 0;
  flex-grow: 1;
}

/* Mobil-Umbruch für das Flow-Diagramm */
@media (max-width: 768px) {
  .training-flow-diagram {
    flex-direction: column;
    gap: 0.75rem;
  }

  .flow-step-arrow {
    justify-content: center;
    transform: rotate(90deg);
    height: 1rem;
    margin: -0.25rem 0;
  }
}
