/* --- FONT LOCAL --- */
@font-face {
  font-family: 'Manrope';
  src: url('fonts/Manrope-VariableFont_wght.woff2') format('woff2'),
       url('fonts/Manrope-VariableFont_wght.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* --- BASE SETUP --- */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #f8f1e5;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  color: #000;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* verhindert doppelte Scrollbars */
}

/* --- HEADER --- */
header {
  position: sticky;
  top: 0;
  background-color: #f8f1e5;
  width: 100%;
  display: flex;
  justify-content: center; /* exakt horizontale Zentrierung */
  align-items: center;      /* falls das Bild leicht nach oben oder unten hängt */
  padding: 15px 0;
  z-index: 10;
  flex-shrink: 0;
}

header .logo {
  height: 30px;
  width: auto;
  display: block;  /* entfernt kleine Inline-Abstände */
}

/* --- UNSICHTBARE H1 FÜR SEO --- */
h1 {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- MAIN --- */
/* Normales Padding für alle */
main {
  flex: 1;
  overflow-y: auto;
  padding: 120px 20px 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

/* Etwas höherer Textbeginn für lange Seiten */
main.privacy,
main.imprint {
  padding-top: 80px; /* vorher 120px */
}

/* Zentrierung nur für kurze Seiten (Start + Contact) */
main.home,
main.contact {
  justify-content: center; /* vertikale Zentrierung */
}

.black {
  color: #f8f1e5;
}

.red {
  color: rgb(255, 0, 0);
}

.mail, .phone, .nrw {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mail:hover,
.phone:hover,
.nrw:hover {
  color: red;
}

/* --- FOOTER --- */
footer {
  position: sticky;
  bottom: 0;
  background-color: #f8f1e5;
  width: 100%;
  padding: 13px 13px 23px 13px;
  text-align: left;
  z-index: 10;
  flex-shrink: 0;
  box-sizing: border-box;
}

footer a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: red;
}

/* --- SCROLLBAR (dezent) --- */
main::-webkit-scrollbar {
  width: 6px;
}

main::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 3px;
}

main::-webkit-scrollbar-track {
  background: transparent;
}
