html {
      scroll-behavior: smooth;
      background-color: #fff;
}
body{
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-image: url(/HeroImage.jpg);
  background-size: 98vw;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}
/* Navigation */
.header {
  background: transparent;
  position: fixed;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  transition: all 500ms ease-in-out;
  box-sizing: border-box;
}

/* Wenn gescrollt */
.header.scrolled {
  background: white;
  color: black;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header.scrolled .logo,
.header.scrolled li a {
  color: black;
}
/* Linie im Hover-Effekt auch schwarz im Scrolled-Modus */
.header.scrolled li a::after {
  background-color: black;
}

/* Logo */
.logo {
  margin: 20px;
  margin-left: 5vw;
  font-size: 2.7rem;
  text-decoration: none;
  color: white;
  float: left;
}

/* Menü sichtbar für alle Viewports */
ul.menu {
  list-style: none;
  background: transparent;
  clear: none;
  float: right;
  max-height: 100%;
  display: flex;
  gap: 20px;
  margin-right: 5vw;
  font-size: 1em;
}

/* Menü-Links mit Hover-Linieneffekt */
li a {
  position: relative;
  display: block;
  text-decoration: none;
  color: white;
  font-size: 1.5em;
  transition: color 400ms ease-in-out;
  line-height: 50px;
  padding: 0 10px;
  overflow: hidden;
  margin-top: 5px;
}

/* Linie unter dem Text – animiert */
li a::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 10px;
  width: calc(100% - 20px);
  height: 2px;
  background-color: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease, transform-origin 0s 0.3s;
}

/* Hover: Linie fährt von links nach rechts aus */
li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Hover-Ende: Linie zieht sich von rechts nach links zurück */
li a:not(:hover)::after {
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease, transform-origin 0s;
}

/* Menü-Checkbox und Icon ausblenden (weil Menü immer sichtbar) */
.menu-btn,
.menu-icon {
  display: none;
}

.hero{
  height: 90vh;
  margin-bottom: 2vh;
}
.welcome {
  height: 100vh; /* Vollbildhöhe */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
 }
h5{
  margin: 0;
  margin-top: -1em;
  font-size: 5em;
  color: white;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.7);
  }

  .typewriter {
    color: white;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 1.9s steps(16, end) forwards;
    position: relative;
  }

  /* Der "Cursor" als ein kleines Rechteck */
  .typewriter::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0.05em;
    height: 1em;
    background: white;
    animation: blink-caret-realistic 1.5s infinite;
  }

  @keyframes typing {
    from { width: 0 }
    to { width: 9.7ch }
  }

  @keyframes blink-caret-realistic {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
  }

h6{
  margin-top: 10px;
  font-size: 2em;
  font-weight: lighter;
  color: white;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.7);
}
button{
  font-size: 1.7em;
  width: 160px;
  height: 60px;
  border: solid 1px white;
  border-radius: 30px;
  color: white;
  background-color: transparent;
 }
button:hover{
  transition: background-color 0.5s ease;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  
 }
.content{
  background-color: rgb(255, 255, 255);
  width: 100%;
  padding-top: 1rem;
}

.container {
  max-width: 80rem;
  margin: 0 auto;
  margin-bottom: 10px;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 5px 20px 0 rgba(0,0,0,0.1), 0 4px 6px 0 rgba(0,0,0,0.1);
  padding: 1rem;
  border: solid 1px #f9fafb;
}
p{
  font-size: 1.2rem;;
}
h3{
  font-size: 1.4rem;
}
.iconheader {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 95%;
}

.tab-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1f2937;
  min-width: 450px;
  transition: all 0.3s ease;
  margin-left: 1rem;
}

.tabs {
  display: flex;
  flex-grow: 1;
  justify-content: space-between;
}

.tabs button {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 9999px;
  font-size: 1.25rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tabs button:hover {
  background-color: #f1f1f1;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease, transform 0.6s ease;
  
  transform: scale(1.07);
}

.tabs button.active {
  background-color: #f1f1f1;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
  transform: scale(1.07);
}
.tabs button img {
  width: 90%;
  height: 90%;
  object-fit: contain; /* oder cover, je nachdem wie du die Bilder skalieren möchtest */
  pointer-events: none;
  user-select: none;
  display: block; /* entfernt kleine Abstände unter Bildern */
}
.tab-content {
  margin-top: 1.5rem;
  min-height: 50vh;
  background-color: #f4f5f7;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  color: #1f2937;
  transition: all 0.3s ease;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .content-wrapper {
    flex-direction: row;
  }
}

.image-list {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  width: 20%;
  align-items: center;
}

@media (min-width: 768px) {
  .image-list {
    flex-direction: column;
    min-width: 80px;
    justify-content: flex-start;
  }
}
.image-list img {
  width: 4rem;
  height: 4rem;
  margin-top: 2rem;
  object-fit: contain;
  user-select: none;
}

.tab-text {
  flex: 1;
  max-width: 70%;
}
.footer {
  height: 92vh;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 2rem;
  flex-wrap: wrap;
  background-color:#fff ;
}
h1{
  width: 100%;
  text-align: center;
  margin-top: 1.5em;
  font-size: 3.5rem;
  line-height: .1rem;
  color: black;
}
h4{
  text-align: center;
  font-size: 1.5rem;
  font-weight: lighter;
  margin-bottom: 3rem;
  color: black;
}
.contact {
  display: flex;
  flex-direction: column;
  max-width: 700px;
  margin: auto;
  margin: 2em 3em 5em 5em;
  background: white;
  padding: 30px;
  border-radius: 0.5rem;
  box-shadow: 0 5px 20px 0 rgba(0,0,0,0.1), 0 4px 6px 0 rgba(0,0,0,0.1);
  border: solid 1px #f4f5f7;
}
h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: light;
  font-size: 2em;
}
input, textarea {
  width: 95%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
}
.contact button {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 0.5rem;
  cursor: pointer;
  font-size: 1em;
  height: 40px;
}

.visitenkarte {
  display: flex;
  max-width: 500px;
}

.card-wrapper {
  position: relative;
  perspective: 1000px;
}

.card {
  width: 320px;
  padding: 3rem;
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 5px 20px 0 rgba(0,0,0,0.1), 0 4px 6px 0 rgba(0,0,0,0.1);
  transition: transform 0.2s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}

.name {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #222;
}

.info {
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  color: #444;
  display: flex;
  align-items: center;
}

.info svg {
  margin-right: 0.5rem;
  width: 18px;
  height: 18px;
  fill: #555;
  flex-shrink: 0;
}
#qrcode {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 80px;
  height: 80px;
  background: white;
  padding: 5px;
  z-index: 10;
}

#download-pdf {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  fill: #007BFF;
  transition: fill 0.3s ease;
  z-index: 10;
}
#download-pdf:hover {
  fill: #0056b3;
}