/* ── TFYS Design System (alle Widgets identisch) ── */
  .tfys-intro {
    --tfys-bg: transparent;
    --tfys-cream: #f8f6df;
    --tfys-white: #f8f6df;
    --tfys-taupe: #C0B7A9;
    --tfys-text: #4A4540;
    --tfys-text-mid: #6D6560;
    --tfys-text-light: #9A9390;
    --tfys-ocher: #C28E4D;
    --tfys-ocher-hover: #A87638;
    --tfys-sage: #5C6652;
    --tfys-sage-hover: #4A5343;
    --tfys-border: #E8E4DE;
    --tfys-h2: clamp(1.75rem, 3vw, 2.35rem);
    --tfys-body: clamp(0.92rem, 1.1vw, 1rem);
    --tfys-btn-size: 0.97rem;
    --tfys-line: 1.7;
    --tfys-max: 1200px;
    --tfys-pad-y: 72px;
    --tfys-pad-x: 24px;
    --tfys-btn-radius: 6px;
    --tfys-btn-pad: 16px 34px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
    max-width: var(--tfys-max);
    margin: 0 auto;
    min-height: 520px;
    background: var(--tfys-bg);
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--tfys-text);
    overflow: hidden;
  }

  .tfys-intro *,
  .tfys-intro *::before,
  .tfys-intro *::after { box-sizing: border-box; }

  /* Bildspalte – eingesetztes Portrait */
  .tfys-intro__image-col {
    flex: 1 1 44%;
    min-width: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 28px 48px 40px;
    background: var(--tfys-bg);
  }

  .tfys-intro__photo {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0;
    padding: 0;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    overflow: hidden;
    background: var(--tfys-taupe);
    box-shadow: 0 18px 40px rgba(74, 69, 64, 0.12);
  }

  .tfys-intro__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .tfys-intro:hover .tfys-intro__photo img {
    transform: scale(1.03);
  }

  /* Textspalte */
  .tfys-intro__content-col {
    flex: 1 1 52%;
    min-width: 280px;
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--tfys-pad-y) 56px var(--tfys-pad-y) 64px;
    background: transparent;
  }

  .tfys-intro__inner {
    position: relative;
    z-index: 2;
    max-width: 480px;
  }

  .tfys-intro__title {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: var(--tfys-h2);
    font-weight: 400;
    line-height: 1.3;
    color: var(--tfys-text);
    letter-spacing: 0.01em;
  }

  .tfys-intro__line {
    display: block;
    width: 52px;
    height: 2px;
    margin: 14px 0 28px;
    background: var(--tfys-ocher);
    border-radius: 2px;
  }

  .tfys-intro__text { margin-bottom: 36px; }

  .tfys-intro__text p {
    margin: 0 0 1.25em;
    font-size: var(--tfys-body);
    font-weight: 300;
    line-height: var(--tfys-line);
    color: var(--tfys-text-mid);
  }

  .tfys-intro__text p:last-child { margin-bottom: 0; }

  .tfys-intro__signature-wrap {
    display: block;
    width: 168px;
    max-width: 100%;
    margin: 0 0 28px;
    overflow: hidden;
  }

  .tfys-intro__signature {
    display: block;
    width: 280px;
    max-width: none;
    height: auto;
    margin: 0;
    object-fit: contain;
    object-position: left center;
  }

  /* Gemeinsamer Button-Stil – Outline Ocker */
  .tfys-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    padding: 14px 25px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.97rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(194, 142, 77, 0.55);
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
    color: var(--tfys-ocher);
    background: transparent;
    box-shadow: none;
  }

  .tfys-btn:hover,
  .tfys-btn:focus,
  .tfys-btn--sage:hover,
  .tfys-btn--sage:focus {
    color: var(--tfys-ocher-hover);
    border-color: var(--tfys-ocher-hover);
    background: rgba(194, 142, 77, 0.08);
    transform: translateY(-1px);
    box-shadow: none;
  }

  .tfys-btn--sage {
    color: var(--tfys-ocher);
    background: transparent;
    border: 1px solid rgba(194, 142, 77, 0.55);
    box-shadow: none;
  }

  .tfys-btn__arrow {
    display: inline-block;
    transition: transform 0.25s ease;
  }

  .tfys-btn:hover .tfys-btn__arrow {
    transform: translateX(3px);
  }

  @media (max-width: 900px) {
    .tfys-intro { flex-direction: column; min-height: unset; }

    .tfys-intro__image-col {
      flex: none;
      width: 100%;
      padding: 40px 32px 8px;
    }

    .tfys-intro__photo {
      max-width: 360px;
      margin: 0 auto;
    }

    .tfys-intro__content-col {
      flex: none;
      width: 100%;
      padding: 32px 32px 56px;
    }

    .tfys-intro__inner { max-width: 100%; }
  }

  @media (max-width: 480px) {
    .tfys-intro__image-col { padding: 32px 20px 4px; }
    .tfys-intro__photo { border-radius: 14px; }
    .tfys-intro__content-col { padding: 28px var(--tfys-pad-x) 48px; }
    .tfys-btn { width: 100%; }
  }

  /* ── Über-mich Modal ── */
  #tfys-modal-about.tfys-modal {
    --tfys-cream: #f8f6df;
    --tfys-text: #4A4540;
    --tfys-text-mid: #6D6560;
    --tfys-ocher: #C28E4D;
    --tfys-sage: #5C6652;
    --tfys-sage-hover: #4A5343;
    --tfys-sage-dark: #3E4A3A;
    position: fixed;
    inset: 0;
    z-index: 1000010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    font-family: 'Montserrat', Arial, sans-serif;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  #tfys-modal-about.tfys-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  #tfys-modal-about .tfys-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(62, 74, 58, 0.48);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
  }

  #tfys-modal-about .tfys-amodal__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: min(90vh, 900px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--tfys-cream) !important;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(62, 74, 58, 0.28) !important;
    transform: translateY(18px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }

  #tfys-modal-about.is-open .tfys-amodal__dialog {
    transform: translateY(0) scale(1);
  }

  #tfys-modal-about .tfys-modal__topbar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px 8px 18px;
    background: var(--tfys-cream);
    border-bottom: 1px solid rgba(194, 142, 77, 0.22);
    z-index: 5;
  }

  #tfys-modal-about .tfys-modal__topbar-label {
    margin: 0 !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--tfys-ocher) !important;
  }

  #tfys-modal-about .tfys-modal__close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 5;
    width: 44px !important;
    height: 44px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 50% !important;
    border: 1.5px solid #C28E4D !important;
    background: #fff !important;
    color: var(--tfys-sage-dark) !important;
    font-size: 1.7rem !important;
    line-height: 1 !important;
    cursor: pointer;
    margin: 0 !important;
    padding: 0 !important;
  }

  #tfys-modal-about .tfys-modal__close:hover {
    background: rgba(194, 142, 77, 0.12) !important;
    color: var(--tfys-ocher) !important;
  }

  #tfys-modal-about .tfys-amodal__content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 36px 40px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    text-align: left;
  }

  .tfys-amodal__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 0 18px;
    gap: 14px;
  }

  .tfys-amodal__portrait {
    margin: 0;
    width: min(200px, 52vw);
    aspect-ratio: 4 / 5;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid rgba(194, 142, 77, 0.35);
    box-shadow: 0 8px 24px rgba(62, 74, 58, 0.12);
  }

  .tfys-amodal__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
  }

  .tfys-amodal__sign-img {
    display: block;
    width: min(240px, 70%);
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    mix-blend-mode: screen;
  }

  .tfys-amodal__sign-img--footer {
    margin: 8px 0 18px;
    margin-left: 0;
    width: min(220px, 55%);
    mix-blend-mode: screen;
  }

  .tfys-intro__signature {
    mix-blend-mode: screen;
  }

  #tfys-modal-about .tfys-modal__eyebrow {
    margin: 0 0 12px !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--tfys-ocher) !important;
  }

  #tfys-modal-about .tfys-modal__title {
    margin: 0 0 14px !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(1.7rem, 3.2vw, 2.15rem) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: var(--tfys-sage-dark) !important;
  }

  #tfys-modal-about .tfys-modal__line {
    display: block;
    width: 44px;
    height: 2px;
    margin: 0 0 26px !important;
    background: var(--tfys-ocher) !important;
    border-radius: 2px;
  }

  .tfys-amodal__lead {
    margin: 0 0 1.2em !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(1.15rem, 2vw, 1.35rem) !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    color: var(--tfys-sage-dark) !important;
  }

  .tfys-amodal__text {
    margin: 0 0 1.1em !important;
    font-size: 0.95rem !important;
    font-weight: 300 !important;
    line-height: 1.75 !important;
    color: var(--tfys-text-mid) !important;
  }

  .tfys-amodal__text--emph {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: 1.1rem !important;
    font-style: italic;
    color: var(--tfys-sage-dark) !important;
  }

  .tfys-amodal__section {
    margin: 2em 0 0;
    padding-top: 1.4em;
    border-top: 1px solid rgba(74, 69, 64, 0.1);
  }

  .tfys-amodal__heading {
    margin: 0 0 0.9em !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(1.2rem, 2vw, 1.4rem) !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    color: var(--tfys-sage-dark) !important;
  }

  .tfys-amodal__list {
    margin: 0 0 0.4em !important;
    padding: 0 0 0 0 !important;
    list-style: none !important;
  }

  .tfys-amodal__list li {
    position: relative;
    margin: 0 0 0.7em !important;
    padding: 0 0 0 1.15em !important;
    font-size: 0.92rem !important;
    font-weight: 300 !important;
    line-height: 1.65 !important;
    color: var(--tfys-text-mid) !important;
  }

  .tfys-amodal__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tfys-ocher);
  }

  .tfys-amodal__closing {
    margin-top: 2.2em;
    padding-top: 1.6em;
    border-top: 1px solid rgba(74, 69, 64, 0.1);
  }

  .tfys-amodal__signature {
    margin: 1.2em 0 0 !important;
    padding: 0 !important;
    font-family: 'Great Vibes', cursive !important;
    font-size: clamp(2rem, 4vw, 2.6rem) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    color: var(--tfys-ocher) !important;
    letter-spacing: 0.02em;
  }

  .tfys-amodal__actions {
    margin-top: 2.2em !important;
  }

  #tfys-modal-about a.tfys-amodal__btn {
    all: unset;
    box-sizing: border-box !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4em !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 14px 25px !important;
    border: 1px solid rgba(194, 142, 77, 0.55) !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #C28E4D !important;
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-size: 0.97rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease !important;
  }

  #tfys-modal-about a.tfys-amodal__btn:hover,
  #tfys-modal-about a.tfys-amodal__btn:focus {
    background: rgba(194, 142, 77, 0.08) !important;
    color: #A87638 !important;
    border-color: #A87638 !important;
    transform: translateY(-1px);
    box-shadow: none !important;
    text-decoration: none !important;
  }

  #tfys-modal-about a.tfys-amodal__btn .tfys-btn__arrow {
    display: inline-block;
    transition: transform 0.25s ease;
  }

  #tfys-modal-about a.tfys-amodal__btn:hover .tfys-btn__arrow {
    transform: translateX(3px);
  }

  body.tfys-modal-open {
    overflow: hidden !important;
  }

  @media (max-width: 767px) {
    #tfys-modal-about.tfys-modal {
      padding: max(12px, env(safe-area-inset-top, 0px)) 10px max(12px, env(safe-area-inset-bottom, 0px));
      align-items: center;
    }

    #tfys-modal-about .tfys-amodal__dialog {
      width: 100%;
      max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
      max-height: calc(100vh - 24px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
      border-radius: 16px;
    }

    #tfys-modal-about .tfys-amodal__content {
      padding: 16px 18px 28px;
    }
  }

/* Legacy double-X / force-x: never show */
.tfys-modal > .tfys-modal__x,
[id$="-force-x"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
