/* @import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap'); */
.h2-title {
  margin-bottom: 30px;
  font-size: 2.5rem;
  color: #274760;
  font-weight: bold;
  font-family: "Times New Roman (Überschriften CS)", "Times New Roman", Times, serif;
}
* {
  box-sizing: border-box;
}
body {
  font-family: "Times New Roman", Times, serif;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Times New Roman (Überschriften CS)", "Times New Roman", Times, serif;
}

header {
  position: fixed;
  z-index: 23;
  width: 100%;
  background-color: #fff;
}


.navbar-burger
{
  color: #3392D0;
}

.navbar-burger:hover
{
  color: #3392D0;
  
}

.navbar .navbar-end .navbar-item:hover {
  color: #3392D0;
}
#home {
  padding-top: 10rem;
}
.hero {
  color: #3392D0;
  padding-left: 2rem;
  padding-top: 4rem;
  height: inherit;
  padding-bottom: 110px;
}
.hero .title {
  color: #3392D0;
  line-height: 1.6em;
  padding-bottom: 40px;
  font-size: 3rem;
  font-family: "Times New Roman (Überschriften CS)", "Times New Roman", Times, serif;
}
.hero .subtitle {
  color: #3392D0;
}
.background {
  background-image: url('./assests/hero_background.webp') !important;
  background-size: cover !important;
}
.container-card {
  max-width: 950px;
  margin: 0 auto;
}
.card {
  max-width: 950px;
  position: relative;
  bottom: 60px;
  box-shadow: rgba(48, 123, 196, 0.1) 1px 1px 21px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: rgba(48, 123, 196, 0.2) 1px 1px 30px;
}
.hero .title {
  font-size: 2.2rem;
}
@media (max-width: 1024px) {
  .hero .title {
    font-size: 2rem;
  }
}
@media (max-width: 820px) {
  .hero .title {
    font-size: 1.5rem;
  }
  .hero{
    padding: 2rem;
    padding-top: 10rem;
  }
}
@media (max-width: 480px) {
  .hero .title {
    font-size: 1rem;
  }
}
.card .list-menu .list-item {
  width: 205px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.box {
  padding: 1.5rem;
}
.footer {
  background-color: #3392D0;
}
.footer .content {
  padding: 2rem 1.5rem;
}
.buchen-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid #3392D0;
  background: linear-gradient(135deg, #3392D0 0%, #2a7bb8 100%);
  color: #fff;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(51, 146, 208, 0.3);
  padding: 12px 24px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  min-width: 140px;
}

.buchen-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.buchen-button:hover::before {
  left: 100%;
}

.buchen-button a {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.buchen-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(51, 146, 208, 0.4);
  background: linear-gradient(135deg, #4da3e0 0%, #3392D0 100%);
}

.buchen-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(51, 146, 208, 0.3);
}
.services .services-title {
  margin-bottom: 80px;
  font-size: 2.5rem;
  color: #274760;
  padding: 10px;
  font-family: "Times New Roman (Überschriften CS)", "Times New Roman", Times, serif;
}
@media (max-width: 1024px) {
  .services .services-title {
    font-size: 2rem;
  }
}
@media (max-width: 820px) {
  .services .services-title {
    font-size: 2rem;
    margin-bottom: 50px;
  }
}
.services .box {
  border: 1px solid rgba(48, 123, 196, 0.1);
  box-shadow: 4px 4px 21px rgba(48, 123, 196, 0.1);
}
.services .box-up .box {
  position: relative;
  bottom: 45px;
}
@media (max-width: 820px) {
  .services .box-up .box {
    position: relative;
    bottom: 0;
  }
}
.services .box-container div:nth-child(-n + 3) {
  margin-bottom: 40px;
}
@media (max-width: 820px) {
  .services .box-container div:nth-child(-n + 3) {
    margin-bottom: 0;
  }
}
.about-us .about-container {
  padding-left: 50px;
}
.about-us .about-container::before {
  content: url('./assests/about-us-arrow.webp');
  position: relative;
  right: 50px;
  top: 30px;
}
.about-us .about-container .about-title {
  font-size: large;
  padding-bottom: 15px;
}
.about-us .about-container .about-text {
  font-size: small;
}
.upper-title {
  color: #3392D0;
  font-weight: bold;
}
.contact-image img {
  width: inherit;
}
.contact-us input {
  height: 60px;
  border: 0;
  box-shadow: inset 0 0 0 2px rgba(48, 123, 196, 0.5);
  outline: 0;
  opacity: 0.5;
  border-radius: 20px;
}

.contact-us textarea {

  border: 0;
  box-shadow: inset 0 0 0 2px rgba(48, 123, 196, 0.5);
  outline: 0;
  opacity: 0.5;
  border-radius: 20px;
}
.contact-us input::placeholder {
  color: rgba(48, 123, 196, 0.5);
}
.contact-us textarea::placeholder {
  color: rgba(48, 123, 196, 0.5);
}
.contact-us .label {
  color: #274760;
}
.contact-us .senden-button {
  padding: 15px 40px;
}
.contact-us .contact-icon img {
  padding-right: 24px;
}
.footer {
  padding: 0;
}
.justified-text {
  text-align: justify;
  hyphens: auto;
  word-spacing: normal;
  letter-spacing: normal;
  text-align-last: center;
}

/* Animation styles for modern website effects */

/* Fade in from bottom animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade in from left animation */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Fade in from right animation */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale up animation */
@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slide in from top */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation classes */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
  animation: fadeInRight 0.8s ease-out forwards;
}

