@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/poppins-v22-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
         url('/fonts/poppins-v22-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
  }

/* General Styles */
body {
    font-family: 'Poppins';
    font-style: normal;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #0073e6;
    text-align: center;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

a:hover {
    color: #005bb5;
}

/* Standard-Header */
header {
    background: rgba(0, 115, 230, 0.9);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease-in-out;
}

/* Header-Container */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Logo */
.logo img {
    width: 225px;
    margin-top: 5px;
}

.dsvgo{
    width: 80%;
    margin: 0 auto;
}

.dsvgoimpressum{
    padding-left: 10%;
    width: 60%;
    margin: 0 auto;
}


/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {

    bottom: 10px;

}

#nav-menu{
height: max-content;
margin-top: 0;
    padding-top: 0;
}

nav ul li a {
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
}

nav ul li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

nav ul li a i {
    margin-right: 8px;
    transition: transform 0.3s;
}

nav ul li a:hover i {
    transform: rotate(10deg);
}

/* --- Responsive Anpassungen --- */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 1500;
}

.sticker{

    max-width: 150px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    /* Menü kommt mit sanfter Animation von oben */
    nav {
        position: absolute;
        top: 88px;
        left: 0;
        width: 100%;
        background: rgba(0, 115, 230, 0.95);
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        display: none;
        flex-direction: column;
        border-radius: 5px;
        transform: translateY(-10px);
        opacity: 0;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
    }

    nav ul li {
        text-align: center;
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 18px;
        padding: 10px 0;
        display: block;
        width: 100%;
    }


    nav.active {
        display: flex;
        transform: translateY(0);
        opacity: 1;
    }
}


/* Hero Section */

.hero {
    position: relative;
    background: 
      linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
      url("/images/coding.webp") center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
  }
  

  .hero-content {
    max-width: 600px;
    margin: 0 auto;
  }
  

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }
  

  .hero-tagline {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.85;
  }
  

  .cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #fff;
    color: #0073e6;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.2s;
  }
  .cta-button:hover {
    transform: scale(1.05);
  }
  
  /* Scroll‑Indicator */
  .scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
    opacity: 0.7;
  }
  @keyframes bounce {
    0%,100% { transform: translate(-50%, 0); }
    50%     { transform: translate(-50%, 10px); }
  }
  

@media (max-width: 768px) {
    .hero {
      padding: 60px 15px;               
    }
    .hero-content {
      padding: 15px;                   
    }
    .hero h1 {
      font-size: 1.8rem;              
      margin-bottom: 1rem;
    }
    .hero p {
      font-size: 1rem;                  
      margin-bottom: 1.2rem;
    }
    .cta-button {
      padding: 0.75rem 1.5rem;          
      font-size: 0.95rem;
    }
  }
  
  /* Smartphones */
  @media (max-width: 480px) {
    .hero {
      padding: 40px 10px;             
    }
    .hero-content {
      padding: 10px;                    
    }
    .hero h1 {
      font-size: 1.5rem;               
      margin-bottom: 0.8rem;
    }
    .hero p {
      font-size: 0.9rem;
      margin-bottom: 1rem;
    }
    .cta-button {
      display: block;
      width: 100%;                     
      padding: 0.75rem 0;
      font-size: 1rem;
    }
  }
  

/* Section Styles */
section {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    max-width: 1200px;
    margin: 20px auto;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s, transform 0.6s;
}

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

/* Services Section */
.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service i {
    font-size: 2rem;
    color: #0073e6;
    margin-bottom: 10px;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Project Gallery */
.project-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.project {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    transition: transform 0.3s;
}

.project img {
    width: 100%;
    height: auto;
}

.project h3 {
    padding: 10px;
}

.project p {
    padding: 0 10px 20px;
}

.project:hover {
    transform: translateY(-10px);
}

/* Contact Form */
form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

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

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #0073e6;
}

textarea {
    resize: vertical;
    height: 150px;
}

button {
    background-color: #0073e6;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #005bb5;
}

/* Footer Styles */
footer {
    text-align: center;
    background: #333;
    color: white;
    padding: 20px 0;
    font-size: 0.9rem;
}



#response-message {
    display: none;
    padding: 15px;
    margin-top: 15px;
    border-radius: 5px;
    font-size: 16px;
}
/* Sichtbarkeitsklassen */
#response-message.visible {
    display: block;
}
#response-message.success {
    background-color: #d4edda;
    color: #155724;
}
#response-message.error {
    background-color: #f8d7da;
    color: #721c24;
}