/* Grundlayout */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* Seite soll volle Höhe haben */
html,
body {
  height: 100%;
}
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #8d9d90;
    color: #e5e7eb;
    line-height: 1.6;
/* Für Footer unten */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Hauptinhalt füllt den Platz zwischen Header und Footer */
main {
  flex: 1;
}


/* Navbar */

header {
  background: #8d9d90;
    border-bottom: 2px solid #8d9d90;
}
  
.navbar {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
  
.logo {
    font-weight: 700;
    font-size: 2rem;
    text-decoration: none;
    color: #e5e7eb;
}
  
.nav-links {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    }
  
.nav-links a {
    text-decoration: none;
  background: #8d9d90;
    color: #464f51;
    font-size: 0.95rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
  border: 1px solid #464f51;
    transition: background 0.3s ease, color 0.3s ease;
}
  
.nav-links a:hover {
    background: #abc4a1;
      color: #464f51;
}
  
.nav-links a.active {
    background: #abc4a1;
    color: #f9fafb;
}
  

/* Hero-Pad (Startseite) */
.pad {
    display: flex;
      justify-content: center;
      padding: 3rem 1.5rem;
      position: sticky;
    }
.box {
   display: flex;
    gap: 3rem;
      width: 60%;
      max-width: 1100px;
    background: radial-gradient(circle at top left, #bbdb9b, #abc4a1);
      border-radius: 1.5rem;
      padding: 3rem;
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
      align-items: center;
}

.pad-text {
  flex: 1;
  align-items: center;
    display: flex;
    flex-direction: column;
}
            
.pad h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #464f51;
}

            
.pad p {
margin: 1rem;
  color: #464f51;
}


.meinbild {
  width: 280px;
  max-width: 320vw;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

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

  

/* Button-Style*/
.btn {
      margin: 1.5rem;
      padding: 0.5rem 1rem;
    border: 1px solid #464f51;
    background: #8d9d90;
      color: #464f51;
  border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
  transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.8s ease;
  }
.btn:hover {
  background: #abc4a1;
  box-shadow: 0 5px 10px rgba(70, 79, 81, 1);
    transform: translateY(-5px);
}


/* Primary-Button*/
.btn-pad {
  padding: 0.7rem 1.5rem;
  margin: 1.5rem;
  background: #8d9d90;
  color: #464f51;
  border: 1px solid #464f51;
    border-radius: 999px;
  font-size: 0.95rem;
    text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.5s ease;
}
.btn-pad:hover {
  background: #abc4a1;
  box-shadow: 0 5px 10px rgba(70, 79, 81, 1);
  transform: translateY(-5px);
}


  /* Content-Seiten */
  
.content {
  max-width: 1000px;
  margin: 2.5rem auto;
  padding: 0 1.5rem 3rem;
}
  
.card {
  background: radial-gradient(circle at top left, #bbdb9b, #abc4a1);
  border-radius: 1.2rem;
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid #1f2937;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  color: #464f51;
}
  
.card h1,
.card h2,
.card h3 {
  margin-bottom: 0.7rem;
}
  
.card p {
  color: #464f51;
}
  
/* Grids */
  
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
}
  
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
  
/* Listen */
  
.card ul {
  margin-left: 1.2rem;
  margin-top: 0.4rem;
}
  
.card li {
  margin-bottom: 0.25rem;
}
  
/* Projektliste */
  
.project-list {
  list-style: none;
  margin-top: 0.7rem;
}
  
.project-list li {
  margin-bottom: 1.1rem;
}
  
.project-list h3 {
  margin-bottom: 0.2rem;
}
  
.project-link {
  text-decoration: none;
  color: #f18701;
  font-size: 0.9rem;
}
  
.project-link:hover {
  text-decoration: underline;
}
  
/* Footer */
  
footer {
  border-top: 1px solid #1f2937;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: #464f51;
  background: #8d9d90;
}

/* Responsive Anpassungen */

/* Laptop */
/*@media (min-width: 769px) and (max-width: 1199px) {
  .hero-text {
    padding: 2rem 1.5rem;
  }
    .box {
      flex-direction: column;
      justify-content: center;
    }
        }
    
        */


/* Tablet & Handy
@media (min-width:320px) and (max-width: 768px) {
  .box {
    flex-direction: column;
    text-align: center;
    align-items: center;
    }
    
    .btn-primary {
      padding: 0.7rem 0.5rem;
      margin: 0.5rem;
    }
    
    .meinbild {
      justify-content: center;
      width: 100%;
      

    .hero-text {
    padding: 1.8rem 1.2rem;
    }
}

*/