/*!***************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/styles/SocialMediaGenerator.css ***!
  \***************************************************************************************/
@import url(https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&display=swap);
/*!*******************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/styles/SocialMediaGenerator.css (1) ***!
  \*******************************************************************************************/
/* Import Barlow Font to match main site */

/* Social Media Generator - Matching main site design */
.social-media-generator {
  padding: 24px;
  background: #ffffff;
  min-height: 100vh;
  font-family: 'Barlow', sans-serif;
}

/* Card-based sections - matching main site */
.form-section {
  background: white;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 2px solid #ddd;
  transition: all 0.3s ease;
}

.form-section:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-color: #7a112a;
}

.form-section h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #7a112a;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section h3::before {
  content: '';
  width: 4px;
  height: 20px;
  background: #7a112a;
  border-radius: 2px;
}

/* Enhanced form controls */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #2b2c2c;
  font-family: 'Barlow', sans-serif;
}

/* Input fields - matching main site styles */
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="time"],
.form-group input[type="date"],
.form-group select {
  width: 100%;
  padding: 12px;
  font-size: 18px;
  font-family: 'Barlow', sans-serif;
  border: 2px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
  background-color: white;
  transition: all 0.3s ease;
  color: #2b2c2c;
  height: 50px;
}

/* Specific styles for team selection dropdowns */
.form-section select {
  width: 100%;
  height: 50px;
  font-size: 18px;
  padding: 12px;
  font-family: 'Barlow', sans-serif;
  border: 2px solid #ddd;
  border-radius: 5px;
  background-color: white;
  transition: all 0.3s ease;
  color: #2b2c2c;
}

.form-group input[type="text"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="time"]:focus,
.form-group input[type="date"]:focus,
.form-group select:focus,
.form-section select:focus {
  outline: none;
  border-color: #7a112a;
  background-color: white;
  box-shadow: 0 0 0 2px rgba(122, 17, 42, 0.1);
}

.form-group input[type="date"].mobile-friendly {
  min-height: 48px;
  padding: 12px 16px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #1a5f3f;
  box-shadow: 0 0 0 3px rgba(26, 95, 63, 0.1);
}

/* Button - matching main site */
.generate-button {
  background: #7a112a;
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 5px;
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(122, 17, 42, 0.3);
  position: relative;
  overflow: hidden;
  min-width: auto;
  width: auto;
  white-space: nowrap;
}

.generate-button:hover {
  background: #961432;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(122, 17, 42, 0.4);
}

.generate-button:active {
  transform: translateY(0);
}

.generate-button:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.upload-button {
  background-color: #1a5f3f;
  color: white;
  width: 100%;
  margin-top: 10px;
}

.generate-button {
  padding: 24px 48px !important;
  font-size: 14px !important;
  min-height: 80px !important;
  font-weight: 700 !important;
  white-space: normal !important;
  line-height: 1.3 !important;
  word-wrap: break-word !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.upload-button:hover:not(:disabled) {
  background-color: #155a3a;
  transform: translateY(-2px);
}

.upload-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Score control buttons */
.form-group button[type="button"] {
  background-color: #f0f0f0;
  color: #333;
  border: 2px solid #ddd;
  width: 48px;
  height: 48px;
  font-size: 18px;
  font-weight: bold;
}

.form-group button[type="button"]:hover {
  background-color: #e0e0e0;
  border-color: #1a5f3f;
}

/* Checkbox Styles - matching main site */
.checkbox-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  padding: 12px 16px;
  border-radius: 5px;
  transition: all 0.3s ease;
  background: #f3f3f3;
  border: 2px solid #ddd;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
}

.checkbox-label:hover {
  background: #e9e9e9;
  border-color: #7a112a;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkbox-label input[type="radio"],
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkbox-custom {
  width: 22px;
  height: 22px;
  border: 2px solid #ddd;
  border-radius: 3px;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
  background: white;
}

.checkbox-label input[type="radio"] + .checkbox-custom {
  border-radius: 50%;
}

.checkbox-label input[type="radio"]:checked + .checkbox-custom,
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: #7a112a;
  border-color: #7a112a;
  box-shadow: 0 2px 4px rgba(122, 17, 42, 0.3);
}

.checkbox-label input[type="radio"]:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.checkbox-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
}

.checkbox-icon {
  font-size: 16px;
  line-height: 1;
}

.checkbox-label input[type="radio"]:checked ~ .checkbox-text,
.checkbox-label input[type="checkbox"]:checked ~ .checkbox-text {
  color: #7a112a;
  font-weight: 600;
}

.checkbox-label.checked {
  background: #f3f3f3;
  border-color: #7a112a;
  box-shadow: 0 2px 4px rgba(122, 17, 42, 0.1);
}