.scale-up {
  animation: scaleUp 0.8s ease-out forwards;
}

.slide-in-down {
  animation: slideInDown 0.8s ease-out forwards;
}

/* Staggered animation delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }

/* Hover animations for interactive elements */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Pulse animation for buttons */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse-animation {
  animation: pulse 2s infinite;
}

/* Image animations */
.image-zoom {
  transition: transform 0.3s ease;
  overflow: hidden;
}

.image-zoom img {
  transition: transform 0.3s ease;
}

.image-zoom:hover img {
  transform: scale(1.1);
}

/* Text highlight animation */
@keyframes textHighlight {
  0% { background-size: 0% 100%; }
  100% { background-size: 100% 100%; }
}

.text-highlight {
  background: linear-gradient(120deg, #3392D0 0%, #3392D0 100%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: 0 100%;
  transition: background-size 0.8s ease;
  color: #274760;
}

.text-highlight.highlighted {
  background: none;
  color: inherit;
  position: relative;
}

.text-highlight.highlighted::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(120deg, rgba(51, 146, 208, 0.1) 0%, rgba(51, 146, 208, 0.05) 100%);
  border-radius: 8px;
  z-index: -1;
  animation: modernHighlight 0.8s ease-out forwards;
}

@keyframes modernHighlight {
  from {
    transform: scaleX(0);
    transform-origin: left;
  }
  to {
    transform: scaleX(1);
    transform-origin: left;
  }
}

/* Modern H2 Heading Animations */
h2, .services-title, .h2-title {
  position: relative;
  overflow: hidden;
  /* Keeping the positioning context and overflow management */
  margin-bottom: 15px; /* Adding some spacing below to compensate for removed underline */
  transition: color 0.3s ease, transform 0.3s ease;
  font-family: "Times New Roman (Überschriften CS)", "Times New Roman", Times, serif;
}

/* Modern animation effect directly on the h2 element instead of pseudo-elements */
h2.animated, .services-title.animated, .h2-title.animated {
  color: #3392D0; /* Highlight color on animation */
}

/* Subtle slide-in effect for h2 */
@keyframes modernSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modern-slide-in {
  animation: modernSlideIn 0.8s ease-out forwards;
}

