@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  src: url('fonts/NotoSans-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Noto Sans SemiCondensed';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/NotoSans_SemiCondensed-Medium.ttf') format('truetype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #faf4ee;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Noto Sans', sans-serif;
  font-weight: 400;
  color: #333;
}

body.jobs {
  padding-bottom: 4rem;
}

/* Logo-Bereich */
.logo-section {
  height: 25vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-section a {
  display: block;
}

.logo-section img {
  max-height: 120px;
  width: auto;
}

/* Bilder in einer Zeile */
.images-section {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  padding: 0 1rem;
}

.images-section img {
  flex: 1;
  min-width: 0;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* Textbereich */
.text-section {
  padding: 2rem 1rem;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.text-section p {
  color: #333;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.text-section .headline {
  font-family: 'Noto Sans SemiCondensed', sans-serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  color: #06488e;
  text-align: center;
}

/* Jobs */
main {
  max-width: 600px;
  margin: 2rem auto 0;
  padding: 2rem 1.5rem 0;
  width: 100%;
  border-top: 1px solid #ddd6cc;
}

h1 {
  font-family: 'Noto Sans SemiCondensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
  color: #06488e;
}

p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
}

body.jobs footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #faf4ee;
  margin-top: 0;
}

footer a {
  color: #333;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

footer a:hover {
  text-decoration: underline;
}

/* Job-Einträge */
.job {
  border-top: 1px solid #ddd6cc;
}

.job:last-child {
  border-bottom: 1px solid #ddd6cc;
}

.job summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.job summary::-webkit-details-marker {
  display: none;
}

.job-title {
  font-family: 'Noto Sans SemiCondensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex: 1;
  color: #06488e;
}

.job-arrow {
  font-size: 1rem;
  color: #999;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.job[open] .job-arrow {
  transform: rotate(90deg);
}

.job-body {
  padding-bottom: 2rem;
}

.job-subtitle {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1.25rem;
}

.job-section {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

ul li {
  font-size: 0.95rem;
  line-height: 1.7;
  padding-left: 1.1rem;
  position: relative;
}

ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: #999;
}

.apply-email {
  display: inline-block;
  margin-top: 0.25rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.apply-email:hover {
  text-decoration: underline;
}

.job-tagline {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #999;
  letter-spacing: 0.05em;
}

.apply-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd6cc;
}

.apply-section .job-section {
  margin-top: 0;
}

.apply-closing {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Mobil: alles untereinander */
@media (max-width: 768px) {
  .logo-section {
    height: auto;
    padding: 2rem 1rem 1rem;
  }

  .images-section {
    flex-direction: column;
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .images-section img {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}