/* Score controls container */
div[style*="display: flex"] {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* All goal scorers table */
.form-group div[style*="marginBottom: 5px"] {
  margin-bottom: 12px !important;
  padding: 8px;
  background-color: #f9f9f9;
  border-radius: 6px;
}

/* Goal scorer container - neue Struktur */
.goal-scorer-container {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.goal-scorer-container:hover {
  border-color: #7a112a;
  box-shadow: 0 4px 8px rgba(122, 17, 42, 0.1);
  transform: translateY(-1px);
}

.goal-scorer-header {
  background: linear-gradient(135deg, #7a112a, #961432);
  color: white;
  padding: 12px 20px;
  margin: 0;
}

.goal-number {
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.goal-scorer-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 20px;
  background: #fafafa;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2b2c2c;
  margin: 0;
}

.goal-scorer-select,
.goal-timing-select {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  background: white;
  color: #2b2c2c;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.goal-scorer-select:focus,
.goal-timing-select:focus {
  outline: none;
  border-color: #7a112a;
  box-shadow: 0 0 0 3px rgba(122, 17, 42, 0.1);
}

.goal-scorer-select:hover,
.goal-timing-select:hover {
  border-color: #7a112a;
}

/* Responsive Design für Goal Scorer */
@media (max-width: 768px) {
  .goal-scorer-inputs {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }
  
  .goal-scorer-header {
    padding: 10px 15px;
  }
  
  .goal-number {
    font-size: 16px;
  }
}

/* Social share buttons */
button[style*="background: #1877f2"],
button[style*="background: #e4405f"] {
  padding: 12px 16px !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  min-height: 44px !important;
  margin: 4px !important;
}

/* Preview Frames - matching main site */
.preview-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

/* Wenn nur eine Vorschau vorhanden ist (bei Tor/Gegentor), zentrieren */
.preview-container.single-preview {
  grid-template-columns: 1fr;
  justify-items: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.preview-frame {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 2px solid #ddd;
  position: relative;
  overflow: hidden;
}

.preview-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #7a112a;
}

.preview-frame h4 {
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #7a112a;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Bulletpoints entfernt */

.preview-image {
  width: 100%;
  height: 300px;
  border-radius: 5px;
  background: #f3f3f3;
  border: 2px dashed #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.preview-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
}

.preview-placeholder {
  color: #2b2c2c;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  font-family: 'Barlow', sans-serif;
}

.generated-image-container h5 {
  color: #28a745;
  margin-bottom: 15px;
  font-size: 16px;
}

.image-preview-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.generated-image-preview {
  max-width: 250px;
  max-height: 250px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border: 2px solid #ddd;
}

.image-links {
  flex: 1;
  min-width: 200px;
}

.image-links p {
  margin: 8px 0;
  font-size: 14px;
}

.image-links a {
  color: #007bff;
  text-decoration: none;
}

.image-links a:hover {
  text-decoration: underline;
}

/* Social share buttons */
.social-share-buttons {
  border-top: 1px solid #ddd;
  padding-top: 15px;
}

.social-share-buttons h6 {
  margin-bottom: 10px;
  color: #333;
  font-size: 16px;
}

.share-button {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 5px 8px 5px 0;
  min-height: 44px;
  transition: all 0.3s;
}

.facebook-button {
  background: #1877f2;
  color: white;
}

.facebook-button:hover {
  background: #166fe5;
  transform: translateY(-2px);
}

.instagram-button {
  background: #e4405f;
  color: white;
}

.instagram-button:hover {
  background: #d73851;
  transform: translateY(-2px);
}

.download-button {
  background: #6c757d;
  color: white;
}

.download-button:hover {
  background: #5a6268;
  transform: translateY(-2px);
}

/* Error display */
div[style*="color: red"] {
  padding: 16px !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  margin: 16px 0 !important;
}

/* Validation error styles */
.form-group input.error,
.form-group select.error,
.form-group div.error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: 5px;
  font-weight: 500;
}

/* Required field indicator */
label::after {
  content: "";
}

/* Asterisk for required fields */
label:has-text("*") {
  position: relative;
}

/* Responsive grid classes */
.responsive-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Responsive design */
@media (max-width: 768px) {
  .social-media-generator {
    padding: 16px;
  }
  
  .form-group {
    margin-bottom: 24px;
  }
  
  .upload-button {
    padding: 16px 24px;
    font-size: 18px;
  }
  
  /* Stack all grid layouts vertically on mobile */
  .responsive-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }
  
  /* Make buttons stack vertically on mobile */
  div[style*="display: flex"] {
    flex-direction: column;
    align-items: stretch;
  }
  
  div[style*="display: flex"] input[type="number"] {
    order: 1;
    margin: 8px 0;
  }
  
  div[style*="display: flex"] button {
    order: 2;
    margin: 4px 0;
  }
  
  /* Make checkbox/radio groups stack vertically */
  div[style*="display: flex"][style*="flexWrap"] {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  
  .checkbox-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .checkbox-label {
    width: 100%;
    justify-content: flex-start;
  }
  
  /* Preview images stack vertically on mobile */
  .responsive-grid-2[style*="marginTop"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Preview container responsive */
  .preview-container {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .preview-image {
    height: 250px !important;
  }
  
  /* Form sections mobile */
  .form-section {
    padding: 16px !important;
    margin-bottom: 16px !important;
  }
  
  .form-section h3 {
    font-size: 16px !important;
  }
  
  /* Mobile styles for dropdowns */
  .form-section select {
    height: 55px !important;
    font-size: 20px !important;
    padding: 15px !important;
  }
}
/*!************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/styles/index.css ***!
  \************************************************************************/
/* CSS Variables from original design */
:root {
    --primary-color: #7a112a;
    --secondary-color: #961432;
    --light-primary-color: #f3f3f3;
    --light-secondary-color: #ffffff;
    --light-text-color: rgb(255, 255, 255);
    --dark-text-color: #2b2c2c;
    --primary-text-color: #7A112A;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    color: var(--light-text-color);
    line-height: 1.6;
}

@media (max-width: 1100px) {
    body {
        font-size: 16px;
    }
}

/* Layout containers */
.div_background_container {
    display: flex;
    justify-content: center;
    background: var(--light-primary-color);
    padding: 2rem 0;
    flex: 1; /* Nimmt den verfügbaren Platz ein */
}

.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Wichtig für Flexbox */
    padding-top: 80px; /* Platz für fixed Header */
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

/* Navigation Styles */
.div_nav_bar {
    width: 100%;
    height: 80px;
    background-color: var(--secondary-color);
    color: var(--light-secondary-color);
    position: fixed;
    z-index: 100;
    border-bottom: 5px solid rgb(26, 26, 26);
    display: flex;
    justify-content: center;
    flex-shrink: 0; /* Header behält seine Größe */
}

nav {
    width: 80%;
    max-width: 1200px;
    display: flex;
    height: 100%;
    align-items: flex-end;
    justify-content: flex-end;
    position: relative;
}

#logo_nav_bar {
    position: absolute;
    left: 0;
    height: 100px;
    top: 20px;
    z-index: 2000;
}

nav ul {
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    list-style: none;
    background-color: var(--secondary-color);
    height: 100%;
}

nav ul li {
    height: 100%;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 15px;
    padding-bottom: 0px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

nav ul li a {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--light-text-color);
    font-weight: 500;
    font-size: 18px;
    font-family: 'Barlow', sans-serif;
    transition: all 0.3s ease;
}

nav ul li:hover {
    background: var(--primary-color);
}

nav ul li a:hover {
    color: var(--light-text-color);
}

/* Mobile menu toggle - Updated System */
.toggle_button {
    display: none;
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: var(--light-text-color);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

/* Hide checkboxes globally */
nav input[type="checkbox"] {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: -9999px;
}

/* Dropdown menus */
.expandable_li {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--light-text-color);
    font-weight: 500;
    padding: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 18px;
    height: 100%;
    width: 100%;
    justify-content: center;
}

.expandable_li:hover {
    background: var(--primary-color);
}

.expandable_li:hover .dropdown-toggle {
    color: var(--light-text-color);
}

/* Remove the angle rotation - not in original */

.dropdown {
    height: min-content;
    width: min-content;
    flex-direction: column;
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: var(--secondary-color);
    list-style: none;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown.active {
    display: flex;
}

/* Desktop dropdown behavior */
@media (min-width: 769px) {
    .expandable_li:hover .dropdown {
        display: flex;
    }
    
    .expandable_li label {
        background: none;
        border: none;
        color: var(--light-text-color);
        font-size: 18px;
        cursor: pointer;
        padding: 0;
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }
}

.dropdown li {
    width: 100%;
    padding: 15px;
    height: auto;
}

.dropdown li a {
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text-color);
    font-size: 18px;
}

.dropdown li:hover {
    background: var(--primary-color);
}

/* Welcome section */
.section_welcome {
    padding-top: 0; /* Entfernt, da main bereits padding-top hat */
    position: relative;
    text-align: center;
    background-color: black;
}

.section_welcome img {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 50%;
}

.section_welcome span {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-style: normal;
    font-weight: 600;
    font-size: 50px;
    text-align: center;
    color: var(--light-text-color);
    
}

/* Section titles */
.div_section_title {
    display: flex;
    flex-direction: row;
    align-items: end;
    margin-bottom: 2rem;
}

.div_section_title h3 {
    font-style:normal;
    font-size: 20px;
    line-height: 60px;
    font-weight: bold;
    text-align: center;
    color: #2B2C2C;
    margin: 0;
    
}

.title-line_1 {
    flex-grow: 1;
    margin-left: 15px;
    margin-bottom: 22px;
    height: inherit;
    border-bottom: 2px solid var(--primary-color);
}

.title-line_2 {
    flex-grow: 1;
    margin-left: 15px;
    margin-bottom: 22px;
    height: inherit;
    border-bottom: 2px solid white;
}

/* Content sections */
.section_aktuell,
.section_termine_home,
.section_funktionaere,
.section_kontakt,
.section_sportanlage,
.section_content {
    max-width: 1200px;
    width: 80%;
    padding-top: 0; /* Entfernt, da main bereits padding-top hat */
    color: var(--dark-text-color);
}

/* Aktuell section */
#div_background_container_aktuell {
    background-color: var(--light-primary-color);
}

.section_aktuell {
    max-width: 1200px;
    width: 80%;
    background-color: var(--light-primary-color);
    height: min-content;
    padding-bottom: 30px;
}

/* Aktuell section uses global title styles */

.div_aktuell_element_list {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 15px;
    height: min-content;
}

.div_aktuell_element_list a {
    background-color: var(--primary-color);
    height: auto;
    width: 300px;
    filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.3));
    display: block;
    overflow: hidden;
}

.div_aktuell_img_container {
    width: 100%;
    overflow: hidden;
}

.div_aktuell_img_container img {
    width: inherit;
    height: auto;
    transition: all .2s ease;
    vertical-align: middle;
}

.div_aktuell_img_container img:hover {
    transform: scale(1.05);
}

.div_aktuell_footer {
    background-color: var(--primary-color);
    padding-left: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.div_aktuell_footer p {
    color: var(--light-secondary-color);
    
    font-size: 16px;
    line-height: 1.4;
}

/* Neue dynamische Berichte Styles für Home-Seite */
.div_aktuell_bericht_container {
    background-color: var(--primary-color);
    height: 350px; /* Feste Höhe für alle Container */
    width: 300px;
    filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.3));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.div_aktuell_bericht_container:hover {
    transform: translateY(-2px);
}

.div_aktuell_bericht_content {
    padding: 15px;
    color: var(--light-secondary-color);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.div_aktuell_bericht_date {
    margin-bottom: 8px;
}

.div_aktuell_bericht_date span {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.div_aktuell_bericht_title {
    flex: 1;
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.div_aktuell_bericht_title h4 {
    color: var(--light-secondary-color);
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
    /* Begrenze auf maximal 3 Zeilen */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.div_aktuell_bericht_container .div_aktuell_img_container {
    width: 100%;
    height: 150px; /* Feste Höhe für alle Bilder */
    overflow: hidden;
    margin-top: auto; /* Schiebt das Bild nach unten */
}

.div_aktuell_bericht_container .div_aktuell_img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .2s ease;
}

.div_aktuell_bericht_container:hover .div_aktuell_img_container img {
    transform: scale(1.05);
}

.div_aktuell_loading,
.div_aktuell_no_berichte {
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    color: var(--dark-text-color);
}

.div_link_berichte_home {
    background-color: var(--primary-color);
    margin-top: 15px;
    padding: 15px;
    transition: box-shadow 0.2s;
    width: 200px;
}

.div_link_berichte_home:hover {
    box-shadow: 0px 7px 10px 2px rgb(82, 4, 4);
}

.div_link_berichte_home li {
    list-style: none;
}

.div_link_berichte_home a {
    text-align: center;
    color: var(--light-secondary-color);
    text-decoration: none;
}

/* Kontakt section - Aktuell Section Style für Hintergrund und Überschrift */
.div_kontaktinfo_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.div_adress_container,
.div_online_container {
    background: var(--light-secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.div_adress_container h4,
.div_online_container h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.div_adress_container ul,
.div_online_container ul {
    list-style: none;
}

.div_adress_container ul li,
.div_online_container ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.div_adress_container ul li i,
.div_online_container ul li i {
    color: var(--primary-color);
    width: 20px;
}

/* Termine section */
#div_background_container_termine_home {
    background-color: var(--primary-color);
}

.section_termine_home {
    max-width: 1200px;
    width: 80%;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    color: var(--light-secondary-color);
    padding-bottom: 30px;
    list-style: none;
}

.section_termine_home .div_section_title h3 {
    color: var(--light-secondary-color);
}

.div_termine_home_elemente {
    display: flex;
    height: auto;
    gap: 15px;
}

.div_termine_home_o_container {
    cursor: pointer;
    background-color: var(--secondary-color);
    box-shadow: none;
    transition: box-shadow 0.2s;
    height: min-content;
    width: 270px;
    padding: 15px;
}

.div_termine_home_o_container:hover {
    box-shadow: 0px 7px 10px 2px rgb(82, 4, 4);
}

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

.div_termine_home_i_container p {
    width: 10px;
}

.div_termine_home_i_container h3 {
    color: var(--light-secondary-color);
}

.div_link_termine_home {
    background-color: var(--secondary-color);
    margin-top: 15px;
    padding: 15px;
    transition: box-shadow 0.2s;
    width: 200px;
}

.div_link_termine_home:hover {
    box-shadow: 0px 7px 10px 2px rgb(82, 4, 4);
}

.div_link_termine_home a {
    text-align: center;
    color: var(--light-secondary-color);
}

.div_link_termine_home li {
    list-style: none;
}

/* Funktionäre section */
.div_container_funktionaere_cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.div_funktionaere_card {
    background: var(--light-secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.div_funktionaere_card:hover {
    transform: translateY(-5px);
}

.div_funktionaere_card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blurred_image {
    filter: blur(5px);
}

.div_funktionaere_card_info {
    padding: 1rem;
    text-align: center;
}

.div_funktionaere_card_info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.div_funktionaere_card_info p {
    color: var(--dark-text-color);
    font-size: 0.9rem;
}

#div_funktionaere_card_placeholder {
    background: transparent;
    box-shadow: none;
}

/* Kontakt section */
.section_karte,
.section_kontaktinfo {
    max-width: 1200px;
    width: 100%;
    padding: 2rem;
    color: var(--dark-text-color);
}

.div_section_karte_container {
    position: relative;
    text-align: center;
}

.div_section_karte_container img {
    width: 100%;
    border-radius: 10px;
}

.map-blurred {
    filter: blur(10px);
}

.div_karte_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.div_karte_content button {
    background: var(--primary-color);
    color: var(--light-text-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

.div_karte_content button:hover {
    background: var(--secondary-color);
}

#google-maps-container iframe {
    width: 100%;
    border-radius: 10px;
}

.div_kontaktinfo_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.div_adress_container,
.div_online_container {
    background: var(--light-secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.div_adress_container h4,
.div_online_container h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.div_adress_container ul,
.div_online_container ul {
    list-style: none;
}

.div_adress_container ul li,
.div_online_container ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.div_adress_container ul li i,
.div_online_container ul li i {
    color: var(--primary-color);
    width: 20px;
}

/* Footer */
#div_background_container_footer {
    background-color: var(--secondary-color);
    padding: 0;
    flex-shrink: 0; /* Footer behält seine Größe */
    max-height: 60px; /* Feste Höhe für Footer */
}

.section_footer_line {
    max-width: 1200px;
    width: 80%;
    display: flex;
    background-color: var(--secondary-color);
    height: 60px;
    align-items: center;
}

.section_footer_line ul {
    list-style: none;
    align-items: center;
    display: flex;
    height: 100%;
    width: 100%;
    justify-content: space-around;
}

.section_footer_line li {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section_footer_line a {
    text-decoration: none;
    color: var(--light-text-color);
    
    font-size: 20px;
}

/* Scroll to top button */
.div_scroll_top_button {
    position: fixed;
    bottom: 50px;
    right: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.div_scroll_top_button.visible {
    opacity: 1;
    visibility: visible;
}

.btn_scroll_top_button {
    background-color: rgba(51, 51, 51, 0.672);
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 10%;
    font-size: 1.5em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn_scroll_top_button:hover {
    background-color: rgba(51, 51, 51, 0.505);
    color: #fff;
}

/* Content container for simple pages */
.content-container {
    background: var(--light-secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.content-container h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.3rem;
}

.content-container p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.content-container h5 {
    color: var(--primary-color);
    margin: 1.2rem 0 0.8rem 0;
    font-size: 1.1rem;
    font-family: 'Barlow', sans-serif;
}

.content-container strong {
    font-weight: 600;
    color: var(--dark-text-color);
}

.content-container em {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
}

/* Impressum & Datenschutz Styles - Exakt Original */
.section_datenschutz_impressum {
    display: flex;
    flex-direction: column;
}

.section_impressum {
    padding-top: 200px;
    padding-left: 20%;
    padding-right: 20%;
    color: black;
    background-color: lightgray;
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    line-height: 1.2;
}

.section_datenschutz {
    margin-top: 20px;
    color: black;
    padding-left: 20%;
    padding-right: 20%;
    width: 100%;
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    line-height: 1.2;
}

.section_impressum h2,
.section_datenschutz h2 {
    font-family: 'Barlow', sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: black;
    margin: 0;
}

.section_impressum h3,
.section_datenschutz h3 {
    font-family: 'Barlow', sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: black;
    margin: 0;
}

.section_impressum a,
.section_datenschutz a {
    color: black;
    text-decoration: underline;
}

.section_impressum a:hover,
.section_datenschutz a:hover {
    color: var(--primary-color);
}

/* Sponsor Section */
#div_background_container_sponsor {
    background-color: var(--light-primary-color);
}

.section_sponsor {
    max-width: 1200px;
    width: 80%;
    background-color: var(--light-primary-color);
    height: min-content;
    padding-bottom: 30px;
}

/* Sponsor Animation - Komplett JavaScript-basiert */

/* Original Sponsor Fade-Effekt */
.sponsor-fade-container {
    width: 100%;
    height: 100px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(90deg, var(--light-primary-color) 0%, var(--light-primary-color) 20%, transparent 50%, var(--light-primary-color) 80%, var(--light-primary-color) 100%);
}

.sponsor-fade-container:before,
.sponsor-fade-container:after {
    content: '';
    position: absolute;
    top: 0;
    width: 20%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.sponsor-fade-container:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), var(--light-primary-color));
}

.sponsor-fade-container:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--light-primary-color));
}

/* Footer Content Section */
#div_background_container_footer_content {
    background-color: var(--primary-color);
}

.section_footer_content {
    max-width: 1200px;
    width: 80%;
    display: flex;
    padding-bottom: 30px;
    padding-top: 30px;
    color: var(--light-secondary-color);
    gap: 50px;
    justify-content: space-between;
    background-color: var(--primary-color);
}

.section_footer_content div {
    flex: 1;
}

.section_footer_content h3 {
    border-bottom: 2px solid white;
    padding-bottom: 5px;
    margin-bottom: 15px;
    color: var(--light-secondary-color);
    
    font-size: 20px;
}

.section_footer_content ul {
    list-style: none;
}

.section_footer_content ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section_footer_content ul li i {
    color: var(--light-secondary-color);
    width: 20px;
}

.section_footer_content ul li a {
    color: var(--light-secondary-color);
    
    font-size: 20px;
    transition: color 0.3s ease;
}

.section_footer_content ul li a:hover {
    color: var(--light-primary-color);
}

/* Termine Page Styles */
.termine-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.termin-card {
    background: var(--light-secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    transition: transform 0.3s ease;
}

.termin-card:hover {
    transform: translateY(-3px);
}

.termin-date {
    background: var(--primary-color);
    color: var(--light-text-color);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    text-align: center;
}

.termin-date h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

.termin-content {
    padding: 2rem;
    flex: 1;
}

.termin-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.termin-content p {
    color: var(--dark-text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.termin-button {
    background: var(--secondary-color);
    color: var(--light-text-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.termin-button:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Mobile responsive - EXACT COPY FROM ORIGINAL */
@media (max-width: 768px) {
    .toggle_button {
        display: flex;
    }
    
    .expandable_li {
        flex-direction: column;
    }
    
    /* Hide checkboxes completely */
    nav input[type="checkbox"] {
        display: none !important;
        visibility: hidden;
        opacity: 0;
        position: absolute;
        left: -9999px;
    }
    
    nav ul {
        height: max-content;
        width: 113%;
        display: none;
        flex-direction: column;
        position: absolute; 
        top: 80px;
    }

    nav ul.mobile-open {
        display: flex;
    }

    nav ul li {
        padding: 0;
    }

    nav ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    nav ul li a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 1rem 2rem;
        width: 100%;
        box-sizing: border-box;
        color: var(--light-text-color);
        text-decoration: none;
        font-size: 18px;
        margin: 0;
        border: none;
        transition: background-color 0.3s ease;
    }

    nav ul li a:hover {
        background: var(--primary-color);
    }

    nav ul li label {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 2rem;
        width: 100%;
        box-sizing: border-box;
        color: var(--light-text-color);
        cursor: pointer;
        font-size: 18px;
        margin: 0;
        border: none;
        transition: background-color 0.3s ease;
        text-align: left;
    }

    nav ul li label:hover {
        background: var(--primary-color);
    }

    nav ul li label span {
        transition: transform 0.3s ease;
    }

    .expandable_li:hover .dropdown {
        display: none;
    }
    
    .expandable_li input[type="checkbox"]:checked ~ .dropdown {
        display: flex;
    }

    .dropdown {
        position: static;
        display: none;
        width: 100%;
        background: var(--secondary-color);
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .dropdown li {
        display: block;
        position: static;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        margin: 0;
        padding: 0;
    }

    .dropdown li a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 1rem 2rem;
        width: 100%;
        box-sizing: border-box;
        color: var(--light-text-color);
        background: var(--primary-color);
        font-size: 18px;
        text-decoration: none;
        margin: 0;
        border: none;
        transition: background-color 0.3s ease;
    }

    .dropdown li a:hover {
        background: var(--secondary-color);
        color: var(--light-text-color);
    }

    #logo_nav_bar {
        height: 60px;
        top: 10px;
    }



    .section_welcome span {
        font-size: 24px;
        font-weight: 400;
        
    }

    .div_section_title h3 {
        font-size: 30px;
    }

    .section_aktuell .div_section_title h3,
    .section_termine_home .div_section_title h3,
    .section_sponsor .div_section_title h3 {
        font-size: 30px;
    }

    .section_footer_line ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .section_footer_line a {
        font-size: 16px;
    }

    .div_karte_content {
        position: static;
        transform: none;
        margin-top: 1rem;
        max-width: none;
    }

    /* Mobile styles for Aktuell section */
    .div_aktuell_element_list {
        flex-direction: column;
        align-items: center;
    }

    .div_aktuell_element_list a {
        width: 100%;
        max-width: 400px;
    }

    /* Mobile Styles für neue Berichte */
    .div_aktuell_bericht_container {
        width: 100%;
        max-width: 400px;
        height: 320px; /* Angepasste Höhe für Mobile */
    }

    .div_aktuell_bericht_content {
        padding: 12px;
    }

    .div_aktuell_bericht_title h4 {
        font-size: 15px;
    }

    .div_aktuell_bericht_container .div_aktuell_img_container {
        height: 120px; /* Angepasste Bildhöhe für Mobile */
    }

    /* Mobile Styles für Kontakt */
    .div_kontaktinfo_container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .div_adress_container,
    .div_online_container {
        padding: 1.5rem;
    }

    /* Mobile styles for Termine section */
    .div_termine_home_elemente {
        flex-direction: column;
    }

    .div_termine_home_o_container {
        width: 100%;
    }

    /* Mobile styles for Footer Content */
    .section_footer_content {
        flex-direction: column;
        gap: 2rem;
        width: 90%;
        padding: 20px;
    }

    .section_footer_content div {
        margin: 0;
    }

    .section_footer_content h3 {
        font-size: 18px;
    }

    .section_footer_content ul li a {
        font-size: 16px;
    }

    /* Mobile styles for Termine page */
    .termin-card {
        flex-direction: column;
    }

    .termin-date {
        min-width: auto;
        padding: 1rem;
    }

    .termin-content {
        padding: 1.5rem;
    }

    /* Mobile styles for Impressum & Datenschutz */
    .section_impressum {
        padding-top: 120px;
        padding-left: 10%;
        padding-right: 10%;
        font-size: 16px;
    }

    .section_datenschutz {
        padding-left: 10%;
        padding-right: 10%;
        width: 100%;
        font-size: 16px;
    }

    .section_impressum h2,
    .section_datenschutz h2 {
        font-size: 20px;
    }

    .section_impressum h3,
    .section_datenschutz h3 {
        font-size: 18px;
    }
}

/* Turnen Cards Styles */
.turnen-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.turnen-card {
    background: var(--light-secondary-color);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.turnen-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.turnen-card h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Barlow', sans-serif;
    border-bottom: 2px solid var(--light-primary-color);
    padding-bottom: 0.5rem;
}

.turnen-info {
    display: grid;
    gap: 0.8rem;
}

.turnen-info p {
    margin: 0;
    color: var(--dark-text-color);
    font-size: 1rem;
    line-height: 1.4;
}

.turnen-info strong {
    color: var(--primary-color);
    font-weight: 600;
}

.turnen-subcard {
    background: var(--light-primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    border-left: 3px solid var(--secondary-color);
}

.turnen-subcard h5 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Barlow', sans-serif;
}

.status-available {
    color: #2ecc71;
    font-weight: 600;
    background: rgba(46, 204, 113, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.status-full {
    color: #e74c3c;
    font-weight: 600;
    background: rgba(231, 76, 60, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Mobile Responsive für Turnen Cards */
@media (max-width: 768px) {
    .turnen-cards-container {
        padding: 1rem;
        gap: 1.5rem;
    }
    
    .turnen-card {
        padding: 1.5rem;
    }
    
    .turnen-card h4 {
        font-size: 1.3rem;
    }
    
    .turnen-subcard {
        padding: 1rem;
    }
}

/* Sportanlage Styles */
#div_background_container_sportanlage {
    background-color: var(--light-primary-color);
    margin-bottom: 0;
    padding-bottom: 0;
}

.section_sportanlage{
    padding-bottom: 30px;
}

.div_sportanlage_elemente {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.div_sportanlage_element {
    background: var(--light-secondary-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.div_sportanlage_element:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.div_sportanlage_element img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.div_sportanlage_element:hover img {
    transform: scale(1.05);
}

.div_sportanlage_element_description {
    padding: 1.5rem;
    text-align: center;
}

.div_sportanlage_element_description h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Barlow', sans-serif;
}

.div_sportanlage_element_description p {
    color: var(--dark-text-color);
    font-size: 1rem;
    margin: 0;
}

#div_sportanlage_element_placeholder {
    background: transparent;
    box-shadow: none;
}

/* Mobile Responsive für Sportanlage */
@media (max-width: 768px) {
    .section_sportanlage {
        width: 90%;
        padding: 1rem;
    }
    
    .div_sportanlage_elemente {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .div_sportanlage_element_description {
        padding: 1rem;
    }
    
    .div_sportanlage_element_description h4 {
        font-size: 1.2rem;
    }
}

/* Bericht Upload Styles */
.section_bericht_upload {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.section_upload_form {
    width: 80%;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.div_upload_container {
    background: var(--light-secondary-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--dark-text-color);
    font-size: 1.1rem;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group select {
  width: 100%;
  height: 50px;
  font-size: 18px;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.form-group input[type="time"] {
  width: 100%;
  height: 50px;
  font-size: 18px;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.form-group label {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
  color: var(--color-text);
}

.form-group small {
  display: block;
  margin-top: 8px;
  color: #666;
  font-size: 14px;
  font-style: italic;
  line-height: 1.4;
}

/* Fix für Textfarben im Social Media Content Generator */
.section_bericht_upload .form-group label,
.section_bericht_upload .checkbox-label {
  color: #333 !important;
}

.section_bericht_upload .form-group small {
  color: #666 !important;
}

.form-group input[type="file"] {
    padding: 0.5rem;
    border: 2px dashed #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.form-group input[type="file"]:hover {
    border-color: var(--primary-color);
}

.selected-files {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #f0f8ff;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.selected-files p {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.selected-files ul {
    list-style: none;
    padding: 0;
}

.selected-files li {
    padding: 0.25rem 0;
    color: var(--dark-text-color);
    font-size: 0.9rem;
}

.submit-button {
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--light-text-color);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.submit-button:hover:not(:disabled) {
    background: var(--secondary-color);
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.message {
    padding: 1rem;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design für Upload-Form */
@media (max-width: 768px) {
    .section_upload_form {
        width: 95%;
        padding: 1rem;
    }
    
    .div_upload_container {
        padding: 1.5rem;
    }
    
    .form-group label {
        font-size: 1rem;
    }
    
    .submit-button {
        width: 100%;
        align-self: stretch;
    }
}

/* Keine Termine Styling */
.div_keine_termine {
    cursor: default !important;
    color: var(--light-primary-color) !important;
}

.div_keine_termine:hover {
    background-color: inherit !important;
    transform: none !important;
}

/* Berichte Seite Styling */
.section_berichte {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.berichte-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.bericht-card {
    background: var(--light-secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
    display: flex;
    overflow: hidden;
}

.bericht-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.bericht-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.bericht-card-header h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin: 0;
    flex: 1;
}

.bericht-card-date {
    color: var(--dark-text-color);
    font-size: 0.9rem;
    opacity: 0.8;
    white-space: nowrap;
}

.bericht-card-preview {
    margin-bottom: 1rem;
}

.bericht-card-preview p {
    color: var(--dark-text-color);
    line-height: 1.6;
    margin: 0;
}

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

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.image-count {
    color: var(--dark-text-color);
    font-size: 0.9rem;
    opacity: 0.7;
}

.image-count i {
    margin-right: 0.3rem;
}

/* Bericht-Card Layout mit Thumbnail */
.bericht-card-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.bericht-card-thumbnail {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-primary-color);
}

.bericht-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bericht-card:hover .bericht-card-thumbnail img {
    transform: scale(1.05);
}

/* Einzelner Bericht */
.bericht-detail {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.back-button {
    background: var(--primary-color);
    color: var(--light-text-color);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 2rem;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background: var(--secondary-color);
}

.back-button i {
    margin-right: 0.5rem;
}

.bericht-header {
    background: var(--light-secondary-color);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bericht-header h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.bericht-date {
    color: var(--dark-text-color);
    font-size: 1.1rem;
    opacity: 0.8;
}

.bericht-content {
    background: var(--light-secondary-color);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bericht-content p {
    color: var(--dark-text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.bericht-content p:last-child {
    margin-bottom: 0;
}

.bericht-gallery {
    background: var(--light-secondary-color);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bericht-gallery h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Image Gallery Styling */
.image-gallery {
    width: 100%;
}

.gallery-container {
    max-width: 800px;
    margin: 0 auto;
}

.gallery-main {
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.gallery-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--light-secondary-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.9);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

.gallery-counter {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--light-secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    display: block;
}

.swipe-hint {
    text-align: center;
    margin-top: 1rem;
    opacity: 0.7;
}

.swipe-hint p {
    color: var(--dark-text-color);
    font-size: 0.9rem;
    margin: 0;
}

/* Loading und Error States */
.loading-message,
.error-message,
.no-berichte {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--dark-text-color);
}

.error-message {
    color: #721c24;
}

/* Berichte Detail-Ansicht - Neues Design ohne Kacheln */

/* Einzelner Bericht Detail */
.bericht-detail {
    width: 80%;
    max-width: 1200px;
    color: var(--dark-text-color);
    margin-top: 2rem;
}

.bericht-meta {
    margin-bottom: 2rem;
}

.bericht-meta .bericht-date {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.bericht-content {
    margin-bottom: 3rem;
}

.bericht-content p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--dark-text-color);
}

.bericht-gallery {
    margin-top: 3rem;
}

.bericht-gallery h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.bericht-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.bericht-image-item {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bericht-image-item:hover {
    transform: scale(1.05);
}

.bericht-image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
}

.lightbox-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    cursor: default;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--light-secondary-color);
    font-size: 2rem;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary-color);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--light-secondary-color);
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    color: var(--primary-color);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light-secondary-color);
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Loading und Error Messages */
.loading-message, .error-message, .no-berichte {
    text-align: center;
    padding: 3rem;
    color: var(--dark-text-color);
}

.error-message {
    color: #d32f2f;
}

/* Mobile Responsive für Berichte Detail-Ansicht */
@media (max-width: 768px) {
    .bericht-detail {
        width: 95%;
    }
    
    .bericht-images-grid {
        grid-template-columns: 1fr;
    }
    
    .lightbox-nav {
        font-size: 1.5rem;
        padding: 10px 15px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 1.5rem;
    }
    
    .lightbox-counter {
        bottom: 20px;
        font-size: 1rem;
    }
}

/* Social Media Content Generator Styles */
.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: normal;
  cursor: pointer;
  padding: 12px;
  border: 2px solid #eee;
  border-radius: 8px;
  margin-bottom: 8px;
  background: #fff;
  transition: all 0.3s ease;
  min-height: 50px;
}

.checkbox-label:hover {
  border-color: var(--color-primary);
  background: #f8f9fa;
}

.checkbox-label input[type="checkbox"],
.checkbox-label input[type="radio"] {
  width: 22px;
  height: 22px;
  margin: 0 12px 0 2px; /* mehr Abstand zwischen Box und Text */
  cursor: pointer;
  transform: scale(1.2);
}

.number-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.counter-button {
  background: var(--color-primary);
  color: var(--light-secondary-color);
  border: none;
  border-radius: 4px;
  width: 35px;
  height: 35px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.counter-button:hover {
  background: var(--color-primary-dark);
}

.counter-input {
  width: 80px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

.counter-input-mobile {
  width: 100%;
  max-width: 150px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  margin: 0 auto;
  display: block;
}

.torschuetzen-tabelle {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  background: #f9f9f9;
}

.torschuetze-row {
  display: grid;
  grid-template-columns: 1fr 100px auto;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
  padding: 15px;
  background: white;
  border-radius: 8px;
  border: 2px solid #eee;
}

.tore-input {
  width: 80px;
  height: 45px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  border: 2px solid #ddd;
  border-radius: 6px;
  padding: 8px;
}

.remove-button {
  background: #dc3545;
  color: var(--light-secondary-color);
  border: none;
  border-radius: 6px;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
  min-height: 45px;
  white-space: nowrap;
}

.remove-button:hover {
  background: #c82333;
  transform: translateY(-2px);
}

.add-button {
  background: var(--color-primary);
  color: var(--light-secondary-color);
  border: none;
  border-radius: 8px;
  padding: 15px 20px;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: bold;
  min-height: 50px;
  width: 100%;
}

.add-button:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.generated-images {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #f9f9f9;
}

.generated-images h4 {
  margin-bottom: 20px;
  color: var(--color-primary);
}

.image-container {
  margin-bottom: 25px;
  text-align: center;
}

.generated-image {
  max-width: 100%;
  max-height: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  min-width: 120px;
}

.social-button.instagram {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: var(--light-secondary-color);
}

.social-button.instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(188,24,136,0.3);
}

.social-button.facebook {
  background: #1877f2;
  color: var(--light-secondary-color);
}

.social-button.facebook:hover {
  background: #166fe5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24,119,242,0.3);
}

.message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  padding: 12px;
  margin-top: 15px;
}

.message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  padding: 12px;
  margin-top: 15px;
}

/* Overrides for Social Media Content Generator spacing and counters */
.section_bericht_upload .checkbox-label {
  gap: 16px;
}
.section_bericht_upload .checkbox-label input[type="checkbox"],
.section_bericht_upload .checkbox-label input[type="radio"] {
  margin: 0 14px 0 2px;
}
.section_bericht_upload .number-input-group {
  gap: 12px;
}
.section_bericht_upload .counter-button {
  background: var(--primary-color, #007bff);
  color: #fff;
  border: none;
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 22px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.15s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.section_bericht_upload .counter-button:hover {
  background: var(--primary-color-dark, #0062cc);
  transform: translateY(-1px);
}
.section_bericht_upload .counter-button:active {
  transform: translateY(0);
}
.section_bericht_upload .counter-input-mobile {
  max-width: 160px;
}

/* Responsive adjustments for Social Media Content Generator */
@media (max-width: 768px) {
  .checkbox-group {
    flex-direction: column;
    gap: 8px;
  }
  
  .checkbox-label {
    padding: 15px;
    min-height: 60px;
    font-size: 16px;
  }
  
  .torschuetze-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
  }
  
  .torschuetze-row select {
    margin-bottom: 10px;
  }
  
  .social-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .social-button {
    width: 100%;
    max-width: 300px;
    min-height: 55px;
    font-size: 16px;
  }
  
  .number-input-group {
    justify-content: center;
  }
  
  .form-group {
    margin-bottom: 25px;
  }
  
  .form-group label {
    font-size: 20px;
    margin-bottom: 12px;
  }
  
  .form-group small {
    font-size: 16px;
    margin-top: 10px;
    line-height: 1.5;
  }
  
  .form-group select,
  .form-group input[type="time"] {
    height: 55px;
    font-size: 20px;
    padding: 15px;
  }
  
  .counter-input-mobile {
    height: 70px;
    font-size: 28px;
    max-width: 200px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
    .bericht-card {
        flex-direction: column;
    }
    
    .bericht-card-thumbnail {
        width: 100%;
        height: 200px;
        order: -1;
    }
    
    .bericht-card-content {
        padding: 1rem;
    }
    
    .bericht-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .bericht-card-header h4 {
        font-size: 1.1rem;
    }
    
    .bericht-header h2 {
        font-size: 1.5rem;
    }
    
    .bericht-content,
    .bericht-header,
    .bericht-gallery {
        padding: 1.5rem;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .thumbnail img {
        width: 50px;
        height: 50px;
    }
    
    /* Mobile adjustments for scroll-to-top button */
    .div_scroll_top_button {
        bottom: 30px;
        right: 15px;
    }
    
    .btn_scroll_top_button {
        padding: 12px 16px;
        font-size: 1.2em;
        border-radius: 50%;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
}
