/* === style.css (clean) === */
@font-face {
  font-family: 'General Sans';
  src: url('./fonts/GeneralSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('./fonts/GeneralSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'General Sans';
  src: url('./fonts/GeneralSans-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --font-family: 'General Sans', sans-serif;
  --font-size-base: 16px;
  --font-size-large: 26px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: #555;
  font-family: var(--font-family);
}

html {
  hyphens: none;
}

body {
  background: linear-gradient(to right, #cad8e6, #f7fafd);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  font-size: var(--font-size-base);
  line-height: 1.8;
}

/* === Utility === */
section.main,
.center-box,
.philosophy {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Header === */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: blur(12px);
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  z-index: 100;
  border-bottom: 1px solid #cad8e6;
  display: flex;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
  width: 50px;
}

.menu-toggle {
  display: none;
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 200;
}

.nav {
  display: flex;
}

.nav a {
  margin-left: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  overflow-wrap: break-word;
  hyphens: none;
  word-break: normal;
}

/* === Main Layout === */
section.main {
  flex: 1;
  min-height: calc(100vh - 80px);
}

.center-box {
  width: 100%;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

/* === Startseite === */
.info-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 300px;
  height: 300px;
}

.card {
  background: transparent;
  border: 2px solid #fff;
  border-radius: 60px;
  padding: 25px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  box-shadow:
    inset 0 10px 20px rgba(0, 0, 0, 0.1),
    inset 0 0 10px rgba(255, 255, 255, 0.3),
    0 0 80px 30px rgba(255, 255, 255, 0.6),
    0 0 180px 80px rgba(255, 255, 255, 0.5),
    0 60px 120px rgba(255, 255, 255, 0.4),
    0 15px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(70px);
}

.card .btn {
  margin-bottom: 30px;
}

.hero-logo {
  width: 200px;
  margin: 0 auto 30px;
  margin-top: 30px;
  display: block;
  filter:
    drop-shadow(0 20px 60px rgba(0, 140, 255, 0.5))
    drop-shadow(0 0 30px rgba(0, 140, 255, 0.3));
}

.card h2 {
  font-size: var(--font-size-large);
  margin-bottom: 16px;
  font-weight: 700;
}

.btn {
  padding: 14px 24px;
  border-radius: 18px;
  border: 1px solid #fff;
  font-size: var(--font-size-base);
  text-decoration: none;
  display: inline-block;
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.7),
    0 0 60px rgba(255, 255, 255, 0.9),
    0 0 80px #fff,
    0 20px 50px rgba(0, 0, 0, 0.25),
    inset 0 0 20px rgba(255, 255, 255, 0.4),
    inset 0 0 50px rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  filter:
    drop-shadow(0 20px 60px rgba(0, 140, 255, 0.5))
    drop-shadow(0 0 30px rgba(0, 140, 255, 0.3));
}


/* === Philosophie === */
.philosophy {
  position: relative;
  flex-direction: column;
  min-height: calc(100vh - 80px);
  padding: 20px;
  scroll-margin-top: 80px;
}

.philosophy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/logo.png') no-repeat center center;
  background-size: 65%;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.philosophy-content {
  z-index: 1;
  max-width: 700px;
  text-align: center;
}

.philosophy-content h1 {
  font-size: var(--font-size-large);
  margin-bottom: 20px;
  font-weight: 700;
  color: #111;
}

.philosophy-content p {
  font-style: italic;
  opacity: 0.9;
  color: #222;
  line-height: 1.8;
}

/* === Rechtlicher Bereich === */
.sacred-box {
  background: transparent;
  border: 2px solid #fff;
  border-radius: 60px;
  padding: 25px;
  text-align: left;
  max-width: 450px;
  width: 100%;
  box-shadow:
    inset 0 10px 20px rgba(0, 0, 0, 0.1),
    inset 0 0 10px rgba(255, 255, 255, 0.3),
    0 0 80px 30px rgba(255, 255, 255, 0.6),
    0 0 180px 80px rgba(255, 255, 255, 0.5),
    0 60px 120px rgba(255, 255, 255, 0.4),
    0 15px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(70px);
  scroll-margin-top: 90px;
  overflow-wrap: break-word;
  hyphens: none;
  word-break: normal;
}


.sacred-box h1 {
  font-size: var(--font-size-large);
  margin-bottom: 30px;
  font-weight: 700;
  color: #222;
}

.sacred-box p {
  margin-bottom: 18px;
  opacity: 0.92;
  font-size: 0.95rem;
}

/* === Footer === */
.footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: transparent;
  padding: 10px 40px;
  border-top: 1px solid #cad8e6;
  overflow-wrap: break-word;
  hyphens: none;
  word-break: normal;
}

.footer-logo img {
  width: 50px;
  height: 50px;
}

/* === Mobile Optimierungen === */
@media (max-width: 768px) {
  section.main,
  section.philosophy {
    padding-top: 10px !important;
  }

  .card,
  .sacred-box {
    max-width: 320px;
    width: 90%;
    padding: 15px;
    margin-bottom: 20px;
  }

  section.philosophy {
    min-height: 100vh !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .center-box {
    gap: 30px;
    margin-top: 0;
    flex-direction: column;
  }

  .info-text,
  .info-text2 {
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.7;
    margin-bottom: 30px;
  }

  .info-text {
    height: auto;
    padding-top: 20px !important;
    margin-bottom: 40px;
  }

  .footer {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    padding: 60px 20px 20px;
    gap: 16px;
  }

  .nav.open {
    transform: translateY(0);
  }

  .nav a {
    margin: 12px 0;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .card,
  .sacred-box {
    max-width: 280px;
    width: calc(100% - 40px);
    margin: 20px auto;
    padding: 20px;
  }

  .sacred-box h1 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }

  .sacred-box p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .info-text,
  .info-text2 {
    max-width: calc(100% - 40px);
    margin: 20px auto;
    padding: 20px;
  }
}

.claim {
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  opacity: 0.85;
  padding-left: 0.5rem;
}

.info-text {
  text-align: justify;
  text-justify: inter-word;
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.7;
  margin-bottom: 30px;
}

.info-text2 {
  text-align: justify;
  text-justify: inter-word;
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.7;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  section.impressum {
    margin-top: 100px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  .sacred-box {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .sacred-box {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}
