a {
  color: rgb(127, 85, 66);
  cursor: pointer;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.navbar-transparent {
  background-color: transparent;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.navbar-transparent .nav-link {
  color: rgb(255, 255, 243) !important;
}

.navbar-solid {
  background-color: #fffff3 !important;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.navbar-solid .nav-link {
  color: rgb(127, 85, 66) !important;
}

.animated-section {
  height: 100vh;
  background: linear-gradient(135deg, #7ab3c9 0%, #457b9d 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
  position: relative;
  opacity: 0;
  animation: fadeIn 1s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .main-logo {
    position: absolute !important;
    top: 45% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;
  }

  .quote-animation {
    top: 65% !important;
    right: 5% !important;
    font-size: 1rem !important;
  }

  .quote-animation span {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .main-logo {
    position: absolute !important;
    top: 45% !important;
    transform: translateY(-50%) !important;
  }

  .quote-animation {
    top: 25% !important;
    right: 5% !important;
    font-size: 1rem !important;
  }

  .quote-animation span {
    font-size: 1rem !important;
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .main-logo {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  .quote-animation {
    top: 20% !important;
    right: 5% !important;
    font-size: 1.3rem !important;
  }

  .quote-animation span {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 1399px) and (min-width: 1199px) {
  .main-logo {
    position: absolute !important;
    top: 40% !important;
    transform: translateY(-50%) !important;
  }

  .quote-animation {
    top: 10% !important;
    right: 5% !important;
    font-size: 1.4rem !important;
  }

  .quote-animation span {
    font-size: 1.2rem !important;
  }
}

@media (min-width: 1400px) {
  .main-logo {
    position: absolute !important;
    top: 40% !important;
    transform: translateY(-50%) !important;
  }

  .quote-animation {
    font-size: 1.5rem !important;
    top: 25% !important;
    right: 5% !important;
  }

  .quote-animation span {
    font-size: 1.4rem !important;
  }
}

@media (max-width: 1200px) {
  #hero h1 {
    font-size: 1.7rem !important;
  }
  #hero h5 {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 992px) {
  #hero h1 {
    font-size: 1.5rem !important;
  }
  #hero h5 {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 1.7rem !important;
  }
  #hero h5 {
    font-size: 1rem !important;
  }
}

@media (max-width: 768px) {
  #hero .row.flex-md-row {
    flex-direction: column-reverse !important;
  }
}

@media (max-width: 576px) {
  #navbar-logo {
    display: none !important;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 576px) {
  .nav-pills {
    gap: 5px;
  }

  .nav-pills .nav-link {
    padding: 5px 10px;
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  #hero h1 {
    font-size: 1.5rem !important;
  }
  #hero h5 {
    font-size: 0.95rem !important;
  }
}

.falling-ladder {
  position: absolute;
  bottom: 0%;
  left: 5%;
  width: 40vw;
  max-width: 600px;
  height: auto;
  z-index: 10;
  min-width: 200px;
}

.custom-card {
  background-color: #fffff3;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  transition: transform 0.5s ease, box-shadow 0.5s ease,
    background-color 0.5s ease, color 0.5s ease;
  cursor: pointer;
}

.custom-card:hover {
  background-color: rgb(127, 85, 66);
  transform: scale(1.05);
  box-shadow: 0px 10px 20px rgba(255, 255, 255, 0.3);
}

.custom-card:hover h3,
.custom-card:hover a {
  color: #fffff3 !important;
}

.card-img-top {
  margin: 0;
  padding: 0;
  object-fit: cover;
}

.card-body h3 {
  color: rgb(127, 85, 66);
}

.card-body .btn {
  margin-top: auto;
}

.custom-contact-card {
  background-color: rgb(255, 255, 243);
  padding: 2rem;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

#kontakt h4 {
  font-weight: 600;
  color: rgb(127, 85, 66);
  margin-bottom: 1rem;
}

.custom-contact-card i {
  transition: transform 0.3s ease, color 0.3s ease;
  color: rgb(127, 85, 66);
}

.custom-contact-card i:hover {
  transform: scale(1.2);
  color: rgb(102, 68, 53);
}

.custom-contact-card a {
  color: rgb(127, 85, 66);
}

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

@media (max-width: 768px) {
  #kontakt .col-md-4 {
    margin-bottom: 2rem;
  }
}

