html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #ffffff;
  color: #050504;
  line-height: 1.6;
}

/* ===============================
   Header
================================*/
header {
  background-color: #FDE7D9;
  text-align: center;
  margin: 0;
  padding: 10rem 5rem;
  height: auto;
  
}


.image2{
 position: absolute;
  top: 0;        /* bündig oben */
  left: 50%;     /* horizontal zentriert */
  transform: translateX(-50%); /* perfekte Zentrierung */
  width: 60%;   /* so breit wie der Header */
  height: 90%;  /* so hoch wie der Header */
  object-fit: cover;  /* bedeckt den Bereich ohne Verzerrung */
  z-index: 1;    /* Hinter Text, falls gewollt */
  margin-top: 40px;
  margin-bottom: 20px;
}

/* Abstand unter dem Bild damit der Text nicht hochrutscht */
header h1 {
margin-top: 0px;
 
}

h3{
color:#df9568; 
}

/* NAVIGATION */
nav {
  background-color: #F5CAAF;
  text-align: center;
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 100;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0rem;
}

nav a {
  color: #66371a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #c984a3;
}

/* ===============================
   Main
================================*/
main {
  padding: 3rem 1.5rem;
  max-width: 1250px;
  margin: auto;
}

section {
  background-color: #fcfcfc;
  padding: 2.5rem;
  border-radius: 16px;
  margin-bottom: 3rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 5.05);
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #66371a;
}

section p {
  font-size: 1.05rem;
}

/* ===============================
   Projects
================================*/
.project {
  background-color: #ffffff;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

project:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* ===============================
   Footer
================================*/
footer {
  text-align: center;
  padding: 1.5rem;
  background-color: #FDE7D9;
  font-size: 0.95rem;
  color: #66371a;
  opacity: 0.9;
}

/* ===============================
   Responsive
================================*/


  nav a {
    display: inline-block;
    margin: 0.5rem;
  }

  section {
    padding: 1.5rem;
  }
}
