/* Fonts */
/* raleway-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/raleway-v36-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/raleway-v36-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/raleway-v36-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/raleway-v36-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/raleway-v36-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* raleway-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/raleway-v36-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* lobster-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Lobster';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lobster-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Color Variables */
:root {
  --primary-color: #ff6b6b;
  --secondary-color: #4ecdc4;
  --accent-color: #ffe66d;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --gradient-1: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  --gradient-2: linear-gradient(135deg, #ffe66d, #ff6b6b);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  font-family: 'Lobster', cursive;
}

.nav-logo .logo {
  height: 40px;
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-balls {
  position: absolute;
  top: 10%;
  right: 10%;
  width: 150px;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.juggling-woman {
  position: absolute;
  bottom: 10%;
  left: -100px;
  width: 200px;
  opacity: 0.2;
  animation: slideIn 2s ease-out;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes slideIn {
  0% {
    transform: translateX(-200px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 0.2;
  }
}

.hero-content {
  text-align: center;
  color: white;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
  font-family: 'Raleway', sans-serif;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--white);
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.subsection-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-light);
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
}

/* Workshops Section - Flip Cards */
.workshops {
  padding: 100px 0;
  background: var(--light-bg);
}

.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Flip Card Container */
.workshop-flip-card {
  background-color: transparent;
  width: 100%;
  height: 450px;
  perspective: 1000px;
  opacity: 0;
  transform: translateY(50px);
  border-radius: 20px;
}

.workshop-flip-card.aos-animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

/* Flip Card Inner Container */
.workshop-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s ease-in-out;
  transform-style: preserve-3d;
  cursor: pointer;
  transform-origin: center center;
}

/* Hover Effect - Flip the Card (Desktop) */
.workshop-flip-card:hover .workshop-flip-inner,
.workshop-flip-card.hover-flip .workshop-flip-inner {
  transform: rotateY(180deg);
}

/* Click/Touch Effect - Flip the Card */
.workshop-flip-card.flipped .workshop-flip-inner {
  transform: rotateY(180deg);
}

/* Front and Back Positioning */
.workshop-flip-front,
.workshop-flip-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-origin: center center;
}

/* Front Side */
.workshop-flip-front {
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
  transform: rotateY(0deg);
}

.workshop-flip-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.workshop-flip-card:hover .workshop-flip-front img {
  transform: scale(1.05);
}

.workshop-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 2rem 1rem 1rem;
  text-align: center;
}

.workshop-title-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.workshop-title-overlay h4 {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 300;
}

/* Back Side */
.workshop-flip-back {
  background: var(--gradient-1);
  color: white;
  transform: rotateY(180deg);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem;
  z-index: 1;
  overflow: hidden;
}

.workshop-flip-back .workshop-content {
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
  /* Custom scrollbar for webkit browsers */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

.workshop-flip-back .workshop-content::-webkit-scrollbar {
  width: 6px;
}

.workshop-flip-back .workshop-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.workshop-flip-back .workshop-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
}

.workshop-flip-back .workshop-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.7);
}

.workshop-flip-back h3 {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;

  line-height: 1.2;
}

.workshop-flip-back h4 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  opacity: 0.9;
  font-weight: 300;
  line-height: 1.2;
}

.workshop-flip-back p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
  overflow-y: auto;
}

.workshop-flip-back .workshop-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.95rem;
  opacity: 0.9;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 0.8rem;
  margin-top: auto;
  flex-shrink: 0;
}

/* Add hover hint */
/* Removed hover hint as requested */

/* Wissenschaft Section */
.wissenschaft {
  padding: 100px 0;
  position: relative;
}

.wissenschaft-decoration {
  position: absolute;
  top: 50px;
  right: 50px;
  opacity: 0.1;
}

.brain-icon {
  width: 200px;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.wissenschaft-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(30px);
}

.wissenschaft-content.aos-animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.wissenschaft-content p {
  margin-bottom: 1.5rem;
}

