/* Gutenberg sections for Über uns, Kontakt and FAQ. The shared shell supplies
   the typeface, palette and the fixed header's scroll offset. */
.ed-page {
  container-type: inline-size;
  --ed-inset: 3.8%;
  --ed-gap: clamp(.9rem, 1.55cqw, 1.6rem);
  background: var(--wulf-white);
  color: var(--wulf-charcoal);
}
.ed-page :is(h1, h2, h3) {
  margin: 0;
  color: inherit;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
}
.ed-page :is(p, figure, dl, dt, dd) { margin: 0; }
.ed-page a { color: inherit; }
.ed-page :is(a, button, summary, input, textarea, select):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.ed-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ed-page .ed-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  width: fit-content;
  padding: .72em 1.4em;
  border: 1px solid var(--wulf-charcoal);
  border-radius: .3rem;
  background: var(--wulf-charcoal);
  color: var(--wulf-white);
  font: inherit;
  font-size: clamp(.875rem, 1.12cqw, 1.1rem);
  font-weight: 550;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
}
.ed-page .ed-button:hover { border-color: var(--wulf-black); background: var(--wulf-black); }
.ed-page .ed-button:focus-visible { outline-color: var(--wulf-charcoal); }
.ed-arrow { line-height: 1; }

/* The two photographic introductions share their breadcrumb and title alignment. */
.ed-faq-hero,
.ed-contact-hero {
  padding: clamp(.8rem, 1.5cqw, 1.75rem) var(--ed-inset) clamp(1.2rem, 2.45cqw, 2.7rem);
  background-color: var(--wulf-paper);
  background-image: var(--wulf-section-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.ed-crumb {
  display: flex;
  align-items: center;
  gap: .78em;
  font-size: clamp(.72rem, .98cqw, .95rem);
  font-weight: 500;
  line-height: 1.4;
}
.ed-crumb a { text-decoration: none; }
.ed-crumb a:hover { text-decoration: underline; text-underline-offset: .15em; }
.ed-contact-title, .ed-faq-title { margin-top: clamp(.9rem, 1.75cqw, 1.85rem); }
.ed-contact-title::before, .ed-faq-title::before {
  display: block;
  width: clamp(1.75rem, 2.65cqw, 2.8rem);
  height: 3px;
  margin-bottom: .76em;
  background: var(--wulf-charcoal);
  content: "";
}
.ed-faq-title h1 { font-size: clamp(1.75rem, 3.12cqw, 3.5rem); }
.ed-faq-title p {
  max-width: 49%;
  margin-top: .55em;
  font-size: clamp(.95rem, 1.31cqw, 1.32rem);
  line-height: 1.43;
}
.ed-faq-hero { min-height: 16.65cqw; }
.ed-contact-hero { min-height: 20.05cqw; }
.ed-contact-title h1 { font-size: clamp(2rem, 4.05cqw, 4.6rem); }
.ed-contact-title p { margin-top: .25em; font-size: clamp(1rem, 1.53cqw, 1.55rem); }

/* FAQ. Native details elements support keyboard interaction and browser history. */
.ed-faq-body { padding: clamp(.8rem, 1.3cqw, 1.45rem) var(--ed-inset) clamp(1.15rem, 2.2cqw, 2.5rem); }
.ed-faq-list { display: grid; gap: clamp(.28rem, .42cqw, .5rem); }
.ed-faq-item {
  overflow: clip;
  border: 1px solid var(--wulf-line);
  border-radius: .32rem;
}
.ed-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.4rem;
  padding: .44em clamp(.9rem, 1.8cqw, 1.85rem);
  font-size: clamp(.93rem, 1.27cqw, 1.28rem);
  font-weight: 650;
  line-height: 1.36;
  list-style: none;
  cursor: pointer;
}
.ed-faq-item summary::-webkit-details-marker { display: none; }
.ed-faq-item summary:hover { background: var(--wulf-paper); }
.ed-faq-item summary:focus-visible { outline-offset: -3px; }
.ed-faq-toggle { position: relative; width: .9em; height: .9em; flex: 0 0 .9em; }
.ed-faq-toggle::before, .ed-faq-toggle::after {
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
  content: "";
}
.ed-faq-toggle::after { transform: translateY(-50%) rotate(90deg); }
.ed-faq-item[open] .ed-faq-toggle::after { display: none; }
.ed-faq-item > div {
  padding: .8em clamp(.9rem, 1.8cqw, 1.85rem);
  background: var(--wulf-mist);
  font-size: clamp(.925rem, 1.23cqw, 1.22rem);
  line-height: 1.48;
}
.ed-faq-cta {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.05cqw, 2rem);
  margin-top: clamp(1.65rem, 3.55cqw, 3.75rem);
  padding: clamp(1.15rem, 2.1cqw, 2.5rem) clamp(1rem, 2.75cqw, 3rem);
  border-radius: .35rem;
  background: var(--wulf-mist);
}
.ed-chat-symbol {
  box-sizing: content-box;
  width: clamp(2.5rem, 4.95cqw, 4.75rem);
  height: auto;
  padding-right: clamp(.9rem, 2.35cqw, 2.6rem);
  border-right: 1px solid var(--wulf-line);
  flex: none;
}
.ed-faq-cta h2 { font-size: clamp(1.1rem, 1.8cqw, 1.85rem); }
.ed-faq-cta p { margin-top: .22em; font-size: clamp(.92rem, 1.16cqw, 1.16rem); line-height: 1.45; }
.ed-faq-cta .ed-button { flex: none; margin-inline-start: auto; }