/* Text reveal animation */
@keyframes textReveal {
  from {
    opacity: 0;
    transform: translateX(-30px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

.text-reveal {
  animation: textReveal 1s ease-out forwards;
}

/* Gradient text effect for special headings */
.gradient-text {
  background: linear-gradient(135deg, #3392D0 0%, #4da3e0 50%, #3392D0 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Modern fade-in with scale */
@keyframes modernFadeScale {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modern-fade-scale {
  animation: modernFadeScale 0.8s ease-out forwards;
}

/* Letter spacing animation */
@keyframes letterSpacing {
  from {
    letter-spacing: -2px;
    opacity: 0;
  }
  to {
    letter-spacing: normal;
    opacity: 1;
  }
}

.letter-spacing-animation {
  animation: letterSpacing 1s ease-out forwards;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Navbar animation on scroll */
.navbar {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Modern Card Styles */
.modern-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(51, 146, 208, 0.1);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2rem;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

/* Responsive grid layout for 4 cards */
@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* Large screens - 2x2 grid for better readability */
@media (min-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 800px;
  }
}

.card-item {
  display: flex;
  align-items: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(51, 146, 208, 0.1);
  transition: all 0.4s ease;
  border: 1px solid rgba(51, 146, 208, 0.08);
  min-height: 140px;
  position: relative;
  overflow: hidden;
}

.card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3392D0, #4da3e0, #3392D0);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-item:hover::before {
  opacity: 1;
}

/* Vertical layout for cards with long text */
.card-item.vertical {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.card-item.vertical .card-icon {
  margin-right: 0;
  margin-bottom: 1.5rem;
}

.card-item.card-button {
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #3392D0 0%, #2a7bb8 100%);
  color: white;
  padding: 2rem;
  text-align: center;
  flex-direction: column;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}

.card-item.card-button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
  50% { transform: translateX(100%) translateY(100%) rotate(180deg); }
}

/* Alternative: Make any card with long text span full width on mobile */
.card-item.full-width {
  grid-column: 1 / -1;
}

@media (max-width: 767px) {
  .card-item.full-width {
    grid-column: 1 / -1;
  }
}

.hover-lift-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(51, 146, 208, 0.2);
  border-color: rgba(51, 146, 208, 0.3);
}

.hover-lift-card:hover .card-icon {
  transform: scale(1.15) rotate(5deg);
}

.hover-lift-card:hover .card-text h4 {
  color: #3392D0;
}

.card-icon {
  background: linear-gradient(135deg, #3392D0 0%, #4da3e0 100%);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.4rem;
  box-shadow: 0 6px 20px rgba(51, 146, 208, 0.3);
  transition: all 0.4s ease;
  position: relative;
  flex-shrink: 0;
}

.card-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  background: linear-gradient(45deg, #3392D0, #4da3e0, #3392D0);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-item:hover .card-icon::before {
  opacity: 1;
}

.card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-text h4 {
  font-weight: 600;
  color: #274760;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  line-height: 1.2;
}

.card-text p {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  word-break: break-word;
  hyphens: auto;
}

/* Special styling for long text cards */
.card-item.vertical .card-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.card-item.vertical .card-text p {
  font-size: 0.95rem;
  text-align: center;
}

.modern-book-btn {
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: none;
}

.modern-book-btn:hover {
  background: white;
  color: #3392D0;
  transform: scale(1.05);
}

.modern-book-btn a {
  color: inherit;
  text-decoration: none;
}

.modern-book-btn i {
  font-size: 1.1rem;
}

/* Responsive adjustments for modern card */
@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.5rem;
  }
  
  .card-item {
    padding: 1rem;
  }
  
  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .card-text h4 {
    font-size: 0.9rem;
  }
  
  .card-text p {
    font-size: 0.8rem;
  }
}

/* Animation for card items */
@keyframes cardItemFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.card-item:nth-child(odd) {
  animation: cardItemFloat 4s ease-in-out infinite;
}

.card-item:nth-child(even) {
  animation: cardItemFloat 4s ease-in-out infinite 2s;
}

/* Modern Contact Form Button */
.contact-us .senden-button {
  background: linear-gradient(135deg, #3392D0 0%, #2a7bb8 100%);
  border: 2px solid #3392D0;
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  padding: 12px 32px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(51, 146, 208, 0.3);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-us .senden-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.contact-us .senden-button:hover::before {
  left: 100%;
}

.contact-us .senden-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(51, 146, 208, 0.4);
  background: linear-gradient(135deg, #4da3e0 0%, #3392D0 100%);
}

.contact-us .senden-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(51, 146, 208, 0.3);
}

/* Alternative button style - outlined version */
.outline-button {
  background: transparent;
  border: 2px solid #3392D0;
  color: #3392D0;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.outline-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #3392D0;
  transition: left 0.3s ease;
  z-index: -1;
}

.outline-button:hover::before {
  left: 0;
}

.outline-button:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(51, 146, 208, 0.3);
}

.outline-button a {
  color: inherit;
  text-decoration: none;
}

/* Modern ghost button */
.ghost-button {
  background: rgba(51, 146, 208, 0.1);
  border: 1px solid rgba(51, 146, 208, 0.3);
  color: #3392D0;
  border-radius: 50px;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.ghost-button:hover {
  background: rgba(51, 146, 208, 0.2);
  border-color: rgba(51, 146, 208, 0.5);
  transform: translateY(-1px);
}

/* Floating Menu Styles */
.floating-menu {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.floating-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.floating-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.floating-btn:hover::before {
  left: 100%;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-btn:hover {
  background: linear-gradient(135deg, #2EE371 0%, #1BA360 100%);
}

.booking-btn {
  background: linear-gradient(135deg, #3392D0 0%, #2a7bb8 100%);
}

.booking-btn:hover {
  background: linear-gradient(135deg, #4da3e0 0%, #3392D0 100%);
}

/* Animation for floating buttons */
@keyframes floatUp {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.floating-btn:nth-child(1) {
  animation: floatUp 3s ease-in-out infinite;
}

.floating-btn:nth-child(2) {
  animation: floatUp 3s ease-in-out infinite 1.5s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-menu {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }
  
  .floating-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* Tooltip for floating buttons */
.floating-btn::after {
  content: attr(aria-label);
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-btn:hover::after {
  opacity: 1;
  visibility: visible;
  right: 75px;
}





