/* Global Styles */

:root {
      --primary: #11b4c8;
      --primary-dark: #008fa1;
      --secondary: #ffc107;
      --dark: #1f2933;
      --light: #f0f7f8;
      --white: #ffffff;
    }
*{margin:0;padding:0;box-sizing:border-box}
body{
    font-family:'Poppins',sans-serif;
    line-height:1.7;
    color:var(--dark);
    scroll-behavior:smooth;
}
.container{
    max-width:1200px;
    margin:auto;
    padding:0 20px;
}

    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      font-family: 'Poppins', sans-serif;
      line-height: 1.7;
      color: var(--dark);
      background: #ffffff;
      scroll-behavior: smooth;
    }

    .anrufen {
        background: var(--primary);
        color: white !important; /* Ensure visibility */
        padding: 10px 22px;
        border-radius: 30px;
        font-weight: 600;
        text-decoration: none;
        display: inline-block;
        transition: 0.3s; 
    }
    .anrufen:hover {
        background: var(--primary-dark);
        box-shadow: 0 4px 15px rgba(17, 180, 200, 0.3);
    }

    /* NAVIGATION */
nav {
      position: fixed;
      top: 0;
      width: 100%;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(10px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.05);
      z-index: 1000;
}
nav ul {

      list-style:none;
      display:flex;
      gap:25px;
}

#navdisplay {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height:70px;
    max-width: 100%;
    margin: 0;
    padding: 0 40px;

}

/*
.header {
  background: rgba(255,255,255,0.95);
  top: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  position: fixed;
  width: 100%;
  z-index: 3;
  overflow-x: hidden;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  display: flex;
  gap: 30px;
}
*/


/*this makes lines*/
.header li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    
}





nav li a::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--primary);
      transition: 0.3s;
    }
    nav a:hover::after { 
        width: 100%; 
    }


/*
.header li a:hover,
.header .menu-btn:hover {
}
*/



.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}

/* menu */

.header .menu {
    list-style: none;
    position: fixed; /* Fixed so it covers the screen better */
    top: 70px;
    left: -100%; /* Start off-screen to the left */
    width: 80%;  /* Menu width on mobile */
    height: 100vh;
    background: white;
    transition: left 0.4s ease; /* Slide animation */
    display: block;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    z-index: 999;
}

.header .menu li {
    padding: 0;
    border-bottom: 1px solid #eee;
}

.header .menu li a {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
}

/* menu icon */

.header .menu-icon {
    cursor: pointer;
    padding: 10px;
    user-select: none;
    color: #11b4c8;
    font-weight: bold;
    text-decoration: none;
}

.header .menu-icon .navicon {
    background: #333;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 7px;
}

.header .menu-icon .navicon:after {
  top: -7px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked ~ .menu {
  left: 0;
  max-height: none;
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}

.header .menu li.nav-button-wrapper {
    padding: 15px 20px; /* Same padding as other links for alignment */
}

/* 48em = 768px */

@media (min-width: 48em) {
    .header .menu-icon {
        display: none; /* Hide hamburger on desktop */
    }

    .header .menu {
        position: static; /* Put it back in the nav bar */
        display: flex;    /* Align links side-by-side */
        align-items: center;
        width: auto;
        height: auto;
        left: 0;
        background: transparent;
        box-shadow: none;
        transition: none;
    }

    .header .menu li {
        border: none;
    }

    .header .menu li a {
        padding: 10px 15px;
    }
}





   
header {
  background: linear-gradient(135deg, rgba(17, 180, 200, 0.9), rgba(0, 143, 161, 0.9)), 
              url('images/header.jfif') center/cover no-repeat;
  color: white;
  padding: 140px 20px;
  text-align: center;
}


/* About Section Layout Update */
.about-intro {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    text-align: left; /* Aligns title with the personal intro */
}

.about-text .subtitle {
    text-align: left;
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.owner-photo {
    width: 100%;
    max-width: 400px;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 5px solid white;
}

/* Ensure the photo animates with the rest */
.owner-photo {
    opacity: 1;
    transform: translateY(30px);
    transition: 0.8s ease;
}

.owner-photo.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustment for Mobile */
@media (max-width: 768px) {
    .about-intro {
        flex-direction: column;
        text-align: center;
    }
    .about-text h2, .about-text .subtitle {
        text-align: center;
    }
    .about-image {
        order: -1; /* Puts photo above text on mobile */
    }
}








    .images {
        border-radius: 25px;
        width: 100%;
        height: auto;
    }


    section {
        padding: 80px 20px; 
    }

    .container { 
        max-width: 1100px;
        margin: auto;
    }

    h1, h2, p, .about-box, .why-box {
        opacity: 0;
        transform: translateY(30px);
        transition: 0.8s ease;
    }

     {
        border-radius: 25px;

    }

    .show { 
        opacity: 1;
        transform: translateY(0);
    }

    h2 { 
        text-align: center;
        font-size: 2.2rem;
        margin-bottom: 20px; 
    }

    .subtitle {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 60px;
        color: #888;
    }

    .about-grid, .service-grid, .why-grid, .contact-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 50px;
    }

    .about-box, .service-card, .why-box {
      background: white;
      padding: 25px;
      border-radius: 18px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    }

    .services {
        background: #f4f6f8;
    }

    .contact {
        background: var(--dark);
        color: white;
    }

    form input, form textarea {
      width: 100%;
      padding: 14px;
      margin-bottom: 12px;
      border-radius: 8px;
      border: none;
    }

    form button {
      background: var(--secondary);
      color: #000;
      padding: 14px;
      width: 100%;
      border: none;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
    }

    .kontakt_links:link {
        color: white;
        background-color: transparent;
        text-decoration: none;
    }
    .kontakt_links:hover {
        color: cyan;
        background-color: transparent;
        text-decoration: none;
    }

    footer { 
        background: #000;
        color: #bbb; 
        text-align: center;
        padding: 25px;
    }