/* Kontakt. A one-column form shares the same outer inset as the two-column body. */
.ed-contact-body {
  display: grid;
  grid-template-columns: minmax(0, 41fr) minmax(0, 56fr);
  align-items: start;
  gap: 3%;
  padding: clamp(1.5rem, 3.2cqw, 3.75rem) var(--ed-inset) clamp(2rem, 4.5cqw, 5rem);
}
.ed-contact-info { padding-top: .25rem; }
.ed-contact-info h2 { font-size: clamp(1.35rem, 2.35cqw, 2.5rem); }
.ed-contact-info > p, .ed-contact-details dd {
  font-size: clamp(.92rem, 1.24cqw, 1.23rem);
  line-height: 1.47;
}
.ed-contact-info > p { margin-top: .65em; }
.ed-contact-details {
  display: grid;
  gap: var(--ed-gap);
  padding-inline: .35rem;
}
.ed-contact-info .ed-contact-details { margin-top: clamp(1.5rem, 3.35cqw, 3.75rem); }
.ed-contact-details > div {
  display: grid;
  grid-template-columns: 1.65rem minmax(0, 1fr);
  align-items: center;
  gap: clamp(.85rem, 1.85cqw, 2rem);
}
.ed-contact-details .icon { display: block; width: clamp(1.28rem, 2.2cqw, 2.1rem); height: auto; }
.ed-contact-details a { text-decoration: none; overflow-wrap: anywhere; }
.ed-contact-details a:hover { text-decoration: underline; text-underline-offset: .15em; }
.ed-form-sheet {
  position: relative;
  min-width: 0;
  padding: clamp(.85rem, 1.55cqw, 1.75rem);
  border-radius: .55rem;
  background: var(--wulf-mist);
}
.ed-anchor { position: absolute; top: 0; }
.ed-form { display: grid; gap: clamp(.65rem, 1cqw, 1.2rem); }
.ed-form label { position: relative; display: block; min-width: 0; }
.ed-form-names { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(.6rem, 1.1cqw, 1.25rem); }
.ed-form input:not([type="checkbox"]), .ed-form select, .ed-form textarea, .ed-draft textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: .64em .82em;
  border: 1px solid var(--wulf-silver);
  border-radius: .32rem;
  background: var(--wulf-white);
  color: var(--wulf-charcoal);
  font: inherit;
  font-size: clamp(.91rem, 1.09cqw, 1.14rem);
  line-height: 1.4;
}
.ed-form input::placeholder, .ed-form textarea::placeholder { color: var(--wulf-charcoal); opacity: 1; }
.ed-page .ed-form :is(input, textarea, select):focus-visible { outline-color: var(--wulf-charcoal); outline-offset: 1px; }
.ed-form .ed-select::after {
  position: absolute;
  right: 1em;
  top: 45%;
  width: .52em;
  height: .52em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  content: "";
}
.ed-form select { appearance: none; padding-right: 2.5em; }
.ed-form textarea { min-height: clamp(5rem, 7.2cqw, 8.25rem); resize: vertical; }
.ed-form .ed-consent {
  display: flex;
  align-items: flex-start;
  gap: .6em;
  font-size: clamp(.8rem, 1.02cqw, 1.02rem);
  line-height: 1.5;
}
.ed-consent input { width: 1.04em; height: 1.04em; margin: .2em 0 0; accent-color: var(--wulf-charcoal); flex: none; }
.ed-consent a, .ed-draft a, .ed-about-story a { text-decoration: underline; text-underline-offset: .15em; }
.ed-submit-row { margin-top: .15rem; }
.ed-draft { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--wulf-line); font-size: .94rem; line-height: 1.48; }
.ed-draft details { margin-top: .75rem; }
.ed-draft summary { font-weight: 650; cursor: pointer; }
.ed-draft details p, .ed-draft label { display: block; margin: .65rem 0; }
.ed-draft textarea { resize: vertical; }
.ed-copy-btn {
  margin: .7rem .6rem .3rem 0;
  padding: .45rem .8rem;
  border: 1px solid var(--wulf-silver);
  border-radius: .25rem;
  background: var(--wulf-white);
  color: var(--wulf-charcoal);
  font: inherit;
  cursor: pointer;
}

