@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/SourceSans3-Regular.ttf.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/SourceSans3-Bold.ttf.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

body {
  background-color: #f1f0fa;
  font-family: 'Source Sans 3', sans-serif;
  color: #1f1e3a;
  font-size: 1rem;
}

header {
  display: none;
}

#header,
.header,
.site-header {
  display: none;
}

.header-fixed #body-wrapper {
  padding: 0;
}

a.clean-link {
  color: inherit;
  text-decoration: none;
}

#body-wrapper .container {
  padding: 0;
}

.container.grid-lg {
  max-width: 99%;
}

.padded-content {
  padding-left: 2rem;
  padding-right: 2rem;
}

#footer,
.site-footer,
.footer {
  display: none;
}

#body-wrapper {
  max-width: 1200px;
  background: #f1f0fa;
  padding: 0 1rem;
  margin: 1rem auto;        /* Abstand oben/unten */
  border-radius: 10px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
}

.tile-header {
  background: #f5f5f5;            /* hellerer Bereich */
  border-bottom: 0px solid #ddd;
}

.tile-header-inner {
  max-width: 1200px;              /* gleiche Kachelbreite */
  margin: 0 auto;
  padding: 0.75rem 1rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 2rem;
  font-weight: 600;
  /* letter-spacing: 0.05em; */
}

.menu-toggle {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-wrapper {
  position: relative; 
}

.menu-wrapper.open .tile-nav {
  display: flex;
}

.tile-nav {
  position: absolute;
  top: 100%;             /* direkt unter dem Header */
  right: 1rem;

  background: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: 6px;

  padding: 1rem;
  min-width: 200px;

  display: none;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1000;

  margin-top: 1rem;
}

.tile-nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
}

/* Split Section */
.split-section {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.split-section-sidebar {
  display: grid;
  grid-template-columns: minmax(150px, 250px) 1fr;
  gap: 2rem;
  align-items: flex-start;
}

/* Bild links */
.split-image {
  flex: 1;
}

.split-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Text rechts */
.split-text {
  flex: 1;
}


/* Grundsektion */
.faq {
  margin: 4rem auto;
  padding: 3rem 2rem;
  background-color: #f7f7f5;
  border-radius: 12px;
}

/* Titel */
.faq-title {
  margin-bottom: 2.5rem;
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* FAQ‑Eintrag */
article.faq-item {
  display: flex;
  gap: 1.5rem;
  column-gap: 1.25rem;
  padding: 1.75rem 0;
  align-items: flex-start;
}

/* Trennlinie zwischen Einträgen */
.faq-item + .faq-item {
  border-top: 1px solid #dddddb;
}

/* Kapitelmarke */
.faq-marker {
  margin-top: 0.1rem; /* feines optisches Angleichen */
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: #ffffff;
  background-color: #222222;
  border-radius: 6px;
  line-height: 1;
  flex-shrink: 0;
}

/* Inhalt */
.faq-content {
  max-width: 100%;
}

/* Frage */
.faq-question {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 500;
}

/* Antwort */
.faq-answer {
  margin: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333333;
}

/* Subnavigation */
.page-nav {
  margin: 0 auto;
  padding: 3rem 2rem;
  background-color: #f7f7f5;
  border-radius: 12px;
}

.page-nav ul {
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.page-nav-level-1 > li {
  margin-bottom: 0.4rem;
}

.page-nav-level-2 {
  margin-top: 0.3rem;
  padding-left: 1rem;
  border-left: 2px solid #eee;
}

.page-nav a {
  text-decoration: none;
}

.page-nav li.active > a {
  font-weight: 600;
}

/* ------------------------------ mobile ----------------------------------*/
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .menu-wrapper {
    margin-left: auto;    
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
  }

  .menu-wrapper * {
    flex: 0 0 auto;
  }

  .tile-header.open .tile-nav {
    display: flex;
  }

  .brand {
    align-self: flex-start;
    flex: 0 0 auto;
  }
  
  .container {
    display: block;
    flex-wrap: wrap;
  }

  .split-section-sidebar {
    grid-template-columns: 1fr;
  }
}