/* Über mich Section */
.ueber-mich {
  padding: 100px 0;
  background: var(--light-bg);
}

.ueber-mich-content {
  display: block;
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(30px);
}

.ueber-mich-content.aos-animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.ueber-mich-image {
  position: relative;
  float: right;
  width: 400px;
  margin: 0 0 2rem 2rem;
  clear: right;
}

.ueber-mich-text {
  text-align: justify;
}

.ueber-mich-text p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.hobby-note {
  font-style: italic;
  color: var(--text-light);
  border-left: 4px solid var(--accent-color);
  padding-left: 1rem;
  text-align: left;
}

.ueber-mich-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.decoration-unicycle {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 80px !important;
  opacity: 0.6;
  animation: spin 20s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Clear float after the section */
.ueber-mich-content::after {
  content: '';
  display: table;
  clear: both;
}

/* Artwork Gallery */
.artwork-gallery {
  margin-top: 2rem;
  text-align: center;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.artwork-image {
  max-width: 100%;
  max-height: 300px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.artwork-image:hover {
  transform: scale(1.05);
}

.artwork-caption {
  margin-top: 1rem;
  font-style: italic;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: #fff;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
}

.faq-container.aos-animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background: var(--gradient-1);
  color: white;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--gradient-2);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 200px;
  transition: max-height 0.3s ease-in, padding 0.3s ease-in;
}

.faq-answer p {
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

/* Mobile FAQ styling */
@media (max-width: 768px) {
  .faq {
    padding: 60px 0;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 1rem;
  }
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: var(--gradient-1);
  color: #000;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonials .section-title {
  color: white;
}

.testimonials .section-title::after {
  background: white;
}

/* Testimonial Carousel */
.testimonial-carousel {
  max-width: 800px;
  margin: 3rem auto;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-carousel.aos-animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.testimonial-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.testimonial {
  display: none;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.testimonial.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.testimonial::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-color);
  font-family: serif;
  position: absolute;
  top: 1rem;
  left: 2rem;
  opacity: 0.3;
}

.testimonial p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial cite {
  font-weight: 600;
  color: var(--primary-color);
  font-style: normal;
  font-size: 1rem;
}

/* Testimonial Navigation */
.testimonial-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.testimonial-dots {
  display: flex;
  gap: 0.8rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: white;
  border-color: white;
}

/* Mobile adjustments for testimonials */
@media (max-width: 768px) {
  .testimonial {
    padding: 3rem;
  }

  .testimonial p {
    font-size: 1.1rem;
  }

  .testimonial-prev,
  .testimonial-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .testimonial-navigation {
    gap: 1rem;
  }
}

/* Contact Section */
.kontakt {
  padding: 100px 0;
  background: var(--light-bg);
}

.kontakt-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  opacity: 0;
  transform: translateY(30px);
}

.kontakt-content.aos-animate {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.kontakt-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.kontakt-details {
  margin-top: 2rem;
}

.kontakt-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.kontakt-icon {
  width: 24px;
  height: 24px;
}

.kontakt-form {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.submit-button {
  background: var(--gradient-1);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;

  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.message {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 2rem;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
}

.footer-logo img {
  height: 30px;
  margin-right: 10px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.footer-decoration {
  position: absolute;
  bottom: 20px;
  right: 50px;
  opacity: 0.1;
}

.footer-juggling {
  width: 100px;
  animation: sway 8s ease-in-out infinite;
}

@keyframes sway {
  0%,
  100% {
    transform: rotate(-5deg);
  }
  50% {
    transform: rotate(5deg);
  }
}

/* Legal Pages Styles */
.legal-page {
  padding: 120px 0 80px;
  background: var(--light-bg);
  min-height: 100vh;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  animation: fadeInUp 0.8s ease-out;
}

.legal-content h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
}

.legal-content h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-1);
  border-radius: 2px;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

.legal-content h3 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.legal-content h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  margin-top: 1rem;
}

.legal-content p {
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.legal-content li {
  line-height: 1.7;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.legal-content a {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.3s ease;
}

.legal-content a:hover {
  border-bottom-color: var(--primary-color);
}

.back-link {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

/* CAPTCHA Styling */
.captcha-group {
  background: var(--light-bg);
  border: 2px solid var(--accent-color);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.captcha-question {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.captcha-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 2px solid var(--primary-color);
  min-width: 150px;
  text-align: center;
}

.captcha-question input {
  max-width: 140px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  border: 2px solid var(--secondary-color);
}

.captcha-question input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.captcha-help {
  color: var(--text-light);
  font-size: 0.85rem;
  font-style: italic;
  display: block;
  margin-top: 0.5rem;
}

/* Mobile CAPTCHA styling */
@media (max-width: 768px) {
  .captcha-question {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .captcha-text {
    min-width: auto;
    width: 100%;
  }

  .captcha-question input {
    max-width: 150px;
    width: 100%;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }
  .section-title {
    font-size: 2rem;
  }

  .workshop-grid {
    grid-template-columns: 1fr;
  }

  /* Disable hover effects on mobile, use click instead */
  .workshop-flip-card:hover .workshop-flip-inner,
  .workshop-flip-card.hover-flip .workshop-flip-inner {
    transform: none;
  }

  /* Only allow click/touch flips on mobile */
  .workshop-flip-card.flipped .workshop-flip-inner {
    transform: rotateY(180deg);
  }
  /* Mobile flip cards - maintain flip functionality */
  .workshop-flip-card {
    height: 500px; /* Increased height for mobile */
    perspective: 1000px;
  }

  .workshop-flip-inner {
    position: relative;
    transform: none;
    transition: transform 0.6s ease-in-out;
    transform-style: preserve-3d;
  }

  .workshop-flip-front,
  .workshop-flip-back {
    position: absolute;
    top: 0;
    left: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-origin: center center;
    margin-bottom: 0;
  }

  .workshop-flip-front {
    height: 100%;
    transform: rotateY(0deg);
  }

  .workshop-flip-back {
    height: 100%;
    transform: rotateY(180deg);
    padding: 1.2rem;
    overflow: hidden;
  }

  .workshop-flip-back .workshop-content {
    height: 100%;
    overflow-y: auto;
    padding-right: 0.5rem; /* Space for scrollbar */
  }
  .workshop-flip-back p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
  }

  .workshop-flip-back h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
  }

  .workshop-flip-back h4 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
  }

  .workshop-flip-back .workshop-details {
    font-size: 0.85rem;
    gap: 0.2rem;
    padding-top: 0.6rem;
    margin-top: 0.8rem;
  }
  .ueber-mich-content {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .ueber-mich-image {
    float: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 2rem auto;
    order: -1; /* Put image before text */
  }

  .ueber-mich-text {
    text-align: center;
    order: 1;
  }

  .hobby-note {
    text-align: left;
  }

  .kontakt-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .floating-balls,
  .juggling-woman,
  .decoration-unicycle {
    display: none;
  }
}

/* Center all text on mobile */
body {
  text-align: center;
}

.hero-content,
.workshop-flip-back .workshop-content,
.wissenschaft-content,
.faq-container,
.testimonial-slider,
.kontakt-content,
.legal-content {
  text-align: center;
}

/* Reset specific elements that should stay left-aligned */
.workshop-flip-back p,
.workshop-flip-back .workshop-details {
  text-align: left;
}

/* Scroll animations */
[data-aos] {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Loading animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Mobile flip functionality */
.workshop-flip-card.flipped .workshop-flip-inner {
  transform: rotateY(180deg);
}

/* Focus styles for accessibility */
.workshop-flip-card:focus {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
}

/* Typography - Custom Fonts */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lobster', cursive, sans-serif;
  font-weight: 400;
}

/* Cookie Notice Styling */
.cookie-notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  max-width: 350px;
  z-index: 1000;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.cookie-notice.show {
  transform: translateX(0);
  opacity: 1;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cookie-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cookie-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.cookie-text {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-color);
  flex-grow: 1;
}

.cookie-text strong {
  color: var(--primary-color);
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
}

.cookie-accept-btn {
  background: var(--gradient-1);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  align-self: stretch;
}

.cookie-accept-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
}

/* Mobile cookie notice */
@media (max-width: 768px) {
  .cookie-notice {
    bottom: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    width: calc(100% - 20px);
  }

  .cookie-header {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .cookie-text {
    font-size: 0.85rem;
  }
}

/* Enhanced Parallax Graphics */

/* Hero Section Parallax */
.floating-ball-1,
.floating-ball-2,
.floating-ball-3 {
  position: absolute;
  width: 60px;
  height: 60px;
  pointer-events: none;
  opacity: 0.8;
}

.floating-ball-1 {
  top: 20%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.floating-ball-2 {
  top: 60%;
  right: 15%;
  animation: float 8s ease-in-out infinite reverse;
}

.floating-ball-3 {
  top: 40%;
  left: 80%;
  animation: float 7s ease-in-out infinite;
  animation-delay: -2s;
}

.floating-club-1,
.floating-club-2 {
  position: absolute;
  width: 40px;
  height: 120px;
  pointer-events: none;
  opacity: 0.7;
}

.floating-club-1 {
  top: 30%;
  right: 20%;
  animation: rotate-float 10s linear infinite;
}

.floating-club-2 {
  top: 70%;
  left: 20%;
  animation: rotate-float 12s linear infinite reverse;
}

.hero-unicyclist {
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: 180px;
  height: auto;
  opacity: 0.6;
  pointer-events: none;
  animation: gentle-sway 8s ease-in-out infinite;
}

/* Workshop Section Decorations */
.workshop-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-ring-1,
.floating-ring-2 {
  position: absolute;
  width: 50px;
  height: 50px;
  opacity: 0.4;
}

.floating-ring-1 {
  top: 15%;
  left: 5%;
  animation: pulse-float 8s ease-in-out infinite;
}

.floating-ring-2 {
  bottom: 20%;
  right: 10%;
  animation: pulse-float 10s ease-in-out infinite;
  animation-delay: -3s;
}

.floating-diabolo-1,
.floating-diabolo-2 {
  position: absolute;
  width: 70px;
  height: auto;
  opacity: 0.3;
}

.floating-diabolo-1 {
  top: 25%;
  right: 8%;
  animation: spin-slow 15s linear infinite;
}

.floating-diabolo-2 {
  bottom: 30%;
  left: 8%;
  animation: spin-slow 20s linear infinite reverse;
}

/* Testimonials Section Decorations */
.testimonial-decoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-testimonial-club {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 35px;
  height: auto;
  opacity: 0.4;
  animation: gentle-rotate 12s linear infinite;
}

.floating-testimonial-ball {
  position: absolute;
  bottom: 25%;
  right: 15%;
  width: 45px;
  height: 45px;
  opacity: 0.5;
  animation: bounce-subtle 6s ease-in-out infinite;
}

/* Enhanced Brain Icon (now Diabolo) */
.brain-icon {
  width: 80px;
  height: auto;
  opacity: 0.8;
  animation: pulse-glow 4s ease-in-out infinite;
}

/* Updated decoration elements */
.decoration-unicycle {
  width: 120px;
  height: auto;
  opacity: 0.7;
  animation: gentle-sway 10s ease-in-out infinite;
}

.kontakt-icon {
  width: 50px;
  height: 50px;
  opacity: 0.8;
  animation: pulse-float 5s ease-in-out infinite;
}

.footer-juggling {
  width: 60px;
  height: auto;
  opacity: 0.6;
  animation: gentle-rotate 15s linear infinite;
}

/* Animation Keyframes */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes rotate-float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(90deg);
  }
  50% {
    transform: translateY(0px) rotate(180deg);
  }
  75% {
    transform: translateY(-10px) rotate(270deg);
  }
  100% {
    transform: translateY(0px) rotate(360deg);
  }
}

@keyframes gentle-sway {
  0%,
  100% {
    transform: translateX(0px) rotate(0deg);
  }
  50% {
    transform: translateX(10px) rotate(2deg);
  }
}

@keyframes pulse-float {
  0%,
  100% {
    transform: scale(1) translateY(0px);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.1) translateY(-15px);
    opacity: 0.7;
  }
}

@keyframes spin-slow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes gentle-rotate {
  0% {
    transform: rotate(0deg) translateY(0px);
  }
  50% {
    transform: rotate(180deg) translateY(-10px);
  }
  100% {
    transform: rotate(360deg) translateY(0px);
  }
}

@keyframes bounce-subtle {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .floating-ball-1,
  .floating-ball-2,
  .floating-ball-3 {
    width: 40px;
    height: 40px;
  }

  .floating-club-1,
  .floating-club-2 {
    width: 30px;
    height: 90px;
  }

  .hero-unicyclist {
    width: 120px;
    bottom: 5%;
    right: 2%;
  }

  .floating-ring-1,
  .floating-ring-2 {
    width: 35px;
    height: 35px;
  }

  .floating-diabolo-1,
  .floating-diabolo-2 {
    width: 50px;
  }

  .floating-testimonial-club {
    width: 25px;
  }

  .floating-testimonial-ball {
    width: 35px;
    height: 35px;
  }
}

/* PDF Section Styling */
.pdf-info {
  flex: 1;
  margin-right: 2rem;
}

.pdf-info h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.pdf-info p {
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.pdf-container {
  background: white;
  border-radius: 15px;
  padding: 1rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--accent-color);
}

.workshop-pdf {
  border: none;
  border-radius: 10px;
  min-height: 500px;
}

.pdf-fallback {
  text-align: center;
  margin-top: 1rem;
  display: none;
}

.pdf-download-link {
  display: inline-block;
  background: var(--gradient-1);
  color: white;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pdf-download-link:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Mobile PDF styling */
@media (max-width: 768px) {
  .kontakt-content {
    flex-direction: column !important;
    gap: 2rem;
  }

  .pdf-info {
    margin-right: 0;
    margin-bottom: 2rem;
  }

  .pdf-info h3 {
    font-size: 1.5rem;
  }

  .workshop-pdf {
    height: 400px;
    min-height: 400px;
  }

  .pdf-fallback {
    display: block;
  }

  .workshop-pdf {
    display: none;
  }
}

@media (max-width: 480px) {
  .workshop-pdf {
    height: 300px;
    min-height: 300px;
  }
}

/* Highlighted navigation link for Sportvereine */
.nav-highlight {
  background: linear-gradient(90deg, #ffd700 0%, #ff9800 100%);
  color: #222 !important;
  font-weight: bold;
  border-radius: 8px;
  padding: 0.5em 1em;
  box-shadow: 0 2px 8px rgba(255, 152, 0, 0.15);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.nav-highlight:hover {
  background: linear-gradient(90deg, #ff9800 0%, #ffd700 100%);
  color: #fff !important;
  transform: translateY(-2px);
}

/* =================================
   VEREINE PAGE STYLES
   ================================= */

/* Hero Section for Vereine Page */
.vereine-hero {
  min-height: 60vh;
  background: var(--gradient-1);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px; /* Account for fixed navbar */
}

.vereine-hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.vereine-hero-content {
  text-align: center;
  color: white;
  animation: fadeInUp 1s ease-out;
}

.vereine-hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 300;
}

.vereine-hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Main Content Area */
.vereine-main {
  position: relative;
}

/* Section Styling */
.vereine-intro,
.vereine-why,
.vereine-ablauf,
.vereine-mitbringen,
.vereine-philosophie,
.vereine-termine,
.vereine-faq,
.vereine-gallery {
  padding: 80px 0;
  position: relative;
}

/* Alternating backgrounds */
.vereine-intro {
  background: var(--light-bg);
}

.vereine-why {
  background: white;
}

.vereine-ablauf {
  background: var(--light-bg);
}

.vereine-mitbringen {
  background: white;
}

.vereine-philosophie {
  background: var(--light-bg);
}

.vereine-termine {
  background: white;
}

.vereine-faq {
  background: var(--light-bg);
}

.vereine-gallery {
  background: white;
}

/* Content styling */
.vereine-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.vereine-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

/* Timeline styling for course structure */
.vereine-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.timeline-icon {
  font-size: 3rem;
  min-width: 80px;
  text-align: center;
}

.timeline-content {
  width: 100%;
}

.timeline-content h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  text-align: center;
}

.timeline-content p {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0;
  text-align: center;
}

/* Grid for "Was mitbringen" section */
.mitbringen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.mitbringen-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mitbringen-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.mitbringen-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.mitbringen-item h3 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.mitbringen-item p {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0;
}

/* Termine styling */
.termine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.termine-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid var(--secondary-color);
}

.termine-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.termine-card h3 {
  font-size: 2rem;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
}

.termine-details {
  margin-bottom: 2rem;
}

.termin-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.termin-emoji {
  font-size: 1.3rem;
  margin-right: 1rem;
  min-width: 30px;
}

.kurs-regular {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 15px;
  margin-top: 1.5rem;
}

.kurs-regular h4,
.kurs-schnupper h4 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.kurs-regular p {
  color: var(--text-dark);
  line-height: 1.6;
  margin: 0;
}

/* FAQ styling for vereine page */
.vereine-faq .faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.vereine-faq .faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.vereine-faq .faq-item:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.vereine-faq .faq-question {
  padding: 1.5rem 2rem;
  background: var(--gradient-2);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.vereine-faq .faq-question::after {
  content: '+';
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark);
  transition: transform 0.3s ease;
}

.vereine-faq .faq-item.active .faq-question::after {
  transform: translateY(-50%) rotate(45deg);
}

.vereine-faq .faq-question h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin: 0;
  font-weight: 600;
  padding-right: 3rem;
}

.vereine-faq .faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.vereine-faq .faq-item.active .faq-answer {
  padding: 1.5rem 2rem;
  max-height: 200px;
}

.vereine-faq .faq-answer p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 0;
  text-align: left;
}

/* Simple Gallery Styles */
.simple-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}

.gallery-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
}