/* Über uns. Values and team entries use the same four equal columns. */
.ed-about-header {
  display: flex;
  min-height: clamp(7rem, 15.85cqw, 16rem);
  align-items: center;
  padding: 2rem var(--ed-inset);
  background: var(--wulf-charcoal);
  color: var(--wulf-white);
}
.ed-about-header h1 { font-size: clamp(1.85rem, 3.2cqw, 3.45rem); }
.ed-about-story {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-items: center;
  gap: 3.6%;
  padding: clamp(1.4rem, 3.5cqw, 3.8rem) var(--ed-inset);
}
.ed-about-story h2 { font-size: clamp(1.3rem, 2.17cqw, 2.3rem); }
.ed-about-story p { margin-top: .74em; font-size: clamp(.94rem, 1.22cqw, 1.24rem); line-height: 1.55; }
.ed-about-photo img { display: block; width: 100%; aspect-ratio: 1.32; object-position: center; object-fit: cover; }
.ed-about-values, .ed-team {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  justify-items: center;
  gap: var(--ed-gap);
  text-align: center;
}
.ed-about-values { align-items: start; padding: clamp(1.5rem, 3.1cqw, 3.5rem) var(--ed-inset); background: var(--wulf-mist); }
.ed-about-values h3 { font-size: clamp(1.05rem, 1.58cqw, 1.6rem); }
.ed-about-values p { margin: .46em auto 0; font-size: clamp(.88rem, 1.08cqw, 1.08rem); line-height: 1.44; }
.ed-team { padding: clamp(1.4rem, 2.85cqw, 3rem) var(--ed-inset); }
.ed-team figure { width: 100%; }
.ed-team img {
  display: block;
  width: clamp(4.25rem, 9.95cqw, 9rem);
  height: auto;
  margin: 0 auto;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 33%;
}
.ed-team figcaption { margin-top: .7em; font-size: clamp(.83rem, 1.08cqw, 1.08rem); line-height: 1.45; }
.ed-team strong, .ed-team span { display: block; }

/* Collapse within the available main column, independently of the sidebar. */
@container (max-width: 48rem) {
  .ed-faq-title p { max-width: 54%; }
  .ed-chat-symbol { width: 2.7rem; padding-inline-end: 1rem; }
  .ed-contact-body { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); }
}
@container (max-width: 39rem) {
  .ed-page .ed-faq-hero, .ed-page .ed-contact-hero {
    padding-top: 1.1rem;
    padding-bottom: 1.2rem;
    background-position: right top;
    background-size: auto clamp(7rem, 25cqw, 10rem);
  }
  /* A readable title band follows the panorama on small screens. */
  .ed-faq-hero .ed-crumb, .ed-contact-hero .ed-crumb {
    align-self: start;
    width: fit-content;
    padding: .18em .45em;
    border-radius: .15rem;
    background: var(--wulf-paper);
  }
  .ed-faq-title, .ed-contact-title { margin-top: clamp(5.55rem, 19.5cqw, 8.45rem); }
  .ed-faq-title p { max-width: 100%; }
  .ed-faq-title::before, .ed-contact-title::before { height: 2px; margin-bottom: .52rem; }
  .ed-faq-cta { display: grid; grid-template-columns: auto 1fr; gap: .85rem; }
  .ed-faq-cta .ed-button { grid-column: 1 / -1; margin: .15rem 0 0; }
  .ed-contact-body, .ed-about-story { grid-template-columns: 1fr; gap: 1.5rem; }
  .ed-contact-info .ed-contact-details { margin-top: 1.1rem; }
  .ed-about-values, .ed-team { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 1.5rem; }
  .ed-about-photo img { max-height: 24rem; }
}
@container (max-width: 22rem) {
  .ed-form-names { grid-template-columns: 1fr; }
  .ed-about-values, .ed-team { gap: 1.35rem .6rem; }
}
