
@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

*{
    font-family: 'Bai Jamjuree', sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

/* Global Styles*/
:root{
  font-size: 1.1rem;
  font-family: 'Bai Jamjuree';
  /* === Colors ===== */
  --text-primary: #f6cd26;
  --text-secondary: #ac6b26;
  --text-3: #563226;
  --text-4: #331c17;
  --bg-primary: #202020;
  --bg-secondary: #393939;
  --bg-3: #725956;
  --bg-4: #bb7f57;
  --transition-speed: 600ms;
  --navbar-height: 70px; /* Define the height of the navbar */
}

body {
  color: var(--bg-primary);
  min-height: 100vh;
  background-color: var(--bg-primary);
}

header {
  position: fixed;
  width: 100%;
  padding: 0.5rem;
  background: var(--bg-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

footer {
  background-color: #f1f1f1; /* Beispiel Hintergrundfarbe für Footer */
  padding: 20px; /* Innenabstand für Footer */
  text-align: center; /* Text zentrieren */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  flex: 1;
}

.logo img {
  height: 50px;
}

.navbar-nav {
  list-style: none;
  display: flex;
  gap: 1rem;
  flex: 2;
  justify-content: flex-end;
  padding: 0.5rem;
}

.navbar-item a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
}

.navbar-item a:hover {
  color: var(--text-primary);
}

.toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  position: absolute;
  right: 2rem;
}

.menu-icon, .close-icon {
  display: none;
  color: white;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked + .toggle .menu-icon {
  display: none;
}

#menu-toggle:checked + .toggle .close-icon {
  display: inline;
}

#menu-toggle:not(:checked) + .toggle .menu-icon {
  display: inline;
}

#menu-toggle:not(:checked) + .toggle .close-icon {
  display: none;
}

.hero-section {
  height: 100vh;
  background: url('https://images.pexels.com/photos/13930025/pexels-photo-13930025.png?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 0 10%;
  box-sizing: border-box;
}



.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Text shadow */
}

.hero-content .subheadline {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Text shadow */
}

.hero-content .cta-button {
  padding: 1rem 2rem;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color var(--transition-speed);
}

.hero-content .cta-button:hover {
  background-color: var(--text-secondary);
}

.team-section {
  padding: 4rem 10%;
  background-color: #f9f9f9;
}

.team-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--bg-primary);
}

.team-section h3 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1rem;
  color: var(--bg-primary);
}

.team-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.zitat{
  margin-top: 1rem;
}

.team-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: calc(33.333% - 2rem);
  text-align: center;
  padding: 2rem 1rem;
  transition: transform 0.3s;
}

.team-card img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.team-card h3 {
  margin: 0.5rem 0;
  font-size: 1.25rem;
  color: var(--bg-primary);
}

.team-card .title {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: bold;
}

.team-card p {
  font-size: 0.875rem;
  color: var(--text-3);
}

.team-card:hover {
  transform: translateY(-10px);
}

.bento-section {
  padding: 4rem 10%;
  background-color: #ffffff;
}

.bento-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--bg-primary);
}

.bento-boxes {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.bento-box {
  background: var(--bg-primary);
  color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: calc(50% - 1rem);
  text-align: center;
  padding: 2rem 1rem;
  transition: transform 0.3s;
}

.bento-box img {
  width: 100%;
  height: auto;
  border-bottom: 2px solid var(--text-primary);
  margin-bottom: 1rem;
}

.bento-box h3 {
  margin: 0.5rem 0;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.bento-box p {
  font-size: 1rem;
  color: white;
}

.bento-box:hover {
  transform: translateY(-10px);
}

.contact-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: white;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  color: white;
}

.contact-details,
.contact-image {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  background-color: var(--bg-primary);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-details {
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
}

.contact-details h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.contact-details p {
  margin-bottom: 10px;
}

.contact-details a {
  color: var(--text-primary);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.social-media {
  margin-top: 20px;
}

.social-media a {
  margin-right: 10px;
  color: #333;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-media a:hover {
  color: #5c67f5;
}

.contact-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-section2{
  width: 350px;
  height: 500px;
  color: #ffffff;
}

.card{
  width: 100%;
  height: 100%;
  position: relative;
}

.front, .back{
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  box-shadow: 0 0 5px 2px rgba(50, 50, 59, 0.25);
  position: absolute;
}

.front{
  width: 200px;
  height: 200px;
  background-image: url(portrait_fabian_brunner.jpg);
  background-size: cover;
}

@media (max-width: 768px) {
  .navbar-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    text-align: left;
    background: var(--bg-primary);
  }

  .navbar-item {
      width: 100%;
      padding: 2rem 0;
  }

  .toggle {
      display: block;
      color: white;
  }

  #menu-toggle:checked ~ .navbar-nav {
      display: flex;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .subheadline {
      font-size: 1.25rem;
  }

  .team-cards {
    flex-direction: column;
    gap: 2rem;
  }

  .team-card {
      width: 100%;
  }

  .bento-boxes {
      flex-direction: column;
      gap: 2rem;
  }

  .bento-box {
      width: 100%;
  }
}