.gallery-image.landscape {
  max-height: 300px;
}

.gallery-image.portrait {
  max-height: 700px;
}

.gallery-image:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Mobile responsiveness for simple gallery */
@media (max-width: 768px) {
  .simple-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .simple-gallery {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Mobile responsiveness for vereine page */
@media (max-width: 768px) {
  .vereine-hero-title {
    font-size: 2.5rem;
    padding: 0 1rem;
  }

  .vereine-hero-subtitle {
    font-size: 1.2rem;
    padding: 0 1rem;
  }

  .timeline-item {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1rem;
  }

  .timeline-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .timeline-content p {
    text-align: center;
  }

  .timeline-content h3 {
    text-align: center;
  }

  .mitbringen-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }

  .termine-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .termine-card {
    padding: 2rem 1.5rem;
  }

  .vereine-faq .faq-question,
  .vereine-faq .faq-answer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .vereine-hero {
    min-height: 50vh;
    padding: 60px 0;
  }

  .vereine-hero-title {
    font-size: 2rem;
  }

  .vereine-hero-subtitle {
    font-size: 1rem;
  }

  .vereine-intro,
  .vereine-why,
  .vereine-ablauf,
  .vereine-mitbringen,
  .vereine-philosophie,
  .vereine-termine,
  .vereine-faq,
  .vereine-gallery {
    padding: 60px 0;
  }

  .mitbringen-item,
  .termine-card {
    padding: 1.5rem 1rem;
  }
}
