html, body {
	min-height: 100%;
	font-family: 'Roboto', Arial, sans-serif;
	font-size: medium;
	color: #eee;
	background-color: black;
	position: relative;
	margin: 0;
  overflow-x: hidden;
}

header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 0;
  margin-bottom: 0;
}

/* Link-Container: kein fester height/width nötig */
.header_image {
  display: inline-block;
}

/* Bildgröße beschränken */
.header_image img {
  height: 3em;
  width: auto;
  display: block;
  padding-left: 1em;
  padding-top: 1em;
}

footer {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #ffffff;
	padding: 1em;
	margin-bottom: 0;
	position: relative;
	z-index: 1001;
}

footer a {
	color: #ffffff;
	text-decoration: none;
	margin-right: 16px;
}

footer a:hover {
	color: lightgray;
}

footer .socialmedia .fa {
	padding-top: 0.2em;
	padding-left: 0.2em;
	padding-right: 0.2em;
	padding-bottom: 0.2em;
	font-size: 1.5em;
	width: 1em;
	height: 1em;
	text-align: center;
	text-decoration: none;
	border-radius: 0.4em;
	margin: 0.2em;
}

footer .socialmedia .fa:hover {
		opacity: 0.7;
	}

footer .socialmedia .fa-facebook {
	background: #3B5998;
	color: white;
}

footer .socialmedia .fa-instagram {
	background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
	color: white;
}

.scroll-wrapper {
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.card-stack {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100%;
  will-change: transform;
  transition: transform 0.1s ease-out;
  padding: 1em;
}

.card {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 80vw;
    height: 80vh;
    background: lightgrey;
    color: black;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin-left: -100px;
    scroll-snap-align: center;
    transform: none;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    padding: 20px;
    margin-left: -85vw;
}

.card:nth-child(1) { margin-top: 7.5vw; }
.card:nth-child(2) { margin-top: 6vw; }
.card:nth-child(3) { margin-top: 4.5vw; }
.card:nth-child(4) { margin-top: 3vw; }
.card:nth-child(5) { margin-top: 1.5vw; }
.card:nth-child(6) { margin-top: 0vw; }


.card.visible {
  transform: translateX(0);
}

/* Beim Hover oder wenn aktiv: nach vorne holen */
.card:hover {
  transform: scale(1.01);
  z-index: 10;
  box-shadow: 0 20px 30px rgba(0,0,0,0.2);
}

.card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
	font-variant-caps: small-caps;
}

.card p {
  max-width: 600px;
  text-align: center;
  margin: 0.5rem 0;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.card ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.2em;
}

.card ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #666;
}

.subtitle {
  font-size: 1.2rem;
  color: black;
  max-width: 400px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
	font-variant-caps: small-caps;
}

.logo-landscape {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  display: block;
}

.logo-portrait {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  display: none;
}

@media (max-width: 768px) {

  html, body {
    overflow: visible;
  }

  footer {
		flex-direction: column;
		margin-top: 2vh;
	}

  .scroll-wrapper {
    height: auto;           
    overflow: visible; 
    padding: 5vw;    
  }

  .card-stack {
    flex-direction: column-reverse;
    align-items: center;
    overflow-x: visible;
    padding: 1em 0;
    padding: 5vw;
    border-radius: 8px;
  }

  .card {
    width: 80vw;
    height: auto;
    margin: 1em 0;
    margin-left: 5vw;
    margin-right: 5vw;
    padding: 1.5em;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transform: none !important;
    border-radius: 8px;
  }

  .card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  }

  .card h2 {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .card ul li {
    font-size: 0.95rem;
  }

  .logo-portrait {
    max-width: 100%;
    max-height: 200px;
    display: block;
  }
  .logo-landscape {
    max-width: 100%;
    max-height: 200px;
    display: none;
  }
}