@import url('https://fonts.googleapis.com/css2?family=ABeeZee&display=swap');

:root {
  --primary-color: #9cb0bb;
  --secondary-color: #717f87;
  --text-color: #2c3e50;
  --light-text: #6c757d;
  --background-color: #ffffff;
  --accent-color: #3498db;
  --border-radius: 8px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  margin: 0;
  font-family: "ABeeZee";
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-color);
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Button Improvements */
.my-button {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.my-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Footer Improvements */
.ul-footer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}

.div-footer {
  display: flex;
  min-height: 60px;
  width: 100%;
  background-color: var(--secondary-color);
  color: white;
  margin-top: auto;
  padding: 1.5rem 1rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.div-footer a {
  color: white;
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
}

.div-footer a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

/* Hero Image Improvements */
.hero-image {
  background-image: url("banner1.png");
  height: 50vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 2;
}

.hero-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.hero-text button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 1rem 2rem;
  color: white;
  background-color: var(--primary-color);
  text-align: center;
  cursor: pointer;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
}

.hero-text button:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Content Improvements */
.text-body {
  text-align: center;
  padding: 2rem 0;
}

.container {
  padding: 0 1rem;
}

/* Card Improvements */
.card {
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  border: none;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-body {
  padding: 1.5rem;
}

.card-img-top {
  transition: var(--transition);
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* Table Improvements */
.table {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  border: none;
  padding: 1rem;
}

.table td {
  padding: 1rem;
  border-color: #e9ecef;
}

/* Responsive Image */
.responsive-image {
  width: 100%;
  max-width: 400px;
  max-height: 600px;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Navigation Improvements */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.75rem 1.25rem;
  margin: 0 0.25rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background-color: var(--primary-color);
  color: white !important;
}

/* Spacing Utilities */
.mb-5 {
  margin-bottom: 3rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.py-5 {
  padding: 3rem 0 !important;
}

/* Media Queries for Responsiveness */
@media (min-width: 500px) {
  .ul-footer {
    flex-direction: row;
  }
}

@media screen and (min-width: 25cm) {
  /* Hier kannst du die spezifischen Stile für breitere Bildschirme definieren */
  /* Zum Beispiel: */
  .lininen580 {
    margin-left: 25%;
    margin-right: 25%;
    width: 50%;
  }

  .margin25 {
    width: 80%;
  }

  .hero-image {
    height: 60vh;
  }

  .max-height {
    height: 60vh;
  }

  .responsive-image {
    width: auto;
    height: 75%;
  }
}

@media (max-width: 768px) {
  .hero-image {
    height: 30vh;  /* Reduzierte Höhe auf kleinen Bildschirmen */
  }
  
  .container {
    padding: 0 0.75rem;
  }
  
  .card {
    margin-bottom: 1.5rem;
  }
  
  .div-footer {
    padding: 1rem 0.75rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  /* Better mobile spacing for contact sections */
  .row.text-center .col-md-6 {
    margin-bottom: 3rem !important;
  }
  
  .row.text-center .col-md-6:last-child {
    margin-bottom: 1.5rem !important;
  }
  
  /* Additional spacing between Kontakt and Öffnungszeiten */
  .row.text-center .col-md-6:first-child {
    margin-bottom: 4rem !important;
  }
  
  .row.text-center .col-md-6:last-child {
    margin-top: 1rem !important;
  }
}

@media (max-width: 600px) {
  .ul-footer {
    flex-direction: column;
    gap: 1rem;
  }
  
  .div-footer {
    padding: 1.5rem 0.75rem;
  }
  
  .hero-image {
    height: 20vh;  /* Noch kleinere Höhe für Handys */
    background-position: top center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    margin: 0.25rem 0;
  }
  
  .container {
    padding: 0 0.5rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  /* Enhanced mobile spacing for contact sections */
  .row.text-center .col-md-6 {
    margin-bottom: 4rem !important;
  }
  
  .row.text-center .col-md-6:last-child {
    margin-bottom: 2rem !important;
  }
  
  /* Additional spacing between Kontakt and Öffnungszeiten */
  .row.text-center .col-md-6:first-child {
    margin-bottom: 5rem !important;
  }
  
  .row.text-center .col-md-6:last-child {
    margin-top: 1.5rem !important;
  }
  
  .table th,
  .table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.9rem;
  }
}

/* Print Styles */
@media print {
  .hero-image,
  .navbar,
  .div-footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .container {
    max-width: none;
    padding: 0;
  }
}