#kontakt {
  opacity: 0;
  animation: fadeInUp 1s ease-in-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-footer {
  background-color: rgb(255, 255, 243);
  font-size: 0.95rem;
}

.custom-footer .text-secondary {
  color: rgb(127, 85, 66);
}

.custom-footer .footer-icon {
  color: rgb(127, 85, 66);
  transition: color 0.3s ease, transform 0.3s ease;
}

.custom-footer .footer-icon:hover {
  color: rgb(102, 68, 53);
  transform: scale(1.2);
}

.custom-footer img {
  height: 32px;
}

@media (max-width: 576px) {
  .custom-footer .text-md-end {
    text-align: center !important;
    margin-top: 1rem;
  }
}

.hero-section {
  background: linear-gradient(176.14deg, #fffff3 0%, #ffeddf 100%);
  padding-top: 3rem;
}

.hero-text h1 {
  transition: font-size 0.3s ease;
}

.hero-text h5 {
  transition: font-size 0.3s ease;
}

.hero-text h5 {
  font-weight: 400;
  color: #444;
}

.hero-img {
  max-height: 600px;
  width: 100%;
  object-fit: contain;
}

.btn-contact {
  background-color: rgb(127, 85, 66);
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  transition: background-color 0.3s ease;
}
.btn-contact:hover {
  background-color: rgb(102, 68, 53);
  text-decoration: none;
  color: white;
}

.fancy-list li {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  padding-left: 1.2rem;
  position: relative;
}

.fancy-list li::before {
  content: "•";
  color: rgb(127, 85, 66);
  position: absolute;
  left: 0;
  font-size: 1.4rem;
  line-height: 1;
  top: 0.1rem;
}

.custom-divider {
  border-color: rgb(102, 68, 53) !important;
}

.footer-img {
  max-width: 350px;
}

.section-header {
  margin-top: 50px;
}

.modal-button {
  background-color: rgb(102, 68, 53);
  color: white;
}

.modal-button:hover {
  color: white;
}

.thomas-edison {
  font-size: 1.5rem;
  font-style: normal;
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

.quote-animation {
  color: #ffeddf;
  font-size: 1.5rem;
  font-style: italic;
  min-width: 200px;
  position: absolute;
  top: 20%;
  right: 10%;
  margin-left: auto;
  text-align: right;
  opacity: 0;
  animation: fadeIn 1s ease-in-out 1s forwards;
}

.main-logo {
  z-index: 100;
  width: 100%;
  min-width: 100px;
  height: auto;
  object-fit: cover;
  position: absolute;
}

.body {
  background-color: rgb(255, 255, 243);
}

.modal-content {
  background-color: #fffff3;
}

.contact-section-header {
  margin-top: 70px;
}

#cookieBanner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 960px;
  width: 90%;
  background: #fffff3;
  color: #333;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  z-index: 99999;
  padding: 20px;
  font-size: 14px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#cookieBanner p {
  margin: 0;
}

#cookieBanner a {
  color: #007bff;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#cookieBanner button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#cookieAccept {
  background-color: rgb(127, 85, 66);
  color: #fff;
}

#cookieAccept:hover {
  background-color: rgb(102, 68, 53);
}

#cookieDecline {
  background-color: #6c757d;
  color: #fff;
}

#cookieDecline:hover {
  background-color: #5a6268;
}

@media (min-width: 768px) {
  #cookieBanner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cookie-text {
    max-width: 70%;
  }

  .cookie-buttons {
    margin-top: 0;
  }
}

.about-company-card-1{
  background-color: rgb(127, 85, 66); color: white
}

.about-company-card-2{
  background-color: #ffeddf; color: #333
}