/**********************************************
 * GRUNDEINSTELLUNGEN
 **********************************************/
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.target-item {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.target-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.target-item img {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
}

.target-item h3 {
    color: #272F7A;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.target-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.target-box h2 {
    text-align: left;
    color: #272F7A;
    margin-bottom: 15px;
}

.target-box p {
    text-align: left;
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #444;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

/**********************************************
 * HEADER
 **********************************************/
.main-header {
  background-color: #004080; /* Corporate Farbe */
  color: #fff;
}

.cta-box {
  background-color: #004080;
  color: white;
  padding: 40px 20px;
  border-radius: 10px;
  text-align: center;
}

.cta-box h2 {
  margin-bottom: 10px;
  font-size: 2em;
}

.cta-box p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.cta-box .btn {
  margin: 0 10px 10px;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icons {
    display: flex;
    gap: 5px; /* Abstand zwischen den Icons */
    align-items: center;
}

.social-icons a {
    display: inline-block;
    width: 30px;  /* Einheitliche Breite */
    height: 30px; /* Einheitliche Höhe */
}

.social-icons img {
    width: 80%;
    height: auto;
    display: block;
}

.phone-info {
  font-size: 0.95em;
}

.tel-link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.tel-link:hover {
  text-decoration: underline;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    position: relative;
    width: 100%;
}

.logo-container {
    display: flex;
    overflow: hidden;
    width: 60%;
    justify-content: center;
    gap: 20px;
}

.logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.logo:hover {
    transform: scale(1.1);
}


nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 10px;
  transition: background 0.3s;
}

nav a:hover {
  background-color: #003060;
  border-radius: 5px;
}

/**********************************************
 * HERO-BEREICH
 **********************************************/
.hero {
  background: url('/assets/images/hero-bg.jpg') center center/cover no-repeat;
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

/**********************************************
 * BUTTONS
 **********************************************/
.btn, .btn-primary, .btn-secondary {
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s;
}

.btn-primary {
  background-color: #ffcc00;
  color: #000;
}

.btn-secondary {
  background-color: #004080;
  color: white;
}

.btn-primary:hover {
  background-color: #e6b800;
}

.btn-secondary:hover {
  background-color: #003060;
}

/**********************************************
 * LEISTUNGEN
 **********************************************/
.services-overview, .services {
  padding: 50px 0;
  background-color: #f4f4f4;
  text-align: center;
}

.services-overview h2, .services h2 {
  margin-bottom: 30px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
}

.service-item {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item h3 {
  margin-top: 10px;
  font-size: 1.2em;
}

.service-item img {
    width: 240px; /* Kleinere Icon-Größe */
    height: 240px; /* Sicherstellen, dass das Icon quadratisch bleibt */
    border-radius: 15px; /* Abgerundete Ecken */
    object-fit: cover; /* Bild wird skaliert und zugeschnitten */
}

/**********************************************
 * ÜBER UNS
 **********************************************/
.about-overview, .about-us {
  padding: 50px 0;
  background-color: white;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-img {
  width: 27%;
  border-radius: 10px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
}

/**********************************************
 * TESTIMONIALS
 **********************************************/
.testimonials {
  padding: 50px 0;
  background-color: #ddd;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.testimonial-item {
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

blockquote {
  font-style: italic;
  margin: 0 0 10px;
}

/**********************************************
 * CTA (CALL TO ACTION)
 **********************************************/
.cta {
  padding: 50px 0;
  background-color: #004080;
  color: white;
  text-align: center;
}

/**********************************************
 * FORMULARE
 **********************************************/
form {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

form div {
  margin-bottom: 15px;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

/**********************************************
 * FOOTER
 **********************************************/
footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px;
}

footer a {
  color: #ffcc00;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/**********************************************
 * Cookie-Abfrage
 **********************************************/
#cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #004080;
    color: white;
    padding: 15px;
    z-index: 1000;
}

#cookie-consent p {
    margin: 0;
    padding: 0;
    display: inline;
}

#cookie-consent a {
    color: #ffcc00;
    text-decoration: underline;
}

#cookie-consent button {
    margin-left: 20px;
    padding: 10px 20px;
    background-color: #ffcc00;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: black;
}

/**********************************************
 * ADMIN DASHBOARD
 **********************************************/
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.admin-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    text-align: center;
}

.admin-card h2 {
    margin-top: 0;
    font-size: 1.5em;
}

.admin-card p {
    margin: 10px 0;
    color: #666;
}

.admin-card a.btn {
    margin-top: 10px;
}

.admin-card:hover {
    transform: translateY(-5px);
}

/**********************************************
 * Box weiss
 **********************************************/

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 0;
    list-style-type: none;
}

.benefits-list li {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.benefits-list li:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.benefits-list img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    border-radius: 50%;
    object-fit: cover;
}

.benefits-list strong {
    display: block;
    margin: 10px 0 5px;
    font-size: 1.2em;
    color: #272F7A;
}

.benefits-list p {
    font-size: 0.9em;
    color: #555;
    margin: 0;
    line-height: 1.4;
}

.scroll-to-top {
    position: right;
    bottom: 20px;
    right: 20px;
    background-color: #ffc107;
    color: #333;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s;
    font-size: 20px;
}

.scroll-to-top:hover {
    background-color: #e0a800;
    transform: scale(1.1);
}

.benefits-box {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
    color: #333;
}

.benefits-box h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #272F7A;
    text-align: center;
}

.benefits-content ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 20px 0;
}

.benefits-content li {
    margin-bottom: 10px;
    font-size: 1.1em;
    line-height: 1.5;
    color: #555;
}

.benefits-content li strong {
    color: #272F7A;
}

/**********************************************
 * RESPONSIVE ANPASSUNGEN
 **********************************************/
@media (max-width: 768px) {
  .header-main {
    flex-direction: column;
  }

  .hero h1 {
    font-size: 2em;
  }

  .service-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    flex-direction: column;
  }
}