
:root {
  --vh: 1vh;
  --orange: #e36c0a;
  --footer-bg: rgba(0, 0, 0, 0.8);
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
}

html {
  overflow-y: scroll;
}

body {
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
  background-color: #f0f0f0;
  display: flex;
  flex-direction: column;
  min-height: calc(var(--vh, 1vh) * 100);
}

/* Header */

header {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  text-align: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}

header img {
  height: 140px;
  margin-bottom: 10px;
  max-width: 100%;
}

h1 {
  color: var(--orange);
  margin: 0 0 20px;
  font-size: 1.8em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Navigation */

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  margin-right: auto;
}

.burger-line {
  width: 25px;
  height: 3px;
  background-color: var(--orange);
  border-radius: 2px;
}

.menu-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.menu-links.active {
  display: flex;
  flex-direction: column;
}

/* Buttons */

.button-link {
  background-color: var(--orange);
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: all 0.6s ease;
  z-index: 0;
}

.button-link:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.button-link:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Main */

main {
  flex: 1;
  margin: 40px auto;
  padding: 40px 20px;
  max-width: 1000px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.centered-section {
  text-align: center;
}

.centered-list {
  list-style: none;
  padding-left: 0;
  text-align: center;
}

.centered-list li {
  margin-bottom: 10px;
  padding: 8px 0;
}

.intro-text {
  font-size: 1.4em;
  line-height: 1.6;
}

.beratung-hinweis {
  font-size: 1.2em;
  text-align: center;
  margin: 30px auto 10px;
  color: #333;
  max-width: 800px;
}

/* Slideshow */

.slideshow-container {
  width: 70%;
  margin: 40px auto;
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.slides {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.active-slide {
  display: block;
  opacity: 1;
}

/* Formular */

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

input, textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
}

input[type="submit"] {
  background-color: var(--orange);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

input[type="submit"]:hover {
  background-color: #c25609;
  transform: translateY(-2px);
}

/* Footer */

footer {
  background-color: var(--footer-bg);
  color: white;
  text-align: center;
  padding: 30px 0 10px;
  margin-top: auto;
  position: relative;
}

.social-icons {
  margin-top: 15px;
}

.social-icons img {
  width: 28px;
  height: 28px;
  filter: brightness(1) contrast(1);
  margin: 0 8px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.2);
}

.footer-stripes {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  display: flex;
}

.footer-stripes div {
  flex: 1;
  height: 100%;
}

.stripe-black { background: black; }
.stripe-gray { background: gray; }
.stripe-orange { background: var(--orange); }

/* Call Button */

.call-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--orange);
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 24px;
}

/* Mobile */

@media (max-width: 600px) {
  h1 {
    font-size: 1.4em;
    white-space: normal;
  }

  .menu-links {
    display: none;
    flex-direction: column;
    width: 100%;
    align-items: center;
    margin-top: 10px;
  }

  .menu-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  main {
    padding: 20px 10px;
    margin: 20px 10px;
  }

  .slideshow-container {
    width: 90%;
  }

  .call-button {
    display: flex;
  }
}
