/* Grundlayout */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background-color: #fafafa;
  line-height: 1.6;
}

/* Farben */
:root {
  --colFenikso: #004b6b;
  --colWhite: #ffffff;
  --colParallaxText: #ffffff;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2vw;
  padding: 1.5vh 3vw;
  background: var(--colWhite);
}

.logoContainer img {
  width: 120px;
  height: auto;
}

.titelContainer {
  max-width: 1000px;
  white-space: nowrap;
}

.header h1,
.header h2,
.header p {
  color: var(--colFenikso);
}

.titelContainer h1 {
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.titelContainer h2 {
  opacity: 0.9;
  font-weight: 400;
}

.scrollHinweis {
  margin-top: 0.5vh;
  opacity: 0.7;
}

/* Mobile Header */
@media (max-width: 700px) {
  .header {
    flex-direction: column;
    text-align: center;
    padding: 2vh 3vw;
  }

  .titelContainer {
    white-space: normal;
  }

  .titelContainer h1 {
    font-size: 1.6rem;
  }

  .titelContainer h2 {
    font-size: 1.1rem;
  }

  .scrollHinweis {
    text-align: center;
  }
}

/* Navigation */
.navContainer {
  display: flex;
  justify-content: center;
  gap: 1.5vw;
  padding: 1vh 0;
  background: var(--colWhite);
}

.naviBtn {
  color: var(--colFenikso);
  text-decoration: none;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  padding: 0.5rem 0.8rem;
}

.naviBtn.active {
  font-weight: 600;
  text-decoration: underline;
}

.naviBtn:hover {
  text-decoration: underline;
}

/* Main */
main {
  padding: 2vh 3vw 3vh;
}

.section {
  margin-bottom: 3vh;
}

.content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.content.quote {
  text-align: center;
}

/* Parallax */
.parallax {
  position: relative;
  width: 100%;
  min-height: 45vh;
  padding: 4vh 3vw;
  display: flex;
  align-items: center;
  justify-content: center;

  background-image: none;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Abdunklung */
.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 0;
}

.parallax .content {
  position: relative;
  z-index: 1;
}

/* Textfarben im Parallax */
.parallax h2,
.parallax p,
.parallax a,
.parallax li {
  color: var(--colParallaxText);
}

.parallax.light::before {
  background: rgba(255,255,255,0.25);
}

.parallax.light .quoteText,
.parallax.light .quoteAuthor {
  color: var(--colFenikso);
}

.blue {
  color: var(--colFenikso);
}

/* Mobile Parallax Fallback */
@media (max-width: 900px) {
  .parallax {
    background-attachment: scroll;
  }
}

/* Typografie */
.sectionTitle {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 2vh;
  letter-spacing: 0.5px;
  border-left: 4px solid #ffffff;
  padding-left: 12px;
  color: #ffffff;
}

.section .sectionTitle {
  border-left: 4px solid var(--colFenikso);
  color: var(--colFenikso);
}

.quoteText {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1vh;
  letter-spacing: 0.3px;
  color: #ffffff;
}

.quoteAuthor {
  color: #ffffff;
  font-size: 1rem;
  opacity: 0.85;
  margin-top: -1vh;
  margin-bottom: 3vh;
}

.label {
  font-weight: 600;
}

.spacer {
  margin: 1rem 0;
}

/* Bilder */
.startfoto {
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 3vh;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Links & Buttons */
.textLink {
  color: var(--colFenikso);
  text-decoration: none;
}

.textLink:hover {
  text-decoration: underline;
}

.btnPrimary {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  background-color: var(--colFenikso);
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
}

.btnPrimary:hover {
  background-color: #003c56;
}

/* Footer */
.site-footer {
  padding: 1rem 3vw;
  background-color: var(--colWhite);
  border-top: 1px solid #e0e0e0;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}
